{"version":3,"sources":["webpack:///src/app/Modules/Shared/emp-details/emp-details.component.css","webpack:///src/app/Modules/Shared/championships/championships.component.css","webpack:///src/app/Modules/Shared/questions/questions.component.html","webpack:///src/app/Modules/Shared/answers/answers.component.css","webpack:///src/app/Modules/UserModule/login/login.component.html","webpack:///src/app/Modules/Shared/categories/categories.component.ts","webpack:///src/app/Modules/Shared/questions/questions.component.ts","webpack:///src/app/Modules/Shared/stores/stores.component.css","webpack:///src/app/Modules/Shared/championships/championships.component.ts","webpack:///src/app/Modules/Shared/addchampads/addchampads.component.html","webpack:///src/app/Modules/UserModule/login/login.component.ts","webpack:///src/app/Modules/Shared/addchampads/addchampads.component.ts","webpack:///src/app/Modules/UserModule/forgot-password/forgot-password.component.html","webpack:///src/app/Modules/Shared/employees/employees.component.css","webpack:///src/app/Modules/Shared/addchampads/addchampads.component.css","webpack:///src/app/app.component.css","webpack:///src/environments/environment.ts","webpack:///src/app/Modules/Shared/employees/employees.component.html","webpack:///src/app/Modules/Shared/home/home.component.css","webpack:///src/app/Modules/Shared/gifts/gifts.component.css","webpack:///src/app/Modules/Shared/ads/ads.component.css","webpack:///src/app/Modules/UserModule/forgot-password/forgot-password.component.css","webpack:///src/app/Modules/Shared/store-details/store-details.component.ts","webpack:///src/app/Modules/Shared/championship-details/championship-details.component.ts","webpack:///src/app/Modules/Shared/answers/answers.component.html","webpack:///src/app/Modules/Shared/categorie-details/categorie-details.component.html","webpack:///src/app/Modules/Shared/categories/categories.component.css","webpack:///src/app/Modules/Shared/add-edit-championship/add-edit-championship.component.html","webpack:///src/app/Modules/Shared/championship-details/championship-details.component.css","webpack:///src/app/Services/data.service.ts","webpack:///src/app/Modules/UserModule/forgot-password/forgot-password.component.ts","webpack:///src/app/Modules/Shared/champads/champads.component.css","webpack:///src/app/Modules/Shared/answers-details/answers-details.component.css","webpack:///src/app/Modules/Shared/emp-details/emp-details.component.ts","webpack:///src/app/Modules/Shared/user-details/user-details.component.css","webpack:///src/app/Modules/Shared/users/users.component.css","webpack:///src/app/Modules/UserModule/profile/profile.component.ts","webpack:///src/app/Modules/Shared/stores/stores.component.ts","webpack:///src/app/Modules/Shared/about/about.component.ts","webpack:///src/app/Modules/Shared/champads/champads.component.html","webpack:///src/app/Modules/Shared/add-edit-championship/add-edit-championship.component.css","webpack:///src/app/app.component.ts","webpack:///src/app/Modules/Shared/agreement/agreement.component.css","webpack:///src/app/Modules/Shared/questions/questions.component.css","webpack:///src/app/Modules/Shared/championships/championships.component.html","webpack:///src/app/app.component.html","webpack:///src/app/Modules/Shared/stores/stores.component.html","webpack:///src/app/Modules/Shared/answers-details/answers-details.component.ts","webpack:///src/app/app.module.ts","webpack:///src/app/Modules/Shared/answers-details/answers-details.component.html","webpack:///src/app/Modules/Shared/champads/champads.component.ts","webpack:///src/app/Modules/Shared/answers/answers.component.ts","webpack:///src/app/Modules/Shared/user-details/user-details.component.ts","webpack:///src/app/Modules/Shared/agreement/agreement.component.ts","webpack:///src/app/Modules/Shared/add-edit-championship/add-edit-championship.component.ts","webpack:///src/app/Modules/Shared/users/users.component.ts","webpack:///src/app/Modules/UserModule/profile/profile.component.html","webpack:///src/app/Modules/Shared/categorie-details/categorie-details.component.ts","webpack:///src/app/Modules/Shared/home/home.component.ts","webpack:///src/app/Modules/Shared/users/users.component.html","webpack:///src/app/Modules/Shared/categorie-details/categorie-details.component.css","webpack:///src/app/Modules/Shared/user-details/user-details.component.html","webpack:///src/app/Modules/Shared/employees/employees.component.ts","webpack:///src/app/Modules/Shared/about/about.component.html","webpack:///src/app/Modules/Shared/ads/ads.component.ts","webpack:///src/app/Modules/Shared/home/home.component.html","webpack:///src/app/Modules/UserModule/profile/profile.component.css","webpack:///src/app/Modules/Shared/ads-gifts/ads-gifts.component.ts","webpack:///src/app/Modules/Shared/question-details/question-details.component.html","webpack:///src/app/Modules/Shared/championship-details/championship-details.component.html","webpack:///src/app/Modules/Shared/question-details/question-details.component.ts","webpack:///src/app/Modules/Shared/question-details/question-details.component.css","webpack:///src/app/Modules/Shared/gifts/gifts.component.html","webpack:///src/app/Modules/Shared/ads-gifts/ads-gifts.component.html","webpack:///src/app/Modules/UserModule/login/login.component.css","webpack:///src/app/Modules/Shared/ads/ads.component.html","webpack:///src/app/Modules/Shared/gifts/gifts.component.ts","webpack:///src/app/Modules/Shared/about/about.component.css","webpack:///src/app/Modules/Shared/store-details/store-details.component.html","webpack:///src/app/Modules/Shared/store-details/store-details.component.css","webpack:///src/app/app-routing.module.ts","webpack:///src/app/Modules/Shared/emp-details/emp-details.component.html","webpack:///src/app/Modules/Shared/ads-gifts/ads-gifts.component.css","webpack:///src/app/Modules/Shared/agreement/agreement.component.html","webpack:///src/app/Modules/Shared/categories/categories.component.html","webpack:///src/main.ts","webpack:///$_lazy_route_resource lazy namespace object"],"names":["CategoriesComponent","dataSrv","router","Categories","temp","GetCategories","id","navigate","queryParams","cat_id","httpGetMethod","subscribe","res","err","evt","cat","active_","httpPostMethod","data","error","filter","element","category_name","toLowerCase","includes","selector","template","QuestionsComponent","route","toaster","Questions","question_id","showedQuestions","Answers","GetQuestions","getCategories","selectedCategory","item","category_id","answer_id","length","question","fire","title","text","icon","showCancelButton","confirmButtonText","cancelButtonText","then","result","isConfirmed","qry","res2","success","isDismissed","GetAnswers","que","push","category_name_e","answer","ChampionshipsComponent","Championships","type","GetChampionships","champion_id","i","dt","Date","champion_start_date","setHours","getHours","champion_close_date","champion_open_date","res3","champion_name","LoginComponent","toast","form","email","required","password","remember","response","status","message","body","controls","value","localStorage","setItem","JSON","stringify","window","location","reload","statusText","AddchampadsComponent","fileURI","ad_img_file","gift_img_file","ad_id","img_url","images_url","AdData","ad_time","after_question","getData","ad_skip","canSkip","ad_img_name","gift_img_name","ad_file","gift_file","params","ad_img","onUpload","reset","event","date","getTime","target","files","reader","FileReader","readAsDataURL","onloadend","e","file","name","options","fileKey","fileName","chunkedMode","httpMethod","mimeType","headers","uploadData","FormData","append","uploadImg","ad","environment","production","Authurl","base_url","StoreDetailsComponent","store_id","coins_number","cost","Stores","buildForm","store","get","setValue","GetStore","back","ChampionshipDetailsComponent","Winners","Members","GetChampionship","GetMembers","getWinners","user_id","DataService","http","logged","url","loadUserData","UserData","parse","getItem","username","full_name","emp_id","apiName","dataobj","httpOptions","fromObject","dataObj","post","api","providedIn","ForgotPasswordComponent","EmpDetailsComponent","emp_email","emp_password","emp_phone","emp_address","national_id","emp_gender","emp_avatar","active","Employees","GetEmps","emp","ProfileComponent","StoresComponent","GetStores","toString","AboutComponent","editorConfig","editable","spellcheck","height","minHeight","maxHeight","width","minWidth","translate","enableToolbar","showToolbar","placeholder","defaultParagraphSeparator","defaultFontName","defaultFontSize","fonts","customClasses","tag","uploadUrl","uploadWithCredentials","sanitize","toolbarPosition","toolbarHiddenButtons","showStores","canseeStores","console","log","about","agreement","AppComponent","navigateCycle","page","param","pathname","replaceUrl","ex","clear","AnswersDetailsComponent","answer_e","isRight","order_","Answer","AppModule","declarations","imports","forRoot","timeOut","positionClass","preventDuplicates","providers","bootstrap","ChampadsComponent","Ads","AnswersComponent","UserDetailsComponent","user_email","user_name","user_password","minLength","user_phone","user_address","user_gender","user_avatar","user_score","user_coins","Users","user","invalid","AgreementComponent","htmlContent","AddEditChampionshipComponent","Championship","champion_notes","champion_type","statues_","champion","UsersComponent","GetUsers","CategorieDetailsComponent","Categories2","getCat","category","HomeComponent","EmployeesComponent","AdsComponent","AdsGiftsComponent","gift_id","gift_img","QuestionDetailsComponent","form2","Question","question_e","rowForEdit","notvalid","row","valid","addAnswers","buildAnswerForm","order","seeOrder","seeRightAnswer","GiftsComponent","Gifts","gift","routes","path","component","redirectTo","AppRoutingModule","preloadingStrategy","exports","bootstrapModule","webpackEmptyAsyncContext","req","Promise","resolve","Error","code","keys","module"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAe;;;AAAA;;;;;;;;;;;;;;;;ACAf;AAAe;;;AAAA;;;;;;;;;;;;;;;;ACAf;AAAe;;;AAAA;;;;;;;;;;;;;;;;ACAf;AAAe;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2VtcC1kZXRhaWxzL2VtcC1kZXRhaWxzLmNvbXBvbmVudC5jc3MifQ== */\";","export default \"*{\\r\\n font-family: 'Cairo';\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvY2hhbXBpb25zaGlwcy9jaGFtcGlvbnNoaXBzLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxvQkFBb0I7QUFDeEIiLCJmaWxlIjoic3JjL2FwcC9Nb2R1bGVzL1NoYXJlZC9jaGFtcGlvbnNoaXBzL2NoYW1waW9uc2hpcHMuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIip7XHJcbiAgICBmb250LWZhbWlseTogJ0NhaXJvJztcclxufVxyXG4iXX0= */\";","export default \"
\";","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvU2hhcmVkL2Fuc3dlcnMvYW5zd2Vycy5jb21wb25lbnQuY3NzIn0= */\";","export default \"\";","import { Component, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-categories',\n templateUrl: './categories.component.html',\n styleUrls: ['./categories.component.css']\n})\nexport class CategoriesComponent implements OnInit {\n Categories: any = []\n avtive\n temp : any = []\n constructor(public dataSrv: DataService, public router: Router) {\n this.GetCategories();\n }\n\n ngOnInit() {\n }\n catstion(id) {\n this.router.navigate(['/CategorieDetails'], { queryParams: { cat_id: id } })\n }\n\n GetCategories() {\n this.dataSrv.httpGetMethod(\"Get_Categories\", \"cat_id=-1\").subscribe(res => {\n //console.log(res)\n this.Categories = res;\n this.temp = res;\n }, err => {\n //console.log(err)\n })\n }\n\n UpdateActive(evt, cat) {\n //console.log(evt)\n cat.active_ = cat.active_ ? 1 : 0;\n //console.log(cat)\n this.dataSrv.httpPostMethod('Add_Edit_Category', cat).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n },\n (error) => {\n //console.log(error)\n }\n );\n }\n\n searchValueById(evt) {\n //console.log(evt)\n if(evt == null || evt == '') {\n this.Categories = this.temp ;\n return\n }\n this.Categories = this.Categories.filter((element) => {\n return element.category_name.toLowerCase().includes(evt.toLowerCase());\n });\n // this.Categories = this.Categories\n // .map((client, i) => ({ id: i + 1, ...client }))\n // .slice(\n // (this.page - 1) * this.pageSize,\n // (this.page - 1) * this.pageSize + this.pageSize\n // );\n }\n}\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\n// import { NgbModal, NgbModalConfig } from '@ng-bootstrap/ng-bootstrap';\n// import { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\nimport Swal from 'sweetalert2';\n@Component({\n selector: 'app-questions',\n templateUrl: './questions.component.html',\n styleUrls: ['./questions.component.css']\n})\nexport class QuestionsComponent implements OnInit {\n\n\n Questions: any = [];\n temp: any = [];\n cat_id;\n question_id = null;\n showedQuestions = [0];\n constructor(\n public router: Router,\n public dataSrv: DataService,\n public route: ActivatedRoute,\n public toaster: ToastrService\n ) {\n route.queryParams.subscribe(res => {\n this.cat_id = res[\"cat_id\"];\n this.GetQuestions();\n })\n\n // config.backdrop = 'static';\n // config.keyboard = false;\n }\n\n ngOnInit(): void {\n this.getCategories();\n }\n\n selectedCategory\n selectCategory(evt) {\n if (this.selectedCategory == 0) {\n this.Questions = this.temp;\n } else {\n this.Questions = this.temp.filter(item => item.category_id == this.selectedCategory)\n }\n //console.log(this.selectedCategory)\n }\n\n Question(question_id) {\n this.router.navigate([\"/QuestionDetails\"], { queryParams: { cat_id: this.cat_id, question_id: question_id } })\n // this.modalService.open(content, { size: 'lg' });\n }\n Answer(answer_id) {\n if (this.question_id == null) return;\n if (answer_id == -1 && this.Answers.length == 4) return\n this.router.navigate([\"/AnswerDetails\"], { queryParams: { answer_id: answer_id, question_id: this.question_id } })\n }\n GetQuestions() {\n this.dataSrv.httpGetMethod(\"Get_Question\", \"question_id=-1&category_id=\" + this.cat_id + \"&selected_questions=\" + this.showedQuestions).subscribe(res => {\n //console.log(res)\n this.Questions = res;\n this.temp = res;\n }, err => {\n //console.log(err)\n })\n }\n\n\n question;\n Answers: any = []\n GetAnswers(question) {\n //console.log(question)\n this.question = question;\n this.question_id = question.question_id;\n this.dataSrv.httpGetMethod(\"Get_Answer\", \"question_id=\" + question.question_id + \"&answer_id=-1\").subscribe(res => {\n //console.log(res)\n this.Answers = res;\n }, err => {\n //console.log(err)\n })\n }\n\n\n delete(question_id) {\n Swal.fire({\n title: 'حذف',\n text: 'هل تريد حذف هذا السؤال ؟',\n icon: 'warning',\n showCancelButton: true,\n confirmButtonText: 'تأكيد',\n cancelButtonText: 'الغاء',\n }).then((result) => {\n\n if (result.isConfirmed) {\n\n let qry = \"delete from Answers where question_id =\" + question_id\n this.dataSrv.httpGetMethod(\"excuteQuery\", \"query=\" + qry).subscribe(res => {\n //console.log(\"Delete Answers: \", res)\n qry = \"delete from Questions where question_id =\" + question_id\n this.dataSrv.httpGetMethod(\"excuteQuery\", \"query=\" + qry).subscribe(res2 => {\n //console.log(\"Delete Question: \", res2);\n this.toaster.success(\"تم الحذف بنجاح\")\n this.GetQuestions();\n }, err => {\n this.toaster.error(\"لم يتم الحذف\")\n\n //console.log(err)\n })\n })\n\n } else if (result.isDismissed) {\n this.toaster.error(\"لم يتم الحذف\")\n\n //console.log('Clicked No, File is safe!');\n\n }\n })\n\n }\n\n deleteAnswer(answer_id) {\n Swal.fire({\n title: 'حذف',\n text: 'هل تريد حذف هذه الاجابة ؟',\n icon: 'warning',\n showCancelButton: true,\n confirmButtonText: 'تأكيد',\n cancelButtonText: 'الغاء',\n }).then((result) => {\n\n if (result.isConfirmed) {\n\n let qry = \"delete from Answers where answer_id =\" + answer_id\n this.dataSrv.httpGetMethod(\"excuteQuery\", \"query=\" + qry).subscribe(res => {\n //console.log(\"Delete Answers: \", res)\n this.GetAnswers(this.question);\n }, err => {\n //console.log(err)\n })\n\n } else if (result.isDismissed) {\n\n //console.log('Clicked No, File is safe!');\n\n }\n })\n\n }\n\n UpdateActive(evt, que) {\n //console.log(evt)\n que.active_ = que.active_ ? 1 : 0;\n //console.log(que)\n this.dataSrv.httpPostMethod('Add_Edit_Question', que).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n },\n (error) => {\n //console.log(error)\n }\n );\n }\n Categories: any = []\n getCategories() {\n this.dataSrv.httpGetMethod(\"Get_Categories\", \"cat_id=-1\").subscribe(res => {\n //console.log(res)\n this.Categories = res;\n this.Categories.push({ active_: 1, category_id: 0, category_name: \"الجميع\", category_name_e: \"\" })\n }, err => {\n //console.log(err)\n })\n }\n searchValueById(evt) {\n //console.log(evt)\n if (evt == null || evt == '') {\n this.Questions = this.temp;\n return\n }\n this.Questions = this.Questions.filter((element) => {\n return element.question.toLowerCase().includes(evt.toLowerCase()) || element.answer.toLowerCase().includes(evt.toLowerCase());\n });\n // this.Categories = this.Categories\n // .map((client, i) => ({ id: i + 1, ...client }))\n // .slice(\n // (this.page - 1) * this.pageSize,\n // (this.page - 1) * this.pageSize + this.pageSize\n // );\n }\n}\n","export default \"* {\\r\\n font-family: \\\"Cairo\\\";\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvc3RvcmVzL3N0b3Jlcy5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksb0JBQW9CO0FBQ3hCIiwiZmlsZSI6InNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvc3RvcmVzL3N0b3Jlcy5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiKiB7XHJcbiAgICBmb250LWZhbWlseTogXCJDYWlyb1wiO1xyXG59XHJcbiJdfQ== */\";","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\nimport Swal from 'sweetalert2';\n\n@Component({\n selector: 'app-championships',\n templateUrl: './championships.component.html',\n styleUrls: ['./championships.component.css']\n})\nexport class ChampionshipsComponent implements OnInit {\n Championships: any = []\n avtive\n temp: any = []\n type\n constructor(public dataSrv: DataService, public route: ActivatedRoute, public router: Router,\n public toaster: ToastrService) {\n\n route.queryParams.subscribe(res => {\n this.type = res[\"type\"];\n this.GetChampionships();\n })\n }\n\n ngOnInit() {\n }\n ChampionShipDetails(id) {\n this.router.navigate(['/ChampionshipDetails'], { queryParams: { champion_id: id } })\n }\n Edit(id) {\n this.router.navigate(['/AddEditChampionship'], { queryParams: { champion_id: id, type: this.type } })\n }\n\n\n\n GetChampionships() {\n this.dataSrv.httpGetMethod(\"Get_ChampionShip\", \"champion_id=-1&status=-1&type=\" + this.type).subscribe(res => {\n //console.log(res)\n this.Championships = res;\n if (this.Championships && this.Championships.length > 0) {\n for (let i = 0; i < this.Championships.length; i++) {\n let dt = new Date(this.Championships[i].champion_start_date)\n dt.setHours(dt.getHours() + 3);\n this.Championships[i].champion_start_date = dt;\n \n dt = new Date(this.Championships[i].champion_close_date)\n dt.setHours(dt.getHours() + 3);\n this.Championships[i].champion_close_date = dt;\n \n dt = new Date(this.Championships[i].champion_open_date)\n dt.setHours(dt.getHours() + 3);\n this.Championships[i].champion_open_date = dt;\n }\n }\n this.temp = res;\n }, err => {\n //console.log(err)\n })\n }\n\n // UpdateActive(evt, cat) {\n // //console.log(evt)\n // cat.active_ = cat.active_ ? 1 : 0;\n // //console.log(cat)\n // this.dataSrv.httpPostMethod('Add_Edit_Category', cat).subscribe(\n // (data) => {\n // let temp: any = [];\n // temp = data;\n // //console.log(temp)\n // },\n // (error) => {\n // //console.log(error)\n // }\n // );\n // }\n\n delete(champion_id) {\n Swal.fire({\n title: 'حذف',\n text: 'هل تريد حذف هذه البطولة ؟',\n icon: 'warning',\n showCancelButton: true,\n confirmButtonText: 'تأكيد',\n cancelButtonText: 'الغاء',\n }).then((result) => {\n if (result.isConfirmed) {\n let qry = \"delete from Championship_Members where champion_id =\" + champion_id\n this.dataSrv.httpGetMethod(\"excuteQuery\", \"query=\" + qry).subscribe(res => {\n //console.log(\"Delete Championship_Members: \", res)\n qry = \"delete from championship_Winners where champion_id =\" + champion_id\n this.dataSrv.httpGetMethod(\"excuteQuery\", \"query=\" + qry).subscribe(res2 => {\n //console.log(\"Delete championship_Winners: \", res2);\n qry = \"delete from Championship where champion_id =\" + champion_id\n this.dataSrv.httpGetMethod(\"excuteQuery\", \"query=\" + qry).subscribe(res3 => {\n //console.log(\"Delete Championship: \", res3);\n this.toaster.success(\"تم الحفظ بنجاح\")\n this.GetChampionships();\n }, err => {\n this.toaster.error(\"لم يتم الحذف\")\n //console.log(err)\n })\n }, err => {\n this.toaster.error(\"لم يتم الحذف\")\n //console.log(err)\n })\n })\n\n } else if (result.isDismissed) {\n this.toaster.error(\"لم يتم الحذف\")\n //console.log('Clicked No, File is safe!');\n\n }\n })\n\n }\n\n searchValueById(evt) {\n //console.log(evt)\n if (evt == null || evt == '') {\n this.Championships = this.temp;\n return\n }\n this.Championships = this.Championships.filter((element) => {\n return element.champion_name.toLowerCase().includes(evt.toLowerCase());\n });\n }\n}\n","export default \"\\n\\n \\n\\n
\\n
\\n
\\n \\n
أضف اعلان حجم الصورة \\n
360 * 640 \\n\\n
\\n
\\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n\\n
\\n \\n \\n\\n
\\n
\\n
\\n \";","import { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormControl, Validators } from '@angular/forms';\nimport { Router } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-login',\n templateUrl: './login.component.html',\n styleUrls: ['./login.component.css']\n})\nexport class LoginComponent implements OnInit {\n form = new FormGroup({\n email: new FormControl('', Validators.required),\n password: new FormControl('', Validators.required),\n });\n remember = false;\n response = {\n status: 0,\n message: '',\n };\n constructor(public dataSrv: DataService, public router: Router,public toast:ToastrService) { }\n\n ngOnInit() {\n }\n\n Login() {\n let body = {\n email: this.form.controls.email.value,\n password: this.form.controls.password.value,\n type: 1\n };\n //console.log(JSON.stringify(body));\n\n this.dataSrv.httpPostMethod(\"Login\", body).subscribe(\n (data: any) => {\n //console.log(data)\n if(data && data.length > 0){\n localStorage.setItem('UserData', JSON.stringify(data));\n window.location.reload();\n }else{\n this.toast.error(\"خطأ فى تسجيل الدخول , من فضلك تحقق من صحة بياناتك\")\n }\n\n },\n (error) => {\n //console.log(error)\n this.response.status = -1;\n this.response.message = error.statusText;\n }\n );\n }\n\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\nimport { environment } from 'src/environments/environment';\n\n@Component({\n selector: 'app-addchampads',\n templateUrl: './addchampads.component.html',\n styleUrls: ['./addchampads.component.css']\n})\nexport class AddchampadsComponent implements OnInit {\n fileURI = null;\n ad_img_file = null;\n ad_img_name\n gift_img_file = null;\n gift_img_name\n ad_file: any\n gift_file: any;\n canSkip\n ad_skip;\n ad_id = -1;\n img_url = environment.images_url;\n AdData: any = []\n constructor(public toaster: ToastrService, public dataSrv: DataService, public route: ActivatedRoute) {\n this.route.queryParams.subscribe(res => {\n this.ad_id = res[\"ad_id\"] ? res[\"ad_id\"] : -1;\n })\n this.getData();\n }\n\n ngOnInit(): void {\n }\n onCheckboxChange(evt) {\n this.ad_skip = this.canSkip;\n }\n reset() {\n this.fileURI = null;\n this.ad_img_file = null;\n this.ad_img_name = null;\n this.gift_img_file = null;\n this.gift_img_name = null;\n this.ad_file = null;\n this.gift_file = null;\n this.ad_time = 3;\n this.after_question = 1;\n this.ad_skip = false;\n }\n ad_time = 3;\n after_question = 1;\n getData() {\n if (this.ad_id == -1) {\n\n } else {\n this.dataSrv.httpGetMethod(\"Get_ChampAds\", \"ad_id=\" + this.ad_id).subscribe(res => {\n //console.log(res)\n if (!res) return;\n this.ad_time = res[0].ad_time;\n this.after_question = res[0].after_question;\n this.ad_img_name = res[0][\"ad_img\"];\n this.canSkip = res[0].ad_skip == 1 ? true : false;\n this.AdData = res;\n })\n }\n\n }\n SaveAd(ad_time, after_question) {\n let params = {\n ad_id: this.ad_id,\n ad_time: ad_time,\n after_question: after_question,\n ad_img: this.ad_img_name,\n active_: 1,\n ad_skip: this.ad_skip == true ? 1 : 0\n }\n if(this.ad_id == -1){\n if(this.ad_img_name == \"\" || this.ad_img_name == null){\n this.toaster.error(\"من فضلك اختر صورة\");\n return;\n }\n }\n this.dataSrv.httpPostMethod('Add_Edit_ChampAd', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n if (this.ad_img_file != null)\n this.onUpload(this.ad_img_file, this.ad_img_name);\n this.toaster.success(\"تم الحفظ بنجاح\");\n if (this.ad_id == -1)\n this.reset();\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n }\n\n\n\n async onFileChanged(event, type) {\n let date = new Date().getTime();\n if (type == 1) {\n this.ad_img_file = event.target.files[0];\n //console.log(this.ad_img_file)\n const reader = new FileReader();\n reader.readAsDataURL(this.ad_img_file);\n reader.onloadend = (e) => {\n this.ad_file = reader.result;\n }\n this.ad_img_name = \"Ad_\" + date + \".jpg\";\n } else {\n this.gift_img_file = event.target.files[0];\n const reader = new FileReader();\n reader.readAsDataURL(this.gift_img_file);\n reader.onloadend = (e) => {\n this.gift_file = reader.result;\n }\n this.gift_img_name = \"Gift_\" + date + \".jpg\";\n }\n }\n\n onUpload(file, name) {\n let options = {\n fileKey: 'file',\n file: file,\n fileName: name,\n chunkedMode: false,\n httpMethod: 'post',\n mimeType: \"image/jpeg\",\n headers: {}\n }\n const uploadData = new FormData();\n uploadData.append('file', file, name);\n this.dataSrv.uploadImg(\"upload_file\", uploadData).subscribe(\n response => {\n this.toaster.success(\"تم الحفظ بنجاح\")\n },\n (err) => {\n this.toaster.error(\"لم يتم الحفظ\")\n }\n );\n\n }\n\n UpdateActive(evt, ad) {\n //console.log(ad)\n ad.active_ = ad.active_ ? 1 : 0;\n //console.log(ad)\n this.dataSrv.httpPostMethod('Add_Edit_Ad', ad).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n },\n (error) => {\n //console.log(error)\n }\n );\n }\n\n}\n","export default \"forgot-password works!
\\n\";","export default \"*{\\r\\n font-family: 'Cairo';\\r\\n}\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvZW1wbG95ZWVzL2VtcGxveWVlcy5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksb0JBQW9CO0FBQ3hCIiwiZmlsZSI6InNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvZW1wbG95ZWVzL2VtcGxveWVlcy5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiKntcclxuICAgIGZvbnQtZmFtaWx5OiAnQ2Fpcm8nO1xyXG59Il19 */\";","export default \"*{\\r\\n\\tfont-family: Cairo;\\r\\n}\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvYWRkY2hhbXBhZHMvYWRkY2hhbXBhZHMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtDQUNDLGtCQUFrQjtBQUNuQiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvU2hhcmVkL2FkZGNoYW1wYWRzL2FkZGNoYW1wYWRzLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIqe1xyXG5cdGZvbnQtZmFtaWx5OiBDYWlybztcclxufSJdfQ== */\";","export default \"* {\\r\\n font-family: Cairo;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvYXBwLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxrQkFBa0I7QUFDdEIiLCJmaWxlIjoic3JjL2FwcC9hcHAuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIioge1xyXG4gICAgZm9udC1mYW1pbHk6IENhaXJvO1xyXG59XHJcbiJdfQ== */\";","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false,\n // base_url: \"http://localhost:1853/api/Alkanz/\",\n // images_url: \"http://localhost:1853/Files/\",\n // Authurl: \"http://localhost:1853/\",\n\n Authurl: \"https://api.alkan-z.com/\",\n images_url: \"https://api.alkan-z.com/Files/\",\n base_url: \"https://api.alkan-z.com/api/Alkanz/\",\n \n\n // firebaseConfig: {\n // apiKey: \"AIzaSyDJPrcBPfANmKd1l14I4MfhOoFOWQlhfNQ\",\n // authDomain: \"mokhalasaty-fc7b0.firebaseapp.com\",\n // projectId: \"mokhalasaty-fc7b0\",\n // storageBucket: \"mokhalasaty-fc7b0.appspot.com\",\n // messagingSenderId: \"242268944162\",\n // appId: \"1:242268944162:web:da2eb8a5ec28a86ce3d77b\",\n // measurementId: \"G-4BWTN7HM4Y\"\n // }\n\n};\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\n","export default \"\\n
\\n
\\n \\n
\\n
\\n
\\n \\n \\n م \\n اسم المستخدم \\n الجوال \\n البريد \\n الرقم القومى \\n تعديل \\n \\n \\n \\n \\n \\n {{i+1}}\\n \\n \\n {{emp.full_name}}\\n \\n \\n {{emp.emp_phone}}\\n \\n \\n {{emp.emp_email}}\\n \\n \\n {{emp.national_id}}\\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\";","export default \"#chartdiv {\\r\\n width: 100%;\\r\\n height: 375px;\\r\\n}\\r\\n#chartdiv1 {\\r\\n width: 100%;\\r\\n height: 295px;\\r\\n}\\r\\n.jqcandlestick-container {\\r\\n width: 100%;\\r\\n height: 300px;\\r\\n}\\r\\n* {\\r\\n font-family: Cairo;\\r\\n}\\r\\n.custom {\\r\\n background: white !important;\\r\\n text-align: center !important;\\r\\n color: black !important;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvaG9tZS9ob21lLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxXQUFXO0VBQ1gsYUFBYTtBQUNmO0FBQ0E7RUFDRSxXQUFXO0VBQ1gsYUFBYTtBQUNmO0FBQ0E7RUFDRSxXQUFXO0VBQ1gsYUFBYTtBQUNmO0FBRUE7RUFDRSxrQkFBa0I7QUFDcEI7QUFFQTtFQUNFLDRCQUE0QjtFQUM1Qiw2QkFBNkI7RUFDN0IsdUJBQXVCO0FBQ3pCIiwiZmlsZSI6InNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvaG9tZS9ob21lLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIjY2hhcnRkaXYge1xyXG4gIHdpZHRoOiAxMDAlO1xyXG4gIGhlaWdodDogMzc1cHg7XHJcbn1cclxuI2NoYXJ0ZGl2MSB7XHJcbiAgd2lkdGg6IDEwMCU7XHJcbiAgaGVpZ2h0OiAyOTVweDtcclxufVxyXG4uanFjYW5kbGVzdGljay1jb250YWluZXIge1xyXG4gIHdpZHRoOiAxMDAlO1xyXG4gIGhlaWdodDogMzAwcHg7XHJcbn1cclxuXHJcbioge1xyXG4gIGZvbnQtZmFtaWx5OiBDYWlybztcclxufVxyXG5cclxuLmN1c3RvbSB7XHJcbiAgYmFja2dyb3VuZDogd2hpdGUgIWltcG9ydGFudDtcclxuICB0ZXh0LWFsaWduOiBjZW50ZXIgIWltcG9ydGFudDtcclxuICBjb2xvcjogYmxhY2sgIWltcG9ydGFudDtcclxufVxyXG4iXX0= */\";","export default \"* {\\r\\n font-family: \\\"Cairo\\\";\\r\\n}\\r\\n\\r\\n.img {\\r\\n width: 20%;\\r\\n height: 60px;\\r\\n margin-left: 40%;\\r\\n margin-right: 40%;\\r\\n}\\r\\n\\r\\n.switch {\\r\\n position: relative;\\r\\n display: inline-block;\\r\\n width: 35px;\\r\\n height: 18px;\\r\\n}\\r\\n\\r\\n.switch input {\\r\\n opacity: 0;\\r\\n width: 0;\\r\\n height: 0;\\r\\n}\\r\\n\\r\\n.slider {\\r\\n position: absolute;\\r\\n cursor: pointer;\\r\\n top: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n bottom: 0;\\r\\n background-color: #ccc;\\r\\n transition: 0.4s;\\r\\n}\\r\\n\\r\\n.slider:before {\\r\\n position: absolute;\\r\\n content: \\\"\\\";\\r\\n height: 15px;\\r\\n width: 15px;\\r\\n left: 4px;\\r\\n bottom: 1px;\\r\\n background-color: white;\\r\\n transition: 0.4s;\\r\\n}\\r\\n\\r\\ninput:checked + .slider {\\r\\n background-color: #2196f3;\\r\\n}\\r\\n\\r\\ninput:focus + .slider {\\r\\n box-shadow: 0 0 1px #2196f3;\\r\\n}\\r\\n\\r\\ninput:checked + .slider:before {\\r\\n transform: translateX(15px);\\r\\n}\\r\\n\\r\\n/* Rounded sliders */\\r\\n\\r\\n.slider.round {\\r\\n border-radius: 34px;\\r\\n}\\r\\n\\r\\n.slider.round:before {\\r\\n border-radius: 50%;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvZ2lmdHMvZ2lmdHMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLG9CQUFvQjtBQUN4Qjs7QUFFQTtJQUNJLFVBQVU7SUFDVixZQUFZO0lBQ1osZ0JBQWdCO0lBQ2hCLGlCQUFpQjtBQUNyQjs7QUFDQTtJQUNJLGtCQUFrQjtJQUNsQixxQkFBcUI7SUFDckIsV0FBVztJQUNYLFlBQVk7QUFDaEI7O0FBRUE7SUFDSSxVQUFVO0lBQ1YsUUFBUTtJQUNSLFNBQVM7QUFDYjs7QUFFQTtJQUNJLGtCQUFrQjtJQUNsQixlQUFlO0lBQ2YsTUFBTTtJQUNOLE9BQU87SUFDUCxRQUFRO0lBQ1IsU0FBUztJQUNULHNCQUFzQjtJQUV0QixnQkFBZ0I7QUFDcEI7O0FBRUE7SUFDSSxrQkFBa0I7SUFDbEIsV0FBVztJQUNYLFlBQVk7SUFDWixXQUFXO0lBQ1gsU0FBUztJQUNULFdBQVc7SUFDWCx1QkFBdUI7SUFDdkIsZ0JBQWdCO0FBQ3BCOztBQUVBO0lBQ0kseUJBQXlCO0FBQzdCOztBQUVBO0lBQ0ksMkJBQTJCO0FBQy9COztBQUVBO0lBR0ksMkJBQTJCO0FBQy9COztBQUVBLG9CQUFvQjs7QUFDcEI7SUFDSSxtQkFBbUI7QUFDdkI7O0FBRUE7SUFDSSxr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gYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICB0cmFuc2l0aW9uOiAwLjRzO1xyXG59XHJcblxyXG5pbnB1dDpjaGVja2VkICsgLnNsaWRlciB7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjMjE5NmYzO1xyXG59XHJcblxyXG5pbnB1dDpmb2N1cyArIC5zbGlkZXIge1xyXG4gICAgYm94LXNoYWRvdzogMCAwIDFweCAjMjE5NmYzO1xyXG59XHJcblxyXG5pbnB1dDpjaGVja2VkICsgLnNsaWRlcjpiZWZvcmUge1xyXG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMTVweCk7XHJcbiAgICAtbXMtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDE1cHgpO1xyXG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDE1cHgpO1xyXG59XHJcblxyXG4vKiBSb3VuZGVkIHNsaWRlcnMgKi9cclxuLnNsaWRlci5yb3VuZCB7XHJcbiAgICBib3JkZXItcmFkaXVzOiAzNHB4O1xyXG59XHJcblxyXG4uc2xpZGVyLnJvdW5kOmJlZm9yZSB7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbn1cclxuIl19 */\";","export default \"* {\\r\\n font-family: \\\"Cairo\\\";\\r\\n}\\r\\n\\r\\n.img {\\r\\n width: 20%;\\r\\n height: 60px;\\r\\n margin-left: 40%;\\r\\n margin-right: 40%;\\r\\n}\\r\\n\\r\\n.switch {\\r\\n position: relative;\\r\\n display: inline-block;\\r\\n width: 35px;\\r\\n height: 18px;\\r\\n}\\r\\n\\r\\n.switch input {\\r\\n opacity: 0;\\r\\n width: 0;\\r\\n height: 0;\\r\\n}\\r\\n\\r\\n.slider {\\r\\n position: absolute;\\r\\n cursor: pointer;\\r\\n top: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n bottom: 0;\\r\\n background-color: #ccc;\\r\\n transition: 0.4s;\\r\\n}\\r\\n\\r\\n.slider:before {\\r\\n position: absolute;\\r\\n content: \\\"\\\";\\r\\n height: 15px;\\r\\n width: 15px;\\r\\n left: 4px;\\r\\n bottom: 1px;\\r\\n background-color: white;\\r\\n transition: 0.4s;\\r\\n}\\r\\n\\r\\ninput:checked + .slider {\\r\\n background-color: #2196f3;\\r\\n}\\r\\n\\r\\ninput:focus + .slider {\\r\\n box-shadow: 0 0 1px #2196f3;\\r\\n}\\r\\n\\r\\ninput:checked + .slider:before {\\r\\n transform: translateX(15px);\\r\\n}\\r\\n\\r\\n/* Rounded sliders */\\r\\n\\r\\n.slider.round {\\r\\n border-radius: 34px;\\r\\n}\\r\\n\\r\\n.slider.round:before {\\r\\n border-radius: 50%;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvYWRzL2Fkcy5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksb0JBQW9CO0FBQ3hCOztBQUVBO0lBQ0ksVUFBVTtJQUNWLFlBQVk7SUFDWixnQkFBZ0I7SUFDaEIsaUJBQWlCO0FBQ3JCOztBQUNBO0lBQ0ksa0JBQWtCO0lBQ2xCLHFCQUFxQjtJQUNyQixXQUFXO0lBQ1gsWUFBWTtBQUNoQjs7QUFFQTtJQUNJLFVBQVU7SUFDVixRQUFRO0lBQ1IsU0FBUztBQUNiOztBQUVBO0lBQ0ksa0JBQWtCO0lBQ2xCLGVBQWU7SUFDZixNQUFNO0lBQ04sT0FBTztJQUNQLFFBQVE7SUFDUixTQUFTO0lBQ1Qsc0JBQXNCO0lBRXRCLGdCQUFnQjtBQUNwQjs7QUFFQTtJQUNJLGtCQUFrQjtJQUNsQixXQUFXO0lBQ1gsWUFBWTtJQUNaLFdBQVc7SUFDWCxTQUFTO0lBQ1QsV0FBVztJQUNYLHVCQUF1QjtJQUN2QixnQk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yZSB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICBjb250ZW50OiBcIlwiO1xyXG4gICAgaGVpZ2h0OiAxNXB4O1xyXG4gICAgd2lkdGg6IDE1cHg7XHJcbiAgICBsZWZ0OiA0cHg7XHJcbiAgICBib3R0b206IDFweDtcclxuICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xyXG4gICAgdHJhbnNpdGlvbjogMC40cztcclxufVxyXG5cclxuaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXIge1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogIzIxOTZmMztcclxufVxyXG5cclxuaW5wdXQ6Zm9jdXMgKyAuc2xpZGVyIHtcclxuICAgIGJveC1zaGFkb3c6IDAgMCAxcHggIzIxOTZmMztcclxufVxyXG5cclxuaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgIC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDE1cHgpO1xyXG4gICAgLW1zLXRyYW5zZm9ybTogdHJhbnNsYXRlWCgxNXB4KTtcclxuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgxNXB4KTtcclxufVxyXG5cclxuLyogUm91bmRlZCBzbGlkZXJzICovXHJcbi5zbGlkZXIucm91bmQge1xyXG4gICAgYm9yZGVyLXJhZGl1czogMzRweDtcclxufVxyXG5cclxuLnNsaWRlci5yb3VuZDpiZWZvcmUge1xyXG4gICAgYm9yZGVyLXJhZGl1czogNTAlO1xyXG59XHJcbiJdfQ== */\";","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvVXNlck1vZHVsZS9mb3Jnb3QtcGFzc3dvcmQvZm9yZ290LXBhc3N3b3JkLmNvbXBvbmVudC5jc3MifQ== */\";","import { Location } from '@angular/common';\nimport { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormControl, Validators } from '@angular/forms';\nimport { ActivatedRoute } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-store-details',\n templateUrl: './store-details.component.html',\n styleUrls: ['./store-details.component.css']\n})\nexport class StoreDetailsComponent implements OnInit {\n form: FormGroup = new FormGroup({\n store_id: new FormControl(-1, Validators.required),\n coins_number: new FormControl('', Validators.required),\n cost: new FormControl('', Validators.required),\n });\n Stores: any = [];\n store_id\n constructor(public route: ActivatedRoute, public dataSrv: DataService,\n private toaster: ToastrService, public location: Location\n ) {\n route.queryParams.subscribe(res => {\n this.store_id = res[\"store_id\"];\n this.dataSrv.httpGetMethod(\"Get_Store\", \"store_id=\" + this.store_id).subscribe(res => {\n //console.log(res)\n this.Stores = res;\n if (this.store_id != -1) {\n this.buildForm(this.Stores[0])\n }\n }, err => {\n //console.log(err)\n })\n })\n }\n buildForm(store) {\n this.form = new FormGroup({\n store_id: new FormControl(this.store_id, Validators.required),\n coins_number: new FormControl(store.coins_number, Validators.required),\n cost: new FormControl(store.cost, Validators.required),\n });\n }\n ngOnInit() {\n }\n\n Save() {\n this.form.get(\"store_id\").setValue(this.store_id)\n //console.log(this.form.value)\n let params = this.form.value;\n this.dataSrv.httpPostMethod('Add_Edit_Store', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n this.toaster.success(\"تم الحفظ بنجاح\")\n if (this.store_id == -1) {\n this.reset();\n this.GetStore();\n }\n else\n this.location.back();\n // this.GetStore();\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n\n }\n\n\n reset() {\n this.form = new FormGroup({\n store_id: new FormControl(-1, Validators.required),\n coins_number: new FormControl('', Validators.required),\n cost: new FormControl('', Validators.required),\n });\n }\n GetStore() {\n this.dataSrv.httpGetMethod(\"Get_Store\", \"store_id=-1\").subscribe(res => {\n //console.log(res)\n this.Stores = res;\n }, err => {\n //console.log(err)\n })\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-championship-details',\n templateUrl: './championship-details.component.html',\n styleUrls: ['./championship-details.component.css']\n})\nexport class ChampionshipDetailsComponent implements OnInit {\n Championships: any = []\n temp: any = []\n champion_id\n constructor(public dataSrv: DataService, public route: ActivatedRoute,\n public router: Router,\n public toaster: ToastrService) {\n route.queryParams.subscribe(res => {\n this.champion_id = res[\"champion_id\"];\n\n if (this.champion_id)\n this.GetChampionship();\n })\n }\n // Edit(id) {\n // this.router.navigate(['/AddEditChampionship'], { queryParams: { champion_id: id, type: this.type } })\n // }\n ngOnInit(): void {\n }\n GetChampionship() {\n this.dataSrv.httpGetMethod(\"Get_ChampionShip\", \"champion_id=\" + this.champion_id + \"&status=-1&type=-1\").subscribe(res => {\n //console.log(res)\n this.Championships = res;\n if (this.Championships && this.Championships.length > 0) {\n for (let i = 0; i < this.Championships.length; i++) {\n let dt = new Date(this.Championships[i].champion_start_date)\n dt.setHours(dt.getHours() + 3);\n this.Championships[i].champion_start_date = dt;\n \n dt = new Date(this.Championships[i].champion_close_date)\n dt.setHours(dt.getHours() + 3);\n this.Championships[i].champion_close_date = dt;\n \n dt = new Date(this.Championships[i].champion_open_date)\n dt.setHours(dt.getHours() + 3);\n this.Championships[i].champion_open_date = dt;\n }\n }\n this.temp = res;\n this.GetMembers();\n this.getWinners()\n }, err => {\n //console.log(err)\n })\n }\n Winners: any = []\n getWinners() {\n this.dataSrv.httpGetMethod(\"Get_ChampionShipWinners\", \"champion_id=\" + this.champion_id).subscribe(res => {\n //console.log(res)\n this.Winners = res;\n }, err => {\n //console.log(err)\n })\n }\n\n EditUser(user_id) {\n this.router.navigate([\"/UserDetails\"], { queryParams: { user_id: user_id } })\n }\n\n Members: any = []\n GetMembers() {\n this.dataSrv.httpGetMethod(\"Get_ChampionShipMembers\", \"champion_id=\" + this.champion_id).subscribe(res => {\n //console.log(res)\n this.Members = res;\n this.temp = res;\n }, err => {\n //console.log(err)\n })\n }\n\n}\n","export default \"answers works!
\\n\";","export default \"\\n \\n
\\n
\\n \\n
\\n
= 5\\\" style=\\\"\\n text-align: center;\\n height: 300px;\\n padding-top: 150px;\\n \\\">\\n لا يمكن اضافة اكثر من 5 أقسام\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n\\n\";","export default \"*{\\r\\n font-family: 'Cairo';\\r\\n}\\r\\n\\r\\n\\r\\n.switch {\\r\\n position: relative;\\r\\n display: inline-block;\\r\\n width: 35px;\\r\\n height: 18px;\\r\\n }\\r\\n\\r\\n\\r\\n.switch input { \\r\\n opacity: 0;\\r\\n width: 0;\\r\\n height: 0;\\r\\n }\\r\\n\\r\\n\\r\\n.slider {\\r\\n position: absolute;\\r\\n cursor: pointer;\\r\\n top: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n bottom: 0;\\r\\n background-color: #ccc;\\r\\n transition: .4s;\\r\\n }\\r\\n\\r\\n\\r\\n.slider:before {\\r\\n position: absolute;\\r\\n content: \\\"\\\";\\r\\n height: 15px;\\r\\n width: 15px;\\r\\n left: 4px;\\r\\n bottom: 1px;\\r\\n background-color: white;\\r\\n transition: .4s;\\r\\n }\\r\\n\\r\\n\\r\\ninput:checked + .slider {\\r\\n background-color: #2196F3;\\r\\n }\\r\\n\\r\\n\\r\\ninput:focus + .slider {\\r\\n box-shadow: 0 0 1px #2196F3;\\r\\n }\\r\\n\\r\\n\\r\\ninput:checked + .slider:before {\\r\\n transform: translateX(15px);\\r\\n }\\r\\n\\r\\n\\r\\n/* Rounded sliders */\\r\\n\\r\\n\\r\\n.slider.round {\\r\\n border-radius: 34px;\\r\\n }\\r\\n\\r\\n\\r\\n.slider.round:before {\\r\\n border-radius: 50%;\\r\\n }\\r\\n/*# sourceMappingURL=data:application/json;base64,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WCgxNXB4KTtcclxuICAgIC1tcy10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMTVweCk7XHJcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMTVweCk7XHJcbiAgfVxyXG4gIFxyXG4gIC8qIFJvdW5kZWQgc2xpZGVycyAqL1xyXG4gIC5zbGlkZXIucm91bmQge1xyXG4gICAgYm9yZGVyLXJhZGl1czogMzRweDtcclxuICB9XHJcbiAgXHJcbiAgLnNsaWRlci5yb3VuZDpiZWZvcmUge1xyXG4gICAgYm9yZGVyLXJhZGl1czogNTAlO1xyXG4gIH0iXX0= */\";","export default \"\";","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvU2hhcmVkL2NoYW1waW9uc2hpcC1kZXRhaWxzL2NoYW1waW9uc2hpcC1kZXRhaWxzLmNvbXBvbmVudC5jc3MifQ== */\";","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\nimport { environment } from 'src/environments/environment';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class DataService {\n UserData\n Session\n username\n user_id\n public logged = false;\n\n private readonly url = environment.base_url;\n private readonly Authurl = environment.Authurl;\n // private readonly ImgUrl = environment.images_url;\n httpOptions\n constructor(private http: HttpClient) {\n this.loadUserData();\n }\n loadUserData() {\n // this.Session = JSON.parse(localStorage.getItem('Session')) ? JSON.parse(localStorage.getItem('Session')) : null;\n this.UserData = JSON.parse(localStorage.getItem(\"UserData\")) ? JSON.parse(localStorage.getItem(\"UserData\")) : null;\n if (this.UserData && this.UserData != null) {\n this.logged = true;\n this.username = this.UserData[0].full_name\n this.user_id = this.UserData[0].emp_id\n }\n }\n uploadImg(apiName: string, dataobj: FormData) {\n // let Session = JSON.parse(localStorage.getItem('Session'));\n // if (Session && Session.access_token) {\n // //console.log(Session)\n this.httpOptions = {\n headers: new HttpHeaders({\n // \"Authorization\": `bearer ${Session.access_token}`,\n })\n // };\n }\n //console.log(dataobj)\n const params = new HttpParams({\n fromObject: { dataObj: JSON.stringify(dataobj) }\n });\n return this.http.post(this.Authurl + apiName, dataobj, this.httpOptions)\n }\n\n LoginWithAuthToken(email, password) {\n const httpOptions = {\n headers: new HttpHeaders({\n 'Access-Control-Allow-Origin': '*',\n }),\n };\n return this.http.post(`${this.Authurl}token`, `grant_type=password&username=${email}&password=${password}&type=1`, httpOptions)\n }\n httpPostMethod(api: any, dataobj: any) {\n // let Session = JSON.parse(localStorage.getItem('Session'));\n // if (Session && Session.access_token) {\n // //console.log(Session)\n this.httpOptions = {\n headers: new HttpHeaders({\n // \"Authorization\": `bearer ${Session.access_token}`,\n \"Content-Type\": \"application/x-www-form-urlencoded\"\n })\n };\n // }\n //console.log(dataobj)\n const params = new HttpParams({\n fromObject: { dataObj: JSON.stringify(dataobj) }\n });\n return this.http.post(this.url + api, params, this.httpOptions)\n }\n\n httpGetMethod(apiName, params?) {\n // let Session = JSON.parse(localStorage.getItem('Session'));\n // if (Session && Session.access_token) {\n // //console.log(Session)\n this.httpOptions = {\n headers: new HttpHeaders({\n // \"Authorization\": `bearer ${Session.access_token}`,\n \"Content-Type\": \"application/x-www-form-urlencoded\"\n })\n };\n // }\n //console.log(this.url + apiName)\n if (!params)\n return this.http.get(this.url + apiName, this.httpOptions);\n else\n return this.http.get(this.url + apiName + \"?\" + params, this.httpOptions);\n }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-forgot-password',\n templateUrl: './forgot-password.component.html',\n styleUrls: ['./forgot-password.component.css']\n})\nexport class ForgotPasswordComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","export default \"* {\\r\\n font-family: \\\"Cairo\\\";\\r\\n}\\r\\n\\r\\n.img {\\r\\n width: 20%;\\r\\n height: 60px;\\r\\n margin-left: 40%;\\r\\n margin-right: 40%;\\r\\n}\\r\\n\\r\\n.switch {\\r\\n position: relative;\\r\\n display: inline-block;\\r\\n width: 35px;\\r\\n height: 18px;\\r\\n}\\r\\n\\r\\n.switch input {\\r\\n opacity: 0;\\r\\n width: 0;\\r\\n height: 0;\\r\\n}\\r\\n\\r\\n.slider {\\r\\n position: absolute;\\r\\n cursor: pointer;\\r\\n top: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n bottom: 0;\\r\\n background-color: #ccc;\\r\\n transition: 0.4s;\\r\\n}\\r\\n\\r\\n.slider:before {\\r\\n position: absolute;\\r\\n content: \\\"\\\";\\r\\n height: 15px;\\r\\n width: 15px;\\r\\n left: 4px;\\r\\n bottom: 1px;\\r\\n background-color: white;\\r\\n transition: 0.4s;\\r\\n}\\r\\n\\r\\ninput:checked + .slider {\\r\\n background-color: #2196f3;\\r\\n}\\r\\n\\r\\ninput:focus + .slider {\\r\\n box-shadow: 0 0 1px #2196f3;\\r\\n}\\r\\n\\r\\ninput:checked + .slider:before {\\r\\n transform: translateX(15px);\\r\\n}\\r\\n\\r\\n/* Rounded sliders */\\r\\n\\r\\n.slider.round {\\r\\n border-radius: 34px;\\r\\n}\\r\\n\\r\\n.slider.round:before {\\r\\n border-radius: 50%;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvY2hhbXBhZHMvY2hhbXBhZHMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLG9CQUFvQjtBQUN4Qjs7QUFFQTtJQUNJLFVBQVU7SUFDVixZQUFZO0lBQ1osZ0JBQWdCO0lBQ2hCLGlCQUFpQjtBQUNyQjs7QUFDQTtJQUNJLGtCQUFrQjtJQUNsQixxQkFBcUI7SUFDckIsV0FBVztJQUNYLFlBQVk7QUFDaEI7O0FBRUE7SUFDSSxVQUFV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59XHJcblxyXG4uc2xpZGVyLnJvdW5kOmJlZm9yZSB7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbn1cclxuIl19 */\";","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvU2hhcmVkL2Fuc3dlcnMtZGV0YWlscy9hbnN3ZXJzLWRldGFpbHMuY29tcG9uZW50LmNzcyJ9 */\";","import { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormControl, Validators } from '@angular/forms';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { DataService } from 'src/app/Services/data.service';\nimport { ToastrService } from 'ngx-toastr';\n\n@Component({\n selector: 'app-emp-details',\n templateUrl: './emp-details.component.html',\n styleUrls: ['./emp-details.component.css']\n})\nexport class EmpDetailsComponent implements OnInit {\n\n form = new FormGroup({\n emp_id: new FormControl(-1),\n full_name: new FormControl('', Validators.required),\n emp_email: new FormControl('', Validators.required),\n emp_password: new FormControl('', Validators.required),\n emp_phone: new FormControl('', Validators.required),\n emp_address: new FormControl('', Validators.required),\n national_id: new FormControl('', Validators.required),\n emp_gender: new FormControl('', Validators.required),\n emp_avatar: new FormControl('',),\n active: new FormControl(1)\n });\n\n emp_id\n Employees: any = [];\n emp_gender\n constructor(\n public router: Router,\n public dataSrv: DataService,\n public route: ActivatedRoute,\n public toaster: ToastrService\n ) {\n route.queryParams.subscribe(res => {\n this.emp_id = res[\"emp_id\"];\n this.GetEmps();\n })\n }\n\n ngOnInit() {\n }\n\n GetEmps() {\n this.dataSrv.httpGetMethod(\"Get_Employee\", \"emp_id=\" + this.emp_id).subscribe(res => {\n //console.log(res)\n this.Employees = res;\n if (this.emp_id != -1)\n this.buildForm(this.Employees[0])\n }, err => {\n //console.log(err)\n })\n }\n buildForm(emp) {\n this.form = new FormGroup({\n emp_id: new FormControl(emp.emp_id),\n full_name: new FormControl(emp.full_name, Validators.required),\n emp_email: new FormControl(emp.emp_email, Validators.required),\n emp_password: new FormControl(emp.emp_password, Validators.required),\n emp_phone: new FormControl(emp.emp_phone, Validators.required),\n emp_address: new FormControl(emp.emp_address, Validators.required),\n national_id: new FormControl(emp.national_id, Validators.required),\n emp_gender: new FormControl(emp.emp_gender, Validators.required),\n emp_avatar: new FormControl(''),\n active: new FormControl(1)\n });\n }\n reset() {\n this.form.reset();\n }\n Save() {\n //console.log(this.form.value)\n let params = this.form.value;\n this.dataSrv.httpPostMethod('Reg_Edit_Emp', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n if (temp && temp.length > 0) {\n if (temp[0][\"emp_email\"] && this.emp_id == -1) {\n this.toaster.error(\"هذا البريد موجود بالفعل\");\n } else if (temp[0][\"emp_id\"]) {\n this.toaster.success(\"تم الحفظ بنجاح\");\n if (this.emp_id == -1) {\n this.reset();\n }\n }\n //console.log(temp)\n if (this.dataSrv.user_id == this.emp_id) {\n localStorage.setItem('UserData', JSON.stringify(data));\n this.dataSrv.loadUserData();\n }\n }\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n\n //console.log(error)\n }\n );\n\n }\n\n}\n","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvU2hhcmVkL3VzZXItZGV0YWlscy91c2VyLWRldGFpbHMuY29tcG9uZW50LmNzcyJ9 */\";","export default \"*{\\r\\n font-family: 'Cairo';\\r\\n}\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvdXNlcnMvdXNlcnMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLG9CQUFvQjtBQUN4QiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvU2hhcmVkL3VzZXJzL3VzZXJzLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIqe1xyXG4gICAgZm9udC1mYW1pbHk6ICdDYWlybyc7XHJcbn0iXX0= */\";","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-profile',\n templateUrl: './profile.component.html',\n styleUrls: ['./profile.component.css']\n})\nexport class ProfileComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-stores',\n templateUrl: './stores.component.html',\n styleUrls: ['./stores.component.css']\n})\nexport class StoresComponent implements OnInit {\n Stores: any = []\n avtive\n temp: any = []\n constructor(public dataSrv: DataService, public router: Router) {\n this.GetStores();\n }\n\n ngOnInit() {\n }\n editStore(id) {\n this.router.navigate(['/StoreDetails'], { queryParams: { store_id: id } })\n }\n\n GetStores() {\n this.dataSrv.httpGetMethod(\"Get_Store\", \"store_id=-1\").subscribe(res => {\n //console.log(res)\n this.Stores = res;\n this.temp = res;\n }, err => {\n //console.log(err)\n })\n }\n\n UpdateActive(evt, cat) {\n //console.log(evt)\n cat.active_ = cat.active_ ? 1 : 0;\n //console.log(cat)\n this.dataSrv.httpPostMethod('Add_Edit_Category', cat).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n },\n (error) => {\n //console.log(error)\n }\n );\n }\n\n searchValueById(evt) {\n //console.log(evt)\n if (evt == null || evt == '') {\n this.Stores = this.temp;\n return\n }\n this.Stores = this.Stores.filter((element) => {\n return element.coins_number.toString().toLowerCase().includes(evt.toLowerCase()) || element.cost.toString().toLowerCase().includes(evt.toLowerCase());\n });\n // this.Categories = this.Categories\n // .map((client, i) => ({ id: i + 1, ...client }))\n // .slice(\n // (this.page - 1) * this.pageSize,\n // (this.page - 1) * this.pageSize + this.pageSize\n // );\n }\n}","import { Component, OnInit } from '@angular/core';\nimport { AngularEditorConfig } from '@kolkov/angular-editor';\nimport { DataService } from 'src/app/Services/data.service';\nimport { ToastrService } from 'ngx-toastr';\n\n@Component({\n selector: 'app-about',\n templateUrl: './about.component.html',\n styleUrls: ['./about.component.css']\n})\nexport class AboutComponent implements OnInit {\n editorConfig: AngularEditorConfig = {\n editable: true,\n spellcheck: true,\n height: '50vh',\n minHeight: '50vh',\n maxHeight: '50vh',\n width: 'auto',\n minWidth: '0',\n translate: 'yes',\n enableToolbar: true,\n showToolbar: true,\n placeholder: 'ادخل النص هنا ...',\n defaultParagraphSeparator: '',\n defaultFontName: '',\n defaultFontSize: '',\n fonts: [\n { class: 'arial', name: 'Arial' },\n { class: 'times-new-roman', name: 'Times New Roman' },\n { class: 'calibri', name: 'Calibri' },\n { class: 'comic-sans-ms', name: 'Comic Sans MS' }\n ],\n customClasses: [\n {\n name: 'quote',\n class: 'quote',\n },\n {\n name: 'redText',\n class: 'redText'\n },\n {\n name: 'titleText',\n class: 'titleText',\n tag: 'h1',\n },\n ],\n uploadUrl: 'v1/image',\n uploadWithCredentials: false,\n sanitize: true,\n toolbarPosition: 'top',\n toolbarHiddenButtons: [\n ['bold', 'italic'],\n ['fontSize']\n ]\n };\n\n about\n agreement;\n canseeStores\n showStores;\n constructor(public dataSrv: DataService, public toaster: ToastrService) {\n\n }\n\n ngOnInit() {\n this.getData()\n }\n\n onCheckboxChange() {\n this.showStores = this.canseeStores;\n\n let params = {\n showStores: this.showStores ? 1 : 0\n }\n\n this.dataSrv.httpPostMethod('App_Settings', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n console.log(temp)\n\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n\n\n }\n\n getData() {\n this.dataSrv.httpGetMethod(\"Get_About\").subscribe(res => {\n // //console.log(res)\n this.about = res[0][\"about\"];\n //console.log(\"\" + this.about)\n // this.form.get(\"about\").setValue('' + this.about + '
');\n })\n this.dataSrv.httpGetMethod(\"Get_Agreement\").subscribe(res => {\n this.agreement = res[0][\"agreement\"];\n })\n this.dataSrv.httpGetMethod(\"Get_Settings\").subscribe(res => {\n this.canseeStores = res[0][\"showStores\"] == 1 ? true : false;\n console.log(this.showStores)\n })\n }\n Save() {\n //console.log(this.about)\n let params = {\n text: this.about\n }\n this.dataSrv.httpPostMethod('Add_About', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n this.toaster.success(\"تم الحفظ بنجاح\");\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n\n }\n SaveAgreement() {\n let params = {\n text: this.agreement\n }\n this.dataSrv.httpPostMethod('Add_Agreement', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n this.toaster.success(\"تم الحفظ بنجاح\");\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n\n }\n\n}\n","export default \"\";","export default \"*{\\r\\n font-family: 'Cairo';\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvYWRkLWVkaXQtY2hhbXBpb25zaGlwL2FkZC1lZGl0LWNoYW1waW9uc2hpcC5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksb0JBQW9CO0FBQ3hCIiwiZmlsZSI6InNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvYWRkLWVkaXQtY2hhbXBpb25zaGlwL2FkZC1lZGl0LWNoYW1waW9uc2hpcC5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiKntcclxuICAgIGZvbnQtZmFtaWx5OiAnQ2Fpcm8nO1xyXG59XHJcbiJdfQ== */\";","import { Component } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { DataService } from './Services/data.service';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html',\n styleUrls: ['./app.component.css']\n})\nexport class AppComponent {\n title = 'Alkanz-Dashboard';\n Categories\n logged = false\n constructor(public router: Router, public dataSrv: DataService, public route: ActivatedRoute) {\n this.dataSrv.loadUserData();\n this.navigateCycle();\n }\n\n pageNavigation(page, param?) {\n let params = param ? param : null;\n this.router.navigate([\"/\"+page], { queryParams: params })\n }\n navigateCycle() {\n console.log(window.location.pathname)\n try{\n if (localStorage.getItem('UserData')) {\n console.log(\"dd\",localStorage.getItem('UserData'))\n this.logged = true;\n if (window.location.pathname == \"/Login\")\n this.router.navigate(['/Home'], { replaceUrl: true });\n } else {\n this.router.navigate(['/Login'], { replaceUrl: true });\n }\n }catch(ex){\n console.log(ex)\n }\n \n }\n LogOut() {\n localStorage.clear();\n window.location.reload();\n }\n}\n","export default \"*{\\r\\n font-family: 'Cairo';\\r\\n}\\r\\n\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvYWdyZWVtZW50L2FncmVlbWVudC5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksb0JBQW9CO0FBQ3hCIiwiZmlsZSI6InNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvYWdyZWVtZW50L2FncmVlbWVudC5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiKntcclxuICAgIGZvbnQtZmFtaWx5OiAnQ2Fpcm8nO1xyXG59XHJcblxyXG4iXX0= */\";","export default \"*{\\r\\n font-family: 'Cairo';\\r\\n}\\r\\n\\r\\n\\r\\n.switch {\\r\\n position: relative;\\r\\n display: inline-block;\\r\\n width: 35px;\\r\\n height: 18px;\\r\\n }\\r\\n\\r\\n\\r\\n.switch input { \\r\\n opacity: 0;\\r\\n width: 0;\\r\\n height: 0;\\r\\n }\\r\\n\\r\\n\\r\\n.slider {\\r\\n position: absolute;\\r\\n cursor: pointer;\\r\\n top: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n bottom: 0;\\r\\n background-color: #ccc;\\r\\n transition: .4s;\\r\\n }\\r\\n\\r\\n\\r\\n.slider:before {\\r\\n position: absolute;\\r\\n content: \\\"\\\";\\r\\n height: 15px;\\r\\n width: 15px;\\r\\n left: 4px;\\r\\n bottom: 1px;\\r\\n background-color: white;\\r\\n transition: .4s;\\r\\n }\\r\\n\\r\\n\\r\\ninput:checked + .slider {\\r\\n background-color: #2196F3;\\r\\n }\\r\\n\\r\\n\\r\\ninput:focus + .slider {\\r\\n box-shadow: 0 0 1px #2196F3;\\r\\n }\\r\\n\\r\\n\\r\\ninput:checked + .slider:before {\\r\\n transform: translateX(15px);\\r\\n }\\r\\n\\r\\n\\r\\n/* Rounded sliders */\\r\\n\\r\\n\\r\\n.slider.round {\\r\\n border-radius: 34px;\\r\\n }\\r\\n\\r\\n\\r\\n.slider.round:before {\\r\\n border-radius: 50%;\\r\\n }\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvcXVlc3Rpb25zL3F1ZXN0aW9ucy5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksb0JBQW9CO0FBQ3hCOzs7QUFHQTtJQUNJLGtCQUFrQjtJQUNsQixxQkFBcUI7SUFDckIsV0FBVztJQUNYLFlBQVk7RUFDZDs7O0FBRUE7SUFDRSxVQUFVO0lBQ1YsUUFBUTtJQUNSLFNBQVM7RUFDWDs7O0FBRUE7SUFDRSxrQkFBa0I7SUFDbEIsZUFBZTtJQUNmLE1BQU07SUFDTixPQUFPO0lBQ1AsUUFBUTtJQUNSLFNBQVM7SUFDVCxzQk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b246IC40cztcclxuICB9XHJcbiAgXHJcbiAgLnNsaWRlcjpiZWZvcmUge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgY29udGVudDogXCJcIjtcclxuICAgIGhlaWdodDogMTVweDtcclxuICAgIHdpZHRoOiAxNXB4O1xyXG4gICAgbGVmdDogNHB4O1xyXG4gICAgYm90dG9tOiAxcHg7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgIHRyYW5zaXRpb246IC40cztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXIge1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogIzIxOTZGMztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Zm9jdXMgKyAuc2xpZGVyIHtcclxuICAgIGJveC1zaGFkb3c6IDAgMCAxcHggIzIxOTZGMztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgIC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDE1cHgpO1xyXG4gICAgLW1zLXRyYW5zZm9ybTogdHJhbnNsYXRlWCgxNXB4KTtcclxuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgxNXB4KTtcclxuICB9XHJcbiAgXHJcbiAgLyogUm91bmRlZCBzbGlkZXJzICovXHJcbiAgLnNsaWRlci5yb3VuZCB7XHJcbiAgICBib3JkZXItcmFkaXVzOiAzNHB4O1xyXG4gIH1cclxuICBcclxuICAuc2xpZGVyLnJvdW5kOmJlZm9yZSB7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbiAgfSJdfQ== */\";","export default \"\\n
\\n
\\n \\n
\\n
\\n
\\n \\n \\n م \\n اسم البطولة \\n \\n الحالة \\n فتح التسجيل \\n غلق التسجيل \\n بدأ اللعب \\n عدد اللاعبين \\n ملاحظات \\n تعديل / حذف \\n \\n \\n \\n \\n \\n {{i+1}}\\n \\n \\n {{champ.champion_name}}\\n \\n \\n \\n لم تبدأ\\n \\n \\n بدأت\\n \\n \\n انتهت\\n \\n \\n {{champ.champion_open_date | date: 'dd/MM/yyyy hh:mm:ss'}}\\n \\n \\n {{champ.champion_close_date | date: 'dd/MM/yyyy hh:mm:ss'}}\\n \\n \\n {{champ.champion_start_date | date: 'dd/MM/yyyy hh:mm:ss'}}\\n \\n \\n {{champ.members}}\\n \\n \\n {{champ.champion_notes}}\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\";","export default \"\\n\\n
\\n
\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\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 default \"\\n
\\n
\\n \\n
\\n \\n
\\n
\\n \\n \\n م \\n عدد الكوينز \\n القيمة بالدولار \\n تعديل \\n \\n \\n \\n \\n \\n {{i+1}}\\n \\n \\n {{store.coins_number}}\\n \\n \\n {{store.cost}}\\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\";","import { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormControl } from '@angular/forms';\nimport { ActivatedRoute } from '@angular/router';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-answers-details',\n templateUrl: './answers-details.component.html',\n styleUrls: ['./answers-details.component.css']\n})\nexport class AnswersDetailsComponent implements OnInit {\n isRight\n order\n form: FormGroup = new FormGroup({\n answer_id: new FormControl(''),\n answer: new FormControl(''),\n answer_e: new FormControl(''),\n question_id: new FormControl(''),\n isRight: new FormControl(''),\n order_: new FormControl('')\n });\n Answer: any = [];\n answer_id\n question_id\n constructor(public dataSrv: DataService, public route: ActivatedRoute) {\n route.queryParams.subscribe(res => {\n this.answer_id = res[\"answer_id\"];\n this.question_id = res[\"question_id\"];\n if (this.answer_id != -1) {\n this.dataSrv.httpGetMethod(\"Get_Answer\", \"question_id=\" + this.question_id + \"&answer_id=\" + this.answer_id).subscribe(res => {\n //console.log(res)\n this.Answer = res;\n this.buildForm(this.Answer[0])\n }, err => {\n //console.log(err)\n })\n }\n })\n\n }\n\n buildForm(answer) {\n this.form = new FormGroup({\n answer_id: new FormControl(answer.answer_id),\n answer: new FormControl(answer.answer),\n answer_e: new FormControl(answer.answer_e),\n question_id: new FormControl(answer.question_id),\n isRight: new FormControl(answer.isRight),\n order_: new FormControl(answer.order_)\n });\n }\n ngOnInit() {\n\n }\n\n Save() {\n this.form.get(\"answer_id\").setValue(this.answer_id)\n //console.log(this.form.value)\n this.dataSrv.httpPostMethod('Add_Edit_Answers', this.form.value).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n },\n (error) => {\n //console.log(error)\n }\n );\n }\n\n}\n","import { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\n\nimport { AppRoutingModule } from './app-routing.module';\nimport { AppComponent } from './app.component';\nimport { LoginComponent } from './Modules/UserModule/login/login.component';\nimport { ProfileComponent } from './Modules/UserModule/profile/profile.component';\nimport { ForgotPasswordComponent } from './Modules/UserModule/forgot-password/forgot-password.component';\nimport { HomeComponent } from './Modules/Shared/home/home.component';\nimport { QuestionsComponent } from './Modules/Shared/questions/questions.component';\nimport { AnswersComponent } from './Modules/Shared/answers/answers.component';\nimport { QuestionDetailsComponent } from './Modules/Shared/question-details/question-details.component';\nimport { AnswersDetailsComponent } from './Modules/Shared/answers-details/answers-details.component';\nimport { HttpClientModule } from '@angular/common/http';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { ChampionshipsComponent } from './Modules/Shared/championships/championships.component';\nimport { EmployeesComponent } from './Modules/Shared/employees/employees.component';\nimport { UsersComponent } from './Modules/Shared/users/users.component';\nimport { AboutComponent } from './Modules/Shared/about/about.component';\nimport { AgreementComponent } from './Modules/Shared/agreement/agreement.component';\nimport { CategoriesComponent } from './Modules/Shared/categories/categories.component';\nimport { CategorieDetailsComponent } from './Modules/Shared/categorie-details/categorie-details.component';\nimport { EmpDetailsComponent } from './Modules/Shared/emp-details/emp-details.component';\nimport { UserDetailsComponent } from './Modules/Shared/user-details/user-details.component';\nimport { AngularEditorModule } from '@kolkov/angular-editor';\nimport { ToastrModule } from 'ngx-toastr';\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\nimport { StoresComponent } from './Modules/Shared/stores/stores.component';\nimport { StoreDetailsComponent } from './Modules/Shared/store-details/store-details.component';\nimport { AdsGiftsComponent } from './Modules/Shared/ads-gifts/ads-gifts.component';\nimport { ChampionshipDetailsComponent } from './Modules/Shared/championship-details/championship-details.component';\nimport { AddEditChampionshipComponent } from './Modules/Shared/add-edit-championship/add-edit-championship.component';\nimport { OwlDateTimeModule, OwlNativeDateTimeModule } from 'ng-pick-datetime';\nimport { GiftsComponent } from './Modules/Shared/gifts/gifts.component';\nimport { AdsComponent } from './Modules/Shared/ads/ads.component';\nimport { AddchampadsComponent } from './Modules/Shared/addchampads/addchampads.component';\nimport { ChampadsComponent } from './Modules/Shared/champads/champads.component';\n\n\n@NgModule({\n declarations: [\n AppComponent,\n LoginComponent,\n ProfileComponent,\n ForgotPasswordComponent,\n ChampionshipsComponent,\n HomeComponent,\n QuestionDetailsComponent,\n QuestionsComponent,\n AnswersComponent,\n AnswersDetailsComponent,\n EmployeesComponent,\n UsersComponent,\n AboutComponent,\n AgreementComponent,\n CategoriesComponent,\n CategorieDetailsComponent,\n EmpDetailsComponent,\n UserDetailsComponent,\n StoresComponent,\n StoreDetailsComponent,\n AdsGiftsComponent,\n ChampionshipDetailsComponent,\n AddEditChampionshipComponent,\n GiftsComponent,\n AdsComponent,\n ChampadsComponent,\n AddchampadsComponent\n ],\n imports: [\n OwlDateTimeModule,\n OwlNativeDateTimeModule,\n BrowserAnimationsModule,\n BrowserModule,\n AppRoutingModule,\n NgbModule,\n HttpClientModule,\n ReactiveFormsModule,\n FormsModule,\n AngularEditorModule,\n ToastrModule.forRoot({\n timeOut: 10000,\n positionClass: 'toast-buttom-left',\n preventDuplicates: true,\n }),\n ],\n providers: [],\n bootstrap: [AppComponent]\n})\nexport class AppModule { }\n","export default \"\";","import { Component, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { DataService } from 'src/app/Services/data.service';\nimport { environment } from 'src/environments/environment';\n\n@Component({\n selector: 'app-champads',\n templateUrl: './champads.component.html',\n styleUrls: ['./champads.component.css']\n})\nexport class ChampadsComponent implements OnInit {\n Ads: any = [];\n img_url = environment.images_url;\n constructor(public dataSrv: DataService, public router: Router) {\n\n }\n\n ngOnInit(): void {\n this.getData();\n }\n getData() {\n this.dataSrv.httpGetMethod(\"Get_ChampAds\", \"ad_id=-1\").subscribe(res => {\n //console.log(res)\n this.Ads = res;\n //console.log(this.Ads)\n })\n }\n UpdateActive(evt, ad) {\n //console.log(evt)\n //console.log(ad)\n ad.active_ = ad.active_ ? 1 : 0;\n ad.ad_skip = ad.ad_skip == null ? 0 : ad.ad_skip;\n //console.log(ad)\n this.dataSrv.httpPostMethod('Add_Edit_ChampAd', ad).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n },\n (error) => {\n //console.log(error)\n }\n );\n }\n UpdateSkip(evt, ad) {\n //console.log(evt)\n //console.log(ad)\n ad.ad_skip = ad.ad_skip ? 1 : 0;\n //console.log(ad)\n this.dataSrv.httpPostMethod('Add_Edit_ChampAd', ad).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n },\n (error) => {\n //console.log(error)\n }\n );\n }\n\n EditAd(ad) {\n //console.log(ad)\n this.router.navigate([\"/AddChampAds\"], { queryParams: { ad_id: ad.ad_id } })\n }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-answers',\n templateUrl: './answers.component.html',\n styleUrls: ['./answers.component.css']\n})\nexport class AnswersComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit() {\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormControl, Validators } from '@angular/forms';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-user-details',\n templateUrl: './user-details.component.html',\n styleUrls: ['./user-details.component.css']\n})\nexport class UserDetailsComponent implements OnInit {\n\n form = new FormGroup({\n user_id: new FormControl(-1),\n full_name: new FormControl('', Validators.required),\n user_email: new FormControl('', Validators.required),\n user_name: new FormControl('', Validators.required),\n user_password: new FormControl('', [Validators.required, Validators.minLength(6)]),\n user_phone: new FormControl('', Validators.required),\n user_address: new FormControl('', Validators.required),\n national_id: new FormControl('', Validators.required),\n user_gender: new FormControl('', Validators.required),\n user_avatar: new FormControl(''),\n user_score: new FormControl(0),\n user_coins: new FormControl(50),\n active_: new FormControl(1),\n\n });\n\n user_id\n Users: any = [];\n user_gender\n constructor(\n public router: Router,\n public dataSrv: DataService,\n public route: ActivatedRoute,\n public toaster: ToastrService\n ) {\n route.queryParams.subscribe(res => {\n this.user_id = res[\"user_id\"];\n this.GetEmps();\n })\n }\n\n ngOnInit() {\n }\n\n GetEmps() {\n this.dataSrv.httpGetMethod(\"Get_User\", \"user_id=\" + this.user_id).subscribe(res => {\n //console.log(res)\n this.Users = res;\n if (this.user_id != -1)\n this.buildForm(this.Users[0])\n }, err => {\n //console.log(err)\n })\n }\n buildForm(user) {\n this.form = new FormGroup({\n user_id: new FormControl(user.user_id),\n full_name: new FormControl(user.full_name, Validators.required),\n user_email: new FormControl(user.user_email, Validators.required),\n user_name: new FormControl(user.user_name, Validators.required),\n user_password: new FormControl(user.user_password, [Validators.required, Validators.minLength(6)]),\n user_phone: new FormControl(user.user_phone, Validators.required),\n user_address: new FormControl(user.user_address, Validators.required),\n national_id: new FormControl(user.national_id, Validators.required),\n user_gender: new FormControl(user.user_gender, Validators.required),\n user_avatar: new FormControl(user.user_avatar),\n user_score: new FormControl(user.user_score),\n user_coins: new FormControl(user.user_coins),\n active_: new FormControl(1)\n });\n }\n reset() {\n this.form = new FormGroup({\n user_id: new FormControl(-1),\n full_name: new FormControl('', Validators.required),\n user_email: new FormControl('', Validators.required),\n user_name: new FormControl('', Validators.required),\n user_password: new FormControl('', [Validators.required, Validators.minLength(6)]),\n user_phone: new FormControl('', Validators.required),\n user_address: new FormControl('', Validators.required),\n national_id: new FormControl('', Validators.required),\n user_gender: new FormControl('', Validators.required),\n user_avatar: new FormControl(''),\n user_score: new FormControl(0),\n user_coins: new FormControl(50),\n active_: new FormControl(1)\n });\n }\n Save() {\n if (this.form.get(\"user_password\").invalid) {\n this.toaster.error(\"كلمة المرور يجب ان تكون 6 احرف على الاقل\");\n return;\n }\n\n //console.log(this.form.value)\n let params = this.form.value;\n\n this.dataSrv.httpPostMethod('Reg_Edit_User', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n if (temp && temp.length > 0) {\n if (temp[0][\"user_email\"] && this.user_id == -1) {\n this.toaster.error(\"هذا البريد موجود بالفعل\");\n } else if (temp[0][\"user_id\"]) {\n this.toaster.success(\"تم الحفظ بنجاح\");\n if (this.user_id == -1) {\n this.reset();\n }\n }\n }\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { AngularEditorConfig } from '@kolkov/angular-editor';\nimport { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-agreement',\n templateUrl: './agreement.component.html',\n styleUrls: ['./agreement.component.css']\n})\nexport class AgreementComponent implements OnInit {\n editorConfig: AngularEditorConfig = {\n editable: true,\n spellcheck: true,\n height: 'auto',\n minHeight: '50vh',\n maxHeight: '50vh',\n width: 'auto',\n minWidth: '0',\n translate: 'yes',\n enableToolbar: true,\n showToolbar: true,\n placeholder: 'ادخل النص هنا ...',\n defaultParagraphSeparator: '',\n defaultFontName: '',\n defaultFontSize: '',\n fonts: [\n { class: 'arial', name: 'Arial' },\n { class: 'times-new-roman', name: 'Times New Roman' },\n { class: 'calibri', name: 'Calibri' },\n { class: 'comic-sans-ms', name: 'Comic Sans MS' }\n ],\n customClasses: [\n {\n name: 'quote',\n class: 'quote',\n },\n {\n name: 'redText',\n class: 'redText'\n },\n {\n name: 'titleText',\n class: 'titleText',\n tag: 'h1',\n },\n ],\n uploadUrl: 'v1/image',\n uploadWithCredentials: false,\n sanitize: true,\n toolbarPosition: 'top',\n toolbarHiddenButtons: [\n ['bold', 'italic'],\n ['fontSize']\n ]\n };\n\n htmlContent\n constructor(public dataSrv: DataService, public toaster: ToastrService) {\n this.getData()\n }\n\n ngOnInit() {\n }\n\n getData() {\n this.dataSrv.httpGetMethod(\"Get_Agreement\").subscribe(res => {\n this.htmlContent = res[\"agreement\"]\n })\n }\n Save() {\n let params = {\n text: this.htmlContent\n }\n this.dataSrv.httpPostMethod('Add_Agreement', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n this.toaster.success(\"تم الحفظ بنجاح\");\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n\n }\n\n}\n","import { Location } from '@angular/common';\nimport { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormControl } from '@angular/forms';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\n\n\n@Component({\n selector: 'app-add-edit-championship',\n templateUrl: './add-edit-championship.component.html',\n styleUrls: ['./add-edit-championship.component.css']\n})\nexport class AddEditChampionshipComponent implements OnInit {\n constructor(\n public router: Router,\n public dataSrv: DataService,\n public route: ActivatedRoute,\n public toaster: ToastrService,\n public location: Location\n ) {\n route.queryParams.subscribe(res => {\n this.champion_id = res[\"champion_id\"];\n this.type = res[\"type\"];\n if (this.champion_id)\n this.GetChampionship();\n })\n }\n champion_id\n Championship: any = [];\n type = null\n form = new FormGroup({\n champion_id: new FormControl(-1),\n champion_name: new FormControl(''),\n champion_open_date: new FormControl(''),\n champion_close_date: new FormControl(''),\n champion_start_date: new FormControl(''),\n champion_notes: new FormControl(''),\n champion_type: new FormControl(this.type),\n statues_: new FormControl(1)\n });\n\n\n ngOnInit() {\n }\n\n GetChampionship() {\n this.dataSrv.httpGetMethod(\"Get_ChampionShip\", \"champion_id=\" + this.champion_id + \"&status=-1&type=-1\").subscribe(res => {\n //console.log(res)\n this.Championship = res;\n if (this.champion_id != -1)\n this.buildForm(this.Championship[0])\n }, err => {\n //console.log(err)\n })\n }\n buildForm(champion) {\n this.form = new FormGroup({\n champion_id: new FormControl(champion.champion_id),\n champion_name: new FormControl(champion.champion_name),\n champion_open_date: new FormControl(champion.champion_open_date),\n champion_close_date: new FormControl(champion.champion_close_date),\n champion_start_date: new FormControl(champion.champion_start_date),\n champion_notes: new FormControl(champion.champion_notes),\n champion_type: new FormControl(this.type),\n statues_: new FormControl(champion.statues_)\n });\n }\n reset() {\n this.form = new FormGroup({\n champion_id: new FormControl(-1),\n champion_name: new FormControl(''),\n champion_open_date: new FormControl(''),\n champion_close_date: new FormControl(''),\n champion_start_date: new FormControl(''),\n champion_notes: new FormControl(''),\n champion_type: new FormControl(this.type),\n statues_: new FormControl(1)\n });\n }\n Save() {\n this.form.get(\"champion_type\").setValue(this.type)\n //console.log(this.form.value)\n let params = this.form.value;\n this.dataSrv.httpPostMethod('Add_Edit_Championship', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n this.toaster.success(\"تم الحفظ بنجاح\");\n //console.log(temp)\n if (this.champion_id == -1) {\n this.reset();\n }\n else {\n this.location.back();\n }\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n\n //console.log(error)\n }\n );\n\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-users',\n templateUrl: './users.component.html',\n styleUrls: ['./users.component.css']\n})\nexport class UsersComponent implements OnInit {\n user_id\n Users: any = [];\n temp : any = []\n constructor(\n public router: Router,\n public dataSrv: DataService,\n public route: ActivatedRoute\n ) {\n route.queryParams.subscribe(res => {\n this.user_id = res[\"user_id\"];\n this.GetUsers();\n })\n }\n\n ngOnInit() {\n }\n\n GetUsers() {\n this.dataSrv.httpGetMethod(\"Get_User\", \"user_id=\" + this.user_id).subscribe(res => {\n //console.log(res)\n this.Users = res;\n this.temp = res\n }, err => {\n //console.log(err)\n })\n }\n\n EditUser(user_id) {\n this.router.navigate([\"/UserDetails\"], { queryParams: { user_id: user_id } })\n }\n\n searchValueById(evt) {\n //console.log(evt)\n if (evt == null || evt == '') {\n this.Users = this.temp;\n return\n }\n this.Users = this.Users.filter((element) => {\n return element.full_name.toLowerCase().includes(evt.toLowerCase());\n });\n // this.Categories = this.Categories\n // .map((client, i) => ({ id: i + 1, ...client }))\n // .slice(\n // (this.page - 1) * this.pageSize,\n // (this.page - 1) * this.pageSize + this.pageSize\n // );\n }\n\n}","export default \"profile works!
\\n\";","import { Location } from '@angular/common';\nimport { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormControl, Validators } from '@angular/forms';\nimport { ActivatedRoute } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\nimport Swal from 'sweetalert2';\n\n@Component({\n selector: 'app-categorie-details',\n templateUrl: './categorie-details.component.html',\n styleUrls: ['./categorie-details.component.css']\n})\nexport class CategorieDetailsComponent implements OnInit {\n form: FormGroup = new FormGroup({\n category_id: new FormControl('', Validators.required),\n category_name: new FormControl('', Validators.required),\n category_name_e: new FormControl('', Validators.required),\n active_: new FormControl(1, Validators.required)\n });\n Categories: any = [];\n Categories2: any = [];\n\n cat_id\n constructor(public route: ActivatedRoute, public dataSrv: DataService,\n private toaster: ToastrService, public location: Location\n ) {\n route.queryParams.subscribe(res => {\n this.getCat();\n this.cat_id = res[\"cat_id\"];\n this.dataSrv.httpGetMethod(\"Get_Categories\", \"cat_id=\" + this.cat_id).subscribe(res => {\n //console.log(res)\n this.Categories = res;\n this.Categories2 = res;\n\n if (this.cat_id != -1) {\n this.buildForm(this.Categories[0])\n }\n }, err => {\n //console.log(err)\n })\n })\n }\n buildForm(category) {\n this.form = new FormGroup({\n category_id: new FormControl(this.cat_id, Validators.required),\n category_name: new FormControl(category.category_name, Validators.required),\n category_name_e: new FormControl('', Validators.required),\n active_: new FormControl(category.active_, Validators.required)\n });\n }\n ngOnInit() {\n }\n\n Save() {\n this.form.get(\"category_id\").setValue(this.cat_id)\n this.form.get(\"active_\").setValue(1)\n //console.log(this.form.value)\n let params = this.form.value;\n if (this.cat_id == -1 && this.Categories2 && this.Categories2.length >= 5) {\n Swal.fire({\n title: 'عفوا',\n text: 'عدد الاقسام لا يمكن ان يتجاوز 5 اقسام',\n icon: 'warning',\n showCancelButton: false,\n confirmButtonText: 'تأكيد',\n cancelButtonText: 'الغاء',\n }).then((result) => {\n\n if (result.isConfirmed) {\n\n }\n })\n return;\n }\n this.dataSrv.httpPostMethod('Add_Edit_Category', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n this.toaster.success(\"تم الحفظ بنجاح\")\n if (this.cat_id == -1) {\n this.form.reset();\n this.getCat();\n } else {\n this.location.back();\n }\n this.getCat();\n\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n\n }\n\n getCat() {\n this.dataSrv.httpGetMethod(\"Get_Categories\", \"cat_id=-1\").subscribe(res => {\n //console.log(res)\n this.Categories2 = res;\n }, err => {\n //console.log(err)\n })\n }\n\n}\n","import { Component, OnInit } from '@angular/core';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-home',\n templateUrl: './home.component.html',\n styleUrls: ['./home.component.css']\n})\nexport class HomeComponent implements OnInit {\n data = {\n Categories:null,\n Questions:null,\n Users:null\n }\n constructor(public dataSrv: DataService) { }\n\n ngOnInit() {\n this.dataSrv.httpGetMethod(\"Dash_Numbers\").subscribe(res => {\n this.data = res[0];\n //console.log(this.data)\n })\n }\n\n}\n","export default \"\\n
\\n
\\n \\n
\\n
\\n
\\n \\n \\n م \\n اسم المستخدم \\n الجوال \\n البريد \\n الرقم القومى \\n تعديل \\n \\n \\n \\n \\n \\n {{i+1}}\\n \\n \\n {{user.full_name}}\\n \\n \\n {{user.user_phone}}\\n \\n \\n {{user.user_email}}\\n \\n \\n {{user.national_id}}\\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\";","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvU2hhcmVkL2NhdGVnb3JpZS1kZXRhaWxzL2NhdGVnb3JpZS1kZXRhaWxzLmNvbXBvbmVudC5jc3MifQ== */\";","export default \"\";","import { Component, OnInit } from '@angular/core';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { DataService } from 'src/app/Services/data.service';\n\n@Component({\n selector: 'app-employees',\n templateUrl: './employees.component.html',\n styleUrls: ['./employees.component.css']\n})\nexport class EmployeesComponent implements OnInit {\n\n emp_id\n Employees: any = [];\n temp: any = [];\n\n constructor(\n public router: Router,\n public dataSrv: DataService,\n public route: ActivatedRoute\n ) {\n route.queryParams.subscribe(res => {\n this.emp_id = res[\"emp_id\"];\n this.GetEmps();\n })\n }\n\n ngOnInit() {\n }\n\n GetEmps() {\n this.dataSrv.httpGetMethod(\"Get_Employee\", \"emp_id=\" + this.emp_id).subscribe(res => {\n //console.log(res)\n this.Employees = res;\n this.temp = res;\n }, err => {\n //console.log(err)\n })\n }\n\n EditEmp(emp_id) {\n this.router.navigate([\"/EmpDetails\"], { queryParams: { emp_id: emp_id } })\n }\n\n\n searchValueById(evt) {\n //console.log(evt)\n if (evt == null || evt == '') {\n this.Employees = this.temp;\n return\n }\n this.Employees = this.Employees.filter((element) => {\n return element.full_name.toLowerCase().includes(evt.toLowerCase());\n });\n // this.Categories = this.Categories\n // .map((client, i) => ({ id: i + 1, ...client }))\n // .slice(\n // (this.page - 1) * this.pageSize,\n // (this.page - 1) * this.pageSize + this.pageSize\n // );\n }\n}\n","export default \"\\n
\\n
\\n \\n
\\n
\\n إظهار المتجر فى التطبيق؟ \\n \\n
\\n \\n
\\n
\\n
\\n\\n
\\n\\n\\n\";","import { Component, OnInit } from '@angular/core';\nimport { DataService } from 'src/app/Services/data.service';\nimport { environment } from 'src/environments/environment';\n\n@Component({\n selector: 'app-ads',\n templateUrl: './ads.component.html',\n styleUrls: ['./ads.component.css']\n})\nexport class AdsComponent implements OnInit {\n Ads: any = [];\n img_url = environment.images_url;\n constructor(public dataSrv: DataService) {\n\n }\n\n ngOnInit(): void {\n this.getData();\n }\n getData() {\n this.dataSrv.httpGetMethod(\"Get_Ads\").subscribe(res => {\n //console.log(res)\n this.Ads = res;\n //console.log(this.Ads)\n })\n }\n UpdateActive(evt, ad) {\n //console.log(evt)\n //console.log(ad)\n\n ad.active_ = ad.active_ ? 1 : 0;\n //console.log(ad)\n this.dataSrv.httpPostMethod('Add_Edit_Ad', ad).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n },\n (error) => {\n //console.log(error)\n }\n );\n }\n}\n","export default \"ملخص الاقسام والاسئلة والمسجلين فى التطبيق\\n\";","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvVXNlck1vZHVsZS9wcm9maWxlL3Byb2ZpbGUuY29tcG9uZW50LmNzcyJ9 */\";","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { ToastrService } from 'ngx-toastr';\nimport { DataService } from 'src/app/Services/data.service';\nimport { environment } from 'src/environments/environment';\n\n@Component({\n selector: 'app-ads-gifts',\n templateUrl: './ads-gifts.component.html',\n styleUrls: ['./ads-gifts.component.css']\n})\nexport class AdsGiftsComponent implements OnInit {\n fileURI = null;\n ad_img_file = null;\n ad_img_name\n gift_img_file = null;\n gift_img_name\n ad_file: any\n gift_file: any;\n type = 1;\n constructor(public toaster: ToastrService, public dataSrv: DataService, public route: ActivatedRoute) {\n this.route.queryParams.subscribe(res => {\n this.type = res[\"type\"];\n })\n //this.getData();\n }\n\n ngOnInit(): void {\n }\n\n reset() {\n this.fileURI = null;\n this.ad_img_file = null;\n this.ad_img_name = null;\n this.gift_img_file = null;\n this.gift_img_name = null;\n this.ad_file = null;\n this.gift_file = null;\n }\n\n getData() {\n this.dataSrv.httpGetMethod(\"Get_Ads\").subscribe(res => {\n //console.log(res)\n this.ad_img_name = res[0][\"ad_img\"] && res[0][\"ad_img\"] != null && res[0][\"ad_img\"] != '' ? environment.images_url + res[0][\"ad_img\"] : null;\n //console.log(this.ad_img_name)\n })\n this.dataSrv.httpGetMethod(\"Get_Gift\").subscribe(res => {\n //console.log(res)\n this.gift_img_name = res[0][\"gift_img\"] && res[0][\"gift_img\"] != null && res[0][\"gift_img\"] != '' ? environment.images_url + res[0][\"gift_img\"] : null\n //console.log(this.gift_img_name)\n })\n }\n SaveAd(title) {\n let params = {\n ad_id: -1,\n title: title,\n ad_img: this.ad_img_name,\n active_: 1\n }\n this.dataSrv.httpPostMethod('Add_Edit_Ad', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n this.onUpload(this.ad_img_file, this.ad_img_name);\n this.toaster.success(\"تم الحفظ بنجاح\");\n this.reset();\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n }\n SaveGift() {\n let params = {\n gift_id: -1,\n gift_img: this.gift_img_name,\n active_: 1\n }\n this.dataSrv.httpPostMethod('Add_Edit_Gift', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n this.onUpload(this.gift_img_file, this.gift_img_name);\n this.toaster.success(\"تم الحفظ بنجاح\");\n this.reset();\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n }\n\n\n\n async onFileChanged(event, type) {\n let date = new Date().getTime();\n if (type == 1) {\n this.ad_img_file = event.target.files[0];\n //console.log(this.ad_img_file)\n const reader = new FileReader();\n reader.readAsDataURL(this.ad_img_file);\n reader.onloadend = (e) => {\n this.ad_file = reader.result;\n }\n this.ad_img_name = \"Ad_\" + date + \".jpg\";\n } else {\n this.gift_img_file = event.target.files[0];\n const reader = new FileReader();\n reader.readAsDataURL(this.gift_img_file);\n reader.onloadend = (e) => {\n this.gift_file = reader.result;\n }\n this.gift_img_name = \"Gift_\" + date + \".jpg\";\n }\n }\n\n onUpload(file, name) {\n let options = {\n fileKey: 'file',\n file: file,\n fileName: name,\n chunkedMode: false,\n httpMethod: 'post',\n mimeType: \"image/jpeg\",\n headers: {}\n }\n const uploadData = new FormData();\n uploadData.append('file', file, name);\n this.dataSrv.uploadImg(\"upload_file\", uploadData).subscribe(\n response => {\n this.toaster.success(\"تم الحفظ بنجاح\")\n },\n (err) => {\n this.toaster.error(\"لم يتم الحفظ\")\n }\n );\n\n }\n\n}\n","export default \"\\n\\n\\n\\n\\n 0\\\">\\n
\\n
\\n
\\n
\\n
\\n \\n \\n م \\n الاجابة \\n \\n الاجابة الصحيحة \\n ترتيب الظهور \\n حذف \\n تعديل \\n\\n \\n \\n \\n \\n \\n {{i+1}}\\n \\n \\n {{ans.answer}}\\n \\n \\n \\n صح\\n \\n \\n خطأ\\n \\n \\n {{ans.order_}}\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\";","export default \"\\n
\\n
\\n \\n
\\n
\\n
\\n \\n \\n م \\n اسم البطولة \\n \\n الحالة \\n فتح التسجيل \\n غلق التسجيل \\n بدأ اللعب \\n عدد اللاعبين \\n ملاحظات \\n \\n \\n \\n \\n \\n \\n {{i+1}}\\n \\n \\n {{champ.champion_name}}\\n \\n \\n \\n لم تبدأ\\n \\n \\n بدأت\\n \\n \\n انتهت\\n \\n \\n {{champ.champion_open_date | date: 'dd/MM/yyyy hh:mm:ss'}}\\n \\n \\n {{champ.champion_close_date | date: 'dd/MM/yyyy hh:mm:ss'}}\\n \\n \\n {{champ.champion_start_date | date: 'dd/MM/yyyy hh:mm:ss'}}\\n \\n \\n {{champ.members}}\\n \\n \\n {{champ.champion_notes}}\\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\\n\\n 0\\\">\\n
\\n
\\n \\n
\\n
\\n
\\n \\n \\n م \\n اسم المستخدم \\n الجوال \\n البريد \\n الرقم القومى \\n تعديل \\n \\n \\n \\n \\n \\n {{i+1}}\\n \\n \\n {{user.full_name}}\\n \\n \\n {{user.user_phone}}\\n \\n \\n {{user.user_email}}\\n \\n \\n {{user.national_id}}\\n \\n \\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\\n\\n\\n 0\\\">\\n
\\n
\\n \\n
\\n
\\n
\\n \\n \\n م \\n اسم المستخدم \\n الجوال \\n البريد \\n الرقم القومى \\n الترتيب \\n تعديل \\n \\n \\n \\n \\n \\n {{i+1}}\\n \\n \\n {{user.full_name}}\\n \\n \\n {{user.user_phone}}\\n \\n \\n {{user.user_email}}\\n \\n \\n {{user.national_id}}\\n \\n \\n الاول\\n \\n \\n الثانى\\n \\n \\n الثالث\\n \\n \\n \\n \\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\";","import { Component, OnInit } from '@angular/core';\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { DataService } from 'src/app/Services/data.service';\nimport { ToastrService } from 'ngx-toastr';\nimport Swal from 'sweetalert2';\nimport { Location } from '@angular/common';\n\n@Component({\n selector: 'app-question-details',\n templateUrl: './question-details.component.html',\n styleUrls: ['./question-details.component.css']\n})\nexport class QuestionDetailsComponent implements OnInit {\n selectedCategory\n showedQuestions = [0];\n isRight\n order\n form2: FormGroup = new FormGroup({\n answer_id: new FormControl(-1),\n answer: new FormControl('', Validators.required),\n answer_e: new FormControl(''),\n question_id: new FormControl(''),\n isRight: new FormControl(''),\n order_: new FormControl('', Validators.required)\n });\n Categories\n question_id = -1;\n Question: any = []\n active = true;\n Answers: any = []\n form: FormGroup = new FormGroup({\n question_id: new FormControl(this.question_id, Validators.required),\n question: new FormControl('', Validators.required),\n question_e: new FormControl(''),\n category_id: new FormControl('', Validators.required),\n active_: new FormControl(true, Validators.required)\n });\n constructor(public dataSrv: DataService, public route: ActivatedRoute, public router: Router,\n public toaster: ToastrService, public location: Location\n\n ) {\n this.getData();\n }\n\n GetAnswers() {\n this.dataSrv.httpGetMethod(\"Get_Answer\", \"question_id=\" + this.question_id + \"&answer_id=-1\").subscribe(res => {\n //console.log(res)\n this.Answers = res;\n }, err => {\n //console.log(err)\n })\n }\n\n addAnswers() {\n\n this.form2.get(\"answer_id\").setValue(this.form2.get(\"answer_id\").value ? this.form2.get(\"answer_id\").value : -1);\n this.form2.get(\"isRight\").setValue(this.isRight ? 1 : 0);\n this.form2.get(\"question_id\").setValue(this.question_id == -1 ? null : this.question_id);\n this.Answers.push(this.form2.value);\n this.form2.reset();\n }\n\n seeOrder() {\n let notvalid = false;\n let row = [];\n row = this.Answers.filter(item => item.order_ == 1);\n if (row.length > 1)\n notvalid = true;\n row = this.Answers.filter(item => item.order_ == 2);\n if (row.length > 1)\n notvalid = true;\n row = this.Answers.filter(item => item.order_ == 3);\n if (row.length > 1)\n notvalid = true;\n row = this.Answers.filter(item => item.order_ == 4);\n if (row.length > 1)\n notvalid = true;\n return notvalid;\n }\n seeRightAnswer() {\n let notvalid = false;\n let row = [];\n row = this.Answers.filter(item => item.isRight == 1);\n if (row.length != 1)\n notvalid = true;\n return notvalid;\n }\n\n\n RightAnswer(evt) {\n this.form2.get(\"isRight\").setValue(this.isRight ? 1 : 0);\n //console.log(this.form2.value)\n }\n buildForm(question) {\n this.form = new FormGroup({\n question_id: new FormControl(question.question_id),\n question: new FormControl(question.question),\n question_e: new FormControl(question.question_e),\n category_id: new FormControl(question.category_id),\n active_: new FormControl(question.active_)\n });\n }\n rowForEdit = []\n EditAnswer(answer) {\n if (this.form2.valid) {\n Swal.fire({\n title: 'تحذير',\n text: 'يجب حفظ التعديل اولا',\n icon: 'warning',\n showCancelButton: true,\n confirmButtonText: 'حفظ التعديل',\n cancelButtonText: 'اهمال',\n }).then((result) => {\n if (result.isConfirmed) {\n this.addAnswers();\n this.form2.reset();\n this.rowForEdit = this.Answers.filter(item => item.answer === answer.answer);\n this.Answers = this.Answers.filter(item => item.answer !== answer.answer);\n this.buildAnswerForm(answer)\n } else if (result.isDismissed) {\n this.buildAnswerForm(this.rowForEdit[0])\n this.addAnswers();\n this.rowForEdit = this.Answers.filter(item => item.answer === answer.answer);\n this.Answers = this.Answers.filter(item => item.answer !== answer.answer);\n this.buildAnswerForm(answer)\n //console.log('Clicked No, File is safe!');\n }\n })\n } else {\n this.rowForEdit = this.Answers.filter(item => item.answer === answer.answer);\n this.Answers = this.Answers.filter(item => item.answer !== answer.answer);\n this.buildAnswerForm(answer)\n }\n }\n\n buildAnswerForm(answer) {\n //console.log(answer)\n this.isRight = answer.isRight == 1 ? true : false;\n this.order = answer.order_\n this.form2 = new FormGroup({\n answer_id: new FormControl(answer.answer_id),\n answer: new FormControl(answer.answer, Validators.required),\n answer_e: new FormControl(answer.answer_e),\n question_id: new FormControl(answer.question_id),\n isRight: new FormControl(this.isRight),\n order_: new FormControl(this.order, Validators.required)\n });\n }\n getData() {\n this.route.queryParams.subscribe(res => {\n this.question_id = res[\"question_id\"];\n this.dataSrv.httpGetMethod(\"Get_Categories\", \"cat_id=\" + res[\"cat_id\"]).subscribe(res => {\n //console.log(res)\n this.Categories = res;\n this.GetAnswers();\n }, err => {\n //console.log(err)\n })\n if (this.question_id != -1) {\n this.dataSrv.httpGetMethod(\"Get_Question\", \"question_id=\" + this.question_id + \"&category_id=-1\" + \"&selected_questions=\" + this.showedQuestions).subscribe(res => {\n //console.log(res)\n this.Question = res;\n this.buildForm(this.Question[0]);\n }, err => {\n //console.log(err)\n })\n }\n })\n }\n ngOnInit() {\n\n }\n\n Save() {\n if (this.seeOrder()) {\n Swal.fire({\n title: 'خطأ',\n text: 'من فضلك قم بتغيير ترتيب الاجابات بحيث كل اجابة تاخذ ترتيب مختلف ',\n icon: 'warning',\n showCancelButton: false,\n confirmButtonText: 'تم'\n })\n } else if (this.seeRightAnswer()) {\n Swal.fire({\n title: 'خطأ',\n text: 'من فضلك حدد اجابة واحدة صحيحة',\n icon: 'warning',\n showCancelButton: false,\n confirmButtonText: 'تم'\n })\n } else {\n this.form.get(\"question_id\").setValue(this.question_id)\n //console.log(this.form.value)\n let params = this.form.value;\n params[\"Answers\"] = this.Answers;\n this.dataSrv.httpPostMethod('Add_Edit_Question', params).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n this.toaster.success(\"تم الحفظ بنجاح\");\n if (this.question_id == -1) {\n this.reset();\n } else {\n this.location.back();\n }\n },\n (error) => {\n this.toaster.error(\"لم يتم الحفظ\");\n //console.log(error)\n }\n );\n }\n }\n\n reset() {\n this.form = new FormGroup({\n question_id: new FormControl(this.question_id, Validators.required),\n question: new FormControl('', Validators.required),\n question_e: new FormControl(''),\n category_id: new FormControl('', Validators.required),\n active_: new FormControl(true, Validators.required)\n });\n this.form2 = new FormGroup({\n answer_id: new FormControl(-1),\n answer: new FormControl('', Validators.required),\n answer_e: new FormControl(''),\n question_id: new FormControl(''),\n isRight: new FormControl(''),\n order_: new FormControl('', Validators.required)\n });\n this.Answers = [];\n }\n\n deleteAnswer(answer) {\n //console.log(answer)\n Swal.fire({\n title: 'حذف',\n text: 'هل تريد حذف هذه الاجابة ؟',\n icon: 'warning',\n showCancelButton: true,\n confirmButtonText: 'تأكيد',\n cancelButtonText: 'الغاء',\n }).then((result) => {\n\n if (result.isConfirmed) {\n if (answer.answer_id != -1) {\n let qry = \"delete from Answers where answer_id =\" + answer.answer_id\n this.dataSrv.httpGetMethod(\"excuteQuery\", \"query=\" + qry).subscribe(res => {\n //console.log(\"Delete Answers: \", res)\n this.toaster.success(\"تم الحذف بنجاح\");\n this.GetAnswers();\n }, err => {\n this.toaster.error(\"لم يتم الحذف\");\n\n //console.log(err)\n })\n } else {\n this.Answers = this.Answers.filter(item => item.answer !== answer.answer);\n }\n } else if (result.isDismissed) {\n //console.log('Clicked No, File is safe!');\n }\n })\n\n }\n\n\n}\n","export default \".modal {\\r\\n background: #f9f8f8;\\r\\n width: 50%;\\r\\n margin-left: 25%;\\r\\n margin-right: 25%;\\r\\n margin-top: 5%;\\r\\n}\\r\\n\\r\\n.isRight {\\r\\n background-color: #a9feff !important;\\r\\n}\\r\\n\\r\\n.switch {\\r\\n position: relative;\\r\\n display: inline-block;\\r\\n width: 60px;\\r\\n height: 34px;\\r\\n}\\r\\n\\r\\n.switch input {\\r\\n opacity: 0;\\r\\n width: 0;\\r\\n height: 0;\\r\\n}\\r\\n\\r\\n.slider {\\r\\n position: absolute;\\r\\n cursor: pointer;\\r\\n top: 0;\\r\\n left: 0;\\r\\n right: 0;\\r\\n bottom: 0;\\r\\n background-color: #ccc;\\r\\n transition: 0.4s;\\r\\n}\\r\\n\\r\\n.slider:before {\\r\\n position: absolute;\\r\\n content: \\\"\\\";\\r\\n height: 26px;\\r\\n width: 26px;\\r\\n left: 4px;\\r\\n bottom: 4px;\\r\\n background-color: white;\\r\\n transition: 0.4s;\\r\\n}\\r\\n\\r\\ninput:checked + .slider {\\r\\n background-color: #2196f3;\\r\\n}\\r\\n\\r\\ninput:focus + .slider {\\r\\n box-shadow: 0 0 1px #2196f3;\\r\\n}\\r\\n\\r\\ninput:checked + .slider:before {\\r\\n transform: translateX(26px);\\r\\n}\\r\\n\\r\\n/* Rounded sliders */\\r\\n\\r\\n.slider.round {\\r\\n border-radius: 34px;\\r\\n}\\r\\n\\r\\n.slider.round:before {\\r\\n border-radius: 50%;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvcXVlc3Rpb24tZGV0YWlscy9xdWVzdGlvbi1kZXRhaWxzLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxtQkFBbUI7RUFDbkIsVUFBVTtFQUNWLGdCQUFnQjtFQUNoQixpQkFBaUI7RUFDakIsY0FBYztBQUNoQjs7QUFFQTtFQUNFLG9DQUFvQztBQUN0Qzs7QUFFQTtFQUNFLGtCQUFrQjtFQUNsQixxQkFBcUI7RUFDckIsV0FBVztFQUNYLFlBQVk7QUFDZDs7QUFFQTtFQUNFLFVBQVU7RUFDVixRQUFRO0VBQ1IsU0FBUztBQUNYOztBQUVBO0VBQ0Usa0JBQWtCO0VBQ2xCLGVBQWU7RUFDZixNQUFNO0VBQ04sT0FBTztFQUNQLFFBQVE7RUFDUixTQUFTO0VBQ1Qsc0JBQXNCO0VBRXRCLGdCQUFnQjtBQUNsQjs7QUFFQTtFQUNFLGtCQUFrQjtFQUNsQixXQUFXO0VBQ1gsWUFBWTtFQUNaLFdBQVc7RUFDWCxTQUFTO0VBQ1QsV0FBVztFQUNYLHVCQUF1QjtFQUV2QixnQkFBZ0I7QUFDbEI7O0FBRUE7RUFDRSx5QkFBeUI7QUFDM0I7O0FBRUE7RUFDRSwyQkFBMkI7QUFDN0I7O0FBRUE7RUFHRSwyQkFBMkI7QUFDN0I7O0FBRUEsb0JBQW9COztBQUNwQjtFQUNFLG1CQUFtQjtBQUNyQjs7QUFFQTtFQUNFLGtCQUFrQjtBQUNwQiIsImZpb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clxuICBib3R0b206IDRweDtcclxuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAtd2Via2l0LXRyYW5zaXRpb246IDAuNHM7XHJcbiAgdHJhbnNpdGlvbjogMC40cztcclxufVxyXG5cclxuaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXIge1xyXG4gIGJhY2tncm91bmQtY29sb3I6ICMyMTk2ZjM7XHJcbn1cclxuXHJcbmlucHV0OmZvY3VzICsgLnNsaWRlciB7XHJcbiAgYm94LXNoYWRvdzogMCAwIDFweCAjMjE5NmYzO1xyXG59XHJcblxyXG5pbnB1dDpjaGVja2VkICsgLnNsaWRlcjpiZWZvcmUge1xyXG4gIC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gIC1tcy10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMjZweCk7XHJcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG59XHJcblxyXG4vKiBSb3VuZGVkIHNsaWRlcnMgKi9cclxuLnNsaWRlci5yb3VuZCB7XHJcbiAgYm9yZGVyLXJhZGl1czogMzRweDtcclxufVxyXG5cclxuLnNsaWRlci5yb3VuZDpiZWZvcmUge1xyXG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcclxufVxyXG4iXX0= */\";","export default \"\";","export default \"\\n\\n \\n\\n
\\n
\\n
\\n \\n
أضف اعلان \\n حجم الصورة \\n 320 * 240 \\n العنوان \\n \\n \\n \\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n\\n
\\n \\n \\n
\\n \\n
أضف جائزة \\n حجم الصورة \\n 320 * 240 \\n \\n \\n \\n \\n
\\n
\\n \\n
\\n
\\n
\\n \\n \\n \\n
\\n
\\n
\\n \";","export default \"\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvVXNlck1vZHVsZS9sb2dpbi9sb2dpbi5jb21wb25lbnQuY3NzIn0= */\";","export default \"\";","import { Component, OnInit } from '@angular/core';\nimport { DataService } from 'src/app/Services/data.service';\nimport { environment } from 'src/environments/environment';\n\n@Component({\n selector: 'app-gifts',\n templateUrl: './gifts.component.html',\n styleUrls: ['./gifts.component.css']\n})\nexport class GiftsComponent implements OnInit {\n Gifts: any = [];\n img_url = environment.images_url;\n constructor(public dataSrv: DataService) {\n\n }\n\n ngOnInit(): void {\n this.getData();\n\n }\n getData() {\n this.dataSrv.httpGetMethod(\"Get_Gift\").subscribe(res => {\n //console.log(res)\n this.Gifts = res;\n //console.log(this.Gifts)\n })\n }\n UpdateActive(evt, gift) {\n //console.log(evt)\n //console.log(gift)\n\n gift.active_ = gift.active_ ? 1 : 0;\n //console.log(gift)\n this.dataSrv.httpPostMethod('Add_Edit_Gift', gift).subscribe(\n (data) => {\n let temp: any = [];\n temp = data;\n //console.log(temp)\n },\n (error) => {\n //console.log(error)\n }\n );\n }\n}\n","export default \"*{\\r\\n font-family: 'Cairo';\\r\\n}\\r\\n\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvYWJvdXQvYWJvdXQuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLG9CQUFvQjtBQUN4QiIsImZpbGUiOiJzcmMvYXBwL01vZHVsZXMvU2hhcmVkL2Fib3V0L2Fib3V0LmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIqe1xyXG4gICAgZm9udC1mYW1pbHk6ICdDYWlybyc7XHJcbn1cclxuXHJcbiJdfQ== */\";","export default \"\\n \\n
\\n
\\n
\\n
= 6\\\" style=\\\"\\n text-align: center;\\n height: 300px;\\n padding-top: 150px;\\n \\\">\\n لا يمكن اضافة اكثر من 6 متاجر\\n
\\n
\\n
\\n
\\n
\\n
\\n \";","export default \"* {\\r\\n font-family: \\\"Cairo\\\";\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvc3RvcmUtZGV0YWlscy9zdG9yZS1kZXRhaWxzLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxvQkFBb0I7QUFDeEIiLCJmaWxlIjoic3JjL2FwcC9Nb2R1bGVzL1NoYXJlZC9zdG9yZS1kZXRhaWxzL3N0b3JlLWRldGFpbHMuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIioge1xyXG4gICAgZm9udC1mYW1pbHk6IFwiQ2Fpcm9cIjtcclxufVxyXG4iXX0= */\";","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule, PreloadAllModules } from '@angular/router';\nimport { AboutComponent } from './Modules/Shared/about/about.component';\nimport { AddEditChampionshipComponent } from './Modules/Shared/add-edit-championship/add-edit-championship.component';\nimport { AddchampadsComponent } from './Modules/Shared/addchampads/addchampads.component';\nimport { AdsGiftsComponent } from './Modules/Shared/ads-gifts/ads-gifts.component';\nimport { AdsComponent } from './Modules/Shared/ads/ads.component';\nimport { AgreementComponent } from './Modules/Shared/agreement/agreement.component';\nimport { AnswersDetailsComponent } from './Modules/Shared/answers-details/answers-details.component';\nimport { AnswersComponent } from './Modules/Shared/answers/answers.component';\nimport { CategorieDetailsComponent } from './Modules/Shared/categorie-details/categorie-details.component';\nimport { CategoriesComponent } from './Modules/Shared/categories/categories.component';\nimport { ChampadsComponent } from './Modules/Shared/champads/champads.component';\nimport { ChampionshipDetailsComponent } from './Modules/Shared/championship-details/championship-details.component';\nimport { ChampionshipsComponent } from './Modules/Shared/championships/championships.component';\nimport { EmpDetailsComponent } from './Modules/Shared/emp-details/emp-details.component';\nimport { EmployeesComponent } from './Modules/Shared/employees/employees.component';\nimport { GiftsComponent } from './Modules/Shared/gifts/gifts.component';\nimport { HomeComponent } from './Modules/Shared/home/home.component';\nimport { QuestionDetailsComponent } from './Modules/Shared/question-details/question-details.component';\nimport { QuestionsComponent } from './Modules/Shared/questions/questions.component';\nimport { StoreDetailsComponent } from './Modules/Shared/store-details/store-details.component';\nimport { StoresComponent } from './Modules/Shared/stores/stores.component';\nimport { UserDetailsComponent } from './Modules/Shared/user-details/user-details.component';\nimport { UsersComponent } from './Modules/Shared/users/users.component';\nimport { LoginComponent } from './Modules/UserModule/login/login.component';\nimport { ProfileComponent } from './Modules/UserModule/profile/profile.component';\n\n\nconst routes: Routes = [\n {\n path: '',\n component: HomeComponent\n },\n {\n path: 'Home',\n component: HomeComponent,\n },\n {\n path: 'Questions',\n component: QuestionsComponent,\n },\n {\n path: 'Answers',\n component: AnswersComponent,\n },\n {\n path: 'QuestionDetails',\n component: QuestionDetailsComponent,\n },\n {\n path: 'AnswerDetails',\n component: AnswersDetailsComponent,\n },\n {\n path: 'Profile',\n component: ProfileComponent,\n },\n {\n path: 'Login',\n component: LoginComponent,\n },\n {\n path: 'Championships',\n component: ChampionshipsComponent\n },\n {\n path: 'ChampionshipDetails',\n component: ChampionshipDetailsComponent\n }, {\n path: 'AddEditChampionship',\n component: AddEditChampionshipComponent\n },\n {\n path: 'Users',\n component: UsersComponent\n },\n {\n path: 'UserDetails',\n component: UserDetailsComponent\n },\n {\n path: 'Employees',\n component: EmployeesComponent\n },\n {\n path: 'EmpDetails',\n component: EmpDetailsComponent\n },\n {\n path: 'About',\n component: AboutComponent\n },\n {\n path: 'Agreement',\n component: AgreementComponent\n },\n {\n path: 'Categories',\n component: CategoriesComponent\n },\n {\n path: 'CategorieDetails',\n component: CategorieDetailsComponent\n },\n {\n path: 'Stores',\n component: StoresComponent\n },\n {\n path: 'StoreDetails',\n component: StoreDetailsComponent\n },\n {\n path: 'AppAds',\n component: AdsGiftsComponent\n },\n {\n path: 'Ads',\n component: AdsComponent\n },\n {\n path: 'Gifts',\n component: GiftsComponent\n },\n {\n path: 'ChampAds',\n component: ChampadsComponent\n },\n {\n path: 'AddChampAds',\n component: AddchampadsComponent\n },\n { path: '404', component: HomeComponent },\n { path: '**', redirectTo: '/Home' }\n];\n\n@NgModule({\n imports: [\n RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules }),\n // RouterModule.forRoot(routes, {useHash: true})\n ],\n exports: [RouterModule]\n})\nexport class AppRoutingModule { }\n","export default \"\";","export default \"*{\\r\\n\\tfont-family: Cairo;\\r\\n}\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvYWRzLWdpZnRzL2Fkcy1naWZ0cy5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0NBQ0Msa0JBQWtCO0FBQ25CIiwiZmlsZSI6InNyYy9hcHAvTW9kdWxlcy9TaGFyZWQvYWRzLWdpZnRzL2Fkcy1naWZ0cy5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiKntcclxuXHRmb250LWZhbWlseTogQ2Fpcm87XHJcbn0iXX0= */\";","export default \"\";","export default \"\";","import { enableProdMode } from '@angular/core';\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { AppModule } from './app/app.module';\nimport { environment } from './environments/environment';\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.error(err));\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"zn8P\";"]}