!function(){"use strict";var t=window.wp.hooks,e=window.ReactJSXRuntime;(0,t.addFilter)("wptravel_onpage_payment_gateways","wp-travel",function(t){return t.push("knit_pay"),t}),(0,t.addFilter)("wptravel_onpage_booking_buttons","wp-travel",function(t,n){console.log(t);var o=n.checkoutDetails.payment_select,a=(void 0!==o&&o||"no").wp_travel_payment_gateway,i=void 0!==a&&a||"no";return console.log(i),"knit_pay"==i?(0,e.jsx)("div",{className:"wp-travel-form-field button-field",children:(0,e.jsx)("div",{children:(0,e.jsx)("input",{type:"submit",name:"wp_travel_book_now",id:"wp-travel-book-now",value:_wp_travel.strings.book_n_pay})})}):t})}();