(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["2d22c695"],{f2b5:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("item-seat-basic-with-slot",{attrs:{number:t.ticketInformation.number,row:t.ticketInformation.row,sector:t.ticketInformation.sector,region:t.ticketInformation.region,gate:t.ticketInformation.gate||"",price:t.ticketInformation.price,title:t.ticketInformation.name||t.ticketInformation.price_type,holder:t.ticketInformation.alias,"show-price":!1}},[i("button-action-more",[i("popover-action-list",[i("q-list",{attrs:{link:""}},[i("q-item",{directives:[{name:"close-overlay",rawName:"v-close-overlay"}],attrs:{"data-test":t.CypressTarget("OpenMapModal")},nativeOn:{click:function(e){t.mySeatLocation.opened=!0}}},[t._v("\n          "+t._s(t.$t("button.seeMySeatLocation"))+"\n        ")]),t.seatActions.length>0&&t.hasExchange?i("q-item-separator"):t._e(),t.seatActions.length>0?i("q-list-header",[t._v("\n          "+t._s(t.$t("label.actions"))+"\n        ")]):t._e(),t._l(t.seatActions,function(e,n){return i("q-item",{directives:[{name:"close-overlay",rawName:"v-close-overlay"}],key:n,attrs:{"data-test":t.CypressTarget(e)},nativeOn:{click:function(i){t.$emit("seatAction",{action:e,id:t.ticketInformation.id})}}},[i("q-item-main",{attrs:{label:""}},[t._v("\n            "+t._s(t.$t("actions."+e,{seat:t.$t("label.seat").toLowerCase()}))+"\n          ")])],1)}),i("active-subscription-modal-map-seat-viewer",{attrs:{"seat-id":t.ticketInformation.seat_id},model:{value:t.mySeatLocation.opened,callback:function(e){t.$set(t.mySeatLocation,"opened",e)},expression:"mySeatLocation.opened"}})],2),void 0!==t.ticketInformation.tickets&&t.ticketInformation.tickets.length?i("action-list-download",{attrs:{"link-list":t.seatTickets},on:{download:function(e){t.downloadTicket(e.link,e.type)}}}):t._e()],1)],1)],1)},o=[];n._withStripped=!0;i("6762"),i("2fdb");var a=i("3156"),c=i.n(a),s=i("2f62"),r=i("16c5"),l={name:"ActiveSubscriptionItemSeatBasicMySeat",components:{ItemSeatBasicWithSlot:function(){return Promise.all([i.e("vuelidate"),i.e("2d0c8840"),i.e("2d0cc98a")]).then(i.bind(null,"4f35"))},ActionListDownload:function(){return i.e("2d0b2d1a").then(i.bind(null,"2677"))},PopoverActionList:function(){return i.e("2d0d053d").then(i.bind(null,"6805"))},ButtonActionMore:function(){return i.e("2d0ba549").then(i.bind(null,"376e"))},ActiveSubscriptionModalMapSeatViewer:function(){return i.e("d85c35d0").then(i.bind(null,"8c0a"))}},mixins:[r["a"]],props:{ticketInformation:{type:Object,required:!0,default:function(){return{amount:0,name:"",price:0,price_id:0,price_special_id:0,quantity:0,seat_id:0,seat_location:{number:"",region:"",row:"",sector:""},tickets_available:0}}}},data:function(){return{mySeatLocation:{opened:!1,seatId:0}}},computed:c()({},Object(s["c"])("mySubscription",["recueTicketsAvaible"]),{hasExchange:function(){return this.seatActions.includes("exchange")||this.seatActions.includes("rescue")},isRescuable:function(){return!(!this.$route.meta.rescue||!this.ticketInformation.actions.includes("rescue"))},seatTickets:function(){return!!this.ticketInformation.tickets&&(this.$q.platform.is.ios?this.ticketInformation.tickets:this.ticketInformation.tickets.filter(function(t){return"Apple Wallet"!==t.type}))},seatActions:function(){return this.isRescuable&&!this.recueTicketsAvaible?this.ticketInformation.actions.filter(function(t){return"rescue"!==t}):this.ticketInformation.actions}})},u=l,d=i("2877"),m=Object(d["a"])(u,n,o,!1,null,null,null);m.options.__file="basicMySeat.vue";e["default"]=m.exports}}]);
//# sourceMappingURL=2d22c695.4d254229.2024-10-22T18:36:13.257Z.js.map