PageSourceSearch

https://taaghche.com/tmp/_next/static/chunks/pages/messagebox/send-a71b6352ac13f56d.js

js taaghche.com collected 2026-09-24 09:18:01 UTC 25,867 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6602],{22758:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/messagebox/send",function(){return t(43633)}])},32384:function(e,s,t){"use strict";var a=t(85893),n=t(67294),i=t(97163),r=t(67799),o=t(19497),l=t.n(o);s.Z=e=>{let{disable:s=!1,onClick:t,value:o,loading:c=!1,fill:d=!0,children:_,className:p,id:u,fullWidth:m=!0}=e,h=(0,n.useContext)(i.Ni);return(0,a.jsx)("div",{className:"".concat(m?l().container:""," ").concat(d?"":l().whiteButton," ").concat(h===r.Q2.dark?l().dark:""),children:(0,a.jsxs)("button",{type:"submit",onClick:t,className:"".concat(s&&!c?l().disable:""," ").concat(c?l().loading:""," ").concat(l().button," ").concat(p),id:null!=u?u:"",disabled:s&&!c,"data-cy":"loading-button",children:[(0,a.jsx)("div",{children:null!=_?_:o}),c&&(0,a.jsx)("div",{className:l().loadingio_spinner_dual_ring_1bxhex53aapi,children:(0,a.jsxs)("div",{className:l().ldio_mm4gd6v0nx,children:[(0,a.jsx)("div",{}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{})})]})})]})})}},14564:function(e,s,t){"use strict";var a=t(85893),n=t(67799),i=t(68547),r=t(59860),o=t.n(r);s.Z=e=>{let{appBrowser:s=n.OG.WebView}=e;return s===n.OG.WebView||void 0===s?(0,a.jsx)("div",{className:o().loading,children:(0,a.jsx)(i.Z,{})}):(0,a.jsx)(i.Z,{})}},68607:function(e,s,t){"use strict";var a,n,i,r;t.d(s,{m:function(){return a},n:function(){return n}}),(i=a||(a={}))[i.Picture=1]="Picture",i[i.Audio=2]="Audio",i[i.Video=3]="Video",i[i.DocsOrPdf=4]="DocsOrPdf",i[i.Other=5]="Other",(r=n||(n={}))[r.Support=0]="Support",r[r.SelectSubCategory=1]="SelectSubCategory",r[r.DisplayDescription=2]="DisplayDescription",r[r.SendMessage=3]="SendMessage"},30322:function(e,s,t){"use strict";t.d(s,{$C:function(){return l},CP:function(){return u},FC:function(){return o},G3:function(){return p},Sv:function(){return d},bG:function(){return c},hn:function(){return _}});var a=t(76446),n=t(93989);let i="/mybook/v4/file",r="/mybook/v4/inbox-category",o=e=>a.ZP.get("/v4/inbox-message",{...e&&{offset:e},sortAsc:!1},void 0,n.n2.mobileSession),l=e=>a.ZP.post("/v4/inbox-message/survey",e,void 0,n.n2.mobileSession),c=e=>a.ZP.post("/v4/inbox-message",e,void 0,n.n2.mobileSession),d=async e=>{var s;return await a.ZP.get(i+"?handle="+e,{},void 0,null!==(s=n.n2.mobileSession)&&void 0!==s?s:n.n2.userSession,void 0,void 0,!0)},_=e=>{var s;return a.ZP.get(i+"?handle="+e,{},void 0,null!==(s=n.n2.mobileSession)&&void 0!==s?s:n.n2.userSession,void 0,void 0,!0)},p=()=>a.ZP.get(r+"/checkThread",{}),u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return a.ZP.get(r,{parentId:e,type:s},void 0,n.n2.mobileSession)}},4461:function(e,s,t){"use strict";t.d(s,{F:function(){return l}});var a=t(85893),n=t(67294),i=t(49706),r=t(97163),o=t(14564);function l(e){return()=>{let{isAuthenticated:s,loading:t}=(0,n.useContext)(i.V),l=(0,n.useContext)(r.pB);return(0,n.useEffect)(()=>{s||t||window.location.replace("/login")},[t,s]),t?(0,a.jsx)(o.Z,{appBrowser:l}):s?(0,a.jsx)(e,{}):(0,a.jsx)(o.Z,{appBrowser:l})}}},43633:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return ei}});var a=t(85893),n=t(9008),i=t.n(n),r=t(87447),o=t(67294),l=t(68607),c=t(20859),d=t.n(c),_=t(41664),p=t.n(_),u=t(51567),m=t.
1n(u),h=t(97163),g=t(67799),x=()=>{let e=(0,o.useContext)(h.Ni)===g.Q2.dark?"dark":"";return(0,a.jsx)("div",{className:m().update_section,"data-theme":e,children:(0,a.jsxs)("div",{className:m().upper_section,children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:m().title,children:"از به روز بودن نسخه‌ خود مطمئن شوید"}),(0,a.jsx)("p",{className:m().subtitle,"data-theme":e,children:"پیش از ارسال پیام، لطفا از به‌روز بودن نسخۀ اپلیکیشن خود اطمینان حاصل کنید."})]}),(0,a.jsx)(p(),{href:"/download",children:(0,a.jsx)("div",{className:m().update_button,children:"ورود به صفحه به‌روزرسانی"})})]})})},v=t(46010),f=t.n(v),j=t(30322),b=t(4896),w=t(68547),N=e=>{let{categories:s,setCategories:t,setStatus:n,setSelectedCategory:i,selectedDevice:r,setSelectedDevice:c}=e,[d,_]=(0,o.useState)({}),p=(0,o.useContext)(h.Ni)===g.Q2.dark?"dark":"",u=(0,o.useContext)(b.uL),m=(0,o.useRef)(null),x=()=>{window.scrollTo({top:m.current.offsetTop-25,behavior:"smooth"})},v=[{value:g.Yi.Android,name:"اندروید",icon:(0,a.jsx)("span",{className:"icon-android"})},{value:g.Yi.iOS,name:"آی‌او‌اس",icon:(0,a.jsx)("span",{className:"icon-iOS"})},{value:g.Yi.Windows,name:"ویندوز",icon:(0,a.jsx)("span",{className:"icon-windows"})},{value:g.Yi.Web,name:"وبسایت",icon:(0,a.jsx)("span",{className:"icon-web"})}];(0,o.useEffect)(()=>{r&&(t([]),(0,j.CP)(null,r).then(e=>{if(e&&e.status===g.kF.Success){var s;t(e.categories),null===(s=e.categories)||void 0===s||s.forEach(e=>{N(e)})}else u({type:"push",value:{type:b.pC.Error,msg:null==e?void 0:e.message}})}))},[r]);let N=e=>{try{(0,j.hn)(e.iconPath).then(e=>e.text()).then(s=>_(t=>({...t,[e.id]:s})))}catch(e){console.error("Error downloading icon:",e)}},S=e=>{i(e),n(1)};return(0,a.jsxs)("div",{className:f().wrapper,children:[(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:f().description,children:"در کدام مورد نیاز به کمک دارید؟"}),(0,a.jsx)("div",{className:f().chips_wrapper,children:v.map(e=>(0,a.jsxs)("div",{className:f().device_chip,"data-selected":e.value===r,onClick:()=>{c(e.value),x()},"data-theme":p,children:[(0,a.jsx)("div",{className:f().logo,children:e.icon}),(0,a.jsx)("span",{className:f().name,children:e.name})]},e.name))})]}),(0,a.jsx)("div",{className:f().middle,ref:m,children:(0,a.jsx)(a.Fragment,{children:r?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:f().full_width,children:[(0,a.jsx)("p",{className:f().description,children:"سوال شما مربوط به کدام دسته‌بندی است؟"}),(0,a.jsx)("div",{className:f().category_list,children:(null==s?void 0:s.length)===0?(0,a.jsx)(w.Z,{}):null==s?void 0:s.map(e=>{var s;return(0,a.jsxs)("div",{className:f().category_wrapper,"data-theme":p,onClick:()=>S(e),children:[(0,a.jsxs)("div",{className:f().category_title,children:[d[e.id]&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:d[e.id]}}),(0,a.jsx)("span",{children:e.title})]}),(0,a.jsx)("div",{className:f().subcategories,children:null===(s=e.childCategories)||void 0===s?void 0:s.map(e=>e.title).join(" - ")})]},e.id)})})]}),(0,a.jsx)("button",{className:f().button,onClick:()=>{i(null),n(l.n.SendMessage)},"data-theme":p,children:"سوالم در موارد بالا نیست"})]}):(0,a.jsx)("div",{className:f().image_wrapper,children:(0,a.jsx)("img",{src:"/images/messagebox/emptyInbox.webp?w=500",alt:"",className:f().image})})})})]})},S=t(49404),k=t.n(S),y=()=>{let e=(0,o.useContext)(h.Ni)===g.Q2.dark?"dark":"";return(0,a.jsx)("div",{className:k().wrapper,children:[{title:"سوالات متداول",href:"https://kb.taaghche.com/knowledge-base/"},{title:"درخواست همکاری",href:"https://kb.taaghche.com/kbtopic/%d9%87%d9%85%da%a9%d8%a7%d8%b1%db%8c-%d8%a8%d8%a7-%d8%b7%d8%a7%d9%82%da%86%d9%87-%d8%a7%d9%86%d8%aa%d8%b4%d8%a7%d8%b1-%da%a9%d8%aa%d8%a7%d8%a8/"}].map(s=>(0,a.jsx)("div",{className:k().link_wrapper,children:(0,a.jsx)(p(),{href:s.href,children:(0,a.jsxs)("div",{className:k().link,"data-theme":e,children:[(0,a.jsx)("span",{children:s.title}),(0,a.jsx)("span",{className:"icon-chevron_left"})]})},s.title)},s.href))})},C=t(18277),q=t.n(C),M=e=>{let{faq:s,setSelectedCategory:t,setStatus:n,setSelectedSubCategory:i,setSelectedDevice:r}=e,[c,d]=(0,o.useState)([]),_=e=>{c.includes(e)?d(s=>s.filter(s=>s!==e)):d(s=>[...s,e])};return(0,a.jsxs)("div",{className:q().faq,children:[(0,a.jsx)("h2",{className:q().title,children:" سوالات پرتکرار"}),(0,a.jsx)("ul",{className:q().list,children:s.map(e=>{let s=c.includes(e.id);return(0,a.jsxs)("li",{className:q().item,onClick:()=>{_(e.id),t(e),i(null),n(l.n.DisplayDescription),r(g.Yi.FAQ)},children:[(0,a.jsxs)("div",{className:q().questionWrapper,style:{cursor:"pointer"},children:[(0,a.jsxs)("div",{className:q().questionContent,children:[(0,a.jsx)("img",{src:"/icons/question-mark.svg",alt:"faq",className:q().questionIcon}),(0,a.jsx)("h3",{className:q().question,children:e.title})]}),(0,a.jsx)("div",{className:"".concat(q().questionIcon," icon-chevron_left")})]}),(0,a.jsx)("div",{className:"".concat(q().answerWrapper," ").concat(s?q().answerOpen:q().answerClosed),children:(0,a.jsx)("div",{className:q().answer,dangerouslySetInnerHTML:{__html:e.htmlDescription}})})]},e.id)})})]})},P=e=>{let{categories:s,setCategories:t,setStatus:n,setSelectedCategory:i,selectedDevice:r,setSelectedDevice:l,setSelectedSubCategory:c,isInboxEmpty:_}=e,u=(0,o.useContext)(h.Ni),[m,v]=(0,o.useState)([]);return(0,o.useEffect)(()=>{(0,j.CP)(null,g.Yi.FAQ).then(e=>{e.categories.length,v(e.categories)})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:d().title,children:"راهنما و پشتیبانی"}),(0,a.jsxs)("div",{className:"container ".concat(d().container),"data-theme":u===g.Q2.dark?"dark":"",children:[!_&&(0,a.jsxs)(p(),{href:"/messagebox",className:"".concat(d().link_to_messages," ").concat(d().card),children:[(0,a.jsx)("p",{className:d().link_to_message_description,children:"مشاهده سوابق پیام شما"}),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:d().receivefile,children:(0,a.jsx)("span",{className:"icon-chevron_left"})})})]}),(0,a.jsx)(x,{}),m.length>0&&(0,a.jsx)(M,{setSelectedDevice:l,faq:m,setSelectedCategory:i,setStatus:n,setSelectedSubCategory:c}),(0,a.jsx)(N,{categories:s,setCategories:t,setStatus:n,setSelectedCategory:i,selectedDevice:r,setSelectedDevice:l}),(0,a.jsx)(y,{})]})]})},D=t(44419),Q=t(16516),A=t.n(Q),E=t(44619),F=t.n(E),I=e=>{let{items:s}=e,t=(0,o.useContext)(h.Ni)===g.Q2.dark?"dark":"";return(0,a.jsxs)("div",{className:F().navbar,"data-theme":t,children:[(0,a.jsx)("span",{className:"icon-chevron_right",onClick:s[s.length-1].goBack}),s.map((e,t)=>(0,a.jsxs)("div",{className:F().texts,children:[(0,a.jsx)("p",{onClick:e.goBack,children:e.title}),t<s.length-1&&(0,a.jsx)("p",{children:"\xa0/\xa0"})]},e.id))]})},L=e=>{let{selectedSubCategory:s,selectedCategory:t,setStatus:n,setSelectedDevice:i,selectedDevice:r}=e,c=(0,o.useContext)(h.Ni)===g.Q2.dark?"dark":"",d=()=>{r===g.Yi.FAQ&&i(null),n(l.n.Support)},_=()=>{r===g.Yi.FAQ&&i(null),n(l.n.SendMessage)};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"container ".concat(A().container),"data-theme":c,children:[(0,a.jsx)(I,{items:[{...t&&{...t,goBack:d}},...s?[{...s,goBack:()=>{r===g.Yi.FAQ&&i(null),n(l.n.SelectSubCategory)}}]:[]]}),(0,a.jsx)("div",{className:A().description,dangerouslySetInnerHTML:{__html:(null==s?void 0:s.htmlDescription)||(null==t?void 0:t.htmlDescription)}}),(0,a.jsxs)("div",{className:A().center,children:[(0,a.jsx)("p",{children:"نیاز به راهنمایی بیشتری دارید؟"}),(0,a.jsx)("button",{className:A().button,onClick:()=>{r===g.Yi.FAQ?d():_()},children:r===g.Yi.FAQ?"مشاهدۀ همۀ سوال‌ها":"ارسال پیام به پشتیبانی"})]})]})})},T=t(17294),O=t.n(T),Z=e=>{var s;let{selectedCategory:t,setStatus:n,setSelectedSubCategory:i,setSelectedDevice:r,selectedDevice:c}=e,d=(0,o.useContext)(h.Ni)===g.Q2.dark?"dark":"",_=e=>{c===g.Yi.FAQ&&r(null),i(e),n(l.n.DisplayDescription)};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"container ".concat(O().container),"data-theme":d,children:[(0,a.jsx)(I,{items:[{...t&&{...t,goBack:()=>{c===g.Yi.FAQ&&r(null),n(l.n.Support)}}}]}),(0,a.jsxs)("div",{className:O().center,children:[(0,a.jsx)("div",{className:O().category_list,children:null===(s=t.childCategories)||void 0===s?void 0:s.map(e=>(0,a.jsx)("div",{className:O().category_wrapper,onClick:()=>_(e),"data-theme":d,children:(0,a.jsx)("div",{className:O().category_title,children:(0,a.jsx)("span",{children:e.title})})},e.id))}),(0,a.jsx)("button",{className:O().button,onClick:()=>{i(null),n(l.n.SendMessage)},"data-theme":d,children:"سوالم در موارد بالا نیست"})]})]})})},B=t(72461),Y=t.n(B),W=t(68901),V=t(93989),H=function(e,s,t,a,n,i){let[c,d]=(0,o.useState)(!1),[_,p]=(0,o.useState)(0),u=(0,o.useContext)(b.uL),m=e=>{let s=e.toLowerCase();return/\.(jpg|jpeg|png)$/i.test(s)?l.m.Picture:/\.(mp3|3gpp)$/i.test(s)?l.m.Audio:/\.(mp4)$/i.test(s)?l.m.Video:/\.(d
1ocx|pdf)$/i.test(s)?l.m.DocsOrPdf:l.m.Other},h=e=>e.reduce((e,s)=>e+s.size,0),g=(0,o.useCallback)(async t=>{if(h([...a?e:e?[e]:[],...t])>1e3*i){u({type:"push",value:{type:b.pC.Error,msg:"حجم فایل/فایل‌های انتخابی بیش از حد مجاز است."}});return}for(let e of t){let t=new FormData;t.append("file",e);let a=new XMLHttpRequest;a.open("POST","".concat(r.Z.webApi.webApiServer,"/mybook/v4/file")),a.setRequestHeader("Session",V.n2.userSession),a.upload.addEventListener("progress",e=>{p(Math.round(100*e.loaded/e.total))}),a.onload=()=>{if(a&&a.status>=200&&a.status<300){let t=JSON.parse(a.responseText);s(s=>[...s||[],{name:e.name,type:m(e.name),...t}])}else u({type:"push",value:{type:b.pC.Error,msg:"خطا در آپلود فایل"}})},a.onerror=()=>{u({type:"push",value:{type:b.pC.Error,msg:"خطا در آپلود فایل"}})},d(!0),a.send(t),await new Promise(e=>{a.addEventListener("loadend",e)})}d(!1),p(0)},[e]),{getRootProps:x,getInputProps:v,isDragActive:f,isDragReject:j,fileRejections:w}=(0,W.uI)({onDrop:g,accept:t,multiple:a,disabled:n||c});return(0,o.useEffect)(()=>{w.length>0&&w.forEach(()=>{u({type:"push",value:{type:b.pC.Error,msg:"فرمت فایل انتخاب شده پشتیبانی نمی‌شود"}})})},[j,w]),{getRootProps:x,getInputProps:v,isDragActive:f,fileInfos:a?e:e?[e]:[],uploadProgress:_,uploading:c,handleCancelUpload:e=>{e.stopPropagation(),d(!1),p(0),a?s([]):s(null)},handleRemoveFile:(e,t)=>{t.stopPropagation(),a?s(s=>null==s?void 0:s.filter(s=>s.handle!==e.handle)):s(null)}}},X=t(93812),G=t.n(X),R=t(31806),z=t.n(R),K=e=>{let{progress:s}=e,t=(0,o.useContext)(h.Ni);return(0,a.jsx)("div",{className:z().container,children:(0,a.jsx)("div",{className:z().bar,style:{width:"".concat(s,"%")},children:(0,a.jsx)("span",{className:z().progress_text,"data-theme":t===g.Q2.dark?"dark":"",children:"".concat(s,"%")})})})},U=e=>{let{url:s,setUrl:t,accept:n,acceptMultiple:i=!0,disabled:r=!1,maxSize:l,setUploading:c}=e,d=(0,o.useContext)(h.Ni),{getRootProps:_,getInputProps:p,fileInfos:u,uploadProgress:m,uploading:x,handleRemoveFile:v}=H(s,t,n,i,r,l);(0,o.useEffect)(()=>{c(x)},[x]);let f=r||x;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:G().container,children:[(0,a.jsxs)("div",{children:[!f&&(0,a.jsx)("input",{...p()}),f?(0,a.jsxs)("div",{"data-disabled":!0,className:G().attachment_wrapper,"data-theme":d===g.Q2.dark?"dark":"",children:[(0,a.jsx)("span",{className:"icon-paper_clip"}),(0,a.jsx)("span",{children:"فایل‌های ضمیمه"})]}):(0,a.jsxs)("div",{..._(),"data-disabled":!1,className:G().attachment_wrapper,"data-theme":d===g.Q2.dark?"dark":"",children:[(0,a.jsx)("span",{className:"icon-paper_clip"}),(0,a.jsx)("span",{children:"فایل‌های ضمیمه"})]})]}),u.length>0&&(null==u?void 0:u.map(e=>{var s;return(0,a.jsxs)("div",{className:G().file_preview,children:[(0,a.jsx)("div",{className:G().icon,"data-disable":x,onClick:s=>v(e,s),children:(0,a.jsx)("span",{className:"icon-delete"})}),(0,a.jsxs)("div",{className:G().file_info,children:[(0,a.jsx)("span",{className:G().file_name,children:(null===(s=e.name)||void 0===s?void 0:s.length)>10?"..."+e.name.slice(0,9):e.name}),(0,a.jsx)("span",{children:"".concat((e.size/1e3).toFixed(2)," KB")})]})]},e.handle)})),x?(0,a.jsx)("div",{className:G().progress_bar_container,children:(0,a.jsx)(K,{progress:m})}):null]}),(0,a.jsx)("span",{className:G().max_info,children:"حداکثر حجم فایل‌ها ۲۰ مگابایت"})]})},J=t(11163),$=t(32384),ee=e=>{var s,t;let{selectedCategory:n,selectedSubCategory:i,lastThreadCategoryId:r,maxSize:c,setStatus:d}=e,_=(0,o.useContext)(h.Ni),[p,u]=(0,o.useState)(""),[m,x]=(0,o.useState)([]),[v,f]=(0,o.useState)(!1),[w,N]=(0,o.useState)(!1),S=(0,o.useContext)(b.uL),{push:k}=(0,J.useRouter)(),y=null!==(t=null!==(s=null==i?void 0:i.id)&&void 0!==s?s:null==n?void 0:n.id)&&void 0!==t?t:r;return(0,a.jsxs)("div",{className:"container ".concat(Y().container),"data-theme":_===g.Q2.dark?"dark":"",children:[(0,a.jsxs)("div",{className:Y().input_wrapper,"data-theme":_===g.Q2.dark?"dark":"",children:[(0,a.jsx)("span",{className:Y().name_wrapper,children:"پیامی از طرف شما"}),(0,a.jsx)("div",{className:Y().message,children:(0,a.jsx)("textarea",{onChange:e=>{u(e.target.value)},className:Y().textMessage,placeholder:"متن درخواست خود را با توضیحات کامل اینجا بنویسید ...","data-theme":_===g.Q2.dark?"dark":"",maxLength:4e3})}),(0,a.jsx)(U,{url:m,setUrl:x,accept:{"image/jpeg":[".jpg",".jpeg"],"image/png":[".png"],"video/mp4":[".mp4"],"audio/mpeg":[".mp3"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":[".docx"],"application/pdf":[".pdf"]},maxSize:c,setUploading:N}),(0,a.jsx)("div",{className:Y().send,children:(0,a.jsx)($.Z,{onClick:()=>{f(!0);let e=m.map(e=>({filePath:e.handle,fileSize:e.size,fileType:e.type}));(0,j.bG)({message:p.trim(),categoryId:y,files:e}).then(e=>{e&&e.status===g.kF.Success?(S({type:"push",value:{type:b.pC.Success,msg:"پیام شما با موفقیت ارسال شد."}}),k("/messagebox")):S({type:"push",value:{type:b.pC.Error,msg:e.message}})}).finally(()=>f(!1))},disable:0===p.trim().length||w||v,value:"ارسال پیام",loading:v,className:Y().sendLink,fullWidth:!1})})]}),(0,a.jsxs)("div",{className:Y().info_wrapper,children:[(0,a.jsx)("img",{src:"/images/messagebox/sendInfo".concat("",".webp")+"?w=500",alt:"",className:Y().image}),(0,a.jsx)("img",{src:"/images/messagebox/sendInfoMobile".concat("",".webp")+"?w=500",alt:"",className:Y().image}),(0,a.jsxs)("div",{className:Y().texts,children:[(0,a.jsxs)("p",{className:Y().supportHighTrafficText,children:["این روزها به دلیل حجم بالای پیام‌ها ممکن است دیر به پیام شما پاسخ بدهیم. پیشنهاد می‌کنیم برای حل سریع‌تر مشکل، ابتدا راهکار آن را در"," ",(0,a.jsx)("span",{onClick:()=>d(l.n.Support),className:Y().helpLink,children:"راهنمای صفحۀ قبل"})," ","جستجو کنید."]}),(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:"لطفا متن پیام خود را به صورت کامل و دقیق بنویسید و ارسال پیام را بزنید."}),(0,a.jsx)("li",{children:"همکاران ما در اسرع وقت، از شنبه تا چهارشنبه بین ساعت ۹ تا ۱۸ پاسخگوی شما هستند."}),(0,a.jsx)("li",{children:"لطفاً پیش از ارسال پیام، از به‌روز بودن نسخه اپلیکیشن خود اطمینان حاصل کنید."})]})]})]})]})},es=t(28159),et=t.n(es),ea=t(92331),en=()=>{let[e,s]=(0,o.useState)(void 0),[t,n]=(0,o.useState)(),[i,r]=(0,o.useState)(),[c,d]=(0,o.useState)(),[_,p]=(0,o.useState)(),[u,m]=(0,o.useState)(),[x,v]=(0,o.useState)(!0),[f,b]=(0,o.useState)(),[N,S]=(0,o.useState)(!0),k=(0,o.useContext)(h.Ni),y=(0,o.useContext)(h.pB),C=(0,o.useContext)(D.Xo),q=(0,o.useContext)(ea.b5),M=(0,o.useContext)(ea.qd),Q=()=>{window.scrollTo(0,0)};return((0,o.useEffect)(()=>(y===g.OG.WebView&&M({showHeader:!1,showMenu:!1}),q(!1),C({showFooter:!1,showCopyRight:!1}),()=>{q(!0),C({showFooter:!0,showCopyRight:!0}),M({showHeader:!0,showMenu:!0})}),[]),(0,o.useEffect)(()=>{S(!0),(0,j.G3)().then(e=>{e&&(m(e.categoryId),b(e.maxRequestLengthKB),v(!e.hadInboxMessage),e.hasOpenChat?s(l.n.SendMessage):s(l.n.Support))}).catch(e=>console.log(e)).finally(()=>S(!1))},[]),(0,o.useEffect)(()=>{e&&Q()},[e]),void 0===e||N)?(0,a.jsx)("div",{className:et().wrapper,"data-theme":k===g.Q2.dark?"dark":"",children:(0,a.jsx)(w.Z,{})}):e===l.n.Support?(0,a.jsx)("div",{className:et().wrapper,"data-theme":k===g.Q2.dark?"dark":"",children:(0,a.jsx)(P,{categories:i,setCategories:r,setStatus:s,setSelectedCategory:d,selectedDevice:t,setSelectedDevice:n,isInboxEmpty:x,setSelectedSubCategory:p})}):e===l.n.SelectSubCategory?(0,a.jsx)("div",{className:et().wrapper,"data-theme":k===g.Q2.dark?"dark":"",children:(0,a.jsx)(Z,{selectedCategory:c,setStatus:s,setSelectedSubCategory:p,setSelectedDevice:n,selectedDevice:t})}):e===l.n.DisplayDescription?(0,a.jsx)("div",{className:et().wrapper,"data-theme":k===g.Q2.dark?"dark":"",children:(0,a.jsx)(L,{selectedCategory:c,setStatus:s,selectedSubCategory:_,setSelectedDevice:n,selectedDevice:t})}):e===l.n.SendMessage?(0,a.jsx)("div",{className:et().wrapper,"data-theme":k===g.Q2.dark?"dark":"",children:(0,a.jsx)(ee,{selectedCategory:c,selectedSubCategory:_,lastThreadCategoryId:u,maxSize:f,setStatus:s})}):void 0},ei=(0,t(4461).F)(()=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i(),{children:[(0,a.jsx)("title",{children:"صندوق پیام | ".concat(r.Z.appNameFA)}),(0,a.jsx)("meta",{name:"description",content:"پیام هایی که شما ارسال میکنید"}),(0,a.jsx)("link",{rel:"start",href:"https://taaghche.com",title:"Home"}),(0,a.jsx)("meta",{name:"robots",content:"noindex"}),(0,a.jsx)("meta",{name:"og:title",content:"ارسال پیام | طاقچه"}),(0,a.jsx)("meta",{name:"og:url",content:"https://taaghche.com/messagebox/send"}),(0,a.jsx)("meta",{name:"og:description",content:"پیام هایی که شما ارسال میکنید"})]}),(0,a.jsx)(en,{})]}))},19497:function(e){e.exports={container:"loading_container__r5Dqf",button:"loading_button__IqYmh",disable:"loading_disable__15IOS",loading:"loading_loading__dGpg2",ldio_mm4gd6v0nx:"loading_ldio_mm4gd6v0nx__8s_I2",loadingio_spinner_dual_ring_1bxhex53aapi:"loading_loadingio_spinner_dual_ring_1bxhex53aapi__VfiEg",whiteButton:"loading_whiteButton__2wPr4",dark:"loading_dark__4W_Oj"}},59860:function(e){e.exports={loading:"fullScreenLoading_loading__OXHe7"}},16516:function(e){e.exports={container:"info_container__jhXAp",button:"info_button__YshLC",center:"info_center__Jt0ev",description:"info_description__bQe3Q"}},44619:function(e){e.exports={navbar:"navbar_navbar__0dEp6",texts:"navbar_texts__bLpGE"}}
1,17294:function(e){e.exports={container:"subCategories_container__MT3jc",category_list:"subCategories_category_list__ALxD6",category_wrapper:"subCategories_category_wrapper__W_Qz2",category_title:"subCategories_category_title__K5Bu_",button:"subCategories_button__p2Oo4",center:"subCategories_center__tXzZq"}},93812:function(e){e.exports={container:"fileAttachment_container__5CxHo",attachment_wrapper:"fileAttachment_attachment_wrapper__TPRwM",file_preview:"fileAttachment_file_preview___OPiK",file_info:"fileAttachment_file_info__B1Oi2",file_name:"fileAttachment_file_name__1F2Z9",icon:"fileAttachment_icon__2BAfp",max_info:"fileAttachment_max_info__IZ0Gg",progress_bar_container:"fileAttachment_progress_bar_container__5i9Qt"}},72461:function(e){e.exports={container:"sendMessage_container__Zy4Qr",input_wrapper:"sendMessage_input_wrapper__Z4jgW",name_wrapper:"sendMessage_name_wrapper__kYYuV",message:"sendMessage_message__TUeWP",textMessage:"sendMessage_textMessage__QpjR1",send:"sendMessage_send__ua1O0",sendLink:"sendMessage_sendLink__bCwqJ",info_wrapper:"sendMessage_info_wrapper__UeL_E",image:"sendMessage_image__DKHVa",texts:"sendMessage_texts__XL7kr",supportHighTrafficText:"sendMessage_supportHighTrafficText__Qhmu9",helpLink:"sendMessage_helpLink__oESKu"}},28159:function(e){e.exports={wrapper:"sendMessageWrapper_wrapper__5TGfZ"}},46010:function(e){e.exports={wrapper:"categorySelection_wrapper__bCUVI",description:"categorySelection_description__Ay1xr",chips_wrapper:"categorySelection_chips_wrapper__fIwWg",device_chip:"categorySelection_device_chip__CYtYP",logo:"categorySelection_logo__P6PAu",name:"categorySelection_name__IJl4u",image_wrapper:"categorySelection_image_wrapper__yzFqG",image:"categorySelection_image__2_Yac",category_list:"categorySelection_category_list__T72Xx",category_wrapper:"categorySelection_category_wrapper__l9qqw",category_title:"categorySelection_category_title__4kq_i",subcategories:"categorySelection_subcategories__ytSLa",button:"categorySelection_button__SxXJl",middle:"categorySelection_middle__rsam9",full_width:"categorySelection_full_width__DXMeq"}},18277:function(e){e.exports={faq:"faq_faq__42uny",title:"faq_title__T5d_R",list:"faq_list__sZgEX",item:"faq_item__2sDZ0",questionWrapper:"faq_questionWrapper__otukN",questionContent:"faq_questionContent__3ykKy",questionIcon:"faq_questionIcon__L02lm",question:"faq_question__ABJwi",answerWrapper:"faq_answerWrapper__MIZ_F",answerOpen:"faq_answerOpen__dseTL",answer:"faq_answer__rKP7K",answerClosed:"faq_answerClosed___kV56",linkIcon:"faq_linkIcon__Isn_r"}},49404:function(e){e.exports={wrapper:"links_wrapper__lpfXC",link_wrapper:"links_link_wrapper__DeMdt",link:"links_link__hkw8D"}},20859:function(e){e.exports={title:"support_title__vuyA9",container:"support_container__4pqqg",card:"support_card__vL_wV",link_to_messages:"support_link_to_messages__O83UM",link_to_message_description:"support_link_to_message_description__33Xer",receivefile:"support_receivefile__KTsrq"}},51567:function(e){e.exports={update_section:"updateCard_update_section__bItPU",upper_section:"updateCard_upper_section__V6l9_",update_button:"updateCard_update_button__WDh87",title:"updateCard_title__yvCTz",subtitle:"updateCard_subtitle__qV45w"}},31806:function(e){e.exports={container:"progressBar_container__as8Y6",bar:"progressBar_bar__14U6V",progress_text:"progressBar_progress_text__o7ytz"}}},function(e){e.O(0,[8901,9774,2888,179],function(){return e(e.s=22758)}),_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.