File: /var/www/vhost/disk-apps/pwa.sports-crowd.com/www/7641.b2c79dfed0f26d97.js
"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7641],{87641:(X,g,s)=>{s.d(g,{Z:()=>Y});var _=s(73308),e=s(2978),r=s(77897),E=s(57992),h=s(54171),m=s(22882),u=s(56610),d=s(37222),T=s(13797);function f(i,a){if(1&i&&(e.j41(0,"ion-select-option",23),e.EFF(1),e.k0s()),2&i){const t=a.$implicit;e.Y8G("value",t),e.R7$(1),e.SpI(" ",t," ")}}function M(i,a){if(1&i){const t=e.RV6();e.j41(0,"ion-item",20)(1,"ion-label",14),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"ion-select",21),e.bIt("ngModelChange",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.user.blood_type=n)}),e.nI1(5,"translate"),e.nI1(6,"translate"),e.nI1(7,"translate"),e.DNE(8,f,2,2,"ion-select-option",22),e.k0s()()}if(2&i){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,6,"BLOOD_TYPE")),e.R7$(2),e.FS9("placeholder",e.bMT(5,8,"TEXT_OK_SELECT")),e.FS9("okText",e.bMT(6,10,"TEXT_OK_SELECT")),e.FS9("cancelText",e.bMT(7,12,"TEXT_CANCEL_SELECT")),e.Y8G("ngModel",t.user.blood_type),e.R7$(4),e.Y8G("ngForOf",t.getParameterValue("blood_type").split(","))}}function C(i,a){if(1&i){const t=e.RV6();e.j41(0,"div")(1,"ion-label",24),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"ion-item",25)(5,"ion-input",26),e.bIt("ngModelChange",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.user.eps=n)})("ngModelChange",function(n){e.eBV(t);const l=e.XpG(),c=e.sdS(10);return e.Njj(l.utilsService.omitSpecialChar("eps",c,n))}),e.k0s()()()}if(2&i){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,2,"EPS")),e.R7$(3),e.Y8G("ngModel",t.user.eps)}}function b(i,a){if(1&i){const t=e.RV6();e.j41(0,"ion-item",27)(1,"ion-label"),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"ion-select",28),e.bIt("ngModelChange",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.hasHealthDocument=n)}),e.j41(5,"ion-select-option",29),e.EFF(6),e.nI1(7,"translate"),e.k0s(),e.j41(8,"ion-select-option",30),e.EFF(9),e.nI1(10,"translate"),e.k0s()()()}if(2&i){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,4,"HEALTH_CERTIFICATE")),e.R7$(2),e.Y8G("ngModel",t.hasHealthDocument),e.R7$(2),e.JRh(e.bMT(7,6,"all.alertLogOutNot")),e.R7$(3),e.JRh(e.bMT(10,8,"all.alertLogOutYes"))}}function y(i,a){if(1&i){const t=e.RV6();e.j41(0,"ion-item",25)(1,"ion-grid")(2,"ion-row")(3,"ion-col",31)(4,"app-upload-file",32),e.bIt("file",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.saveFile(n))}),e.k0s()()()()()}if(2&i){const t=e.XpG();e.R7$(4),e.Y8G("document",t.document)}}function F(i,a){if(1&i&&(e.j41(0,"ion-select-option",23),e.EFF(1),e.k0s()),2&i){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(1),e.SpI(" ",t.name," ")}}function R(i,a){if(1&i){const t=e.RV6();e.j41(0,"ion-item",20)(1,"ion-label",14),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"ion-select",33),e.bIt("ngModelChange",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.user.academy_location_id=n)})("ngModelChange",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.getDataFilteredByLocation(n.user.academy_location_id))}),e.nI1(5,"translate"),e.nI1(6,"translate"),e.nI1(7,"translate"),e.DNE(8,F,2,2,"ion-select-option",22),e.k0s()()}if(2&i){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,6,"ACADEMY_PLACE")),e.R7$(2),e.FS9("placeholder",e.bMT(5,8,"TEXT_OK_SELECT")),e.FS9("okText",e.bMT(6,10,"TEXT_OK_SELECT")),e.FS9("cancelText",e.bMT(7,12,"TEXT_CANCEL_SELECT")),e.Y8G("ngModel",t.user.academy_location_id),e.R7$(4),e.Y8G("ngForOf",t.locations)}}function I(i,a){if(1&i&&(e.j41(0,"ion-select-option",23),e.EFF(1),e.k0s()),2&i){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(1),e.SpI(" ",t.name," ")}}function x(i,a){if(1&i){const t=e.RV6();e.j41(0,"ion-select",34),e.bIt("ngModelChange",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.user.academy_category_id=n)})("ngModelChange",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.getSchedules(n.user.academy_category_id))}),e.nI1(1,"translate"),e.nI1(2,"translate"),e.nI1(3,"translate"),e.DNE(4,I,2,2,"ion-select-option",22),e.k0s()}if(2&i){const t=e.XpG();e.FS9("placeholder",e.bMT(1,5,"TEXT_OK_SELECT")),e.FS9("okText",e.bMT(2,7,"TEXT_OK_SELECT")),e.FS9("cancelText",e.bMT(3,9,"TEXT_CANCEL_SELECT")),e.Y8G("ngModel",t.user.academy_category_id),e.R7$(4),e.Y8G("ngForOf",t.categories)}}function P(i,a){if(1&i&&(e.j41(0,"p"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&i){const t=e.XpG().$implicit;e.R7$(1),e.E5c(" ",t.name," (",t.current_capacity," ",e.bMT(2,3,"SCHEDULE_AVAILABLE"),") ")}}function O(i,a){if(1&i&&(e.j41(0,"p"),e.EFF(1),e.k0s()),2&i){const t=e.XpG().$implicit;e.R7$(1),e.SpI(" ",t.name," ")}}function S(i,a){if(1&i&&(e.j41(0,"ion-select-option",37),e.DNE(1,P,3,5,"p",9),e.DNE(2,O,2,1,"p",9),e.k0s()),2&i){const t=a.$implicit;e.Y8G("value",t.id)("disabled",0==t.current_capacity),e.R7$(1),e.Y8G("ngIf",0!=t.id),e.R7$(1),e.Y8G("ngIf",0==t.id)}}function A(i,a){if(1&i){const t=e.RV6();e.j41(0,"ion-select",35),e.bIt("ngModelChange",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.user.academy_schedule_id=n)}),e.nI1(1,"translate"),e.nI1(2,"translate"),e.nI1(3,"translate"),e.DNE(4,S,3,4,"ion-select-option",36),e.k0s()}if(2&i){const t=e.XpG();e.FS9("placeholder",e.bMT(1,5,"TEXT_OK_SELECT")),e.FS9("okText",e.bMT(2,7,"TEXT_OK_SELECT")),e.FS9("cancelText",e.bMT(3,9,"TEXT_CANCEL_SELECT")),e.Y8G("ngModel",t.user.academy_schedule_id),e.R7$(4),e.Y8G("ngForOf",t.schedules)}}function v(i,a){if(1&i&&(e.j41(0,"ion-select-option",23),e.EFF(1),e.k0s()),2&i){const t=a.$implicit;e.Y8G("value",t),e.R7$(1),e.JRh(t)}}function k(i,a){if(1&i){const t=e.RV6();e.j41(0,"ion-item",38)(1,"ion-label",14),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"ion-select",39),e.bIt("ngModelChange",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.user.last_inscription_year=n)}),e.nI1(5,"translate"),e.nI1(6,"translate"),e.nI1(7,"translate"),e.DNE(8,v,2,2,"ion-select-option",22),e.k0s()()}if(2&i){const t=e.XpG();e.Y8G("disabled",!t.user.academy_schedule_id),e.R7$(2),e.SpI(" ",e.bMT(3,7,"LAST_INSCRIPTION_YEAR"),""),e.R7$(2),e.FS9("placeholder",e.bMT(5,9,"TEXT_OK_SELECT")),e.FS9("okText",e.bMT(6,11,"TEXT_OK_SELECT")),e.FS9("cancelText",e.bMT(7,13,"TEXT_CANCEL_SELECT")),e.Y8G("ngModel",t.user.last_inscription_year),e.R7$(4),e.Y8G("ngForOf",t.getParameterValue("last_inscription_year").split(","))}}function D(i,a){if(1&i&&(e.j41(0,"ion-select-option",23),e.EFF(1),e.k0s()),2&i){const t=a.$implicit;e.Y8G("value",t.id),e.R7$(1),e.SpI(" ",t.name," ")}}function N(i,a){if(1&i){const t=e.RV6();e.j41(0,"ion-item",38)(1,"ion-label",14),e.EFF(2),e.nI1(3,"translate"),e.nI1(4,"translate"),e.k0s(),e.j41(5,"ion-select",40),e.bIt("ngModelChange",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.user.academy_discounts=n)}),e.nI1(6,"translate"),e.nI1(7,"translate"),e.nI1(8,"translate"),e.DNE(9,D,2,2,"ion-select-option",22),e.k0s()()}if(2&i){const t=e.XpG();e.Y8G("disabled",!t.user.academy_schedule_id),e.R7$(2),e.Lme(" ",e.bMT(3,8,"SPECIAL_CONDITION")," (",e.bMT(4,10,"OPTIONAL"),")"),e.R7$(3),e.FS9("placeholder",e.bMT(6,12,"TEXT_OK_SELECT")),e.FS9("okText",e.bMT(7,14,"TEXT_OK_SELECT")),e.FS9("cancelText",e.bMT(8,16,"TEXT_CANCEL_SELECT")),e.Y8G("ngModel",t.user.academy_discounts),e.R7$(4),e.Y8G("ngForOf",t.discounts)}}function G(i,a){if(1&i&&(e.j41(0,"ion-select-option",23),e.EFF(1),e.k0s()),2&i){const t=a.$implicit;e.Y8G("value",t),e.R7$(1),e.SpI(" ",t," ")}}function j(i,a){if(1&i){const t=e.RV6();e.j41(0,"ion-item",20)(1,"ion-label",14),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"ion-select",41),e.bIt("ngModelChange",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.user.tshirt_size=n)}),e.nI1(5,"translate"),e.nI1(6,"translate"),e.nI1(7,"translate"),e.DNE(8,G,2,2,"ion-select-option",22),e.k0s()()}if(2&i){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,6,"TSHIRT_SIZE")),e.R7$(2),e.FS9("placeholder",e.bMT(5,8,"TEXT_OK_SELECT")),e.FS9("okText",e.bMT(6,10,"TEXT_OK_SELECT")),e.FS9("cancelText",e.bMT(7,12,"TEXT_CANCEL_SELECT")),e.Y8G("ngModel",t.user.tshirt_size),e.R7$(4),e.Y8G("ngForOf",t.getParameterValue("tshirt_sizes").split(","))}}function L(i,a){if(1&i&&(e.j41(0,"ion-select-option",23),e.EFF(1),e.k0s()),2&i){const t=a.$implicit;e.Y8G("value",t),e.R7$(1),e.SpI(" ",t," ")}}function $(i,a){if(1&i){const t=e.RV6();e.j41(0,"ion-item",20)(1,"ion-label",14),e.EFF(2),e.nI1(3,"translate"),e.k0s(),e.j41(4,"ion-select",42),e.bIt("ngModelChange",function(n){e.eBV(t);const l=e.XpG();return e.Njj(l.user.uniform_type=n)}),e.nI1(5,"translate"),e.nI1(6,"translate"),e.nI1(7,"translate"),e.DNE(8,L,2,2,"ion-select-option",22),e.k0s()()}if(2&i){const t=e.XpG();e.R7$(2),e.JRh(e.bMT(3,6,"UNIFORM_TYPE")),e.R7$(2),e.FS9("placeholder",e.bMT(5,8,"TEXT_OK_SELECT")),e.FS9("okText",e.bMT(6,10,"TEXT_OK_SELECT")),e.FS9("cancelText",e.bMT(7,12,"TEXT_CANCEL_SELECT")),e.Y8G("ngModel",t.user.uniform_type),e.R7$(4),e.Y8G("ngForOf",t.getParameterValue("uniform_types").split(","))}}let Y=(()=>{class i{constructor(t,o,n,l,c){this.modalCtrl=t,this.academyService=o,this.alertController=n,this.utilsService=l,this.translateService=c,this.parameters=[],this.locations=[],this.categories=[],this.schedules=[],this.discounts=[],this.isNew=!1,this.hasHealthDocument="no",this.document={name:""}}ngOnInit(){this.loadData(100)}loadData(t=0){setTimeout(()=>new Promise((o,n)=>{this.utilsService.presentLoading(this.translateService.instant("all.loading")).then(()=>{Promise.all([this.academyService.getParameters(this.user.type_academy).then(l=>{this.parameters=l}),this.getLocations()]).then(()=>{this.utilsService.dismissLoading(),o(!1)}).catch(l=>{this.utilsService.dismissLoading(),console.log("Error loadInit AcademyPage",l),n(l)})})}),t)}getParameterValue(t){let o=this.parameters.filter(n=>n.key===t)[0];return o?o.value:""}getLocations(){var t=this;return(0,_.A)(function*(){(yield t.academyService.getLocations(t.user.type_academy)).subscribe(o=>{t.locations=o,t.user&&(t.user.academy_location_id?t.getDataFilteredByLocation(t.user.academy_location_id,!1):t.isNew=!0,t.user.academy_category_id&&t.getSchedules(t.user.academy_category_id,!1))})})()}getDataFilteredByLocation(t,o=!0){var n=this;return(0,_.A)(function*(){t||(t=""),o&&(n.user.academy_category_id=null,n.user.academy_schedule_id=null,n.user.last_inscription_year=null,n.user.academy_discounts=null,n.isNew=!0),n.getCategories(t),n.getDiscounts(t)})()}getCategories(t){var o=this;return(0,_.A)(function*(){(yield o.academyService.getCategories(t)).subscribe(n=>{o.categories=n})})()}getSchedules(t,o=!0){var n=this;return(0,_.A)(function*(){t||(t=""),o&&(n.user.academy_schedule_id=null,n.isNew=!0),(yield n.academyService.getSchedules(t)).subscribe(l=>{n.schedules=l})})()}getDiscounts(t){var o=this;return(0,_.A)(function*(){(yield o.academyService.getDiscounts(t)).subscribe(n=>{o.discounts=n})})()}cancel(t,o){this.modalCtrl.dismiss({status:t,valueOrder:o})}fullEnrollmentAcademy(t){var o=this;return(0,_.A)(function*(){let n=t.value;n.id=o.user.id,n.file=o.file,o.validateFormData(n)&&o.utilsService.presentLoading(o.translateService.instant("all.loading")).then(()=>{o.academyService.studentFullEnrollment(n).then(function(){var l=(0,_.A)(function*(c){c.r&&(yield(yield o.alertController.create({message:o.getParameterValue("full_enrollment_alert_text"),backdropDismiss:!1,buttons:[{text:o.translateService.instant("all.accept"),handler:()=>{o.cancel(!1)}}]})).present()),o.utilsService.dismissLoading()});return function(c){return l.apply(this,arguments)}}(),l=>{o.utilsService.dismissLoading(),console.log("error enrollmentAcademy: ",l)})})})()}validateFormData(t){return t.blood_type?!t.eps&&this.getParameterValue("full_enrollment_fields").includes("eps")?(this.showWarning("EPS_REQUIRED"),!1):t.academy_location_id?t.academy_category_id?t.academy_schedule_id?t.last_inscription_year?this.discounts&&this.discounts.length>0&&!t.academy_discounts?(this.showWarning("SPECIAL_CONDITION_REQUIRED"),!1):t.tshirt_size?t.uniform_type?!("si"===t.hasHealthDocument&&!t.file&&(this.showWarning("DOCUMENT_REQUIRED"),1)):(this.showWarning("UNIFORM_TYPE_REQUIRED"),!1):(this.showWarning("TSHIRT_SIZE_REQUIRED"),!1):(this.showWarning("LAST_INSCRIPTION_YEAR_REQUIRED"),!1):(this.showWarning("SCHEDULE_REQUIRED"),!1):(this.showWarning("ACADEMY_CATEGORY_REQUIRED"),!1):(this.showWarning("ACADEMY_PLACE_REQUIRED"),!1):(this.showWarning("BLOOD_TYPE_REQUIRED"),!1)}showWarning(t){this.utilsService.presentToast(3e3,"warning","top",this.translateService.instant(t))}buildNumberArray(t,o){return[...Array(o-t+1).keys()].map(n=>n+t)}saveFile(t){this.file=t,this.document.link=t}static#e=this.\u0275fac=function(o){return new(o||i)(e.rXU(r.W3),e.rXU(E.k),e.rXU(r.hG),e.rXU(h.T),e.rXU(m.c$))};static#t=this.\u0275cmp=e.VBU({type:i,selectors:[["app-academy-full-enrollment"]],decls:54,vars:33,consts:[[1,"responsive-text"],["slot","end"],["strong","","color","light",3,"click"],[3,"ngSubmit"],["formEnrollmentAcademy","ngForm"],["value","first"],["slot","header","color","light"],["slot","content",1,"ion-padding"],["class","inputBorderRadius ion-margin-bottom","lines","none",4,"ngIf"],[4,"ngIf"],["lines","none",4,"ngIf"],["class","inputBorderRadius","lines","none",4,"ngIf"],["value","second"],["lines","none",1,"inputBorderRadius","ion-margin-bottom",3,"disabled"],["position","stacked",2,"margin-bottom","10px"],["interface","popover","class","ion-text-center placeholder-select","name","academy_category_id","required","",3,"placeholder","okText","cancelText","ngModel","ngModelChange",4,"ngIf"],["interface","popover","class","ion-text-center placeholder-select","name","academy_schedule_id","required","",3,"placeholder","okText","cancelText","ngModel","ngModelChange",4,"ngIf"],["class","inputBorderRadius","lines","none",3,"disabled",4,"ngIf"],["value","third"],["type","submit","color","primary","shape","round","expand","block","fill","solid",1,"ion-margin"],["lines","none",1,"inputBorderRadius","ion-margin-bottom"],["interface","popover","name","blood_type","required","",1,"ion-text-center","placeholder-select",3,"placeholder","okText","cancelText","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["position","stacked",1,"form-field-label"],["lines","none",1,"inputBorderRadius"],["type","text","placeholder","","name","eps","required","","maxlength","191",1,"ion-text-center",3,"ngModel","ngModelChange"],["lines","none"],["name","hasHealthDocument",3,"ngModel","ngModelChange"],["value","no","selected",""],["value","si"],["size","6","offset","3"],[3,"document","file"],["interface","popover","name","academy_location_id","required","",1,"ion-text-center","placeholder-select",3,"placeholder","okText","cancelText","ngModel","ngModelChange"],["interface","popover","name","academy_category_id","required","",1,"ion-text-center","placeholder-select",3,"placeholder","okText","cancelText","ngModel","ngModelChange"],["interface","popover","name","academy_schedule_id","required","",1,"ion-text-center","placeholder-select",3,"placeholder","okText","cancelText","ngModel","ngModelChange"],[3,"value","disabled",4,"ngFor","ngForOf"],[3,"value","disabled"],["lines","none",1,"inputBorderRadius",3,"disabled"],["interface","popover","name","last_inscription_year","required","",1,"ion-text-center","placeholder-select",3,"placeholder","okText","cancelText","ngModel","ngModelChange"],["interface","popover","name","academy_discounts","required","",1,"ion-text-center","placeholder-select",3,"placeholder","okText","cancelText","ngModel","ngModelChange"],["interface","popover","name","tshirt_size",1,"ion-text-center","placeholder-select",3,"placeholder","okText","cancelText","ngModel","ngModelChange"],["interface","popover","name","uniform_type",1,"ion-text-center","placeholder-select",3,"placeholder","okText","cancelText","ngModel","ngModelChange"]],template:function(o,n){if(1&o){const l=e.RV6();e.j41(0,"ion-header")(1,"ion-toolbar")(2,"ion-title",0),e.EFF(3),e.k0s(),e.j41(4,"ion-buttons",1)(5,"ion-button",2),e.bIt("click",function(){return n.cancel(!1)}),e.EFF(6),e.nI1(7,"translate"),e.k0s()()()(),e.j41(8,"ion-content")(9,"form",3,4),e.bIt("ngSubmit",function(){e.eBV(l);const p=e.sdS(10);return e.Njj(n.fullEnrollmentAcademy(p))}),e.j41(11,"ion-accordion-group")(12,"ion-accordion",5)(13,"ion-item",6)(14,"ion-label"),e.EFF(15),e.nI1(16,"translate"),e.k0s()(),e.j41(17,"div",7)(18,"ion-list"),e.DNE(19,M,9,14,"ion-item",8),e.DNE(20,C,6,4,"div",9),e.DNE(21,b,11,10,"ion-item",10),e.DNE(22,y,5,1,"ion-item",11),e.k0s()()(),e.j41(23,"ion-accordion",12)(24,"ion-item",6)(25,"ion-label"),e.EFF(26),e.nI1(27,"translate"),e.k0s()(),e.j41(28,"div",7)(29,"ion-list"),e.DNE(30,R,9,14,"ion-item",8),e.j41(31,"ion-item",13)(32,"ion-label",14),e.EFF(33),e.nI1(34,"translate"),e.k0s(),e.DNE(35,x,5,11,"ion-select",15),e.k0s(),e.j41(36,"ion-item",13)(37,"ion-label",14),e.EFF(38),e.nI1(39,"translate"),e.k0s(),e.DNE(40,A,5,11,"ion-select",16),e.k0s(),e.DNE(41,k,9,15,"ion-item",17),e.DNE(42,N,10,18,"ion-item",17),e.k0s()()(),e.j41(43,"ion-accordion",18)(44,"ion-item",6)(45,"ion-label"),e.EFF(46),e.nI1(47,"translate"),e.k0s()(),e.j41(48,"div",7)(49,"ion-list"),e.DNE(50,j,9,14,"ion-item",8),e.DNE(51,$,9,14,"ion-item",8),e.k0s()()(),e.j41(52,"ion-button",19),e.EFF(53),e.k0s()()()()}2&o&&(e.R7$(3),e.JRh(n.getParameterValue("full_enrollment_title")),e.R7$(3),e.JRh(e.bMT(7,21,"all.close")),e.R7$(9),e.JRh(e.bMT(16,23,"HEALT_INFORMATION")),e.R7$(4),e.Y8G("ngIf",n.parameters.length),e.R7$(1),e.Y8G("ngIf",n.getParameterValue("full_enrollment_fields").includes("eps")),e.R7$(1),e.Y8G("ngIf","true"===n.getParameterValue("medical_certificate_app")),e.R7$(1),e.Y8G("ngIf","si"===n.hasHealthDocument&&"true"===n.getParameterValue("medical_certificate_app")),e.R7$(4),e.JRh(e.bMT(27,25,"ACADEMY_INFORMATION")),e.R7$(4),e.Y8G("ngIf",n.locations.length),e.R7$(1),e.Y8G("disabled",!n.user.academy_location_id),e.R7$(2),e.JRh(e.bMT(34,27,"CATEGORY")),e.R7$(2),e.Y8G("ngIf",n.categories.length||n.isNew),e.R7$(1),e.Y8G("disabled",!n.user.academy_category_id),e.R7$(2),e.JRh(e.bMT(39,29,"SCHEDULE")),e.R7$(2),e.Y8G("ngIf",n.schedules.length||n.isNew),e.R7$(1),e.Y8G("ngIf",n.parameters.length),e.R7$(1),e.Y8G("ngIf",n.discounts.length),e.R7$(4),e.JRh(e.bMT(47,31,"UNIFORM_INFORMATION")),e.R7$(4),e.Y8G("ngIf",n.parameters.length),e.R7$(1),e.Y8G("ngIf",n.parameters.length),e.R7$(2),e.SpI(" ",n.getParameterValue("full_enrollment_button_text")," "))},dependencies:[u.Sq,u.bT,d.qT,d.BC,d.cb,d.YS,d.tU,d.vS,d.cV,r.xk,r.YH,r.Jm,r.QW,r.hU,r.W9,r.lO,r.eU,r.$w,r.uz,r.he,r.nf,r.ln,r.Nm,r.Ip,r.BC,r.ai,r.Je,r.Gw,T.V,m.D9],styles:['.imageUserProfile[_ngcontent-%COMP%]{display:block!important;margin:10px auto!important;width:90px;height:90px;max-width:90px;max-height:90px}.textImageUserProfile[_ngcontent-%COMP%]{font-weight:700}.notEdit[_ngcontent-%COMP%]{pointer-events:none;opacity:.6}.scroll-content[_ngcontent-%COMP%]{background-color:#fff}.imageAddress[_ngcontent-%COMP%]{display:block!important;margin:10px auto!important;width:100%;height:100px}.textTittleAddress[_ngcontent-%COMP%]{font-size:18px;color:var(--color-title);margin-top:20px;margin-bottom:25px}.select-text[_ngcontent-%COMP%] .typeTrackEdit[_ngcontent-%COMP%]{margin-right:10px!important;margin-left:-15px!important}.typeTrackEdit.select-ios[_ngcontent-%COMP%]{padding:11px 8px 16px 16px!important}.typeTrackEdit[_ngcontent-%COMP%]{width:auto!important;min-width:100%!important;border:1px solid var(--color-border-input-select)!important;border-radius:5px!important;height:46px!important}.ion-select[_ngcontent-%COMP%] .typeTrackEdit[_ngcontent-%COMP%]{max-width:100%!important}.itemEditTypeTrack[_ngcontent-%COMP%] .item-inner[_ngcontent-%COMP%]{border-bottom:none!important;max-width:100px!important}.marginLeft2[_ngcontent-%COMP%]{margin-left:2%}.widthCol20[_ngcontent-%COMP%]{width:20%!important;max-width:20%!important}.separatorsNumber[_ngcontent-%COMP%], .separatorsLined[_ngcontent-%COMP%]{padding:0 5px;margin-top:10px;font-size:20px}.itemEditNumberTrack1[_ngcontent-%COMP%]{border:1px solid var(--color-border-input-select)!important;border-radius:5px!important}.itemEditNumberTrack1[_ngcontent-%COMP%] .item-inner[_ngcontent-%COMP%]{border-bottom:none!important}.itemEditNumberTrack2[_ngcontent-%COMP%]{border:1px solid var(--color-border-input-select)!important;border-radius:5px!important}.itemEditNumberTrack2[_ngcontent-%COMP%] .item-inner[_ngcontent-%COMP%]{border-bottom:none!important}.itemEditNumberTrack3[_ngcontent-%COMP%]{border:1px solid var(--color-border-input-select)!important;border-radius:5px!important}.itemEditNumberTrack3[_ngcontent-%COMP%] .item-inner[_ngcontent-%COMP%]{border-bottom:none!important}ion-input.inputAddress[_ngcontent-%COMP%]{border:none!important}.placeholder-select[_ngcontent-%COMP%]{border:1px solid #dedede;width:-webkit-fill-available;border-radius:5px}.text_terms[_ngcontent-%COMP%]{top:0;position:absolute;left:30px}.openTerms[_ngcontent-%COMP%]{text-decoration:underline;color:var(--ion-color-primary)}#file-input[_ngcontent-%COMP%]{opacity:0;position:absolute;top:0;width:100%;height:100%;left:0;z-index:999}.ctnPhoto[_ngcontent-%COMP%]{width:20vw;height:20vw}.photo[_ngcontent-%COMP%]{box-shadow:1px 2px 2px 1px gray;border-radius:50%}ion-label[_ngcontent-%COMP%]:after{content:"*";color:red;font-weight:700}']})}return i})()}}]);