1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5563],{78636:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/support",function(){return a(28553)}])},70935:function(e,t,a){"use strict";var s=a(85893),n=a(47300),l=a(31331);t.Z=function(){let{searchFloatingCallButtonPhone:e}=(0,l.X)();return(0,s.jsxs)("div",{className:"mx-auto flex max-w-[420px] flex-col items-center py-8 text-center",children:[(0,s.jsx)("span",{className:"flex h-64 w-64 items-center justify-center rounded-full bg-primary-light",children:(0,s.jsx)("i",{"aria-hidden":"true",className:"icon-Phone text-28 text-primary-dark"})}),(0,s.jsxs)("p",{className:"mt-20 text-14 leading-26 font-r text-gray-6C6A7D",children:["Ø¨Ø±Ø§Û ØªÙ
اس با Ù¾Ø´ØªÛØ¨Ø§ÙÛ ÙÛØ¯ÙÙ
اترÛÙ¾ Ù
ÛâØªÙØ§ÙÛØ¯ از ساعت"," ",(0,s.jsx)("span",{className:"font-m text-black",children:"Û¹ ØµØ¨Ø ØªØ§ Û±Û² شب"})," با Ø´Ù
Ø§Ø±Ù Ø²ÛØ± در تÙ
اس Ø¨Ø§Ø´ÛØ¯"]}),(0,s.jsxs)("div",{className:"mt-20 w-full rounded-18 border-1 border-dashed border-gray-D2D2D7 bg-gray-F8F8F8 px-20 py-14",children:[(0,s.jsx)("span",{className:"block text-11 leading-18 font-r text-gray-77828F",children:"Ø´Ù
ار٠تÙ
اس"}),(0,s.jsx)("span",{dir:"ltr",className:"mt-2 block text-22 leading-32 font-b text-black",children:/^\d{11}$/.test(e)?`${e.slice(0,3)}-${e.slice(3)}`:e})]}),(0,s.jsxs)("div",{className:"mt-14 grid w-full grid-cols-2 overflow-hidden rounded-16 border-1 border-solid border-gray-F0F0F0",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center gap-y-2 border-l-1 border-solid border-gray-F0F0F0 px-12 py-14",children:[(0,s.jsx)("span",{className:"text-13 leading-20 font-m text-black",children:"اÙ
ÙØ± Ù
ÙÙ
Ø§ÙØ§Ù"}),(0,s.jsx)("span",{className:"text-12 leading-18 font-r text-gray-77828F",children:"داخÙÛ Û±"})]}),(0,s.jsxs)("div",{className:"flex flex-col items-center gap-y-2 px-12 py-14",children:[(0,s.jsx)("span",{className:"text-13 leading-20 font-m text-black",children:"اÙ
ÙØ± Ù
ÛØ²Ø¨Ø§ÙاÙ"}),(0,s.jsx)("span",{className:"text-12 leading-18 font-r text-gray-77828F",children:"داخÙÛ Û²"})]})]}),(0,s.jsx)("div",{className:"mt-20 w-full",children:(0,s.jsx)(n.Q,{href:`tel:${e}`,rightIcon:(0,s.jsx)("i",{className:"icon-Phone text-24 text-white"}),isFullWidth:!0,rounded:!0,children:"تÙ
اس با Ù¾Ø´ØªÛØ¨Ø§ÙÛ"})})]})}},28553:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return _},default:function(){return k}});var s=a(85893),n=a(11163),l=a(67294),r=a(85945),i=a(36492),d=a(70530),c=a(91879),o=a(31138),x=a(89987),m=a(47416),u=a(83888),h=a(63871),p=a(34051),f=a(29238),g=a(57149);let b=e=>null==e?void 0:e.data;async function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"guest",t=await g.Z.setUrl("/api/faqs").setCallMethod("GET").setParams({path:`/support/${e}`}).call();return b(t)??{faqs:[]}}function j(e){let{role:t}=e,[a,n]=(0,l.useState)(null),{data:r,isLoading:d}
1=(0,i.a)(["getSupportFAQs",t],()=>y(t)),c=(null==r?void 0:r.faqs)??[];return d?(0,s.jsx)("div",{className:"flex justify-center py-40",children:(0,s.jsx)(h.O,{})}):0===c.length?(0,s.jsxs)("div",{className:"flex flex-col items-center py-40 text-center",children:[(0,s.jsx)("span",{className:"flex h-64 w-64 items-center justify-center rounded-full bg-gray-F8F8F8",children:(0,s.jsx)("i",{"aria-hidden":"true",className:"icon-Information text-28 text-gray-CACFD3"})}),(0,s.jsx)("p",{className:"mt-16 text-14 leading-24 font-m text-black",children:"ÙØ¹ÙØ§Ù Ø³ÙØ§ÙÛ Ø«Ø¨Øª ÙØ´Ø¯Ù"})]}):(0,s.jsx)("div",{className:"flex flex-col gap-y-10",children:c.map(e=>{let t=a===e.id;return(0,s.jsxs)("div",{className:`overflow-hidden rounded-18 border-1 border-solid transition-colors ${t?"border-primary-main border-opacity-30 bg-primary-light bg-opacity-30":"border-gray-F0F0F0 bg-white"}`,children:[(0,s.jsxs)("button",{type:"button",onClick:()=>n(t?null:e.id),"aria-expanded":t,className:"flex w-full items-center justify-between gap-x-12 px-16 py-14 text-right",children:[(0,s.jsx)("span",{className:"text-14 leading-24 font-m text-black",children:e.question}),(0,s.jsx)("span",{className:`flex h-28 w-28 shrink-0 items-center justify-center rounded-full transition-all ${t?"rotate-180 bg-primary-main text-white":"bg-gray-F8F8F8 text-gray-6C6A7D"}`,children:(0,s.jsx)("i",{"aria-hidden":"true",className:"icon-FlashDown text-16"})})]}),(0,s.jsx)("div",{className:`grid transition-all duration-200 ${t?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0"}`,children:(0,s.jsx)("div",{className:"overflow-hidden",children:(0,s.jsx)("div",{className:"px-16 pb-16 text-13 leading-24 font-r text-gray-6C6A7D",dangerouslySetInnerHTML:{__html:(0,f.sanitize)(e.answer)}})})})]},e.id)})})}var v=a(70935);let N=[{key:"chat",label:"ÚØª با Ù¾Ø´ØªÛØ¨Ø§ÙÛ"},{key:"faq",label:"Ø³ÙØ§Ùات Ù
تداÙÙ"},{key:"call",label:"تÙ
اس با Ù
ا"}];var F=function(){let e=(0,n.useRouter)(),t=(0,r.NL)(),a=(0,c.Gr)(),f=(null==a?void 0:a.id)??0,g=(0,o.a)("(min-width: 1024px)"),[b,y]=(0,l.useState)("chat"),F="string"==typeof e.query.c?e.query.c:null;(0,l.useEffect)(()=>{F&&y("chat")},[F]);let w=(0,l.useCallback)(t=>{let a={...e.query};t?a.c=t:delete a.c,e.push({pathname:e.pathname,query:a},void 0,{shallow:!0})},[e]),{data:_}=(0,i.a)({queryKey:["conversations","support","mine"],queryFn:d.Pi,enabled:"chat"===b&&!F});(0,l.useEffect)(()=>{"chat"===b&&!F&&_&&w(_)},[b,F,_,w]);let k=(0,l.useCallback)(e=>{var a;let s=null===(a=e.data)||void 0===a?void 0:a.conversation_id;s&&"message"===e.type&&(t.setQueryData(["messages",s],t=>{if(!t)return t;let a=e.data.message,s=t.items.some(e=>e.id===a.id||!!e.client_nonce&&e.client_nonce===a.client_nonce);return s?{...t,items:t.items.map(e=>e.client_nonce&&e.client_nonce===a.client_nonce?a:e)}:{...t,items:[...t.items,a]}}),t.invalidateQueries({queryKey:["conversations"]}),t.invalidateQueries({queryKey:["chat-unread"]}))},[t]);return(0,x.Q)(!!f,k),(0,s.jsxs)("div",{className:"pb-40 md:pb-0",children:[(0,s.jsx)("div",{className:"px-16 md:px-0",children:(0,s.jsx)(m.Z,{title:"Ù¾Ø´ØªÛØ¨Ø§ÙÛ",icon:(0,s.jsx)("i",{"aria-hidden":"true",className:"icon-OnlineContact text-24"}),containerClassname:"mb-16"})}),(0,s.jsx)("div",{className:"mb-16 px-16 md:px-0",children:(0,s.jsx)(u.Z,{activeIndex:N.findIndex(e=>e.key===b),onChange:e=>y(N[e].key),data:N.map((e,t)=>({tabLabel:e.label,tabIndex:t}))})}),"faq"===b&&(0,s.jsx)("div",{className:"rounded-24 bg-white px-16 py-20 md:border-1 md:border-solid md:border-gray-F0F0F0 md:p-24 md:shadow-[0_1px_3px_rgba(24,39,58,0.05)]",children:(0,s.jsx)(j,{role:(null==a?void 0:a.is_host)?"host":"guest"})}),"call"===b&&(0,s.jsx)("div",{className:"rounded-24 bg-white px-16 py-24 md:border-1 md:border-solid md:border-gray-F0F0F0 md:shadow-[0_1px_3px_rgba(24,39,58,0.05)]",children:(0,s.jsx)(v.Z,{})}),"chat"===b&&(0,s.jsx)("div",{className:"grid h-[calc(100dvh-260px)] min-h-[420px] grid-cols-1 overflow-hidden bg-white md:h-[calc(100vh-300px)] md:rounded-24 md:border-1 md:border-solid md:border-gray-F0F0F0 md:shadow-[0_1px_3px_rgba(24,39,58,0.05)]",children:F?(0,s.jsx)(p.Z,{conversationId:F,meId:f,isDesktop:g,typingFrom:null,onBack:()=>e.back()},F):(0,s.jsx)("div",{className:"flex h-full items-center justify-center",children:(0,s.jsx)(h.O,{})})})]})};let w=()=>(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(F,{})});var _=!0,k=w},31331:function(e,t,a){"use strict";a.d(t,{X:function(){return r}});var s=a(36492),n=a(29061);let l={footerPhoneVisible:!0,footerContactLinkVisible:!0,headerCallIconVisible:!0,residenceHeaderCallButtonVisible:!0,residenceHeaderCallButtonPhone:"02191070021",searchFloating
1CallButtonVisible:!0,searchFloatingCallButtonPhone:"02191070021"};function r(){let{data:e}=(0,s.a)(["site-settings","contact"],async()=>(await n.Z.get("/api/site-settings/contact")).data.data,{staleTime:3e5});return e??l}}},function(e){e.O(0,[9238,3776,9774,2888,179],function(){return e(e.s=78636)}),_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.