PageSourceSearch

https://arboniashop.ru/_next/static/chunks/863-730a8b239e686808.js

js arboniashop.ru collected 2026-10-07 12:02:18 UTC 10,326 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[863],{1892:function(e,t,n){var r=n(85893),i=n(60990),s=n(97182),l=n(96788),o=n(61769),a=n(84677),x=n(67294);t.Z=e=>{let{webhook:t="https://arufefet.beget.app/webhook/calc-notify",successUrl:n="https://homekomfort.ru/thanks",store:d="default",privacyUrl:p="/privacy",termsUrl:c="/agreement"}=e,[h,m]=(0,x.useState)(""),[g,u]=(0,x.useState)(""),[j,f]=(0,x.useState)(""),[b,y]=(0,x.useState)(""),[Z,k]=(0,x.useState)(""),[S,v]=(0,x.useState)(["whatsapp","telegram"]),[w,B]=(0,x.useState)(!1),[C,z]=(0,x.useState)(!1),[R,T]=(0,x.useState)(!1),[_,P]=(0,x.useState)(!1),[W,A]=(0,x.useState)(null),[D,E]=(0,x.useState)(""),[F,I]=(0,x.useState)(""),[L,N]=(0,x.useState)(null),[O,q]=(0,x.useState)(!1),H=(0,x.useRef)(null),Q=(0,x.useMemo)(()=>W?W.name:"Файл не выбран",[W]),J=e=>{v(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},M=e=>{if(!e){A(null),E("");return}if(e.size>5242880){A(null),E("Файл слишком большой! Выберите файл до 5Мб."),H.current&&(H.current.value="");return}A(e),E("Выбран: ".concat(e.name))},Y=async e=>{if(e.preventDefault(),O)return;let r=w&&C,i=!h.trim()||!g.trim()||!b.trim()||0===S.length||!r;if(T(!w),P(!C),i){I("Пожалуйста, заполните все поля, выберите способ связи и подтвердите оба согласия."),N("err");return}q(!0),I(""),N(null);try{let e=new FormData;e.append("store",d),e.append("name",h.trim()),e.append("email",g.trim()),e.append("city",j.trim()),e.append("whatsapp",Z.trim()),e.append("wishes",b.trim()),e.append("channels",JSON.stringify(S)),W&&e.append("file",W);let r=await fetch(t,{method:"POST",body:e}),i=await r.json();if("OK"===i.status){I("Успешно! Перенаправляем..."),N("ok"),window.setTimeout(()=>{window.location.href=n},600);return}throw Error("Request failed")}catch(e){I("Не удалось отправить, пожалуйста, попробуйте позже."),N("err"),q(!1)}},K=R||_;return(0,r.jsxs)(i.Z,{component:"form",onSubmit:Y,sx:{position:"relative",bgcolor:"#fff",border:"1px solid #d9dde5",borderRadius:"16px",padding:{xs:"16px",sm:"20px"}},children:[O&&(0,r.jsxs)(i.Z,{sx:{position:"absolute",inset:0,bgcolor:"rgba(255,255,255,0.75)",backdropFilter:"blur(3px)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:1,zIndex:2,borderRadius:"16px"},children:[(0,r.jsx)(s.Z,{size:34}),(0,r.jsx)(l.Z,{sx:{fontSize:"14px",color:"#333"},children:"Отправляем данные..."})]}),(0,r.jsx)(l.Z,{sx:{fontWeight:600,marginBottom:"6px"},children:"Как нам с Вами связаться?"}),(0,r.jsx)(l.Z,{sx:{color:"#6b6b6b",fontSize:"12px",marginBottom:"10px"},children:"Выберите наиболее удобный для Вас канал, чтобы получить расчёт:"}),(0,r.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",gap:"8px",marginBottom:"14px"},children:[(0,r.jsxs)("label",{children:[(0,r.jsx)("input",{type:"checkbox",checked:S.includes("whatsapp"),onChange:()=>J("whatsapp")})," ","WhatsApp"]}),(0,r.jsxs)("label",{children:[(0,r.jsx)("input",{type:"checkbox",checked:S.includes("telegram"),onChange:()=>J("telegram")})," ","Telegram"]}),(0,r.jsxs)("label",{children:[(0,r.jsx)("input",{type:"checkbox",checked:S.includes("email"),onChange:()=>J("email")})," ","Электронная почта"]})]}),(0,r.jsx)(l.Z,{sx:{fontWeight:600,marginBottom:"6px"},children:"Ваши пожелания"}),(0,r.jsxs)(i.Z,{sx:{marginBottom:"12px"},children:[(0,r.jsxs)(l.Z,{sx:{fontSize:"12px",color:"#555",marginBottom:"6px"},children:["Ваши требования и пожелания в свободной форме:",(0,r.jsx)("span",{style:{color:"#b00020"},children:"*"})]}),(0,r.jsx)("textarea",{value:b,onChange:e=>y(e.target.value),placeholder:"Модель, цвет, размеры, бюджет...",style:{width:"100%",minHeight:"90px",borderRadius:10,border:"1px solid #e0e0e0",padding:"10px 12px"}})]}),(0,r.jsx)(i.Z,{sx:{height:"1px",bgcolor:"#f0f0f0",marginY:"14px"}}),(0,r.jsx)(l.Z,{sx:{fontWeight:600,marginBottom:"6px"},children:"Контактная информация"}),(0,r.jsxs)(i.Z,{sx:{marginBottom:"10px"},children:[(0,r.jsxs)(l.Z,{sx:{fontSize:"12px",color:"#555",marginBottom:"6px"},children:["Как к вам можно обращаться",(0,r.jsx)("span",{style:{color:"#b00020"},children:"*"})]}),(0,r.jsx)("input",{type:"text",value:h,onChange:e=>m(e.target.value),placeholder:"Имя",style:{width:"100%",borderRadius:10,border:"1px solid #e0e0e0",padding:"10px 12px"}})]}),(0,r.jsxs)(i.Z,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",sm:"1fr 1fr"},gap:"12px",marginBottom:"10px"},children:[(0,r.jsxs)(i.Z,{children:[(0,r.jsx)(l.Z,{sx:{fontSize:"12px",color:"#555",marginBottom:"6px"},children:"Телефон"}),(0,r.jsx)("input",{type:"text",value:Z,onChange:e=>k(e.target.value),placeholder:"+7 (999) 123-45-67",style:{width:"100%",borderRadius:10,border:"1px solid #e0e0e0",padding:"10px 12px"}})]}),(0,r.jsxs)(i.Z,{children:[(0,r.jsxs)(l.Z,{sx:{fontSize:"12px",color:"#555",marginBottom:"6px"},children:["Ваша электронная почта",(0,r.jsx)("span",{style:{color:"#b00020"},children:"*"})]}),(0,r.jsx)("input",{type:"email",value:g,onChange:e=>u(e.target.value),placeholder:"Электронная почта",style:{width:"100%",borderRadius:10,border:"1px solid #e0e0e0",padding:"10px 12px"}})]})]}),(0,r.jsxs)(i.Z,{sx:{marginBottom:"12px"},children:[(0,r.jsxs)(l.Z,{sx:{fontSize:"12px",color:"#555",marginBottom:"6px"},children:["Город. Для расчёта доставки",(0,r.jsx)("span",{style:{color:"#b00020"},children:"*"})]}),(0,r.jsx)("input",{type:"text",value:j,onChange:e=>f(e.target.value),placeholder:"Город",style:{width:"100%",borderRadius:10,border:"1px solid #e0e0e0",padding:"10px 12px"}})]}),(0,r.jsxs)(i.Z,{sx:{marginBottom:"10px"},children:[(0,r.jsx)(l.Z,{sx:{fontSize:"12px",color:"#555",marginBottom:"6px"},children:"Прикрепите фото или смету (до 5Мб)"}),(0,r.jsx)("input",{type:"file",ref:H,onChange:e=>{var t;return M((null===(t=e.target.files)||void 0===t?void 0:t[0])||null)},accept:"*/*"}),(0,r.jsx)(l.Z,{sx:{fontSize:"12px",color:"#666",marginTop:"4px"},children:Q}),D?(0,r.jsx)(l.Z,{sx:{fontSize:"12px",color:W?"#0a7a2f":"#b00020",marginTop:"2px"},children:D}):null]}),(0,r.jsxs)(i.Z,{sx:{marginTop:"10px",padding:"14px",borderRadius:"10px",border:"1px solid",borderColor:K?"#c8102e":"#d3d3d3",backgroundColor:"#f2eff0"},children:[(0,r.jsx)(l.Z,{sx:{fontSize:"12px",color:"#6a6a6a",marginBottom:"10px"}
1,children:"Для отправки формы необходимо подтвердить согласие с условиями обработки персональных данных и правилами использования сайта."}),(0,r.jsxs)("label",{style:{display:"block",fontSize:"12px",color:"#555",marginBottom:"8px"},children:[(0,r.jsx)("input",{type:"checkbox",checked:w,onChange:e=>{B(e.target.checked),e.target.checked&&C&&(T(!1),P(!1))},required:!0,style:{marginRight:8}}),"Я подтверждаю согласие на обработку персональных данных в соответствии с"," ",(0,r.jsx)(o.Z,{href:p,target:"_blank",rel:"noopener noreferrer",underline:"hover",children:"Политикой конфиденциальности"})]}),(0,r.jsxs)("label",{style:{display:"block",fontSize:"12px",color:"#555"},children:[(0,r.jsx)("input",{type:"checkbox",checked:C,onChange:e=>{z(e.target.checked),e.target.checked&&w&&(T(!1),P(!1))},required:!0,style:{marginRight:8}}),"Я принимаю условия"," ",(0,r.jsx)(o.Z,{href:c,target:"_blank",rel:"noopener noreferrer",underline:"hover",children:"Пользовательского соглашения"})]}),K?(0,r.jsx)(l.Z,{sx:{fontSize:"12px",color:"#c8102e",marginTop:"10px"},children:"Подтвердите согласие с Политикой конфиденциальности и Пользовательским соглашением."}):null]}),(0,r.jsx)(i.Z,{sx:{display:"flex",justifyContent:"center",marginTop:"16px"},children:(0,r.jsx)(a.Z,{type:"submit",variant:"contained",disabled:O,sx:{backgroundColor:"#ef7d00",borderRadius:"10px",padding:"10px 16px",minWidth:{xs:"100%",sm:"360px"},"&:hover":{backgroundColor:"#cf6d00"}},children:"Получить расчёт стоимости"})}),F?(0,r.jsx)(l.Z,{sx:{marginTop:"10px",textAlign:"center",fontWeight:500,color:"ok"===L?"#0a7a2f":"#b00020"},children:F}):null]})}},69142:function(e,t,n){var r=n(85893),i=n(60990),s=n(68573),l=n(96788),o=n(22452);n(67294);var a=n(4298),x=n.n(a),d=n(9565);t.Z=e=>{let{header:t,subheader:n,breadcrumbs:a}=e,p={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:(a||[]).map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@type":"WebPage","@id":"https://arboniashop.ru".concat(e.link),name:e.title}}))};return(0,r.jsxs)(r.Fragment,{children:[a&&a.length>0?(0,r.jsx)(x(),{id:"jsonld",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(p)}}):null,(0,r.jsx)(i.Z,{paddingY:"10px",paddingX:{xs:"10px",md:"20px"},sx:{backgroundColor:"#f6f6f6",borderBottom:"1px solid #e5e5e5",width:"100%"},children:a&&a.length>0?(0,r.jsxs)(s.ZP,{container:!0,justifyContent:"space-between",children:[(0,r.jsx)(s.ZP,{item:!0,children:null==a?void 0:a.map((e,t)=>t+1<a.length?(0,r.jsxs)(i.Z,{display:"inline",children:[(0,r.jsx)("a",{style:{textDecoration:"none"},href:e.link,itemProp:"item",children:(0,r.jsx)(l.Z,{sx:{...d.jH},display:"inline",itemProp:"name",children:e.title})}),(0,r.jsx)(l.Z,{sx:{...d.BQ},display:"inline",children:"\xa0\xa0>\xa0\xa0"})]},t):(0,r.jsx)(i.Z,{display:"inline",children:(0,r.jsx)(l.Z,{sx:{...d.j_},display:"inline",children:e.title})},t))}),(0,r.jsx)(s.ZP,{item:!0,children:(0,r.jsxs)(o.Z,{smDown:!0,children:[(0,r.jsx)(l.Z,{component:"h2",sx:{...d.d3},textAlign:"right",children:t}),(0,r.jsx)(l.Z,{component:"h2",sx:{...d.BQ},textAlign:"right",children:n})]})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Z,{component:"h2",sx:{...d.d3},textAlign:"right",children:t}),(0,r.jsx)(l.Z,{component:"h2",sx:{...d.BQ},textAlign:"right",children:n})]})})]})}}}]);

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.