(()=>{"use strict";const t=tec.tickets.seating.utils,e=tec.tickets.seating.frontend.session,i=window.wp.hooks,s=window.wp.i18n;(0,i.addFilter)("tec.tickets-plus.ticket-getTemplateData","tec.tickets.seating",((t,e,i,n=null)=>{n=n||document;const c=jQuery(n).find("#tribe-block-tickets-item-"+e),a=jQuery(n).find("#tribe-modal-tickets-item-"+e),l=c.length?c:a,o=l.length?l.data("seat-labels"):"";if(!o)return t;const r=o.split(","),d=(u=r.length>i?r[i]:"")?` - ${(0,s.__)("Seat","event-tickets-plus")} ${u}`:"";var u;return{...t,seat_label:d}})),(0,t.onReady)((()=>{var t;(t=t||document).querySelectorAll(".tribe-tickets__registration-submit").forEach((t=>t.addEventListener("click",(()=>(0,e.setIsInterruptable)(!1)))))})),window.ticketsPlus=window.ticketsPlus||{},window.ticketsPlus.seating=window.ticketsPlus.seating||{},window.ticketsPlus.seating.frontend=window.ticketsPlus.seating.frontend||{},window.ticketsPlus.seating.frontend.attendeeRegistration={}})();