1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="585463b1-b6e4-4bb9-ac84-92bbdd0bf0f3",e._sentryDebugIdIdentifier="sentry-dbid-585463b1-b6e4-4bb9-ac84-92bbdd0bf0f3")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[563],{8679:function(e,t,r){"use strict";var n=r(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var d=Object.defineProperty,p=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=f(r);o&&o!==h&&e(t,o,n)}var a=p(r);l&&(a=a.concat(l(r)));for(var s=c(t),m=c(r),y=0;y<a.length;++y){var b=a[y];if(!i[b]&&!(n&&n[b])&&!(m&&m[b])&&!(s&&s[b])){var g=u(r,b);try{d(t,b,g)}catch(e){}}}}return t}},4080:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/support",function(){return r(814)}])},814:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return O}});var n,o,i=r(5893),a=r(9008),s=r.n(a),c=r(7294),d=r(5697),p=r.n(d),l=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var m=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(f(t)),t.handleErrored=t.handleErrored.bind(f(t)),t.handleChange=t.handleChange.bind(f(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(f(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,h(t,e);var r=t.prototype;return r.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},r.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},r.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},r.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},r.executeAsync=function(){var e=this;return new Promise(function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()})},r.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},r.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},r.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},r.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},r.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},r.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},r.componentDidMount=function(){this.explicitRender()},r.componentDidUpdate=function(){this.explicitRender()},r.handleRecaptchaRef=function(e){this.captcha=e},r.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,l));return c.createElement("div",u({},t,{ref:this.handleRecaptchaRef}))},t}(c.Component);m.displayName="ReCAPTCHA",m.propTypes={sitekey:p().string.isRequired,onChange:p().func,grecaptcha:p().object,theme:p().oneOf(["dark","light"]),type:p().oneOf(["image","audio"]),tabindex:p().number,onExpired:p().func,onErrored:p().func,size:p().oneOf(["compact","normal","invisible"]),stoken:p().string,hl:p().string,badge:p().oneOf(["bottomright","bottomleft","inline"]),isolated:p().bool}
1,m.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var y=r(8679),b=r.n(y);function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var v={},x=0,w="onloadcallback";function _(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var S=(n=function(){var e=_(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+w+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+w+"&render=explicit"},o=(o={callbackName:w,globalName:"grecaptcha",attributes:_().nonce?{nonce:_().nonce}:{}})||{},function(e){var t=e.displayName||e.name||"Component",r=function(t){function r(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}r.prototype=Object.create(t.prototype),r.prototype.constructor=r,r.__proto__=t;var i=r.prototype;return i.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+x++),this.__scriptLoaderID},i.setupScriptURL=function(){return this.__scriptURL="function"==typeof n?n():n,this.__scriptURL},i.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},i.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=v[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[o.callbackName]},i.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=o,i=n.globalName,a=n.callbackName,s=n.scriptId;if(i&&void 0!==window[i]&&(v[t]={loaded:!0,observers:{}}),v[t]){var c=v[t];if(c&&(c.loaded||c.errored)){this.asyncScriptLoaderHandleLoad(c);return}c.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)};return}var d={};d[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},v[t]={loaded:!1,observers:d};var p=document.createElement("script");for(var l in p.src=t,p.async=!0,o.attributes)p.setAttribute(l,o.attributes[l]);s&&(p.id=s);var u=function(e){if(v[t]){var r=v[t].observers;for(var n in r)e(r[n])&&delete r[n]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),p.onload=function(){var e=v[t];e&&(e.loaded=!0,u(function(t){return!a&&(t(e),!0)}))},p.onerror=function(){var e=v[t];e&&(e.errored=!0,u(function(t){return t(e),!0}))},document.body.appendChild(p)},i.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===o.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=v[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===o.removeOnUnmount&&delete v[e])},i.render=function(){var t=o.globalName,r=this.props,n=(r.asyncScriptOnLoad,r.forwardedRef),i=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(i[t]=void 0!==window[t]?window[t]:void 0),i.ref=n,(0,c.createElement)(e,i)},r}(c.Component),i=(0,c.forwardRef)(function(e,t){return(0,c.createElement)(r,g({},e,{forwardedRef:t}))});return i.displayName="AsyncScriptLoader("+t+")",i.propTypes={asyncScriptOnLoad:p().func},b()(i,e)})(m);function O(){let[e,t]=(0,c.useState)({name:"",email:"",message:""}),[r,n]=(0,c.useState)(null),[o,a]=(0,c.useState)(""),d=r=>{let{name:n,value:o}=r.target;t({...e,[n]:o})},p=async n=>{if(n.preventDefault(),!r){a("Please complete the reCAPTCHA.");return}a("Sending...");try{(await fetch("/api/send-email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,captchaToken:r})})).ok?(a("Message sent successfully!"),t({name:"",email:"",message:""})):a("Failed to send message. Please try again.")}catch(e){a("An error occurred. Please try again.")}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s(),{"data-sentry-element":"Head","data-sentry-source-file":"support.tsx",children:(0,i.jsx)("title",{children:"Urgent Caller - Support"})}),(0,i.jsxs)("div",{className:"flex flex-col items-center justify-center p-4",children:[(0,i.jsx)("h1",{className:"text-2xl font-bold mb-3",children:"Something up? - Let us know."}),(0,i.jsxs)("form",{onSubmit:p,className:"bg-white p-2 rounded shadow-md w-full max-w-sm",children:[(0,i.jsxs)("div",{className:"mb-3",children:[(0,i.jsx)("label",{htmlFor:"name",className:"block text-black font-bold mb-2",children:"Name"}),(0,i.jsx)("input",{type:"text",id:"name",name:"name",value:e.name,onChange:d,className:"w-full p-2 border rounded text-black",required:!0})]}),(0,i.jsxs)("div",{className:"mb-3",children:[(0,i.jsx)("label",{htmlFor:"email",className:"block text-black font-bold mb-2",children:"Email"}),(0,i.jsx)("input",{type:"email",id:"email",name:"email",value:e.email,onChange:d,className:"w-full p-2 border rounded text-black",required:!0})]}),(0,i.jsxs)("div",{className:"mb-3",children:[(0,i.jsx)("label",{htmlFor:"message",className:"block text-black font-bold mb-2",children:"Message"}),(0,i.jsx)("textarea",{id:"message",name:"message",value:e.message,onChange:d,className:"w-full p-2 border rounded text-black",required:!0})]}),(0,i.jsxs)("div",{className:"flex flex-col items-center",children:[(0,i.jsx)("div",{className:"mb-3",children:(0,i.jsx)(S,{sitekey:"6LfHO8YqAAAAAGj0X1mSKcxI2RPswXwhL3BMf7Te",onChange:e=>{n(e)},"data-sentry-element":"ReCAPTCHA","data-sentry-source-file":"support.tsx"})}),(0,i.jsx)("button",{type:"submit",className:"bg-blue-500 text-white px-8 py-2 rounded hover:bg-blue-600 transition-colors",children:"Send"})]})]})]}),o&&(0,i.jsx)("p",{className:"mt-4 text-gray-700",children:o})]})}},9008:function(e,t,r){e.exports=r(4412)},2703:function(e,t,r){"use strict";var n=r(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
vendor: 2,822 bytes, lines 1-8
1:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},5697:function(e,t,r){e.exports=r(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9921:function(e,t){"use strict";/** @license React v16.13.1 2 * react-is.production.min.js 3 * 4 * Copyright (c) Facebook, Inc. and its affiliates. 5 * 6 * This source code is licensed under the MIT license found in the 7 * LICENSE file in the root directory of this source tree. 8 */var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,l=r?Symbol.for("react.concurrent_mode"):60111,u=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case p:case l:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case d:case u:case y:case m:case c:return e;default:return t}}case o:return t}}}function _(e){return w(e)===l}t.AsyncMode=p,t.ConcurrentMode=l,t.ContextConsumer=d,t.ContextProvider=c,t.Element=n,t.ForwardRef=u,t.Fragment=i,t.Lazy=y,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=f,t.isAsyncMode=function(e){return _(e)||w(e)===p},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===d},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===u},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===y},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===l||e===s||e===a||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===c||e.$$typeof===d||e.$$typeof===u||e.$$typeof===g||e.$$typeof===v||e.$$typeof===x||e.$$typeof===b)},t.typeOf=w},9864:function(e,t,r){"use strict";e.exports=r(9921)}},function(e){e.O(0,[888,774,179],function(){return e(e.s=4080)}),_N_E=e.O()}]);
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.