PageSourceSearch

https://www.rivervale.co.uk/js/6595.js

js rivervale.co.uk collected 2026-10-04 12:25:51 UTC 23,846 bytes, 2 lines download raw bytes

1/*! For license information please see 6595.js.LICENSE.txt */
2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3715,4126,6595],{10148:(e,t,r)=>{r.d(t,{A:()=>S});var n=r(29726),a={class:"lds-spinner",width:"104px",height:"104px",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",style:{background:"none"}},i={transform:"rotate(0 50 50)"},o=["fill"],u={transform:"rotate(30 50 50)"},l=["fill"],c={transform:"rotate(60 50 50)"},s=["fill"],f={transform:"rotate(90 50 50)"},d=["fill"],p={transform:"rotate(120 50 50)"},h=["fill"],m={transform:"rotate(150 50 50)"},v=["fill"],y={transform:"rotate(180 50 50)"},g=["fill"],b={transform:"rotate(210 50 50)"},w=["fill"],k={transform:"rotate(240 50 50)"},x=["fill"],_={transform:"rotate(270 50 50)"},L=["fill"],C={transform:"rotate(300 50 50)"},E=["fill"],j={transform:"rotate(330 50 50)"},O=["fill"];const S={__name:"Loading",props:{fixedCenter:{type:Boolean},inline:{type:Boolean,default:!1},size:{type:Number,default:1}},setup:function(e){return function(t,r){return(0,n.uX)(),(0,n.Wv)((0,n.$y)(e.inline?"span":"div"),{class:(0,n.C4)(["loading text-center",[e.fixedCenter?"position-fixed top-50 start-50 translate-middle bg-primary text-white bg-opacity-75 p-3":""]]),style:(0,n.Tr)({transform:e.fixedCenter?"none":"scale(".concat(e.size,")")})},{default:(0,n.k6)((function(){return[((0,n.uX)(),(0,n.CE)("svg",a,[(0,n.Lk)("g",i,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[0]||(r[0]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"-1.0083333333333335s",repeatCount:"indefinite"},null,-1)]),8,o)]),(0,n.Lk)("g",u,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[1]||(r[1]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"-0.9166666666666666s",repeatCount:"indefinite"},null,-1)]),8,l)]),(0,n.Lk)("g",c,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[2]||(r[2]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"-0.8250000000000001s",repeatCount:"indefinite"},null,-1)]),8,s)]),(0,n.Lk)("g",f,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[3]||(r[3]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"-0.7333333333333334s",repeatCount:"indefinite"},null,-1)]),8,d)]),(0,n.Lk)("g",p,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[4]||(r[4]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"-0.6416666666666667s",repeatCount:"indefinite"},null,-1)]),8,h)]),(0,n.Lk)("g",m,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[5]||(r[5]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"-0.55s",repeatCount:"indefinite"},null,-1)]),8,v)]),(0,n.Lk)("g",y,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[6]||(r[6]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"-0.4583333333333333s",repeatCount:"indefinite"},null,-1)]),8,g)]),(0,n.Lk)("g",b,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[7]||(r[7]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"-0.3666666666666667s",repeatCount:"indefinite"},null,-1)]),8,w)]),(0,n.Lk)("g",k,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[8]||(r[8]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;
21",dur:"1.1s",begin:"-0.275s",repeatCount:"indefinite"},null,-1)]),8,x)]),(0,n.Lk)("g",_,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[9]||(r[9]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"-0.18333333333333335s",repeatCount:"indefinite"},null,-1)]),8,L)]),(0,n.Lk)("g",C,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[10]||(r[10]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"-0.09166666666666667s",repeatCount:"indefinite"},null,-1)]),8,E)]),(0,n.Lk)("g",j,[(0,n.Lk)("rect",{x:"47.5",y:"25",rx:"3.325",ry:"1.75",width:"5",height:"12",fill:[e.fixedCenter?"#fff":"#162946"]},r[11]||(r[11]=[(0,n.Lk)("animate",{attributeName:"opacity",values:"1;0",keyTimes:"0;1",dur:"1.1s",begin:"0s",repeatCount:"indefinite"},null,-1)]),8,O)])])),(0,n.Lk)("span",null,[(0,n.RG)(t.$slots,"default",{},(function(){return[r[12]||(r[12]=(0,n.eW)("Loading..."))]}))])]})),_:3},8,["class","style"])}}}},34126:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});const n=r(86969).A},40100:(e,t,r)=>{var n,a=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),o=[];function u(e){for(var t=-1,r=0;r<o.length;r++)if(o[r].identifier===e){t=r;break}return t}function l(e,t){for(var r={},n=[],a=0;a<e.length;a++){var i=e[a],l=t.base?i[0]+t.base:i[0],c=r[l]||0,s="".concat(l," ").concat(c);r[l]=c+1;var f=u(s),d={css:i[1],media:i[2],sourceMap:i[3]};-1!==f?(o[f].references++,o[f].updater(d)):o.push({identifier:s,updater:v(d,t),references:1}),n.push(s)}return n}function c(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var a=r.nc;a&&(n.nonce=a)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var s,f=(s=[],function(e,t){return s[e]=t,s.filter(Boolean).join("\n")});function d(e,t,r,n){var a=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=f(t,a);else{var i=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function p(e,t,r){var n=r.css,a=r.media,i=r.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var h=null,m=0;function v(e,t){var r,n,a;if(t.singleton){var i=m++;r=h||(h=c(t)),n=d.bind(null,r,i,!1),a=d.bind(null,r,i,!0)}else r=c(t),n=p.bind(null,r,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var r=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var a=u(r[n]);o[a].references--}for(var i=l(e,t),c=0;c<r.length;c++){var s=u(r[c]);0===o[s].references&&(o[s].updater(),o.splice(s,1))}r=i}}}},43715:(e,t,r)=>{r.r(t),r.d(t,{default:()=>L});var n=r(29726),a=r(24155),i=r(39103),o=r(34126);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function l(){l=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function s(e,t,r,n){return Object.defineProperty(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n})}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function f(t,r,n,a){var i=r&&r.prototype instanceof h?r:h,o=Object.create(i.prototype);return s(o,"_invoke",function(t,r,n){var a=1;return function(i,o){if(3===a)throw Error("Generator is already running");if(4===a){if("throw"===i)throw o;return{value:e,done:!0}}for(n.method=i,n.arg=o;;){var u=n.delegate;if(u){var l=_(u,n);if(l){if(l===p)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===a)throw a=4,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=3;var c=d(t,r,n);if("normal"===c.type){if(a=n.done?4:2,c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=4,n.method="throw",n.arg=c.arg)}}}(t,n,new E(a||[])),!0),o}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p={};function h(){}function m(){}function v(){}var y={};s(y,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(j([])));
vendor: 5,843 bytes, line 2
2b&&b!==r&&n.call(b,i)&&(y=b);var w=v.prototype=h.prototype=Object.create(y);function k(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(a,i,o,l){var c=d(e[a],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==u(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,o,l)}),(function(e){r("throw",e,o,l)})):t.resolve(f).then((function(e){s.value=e,o(s)}),(function(e){return r("throw",e,o,l)}))}l(c.arg)}var a;s(this,"_invoke",(function(e,n){function i(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(i,i):i()}),!0)}function _(t,r){var n=r.method,a=t.i[n];if(a===e)return r.delegate=null,"throw"===n&&t.i.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var i=d(a,t.i,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,p;var o=i.arg;return o?o.done?(r[t.r]=o.value,r.next=t.n,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,p):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function L(e){this.tryEntries.push(e)}function C(t){var r=t[4]||{};r.type="normal",r.arg=e,t[4]=r}function E(e){this.tryEntries=[[-1]],e.forEach(L,this),this.reset(!0)}function j(t){if(null!=t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(u(t)+" is not iterable")}return m.prototype=v,s(w,"constructor",v),s(v,"constructor",m),m.displayName=s(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,s(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},k(x.prototype),s(x.prototype,o,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,a,i){void 0===i&&(i=Promise);var o=new x(f(e,r,n,a),i);return t.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(w),s(w,c,"Generator"),s(w,i,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function e(){for(;r.length;)if((n=r.pop())in t)return e.value=n,e.done=!1,e;return e.done=!0,e}},t.values=j,E.prototype={constructor:E,reset:function(t){if(this.prev=this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0][4];if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(e){o.type="throw",o.arg=t,r.next=e}for(var a=r.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i[4],u=this.prev,l=i[1],c=i[2];if(-1===i[0])return n("end"),!1;if(!l&&!c)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=u){if(u<l)return this.method="next",this.arg=e,n(l),!0;if(u<c)return n(c),!1}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var a=n;break}}a&&("break"===e||"continue"===e)&&a[0]<=t&&t<=a[2]&&(a=null);var i=a?a[4]:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a[2],p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r[2]===e)return this.complete(r[4],r[3]),C(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r[0]===e){var n=r[4];if("throw"===n.type){var a=n.arg;C(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={i:j(t),r,n},"next"===this.method&&(this.arg=e),p}},t}function c(e,t,r,n,a,i,o){try{var u=e[i](o),l=u.value}catch(e){return void r(e)}u.done?t(l):Promise.resolve(l).then(n,a)}function s(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 f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p={key:0,class:"col-12"},h={class:"alert alert-danger py-2 mb-0"},m={key:1,class:"col-12 legacy-recaptcha-row"},v={class:"legacy-recaptcha-wrap"},y=["innerHTML"],g="recaptcha-enterprise-script";const b={__name:"FormContainer",props:{submit_message:{type:String,required:!1}
2,submit_container_classes:{type:String,required:!1,default:"col-12 col-md-6 text-end"},form_name:{type:String,required:!0},initialVals:{type:Object,required:!0},dataLayerObj:{type:Object,required:!1}},setup:function(e){var t=function(){return window.grecaptcha&&window.grecaptcha.enterprise?window.grecaptcha.enterprise:null},r=e,u=(0,n.KR)(!1),s=(0,n.KR)(!1),d=(0,n.KR)({}),b=(0,n.KR)(""),w=(0,n.KR)(null),k=(0,n.KR)(null),x=!!a.M_.value.recaptcha_enabled,_=a.M_.value.recaptcha_site_key||"",L=(0,n.KR)(f(f({},Object.assign({},r.initialVals)),{},{_hp:"",_ts:Date.now(),_captcha_token:""})),C=function(){L.value._captcha_token="";var e=t();e&&null!==k.value&&e.reset(k.value)},E=function(){var e,r=(e=l().mark((function e(){var r;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(x){e.next=2;break}return e.abrupt("return");case 2:if(_){e.next=5;break}return b.value="Security verification is unavailable. Please try again later.",e.abrupt("return");case 5:return e.prev=5,e.next=8,n=void 0,(n=t())?Promise.resolve(n):(window.__recaptchaEnterprisePromise||(window.__recaptchaEnterprisePromise=new Promise((function(e,r){var n=document.getElementById(g);n||((n=document.createElement("script")).id=g,n.src="https://www.google.com/recaptcha/enterprise.js?render=explicit",n.async=!0,n.defer=!0,document.head.appendChild(n)),n.addEventListener("load",(function(){var n=0,a=function(){var i=t();i?e(i):(n+=1)>=40?r(new Error("reCAPTCHA API did not become available")):setTimeout(a,50)};a()}),{once:!0}),n.addEventListener("error",(function(){r(new Error("Failed to load reCAPTCHA API script"))}),{once:!0})}))),window.__recaptchaEnterprisePromise);case 8:(r=e.sent).ready((function(){w.value&&null===k.value&&(k.value=r.render(w.value,{sitekey:_,callback:function(e){L.value._captcha_token=e,"Please complete the security check and try again."===b.value&&(b.value="")},"expired-callback":function(){L.value._captcha_token=""},"error-callback":function(){L.value._captcha_token="",b.value="Security verification failed. Please retry."}}))})),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(5),b.value="Security verification could not be loaded. Please refresh and try again.";case 15:case"end":return e.stop()}var n}),e,null,[[5,12]])})),function(){var t=this,r=arguments;return new Promise((function(n,a){var i=e.apply(t,r);function o(e){c(i,n,a,o,u,"next",e)}function u(e){c(i,n,a,o,u,"throw",e)}o(void 0)}))});return function(){return r.apply(this,arguments)}}();(0,n.sV)((function(){E()}));var j=function(){s.value||(d.value={},b.value="",!x||L.value._captcha_token?(s.value=!0,(0,a.m)("/handle-form-submission",{form_name:r.form_name,vals:L.value},{onSuccess:function(e){u.value=!0,s.value=!1,r.dataLayerObj&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(r.dataLayerObj))},onError:function(e){"string"==typeof e?(x&&C(),b.value=e,d.value={},s.value=!1):e?(d.value=e,s.value=!1):(x&&C(),b.value="Sorry, there was a problem submitting your enquiry.",s.value=!1)}})):b.value="Please complete the security check and try again.")};return function(t,r){return(0,n.uX)(),(0,n.CE)(n.FK,null,[u.value?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[(0,n.Lk)("form",{onSubmit:(0,n.D$)(j,["prevent"]),class:"row g-2 input-alt-style-container"},[(0,n.bo)((0,n.Lk)("input",{"onUpdate:modelValue":r[0]||(r[0]=function(e){return L.value._hp=e}),type:"text",name:"_hp",tabindex:"-1",autocomplete:"off","aria-hidden":"true",class:"position-absolute opacity-0 pe-none",style:{left:"-9999px",top:"auto",width:"1px",height:"1px"}},null,512),[[n.Jo,L.value._hp]]),(0,n.bF)((0,n.R1)(i.M_),{modelValue:L.value,"onUpdate:modelValue":r[1]||(r[1]=function(e){return L.value=e}),errors:d.value,"onUpdate:errors":r[2]||(r[2]=function(e){return d.value=e})},{default:(0,n.k6)((function(){return[(0,n.RG)(t.$slots,"fields")]})),_:3},8,["modelValue","errors"]),b.value?((0,n.uX)(),(0,n.CE)("div",p,[(0,n.Lk)("div",h,(0,n.v_)(b.value),1)])):(0,n.Q3)("",!0),x?((0,n.uX)(),(0,n.CE)("div",m,[(0,n.Lk)("div",v,[(0,n.Lk)("div",{ref_key:"recaptchaEl",ref:w},null,512)])])):(0,n.Q3)("",!0),(0,n.Lk)("div",{class:(0,n.C4)(["col-12 d-flex justify-content-end align-items-end legacy-submit-group",{"legacy-submit-group--with-captcha":x}])},[(0,n.RG)(t.$slots,"submit",{},(function(){return[(0,n.Lk)("div",{class:(0,n.C4)([e.submit_container_
2classes,"legacy-submit-container"])},r[3]||(r[3]=[(0,n.Lk)("button",{type:"submit",class:"btn btn-purple px-4 px-lg-5"},"Submit",-1)]),2)]}))],2)],32),s.value?((0,n.uX)(),(0,n.Wv)(o.default,{key:0,fixedCenter:!0},{default:(0,n.k6)((function(){return r[4]||(r[4]=[(0,n.eW)("Sending...")])})),_:1,__:[4]})):(0,n.Q3)("",!0)],64)),u.value?((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[e.submit_message?((0,n.uX)(),(0,n.CE)("div",{key:0,innerHTML:e.submit_message,class:"user-generated"},null,8,y)):(0,n.Q3)("",!0),e.submit_message?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[r[5]||(r[5]=(0,n.Lk)("h2",{class:"text-primary mb-3"},"Thank you for getting in touch!",-1)),r[6]||(r[6]=(0,n.Lk)("p",{class:"fs-4"},"We will be in touch with you shortly.",-1))],64))],64)):(0,n.Q3)("",!0)],64)}}};var w=r(40100),k=r.n(w),x=r(63873),_={insert:"head",singleton:!1};k()(x.A,_);x.A.locals;const L=(0,r(66262).A)(b,[["__scopeId","data-v-64ae2f1c"]])},56595:(e,t,r)=>{r.r(t),r.d(t,{default:()=>h});var n=r(29726),a=r(39103),i=r(43715),o=r(24155),u={class:"col-12 col-md-6"},l={class:"col-12 col-md-6"},c={class:"col-12 col-md-6"},s={class:"col-12 col-md-6"},f={key:0,class:"text-danger small mt-1"},d={class:"col-12"},p={class:"col-12"};const h={__name:"GenericEnquiry",props:{form_name:{type:String,required:!0},submit_message:{type:String,required:!1},vehicle:{type:Object,required:!1}},setup:function(e){var t={enquiry_type:"Generic Enquiry",name:"",email:"",phone:"",department:"",message:"",receive_updates:!1},r=(0,n.KR)([]),h=(0,n.KR)("");(0,n.sV)((function(){(0,o.IS)("/contact-departments",{},{onSuccess:function(e){r.value=e.departments||[]},onError:function(){h.value="Departments could not be loaded. Please refresh and try again."}})}));var m={event:"form_submit_success",formName:"generic_contact_form"};return function(o,v){return(0,n.uX)(),(0,n.Wv)(i.default,{submit_message:e.submit_message,initialVals:t,dataLayerObj:m,form_name:e.form_name,submit_container_
2classes:"col-12 text-end"},{fields:(0,n.k6)((function(){return[(0,n.Lk)("div",u,[(0,n.bF)((0,n.R1)(a.A_),{placeholder:"First name*",name:"name",required:!0})]),(0,n.Lk)("div",l,[(0,n.bF)((0,n.R1)(a.A_),{inputType:"email",placeholder:"Email*",name:"email",required:!0})]),(0,n.Lk)("div",c,[(0,n.bF)((0,n.R1)(a.A_),{inputType:"tel",placeholder:"Phone*",name:"phone",required:!0})]),(0,n.Lk)("div",s,[(0,n.bF)((0,n.R1)(a.zM),{choices:r.value,placeholder:"Select Department*",name:"department",required:!0},null,8,["choices"]),h.value?((0,n.uX)(),(0,n.CE)("div",f,(0,n.v_)(h.value),1)):(0,n.Q3)("",!0)]),(0,n.Lk)("div",d,[(0,n.bF)((0,n.R1)(a.l2),{name:"message",placeholder:"Your message"})]),(0,n.Lk)("div",p,[(0,n.bF)((0,n.R1)(a.Yh),{label:"I would like to receive the latest news and updates from Rivervale.",name:"receive_updates",inlineLabel:!0}),v[0]||(v[0]=(0,n.Lk)("p",{class:"small"},[(0,n.eW)("Your data will be help in accordance with our "),(0,n.Lk)("a",{href:"/privacy-and-cookies",target:"_blank",class:"text-primary link-primary fw-medium"},"privacy policy")],-1))])]})),_:1},8,["submit_message","form_name"])}}}},63873:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(76798),a=r.n(n)()((function(e){return e[1]}));a.push([e.id,".legacy-submit-group[data-v-64ae2f1c]{margin-top:.75rem}.legacy-submit-group--with-captcha[data-v-64ae2f1c]{margin-top:.5rem}.legacy-recaptcha-row[data-v-64ae2f1c]{margin-top:.75rem}.legacy-submit-container[data-v-64ae2f1c]{flex:0 0 auto;padding-left:0;padding-right:0;width:auto}.legacy-recaptcha-wrap[data-v-64ae2f1c]{display:flex;justify-content:flex-start}",""]);const i=a},66262:(e,t)=>{t.A=(e,t)=>{const r=e.__vccOpts||e;for(const[e,n]of t)r[e]=n;return r}},76798:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(n)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(a[o]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);n&&a[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},86969:(e,t,r)=>{r.d(t,{A:()=>n.A});var n=r(10148)}}]);

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.