PageSourceSearch

https://donito.me/_nuxt/ca1546180d22/DyCGmdST.js

js donito.me collected 2026-10-02 07:42:39 UTC 4,985 bytes, 1 lines download raw bytes

1import{_ as $}from"./N6srsExD.js";import{_ as x,r as y,w as C,a as w,o as a,b as c,e as t,h as o,g as _,t as v,I as L,x as S,c as I,m as T,D as B,z as h,f as k,F as b,A as N,O as R,i as A,d as F}from"./DsBqIO5m.js";import{_ as O}from"./DqsLXW3u.js";import{T as V}from"./Bnuwkk7L.js";import{g as D}from"./D80AN_xn.js";import{g as E}from"./BW1a5xWq.js";import"./BporYn2C.js";const q={class:"tool-card"},z={class:"tool-card__media"},M=["src","alt"],H={key:1,"aria-hidden":"true"},P={class:"tool-card__content"},Q={__name:"ToolsCard",props:{title:{type:String,default:""},describe:{type:String,default:""},link:{type:String,required:!0},src:{type:String,default:""}},setup(i){const m=i,f=y(!1);return C(()=>m.src,()=>{f.value=!1}),(p,s)=>{const d=w("font-awesome-icon"),g=$,l=L;return a(),c("article",q,[t("div",z,[i.src&&!f.value?(a(),c("img",{key:0,src:i.src,alt:i.title||"تصویر ابزار",loading:"lazy",onError:s[0]||(s[0]=e=>f.value=!0)},null,40,M)):(a(),c("span",H,[o(g,null,{default:_(()=>[o(d,{icon:"tools"})]),_:1})]))]),t("div",P,[s[1]||(s[1]=t("span",{class:"tool-card__eyebrow"},"ابزار پخش زنده",-1)),t("h2",null,v(i.title),1),t("p",null,v(i.describe||"تنظیمات این ابزار را متناسب با ظاهر پخش زنده خود شخصی‌سازی کنید."),1)]),o(l,{to:i.link,class:"tool-card__action","aria-label":`مشاهده و تنظیم ${i.title||"ابزار"}`},{default:_(()=>[s[2]||(s[2]=t("span",null,"مشاهده و تنظیم",-1)),o(g,null,{default:_(()=>[o(d,{icon:"chevron-left"})]),_:1})]),_:1},8,["to","aria-label"])])}}},U=x(Q,[["__scopeId","data-v-43576347"]]),j={class:"tools-page"},G={class:"tools-hero"},J={class:"tools-hero__icon","aria-hidden":"true"},K={class:"tools-hero__stat"},W={class:"tools-toolbar"},X={class:"tools-search"},Y={key:0,class:"tools-list-card"},Z={class:"tools-list-card__header"},tt={class:"tools-grid"},et={key:1,class:"tools-empty"},ot={class:"tools-empty__icon"},st={__name:"index",setup(i){S({title:"ابزارها"});const m=y(!0),f=E("tools"),p=y([]),s=y(""),d=I(()=>{const l=s.value.trim().toLocaleLowerCase("fa-IR");return l?p.value.filter(e=>`${e.name||""} ${e.description||""}`.toLocaleLowerCase("fa-IR").includes(l)):p.value});T(g);function g(){D().then(l=>{p.value=[],l.data[0].children.data.forEach(e=>{var u;const r=((u=e==null?void 0:e.settings)==null?void 0:u.data.find(n=>n.key==="tool_file"))||e;r.title&&!r.title.includes("streamelemets")&&p.value.push({name:e.name,description:e.description,link:`/panel/tools/${e.type}`,src:r?r.value:""})})}).catch(l=>{B().$toast.error((l==null?void 0:l.message)||"دریافت ابزارها انجام نشد.",{theme:"colored",type:"error"})}).finally(()=>{m.value=!1})}return(l,e)=>{const r=w("font-awesome-icon"),u=$;return a(),c("div",j,[o(h(O),{breads:h(f),class:"tools-breadcrumb"},null,8,["breads"]),t("section",G,[t("div",J,[o(u,null,{default:_(()=>[o(r,{icon:"tools"})]),_:1})]),e[4]||(e[4]=t("div",{class:"tools-hero__copy"},[t("span",null,"استودیوی ابزارک‌ها"),t("h1",null,"ابزارها"),t("p",null,"ابزارهای پخش زنده را انتخاب کنید، ظاهرشان را بسازید و برای استفاده در OBS آماده کنید.")],-1)),t("div",K,[e[3]||(e[3]=t("span",null,"ابزارهای در دسترس",-1)),t("strong",null,v(m.value?"—":p.value.length.toLocaleString("fa-IR")),1)])]),m.value?(a(),k(V,{key:0,label:"در حال آماده‌سازی ابزارها…"})):(a(),c(b,{key:1},[t("section",W,[t("label",X,[o(u,null,{default:_(()=>[o(r,{icon:"magnifying-glass"})]),_:1}),N(t("input",{"onUpdate:modelValue":e[0]||(e[0]=n=>s.value=n),type:"search",placeholder:"جستجو بین ابزارها",autocomplete:"off"},null,512),[[R,s.value,void 0,{trim:!0}]]),s.value?(a(),c("button",{key:0,type:"button","aria-label":"پاک کردن جستجو",onClick:e[1]||(e[1]=n=>s.value="")},[o(u,null,{default:_(()=>[o(r,{icon:"xmark"})]),_:1})])):A("",!0)]),t("span",null,v(d.value.length.toLocaleString("fa-IR"))+" ابزار",1)]),d.value.length?(a(),c("section",Y,[t("header",Z,[e[5]||(e[5]=t("div",null,[t("strong",null,"ابزارهای پخش زنده"),t("span",null,"برای مشاهده تنظیمات و دریافت لینک هر ابزار، آن را باز کنید.")],-1)),t("span",null,v(d.value.length.toLocaleStr
1ing("fa-IR"))+" نتیجه",1)]),t("div",tt,[(a(!0),c(b,null,F(d.value,n=>(a(),k(U,{key:n.link,title:n.name,describe:n.description,link:n.link,src:n.src},null,8,["title","describe","link","src"]))),128))])])):(a(),c("div",et,[t("div",ot,[o(u,null,{default:_(()=>[o(r,{icon:"magnifying-glass"})]),_:1})]),e[6]||(e[6]=t("strong",null,"ابزاری پیدا نشد",-1)),e[7]||(e[7]=t("span",null,"عبارت دیگری را برای جستجو امتحان کنید.",-1)),t("button",{type:"button",onClick:e[2]||(e[2]=n=>s.value="")},"پاک کردن جستجو")]))],64))])}}},ut=x(st,[["__scopeId","data-v-6801d044"]]);export{ut as default};

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.