PageSourceSearch

https://www.bergesinstitutespanish.com/build/assets/StudyGroups-CenyvEPI.js

js bergesinstitutespanish.com collected 2026-09-24 17:38:48 UTC 2,147 bytes, 1 lines download raw bytes

1import{L as f}from"./Loader-l3cSYZQu.js";import{r as d,o,c as a,a as s,t as r,f as i,g as p,h,b as l,F as g,e as v,i as y}from"./vue-router-Cc0Ijf1R.js";import{_ as k}from"./_plugin-vue_export-helper-DlAUqK2U.js";const w={components:{Loader:f},data(){return{groups:[],ready:!1}},mounted(){this.addTitleAndDescription(this.$t("studyGroups"),""),this.loadGroups()},methods:{loadGroups(){axios.get("/get-study-groups").then(e=>{this.groups=e.data.data,this.ready=!0})},statusLabel(e){return e.is_owner?this.$t("groupOwnerLabel"):e.my_status==="invited"?this.$t("invitedLabel"):null}}},G={class:"p-4 border-bottom d-flex justify-content-between align-items-center"},L={class:"h3 mb-0"},$={class:"px-4 py-3 border-bottom bg-light"},x={class:"small mb-0"},B={key:0},N={key:0,class:"p-4 mb-0"},S={class:"p-4 border-bottom d-flex align-items-center"},V=["src"],C={class:"flex-grow-1"},z={class:"fw-bold"},D={class:"small text-muted"},F={key:0};function I(e,u,T,j,n,c){const m=d("router-link"),b=d("loader"),_=d("vue-feather");return o(),a("div",null,[s("div",G,[s("h1",L,r(e.$t("studyGroups")),1),i(m,{to:e.$path("new-study-group"),class:"btn btn-outline-primary btn-sm"},{default:p(()=>[h(r(e.$t("createStudyGroup")),1)]),_:1},8,["to"])]),s("div",$,[s("p",x,r(e.$t("studyGroupsIntro")),1)]),i(b,{show:!n.ready},null,8,["show"]),n.ready?(o(),a("div",B,[n.groups.length===0?(o(),a("p",N,r(e.$t("noStudyGroups")),1)):l("",!0),(o(!0),a(g,null,v(n.groups,t=>(o(),y(m,{key:t.id,to:e.$path("study-groups")+"/"+t.id,class:"text-black text-decoration-none"},{default:p(()=>[s("div",S,[t.image_url?(o(),a("img",{key:0,src:t.image_url,class:"rounded-circle me-3 group-image",alt:""},null,8,V)):(o(),y(_,{key:1,type:"users",size:"2rem",class:"me-3 text-muted"})),s("div",C,[s("div",z,r(t.name),1),s("div",D,[h(r(t.members_count)+" "+r(e.$tc("member",t.members_count))+" ",1),c.statusLabel(t)?(o(),a("span",F," • "+r(c.statusLabel(t)),1)):l("",!0)])]),i(_,{type:"chevron-right",size:"1.3rem"})])]),_:2},1032,["to"]))),128))])):l("",!0),u[0]||(u[0]=s("div",{class:"py-5"},null,-1))])}const q=k(w,[["render",I],["__scopeId","data-v-1de5a7ed"]]);export{q 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.