PageSourceSearch

https://salamsakhteman.com/_next/static/chunks/8436-b50866437583ca04.js

js salamsakhteman.com collected 2026-10-02 06:47:36 UTC 13,574 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="162aa369-d302-441a-ae22-674f5da75d3e",e._sentryDebugIdIdentifier="sentry-dbid-162aa369-d302-441a-ae22-674f5da75d3e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8436],{18436:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>M});var i=t(74848),a=t(20665),l=t(64651),s=t(2276),o=t(24253),r=t(18158),d=t(55391),c=t(14953),u=t.n(c),p=t(29965),_=t.n(p),m=t(86715),v=t(96540),h=t(64047),f=t(12748),x=t(85619),b=t(80006),g=t(13195),C=t(35538),j=t(24908),y=t.n(j);let w=u()(()=>Promise.all([t.e(369),t.e(3342),t.e(3049),t.e(296),t.e(9722),t.e(7266)]).then(t.bind(t,97341)),{loadableGenerated:{webpack:()=>[97341]}}),N=u()(()=>Promise.all([t.e(9951),t.e(4789)]).then(t.bind(t,24789)),{loadableGenerated:{webpack:()=>[24789]}}),k=u()(()=>Promise.all([t.e(369),t.e(1320)]).then(t.bind(t,31320)),{loadableGenerated:{webpack:()=>[31320]}}),L=u()(()=>t.e(5119).then(t.bind(t,5119)),{loadableGenerated:{webpack:()=>[5119]}});function M(){let{data:e}=(0,s.V)(),{mutate:n,data:t,isError:c,isSuccess:u,isLoading:p}=(0,d.Tk)(),{data:j,mutate:M,isError:I,isSuccess:E,isLoading:T}=(0,r.bL)(),P=(0,m.useRouter)(),[F,S]=(0,v.useState)({}),[D,V]=(0,v.useState)({}),[H,A]=(0,v.useState)(!1),{data:B}=(0,o.PV)(),{data:G}=(0,o.lh)({enabled:!!F.province,params:{province:F.province}}),q=()=>{let e={},n=!0;return void 0===(null==F?void 0:F.lastname)||(null==F?void 0:F.lastname.match(l.A.FA_NAME))||(n=!1,e.lastname="نام‌خانوادگی باید شامل حروف باشد"),(null==F?void 0:F.lastname)||(n=!1,e.lastname="نام‌خانوادگی نمیتواند خالی باشد"),void 0===(null==F?void 0:F.phoneNumber)||(null==F?void 0:F.phoneNumber.match(l.A.PHONE_NUMBER))||(n=!1,e.phoneNumber="لطفا شماره‌تلفن صحیح وارد نمایید"),(null==F?void 0:F.phoneNumber)||(n=!1,e.phoneNumber="شماره‌تلفن نمیتواند خالی باشد"),F.province||(n=!1,e.province="استان نمیتواند خالی باشد"),F.city||(n=!1,e.city="شهر نمیتواند خالی باشد"),V(e),n},O=n=>{var t,i;return null==e?void 0:null===(i=e.data)||void 0===i?void 0:null===(t=i.find(e=>e.name===n))||void 0===t?void 0:t._id},Q=()=>{var e,n,t,i,a,l,s,o;return{location:{province:F.province,city:F.city},submitInfo:{formType:null!==(a=null===(e=P.query)||void 0===e?void 0:e.form_type)&&void 0!==a?a:"second-form",sourcePage:window.location.href,previousPage:localStorage.getItem("prevPath")},visitTime:null==F?void 0:F.visitTime,unstructuredData:null!==(l=null===(n=P.query)||void 0===n?void 0:n.unstructured_data)&&void 0!==l?l:"Contractor",serviceType:null!==(s=null===(t=P.query)||void 0===t?void 0:t.service_type)&&void 0!==s?s:"cabinet",serviceTypeId:O(null!==(o=null===(i=P.query)||void 0===i?void 0:i.service_type)&&void 0!==o?o:"cabinet"),forceVerify:!1}};return(0,v.useEffect)(()=>{u&&M({user:t.data._id,...Q()})},[u]),(0,v.useEffect)(()=>{if(E){var e,n,i;A(!0),f.A.setProject({id:j.data._id,createdDate:j.data.createdAt,project:j.data}),b.A.setUser({...t.data,id:null===(e=t.data)||void 0===e?void 0:e._id,token:null===(n=t.data)||void 0===n?void 0:n.token,projectId:null===(i=j.data)||void 0===i?void 0:i._id})}},[E]),(0,v.useEffect)(()=>{c&&(0,g.r)({message:"درخواست شما با مشکل مواجه شد، لطفا مجدد تلاش نمایید",status:"error",duration:3})},[I,c]),(0,i.jsxs)("section",{className:y().consulting+" flex",children:[(0,i.jsx)(_(),{src:"/images/product/consultingBackgroun
1d.webp",alt:"مشاوره",layout:"fill",objectFit:"cover"}),(0,i.jsx)("div",{className:"container w100 flex flex-column jcc align-i-center",children:H?(0,i.jsx)(w,{lastname:F.lastname,closeScrollUp:!0,handleOtherMaterials:()=>{A(!1)}}):(0,i.jsxs)("div",{className:"m-0 flex flex-row  jcb align-i-center w100 align-center flex-column-mb",children:[(0,i.jsxs)("div",{className:y().content__consulting,children:[(0,i.jsx)("span",{className:y().wrapper__content,children:(0,i.jsx)("svg",{viewBox:"0 0 135 136",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("g",{opacity:"0.22",children:(0,i.jsx)("path",{d:"M84.6563 28.4102C90.1504 29.4821 95.1997 32.1691 99.1579 36.1273C103.116 40.0855 105.803 45.1348 106.875 50.6289M84.6563 5.91016C96.071 7.17823 106.715 12.2899 114.841 20.4058C122.968 28.5218 128.093 39.1596 129.375 50.5727M123.75 95.4601V112.335C123.756 113.902 123.436 115.452 122.808 116.888C122.18 118.323 121.26 119.612 120.105 120.671C118.951 121.73 117.588 122.536 116.104 123.038C114.62 123.54 113.048 123.726 111.488 123.585C94.1785 121.704 77.5519 115.79 62.9438 106.316C49.3528 97.6801 37.8301 86.1574 29.1938 72.5664C19.6874 57.8919 13.7714 41.1845 11.9251 23.7977C11.7845 22.2422 11.9693 20.6744 12.4679 19.1943C12.9664 17.7142 13.7676 16.354 14.8206 15.2005C15.8736 14.047 17.1552 13.1254 18.5839 12.4943C20.0125 11.8633 21.557 11.5366 23.1188 11.5352H39.9938C42.7237 11.5083 45.3701 12.475 47.44 14.255C49.5098 16.0351 50.8617 18.507 51.2438 21.2102C51.9561 26.6105 53.277 31.913 55.1813 37.0164C55.9381 39.0297 56.1019 41.2178 55.6533 43.3214C55.2047 45.4249 54.1624 47.3558 52.65 48.8852L45.5063 56.0289C53.5138 70.1113 65.1739 81.7714 79.2563 89.7789L86.4 82.6352C87.9294 81.1228 89.8603 80.0806 91.9638 79.6319C94.0674 79.1833 96.2555 79.3471 98.2688 80.1039C103.372 82.0082 108.675 83.3291 114.075 84.0414C116.807 84.4269 119.303 85.8032 121.087 87.9086C122.871 90.0139 123.819 92.7015 123.75 95.4601Z",stroke:"white",strokeWidth:"8",strokeLinecap:"round",strokeLinejoin:"round"})})})}),(0,i.jsx)("span",{className:y().title__content,children:(0,i.jsx)("h4",{children:"مشاوره رایگان"})}),(0,i.jsx)("span",{className:y().caption__content,children:(0,i.jsx)("p",{children:"مشاوره و آگاهی از محدوده قیمت منصفانه"})}),(0,i.jsxs)("form",{onSubmit:e=>{if(e.preventDefault(),q()){var t;let e={name:"",lastname:F.lastname,phoneNumber:(null===(t=F.phoneNumber)||void 0===t?void 0:t.length)<11?"0"+F.phoneNumber:F.phoneNumber,province:F.province,city:F.city};(0,x.q)(()=>({...e,...Q()})),n(e),h.A.event({category:"Submit",action:"Click",label:"submitForm3"})}},className:y().form__content,children:[(0,i.jsxs)("div",{className:y().input__form+" _validate input_block pb-sm pt-xxs",children:[(0,i.jsx)("input",{className:"c-input ".concat((null==D?void 0:D.lastname)&&"input_error"),name:"lastname",placeholder:"نام‌خانوادگی",onChange:e=>S(n=>({...n,lastname:e.target.value})),value:null==F?void 0:F.lastname}),(null==D?void 0:D.lastname)&&(0,i.jsx)("span",{className:"input_alert",children:null==D?void 0:D.lastname})]}),(0,i.jsxs)("div",{className:y().input__form+" _validate input_block pb-sm pt-xxs",children:[(0,i.jsx)(L,{classNames:"c-input w100-mb ".concat((null==D?void 0:D.province)&&"input_error"),placeHolder:"انتخاب اØ
1³ØªØ§Ù†",list:null==B?void 0:B.data,keyProps:"_id",labelProps:"name",name:"province",dataListId:"provinces",fields:F,changeHandle:S,validate:!0}),(null==D?void 0:D.province)&&(0,i.jsx)("span",{className:"input_alert",children:null==D?void 0:D.province})]}),(0,i.jsxs)("div",{className:y().input__form+" _validate input_block pb-sm pt-xxs",children:[(0,i.jsx)(L,{classNames:"c-input w100-mb ".concat((null==D?void 0:D.city)&&"input_error"),placeHolder:F.province?"انتخاب شهر":"ابتدا استان را انتخاب کنید",list:null==G?void 0:G.data,name:"city",keyProps:"_id",labelProps:"name",dataListId:"cities",fields:F,changeHandle:S,disabled:!F.province,validate:!0}),(null==D?void 0:D.city)&&(0,i.jsx)("span",{className:"input_alert",children:null==D?void 0:D.city})]}),(0,i.jsx)("div",{className:"pb-sm pt-xxs _validate input_block",children:(0,i.jsx)(N,{type:"tel",inputMode:"numeric",name:"phoneNumber",placeholder:"شماره همراه",onChange:e=>S({...F,phoneNumber:(0,C.Ay)(e.target.value)}),value:F.phoneNumber,error:null==D?void 0:D.phoneNumber,prefix:"98+",icon:(0,i.jsx)("svg",{width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M6.15783 1.53777L2.68986 1.9231C1.76017 2.0264 1.04319 2.76376 1.14081 3.69407C1.38486 6.01973 2.53425 10.6055 7.46361 15.5348C12.3929 20.4641 16.9793 21.6142 19.3054 21.8587C20.2358 21.9565 20.9734 21.2394 21.0767 20.3096L21.462 16.842C21.5501 16.0493 21.1588 15.2801 20.4663 14.8845L17.9822 13.4654C17.1992 13.0181 16.2136 13.1501 15.576 13.7878L14.9387 14.4251C14.4658 14.8979 13.7844 15.098 13.1801 14.8117C12.464 14.4725 11.4291 13.8435 10.2927 12.7071C9.15635 11.5707 8.52726 10.5358 8.18807 9.81973C7.90179 9.2154 8.10187 8.53398 8.57471 8.06113L9.212 7.42384C9.84967 6.78617 9.98172 5.80061 9.53439 5.01756L8.1153 2.53347C7.7197 1.84097 6.95048 1.4497 6.15783 1.53777Z",stroke:"#72816E",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})}),(0,i.jsx)("div",{className:y().input__form+" input_block pb-sm pt-xxs",children:(0,i.jsx)(L,{classNames:"c-input w100-mb",placeHolder:"زمان اجرای پروژه",list:null===a.Vm||void 0===a.Vm?void 0:a.Vm.items,name:"visitTime",dataListId:"visitTime",fields:F,changeHandle:S})}),(0,i.jsxs)("button",{type:"submit",disabled:T||p,className:"primary__btn w100 py-xs marY-xs flex align-i-center jcc",id:"submit_form",children:[(T||p)&&(0,i.jsx)(k,{color:"#fff"}),"درخواست مشاوره رایگان"]})]}),(0,i.jsxs)("span",{className:y().rules__content,children:["وارد کردن شماره‌تلفن به معنی پذیرش ",(0,i.jsx)("a",{href:"https://salamsakhteman.com/blog/%d9%82%d9%88%d8%a7%d9%86%db%8c%d9%86-%d8%b3%d8%a7%db%8c%d8%aa-%d8%b3%d9%84%d8%a7%d9%85-%d8%b3%d8%a7%d8%ae%d8%aa%d9%85%d8%a7%d9%86/",children:"شرایط و قوانین"})," می‌باشد"]})]}),(0,i.jsx)("div",{className:y().satisfaction_title__content+" relative align-center m-auto",children:(0,i.jsx)("h5",{children:"بیش از 96Ùª رضایت کاربران از مشاوره رایگان تلفنی"})})]})})]})}},55391:(e,n,t)=>{"use strict";t.d(n,{HI:()=>p,Qc:()=>r,So:()=>c,Tk:()=>o,VI:()=>u,be:()=>s,vz:()=>d,yO:()=>_});var i=t(62761),a=t(43221),l=t(75942);function s(e){var n;return(0,l.useQuery)(["user",e],()=>(0,a.w)(e),{enabled:!!(null===(n=null==e?void 0:e.enabled)||void 0===n||n)&&!!e.id})}let o=()=>(0,l.useMutation)(e=>(0,i.kg)(e)),r=()=>(0,l.useMutation)(e=>(0,i.TK)(e));function d(){return(0,l.useMutation)(e=>(0,i.iD)(e))}function c(){return(0,l.useMutation)(e=>(0,i.$5)(e))}function u(){return(0,l.useMutation)(e=>(0,i.MX)(e))}function p(){return(0,l.useMutation)(e=>(0,i.qp)(e))}function _(){return(0,l.useMutation)(e=>(0,i.VN)(e))}},13195:(e,n,t)=>{"use strict";t.d(n,{r:()=>r}),t(21772);var i=t(74848),a=t(8455),l=t.n(a);function s(e){let{status:n,message:t}=e;return(0,i.jsxs)("div",{className:l().message+" flex flex-row align-i-center",children:["success"===n?(0,i.jsx)("svg",{width:"30",height:"30",viewBox:"0 0 31 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.822311 14.8224C0.869437 10.8445 2.49487 7.04815 5.34105 4.26862C8.18722 1.4891 12.021 -0.0459506 15.9989 0.00117547C19.9769 0.0483015 23.7732 1.67374 26.5528 4.51991C29.3323 7.36608 30.8673 11.1998 30.8202 15.1778C30.7731 19.1558 29.1476 22.9521 26.3015 25.7316C23.4553 28.5112 19.6215 30.0462 15.6436 29.9991C11.6656 29.9519 7.86928 28.3265 5.08976 25.4803C2.31023 22.6342 0.775185 18.8004 0.822311 14.8224H0.822311ZM14.8893 21.4095L23.6526 10.7166L22.1074 9.4502L14.635 18.5643L9.4708 14.1568L8.1727 15.6776L14.8892 21.4115L14.8893 21.4095Z",fill:"#5FD068"})}):"error"===n&&(0,i.jsxs)("svg",{id:"Layer_1",version:"1.1",viewBox:"0 0 512 512",children:[(0,i.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"SVGID_1_",x1:"256",x2:"256",y1:"512",y2:"-9.094947e-013",children:[(0,i.jsx)("stop",{offset:"0",style:{stopColor:"#E73827"}}),(0,i.jsx)("stop",{offset:"1",style:{stopColor:"#F85032"}})]}),(0,i.jsx)("circle",{cx:"256",cy:"256",fill:"url(#SVGID_1_)",r:"256"}),(0,i.jsx)("path",{d:"M268.7,256l119.6-119.6c3.2-3.2,3.2-8.3,0-11.4c-3.2-3.2-8.3-3.2-11.4,0L257.2,244.6L135.1,122.5  c-3.2-3.2-8.3-3.2-11.4,0c-3.2,3.2-3.2,8.3,0,11.4L245.8,256L123.7,378.1c-3.2,3.2-3.2,8.3,0,11.4c1.6,1.6,3.7,2.4,5.7,2.4  c2.1,0,4.1-0.8,5.7-2.4l122.1-122.1l119.6,119.6c1.6,1.6,3.7,2.4,5.7,2.4c2.1,0,4.1-0.8,5.7-2.4c3.2-3.2,3.2-8.3,0-11.4L268.7,256z",fill:"#FFFFFF"})]}),(0,i.jsx)("p",{children:null!=t?t:""})]})}var o=t(40961);function r(e){var n=e.duration;let t=document.getElementById("message"),a=setInterval(()=>{if(n>0)n-=1;else{var e;clearInterval(a),null==l||null===(e=l.parentNode)||void 0===e||e.removeChild(l)}},1e3);if(null==t){var l=document.createElement("div");l.id="message",document.body.appendChild(l),o.render((0,i.jsx)(s,{message:e.message,status:e.status}),document.getElementById("message"))}}},8455:e=>{e.exports={message:"_message_message__sMFTx"}},24908:e=>{e.exports={consulting:"_consulting_consulting__1JMQT",content__consulting:"_consulting_content__consulting__hOceC",title__content:"_consulting_title__content__zpR98",caption__content:"_consulting_caption__content__anuBl",wrapper__content:"_consulting_wrapper__content__SNgmf",form__content:"_consulting_form__content__lZLZx",input__form:"_consulting_input__form__dQJtj",rules__content:"_consulting_rules__content__ONCTL",satisfaction_title__content:"_consulting_satisfaction_title__content__PwFQQ"}}}]);

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.