PageSourceSearch

https://book.presso-inn.com/page-OtaView-OtaReservation-Failure-vue.8d0b5762b0232c0152da.js

js presso-inn.com collected 2026-09-28 05:46:57 UTC 4,176 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{1287:function(e,t,r){"use strict";var n=r(88),o=r(11),i=r(40),a=r(70);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=[o.a.ota.reservation.payment,o.a.ota.reservation.confirmation,o.a.ota.reservation.failure];t.a={data:function data(){return{gtmInitialized:!1}},beforeRouteLeave:function beforeRouteLeave(e,t,r){if(this.gtmInitialized&&!s.includes(e.name)){var n=this.$router.resolve(e);Object(a.f)(null==n?void 0:n.href)}else r()},computed:function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(r,!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Object(i.d)({getDataLayerPaymentEventPayloadFromBw:"booking/getDataLayerPaymentEventPayloadFromBw",getGtmSessionsFromBw:"booking/getGtmSessionsFromBw",getConsentStateFromBw:"booking/getConsentStateFromBw"})),methods:{initGtm:function initGtm(){this.$urlContainsEmail||(this.restoreConsentState(),Object(n.g)(),this.gtmInitialized=!0,this.getGtmSessionsFromBw&&Object(n.E)(this.getGtmSessionsFromBw))},restoreConsentState:function restoreConsentState(){var e=this.getConsentStateFromBw||Object(n.h)();e&&(Object(n.p)(e),Object(n.a)(e))},pushGtmPaymentDetailEventFromBw:function pushGtmPaymentDetailEventFromBw(){this.gtmInitialized&&(Object(n.l)(this,{path:Object(n.n)(this.$store.getters["setting/getHotelId"])}),this.getDataLayerPaymentEventPayloadFromBw&&Object(n.t)(this.getDataLayerPaymentEventPayloadFromBw))}}}},938:function(e,t,r){"use strict";r.r(t);var n=r(990),o=r(201),i=r(122),a=r(1287),s={name:"ReservationFailure",components:{Result:n.a},mixins:[o.a,a.a],props:{code:{type:String,required:!1,default:""},checkin:{type:String,required:!1,default:""},checkout:{type:String,required:!1,default:""},adults:{type:String,required:!1,default:""},errorCode:{type:String,required:!1,default:""},error:{type:String,required:!1,default:null}},data:function data(){return{errorMappingCode:{timeout:"3001",auth:"3002"}[this.error]}},computed:{isBwToOtaReservation:function isBwToOtaReservation(){return this.$route.query.booking_method===i.a.BOOKING_WIDGET_TO_TRIPLA_OTA},displayErrorMessage:function displayErrorMessage(){return["3001","3002","3003","3004","3005","3006","3007","3008","3009"].includes(this.errorCode)||this.errorMappingCode}},watch:{isBwToOtaReservation:{handler:function handler(e){e&&!this.gtmInitialized&&this.initGtm()},immediate:!0}}},u=r(33),c=Object(u.a)(s,(function render(){var e=this,t=e._self._c;return t("Result",{scopedSlots:e._u([{key:"content",fn:function fn(){return[e.displayErrorMessage?t("p",{staticClass:"result-secondary-text"},[e._v("\n        "+e._s(e.$t("base.errorCode.".concat(e.errorCode||e.errorMappingCode)))+"\n      ")]):t("div",[t("p",{staticClass:"result-secondary-text"},[e._v("\n          "+e._s(e.$t("reservationPayment.pendingPage.error01"))+"\n        ")]),e._v(" "),t("p",{staticClass:"result-secondary-text"},[e._v("\n          "+e._s(e.$t("reservationPayment.pendingPage.error02"))+"\n        ")])])]},proxy:!0}])})}),[],!1,null,null,null);t.default=c.exports},977:function(e,t,r){},989:function(e,t,r){"use strict";r(977)},990:function(e,t,r){"use strict";var n={name:"MembershipResult"},o=(r(989),r(33)),i=Object(o.a)(n,(function render(){var e=this,t=e._self._c;return t("div",{staticClass:"wrapper"},[t("div",{staticClass:"form-container"},[e._t("content",(function(){return[t("h4",[e._v("Title")]),e._v(" "),t("h5",{staticClass:"secondary-text"},[e._v("Subtitle")])]}))],2)])}),[],!1,null,"3a531cfa",null);t.a=i.exports}}]);
2//# sourceMappingURL=page-OtaView-OtaReservation-Failure-vue.8d0b5762b0232c0152da.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.