text: (self.webpackChunk=self.webpackChunk||[]).push([[575],{97235:function(t,e,n){var a=n(40857),s=n(86656),o=n(6061),r=n(3070).f;t.exports=function(t){var e=a.Symbol||(a.Symbol={});s(e,t)||r(e,t,{value:o.f(t)})}},1156:function(t,e,n){var a=n(45656),s=n(8006).f,o={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return r&&"[object Window]"==o.call(t)?function(t){try{return s(t)}catch(t){return r.slice()}}(t):s(a(t))}},6061:function(t,e,n){var a=n(5112);e.f=a},41817:function(t,e,n){"use strict";var a=n(82109),s=n(19781),o=n(17854),r=n(86656),i=n(70111),c=n(3070).f,u=n(99920),l=o.Symbol;if(s&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var d={},m=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof m?new l(t):void 0===t?l():l(t);return""===t&&(d[e]=!0),e};u(m,l);var v=m.prototype=l.prototype;v.constructor=m;var p=v.toString,f="Symbol(test)"==String(l("test")),_=/^Symbol\((.*)\)[^)]+$/;c(v,"description",{configurable:!0,get:function(){var t=i(this)?this.valueOf():this,e=p.call(t);if(r(d,t))return"";var n=f?e.slice(7,-1):e.replace(_,"$1");return""===n?void 0:n}}),a({global:!0,forced:!0},{Symbol:m})}},82526:function(t,e,n){"use strict";var a=n(82109),s=n(17854),o=n(35005),r=n(31913),i=n(19781),c=n(30133),u=n(43307),l=n(47293),d=n(86656),m=n(43157),v=n(70111),p=n(19670),f=n(47908),_=n(45656),g=n(57593),h=n(79114),b=n(70030),w=n(81956),y=n(8006),C=n(1156),x=n(25181),S=n(31236),j=n(3070),k=n(55296),A=n(68880),E=n(31320),N=n(72309),P=n(6200),O=n(3501),F=n(69711),Z=n(5112),$=n(6061),T=n(97235),R=n(58003),L=n(29909),z=n(42092).forEach,I=P("hidden"),q="Symbol",H=Z("toPrimitive"),G=L.set,J=L.getterFor(q),M=Object.prototype,U=s.Symbol,Y=o("JSON","stringify"),D=S.f,W=j.f,B=C.f,Q=k.f,V=N("symbols"),K=N("op-symbols"),X=N("string-to-symbol-registry"),tt=N("symbol-to-string-registry"),et=N("wks"),nt=s.QObject,at=!nt||!nt.prototype||!nt.prototype.findChild,st=i&&l((function(){return 7!=b(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(t,e,n){var a=D(M,e);a&&delete M[e],W(t,e,n),a&&t!==M&&W(M,e,a)}:W,ot=function(t,e){var n=V[t]=b(U.prototype);return G(n,{type:q,tag:t,description:e}),i||(n.description=e),n},rt=u?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof U},it=function(t,e,n){t===M&&it(K,e,n),p(t);var a=g(e,!0);return p(n),d(V,a)?(n.enumerable?(d(t,I)&&t[I][a]&&(t[I][a]=!1),n=b(n,{enumerable:h(0,!1)})):(d(t,I)||W(t,I,h(1,{})),t[I][a]=!0),st(t,a,n)):W(t,a,n)},ct=function(t,e){p(t);var n=_(e),a=w(n).concat(mt(n));return z(a,(function(e){i&&!ut.call(n,e)||it(t,e,n[e])})),t},ut=function(t){var e=g(t,!0),n=Q.call(this,e);return!(this===M&&d(V,e)&&!d(K,e))&&(!(n||!d(this,e)||!d(V,e)||d(this,I)&&this[I][e])||n)},lt=function(t,e){var n=_(t),a=g(e,!0);if(n!==M||!d(V,a)||d(K,a)){var s=D(n,a);return!s||!d(V,a)||d(n,I)&&n[I][a]||(s.enumerable=!0),s}},dt=function(t){var e=B(_(t)),n=[];return z(e,(function(t){d(V,t)||d(O,t)||n.push(t)})),n},mt=function(t){var e=t===M,n=B(e?K:_(t)),a=[];return z(n,(function(t){!d(V,t)||e&&!d(M,t)||a.push(V[t])})),a};(c||(E((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=F(t),n=function(t){this===M&&n.call(K,t),d(this,I)&&d(this[I],e)&&(this[I][e]=!1),st(this,e,h(1,t))};return i&&at&&st(M,e,{configurable:!0,set:n}),ot(e,t)}).prototype,"toString",(function(){return J(this).tag})),E(U,"withoutSetter",(function(t){return ot(F(t),t)})),k.f=ut,j.f=it,S.f=lt,y.f=C.f=dt,x.f=mt,$.f=function(t){return ot(Z(t),t)},i&&(W(U.prototype,"description",{configurable:!0,get:function(){return J(this).description}}),r||E(M,"propertyIsEnumerable",ut,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:U}),z(w(et),(function(t){T(t)})),a({target:q,stat:!0,forced:!c},{for:function(t){var e=String(t);if(d(X,e))return X[e];var n=U(e);return X[e]=n,tt[n]=e,n},keyFor:function(t){if(!rt(t))throw TypeError(t+" is not a symbol");if(d(tt,t))return tt[t]},useSetter:function(){at=!0},useSimple:function(){at=!1}}),a({target:"Object",stat:!0,forced:!c,sham:!i},{create:function(t,e){return void 0===e?b(t):ct(b(t),e)},defineProperty:it,defineProperties:ct,getOwnPropertyDescriptor:lt}),a({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:dt,getOwnPropertySymbols:mt}),a({target:"Object",stat:!0,forced:l((function(){x.f(1)}))},{getOwnPropertySymbols:function(t){return x.f(f(t))}}),Y)&&a({target:"JSON",stat:!0,forced:!c||l((function(){var t=U();return"[null]"!=Y([t])||"{}"!=Y({a:t})||"{}"!=Y(Object(t))}))},{stringify:function(t,e,n){for(var a,s=[t],o=1;arguments.length>o;)s.push(arguments[o++]);if(a=e,(v(e)||void 0!==t)&&!rt(t))return m(e)||(e=function(t,e){if("function"==typeof a&&(e=a.call(this,t,e)),!rt(e))return e}),s[1]=e,Y.apply(null,s)}});U.prototype[H]||A(U.prototype,H,U.prototype.valueOf),R(U,q),O[I]=!0},95022:function(t,e,n){"use strict";var a=n(23645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* .currency li {\n  cursor: pointer;\n}\n.currency .active {\n  color: white;\n} */\n",""]),e.Z=s},6280:function(t,e,n){"use strict";var a=n(23645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,"\n.custom-input {\n  background: transparent;\n  border: 0;\n  color: #a8b2bc;\n  text-align: center;\n  max-width: 40px;\n}\n.custom-input:focus {\n  outline: none;\n}\n.custom-input.is-invalid {\n  border: 1px solid #ec4561;\n}\ninput::-webkit-outer-spin-button,\ninput::-webkit-inner-spin-button {\n  -webkit-appearance: none;\n  margin: 0;\n}\n.table th {\n  padding: 10px 0;\n}\n.table td {\n  padding: 10px 0;\n}\n",""]),e.Z=s},68535:function(t,e,n){"use strict";var a=n(23645),s=n.n(a)()((function(t){return t[1]}));s.push([t.id,"\n.main-content[data-v-201f57fe] {\n  margin-right: 70px;\n}\n.page-content[data-v-201f57fe] {\n  padding: 0 24px 60px 24px !important;\n}\n.footer[data-v-201f57fe] {\n  left: 0;\n}\n",""]),e.Z=s},36918:function(t){t.exports="/images/logo-dark.png?2c12af685035e4b0f0310c516ecac99c"},89175:function(t){t.exports="/images/logo-light.png?2c12af685035e4b0f0310c516ecac99c"},1402:function(t){t.exports="/images/logo-sm.png?2c12af685035e4b0f0310c516ecac99c"},85626:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var a=n(93379),s=n.n(a),o=n(95022),r={insert:"head",singleton:!1},i=(s()(o.Z,r),o.Z.locals,(0,n(51900).Z)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",{staticClass:"footer"},[n("div",{staticClass:"container-fluid"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[t._v("\n        © "+t._s((new Date).getFullYear())+" \n        "),t._m(0)])])])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"d-none d-sm-inline-block"},[t._v("\n          - Copyright\n          "),n("i",{staticClass:"mdi mdi-heart text-danger"}),t._v(" by Mikel.\n        ")])}],!1,null,null,null).exports)},94575:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return g}});var a=n(53482),s=(n(82526),n(41817),n(49346),{data:function(){return{}},methods:{initFullScreen:function(){document.body.classList.toggle("fullscreen-enable"),document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement?document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen():document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullscreen&&document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)}}}),o=n(51900),r={components:{Topbar:(0,o.Z)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("header",{attrs:{id:"page-topbar"}},[a("div",{staticClass:"navbar-header"},[a("div",{staticClass:"d-flex"},[a("div",{staticClass:"navbar-brand-box"},[a("router-link",{staticClass:"logo logo-dark",attrs:{tag:"a",to:"/"}},[a("span",{staticClass:"logo-sm"},[a("img",{attrs:{src:n(1402),alt:"",height:"30",width:"30"}})]),t._v(" "),a("span",{staticClass:"logo-lg"},[a("img",{attrs:{src:n(36918),alt:"",height:"60",width:"130"}})])]),t._v(" "),a("router-link",{staticClass:"logo logo-light",attrs:{tag:"a",to:"/"}},[a("span",{staticClass:"logo-sm"},[a("img",{attrs:{src:n(1402),alt:"",height:"30",width:"30"}})]),t._v(" "),a("span",{staticClass:"logo-lg"},[a("img",{attrs:{src:n(89175),alt:"",height:"50",width:"120"}})])])],1)]),t._v(" "),a("div",{staticClass:"d-flex"},[a("div",{staticClass:"dropdown d-none d-lg-inline-block"},[a("button",{staticClass:"btn header-item noti-icon",attrs:{type:"button"},on:{click:t.initFullScreen}},[a("i",{staticClass:"mdi mdi-fullscreen"})])]),t._v(" "),a("b-dropdown",{staticClass:"d-inline-block",attrs:{right:"","toggle-class":"header-item",variant:"white"},scopedSlots:t._u([{key:"button-content",fn:function(){return[a("img",{staticClass:"rounded-circle header-profile-user",attrs:{src:"/images/user.jpg",alt:"Header Avatar"}})]},proxy:!0}])},[t._v(" "),a("router-link",{staticClass:"dropdown-item text-danger",attrs:{to:"/logout"}},[a("i",{staticClass:"bx bx-power-off font-size-17 align-middle mr-1 text-danger"}),t._v(" Cerrar Sesión\n        ")])],1)],1)])])}),[],!1,null,null,null).exports,Footer:n(85626).Z},created:function(){document.body.setAttribute("data-sidebar","dark"),document.body.removeAttribute("data-topbar","light"),document.body.removeAttribute("data-layout-size","boxed"),document.body.removeAttribute("data-layout","horizontal")},methods:{}},i=n(93379),c=n.n(i),u=n(68535),l={insert:"head",singleton:!1},d=(c()(u.Z,l),u.Z.locals,(0,o.Z)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"layout-wrapper"}},[n("Topbar"),t._v(" "),n("div",{staticClass:"main-content"},[n("div",{staticClass:"page-content"},[t._t("default")],2)]),t._v(" "),n("Footer")],1)}),[],!1,null,"201f57fe",null).exports),m=n(23789),v=n(26564),p={page:{title:"Juez",meta:[{name:"description",content:m.W}]},components:{Layout:d},data:function(){return{}},watch:{},computed:(0,a.Z)({},(0,v.Se)(["judge_round_heats","judge_heat_scores","isActiveStatus"])),mounted:function(){this.initJudge()},methods:(0,a.Z)((0,a.Z)({},(0,v.nv)(["initJudge","storeHeatResults"])),{},{saveResults:function(){this.storeHeatResults({judge_heat_scores:this.judge_heat_scores})},closeResults:function(){var t=this;this.storeHeatResults({judge_heat_scores:this.judge_heat_scores}).then((function(e){t.refresh()}))},refresh:function(){window.location.reload()}})},f=n(6280),_={insert:"head",singleton:!1},g=(c()(f.Z,_),f.Z.locals,(0,o.Z)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Layout",[1==t.isActiveStatus?n("div",[n("div",{staticClass:"text-center w-100 mt-4"},[n("h4",{staticClass:"mb-0",staticStyle:{background:"#4a5471",padding:"10px 0"}},[t._v("\n        "+t._s(t.judge_round_heats[0].com_cat_mod_participant.category.name)+"\n        "+t._s(t.judge_round_heats[0].com_cat_mod_participant.category.sex.name)+"\n        "+t._s(t.judge_round_heats[0].com_cat_mod_participant.modality.name)+"\n         - Ronda "+t._s(t.judge_round_heats[0].round)+" Manga "+t._s(t.judge_round_heats[0].heat)+"\n      ")])]),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12"},[n("div",{staticClass:"table-responsive mb-0"},[n("table",{staticClass:"table table-bordered text-center"},[n("thead",{staticClass:"thead-light"},[n("tr",[n("th",{attrs:{rowspan:"2"}},[t._v("PARTICIPANTE")]),t._v(" "),n("th",{attrs:{colspan:"10"}}),t._v(" "),n("th",{attrs:{rowspan:"2"}},[t._v("Pena")])]),t._v(" "),n("tr",t._l(10,(function(e){return n("th",{key:e},[t._v(t._s(e))])})),0)]),t._v(" "),t._l(t.judge_heat_scores,(function(e,a){return n("tbody",{key:a},[n("tr",[n("td",{style:{background:e.round_heat.lycra.color}}),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.wave_1,expression:"judge_heat_score.wave_1"}],staticClass:"custom-input",class:{"is-invalid":e.wave_1>10},attrs:{type:"number",min:"0",max:"10",step:"0.1"},domProps:{value:e.wave_1},on:{input:function(n){n.target.composing||t.$set(e,"wave_1",n.target.value)}}})]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.wave_2,expression:"judge_heat_score.wave_2"}],staticClass:"custom-input",class:{"is-invalid":e.wave_2>10},attrs:{type:"number",min:"0",max:"10",step:"0.1"},domProps:{value:e.wave_2},on:{input:function(n){n.target.composing||t.$set(e,"wave_2",n.target.value)}}})]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.wave_3,expression:"judge_heat_score.wave_3"}],staticClass:"custom-input",class:{"is-invalid":e.wave_3>10},attrs:{type:"number",min:"0",max:"10",step:"0.1"},domProps:{value:e.wave_3},on:{input:function(n){n.target.composing||t.$set(e,"wave_3",n.target.value)}}})]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.wave_4,expression:"judge_heat_score.wave_4"}],staticClass:"custom-input",class:{"is-invalid":e.wave_4>10},attrs:{type:"number",min:"0",max:"10",step:"0.1"},domProps:{value:e.wave_4},on:{input:function(n){n.target.composing||t.$set(e,"wave_4",n.target.value)}}})]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.wave_5,expression:"judge_heat_score.wave_5"}],staticClass:"custom-input",class:{"is-invalid":e.wave_5>10},attrs:{type:"number",min:"0",max:"10",step:"0.1"},domProps:{value:e.wave_5},on:{input:function(n){n.target.composing||t.$set(e,"wave_5",n.target.value)}}})]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.wave_6,expression:"judge_heat_score.wave_6"}],staticClass:"custom-input",class:{"is-invalid":e.wave_6>10},attrs:{type:"number",min:"0",max:"10",step:"0.1"},domProps:{value:e.wave_6},on:{input:function(n){n.target.composing||t.$set(e,"wave_6",n.target.value)}}})]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.wave_7,expression:"judge_heat_score.wave_7"}],staticClass:"custom-input",class:{"is-invalid":e.wave_7>10},attrs:{type:"number",min:"0",max:"10",step:"0.1"},domProps:{value:e.wave_7},on:{input:function(n){n.target.composing||t.$set(e,"wave_7",n.target.value)}}})]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.wave_8,expression:"judge_heat_score.wave_8"}],staticClass:"custom-input",class:{"is-invalid":e.wave_8>10},attrs:{type:"number",min:"0",max:"10",step:"0.1"},domProps:{value:e.wave_8},on:{input:function(n){n.target.composing||t.$set(e,"wave_8",n.target.value)}}})]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.wave_9,expression:"judge_heat_score.wave_9"}],staticClass:"custom-input",class:{"is-invalid":e.wave_9>10},attrs:{type:"number",min:"0",max:"10",step:"0.1"},domProps:{value:e.wave_9},on:{input:function(n){n.target.composing||t.$set(e,"wave_9",n.target.value)}}})]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.wave_10,expression:"judge_heat_score.wave_10"}],staticClass:"custom-input",class:{"is-invalid":e.wave_10>10},attrs:{type:"number",min:"0",max:"10",step:"0.1"},domProps:{value:e.wave_10},on:{input:function(n){n.target.composing||t.$set(e,"wave_10",n.target.value)}}})]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.penal,expression:"judge_heat_score.penal"}],staticClass:"custom-input",attrs:{type:"number",step:"1",min:"0",max:"2"},domProps:{value:e.penal},on:{input:function(n){n.target.composing||t.$set(e,"penal",n.target.value)}}})])]),t._v(" "),n("tr",{staticStyle:{height:"5px"}})])}))],2)])])]),t._v(" "),n("div",{staticClass:"d-flex justify-content-between mt-4"},[n("button",{staticClass:"btn btn-info",on:{click:t.closeResults}},[t._v("\n        Terminar\n      ")]),t._v(" "),n("button",{staticClass:"btn btn-orange",on:{click:t.saveResults}},[t._v("\n        Guardar\n      ")])])]):n("div",[n("div",{staticClass:"text-right"},[n("button",{staticClass:"btn btn-warning mt-4",on:{click:t.refresh}},[t._v("\n        Actualizar\n      ")])]),t._v(" "),n("div",{staticClass:"text-center mt-5"},[3==t.isActiveStatus?n("h3",[t._v("NO HAY MANGAS ACTIVAS. ACTUALICE CON EL BOTÓN.")]):t._e(),t._v(" "),2==t.isActiveStatus?n("h3",[t._v("ESPERE A QUE SE ACTIVE LA SIGUIENTE MANGA Y ACTUALICE ESTA PANTALLA.")]):t._e()])])])}),[],!1,null,null,null).exports)},26564:function(t,e,n){"use strict";n.d(e,{Se:function(){return u},nv:function(){return l}});var a=n(77968);const{Store:s,install:o,version:r,mapState:i,mapMutations:c,mapGetters:u,mapActions:l,createNamespacedHelpers:d,createLogger:m}=a}}]);