PageSourceSearch

https://www.soni.ltd.uk/_next/static/chunks/787.acefbcb666ca7cb1.js

js soni.ltd.uk collected 2026-10-02 03:58:46 UTC 1,635 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[787],{4787:function(e,r,t){t.r(r),t.d(r,{DynamicBlockContactForm:function(){return m}});var a=t(5893),i=t(7294),n=t(259),s=t(2371),u=t(6310);let l=u.Ry({first_name:u.Z_().required(),last_name:u.Z_().required(),email_address:u.Z_().email().required(),phone_number:u.Z_().required(),subject:u.Z_().required(),query:u.Z_().required()});var o=t(1163);let c=e=>{let{paragraph:r}=e,t=(0,o.useRouter)(),[u,c]=(0,i.useState)(),{executeRecaptcha:m}=(0,n.xX)(),d=(0,i.useCallback)(async()=>{if(m)return await m("enquiryFormSubmit")},[m]);(0,i.useEffect)(()=>{d()},[d]);let _=async e=>{let r=await d();if(!r)return c("error");let a=await l.validate(e);if(!a)return c("error");let i={first_name:a.first_name,last_name:a.last_name,subject:a.subject,telephone:a.phone_number,email:a.email_address,message:a.query,captcha_token:r,webform_id:"general_enquiry"},n=await fetch("/api/contact",{method:"POST",body:JSON.stringify(i)}),s=await n.json();if(200===n.status&&s.confirmation_url&&t.push(s.confirmation_url),n.status>=400)return c("error")};if("error"===u)return(0,a.jsx)(s.W2,{children:(0,a.jsx)(s.gJ,{isContentPageItem:!0,children:(0,a.jsx)("h5",{children:"There was a problem submitting your details. Please try again later."})})});let f={formTitle:r.field_title||"",onSubmit:_};return(0,a.jsx)("section",{className:"mb-20",children:(0,a.jsx)(s.t,{...f})})};function m(e){let{paragraph:r}=e;return(0,a.jsx)(n.pm,{reCaptchaKey:"6Lf3exorAAAAALF6eM7ukHw0wlCTlJiSjk4x037b",scriptProps:{async:!1,defer:!1,appendTo:"head",nonce:void 0},children:(0,a.jsx)(c,{paragraph:r})})}}}]);

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.