PageSourceSearch

https://uptkd.com/_next/static/chunks/app/%5Blocale%5D/contact/page-e6fe876f5a92d5ad.js

js uptkd.com collected 2026-10-02 22:26:58 UTC 4,309 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1961],{77600:function(e,t,r){Promise.resolve().then(r.bind(r,15827))},15827:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return f}});var n=r(50398),s=r(70255),a=r(26058),l=r(41296),o=r(21668),c=r(51235),i=r.n(c),x=r(62521),m=r(82226),p=r(74456),u=function(e){var t=e.value,r=e.name,n=e.placeholder,s=e.minwidth,a=e.minheight,o=e.onChange,c=e.className,i=e.required;return(0,l.jsx)("div",{className:"flex w-full sm:w-[400px] md:w-[600px] lg:w-full pb-[20px] ".concat(c),children:(0,l.jsx)("textarea",{value:t,name:r,placeholder:n,onChange:o,required:void 0!==i&&i,className:"flex-auto font-worksans-400 text-custom-purple border-1 border-custom-blue rounded-l-sm text-[14px] mt-[3px] pl-[10px] ".concat(a," ").concat(s)})})},d=r(71875),f=function(){var e,t=(0,x.useTranslations)(),r=(0,s._)((0,o.useState)("idle"),2),c=r[0],f=r[1],h=(e=(0,n._)(function(e){var t;return(0,a.Jh)(this,function(r){switch(r.label){case 0:if(e.preventDefault(),!e.currentTarget.checkValidity())return e.currentTarget.reportValidity(),[2];f("loading"),t=new FormData(e.currentTarget),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,i().post("/api/contact",{name:t.get("name"),email:t.get("email"),message:t.get("message"),mobile:t.get("mobile"),honey:t.get("honey")})];case 2:return r.sent(),f("success"),e.target.reset(),[3,4];case 3:return console.error(r.sent()),f("error"),[3,4];case 4:return[2]}})}),function(t){return e.apply(this,arguments)});return(0,o.useEffect)(function(){if("success"===c||"error"===c){var e=setTimeout(function(){return f("idle")},5e3);return function(){return clearTimeout(e)}}},[c]),(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(m.SU,{children:(0,l.jsxs)("form",{onSubmit:h,className:"lg:max-w-[600px] max-w-[500px] mx-[40px] pt-20",noValidate:!1,children:[(0,l.jsx)("p",{className:"text-white font-urbanist-700 text-[25px] md:text-[30px] lg:text-[40px] text-center mt-[40px] md:mt-[80px]",children:t("CONTACTO")}),(0,l.jsxs)("p",{className:"text-white text-center font-urbanist-700 text-[19px] mt-[12px]",children:["Up Sport Tecnology",(0,l.jsx)("br",{}),"Carretera Villalba N80, Zamora, ",t("Espa\xf1a"),(0,l.jsx)("br",{}),"+34654647828",(0,l.jsx)("br",{})]}),(0,l.jsx)("p",{className:"text-white text-center font-urbanist-700 text-[19px] md:text-[22px] lg:text-[30px] text-opacity-70 mb-[40px] mt-[20px]",children:t("Escr\xedbenos un mensaje y nos pondremos en contacto contigo lo antes posible")}),(0,l.jsxs)("div",{className:"sm:grid justify-center ",children:[(0,l.jsx)(p.Z,{type:"text",name:"name",placeholder:t("Nombre"),className:"sm:max-w-[330px] -mb-[10px]",required:!0}),(0,l.jsx)(p.Z,{type:"email",name:"email",placeholder:t("Email"),className:"sm:max-w-[330px] -mb-[10px]",required:!0}),(0,l.jsx)(p.Z,{type:"text",name:"mobile",placeholder:t("M\xf3vil"),className:"sm:max-w-[330px] -mb-[10px]"}),(0,l.jsx)(p.Z,{type:"text",name:"honey",autoComplete:"off",tabIndex:"-1",className:"hidden"}),(0,l.jsx)(u,{name:"message",placeholder:t("Mensaje"),className:"sm:max-w-[330px] h-[200px] -mb-[10px]",required:!0}),(0,l.jsx)("div",{className:"flex justify-end lg:w-[330px] mt-[5px]",children:(0,l.jsx)(d.ButtonPink,{type:"submit",className:"w-[135px]",children:(0,l.jsx)("span",{children:t("loading"===c?"ENVIANDO":"ENVIAR")})})}),(0,l.jsxs)("div",{className:"text-right mt-4 text-white",children:["success"===c&&(0,l.jsx)("p",{children:t("Mensaje enviado")}),"error"===c&&(0,l.jsxs)("p",{children:[t("Algo ha ido mal, prueba m\xe1s tarde")," "]})]})]})]})})})}},9383:function(e,t,r){"use strict";var n=r(21668),s=Symbol.for("react.element"),a=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function i(e,t,r){var n,a={},i=null,x=null;for(n in void 0!==r&&(i=""+r),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(x=t.ref),t)l.call(t,n)&&!c.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:s,type:e,key:i,ref:x,props:a,_owner:o.current}}t.Fragment=a,t.jsx=i,t.jsxs=i},41296:function(e,t,r){"use strict";e.exports=r(9383)}},function(e){e.O(0,[2521,8300,2583,919,2226,6980,6600,1744],function(){return e(e.s=77600)}),_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.