PageSourceSearch

https://www.otaghak.com/_next/static/chunks/pages/host-invite-a226362f577e9204.js

js otaghak.com collected 2026-10-02 20:32:34 UTC 17,917 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4fe5c3b7-701b-4be9-a9cb-b1a96b9defa0",e._sentryDebugIdIdentifier="sentry-dbid-4fe5c3b7-701b-4be9-a9cb-b1a96b9defa0")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[72263,79371],{28609:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/host-invite",function(){return t(21994)}])},51827:function(e,a,t){"use strict";t.d(a,{Z:function(){return x}});var n=t(52676),s=t(30511),i=t(81363),l=t(3343),r=t(21167),o=t(13421),c=t(11219),d=t(21626),m=t(34383),u=t.n(m),x=e=>{let{desktopImg:a,mobileImg:t,title:m,description:x,titleClassName:h,titleAreaClassName:p,showButton:f=!1,buttonLabel:g,onButtonClikc:v}=e,b=(0,s.useRouter)(),{isSmallScreen:j}=(0,c.Z)(),w=(0,i.hP)();return(0,n.jsxs)("div",{className:u().container,children:[(0,n.jsx)("div",{className:u().imageContainer,children:(0,n.jsx)(o.Z,{fill:!0,sizes:"100% auto",priority:!0,src:j?t:a,alt:"otaghak.com",className:"w-full static flex"})}),(0,n.jsx)("div",{className:"".concat(u().textContainer," ").concat(p),children:(0,n.jsxs)("div",{className:"".concat(u().textArea," ").concat(h),children:[(0,n.jsx)(r.Sx,{variant:"h1",customClass:"text-[21px] md:text-[24px]",children:m}),(0,n.jsx)(r.Sx,{variant:"body2",children:x})," ",f?(0,n.jsx)(d.zx,{trailingIcon:(0,n.jsx)(l.XdH,{}),onClick:()=>{v?null==v||v():b.push((null==w?void 0:w.accessToken)?"newProfile/host/room/":"/login?returnurl=/newProfile/host/room/")},children:null!=g?g:"ثبت رایگان اقامتگاه"}):null]})})]})}},85010:function(e,a,t){"use strict";t.r(a);var n=t(52676),s=t(13440),i=t.n(s),l=t(61385),r=t(21167),o=t(13421),c=t(17445),d=t(91996),m=t.n(d);a.default=()=>(0,n.jsxs)("div",{className:m().container,children:[(0,n.jsx)(c.Z,{variant:"h1",as:"p",children:"تماس با اتاقک"}),(0,n.jsxs)("div",{className:m().row,children:[(0,n.jsx)(r.Sx,{variant:"body3",children:"اتاقک سامانه هوشمند اجاره محل اقامت ویژه مسافران است و اکنون در بیش از 310 شهر فعال است. هدف از ایجاد اتاقک ترویج سفرهای اقتصادی، مناسب برای تمام افراد جامعه و گردشگران است. در همین راستا تلاش می‌کنیم اقامتگاه‌هایی امن را با کم‌ترین هزینه در اختیار کاربران قرار دهیم."}),(0,n.jsxs)(i(),{prefetch:!1,href:"tel: 02128111045",className:m().callButton,children:[(0,n.jsx)(o.Z,{src:"".concat(l.o8,"phone.svg"),alt:"Phone",width:24,height:24}),(0,n.jsx)("p",{children:"ارتباط با پشتیبانی 02128111045"})]})]})]})},25348:function(e,a,t){"use strict";t.r(a);var n=t(52676),s=t(13440),i=t.n(s),l=t(61385),r=t(7037),o=t(21167),c=t(13421),d=t(26392),m=t.n(d);a.default=()=>(0,n.jsx)("div",{className:m().container,children:(0,n.jsxs)("div",{className:m().row,children:[(0,n.jsx)(c.Z,{src:"".concat(l.o8).concat(l.Vk),alt:"اتاقک",className:"w-[88px] h-8 md:w-36 md:h-16",width:112,height:44}),(0,n.jsx)(o.Sx,{variant:"subtitle2",children:"با اتاقک همراه شوید"}),(0,n.jsx)("div",{className:m().socialMedia,children:r.socialMedia.map(e=>(0,n.jsx)(i(),{prefetch:!1,href:e.link,legacyBehavior:!0,rel:"nofollow",children:(0,n.jsx)("button",{className:m().buttons,children:(0,n.jsx)(c.Z,{width:24,height:24,src:l.UB+"/Icon/".concat(e.icon,".svg"),alt:"React"})})},e.name))}),(0,n.jsx)(o.Sx,{variant:"caption3",children:"کلیه حقوق این وب‌سایت متعلق به شرکت \xabگردشگر گستر خانه ما\xbb است 1402"})]})})},19062:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return d}});var n=t(52676),s=t(61385),i=t(21167),l=t(13421),r=t(95395),o=t(88577),c=t.n(o),d=()=>{let{isSmallScreen:e}=(0,r.iP)();return(0,n.jsxs)("div",{className:c().container,children:[(0,n.jsx)(i.Sx,{variant:"h1",customClass:"p-1 md:p-2",children:"مزایای میزبانی در اتاقک"}),(0,n.jsx)("div",{children:[{key:1,title:"قرار گرفتن در معرض دید بیش از 2,000,000 مهمان اتاقک\xa0",description:"روزانه بیش از هزاران نفر به سایت اتاقک سر می‌زنند و بیش از ۲ میلیون نفر در آن عضو هستند، بسیاری از آنها قصد مسافرت دارند و در جستجوی محل اقامت امن و تمیز هستند و احتمال زیادی دارد اقامتگاه شما را انتخاب کنند.",imageSrc:"HostBenefits1.svg"},{key:2,title:"ثبت ساده و رایگان اقامتگاه",description:"شما می‌توانید رایگان و به‌ راحتی، تنها با چند کلیک اقامتگاه خود را در سایت یا اپلیکیشن اتاقک ثبت کنید، ماهیانه درآمد کسب کنید و علاوه بر آن از مزایای میزبانی در اتاقک برخوردار شوید.",imageSrc:"HostBenefits2.svg"},{key:3,title:"پشتیبانی ۲۴ ساعته",description:"همکاران ما در اتاقک در تمام مراحل ثبت‌ اقامتگاه\xa0 و همچنین میزبانی از مهمانان در کنار شما هستند و در دوره‌های زمانی مختلف آموزش‌های لازم جهت افزایش درآمد را در اختیار شما قرار می‌دهند.",imageSrc:"HostBenefits3.svg"}].map(a=>(0,n.jsxs)("div",{className:c().card,children:[(0,n.jsx)("div",{className:"w-[88px] md:w-[116px] flex justify-center align-middle items-center",children:(0,n.jsx)(l.Z,{height:e?88:116,width:e?88:116,src:s.Am+"/Web/Icon/Host/".concat(null==a?void 0:a.imageSrc),alt:"otaghak.com",className:"static max-w-[88px ]md:max-w-[116px]"})}),(0,n.jsxs)("div",{className:c().cardText,children:[(0,n.jsx)(i.Sx,{variant:"subtitle2",children:null==a?void 0:a.title}),(0,n.jsx)(i.Sx,{variant:"caption3",children:null==a?void 0:a.description})]})]},a.key))})]})}},68474:function(e,a,t){"use strict";
1var n=t(52676),s=t(21167);a.Z=e=>{let{number:a,title:t,className:i}=e;return(0,n.jsxs)("div",{className:"".concat(i," flex items-center gap-1 md:gap-2"),children:[(0,n.jsx)(s.Sx,{variant:"h2",customClass:"flex justify-center items-center w-10 h-10 bg-Ruby text-white rounded-full",children:a}),(0,n.jsx)(s.Sx,{variant:"subtitle2",children:t})]})}},90320:function(e,a,t){"use strict";t.r(a);var n=t(52676),s=t(61385),i=t(21167),l=t(13421),r=t(68474);a.default=()=>(0,n.jsxs)("div",{className:"md:gap-3 p-4 md:px-16 md:py-5",children:[(0,n.jsx)(i.Sx,{variant:"h1",customClass:"p-1 md:p-2",children:"مزایای میزبانی در اتاقک"}),(0,n.jsxs)("div",{className:"relative flex gap-2 flex-col   justify-center md:items-center",children:[(0,n.jsx)(l.Z,{src:"".concat(s.Am,"/Web/Icon/Host/InfoGraphy.svg"),sizes:"100% auto",width:600,height:600,alt:"info"}),(0,n.jsx)(r.Z,{className:"relative md:absolute top-0 right-0 md:top-20 md:right-24 2xl:right-40",title:"درخواست ثبت اقامتگاه در اتاقک",number:1}),(0,n.jsx)(r.Z,{className:"relative md:absolute top-0 right-0 md:top-40 md:right-2/3 2xl:right-2/3",title:"پر کردن اطلاعات اقامتگاه",number:2}),(0,n.jsx)(r.Z,{className:"relative md:absolute top-0 right-0 md:top-72 md:right-24 2xl:right-40",title:"بررسی توسط کارشناسان اتاقک و تایید اطلاعات",number:3}),(0,n.jsx)(r.Z,{className:"relative md:absolute top-0 right-0 md:top-96 md:right-2/3 2xl:right-2/3",title:"ثبت نهایی و آغاز کسب درآمد",number:4})]})]})},77180:function(e,a,t){"use strict";t.d(a,{u:function(){return i}});var n=t(42679),s=t(25783);let i=e=>({useGetAllCities:async()=>{let a=await (0,s.fJ)(e);return(0,n.Ck)(a,"api")},useSaveHostRequestInfo:async e=>{let a=await (0,s.Zy)(e);return(0,n.Ck)(a,"api")}})},25783:function(e,a,t){"use strict";t.d(a,{Ev:function(){return c},Zy:function(){return o},fJ:function(){return r}});var n=t(42679),s=t(81363),i=t(95803),l=t(48598);let r=async e=>{try{return await (0,s.Wu)(e,i.x.getAllCities).get(l.m.getAllCities)}catch(e){throw e}},o=async e=>{try{return await n.ZP.post(l.m.saveHostRequestInfo,{...e})}catch(e){throw e}},c=async()=>{try{return await n.ZP.get(l.m.getAllHostFeedback)}catch(e){throw e}}},33755:function(e,a,t){"use strict";t.d(a,{f:function(){return n}});let n=e=>{let a=[];return Array.isArray(e)&&e.map(e=>{a.push({value:e.cityId,title:e.faName})}),a}},21994:function(e,a,t){"use strict";t.r(a),t.d(a,{__N_SSP:function(){return R},default:function(){return G}});var n=t(52676),s=t(35599),i=t.n(s),l=t(75271),r=t(61385),o=t(51827),c=t(21167);t(85010),t(25348),t(19062);var d=t(17445),m=t(11219),u=t(46887);t(87855),t(28808),t(98620);var x=t(85675);let h=i()(()=>t.e(32508).then(t.bind(t,32508)),{loadableGenerated:{webpack:()=>[32508]},loading:()=>(0,n.jsx)(c.gb,{full:!0})});u.ZP.use([u.tl,u.pt]);var p=e=>{let{coreValuesItem:a,className:t=""}=e,{isSmallScreen:s}=(0,m.Z)();return(0,n.jsxs)("div",{className:"flex cursor-grab flex-col gap-2 md:gap-3 p-4 md:px-16 md:py-5 ",children:[(0,n.jsx)(d.Z,{variant:"h1",customClass:"p-1 md:p-2",as:"p",children:"نظرات میزبان‌های اتاقک"}),(0,n.jsx)(x.tq,{id:"HostComment",spaceBetween:16,loop:!0,autoplay:!0,slidesPerView:s?1:2,centeredSlides:!0,freeMode:!0,pagination:{clickable:!0},className:"w-full core-values-swiper-slider !pb-[35px] !px-4 ".concat(t),children:null==a?void 0:a.map((e,a)=>(0,n.jsx)(x.o5,{children:(0,n.jsx)(h,{data:e})},a))})]})};t(90320);var f=t(1671),g=t(18614),v=t(43047),b=t(33755),j=t(45708),w=t(87161),_=t(48109),N=t.n(_),y=t(77180),k=()=>{var e;let{globalConfigs:a}=(0,j.Z)(),{register:t,resetField:s,handleSubmit:i,formState:{errors:r},setValue:o,reset:d,getValues:m,control:u}=(0,f.cI)({mode:"onChange"}),{showSnackbar:x}=(0,w.Z)(),[h,p]=(0,l.useState)(),_={data:[{key:"1",errorSchema:{require:{value:!0,message:"نام و نام خانوادگی  اجباری است"},minLength:{value:2,message:"مینیمم کاراکتر باید 2 باشد"},pattern:{value:g.Qr,message:""},maxLength:{value:100,message:"تعداد کاراکتر نباید از 100 بیشتر باشد "}},placeHolder:"نام و نام‌خانوادگی را وارد کنید .",label:"نام و نام‌خانوادگی ",type:"text",data:[],name:"fullName",className:"w-full px-1 md:px-2",inputClassName:"!bg-white mt-1",labelClassName:"md:pt-2 pt-1 px-1 "},{key:"2",errorSchema:{require:{value:!0,message:"شماره موبایل اجباری است"},minLength:{value:11,message:"شماره موبایل 11 رقمی میباشد"},pattern:{value:g.E1,message:"الگوی شماره موبایل صحیح نیست "},maxLength:{value:11,message:"شماره موبایل 11 رقمی میباشد"}},label:"شماره موبایل",placeHolder:"شماره موبایل را وارد کنید .",type:"text",data:[],className:"w-full px-1 md:px-2",inputClassName:"!bg-white mt-1",labelClassName:"md:pt-2 pt-1 px-1 ",name:"mobileNumber"},{key:"3",errorSchema:{require:{value:!0,message:" شهر اجباری است"}},label:"شهر",placeHolder:" شهر محل سکونت را وارد کنید .",type:"autoComplete",data:h,className:"w-full px-1 md:px-2",inputClassName:"!bg-white mt-1",labelClassName:"md:pt-2 pt-1 px-1 ",name:"cityId"}]},k=async()=>{let e=await (0,y.u)(null==a?void 0:a.keys).useGetAllCities();e.success?p((0,b.f)(e.data)):setTimeout(()=>{k()},2e3)},C=async e=>{let t={...e}
1,n=await (0,y.u)(a.keys).useSaveHostRequestInfo(t);!0===n.data.isSaved?(x("درخواست شما با موفقیت ثبت شد!","success",2e3),d()):x(null==n?void 0:n.errorMessage,"error",4e3)};return(0,l.useEffect)(()=>{k()},[]),(0,n.jsxs)("div",{className:N().container,children:[(0,n.jsx)(c.Sx,{variant:"h1",customClass:"p-1 md:p-2",children:"فرم ثبت نام میزبانی در اتاقک"}),(0,n.jsx)("div",{className:N().formArea,children:(0,n.jsxs)("form",{onSubmit:i(C),autoComplete:"off",className:"flex flex-col w-full",children:[null==_?void 0:null===(e=_.data)||void 0===e?void 0:e.map((e,a)=>(0,n.jsx)("div",{className:"w-full",children:(0,n.jsx)(v.t7,{register:t,resetField:s,setValue:o,getValues:m,errors:r,labelClassName:null==e?void 0:e.labelClassName,placeHolder:null==e?void 0:e.placeHolder,errorSchema:null==e?void 0:e.errorSchema,label:null==e?void 0:e.label,name:null==e?void 0:e.name,type:null==e?void 0:e.type,disable:null==e?void 0:e.disable,inputClassName:null==e?void 0:e.inputClassName,className:null==e?void 0:e.className,ComboData:null==e?void 0:e.data,control:u},"".concat(null==e?void 0:e.key,"-").concat(a))},"".concat(null==e?void 0:e.key,"-").concat(a))),(0,n.jsx)(c.Sx,{variant:"caption3",customClass:"px-2 md:px-3 py-1 md:py-2",children:"پس از ثبت نام، اطلاعات ثبت اقامتگاه و شروع میزبانی برای‌تان ارسال می‌شود و تیم اتاقک همراه‌تان خواهد بود."}),(0,n.jsx)(c.op,{submitType:"submit",variant:"button2",className:"px-[10px] md:px-3 py-2 md:py-[10px] mt-2 md:mt-3",type:"primary",title:"ثبت نام"})]})})]})},C=t(13440),S=t.n(C),Z=t(13421),H=t(68053),A=t.n(H),I=()=>(0,n.jsx)("div",{className:A().container,children:(0,n.jsxs)("div",{className:A().row,children:[(0,n.jsx)(S(),{prefetch:!1,href:"/",children:(0,n.jsx)(Z.Z,{src:"".concat(r.o8).concat(r.Vk),alt:"اتاقک",className:"w-[80px] h-10 md:w-28 md:h-12",width:112,height:48})}),(0,n.jsx)(c.Sx,{variant:"body3",children:"حال خوب از اتاقک شروع میشه"})]})}),P=t(25783),B=t(26033),L=t(58465),E=t.n(L),T=()=>{let e=i()(()=>Promise.resolve().then(t.bind(t,85010)),{loadableGenerated:{webpack:()=>[85010]},loading:()=>(0,n.jsx)(c.gb,{full:!0})}),a=i()(()=>Promise.resolve().then(t.bind(t,25348)),{loadableGenerated:{webpack:()=>[25348]},loading:()=>(0,n.jsx)(c.gb,{full:!0})}),s=i()(()=>Promise.resolve().then(t.bind(t,19062)),{loadableGenerated:{webpack:()=>[19062]},loading:()=>(0,n.jsx)(c.gb,{full:!0})}),d=i()(()=>Promise.resolve().then(t.bind(t,90320)),{loadableGenerated:{webpack:()=>[90320]},loading:()=>(0,n.jsx)(c.gb,{full:!0})}),[m,u]=(0,l.useState)([]),x=async()=>{let e=await (0,P.Ev)();e.success&&u(e.data.value)};return(0,l.useEffect)(()=>{x()},[]),(0,n.jsxs)("div",{className:E().container,children:[(0,n.jsx)("div",{className:E().header,children:(0,n.jsx)(I,{})}),(0,n.jsxs)("div",{className:E().content,children:[(0,n.jsx)("div",{className:E().fullRow,children:(0,n.jsx)(o.Z,{desktopImg:r.Am+"/Web/images/host/Banner1.jpg",mobileImg:r.Am+"/Web/images/host/Banner2.jpg",title:"درآمد میلیونی با میزبانی در اتاقک",description:"با ثبت اقامتگاه خود در سایت اتاقک به جمع میزبانان ما بپیوندید و از درآمدزایی راحت و آسان جا نمونید!"})}),(0,n.jsxs)("div",{className:"".concat(E().row," flex flex-col md:flex-row  p-4 md:px-16 md:py-5"),children:[(0,n.jsx)("div",{className:"flex basis-5/12",children:(0,n.jsx)(k,{})}),(0,n.jsx)("div",{className:"flex basis-7/12",children:(0,n.jsx)(s,{})})]}),(0,n.jsx)("div",{className:E().row,children:(0,n.jsx)(d,{})}),(0,n.jsxs)("div",{className:E().row,children:[(0,n.jsx)(p,{coreValuesItem:m}),(0,n.jsx)(e,{})]})]}),(0,n.jsx)(B.Z,{children:(0,n.jsx)("div",{className:E().footer,children:(0,n.jsx)(a,{})})})]})},R=!0,G=()=>(0,n.jsx)(T,{})},34383:function(e){e.exports={container:"Banner_container__39jgQ",imageContainer:"Banner_imageContainer__A5OO1",textContainer:"Banner_textContainer__Ezz23",textArea:"Banner_textArea__XCn6n"}},91996:function(e){e.exports={container:"ContactUs_container__VgAil",row:"ContactUs_row__Eb_XA",callButton:"ContactUs_callButton__BPCsf"}},26392:function(e){e.exports={container:"Footer_container__PtKF1",row:"Footer_row__kclt5",socialMedia:"Footer_socialMedia__LGMp_"}},88577:function(e){e.exports={container:"HostBenefits_container__QwCg6",card:"HostBenefits_card__2xXJG",cardText:"HostBenefits_cardText__sRrQw"}},48109:function(e){e.exports={container:"HostSignUp_container__4gaS_",formArea:"HostSignUp_formArea__MDQpc"}},68053:function(e){e.exports={container:"Navbar_container__K4m33",row:"Navbar_row__Pr9kK"}},58465:function(e){e.exports={container:"Landing_container__X5RzI",header:"Landing_header__hhapi",content:"Landing_content__EfwPu",row:"Landing_row__U8YHf",fullRow:"Landing_fullRow__ilKnH",footer
1:"Landing_footer__Ss0Vu"}},28808:function(){},98620:function(){},87855:function(){},7037:function(e){"use strict";e.exports=JSON.parse('{"links":{"typeOne":[{"name":"تماس با ما","link":"/contact-us"},{"name":"وبلاگ اتاقک","link":"https://www.otaghak.com/blog/"},{"name":"میزبان شوید","link":"/host"},{"name":"درباره تیم اتاقک","link":"/about-us"},{"name":"راهکارهای سازمانی","link":"https://landing.otaghak.com/corporate-collaboration/#api","target":"_blank"}],"typeTwo":[{"name":"سوالات متداول","link":"/faq"},{"name":"قوانین و مقررات رزرو","link":"/term-of-service"},{"name":"قوانین و راهنمای میزبان ","link":"/host-rules"},{"name":"خط مشی کیفیت اتاقک","link":"/quality-policy"}]},"socialMedia":[{"name":"instagram","link":"https://www.instagram.com/otaghakcom/","icon":"InstagramLogo","fName":"اینستاگرام"},{"name":"Telegram","link":"https://t.me/otaghak_com","icon":"TelegramLogo","fName":"تلگرام"},{"name":"Linkedin","link":"https://www.linkedin.com/company/otaghak/","icon":"LinkedinLogo","fName":"لینکدین"},{"name":"X","link":"https://x.com/otaghak","icon":"x","fName":"توییتر"},{"name":"Youtube","link":"https://www.aparat.com/otaghak","icon":"Aparat","fName":"آپارات"}]}')}},function(e){e.O(0,[85675,92888,49774,40179],function(){return e(e.s=28609)}),_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.