1 |
- (()=>{var t,e,n={36196:(t,e,n)=>{"use strict";n.r(e)},60631:(t,e,n)=>{"use strict";n.r(e)},82323:(t,e,n)=>{"use strict";n.r(e)},13020:(t,e,n)=>{"use strict";n.r(e)}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={exports:{}};return n[t](i,i.exports,o),i.exports}o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o(13020),o(82323),o(36196),o(60631),t=jQuery,e=t("[repayment-feature]"),t((function(){e.each((function(){var e=t(this),n=e.data("apiUrl");t.get(n).done((function(n){""!==n&&(e.html(n),t('[data-toggle="tooltip"]').tooltip(),t.fn.csnScroll&&t("[data-toggle='scroll']").csnScroll(),setTimeout((function(){e.slideDown()}),500))}))}))})),t((function(){t(o.g).on("EnquirySaveCar",(function(){setTimeout((function(){var n=t("[enquiry-thankyou-replacement]");n.each((function(){var e=t(this).attr("enquiry-thankyou-replacement");t(e).children().remove("h2,p,span"),t(e).prepend(this)})),n.length&&e.each((function(){t(this).slideUp()}));var r=document.getElementById("LeadId").value;t("[finance-options-external-link]").attr("data-target-url",(function(t,e){return"".concat(e,"/").concat(r)}))}),0)}))}))})();
|