PageSourceSearch

https://www.mixanma.com/services/communities-forum-client/1.1393.0/client-viewer/3658.chunk.min.js

js mixanma.com collected 2026-10-04 05:46:45 UTC 9,493 bytes, 2 lines download raw bytes

1"use strict";(("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_forum_client=("undefined"!=typeof self?self:this).webpackJsonp__wix_communities_forum_client||[]).push([[3658],{93349:(e,t,s)=>{s.d(t,{J:()=>m});var o=s(27762),a=s.n(o),n=s(95685),r=s.n(n),l=s(68437),i=s(62612),c=s(78611),p=s(35324);const m=e=>{let{className:t}=e;const{t:s}=(0,i.$)();return a().createElement(l.Z,{text:s("post-list-item.post-closed"),className:p.Z.tooltip},a().createElement(c.CommentDisabledIcon,{className:r()(t,"icon-secondary-fill")}))}},75189:(e,t,s)=>{s.d(t,{b:()=>ue});var o=s(27762),a=s.n(o),n=s(95685),r=s.n(n);const l="ep8AO2",i="n9QThG",c="zH2hlm",p="rH_D6u",m="h1wFBt",h="rPdmtl",d="G5FYex",g="BTUNTT",u="oUXkQq",y="cxrywo",C="CzWH2q";var f=s(88727),v=s(93213),b=s.n(v),P=s(17607),E=s(95827),N=s(74780),w=s(25382),S=s(26110),k=s(5236),T=s(61758),F=s(37218);const _="_96NxhD",A="KMNhzV",Z="cB9QOL",x="oqzcUs",I="PzdV1Q",O="_nqswJ",H="S1MOSV",L="mBaC9q",M="xfbVly",B="R2S9MC",W="rWoTkB";var R=s(90641),V=s(19920),$=s(95187),D=s(96547),U=s(71795),q=s(4627),z=s(10981),J=s(19538),Q=s(44338);const X=a().createElement("span",{className:r()(I,"forum-card-border-color")});class j extends o.Component{constructor(){super(...arguments),b()(this,"state",{isActionsVisible:!1}),b()(this,"handleCategoryChange",(e=>{this.props.onChange?this.props.onChange(e):this.props.redirectToCategory(e)})),b()(this,"handlePostFetch",(e=>{this.props.onChange||(this.props.resetPostTypeFilter(),this.props.fetchCategoryPosts({categoryId:e._id,page:1}))})),b()(this,"handlePostFetchNewest",(e=>{this.props.onChange||(this.props.setPostsPageSorting(R.iM),this.props.resetPostTypeFilter(),this.props.fetchCategoryPosts({categoryId:e._id,page:1,sort:R.iM}))})),b()(this,"onActionsShow",(()=>this.setState({isActionsVisible:!0}))),b()(this,"onActionsHide",(()=>this.setState({isActionsVisible:!1}))),b()(this,"renderArrow",(()=>{const e=this.state.isActionsVisible?B:void 0;return a().createElement("span",{className:r()(M,e)},a().createElement(S.ArrowDown,null))}))}render(){const{t:e,categories:t,categorySlug:s,contentFontClassName:o,state:n,preTextColor:l,label:i,isHeadless:c}=this.props;let p=0;const m=t.map((e=>(p+=e.unseenPostsCount||0,{label:e.label,value:e.slug,isIndented:!!e.parentId,isPrivate:(0,V.hv)(e),icon:(0,q.T5)(n,e.groups)?a().createElement(U.CurrencySignIcon,{className:r()("forum-icon-fill",W)}):a().createElement(D.LockEmptyIcon,{className:r()("forum-icon-fill")}),_id:e._id,unseenPostsCount:e.unseenPostsCount}))),h=[{label:e("category-select.all-posts"),value:"",isIndented:!1,_id:null,unseenPostsCount:p},...m],d=h.find((e=>e.value===s)),g=a().createElement("div",{className:O},i&&a().createElement("span",{style:{color:l}},e(i),"\xa0"),a().createElement("span",{className:H},d?d.label:""),this.renderArrow()),u=r()({"breadcrumbs-text-color":!c},o,L);return a().createElement("div",{"data-hook":"category-select"},a().createElement(w.Z,{theme:J.b.BlackAndWhite,icon:g,position:"right",className:u,iconClassName:r()({"breadcrumbs-icon-fill":!c},{"forum-icon-fill":c},"button-hover-color","button-hover-fill",{"post-header-text-color":!c}),onHide:this.onActionsHide,onShow:this.onActionsShow,fixedHeight:!0},h.map((e=>{const t=""===e.value;return a().createElement(a().Fragment,null,a().createElement(N.Z,{theme:J.b.BlackAndWhite,key:e.value,onClick:()=>this.handleCategoryChange(e.value),onMouseDown:()=>this.handlePostFetch(e),dataHook:`category-select-action__${e.value}`,isSelected:e.value===s},a().createElement("div",{className:_},a().createElement("div",{className:A},a().createElement("div",{className:Z},e.isIndented&&X,e.label),e.isPrivate&&e.icon),a().createElement(z.Z,{onMouseDown:t=>{t.stopPropagation(),this.handlePostFetchNewest(e)},count:e.unseenPostsCount}))),t&&a().createElement("div",{className:r()(x,"forum-card-border-color")}))}))))}}const G=(0,P.flowRight)((0,E.$)(((e,t,s)=>({state:e,categories:(0,k.tG)(e),categorySlug:t.params.categorySlug||"",redirectToCategory:e=>s.navigateWithinForum(""===e?"":`/${e}`),fetchCategoryPosts:s.fetchCategoryPosts,resetPostTypeFilter:s.resetPostTypeFilter,setPostsPageSorting:s.setPostsPageSorting}))),T.Z,F.Z,(0,Q.Z)({propName:"preTextColor",path:$.OL,alpha:.6,siteColorAlpha:.6,siteColorFallback:"color-5",fallbackColor:"#2f2e2e"}))(j);var K=s(80918),Y=s(91823);class ee extends o.Component{constructor(){super(...arguments),b()(this,"onChange",(e=>
1{const{setCategoryFilter:t,navigateWithinForum:s,feedType:o,startLoadingCategory:a}=this.props;a(e),t(e);s(`${o?`?${(0,Y.gd)(o)}`:""}`)}))}render(){const{categorySlug:e}=this.props;return a().createElement(G,{onChange:this.onChange,params:{categorySlug:e},isHeadless:!0,label:"filter-categories.label"})}}const te=(0,P.flowRight)(T.Z,(0,E.$)(((e,t,s)=>{const o=(0,K.F)(e);return{setCategoryFilter:s.setCategoryFilter,categorySlug:o,navigateWithinForum:s.navigateWithinForum,feedType:(0,Y.NR)(e),startLoadingCategory:t=>s.startLoadingCategory((t=>(0,k.fj)(e,t)||{_id:null})(t)._id)}})))(ee);var se=s(34591),oe=s(60216),ae=s.n(oe),ne=s(9346),re=s(26864),le=s(50520),ie=s(79183);const ce=e=>{let{fetchCategoryPosts:t,setPostsPageSorting:s,categoryId:o,siteMemberId:a,page:n,filter:r,postTypes:l,t:i,children:c,sort:p,getSortOptions:m}=e;return c({options:m(i).map((e=>{let{text:t,value:s}=e;return{label:t,value:s}})),value:p,onChange:e=>{s(e),t({categoryId:o,siteMemberId:a,page:n,sort:e,postType:l.length>1?r:ne.eF})}})};ce.propTypes={t:ae().func,onChange:ae().func,fetchCategoryPosts:ae().func,setPostsPageSorting:ae().func,categoryId:ae().string,page:ae().number,sort:ae().string,filter:ae().string,postTypes:ae().array,children:ae().func,fetchFirstPageOnly:ae().bool};const pe=(0,P.flowRight)(T.Z,(0,E.$)(((e,t,s,o)=>{const a=(0,ie.Rs)(e),{categorySlug:n}=a,r=parseInt(a.page,10)||1,l=(0,k.fj)(e,n)||(0,k.fj)(e,(0,K.F)(e))||{_id:null,postTypes:[]};return{categoryId:l._id,page:t.fetchFirstPageOnly||(0,re.xi)(e,o.style)?1:r,filter:(0,K.J)(e),sort:(0,le.Lc)(e,o.style,l._id),getSortOptions:t=>(0,le.cH)(e,l._id,t),postTypes:l.postTypes,fetchCategoryPosts:s.fetchCategoryPosts,setPostsPageSorting:s.setPostsPageSorting,siteMemberId:(0,Y.a7)(e)}})))(ce),me=()=>a().createElement(pe,null,(e=>{let{value:t,options:s,onChange:o}=e;return a().createElement(se.Z,{options:s,value:t,onChange:o})}));var he=s(16482),de=s(61273),ge=s(78045);const ue=e=>{let{className:t,dataHook:s,isTop:o,breakpointValue:n,showCategoryFilter:v,category:b,showCreatePostAction:P,postTypes:E,customCtaLabel:N,renderPagination:w}=e;const S=o&&!v&&!(null==b||!b._id),k=o&&v,T=o,F=!v&&!(null==b||!b._id);return a().createElement("div",{className:r()(l,{[d]:n===ge.sN.md,[i]:n===ge.sN.sm,[c]:n===ge.sN.xs},t),"data-hook":s},!o&&(null==w?void 0:w(!1)),(S||k)&&a().createElement("div",{className:p},S&&a().createElement("div",{className:u},b.label),k&&a().createElement("div",{className:g},a().createElement(te,null)),S&&(k||T)&&a().createElement(f.Kd,{className:y})),T&&a().createElement("div",{className:h},a().createElement(me,null)),a().createElement(f.rX,{className:C,theme:void 0}),a().createElement("div",{className:m},a().createElement(he.L,{showCategoryActions:F,showMarkPostsAsRead:!0,category:b,theme:J.b.BlackAndWhite}),P&&a().createElement(de.Z,{categorySlug:b.slug,postTypes:E,createPostCtaLabel:N})))}},14466:(e,t,s)=>{s.d(t,{Z:()=>d});var o=s(448),a=s.n(o),n=s(17607),r=s(27762),l=s.n(r),i=s(21274),c=s(31362),p=s(61758);const m="yO6PB8";class h extends l().Component{render(){const{t:e,category:t,type:s,noMemberPosts:o,...n}=this.props;return l().createElement(i.Z,a()({className:m,title:e(o?"no-filtered-member-posts.title":"no-filtered-posts.title"),content:e(o?"no-filtered-member-posts.reset-your-filter":"no-filtered-posts.reset-your-filter"),type:s},n))}}const d=(0,n.flowRight)(c.Z,p.Z)(h)},34591:(e,t,s)=>{s.d(t,{Z:()=>N});var o=s(93213),a=s.n(o),n=s(17607),r=s(27762),l=s.n(r),i=s(95685),c=s.n(i),p=s(61758),m=s(26110),h=s(74780);const d="FovXk0",g="m6Rvbk",u="CTrYkU",y="CcgOXh",C="AUypws";var f=s(25382),v=s(44338),b=s(95187),P=s(19538);class E extends r.Component{constructor(){super(...arguments),a()(this,"state",{isOpen:!1}),a()(this,"componentWillUnmount",(()=>{document.removeEventListener("click",this.hideComponent)})),a()(this,"showComponent",(()=>{this.setState({isOpen:!0})})),a()(this,"hideComponent",(()=>{this.setState({isOpen:!1})})),a()(this,"render",(()=>{const{t:e,options:t,onChange:s,value:o,preTextColor:a}=this.props,n=l().createElement("div",{className:c()(g)},l().createElement("span",{style:{color:a}},e("sorting.sort-by")),"\xa0",l().createElement("span",null,`${t.find((e=>e.value===o)).label}`),l().createElement("span",{className:c()(u,{[y]:this.state.isOpen})},l().createElement(m.ArrowDown,null)));return l().createElement("div",{"data-hook":"sorting-select"},l().createElement(f.Z,{ariaLabel:e("sorting.sort-by"),icon:n,className:c()(d),iconClassName:c()("forum-icon-fill","button-hover-color","button-hover-fill"),onHide:this.hideComponent,onShow:this.showComponent,theme:P.b.BlackAndWhite},t.map((e=>l().createElement(h.Z,{theme:P.b.BlackAndWhite,onClick:()=>s(e.value),key:e.value,dataHook:e.value,isSelected:e.value===o},l().createElement("div",{className:C},e.label))))))}
1))}}const N=(0,n.flowRight)(p.Z,(0,v.Z)({propName:"preTextColor",path:b.OL,alpha:.6,siteColorAlpha:.6,siteColorFallback:"color-5",fallbackColor:"#2f2e2e"}))(E)},35324:(e,t,s)=>{s.d(t,{Z:()=>o});const o={tooltip:"pA9CBM"}}}]);
2//# sourceMappingURL=3658.chunk.min.js.map

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.