PageSourceSearch

https://soffa.mx/_next/static/chunks/10a8f732292c40aa.js

js soffa.mx collected 2026-10-09 21:59:45 UTC 10,335 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,214844,e=>{"use strict";var t=e.i(843476),i=e.i(647163);function a({className:e=""}){return(0,t.jsx)("svg",{className:(0,i.cn)("stroke-black stroke-2",e),viewBox:"0 0 30 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsxs)("g",{clipPath:"url(#clip0_171_751)",children:[(0,t.jsx)("path",{d:"M24.7331 19.8771H5.2978C4.18708 19.8763 3.12209 19.4351 2.33669 18.6505C1.5513 17.8659 1.1097 16.802 1.10889 15.6924V11.6001C1.1097 10.4906 1.5513 9.42666 2.33669 8.64207C3.12209 7.85748 4.18708 7.41634 5.2978 7.41553H24.7331C25.8438 7.41634 26.9088 7.85748 27.6942 8.64207C28.4796 9.42666 28.9212 10.4906 28.922 11.6001V15.6924C28.9156 16.8003 28.4722 17.8609 27.688 18.6443C26.9038 19.4277 25.8421 19.8706 24.7331 19.8771Z",strokeMiterlimit:"10"}),(0,t.jsx)("path",{d:"M28.8913 15.7233V22.7387C28.8905 23.8483 28.4489 24.9122 27.6635 25.6968C26.8781 26.4814 25.8131 26.9225 24.7024 26.9233H5.26704C4.15632 26.9225 3.09133 26.4814 2.30593 25.6968C1.52053 24.9122 1.07894 23.8483 1.07812 22.7387V15.0464",strokeMiterlimit:"10"}),(0,t.jsx)("path",{d:"M8.34693 12.8618V5.631C8.34572 5.03264 8.46279 4.43993 8.69145 3.88688C8.92011 3.33384 9.25584 2.83134 9.67938 2.40824C10.1029 1.98513 10.6059 1.64974 11.1595 1.42132C11.7132 1.1929 12.3065 1.07594 12.9055 1.07716H16.694C17.2929 1.07594 17.8863 1.1929 18.4399 1.42132C18.9935 1.64974 19.4965 1.98513 19.92 2.40824C20.3436 2.83134 20.6793 3.33384 20.908 3.88688C21.1366 4.43993 21.2537 5.03264 21.2525 5.631V12.8618",strokeMiterlimit:"10"})]})})}e.s(["default",()=>a])},745778,e=>{"use strict";var t=e.i(843476);function i({className:e="stroke-black"}){return(0,t.jsxs)("svg",{className:e,viewBox:"0 0 31 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M22.3767 11.5245C22.3767 6.29016 18.1334 2.04688 12.899 2.04688C7.66467 2.04688 3.42139 6.29016 3.42139 11.5245C3.42139 16.7589 7.66467 21.0022 12.899 21.0022C18.1334 21.0022 22.3767 16.7589 22.3767 11.5245Z",strokeWidth:"3",strokeMiterlimit:"10"}),(0,t.jsx)("path",{d:"M28.8459 27.4494L19.6309 18.2344",strokeWidth:"3",strokeMiterlimit:"10"})]})}e.s(["default",()=>i])},768662,e=>{"use strict";var t=e.i(843476),i=e.i(846932);function a({children:e}){return(0,t.jsx)(i.motion.div,{className:"relative",initial:{rotateY:0,opacity:.8},animate:{rotateY:[0,-20,0,20,0],opacity:[.8,1,1,1,.8,.8,1,1,1,.8,.8]},transition:{duration:30,ease:"easeInOut",repeat:1/0,repeatType:"loop"},children:e})}e.s(["default",()=>a])},269441,e=>{"use strict";var t,i=e.i(843476),a=e.i(271645);e.i(72180);var s=e.i(483014),l=e.i(745778),r=e.i(494201);e.i(908753);var n=e.i(484927),o=e.i(647163),c=e.i(948148),d=e.i(683268),m=((t={}).office="office",t.meetingRoom="meetingroom",t),x=e.i(618566);function u(){let e=(0,x.useRouter)(),[t,u]=(0,a.useState)(1),[p,h]=(0,a.useState)(m.meetingRoom),f=(0,c.useTranslations)("PageHome"),j=(0,c.useTranslations)("button");return(0,i.jsxs)("div",{className:(0,o.cn)("max-w-fit","relative md:absolute text-nowrap top-0 left-[50%] z-1 bg-white rounded-[10px] flex items-center transform translate-x-[-50%] shadow-md border border-brand-carbon_200","md:flex-nowrap md:h-[5.6rem] md:py-0 md:gap-x-14 md:space-y-0 md:px-10","flex-wrap h-fit py-3 space-x-0 space-y-5 px-5 "),children:[(0,i.jsx)("div",{className:"hidden 2xl:block whitespace-nowrap",children:(0,i.jsx)(n.Text18,{children:f("text_2_1")})}),(0,i.jsxs)("div",{className:"flex flex-wrap md:flex-nowrap items-center space-x-0 md:space-x-3 space-y-1 md:space-y-0 w-full md:w-fit",children:[(0,i.jsx)(n.Text14,{className:"font-NotoSansBold",children:f("text_2_2")}),(0,i.jsxs)("div",{className:"flex items-center space-x-0 md:space-x-2 justify-between w-full md:w-fit",children:[(0,i.jsx)(s.ButtonSearchPrimary,{className:"w-[48%] md:w-fit",isSelect:p==m.meetingRoom,onClick:()=>h(m.meetingRoom),children:j("MeetingRoom")}),(0,i.jsx)(s.ButtonSearchPrimary,{className:"w-[48%] md:w-fit",isSelect:p==m.office,onClick:()=>h(m.office),children:j("PrivateOffice")})]})]}),(0,i.jsxs)("div",{className:"w-full flex items-center space-x-3 justify-between md:justify-normal",children:[(0,i.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,i.jsx)(n.Text14,{className:"font-NotoSansBold",children:f("text_2_3")}),(0,i.jsx)("input",{value:t,onChange:e=>{u(Math.max(1,parseInt(e.target.value)||1))},className:(0,o.cn)("w-16 text-center",r.styleInput),type:"number",max:50})]}),(0,i.jsx)("div",{className:"group cursor-pointer",onClick:()=>{let i;return i=new URLSearchParams({capacity:`${t}`}).toString(),void e.push(`/spaces/${p}?${i}`)},children:(0,i.jsx)(l.default,{className:(0,o.cn)("w-8 h-8",d.configStrokeButton)})})]})]})}e.s(["default",()=>u],269441)},804534,e=>{"use strict";var t=e.i(843476),i=e.i(271645);e.i(411818);var a=e.i(986305),s=e.i(214844),l=e.i(273281);e.i(908753);var r=e.i(484927);function n({children:e,icon:i=l.default,onClick:a}){return(0,t.jsxs)("div",{className:"group text-center space-y-5 p-5 px-8 border border-brand-carbon_200 rounded-[20px] bg-brand-neutral_2 shadow-lg hover:bg-brand-primary curs
1or-pointer transition-200 hover:text-white h-full",onClick:a,children:[(0,t.jsx)(i,{className:"size-10 md:size-16 stroke-2 stroke-brand-secondary mx-auto group-hover:stroke-white transition-200"}),(0,t.jsx)(r.Text20,{children:e})]})}var o=e.i(948148),c=e.i(994814),d=e.i(653145),m=e.i(681307),x=e.i(874946),u=e.i(558425),p=e.i(618566),h=e.i(846696),f=e.i(759421);e.i(271371);var j=e.i(12050);e.i(187510);var v=e.i(744902);e.i(447097);var g=e.i(700198);e.i(615696);var w=e.i(23459);e.i(72180);var b=e.i(483014);function N({locale:e,buildings:a}){let s=(0,p.useRouter)(),[l,r]=(0,i.useTransition)(),n=(0,o.useTranslations)("form"),N=(0,o.useTranslations)("button"),y=m.z.object({name:m.z.string().min(1,n("validation.Required")),email:m.z.string().email(n("validation.InvalidEmailFormat")),capacity:m.z.string().min(1,n("validation.Required")),building:m.z.string(),detail:m.z.string().min(1,n("validation.Required"))}),C=(0,d.useForm)({resolver:(0,c.zodResolver)(y),defaultValues:{name:"",email:"",capacity:"",building:"",detail:""}});return(0,t.jsx)(x.Form,{...C,children:(0,t.jsxs)("form",{onSubmit:C.handleSubmit(function(t){let i={name:t.name,email:t.email,detail:t.detail,capacity:t.capacity};t.building&&(i.building=parseInt(t.building)),r(async()=>{try{let t=new u.Repository(e);await t.help.requestCustomSpace(i),C.reset(),s.push("/contact/finish_space")}catch(e){h.toast.error((0,f.messageError)(e,n),{description:"error"})}})}),className:"space-y-1",children:[(0,t.jsx)(x.FormField,{control:C.control,name:"name",render:({field:e})=>(0,t.jsx)(j.FormItemElement,{title:"Name",className:"w-full",children:(0,t.jsx)(v.InputText,{placeholder:"text_3",...e})})}),(0,t.jsx)(x.FormField,{control:C.control,name:"email",render:({field:e})=>(0,t.jsx)(j.FormItemElement,{title:"Email",className:"w-full",children:(0,t.jsx)(v.InputText,{placeholder:"text_1",...e})})}),(0,t.jsx)(x.FormField,{control:C.control,name:"capacity",render:({field:e})=>(0,t.jsx)(j.FormItemElement,{title:"NumberOfPersons",className:"w-full",children:(0,t.jsx)(v.InputText,{placeholder:"text_7",...e})})}),(0,t.jsx)(x.FormField,{control:C.control,name:"building",render:({field:e})=>(0,t.jsx)(j.FormItemElement,{title:"Location",className:"w-full",children:(0,t.jsx)(g.InputSelect,{placeholder:"text_5",...e,elements:a.map(e=>({value:`${e.id}`,tag:e.name}))})})}),(0,t.jsx)(x.FormField,{control:C.control,name:"detail",render:({field:e})=>(0,t.jsx)(j.FormItemElement,{title:"DetailsAboutYourApplication",className:"w-full",children:(0,t.jsx)(w.InputTextArea,{placeholder:"text_8",...e})})}),(0,t.jsx)("div",{className:"pt-4",children:(0,t.jsx)(b.ButtonLargePrimary,{type:"submit",load:l,children:N("SendRequest")})})]})})}function y({locale:e,buildings:l}){let c=(0,o.useTranslations)("PageHome"),d=(0,o.useTranslations)("keyword"),[m,x]=(0,i.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(a.DialogBase,{isOpen:m,setIsOpen:x,classNameContent:"max-w-xl text-center",children:[(0,t.jsx)(r.TextH3,{children:c("subtitle_12")}),(0,t.jsx)(r.Text18,{className:"",children:c("text_10")}),(0,t.jsx)("div",{children:(0,t.jsx)(N,{locale:e,buildings:l})})]}),(0,t.jsx)(n,{icon:s.default,onClick:()=>x(!0),children:d("CustomizedSpaces")})]})}e.s(["default",()=>y],804534)},907269,e=>{"use strict";var t=e.i(843476);e.i(72180);var i=e.i(483014);e.i(411818);var a=e.i(986305);e.i(398975);var s=e.i(513238);e.i(908753);var l=e.i(484927);let r=(0,e.i(475254).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);var n=e.i(948148),o=e.i(657688),c=e.i(271645);function d(){let[e,d]=(0,c.useState)(!1),m=(0,n.useTranslations)("PageHome"),x=(0,n.useTranslations)("button");return(0,t.jsx)(a.DialogBase,{isOpen:e,setIsOpen:d,classNameContent:"!max-w-[52rem] !p-0",children:(0,t.jsxs)("div",{className:"w-full flex h-100",children:[(0,t.jsx)("div",{className:"relative w-5/12 h-full hidden md:block",children:(0,t.jsx)(o.default,{src:"/img/pages/home/dialog.jpeg",alt:"dialog",fill:!0,style:{objectFit:"cover"}})}),(0,t.jsxs)("div",{className:"w-full md:w-7/12 relative flex items-center",children:[(0,t.jsx)("div",{className:"bg-brand-primary h-full absolute w-3 top-0 left-0"}),(0,t.jsxs)("div",{className:"w-full px-10 space-y-12",children:[(0,t.jsx)("object",{className:"h-10 md:h-14 mx-auto",type:"image/svg+xml",data:"/svg/logo/primary.svg","aria-label":"logo",children:"svg-logo"}),(0,t.jsxs)("div",{className:"w-full space-y-8 text-center",children:[(0,t.jsxs)(l.Text24,{className:"font-NotoSansBold flex space-x-2",children:[(0,t.jsx)(r,{size:24,className:"mt-1 shrink-0 stroke-3"}),(0,t.jsx)("div",{children:m("text_dialog_1")})]}),(0,t.jsx)(l.Text24,{className:"",children:m.rich("text_dialog_2",{bold:e=>(0,t.jsx)("span",{className:"font-NotoSansBold",children:e})})}),(0,t.jsx)("div",{className:"mx-auto w-fit",onClick:()=>d(!1),children:(0,t.jsx)(s.LocaleLinkPic,{href:"https://wa.me/+15557094051?text=Hello%Sóffa!",target:"_blank",children:(0,t.jsx)(i.ButtonLargePrimary,{children:x("text_10")})})})]})]})]})]})})}e.s(["default",()=>d],907269)}]);

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.