1(this.webpackJsonpsoultribeonline=this.webpackJsonpsoultribeonline||[]).push([[24,1],{114:function(e,t,s){"use strict";s(0);var c=s(132),a=s(1);t.a=function(e){var t=e.title;return Object(a.jsxs)(c.a,{children:[Object(a.jsx)("meta",{charSet:"utf-8"}),Object(a.jsx)("title",{children:t}),Object(a.jsx)("meta",{name:"robots",content:"noindex, follow"}),Object(a.jsx)("meta",{name:"description",content:"Hope \u2013 Health & Medical React JS Template"}),Object(a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"})]})}},116:function(e,t,s){"use strict";s.d(t,"a",(function(){return n}));var c=s(41);var a=s(35);function n(e){return function(e){if(Array.isArray(e))return Object(c.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(a.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},117:function(e,t,s){"use strict";s(0),s(119);var c=s(1);t.a=function(){return Object(c.jsx)("div",{})}},118:function(e,t,s){"use strict";s(0);var c=s(5),a=s(25),n=s(1),i=function(e){var t=e.image,s=e.classOption,i=Object(c.h)();return Object(n.jsx)(n.Fragment,{children:"/join-for-free"!==i.pathname?Object(n.jsx)(a.b,{className:"".concat(s),to:"/",children:Object(n.jsx)("img",{className:"logo-main",src:""+t,alt:"Logo"})}):Object(n.jsx)("img",{className:"logo-main",src:""+t,alt:"Logo"})})};i.defaultProps={classOption:"text-center"},t.a=i},119:function(e,t,s){"use strict";var c=s(24),a=s(22),n=s(0),i=function(){};function r(e,t){return Math.floor(Math.random()*(t-e+1)+e)}Object(n.forwardRef)((function(e,t){var s=e.progress,o=e.height,l=void 0===o?2:o,b=e.className,j=void 0===b?"":b,d=e.color,u=void 0===d?"red":d,m=e.background,h=void 0===m?"transparent":m,p=e.onLoaderFinished,O=e.transitionTime,f=void 0===O?300:O,x=e.loaderSpeed,g=void 0===x?500:x,v=e.waitingTime,N=void 0===v?1e3:v,_=e.shadow,y=void 0===_||_,w=e.containerStyle,S=void 0===w?{}:w,k=e.style,T=void 0===k?{}:k,C=e.shadowStyle,E=void 0===C?{}:C,L=e.containerClassName,M=void 0===L?"":L,D=Object(n.useRef)(!1),F=Object(n.useState)(0),Y=Object(a.a)(F,2),I=Y[0],R=Y[1],A=Object(n.useState)({active:!1,startingValue:20,refreshRate:1e3}),H=Object(a.a)(A,2),P=H[0],B=H[1],W=Object(n.useState)(!1),V=Object(a.a)(W,2),q=V[0],z=V[1],K=Object(n.useState)({active:!1,value:20}),U=Object(a.a)(K,2),J=U[0],G=U[1],Q={height:"100%",background:u,transition:"all ".concat(g,"ms ease"),width:"0%"},$={position:"fixed",top:0,left:0,height:l,background:h,zIndex:99999999999,width:"100%"},X={boxShadow:"0 0 10px ".concat(u,", 0 0 10px ").concat(u),width:"5%",opacity:1,position:"absolute",height:"100%",transition:"all ".concat(g,"ms ease"),transform:"rotate(3deg) translate(0px, -4px)",left:"-10rem"},Z=Object(n.useState)(Q),ee=Object(a.a)(Z,2),te=ee[0],se=ee[1],ce=Object(n.useState)(X),ae=Object(a.a)(ce,2),ne=ae[0],ie=ae[1];Object(n.useEffect)((function(){return D.current=!0,function(){D.current=!1}}),[]),Object(n.useImperativeHandle)(t,(function(){return{continuousStart:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;if(!J.active)if(q)console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");else{var s=e||r(10,20);B({active:!0,refreshRate:t,startingValue:e}),R(s),re(s)}},staticStart:function(e){if(!P.active)if(q)console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!");else{var t=e||r(30,50);G({active:!0,value:t}),R(t),re(t)}},complete:function(){q?console.warn("react-top-loading-bar: You can't use both controlling by props and ref methods to control the bar!"):(R(100),re(100))}}})),Object(n.useEffect)((function(){se(Object(c.a)(Object(c.a)({},te),{},{background:u})),ie(Object(c.a)(Object(c.a)({},ne),{},{boxShadow:"0 0 10px ".concat(u,", 0 0 5px ").concat(u)}))}),[u]),Object(n.useEffect)((function(){if(t){if(t&&void 0!==s)return void console.warn('react-top-loading-bar: You can\'t use both controlling by props and ref methods to control the bar! Please use only props or only ref methods! Ref methods will override props if "ref" property is available.');re(I),z(!1)}else s&&re(s),z(!0)}),[s]);var re=function e(t){t>=100?(se(Object(c.a)(Object(c.a)({},te),{},{width:"100%"})),y&&ie(Object(c.a)(Object(c.a)({},ne),{},{left:t-10+"%"})),setTimeout((function(){D.current&&(se(Object(c.a)(Object(c.a)({},te),{},{opacity:0,width:"100%",transition:"all ".concat(f,"ms ease-out"),color:u})),setTimeout((function(){D.current&&(P.active&&(B(Object(c.a)(Object(c.a)({},P),{},{active:!1})),R(0),e(0)),J.active&&(G(Object(c.a)(Object(c.a)({},J),{},{active:!1})),R(0),e(0)),p&&p(),R(0),e(0))}),f))}),N)):(se((function(e){return Object(c.a)(Object(c.a)({},e),{}
1,{width:t+"%",opacity:1,transition:t>0?"all ".concat(g,"ms ease"):""})})),y&&ie(Object(c.a)(Object(c.a)({},ne),{},{left:t-5.5+"%",transition:t>0?"all ".concat(g,"ms ease"):""})))};return function(e,t,s){var c=Object(n.useRef)(i);Object(n.useEffect)((function(){c.current=e})),Object(n.useEffect)((function(){s&&null!==t&&!1!==t&&c.current()}),[s]),Object(n.useEffect)((function(){if(null!==t&&!1!==t){var e=setInterval((function(){return c.current()}),t);return function(){return clearInterval(e)}}}),[t])}((function(){var e=r(10,20);I+e<90&&(R(I+e),re(I+e))}),P.active?P.refreshRate:null),Object(n.createElement)("div",{className:M,style:Object(c.a)(Object(c.a)({},$),S)},Object(n.createElement)("div",{className:j,style:Object(c.a)(Object(c.a)({},te),T)},y?Object(n.createElement)("div",{style:Object(c.a)(Object(c.a)({},ne),E)}):null))}))},1195:function(e,t,s){"use strict";s.r(t);var c=s(0),a=s.n(c),n=s(116),i=s(22),r=s(24),o=s(25),l=s(9),b=s(26),j=s.n(b),d=s(34),u=(s(66),s(173)),m=s.n(u),h=s(1),p={width:16,height:16,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},O=function(){return Object(h.jsxs)("svg",Object(r.a)(Object(r.a)({},p),{},{"aria-hidden":"true",children:[Object(h.jsx)("path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"}),Object(h.jsx)("circle",{cx:"9",cy:"7",r:"4"}),Object(h.jsx)("line",{x1:"19",y1:"8",x2:"19",y2:"14"}),Object(h.jsx)("line",{x1:"22",y1:"11",x2:"16",y2:"11"})]}))},f=function(){return Object(h.jsxs)("svg",Object(r.a)(Object(r.a)({},p),{},{"aria-hidden":"true",children:[Object(h.jsx)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),Object(h.jsx)("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}))},x=function(){return Object(h.jsxs)("svg",Object(r.a)(Object(r.a)({},p),{},{"aria-hidden":"true",children:[Object(h.jsx)("circle",{cx:"12",cy:"12",r:"10"}),Object(h.jsx)("polyline",{points:"12 6 12 12 16 14"})]}))},g=function(){return Object(h.jsx)("svg",Object(r.a)(Object(r.a)({},p),{},{"aria-hidden":"true",children:Object(h.jsx)("path",{d:"M20 6L9 17l-5-5"})}))},v=function(){return Object(h.jsxs)("svg",Object(r.a)(Object(r.a)({},p),{},{"aria-hidden":"true",children:[Object(h.jsx)("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),Object(h.jsx)("polyline",{points:"16 17 21 12 16 7"}),Object(h.jsx)("line",{x1:"21",y1:"12",x2:"9",y2:"12"})]}))},N=function(){return Object(h.jsx)("svg",Object(r.a)(Object(r.a)({},p),{},{fill:"currentColor",stroke:"none","aria-hidden":"true",children:Object(h.jsx)("path",{d:"M12 2l2.9 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l7.1-1.01L12 2z"})}))},_=function(e){var t=e.data,s=(e.classOption,e.myTribes),a=Object(c.useState)(t),n=Object(i.a)(a,2),r=n[0],b=n[1],u=Object(c.useState)(!1),p=Object(i.a)(u,2),_=(p[0],p[1]),y=Object(c.useState)(!1),w=Object(i.a)(y,2),S=(w[0],w[1]),k=Object(c.useState)(!0),T=Object(i.a)(k,2),C=(T[0],T[1],Object(c.useState)("")),E=Object(i.a)(C,2),L=E[0],M=E[1],D=Object(c.useState)(!1),F=Object(i.a)(D,2),Y=F[0],I=F[1],R="";return(Object(l.a)()&&"0"!==Object(l.a)().allow_access&&"teacher"===L||Object(l.a)())&&(R=Object(h.jsxs)("div",{className:"d-flex justify-content-around align-content-center align-items-center px-3",children:[Object(h.jsx)("div",{className:"w-50 tribes_thumb",children:Object(h.jsx)("img",{alt:"",className:"mw-100",src:r.image})}),Object(h.jsx)("div",{className:"tribes_join",children:null===r.member_type?Object(h.jsx)(h.Fragment,{children:Object(l.a)()?Object(h.jsxs)(h.Fragment,{children:["public"===r.group_type?Object(h.jsxs)(h.Fragment,{children:[1===r.is_join?Object(h.jsxs)("button",{className:"tribe-member-btn",onClick:function(){return I(!0)},type:"button",children:[Object(h.jsxs)("span",{className:"swap-member",children:[Object(h.jsx)(g,{})," Member"]}),Object(h.jsxs)("span",{className:"swap-leave",children:[Object(h.jsx)(v,{})," Leave tribe"]})]}):"",""===r.is_join?Object(h.jsxs)("button",{className:"btn btn-primary tribe-action-btn tribe-card-btn",onClick:function(){return I(!0)},type:"button",children:[Object(h.jsx)(O,{})," Join tribe"]}):""]}):"","private"===r.group_type?Object(h.jsxs)(h.Fragment,{children:[1===r.is_join?Object(h.jsxs)("button",{className:"tribe-member-btn",onClick:function(){return I(!0)},type:"button",children:[Object(h.jsxs)("span",{className:"swap-member",children:[Object(h.jsx)(g,{})," Member"]}),Object(h.jsxs)("span",{className:"swap-leave",children:[Object(h.jsx)(v,{})," Leave tribe"]})]}):"",0===r.is_join?Object(h.jsxs)("span",{className:"tribe-status-pill tribe-status-pill--muted tribe-card-pill",children:[Object(h.jsx)(x,{})," Request pending"]}):"",""===r.is_join?Object(h.jsxs)("button",{className:"btn btn-primary tribe-action-btn tribe-card-btn",onClick:function(){return I(!0)},type:"button",children:[Object(h.jsx)(f,{})," Request access"]}):""]}):""]}):""}):/organizer/i.test(r.member_type)?Object(h.jsxs)("span",{className:"tribe-status-pill tribe-status-pill--organizer tribe-card-pill",title:r.member_type,children:[Object(h.jsx)(N,{})," Organizer"]}):Object(h.jsxs)("span",{className:"tribe-status-pill tribe-status-pill--brand tribe-card-pill",children:[Object(h.jsx)(g,{})," ",r.member_type]})})]})),Object(c.useEffect)((function(){Object(l.a)()&&function(){var e=[],t="";null!==(e=Object(l.a)().role)&&(e.map((function(e){return t=e.label_teacher})),M(t))}()}),[L]),Object(h.jsxs)(h.Fragment,{children:[Object(h.jsxs)("div",{className:"blog-card tribes",children:[Object(h.jsx)("div",{className:"thumb bg-light text-center p-0",children:Object(h.jsx)("img",{alt:"",src:r.cover_image})}),R,Object(h.jsxs)("div",{className:"members mt-3 tribes_content px-3",children:[Object(h.jsx)("h5",{className:"title",children:Object(h.jsx)(o.c,{to:""+"/tribe/".concat(r.slug),children:r.title})}),Object(h.jsx)("span",{className:"blog-meta text-capitalize",children:r.group_type?"".concat(r.group_type," Group"):""}),Object(h.jsxs)("div",{className:"tribes_content-members",children:[Object(h.jsx)("div",{className:"member_thumbs d-inline-block",children:r.group_member_image.map((function(e,t){return Object(h.jsx)("img",{alt:"",src:e},t)}))}),Object(h.jsx)("span",{className:"blog-meta p-3 d-inline-block",children:r.group_members_count?"+ ".concat(r.group_members_count," Members"):""})]})]})]}
1),Y&&Object(h.jsx)(m.a,{warning:1===r.is_join,showCancel:!0,confirmBtnText:1===r.is_join?"Leave tribe":"private"===r.group_type?"Send request":"Join tribe",cancelBtnText:1===r.is_join?"Stay":"Cancel",confirmBtnBsStyle:1===r.is_join?"danger":"primary",cancelBtnBsStyle:"light",title:1===r.is_join?"Leave ".concat(r.title,"?"):"private"===r.group_type?"Request access to this tribe?":"Join ".concat(r.title,"?"),btnSize:"sm",focusCancelBtn:1===r.is_join,onConfirm:function(){return S(!0),I(!1),void j.a.post("".concat("https://panel.soultribeonline.com/api","/tribe-group-access"),{tribe_id:r.id},{headers:{}}).then((function(e){S(!1),_(!1),b(e.data.data),s(),d.b.success(e.data.message,{position:"top-center",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0})}))},onCancel:function(){return I(!1)},children:1===r.is_join?"You\u2019ll lose access to this tribe\u2019s posts and discussions. You can request to join again later.":"private"===r.group_type?"This is a private tribe. The organizer will review your request and you\u2019ll be notified once it\u2019s approved.":"You\u2019ll be able to post, join discussions, and see member-only content."})]})},y=s(45),w=s(543),S=s(150),k=(s(138),s(158)),T=s(542),C=function(e){var t=e.searchKeyword,s=e.type,c=e.onViewAll,a=t?"No tribes match your search":"my"===s?"You haven't joined any tribes yet":"No tribes found",n=t?Object(h.jsxs)(h.Fragment,{children:["We couldn't find any tribes for"," ",Object(h.jsxs)("strong",{children:["\u201c",t,"\u201d"]}),". Try a different keyword or clear your search to browse all tribes."]}):"my"===s?"Explore the community and join a tribe that resonates with you.":"Check back soon \u2014 new tribes are added regularly.",i=t||"my"===s;return Object(h.jsx)(T.a,{title:a,description:n,actionLabel:i?"View all tribes":void 0,onAction:i?c:void 0})};var E=function(e){Object(c.useRef)();var t=Object(c.useRef)(null),s=Object(c.useRef)(null),a=Object(c.useState)([]),r=Object(i.a)(a,2),b=r[0],d=r[1],u=Object(c.useState)([]),m=Object(i.a)(u,2),p=m[0],O=m[1],f=Object(c.useState)(Object(h.jsx)(y.a,{})),x=Object(i.a)(f,2),g=x[0],v=x[1],N=Object(c.useState)(""),T=Object(i.a)(N,2),E=T[0],L=T[1],M=Object(c.useState)(""),D=Object(i.a)(M,2),F=D[0],Y=D[1],I=Object(c.useState)(""),R=Object(i.a)(I,2),A=(R[0],R[1]),H=Object(c.useState)(""),P=Object(i.a)(H,2),B=(P[0],P[1]),W=Object(c.useState)(1),V=Object(i.a)(W,2),q=V[0],z=V[1],K=Object(c.useState)(1),U=Object(i.a)(K,2),J=U[0],G=U[1],Q=Object(c.useState)(""),$=Object(i.a)(Q,2),X=$[0],Z=$[1],ee=Object(c.useState)(""),te=Object(i.a)(ee,2),se=te[0],ce=te[1],ae=Object(c.useState)(!1),ne=Object(i.a)(ae,2),ie=(ne[0],ne[1]),re=Object(c.useState)(""),oe=Object(i.a)(re,2),le=(oe[0],oe[1]),be=Object(c.useState)(0),je=Object(i.a)(be,2),de=je[0],ue=je[1],me=Object(c.useState)(localStorage.getItem("searchTribeData")||""),he=Object(i.a)(me,2),pe=he[0],Oe=he[1],fe=function(e){Z(""),A(""),v(Object(h.jsx)(y.a,{})),d([]);var t="".concat("https://panel.soultribeonline.com/api","/tribes?per_page=").concat(6);void 0!==e&&(t="".concat("https://panel.soultribeonline.com/api","/tribes?per_page=").concat(6,"&search=").concat(e)),j.a.get(t,{headers:{}}).then((function(e){v(""),A(e.data.message),L(e.data.data.total_tribes_count),!1!==e.data.success?(z(e.data.data.tribes.current_page),Z(e.data.data.tribes.next_page_url),d(e.data.data.tribes.data)):d([])})).catch((function(e){console.error(e)}))},xe=function(e){ce(""),B(""),v(Object(h.jsx)(y.a,{}));var t="".concat("https://panel.soultribeonline.com/api","/member/groups?per_page=").concat(6);void 0!==e&&(t="".concat("https://panel.soultribeonline.com/api","/member/groups?per_page=").concat(6,"&search=").concat(e)),O([]),j.a.get(t,{headers:{}}).then((function(e){if(v(""),Y(e.data.data.total_tribes_count),!1!==e.data.success){B(""),G(e.data.data.tribes.current_page),ce(e.data.data.tribes.next_page_url),O(e.data.data.tribes.data);var t=p.length-1;le(t)}else B(e.data.message),O([])})).catch((function(e){console.error(e)}))},ge=function(){t.current&&clearTimeout(t.current),localStorage.removeItem("searchTribeData"),Oe(""),s.current&&(s.current.value=""),fe(),Object(l.a)()&&xe()},ve=function(){ge(),ue(0)};Object(c.useEffect)((function(){return fe(),Object(l.a)()&&xe(),function(){t.current&&clearTimeout(t.current)}}),[]);var Ne="";void 0!==b&&(Ne=Object(h.jsx)(h.Fragment,{children:b&&b.map((function(e,t){return Object(h.jsx)("div",{className:"col-lg-4 col-sm-6 mb-7",children:Object(h.jsx)(_,{classOption:"p-0",data:e,myTribes:xe},t)},t)}))}));var _e="";return void 0!==p&&(_e=Object(h.jsx)(h.Fragment,{children:p&&p.map((function(e,t){return Object(h.jsx)("div",{className:"col-lg-4 col-sm-6 mb-7",children:Object(h.jsx)(_,{classOption:"p-0",data:e},t)},t)}))})),Object(h.jsx)("section",{className:"blog-section section-py",children:Object(h.jsxs)("div",{className:"container",children:[Object(l.a)()?Object(h.jsxs)("p",{children:["Tribes are groups where you can find community support, inspiration, and content on subjects that interest you. Our tribes are led by our teachers who offer their expertise on various topics and hold space for sharing and deeper conversation within these groups. Public tribes are open to everyone and a private tribe requires you to request access to join. Feel into which tribes resonate with you and j
1oin us today!"," "]}):Object(h.jsxs)(h.Fragment,{children:[Object(h.jsx)("p",{children:"We\u2019re sorry! This content is for members only. Please Sign In, or Join Now if you do not have an account with us."}),Object(h.jsx)(o.c,{to:"/registration",children:Object(h.jsx)("button",{className:"btn btn-dark btn-hover-dark",children:"Join Now"})})]}),Object(h.jsxs)(S.d,{className:"vertical_tabs tribes_tabbar",selectedIndex:de,onSelect:function(e){return ue(e)},children:[Object(h.jsxs)("div",{className:"tribes_tabbar-head",children:[Object(h.jsxs)(S.b,{children:[Object(h.jsxs)(S.a,{onClick:function(){return fe(localStorage.getItem("searchTribeData")||void 0)},children:["All Tribes (",E||0,")"]}),Object(l.a)()?Object(h.jsxs)(h.Fragment,{children:[Object(h.jsxs)(S.a,{onClick:function(){return xe(localStorage.getItem("searchTribeData")||void 0)},children:["My Tribes (",F||0,")"]}),Object(h.jsx)(S.a,{children:"Create Tribe"})]}):""]}),2!==de&&Object(h.jsxs)("div",{className:"tribes_tab_search",children:[Object(h.jsx)("input",{ref:s,type:"text",name:"ofsearch",defaultValue:localStorage.getItem("searchTribeData"),onChange:function(e){var s=e.target.value;localStorage.setItem("searchTribeData",s),Oe(s),t.current&&clearTimeout(t.current),t.current=setTimeout((function(){fe(s),Object(l.a)()&&xe(s)}),400)},placeholder:"Search tribes \u2026"}),pe&&Object(h.jsx)("button",{type:"button",className:"search-clear",onClick:ge,"aria-label":"Clear search",children:Object(h.jsx)("i",{className:"fa fa-times"})})]})]}),Object(h.jsxs)(S.c,{children:[g,""===g&&0===b.length?Object(h.jsx)(C,{searchKeyword:pe,type:"all",onViewAll:ve}):Object(h.jsx)(k.a,{dataLength:b.length,next:function(){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q;ie(!0),j.a.get("".concat("https://panel.soultribeonline.com/api","/tribes?per_page=").concat(6,"&page=").concat(e),{headers:{}}).then((function(e){if(ie(!1),!1!==e.data.success){z(e.data.data.tribes.current_page);var t=e.data.data.tribes.data,s=[].concat(Object(n.a)(b),Object(n.a)(t));d(s),Z(e.data.data.tribes.next_page_url),A("")}else A(e.data.message)})).catch((function(e){console.error(e)}))}(q+1)},hasMore:!!X,loader:Object(h.jsx)("h4",{className:"text-center",children:Object(h.jsx)(y.a,{})}),children:Object(h.jsx)("div",{className:"row mb-n7 mt-8",children:Ne})})]}),Object(h.jsxs)(S.c,{children:[g,""===g&&0===p.length?Object(h.jsx)(C,{searchKeyword:pe,type:"my",onViewAll:ve}):Object(h.jsx)(k.a,{dataLength:p.length,next:function(){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J;ie(!0),j.a.get("".concat("https://panel.soultribeonline.com/api","/member/groups?per_page=").concat(6,"&page=").concat(e,"&search=").concat(localStorage.getItem("searchTribeData")?localStorage.getItem("searchTribeData"):""),{headers:{}}).then((function(e){if(ie(!1),!0===e.data.success){G(e.data.data.tribes.current_page);var t=e.data.data.tribes.data,s=[].concat(Object(n.a)(p),Object(n.a)(t));O(s),ce(e.data.data.tribes.next_page_url)}else ce("")})).catch((function(e){console.error(e)}))}(J+1)},hasMore:!!se,loader:Object(h.jsx)("h4",{className:"text-center",children:Object(h.jsx)(y.a,{})}),children:Object(h.jsx)("div",{className:"row mb-n7 mt-8",children:_e})})]}),Object(h.jsx)(S.c,{children:Object(h.jsxs)("div",{className:"create_group w-75 m-auto",children:[Object(h.jsx)("h3",{className:"py-4 text-center",children:"Create New Tribe"}),Object(h.jsx)(w.a,{})]})})]})]})})},L=s(121),M=s(126),D=s(123),F=s(120),Y=s(124),I=s(114),R=s(117);t.default=function(){return Object(h.jsxs)(a.a.Fragment,{children:[Object(h.jsx)(R.a,{}),Object(h.jsxs)(F.a,{children:[Object(h.jsx)(I.a,{title:"Tribes"}),Object(h.jsxs)("div",{className:"wrapper",children:[Object(h.jsx)(D.a,{}),Object(h.jsx)(L.a,{title:"Tribes",image:"./images/service/2.png"}),Object(h.jsx)(E,{}),Object(h.jsx)(M.a,{}),Object(h.jsx)(Y.a,{})]})]})]})}},120:function(e,t,s){"use strict";var c=s(0),a=s(1);t.a=function(e){var t=e.children;return Object(a.jsx)(c.Fragment,{children:t})}},121:function(e,t,s){"use strict";s(0);var c=s(1),a=function(e){var t=e.title,s=e.excerpt;return Object(c.jsxs)("div",{className:"banner-content",children:[Object(c.jsx)("h3",{className:"title header-title",children:t}),s?Object(c.jsx)("p",{dangerouslySetInnerHTML:{__html:s}}):null]})};t.a=function(e){var t=e.title,s=e.excerpt;e.image;return Object(c.jsx)("div",{className:"banner-section position-relative",children:Object(c.jsx)("div",{className:"container",children:Object(c.jsx)("div",{className:"row",children:Object(c.jsx)("div",{className:"col-md-12 text-center",children:Object(c.jsx)(a,{title:t,excerpt:s})})})})})}},123:function(e,t,s){"use strict";var c=s(116),a=s(22),n=s(0),i=s.n(n),r=s(118),o=s(25),l=s(1),b=function(){var e=localStorage.getItem("localKey"),t=localStorage.getItem("classKey"),s=localStorage.getItem("tribeKey");return Object(l.jsx)("nav",{className:"main-menu navmenu d-none d-xl-block",children:Object(l.jsxs)("ul",{className:"d-flex justify-content-end",children:[Object(l.jsx)("li",{children:Object(l.jsx)(o.c,{exact:!0,isactiveactiveclassname:"active",to:"/live-classes",children:"Live"})}),Object(l.jsx)("li",{children:Object(l.jsx)(o.c,{isactiveactiveclassname:"active",to:"/classe
1s",isActive:function(e,s){if(s.pathname==="/class/".concat(t)||s.pathname.startsWith("/classes"))return!0},children:"Classes"})}),Object(l.jsx)("li",{children:Object(l.jsx)(o.c,{isactiveactiveclassname:"active",to:"/tribes",isActive:function(e,t){if(t.pathname==="/tribe/".concat(s)||t.pathname.startsWith("/tribes"))return!0},children:"Tribes"})}),Object(l.jsx)("li",{children:Object(l.jsx)(o.c,{isactiveactiveclassname:"active",to:"/teacher",children:"Teachers"})}),Object(l.jsx)("li",{children:Object(l.jsx)(o.c,{isactiveactiveclassname:"active",to:"/lovestream",children:"Love Stream"})}),Object(l.jsx)("li",{children:Object(l.jsx)(o.c,{to:"/members",activeClassName:"active",isActive:function(t,s){if(s.pathname==="/member/".concat(e)||s.pathname.startsWith("/members"))return!0},children:"Members"})})]})})},j=s(5),d=s(9),u=function(e){var t=e.show,s=e.onClose,c=Object(n.useState)("teacher"),i=Object(a.a)(c,2),b=i[0],j=i[1];Object(n.useEffect)((function(){Object(d.a)()&&function(){var e=[],t="";null!==(e=Object(d.a)().role)&&(e.map((function(e){return t=e.label_member})),j(t))}()}),[]);var u=localStorage.getItem("localKey"),m=localStorage.getItem("classKey"),h=localStorage.getItem("tribeKey");return Object(l.jsx)("div",{className:"offcanvas-modal ".concat(t?"show":""),children:Object(l.jsxs)("div",{className:"offcanvas-dialog",children:[Object(l.jsxs)("div",{className:"menu-content",children:[Object(l.jsxs)("div",{className:"offcanvas-header",children:[Object(l.jsx)(r.a,{classOption:"offcanvas-logo d-inline-block",image:"".concat("","/images/logo/logo.png")}),Object(l.jsx)("button",{type:"button",className:"btn-close",onClick:s})]}),Object(l.jsx)("nav",{id:"offcanvasNav",className:"offcanvas-menu",children:Object(l.jsxs)("ul",{className:"menu-header-resp",children:[Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{exact:!0,isactiveactiveclassname:"active",to:"/live-classes",children:"Live"})}),Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{isactiveactiveclassname:"active",to:"/classe
1s",isActive:function(e,t){if(t.pathname==="/class/".concat(m)||t.pathname.startsWith("/classes"))return!0},children:"Classes"})}),Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{isactiveactiveclassname:"active",to:"/tribes",isActive:function(e,t){if(t.pathname==="/tribe/".concat(h)||t.pathname.startsWith("/tribes"))return!0},children:"Tribes"})}),Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{isactiveactiveclassname:"active",to:"/teacher",children:"Teachers"})}),Object(d.a)()?Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{isactiveactiveclassname:"active",to:"/lovestream",children:"Love Stream"})}):"",Object(d.a)()?Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{to:"/members",activeClassName:"active",isActive:function(e,t){if(t.pathname==="/member/".concat(u)||t.pathname.startsWith("/members"))return!0},children:"Members"})}),Object(l.jsx)("div",{className:"next-list-mobile"}),Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{to:"/profile",className:"sub-menu-link pointer",children:"Profile"})}),Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{to:"/profile/classes",className:"sub-menu-link pointer",children:"My Classes"})}),b&&"teacher"===b||Object(d.a)().allow_access?Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{to:"/create-live-class",className:"sub-menu-link pointer",children:"Create Live Class"})}),Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{to:"/profile/classes",className:"sub-menu-link pointer",children:"Upload Class"})})]}):"",Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{to:"/profile/tribes",className:"sub-menu-link pointer",children:"Tribes"})}),Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{to:"/profile",className:"sub-menu-link pointer",children:"Account"})}),b&&"member"===b?Object(l.jsx)("li",{className:"li-resp-mobile",children:Object(l.jsx)(o.c,{to:"/membership-account",className:"sub-menu-link pointer",children:"Membership"})}):"",Object(l.jsx)("li",{className:"sub-menu-item cursor-pointer li-resp-mobile",children:Object(l.jsx)("a",{className:"sub-menu-span pointer",onClick:function(){return localStorage.clear(),void(window.location.href="/login")},children:"Logout"})})]}):""]})})]}),Object(d.a)()?"":Object(l.jsxs)("div",{className:"text-center mt-2",children:[Object(l.jsx)(o.c,{to:"/login",children:Object(l.jsx)("button",{className:"btn btn-primary mobile-button",children:"Login"})}),Object(l.jsx)(o.c,{to:"/registration",children:Object(l.jsx)("button",{className:"btn btn-secondary mobile-button",children:"Sign Up"})})]})]})})},m=s(26),h=s.n(m),p=s(49),O=(s(66),s(48));var f=0,x=0;t.a=function(){var e=function(){var e=Object(j.h)().search;return i.a.useMemo((function(){return new URLSearchParams(e)}),[e])}(),t=Object(n.useState)(e.get("token")),s=Object(a.a)(t,1)[0],m=Object(n.useState)(!1),g=Object(a.a)(m,2),v=g[0],N=g[1],_=Object(n.useState)(""),y=Object(a.a)(_,2),w=y[0],S=y[1],k=Object(n.useState)([]),T=Object(a.a)(k,2),C=T[0],E=T[1],L=Object(n.useState)(!0),M=Object(a.a)(L,2),D=M[0],F=M[1],Y=Object(n.useState)(!1),I=Object(a.a)(Y,2),R=I[0],A=I[1],H=Object(n.useState)(""),P=Object(a.a)(H,2),B=P[0],W=P[1],V=Object(n.useState)([]),q=Object(a.a)(V,2),z=q[0],K=q[1],U=Object(n.useState)(!1),J=Object(a.a)(U,2),G=J[0],Q=J[1],$=Object(n.useState)(!1),X=Object(a.a)($,2),Z=X[0],ee=X[1],te=Object(n.useState)(""),se=Object(a.a)(te,2),ce=se[0],ae=se[1],ne=Object(n.useState)(""),ie=Object(a.a)(ne,2),re=ie[0],oe=ie[1],le=(Object(p.b)(),Object(j.g)()),be="",je=function(){N((function(e){return!e}))},de=Object(j.h)().pathname;Object(n.useEffect)((function(){N(!1)}),[de]);var ue=Object(n.useState)(0),me=Object(a.a)(ue,2),he=me[0],pe=me[1],Oe=Object(n.useState)(0),fe=Object(a.a)(Oe,2),xe=fe[0],ge=fe[1];Object(d.a)()&&""!==Object(d.a)().token&&(be=Object(d.a)().token);var ve="";Object(n.useEffect)((function(){null!==s?_e():Object(d.a)()&&(!function(){var e=[];Object(d.a)()&&(e=Object(d.a)().role,be&&null!==e&&e.map((function(e){return ve=e.label_teacher})))}(),ae(ve))}),[ce]),Object(n.useEffect)((function(){var e=document.querySelector(".sticky-header");return ge(e.offsetTop),window.addEventListener("scroll",Ne),function(){window.removeEventListener("scroll",Ne)}}),[]);var Ne=function(){pe(window.scrollY)},_e=function(){Object(d.b)(""),h.a.post("".concat("https://panel.soultribeonline.com/api","/login-as-token?token=").concat(s)).then((function(e){var t;if(!e.data.success||null===(t=e.data.data)||void 0===t||!t.user)return S(e.data.message||"Invalid token"),void le.replace("/login");Object(d.b)(e.data.data.user),window.location.replace("/")})).catch((function(){S("Could not sign in with that link."),le.replace("/login")}))},ye=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.append,s=void 0!==t&&t,a=e.markRead,n=void 0!==a&&a;A(!0),h.a.get("".concat("https://panel.soultribeonline.com/api","/member/get-notifications?per_page=").concat(4).concat(n?"&mark_read=1":""),{headers:{"content-type":"application/json"}}
1).then((function(e){S(e.data.message);var t=e.data.data,a=(null===t||void 0===t?void 0:t.data)||[];E(s?function(e){return[].concat(Object(c.a)(e),Object(c.a)(a))}:a),void 0!==e.data.unread_count&&(x=e.data.unread_count),F(4===a.length),A(!1)})).catch((function(){A(!1)}))},we=function(){var e=C.map((function(e){return e.id})).filter(Boolean);0!==e.length&&0!==x&&h.a.post("".concat("https://panel.soultribeonline.com/api","/member/read-notifications"),{ids:e},{headers:{"content-type":"application/json"}}).then((function(e){void 0!==e.data.unread_count&&(x=e.data.unread_count,E((function(e){return Object(c.a)(e)})))}))},Se=function(e){var t=e.target,s=t.scrollTop;t.scrollHeight-s-t.clientHeight<40&&!R&&D&&ye({append:!0,markRead:!0})},ke=function(){h.a.get("".concat("https://panel.soultribeonline.com/api","/messages"),{headers:{"content-type":"application/json"}}).then((function(e){!0===e.data.success?K(e.data.data):W(e.data.message)}))},Te=Object(n.useCallback)((function(e,t){"header-notification"===e?(S(""),E((function(e){return[t].concat(Object(c.a)(e))})),x+=1,Q(!0),setTimeout((function(){return Q(!1)}),900)):"new_message"===e&&(f+=1,ee(!0),setTimeout((function(){return ee(!1)}),900),ke())}),[]);Object(n.useEffect)((function(){if(Object(d.a)()&&null!==Object(d.a)().stripe_subscription_id&&Ee(),Object(d.a)())return h.a.get("".concat("https://panel.soultribeonline.com/api","/member/profile"),{headers:{"content-type":"application/json"}}).then((function(e){var t=e.data.data;Object(d.b)(t),f=e.data.data.unread_message_count})).catch((function(e){localStorage.clear(),le.push("/login")})),ye(),ke(),Object(O.a)(Object(d.a)().id,Te)}),[]);var Ce=function(){0!==x&&h.a.get("".concat("https://panel.soultribeonline.com/api","/read-all-notification"),{headers:{"content-type":"application/json"}}).then((function(e){S(e.data.message),E([]),F(!1),x=0}))},Ee=function(){h.a.get("".concat("https://panel.soultribeonline.com/api","/stripe/subscriptions/").concat(Object(d.a)().stripe_subscription_id)).then((function(e){var t=Math.floor(new Date/1e3),s=e.data.current_period_end;"active"==e.data.status||"trialing"==e.data.status||s>t?oe(""):oe('We are facing some problem with payments from your credit card. Please visit <a href="/membership-account"> Membership Page</a> for more details.')})).catch((function(e){console.error(e.response),oe("")}))},Le=function(e,t){le.push(t),h.a.post("".concat("https://panel.soultribeonline.com/api","/read-notification"),{id:e},{headers:{}}).then((function(e){ye()}))};return Object(l.jsxs)(n.Fragment,{children:[Object(l.jsxs)("header",{className:"header-section sticky-header ".concat(he>xe?"is-sticky":""),children:[ce&&"teacher"===ce?"":Object(l.jsx)(l.Fragment,{children:""!==re?Object(l.jsx)("div",{className:"top__alert alert alert-danger text-center",children:Object(l.jsx)("p",{className:"m-0",dangerouslySetInnerHTML:{__html:re}})}):""}),Object(l.jsx)("div",{className:"container mobile-header-style",children:Object(l.jsxs)("div",{className:"d-flex align-items-center justify-content-between",children:[Object(l.jsx)("div",{className:"toggle-space-res",children:Object(l.jsxs)("button",{className:"toggle m-0 toggle-res",onClick:je,children:[Object(l.jsx)("span",{className:"icon-top"}),Object(l.jsx)("span",{className:"icon-middle"}),Object(l.jsx)("span",{className:"icon-bottom"})]})}),Object(l.jsx)("div",{className:"header-logo",children:Object(l.jsx)(r.a,{classOption:"d-block",image:"".concat("","/images/logo/soultribe.png")})}),Object(l.jsx)(l.Fragment,{children:Object(d.a)()?Object(l.jsx)("div",{className:"main-menu mobile-notification",children:Object(l.jsxs)("ul",{className:"d-flex align-items-center justify-content-between",children:[Object(l.jsxs)("li",{className:"msg-menu",children:[f>0&&Object(l.jsx)("span",{className:"msg-menu__badge".concat(Z?" is-ringing":""),children:f}),Object(l.jsx)("i",{className:"msg-menu__icon fa fa-comment".concat(Z?" is-ringing":"")}),Object(l.jsxs)("div",{className:"msg-menu__panel",children:[Object(l.jsx)("div",{className:"msg-menu__header",children:Object(l.jsx)("h5",{children:"Messages"})}),Object(l.jsxs)("ul",{className:"msg-menu__list",children:[B?Object(l.jsxs)("li",{className:"msg-menu__empty",children:[Object(l.jsx)("i",{className:"fa fa-comments"}),Object(l.jsx)("p",{children:B})]}):"",z.map((function(e,t){return Object(l.jsx)("li",{className:"msg-menu__item".concat(Number(e.unread_messages_count)>0?" msg-menu__item--unread":""),children:Object(l.jsxs)(o.c,{className:"msg-menu__link",to:"/messages/".concat(e.thread_id),children:[Object(l.jsx)("img",{className:"msg-menu__avatar",src:e.user?e.user.image:"".concat("","/images/noimg.png"),alt:"s"}),Object(l.jsxs)("div",{className:"msg-menu__body",children:[Object(l.jsx)("p",{className:"msg-menu__name",children:e.user?e.user.name:"Deleted User"}),Object(l.jsxs)("span",{className:"msg-menu__preview",children:[e.sender_id===Object(d.a)().id?"You: ":""," ",e.last_message]})]}),Number(e.unread_messages_count)>0&&Object(l.jsx)("span",{className:"msg-menu__item-count",children:e.unread_messages_count})]})},t)}))]}),Object(l.jsx)("footer",{className:"msg-menu__footer",children:Object(l.jsxs)(o.c,{className:"msg-menu__view",to:"/messages",children:["View Inbox ",Object(l.jsx)("i",{className:"fa fa-angle-right"})]})})]})]}),Object(l.jsxs)("li",{className:"notification_bar",onMouseEnter:we,children:[x>0&&Object(l.jsx)("span",{className:"unread".concat(G?" is-ringing":""),children:x}),Object(l.jsx)("i",{className:"notification_bar-icon fa fa-bell".concat(G?" is-ringing":"")}),Object(l.jsxs)("div",{className:"sub-menu",children:[Object(l.jsxs)("div",{className:"d-flex px-3",children:[Object(l.jsx)("h5",{children:"Notification"}),Object(l.jsx)("span",{className:"cursor-pointer",onClick:Ce,children:"Mark all as read"})]}),Object(l.jsxs)("ul",{className:"notification-scroll",onScroll:Se,children:[w?Object(l.jsxs)("li",{className:"empty-state",children:[Object(l.jsx)("i",{className:"fa fa-bell-o"}
1),Object(l.jsx)("p",{children:w})]}):"",C&&C.map((function(e,t){return Object(l.jsx)("li",{onClick:function(){return Le(e.id,e.notification_link)},children:Object(l.jsx)("div",{className:"profile_sec",children:Object(l.jsxs)("a",{className:"d-flex align-items-center",children:[Object(l.jsx)("img",{className:"user-image",src:e.sender_profile_pic,alt:"ss"}),Object(l.jsxs)("div",{children:[Object(l.jsx)("p",{className:"user-name d-inline",dangerouslySetInnerHTML:{__html:e.data.message}}),Object(l.jsx)("span",{className:"d-block font-weight-normal mt-1",children:e.created_time_ago})]})]})})},t)}))]}),Object(l.jsx)("footer",{className:"notification-footer text-center",children:Object(l.jsx)(o.c,{to:"/notifications",children:Object(l.jsxs)("span",{children:[" ","View Notifications"," ",Object(l.jsx)("i",{className:"fa fa-angle-right"})]})})})]})]})]})}):""}),Object(l.jsx)("div",{className:"menu menu-responsive",children:Object(l.jsx)(b,{})}),Object(d.a)()?"":Object(l.jsx)("div",{style:{width:"70px"}}),Object(l.jsx)("div",{className:"menu menu-responsive",children:Object(l.jsx)("nav",{className:"main-menu d-none d-xl-block",children:Object(l.jsx)("ul",{className:"d-flex justify-content-end",children:Object(d.a)()?Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("li",{children:Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("div",{className:"profile_sec",children:Object(l.jsxs)(o.c,{to:"/profile",className:"user-link new-class d-flex align-items-center",children:[Object(l.jsx)("span",{className:"user-name",children:Object(d.a)().name}),Object(l.jsx)("i",{className:"user-arrow fa fa-angle-down"}),Object(l.jsx)("img",{className:"user-image",src:Object(d.a)().image,alt:""})]})}),Object(l.jsxs)("ul",{className:"sub-menu",children:[Object(l.jsx)("li",{className:"sub-menu-item",children:Object(l.jsx)(o.c,{to:"/profile/timeline",className:"sub-menu-link pointer",children:"Account"})}),Object(l.jsxs)("li",{className:"sub-menu-item",children:[Object(l.jsx)(o.c,{to:"/profile/classes",className:"sub-menu-link pointer",children:"Classes"}),ce&&"teacher"===ce?Object(l.jsxs)("ul",{className:"sub-sub-menu",children:[Object(l.jsx)("li",{className:"sub-menu-item",children:Object(l.jsx)(o.c,{to:"/create-live-class",className:"sub-menu-link pointer",children:"Create Live Class"})}),Object(l.jsx)("li",{className:"sub-menu-item",children:Object(l.jsx)(o.c,{to:"/profile/classes",className:"sub-menu-link pointer",children:"Upload Class"})})]}):""]}),Object(l.jsx)("li",{className:"sub-menu-item",children:Object(l.jsx)(o.c,{to:"/profile/tribes",className:"sub-menu-link pointer",children:"Tribes"})}),ce&&"teacher"===ce?Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("li",{className:"sub-menu-item",children:Object(l.jsx)(o.c,{to:"/affiliates",className:"sub-menu-link pointer",children:"Affiliate Area"})}),Object(l.jsx)("li",{className:"sub-menu-item",children:Object(l.jsx)(o.c,{to:"/membership-account",className:"sub-menu-link pointer",children:"Membership"})})]}):Object(l.jsx)("li",{className:"sub-menu-item",children:Object(l.jsx)(o.c,{to:"/membership-account",className:"sub-menu-link pointer",children:"Membership"})}),Object(l.jsx)("li",{className:"sub-menu-item",children:Object(l.jsx)(o.c,{to:"/edit-profile",className:"sub-menu-link pointer",children:"Edit Profile"})}),Object(l.jsx)("li",{className:"sub-menu-item cursor-pointer",children:Object(l.jsx)("span",{className:"sub-menu-link pointer new-class",onClick:function(){h.a.post("".concat("https://panel.soultribeonline.com/api","/logout"),{},{headers:{"content-type":"application/json"}}).then((function(e){localStorage.clear(),le.push("/login")}))},children:"Logout"})})]})]})}),Object(l.jsxs)("li",{className:"msg-menu",children:[f>0&&Object(l.jsx)("span",{className:"msg-menu__badge".concat(Z?" is-ringing":""),children:f}),Object(l.jsx)("i",{className:"msg-menu__icon fa fa-comment".concat(Z?" is-ringing":"")}),Object(l.jsxs)("div",{className:"msg-menu__panel",children:[Object(l.jsx)("div",{className:"msg-menu__header",children:Object(l.jsx)("h5",{children:"Messages"})}),Object(l.jsxs)("ul",{className:"msg-menu__list",children:[B?Object(l.jsxs)("li",{className:"msg-menu__empty",children:[Object(l.jsx)("i",{className:"fa fa-comments"}),Object(l.jsx)("p",{children:B})]}):"",z.map((function(e,t){return Object(l.jsx)("li",{className:"msg-menu__item".concat(Number(e.unread_messages_count)>0?" msg-menu__item--unread":""),children:Object(l.jsxs)(o.c,{className:"msg-menu__link",to:"/messages/".concat(e.thread_id),children:[Object(l.jsx)("img",{className:"msg-menu__avatar",src:e.user?e.user.image:"".concat("","/images/noimg.png"),alt:"ss"}),Object(l.jsxs)("div",{className:"msg-menu__body",children:[Object(l.jsx)("p",{className:"msg-menu__name",children:e.user?e.user.name:"Deleted User"}),Object(l.jsxs)("span",{className:"msg-menu__preview",children:[e.sender_id===Object(d.a)().id?"You: ":""," ",e.last_message]})]}),Number(e.unread_messages_count)>0&&Object(l.jsx)("span",{className:"msg-menu__item-count",children:e.unread_messages_count})]})},t)}))]}),Object(l.jsx)("footer",{className:"msg-menu__footer",children:Object(l.jsxs)(o.c,{className:"msg-menu__view",to:"/messages",children:["View Inbox ",Object(l.jsx)("i",{className:"fa fa-angle-right"})]})})]})]}),Object(l.jsxs)("li",{className:"notification_bar",onMouseEnter:we,children:[x>0&&Object(l.jsx)("span",{className:"unread".concat(G?" is-ringing":""),children:x}),Object(l.jsx)("i",{className:"notification_bar-icon fa fa-bell".concat(G?" is-ringing":"")}),Object(l.jsxs)("div",{className:"sub-menu",children:[Object(l.jsxs)("div",{className:"d-flex px-3",children:[Object(l.jsx)("h5",{children:"Notification"}),Object(l.jsx)("span",{className:"cursor-pointer",onClick:Ce,children:"Mark all as read"})]}),Object(l.jsxs)("ul",{className:"notification-scroll",onScroll:Se,children:[w?Object(l.jsxs)("li",{className:"empty-state",children:[Object(l.jsx)("i",{className:"fa fa-bell-o"}
1),Object(l.jsx)("p",{children:w})]}):"",C&&C.map((function(e,t){return Object(l.jsx)("li",{onClick:function(){return Le(e.id,e.notification_link)},children:Object(l.jsx)("div",{className:"profile_sec",children:Object(l.jsxs)("a",{className:"d-flex align-items-center",children:[Object(l.jsx)("img",{className:"user-image",src:e.sender_profile_pic,alt:"ss"}),Object(l.jsxs)("div",{children:[Object(l.jsx)("p",{className:"user-name d-inline",dangerouslySetInnerHTML:{__html:e.data.message}}),Object(l.jsx)("span",{className:"d-block font-weight-normal mt-1",children:e.created_time_ago})]})]})})},t)}))]}),Object(l.jsx)("footer",{className:"notification-footer text-center",children:Object(l.jsx)(o.c,{to:"/notifications",children:Object(l.jsxs)("span",{children:[" ","View Notifications"," ",Object(l.jsx)("i",{className:"fa fa-angle-right"})]})})})]})]})]}):Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("li",{children:Object(l.jsx)(o.c,{to:"/login",children:Object(l.jsx)("span",{className:"btn btn-dark btn-hover-dark",children:"Login"})})}),Object(l.jsx)("li",{className:"ml-3",children:Object(l.jsx)(o.c,{to:"/registration",children:Object(l.jsx)("span",{className:"btn btn-dark text-dark bg-transparent",children:"Sign up"})})})]})})})})]})})]}),Object(l.jsx)(u,{show:v,onClose:je})]})}},124:function(e,t,s){"use strict";var c=s(24),a=s(22),n=s(0),i=s(1);t.a=function(e){var t=Object(n.useState)(!1),s=Object(a.a)(t,2),r=s[0],o=s[1];return Object(n.useEffect)((function(){var e=window.pageYOffset,t=function(){var t=window.pageYOffset;o(!(t<200)&&t<e),e=t};return window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t)}}),[]),Object(i.jsxs)("button",Object(c.a)(Object(c.a)({type:"button",className:"scroll-to-top ".concat(r?"show":""),onClick:function(){window.scrollTo({top:0,behavior:"smooth"})}},e),{},{children:[Object(i.jsx)("i",{className:"arrow-top icofont-long-arrow-up"}),Object(i.jsx)("i",{className:"arrow-bottom icofont-long-arrow-up"})]}))}},126:function(e,t,s){"use strict";var c=s(22),a=s(0),n=s(25),i=s(118),r=s(1),o=function(e){var t=e.path,s=e.icon,c=e.classOption;return Object(r.jsx)("a",{className:"".concat(c),href:""+t,target:"_blank",rel:"noopener noreferrer",children:Object(r.jsx)("i",{className:s})})};o.defaultProps={classOption:"footer-social-link"};var l=o,b=s(26),j=s.n(b),d=s(9);t.a=function(){var e=Object(a.useState)([]),t=Object(c.a)(e,2),s=t[0],o=t[1];Object(a.useEffect)((function(){j.a.get("".concat("https://panel.soultribeonline.com/api","/tribes")).then((function(e){!1===e.data.success||o(e.data.data.tribes.data)}))}),[]);var b="";return void 0!==s&&(b=Object(r.jsx)(r.Fragment,{children:s&&s.map((function(e,t){return Object(r.jsx)("li",{className:"footer-link",children:t<4?Object(r.jsx)(r.Fragment,{children:Object(d.a)()?Object(r.jsxs)(n.c,{className:"footer-link",to:""+"/tribe/".concat(e.slug),children:[e.title,e.group_members_count?Object(r.jsxs)("span",{children:[e.group_members_count," Members"]}):""]}):Object(r.jsxs)(n.c,{className:"footer-link",to:"/login",children:[e.title,e.group_members_count?Object(r.jsxs)("span",{children:[e.group_members_count," Members"]}):"",Object(r.jsx)("span",{})]})}):""},t)}))})),Object(r.jsxs)("footer",{className:"footer-section",children:[Object(r.jsx)("div",{className:"footer-top position-relative",children:Object(r.jsx)("div",{className:"container",children:Object(r.jsxs)("div",{className:"row mb-n7",children:[Object(r.jsx)("div",{className:"col-lg-4 col-sm-6 mb-7",children:Object(r.jsxs)("div",{className:"footer-widget",children:[Object(r.jsx)(i.a,{classOption:"footer-logo mb-9",image:"".concat("","/images/logo/soultribe.png")}),Object(r.jsx)("p",{children:"Soul Tribe is a global community for members to expand their consciousness together. Get instant access to yoga classes, meditations and lectures from certified teachers in a social networking interface."}),Object(r.jsxs)("ul",{className:"footer-social-links",children:[Object(r.jsx)("li",{children:Object(r.jsx)(l,{classOption:"footer-social-link",path:"https://www.facebook.com/soultribeonline",icon:"icofont-facebook"})}),Object(r.jsx)("li",{children:Object(r.jsx)(l,{classOption:"footer-social-link",path:"https://www.instagram.com/soultribeonline",icon:"icofont-instagram"})})]})]})}),Object(r.jsx)("div",{className:"col-lg-3 col-sm-6 mb-7 offset-lg-1",children:Object(r.jsxs)("div",{className:"footer-widget",children:[Object(r.jsx)("h4",{className:"title",children:"Helpful Links"}),Object(r.jsxs)("ul",{className:"footer-menu",children:[Object(r.jsx)("li",{children:Object(r.jsx)(n.c,{className:"footer-link",to:"/about",children:"About"})}),Object(r.jsx)("li",{children:Object(r.jsx)(n.c,{className:"footer-link",to:"/classe
1s",children:"Classes"})}),Object(r.jsx)("li",{children:Object(r.jsx)(n.c,{className:"footer-link",to:"/teacher",children:"Teachers"})}),Object(r.jsx)("li",{children:Object(r.jsx)(n.c,{className:"footer-link",to:"/tribes",children:"Tribes"})}),Object(d.a)()?Object(r.jsx)("li",{children:Object(r.jsx)(n.c,{className:"footer-link",to:"/members",children:"Members"})}):"",Object(r.jsx)("li",{children:Object(r.jsx)(n.c,{className:"footer-link",to:"/faqs",children:"FAQ"})}),Object(d.a)()&&"teacher"===Object(d.a)().role?Object(r.jsxs)(r.Fragment,{children:[Object(r.jsx)("li",{children:Object(r.jsx)(n.c,{className:"footer-link",to:"/internal-calendar",children:"Internal Calendar"})}),Object(r.jsx)("li",{children:Object(r.jsx)(n.c,{className:"footer-link",to:"/teacher-orientation-materials",children:"Teacher Orientation Materials"})})]}):""]})]})}),Object(r.jsx)("div",{className:"col-lg-3 col-sm-6 mb-7 offset-lg-1",children:Object(r.jsxs)("div",{className:"footer-widget",children:[Object(r.jsx)("h4",{className:"title",children:"Tribes"}),Object(r.jsx)("ul",{className:"footer-menu",children:b})]})})]})})}),Object(r.jsx)("div",{className:"copy-right-section",children:Object(r.jsx)("div",{className:"container",children:Object(r.jsx)("div",{className:"row",children:Object(r.jsx)("div",{className:"col-12",children:Object(r.jsxs)("div",{className:"copyright-info text-center",children:[Object(r.jsxs)("span",{children:["\xa9 ",(new Date).getFullYear()," ",Object(r.jsx)(n.b,{to:"https://soultribeonline.com/",target:"_blank",children:"Soul Tribe Online"}),". All rights reserved. \xa0",Object(r.jsx)(n.b,{to:"/privacy",children:"Privacy Policy"})," \xa0| \xa0",Object(r.jsx)(n.b,{to:"/terms-conditions",children:"Terms & Conditions"})]}),Object(r.jsxs)("p",{className:"m-0",children:["Questions? Send us an email at ",Object(r.jsx)(n.b,{to:"#",onClick:function(e){window.location.href="mailto:[email protected]",e.preventDefault()},children:"[email protected]"})]}),Object(r.jsxs)("p",{children:["For support email at ",Object(r.jsx)(n.b,{to:"#",onClick:function(e){window.location.href="mailto:[email protected]",e.preventDefault()},children:"[email protected]"})]})]})})})})})]})}},138:function(e,t,s){},158:function(e,t,s){"use strict";
1var c=s(0),a=s.n(c),n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s])},n(e,t)};var i=function(){return i=Object.assign||function(e){for(var t,s=1,c=arguments.length;s<c;s++)for(var a in t=arguments[s])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)};var r="Pixel",o="Percent",l={unit:o,value:.8};function b(e){return"number"===typeof e?{unit:o,value:100*e}:"string"===typeof e?e.match(/^(\d*(\.\d+)?)px$/)?{unit:r,value:parseFloat(e)}:e.match(/^(\d*(\.\d+)?)%$/)?{unit:o,value:parseFloat(e)}:(console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...'),l):(console.warn("scrollThreshold should be string or number"),l)}var j=function(e){function t(t){var s=e.call(this,t)||this;return s.lastScrollTop=0,s.actionTriggered=!1,s.startY=0,s.currentY=0,s.dragging=!1,s.maxPullDownDistance=0,s.getScrollableTarget=function(){return s.props.scrollableTarget instanceof HTMLElement?s.props.scrollableTarget:"string"===typeof s.props.scrollableTarget?document.getElementById(s.props.scrollableTarget):(null===s.props.scrollableTarget&&console.warn("You are trying to pass scrollableTarget but it is null. This might\n happen because the element may not have been added to DOM yet.\n See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.\n "),null)},s.onStart=function(e){s.lastScrollTop||(s.dragging=!0,e instanceof MouseEvent?s.startY=e.pageY:e instanceof TouchEvent&&(s.startY=e.touches[0].pageY),s.currentY=s.startY,s._infScroll&&(s._infScroll.style.willChange="transform",s._infScroll.style.transition="transform 0.2s cubic-bezier(0,0,0.31,1)"))},s.onMove=function(e){s.dragging&&(e instanceof MouseEvent?s.currentY=e.pageY:e instanceof TouchEvent&&(s.currentY=e.touches[0].pageY),s.currentY<s.startY||(s.currentY-s.startY>=Number(s.props.pullDownToRefreshThreshold)&&s.setState({pullToRefreshThresholdBreached:!0}),s.currentY-s.startY>1.5*s.maxPullDownDistance||s._infScroll&&(s._infScroll.style.overflow="visible",s._infScroll.style.transform="translate3d(0px, "+(s.currentY-s.startY)+"px, 0px)")))},s.onEnd=function(){s.startY=0,s.currentY=0,s.dragging=!1,s.state.pullToRefreshThresholdBreached&&(s.props.refreshFunction&&s.props.refreshFunction(),s.setState({pullToRefreshThresholdBreached:!1})),requestAnimationFrame((function(){s._infScroll&&(s._infScroll.style.overflow="auto",s._infScroll.style.transform="none",s._infScroll.style.willChange="unset")}))},s.onScrollListener=function(e){"function"===typeof s.props.onScroll&&setTimeout((function(){return s.props.onScroll&&s.props.onScroll(e)}),0);var t=s.props.height||s._scrollableNode?e.target:document.documentElement.scrollTop?document.documentElement:document.body;s.actionTriggered||((s.props.inverse?s.isElementAtTop(t,s.props.scrollThreshold):s.isElementAtBottom(t,s.props.scrollThreshold))&&s.props.hasMore&&(s.actionTriggered=!0,s.setState({showLoader:!0}),s.props.next&&s.props.next()),s.lastScrollTop=t.scrollTop)},s.state={showLoader:!1,pullToRefreshThresholdBreached:!1,prevDataLength:t.dataLength},s.throttledOnScrollListener=function(e,t,s,c){var a,n=!1,i=0;function r(){a&&clearTimeout(a)}function o(){var o=this,l=Date.now()-i,b=arguments;function j(){i=Date.now(),s.apply(o,b)}function d(){a=void 0}n||(c&&!a&&j(),r(),void 0===c&&l>e?j():!0!==t&&(a=setTimeout(c?d:j,void 0===c?e-l:e)))}return"boolean"!==typeof t&&(c=s,s=t,t=void 0),o.cancel=function(){r(),n=!0},o}(150,s.onScrollListener).bind(s),s.onStart=s.onStart.bind(s),s.onMove=s.onMove.bind(s),s.onEnd=s.onEnd.bind(s),s}return function(e,t){function s(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(s.prototype=t.prototype,new s)}(t,e),t.prototype.componentDidMount=function(){if("undefined"===typeof this.props.dataLength)throw new Error('mandatory prop "dataLength" is missing. The prop is needed when loading more content. Check README.md for usage');if(this._scrollableNode=this.getScrollableTarget(),this.el=this.props.height?this._infScroll:this._scrollableNode||window,this.el&&this.el.addEventListener("scroll",this.throttledOnScrollListener),"number"===typeof this.props.initialScrollY&&this.el&&this.el instanceof HTMLElement&&this.el.scrollHeight>this.props.initialScrollY&&this.el.scrollTo(0,this.props.initialScrollY),this.props.pullDownToRefresh&&this.el&&(this.el.addEventListener("touchstart",this.onStart),this.el.addEventListener("touchmove",this.onMove),this.el.addEventListener("touchend",this.onEnd),this.el.addEventListener("mousedown",this.onStart),this.el.addEventListener("mousemove",this.onMove),this.el.addEventListener("mouseup",this.onEnd),this.maxPullDownDistance=this._pullDown&&this._pullDown.firstChild&&this._pullDown.firstChild.getBoundingClientRect().height||0,this.forceUpdate(),"function"!==typeof this.props.refreshFunction))throw new Error('Mandatory prop "refreshFunction" missing.\n Pull Down To Refresh functionality will not work\n as expected. Check README.md for usage\'')},t.prototype.componentWillUnmount=function(){this.el&&(this.el.removeEventListener("scroll",this.throttledOnScrollListener),this.props.pullDownToRefresh&&(this.el.removeEventListener("touchstart",this.onStart),this.el.removeEventListener("touchmove",this.onMove),this.el.removeEventListener("touchend",this.onEnd),this.el.removeEventListener("mousedown",this.onStart),this.el.removeEventListener("mousemove",this.onMove),this.el.removeEventListener("mouseup",this.onEnd)
1))},t.prototype.componentDidUpdate=function(e){this.props.dataLength!==e.dataLength&&(this.actionTriggered=!1,this.setState({showLoader:!1}))},t.getDerivedStateFromProps=function(e,t){return e.dataLength!==t.prevDataLength?i(i({},t),{prevDataLength:e.dataLength}):null},t.prototype.isElementAtTop=function(e,t){void 0===t&&(t=.8);var s=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,c=b(t);return c.unit===r?e.scrollTop<=c.value+s-e.scrollHeight+1:e.scrollTop<=c.value/100+s-e.scrollHeight+1},t.prototype.isElementAtBottom=function(e,t){void 0===t&&(t=.8);var s=e===document.body||e===document.documentElement?window.screen.availHeight:e.clientHeight,c=b(t);return c.unit===r?e.scrollTop+s>=e.scrollHeight-c.value:e.scrollTop+s>=c.value/100*e.scrollHeight},t.prototype.render=function(){var e=this,t=i({height:this.props.height||"auto",overflow:"auto",WebkitOverflowScrolling:"touch"},this.props.style),s=this.props.hasChildren||!!(this.props.children&&this.props.children instanceof Array&&this.props.children.length),c=this.props.pullDownToRefresh&&this.props.height?{overflow:"auto"}:{};return a.a.createElement("div",{style:c,className:"infinite-scroll-component__outerdiv"},a.a.createElement("div",{className:"infinite-scroll-component "+(this.props.className||""),ref:function(t){return e._infScroll=t},style:t},this.props.pullDownToRefresh&&a.a.createElement("div",{style:{position:"relative"},ref:function(t){return e._pullDown=t}},a.a.createElement("div",{style:{position:"absolute",left:0,right:0,top:-1*this.maxPullDownDistance}},this.state.pullToRefreshThresholdBreached?this.props.releaseToRefreshContent:this.props.pullDownToRefreshContent)),this.props.children,!this.state.showLoader&&!s&&this.props.hasMore&&this.props.loader,this.state.showLoader&&this.props.hasMore&&this.props.loader,!this.props.hasMore&&this.props.endMessage))},t}(c.Component);t.a=j},432:function(e,t,s){"use strict";var c=s(3),a=s(4),n=s(6),i=s(7),r=s(0),o=s(122),l=s(134),b=(s(129),s(135)),j=s.n(b),d=s(1),u=function(e){Object(n.a)(s,e);var t=Object(i.a)(s);function s(e){var a;return Object(c.a)(this,s),(a=t.call(this,e)).onEditorStateChange=function(e){a.setState({editorState:e}),a.props.onChange(j()(Object(o.convertToRaw)(e.getCurrentContent())))},a.state={editorState:o.EditorState.createEmpty()},a}return Object(a.a)(s,[{key:"render",value:function(){var e=this.state.editorState;return Object(d.jsx)("div",{className:"border bg-light",children:Object(d.jsx)(l.Editor,{editorState:e,wrapperClassName:"demo-wrapper",editorClassName:"demo-editor",onEditorStateChange:this.onEditorStateChange,toolbar:{options:["inline","list"],inline:{options:["bold","italic","underline","strikethrough"]}}})})}}]),s}(r.Component);t.a=u},542:function(e,t,s){"use strict";s(0);var c=s(1);t.a=function(e){var t=e.title,s=e.description,a=e.actionLabel,n=e.onAction;return Object(c.jsxs)("div",{className:"empty-state text-center",style:{maxWidth:"440px",margin:"48px auto",padding:"40px 24px"},children:[Object(c.jsx)("div",{"aria-hidden":"true",style:{width:"88px",height:"88px",margin:"0 auto 24px",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(6, 0, 98, 0.08)",color:"#060062"},children:Object(c.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[Object(c.jsx)("circle",{cx:"11",cy:"11",r:"7"}),Object(c.jsx)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]})}),Object(c.jsx)("h4",{style:{marginBottom:"10px",fontWeight:600},children:t}),Object(c.jsx)("p",{style:{color:"#6b7280",marginBottom:0,lineHeight:1.6},children:s}),a&&n&&Object(c.jsx)("button",{type:"button",onClick:n,className:"btn btn-dark btn-hover-dark",style:{marginTop:"24px"},children:a})]})}},543:function(e,t,s){"use strict";var c=s(22),a=s(0),n=s(26),i=s.n(n),r=s(432),o=s(34),l=(s(66),s(1));t.a=function(){var e=Object(a.useState)(""),t=Object(c.a)(e,2),s=t[0],n=t[1],b=Object(a.useState)(""),j=Object(c.a)(b,2),d=j[0],u=j[1],m=Object(a.useState)(!1),h=Object(c.a)(m,2),p=h[0],O
1=h[1],f=Object(a.useState)(""),x=Object(c.a)(f,2),g=x[0],v=x[1];return Object(l.jsxs)("form",{onSubmit:function(e){e.preventDefault(),O(!0);var t=new FormData;t.append("title",e.target.title.value),t.append("group_type",e.target.group_type.value),t.append("description",g),t.append("image",s),t.append("cover_image",d),i.a.post("".concat("https://panel.soultribeonline.com/api","/create-tribe-group"),t,{headers:{"content-type":"multipart/form-data"}}).then((function(e){!0===e.data.success?(o.b.success(e.data.message,{position:"top-center",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}),window.location.reload(!0)):(O(!1),o.b.error(e.data.message,{position:"top-center",autoClose:5e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}))}))},children:[Object(l.jsxs)("div",{className:"form-group mb-4",children:[Object(l.jsx)("label",{children:"Tribe Name"}),Object(l.jsx)("input",{type:"text",className:"form-control",name:"title"})]}),Object(l.jsxs)("div",{className:"form-group mb-4",children:[Object(l.jsx)("label",{children:"Privacy Options"}),Object(l.jsxs)("div",{className:"bp-radio-wrap",children:[Object(l.jsxs)("div",{className:"bp-radio-wrap",children:[Object(l.jsx)("input",{type:"radio",name:"group_type",id:"group_type-public",className:"bs-styled-radio",value:"public"}),Object(l.jsx)("label",{htmlFor:"group_type-public",children:"This is a public tribe"})]}),Object(l.jsxs)("ul",{className:"group-option",children:[Object(l.jsx)("li",{children:"Any site member can join this tribe."}),Object(l.jsx)("li",{children:"This tribe will be listed in the tribes directory and in search results."}),Object(l.jsx)("li",{children:"Tribe content and activity will be visible to any site member."})]}),Object(l.jsxs)("div",{className:"bp-radio-wrap",children:[Object(l.jsx)("input",{type:"radio",name:"group_type",id:"group_type-private",className:"bs-styled-radio",value:"private"}),Object(l.jsx)("label",{htmlFor:"group_type-private",children:"This is a private tribe"})]}),Object(l.jsxs)("ul",{className:"group-option",children:[Object(l.jsx)("li",{children:"Only people who request membership and are accepted can join the tribe."}),Object(l.jsx)("li",{children:"This tribe will be listed in the tribes directory and in search results."}),Object(l.jsx)("li",{children:"Tribe content and activity will only be visible to members of the tribe."})]})]})]}),Object(l.jsxs)("div",{className:"form-group mb-4 edit-profile",children:[Object(l.jsx)("label",{children:"Profile Image"}),Object(l.jsxs)("div",{className:"upload_opt",children:[Object(l.jsx)("input",{onChange:function(e){n(e.target.files[0])},id:"image",className:"d-none",type:"file",name:"image"}),Object(l.jsxs)("label",{htmlFor:"image",className:"pl-3",children:[Object(l.jsx)("i",{className:"fa fa-camera"})," Add Profile Image Here",s&&s.name?Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("br",{}),Object(l.jsx)("span",{children:s.name})]}):""]})]})]}),Object(l.jsxs)("div",{className:"form-group mb-4 edit-profile",children:[Object(l.jsx)("label",{children:"Cover Image"}),Object(l.jsxs)("div",{className:"upload_opt",children:[Object(l.jsx)("input",{onChange:function(e){u(e.target.files[0])},id:"cover_image",className:"d-none",type:"file",name:"cover_image"}),Object(l.jsxs)("label",{htmlFor:"cover_image",className:"pl-3",children:[Object(l.jsx)("i",{className:"fa fa-camera"})," Add Cover Image Here",d&&d.name?Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("br",{}),Object(l.jsx)("span",{children:d.name})]}):""]})]})]}),Object(l.jsxs)("div",{className:"form-group mb-4",children:[Object(l.jsx)("label",{children:"Tribe Description"}),Object(l.jsx)(r.a,{onChange:function(e){v(e)}})]}),Object(l.jsx)("div",{className:"form-group mb-4 text-center",children:p?Object(l.jsx)("button",{type:"button",className:"btn btn-primary",disabled:!0,children:"Loading"}):Object(l.jsx)("button",{type:"submit",className:"btn btn-primary",children:"Submit"})})]})}}}]);
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.