PageSourceSearch

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

js mixanma.com collected 2026-10-04 05:46:36 UTC 25,982 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([[2042],{89435:(e,t,i)=>{i.d(t,{Sh:()=>n});var n={root:"sS8mTHj",rootReactionsVars:"sYC_4lb",reactionsMetadata:"sHT726A"}},57741:(e,t,i)=>{i.d(t,{U:()=>w});var n=i(95685),o=i.n(n),s=i(27762),a=i.n(s),l=i(95433),r=i(68437),c=i(78341),d=i(78611),m=i(19848),u=i(76167),h=i(43643),p=i(17607),v=i(95827),g=i(35001);const w=(0,p.flowRight)((0,v.$)(((e,t,i)=>({focusComment:i.focusCommentBox}))))((e=>{let{post:t,postLink:i,t:n,type:s,isLink:p,shouldFocusCommentBox:v,focusComment:w}=e;const f="metadata"===s,b=f?c.CommentDisabledIconSmall:d.CommentDisabledIcon,C=a().createElement("div",{className:m.Z.numberElementWithIcon,"data-hook":"post-list-item__comment-count"},t.isCommentsDisabled?a().createElement(r.Z,{text:n("post-list-item.post-closed"),className:o()(m.Z.icon,m.Z.tooltip,{[m.Z.metadata]:f})},a().createElement(b,{className:o()(m.Z.icon,"forum-icon-fill",{[m.Z.metadata]:f}),title:void 0})):a().createElement(l.CommentIconSmall,{title:n("post-list-item.total-comments",{count:t.totalComments||0}),className:o()(m.Z.icon,"forum-icon-fill",{[m.Z.metadata]:f})}),f?a().createElement("span",null,a().createElement(h.Z,{initialValue:t.totalComments,entityId:t._id,totalComments:!0})):a().createElement("span",{className:o()(m.Z.numberElementText)},n("post-list-item.comment")));return v?a().createElement("button",{onClick:()=>w(t._id),"data-hook":"post-list-item__comment-count",className:o()("forum-text-color",f?"forum-link-hover-color":m.Z.link,m.Z.button)},C):p?a().createElement(u.Z,{className:o()("forum-text-color",f?"forum-link-hover-color":m.Z.link),to:`${i}/dl-${g.tT}`,"data-hook":"post-list-item__comment-count"},C):C}))},5309:(e,t,i)=>{i.d(t,{Y:()=>m});var n=i(448),o=i.n(n),s=i(59805),a=i(61153),l=i(27762),r=i.n(l),c=i(42228),d=i(80783);const m=e=>{let{reactions:t,reactionsConfig:i,forPublicUser:n,onReactionClick:m,postId:u,t:h,isMobile:p}=e;const v=(0,d.w)(),g=(0,l.useMemo)((()=>({isDisabled:t.pending,onClick:e=>v(n((()=>m(e))),{actionDetails:{action:c.Qz,args:[{postId:u,reactionCode:e}]}}),t:h,isMobile:p,activeReaction:t.activeReaction})),[v,n,p,m,u,t,h]);switch(i.type){case"emotions":return r().createElement(s.O,o()({reactions:t.reactions,config:i},g));case"likes":return r().createElement(a.d,o()({config:i},g));case"none":return null}}},83541:(e,t,i)=>{i.d(t,{h:()=>C});var n=i(27762),o=i.n(n),s=i(57741),a=i(21075),l=i(12988),r=i(74752);const c=e=>{let{reactions:t,reactionsConfig:i,openReactionsModal:n,postId:s,t:c,isMobile:d,className:m}=e;const{buttonClicked:u}=(0,l.h)(((e,t)=>({buttonClicked:t.buttonClicked})));switch(i.type){case"emotions":case"likes":return o().createElement(a.w,{reactions:t.reactions,onClick:()=>{null==u||u({name:"reactions_list",reactionType:i.type,postId:s}),n({postId:s,reactionsConfig:i,reactions:t})},t:c,config:i,isMobile:d,className:m});case"none":return null;default:return console.error((0,r.t1)(i)),null}};var d=i(95685),m=i.n(d),u=i(43643),h=i(68512);const p="CMwgPS",v="cLElru",g="vHCMmC",w="sIaJ46",f="vuenYE",b=e=>{let{post:t,t:i,showViewCount:n}=e;return o().createElement("div",{className:g,"data-hook":"post-list-item__view-count"},o().createElement(h.ViewCountIcon,{title:i("subcategory-list-item.views"),className:m()(w,"forum-icon-fill")}
1),o().createElement("span",null,n?o().createElement(u.Z,{entityId:t._id,viewCount:!0}):o().createElement("span",null,"\xa0")))},C=e=>{let{post:t,reactionsConfig:i,postLink:n,t:a,reactions:l,isMobile:r,openReactionsModal:d,showReactionsCount:m=!0,showPostViewsCount:u=!0,showCommentsCount:h=!0,commentsCountShouldOpenPost:g=!0}=e;const w=[m&&l.total>0?o().createElement(c,{reactions:l,reactionsConfig:i,openReactionsModal:d||(()=>{}),postId:t._id,t:a,isMobile:r,className:d?"forum-link-hover-color":f}):null,h?o().createElement(s.U,{post:t,postLink:n,t:a,type:"metadata",isLink:g}):null,u?o().createElement(b,{post:t,showViewCount:u,t:a}):null];return o().createElement("div",{className:p},w.filter((e=>null!==e)).map((e=>o().createElement("div",{className:v},e))))}},78289:(e,t,i)=>{i.d(t,{l:()=>l});var n=i(42228),o=i(41814),s=i(39679),a=i(60172);const l=(e,t,i,l)=>({isViewsCountEnabled:!(0,o.OV)(e)&&(0,a.py)(e,l.style),reactions:(0,s.yl)(e,t.post._id),onReactionClick:e=>(i.interactionStarted(n.Qz),i.reactToPost({postId:t.post._id,reactionCode:e})),openReactionsModal:i.openReactionsModal,isShareButtonEnabled:!(0,o.hz)(e)&&!(0,o.JF)(e)&&(0,a.Wo)(e,l.style),cardSize:(0,a.SH)(e,l.style)})},62973:(e,t,i)=>{i.d(t,{s:()=>o});var n=i(74752);const o=e=>{let{origin:t,isCommentsEnabled:i,reactionsConfig:o,canShare:s,isViewsCountEnabled:a}=e;const l="none"!==o.type,r={isCommentsCountVisible:!1,isPostViewsCountVisible:!1,isReactionsCountVisible:l,isReactionsButtonVisible:l,isShareButtonVisible:!1,isCommentButtonVisible:!1,isRecentActivityVisible:!1};switch(t){case"footerPostsItem":return{...r,isCommentsCountVisible:!0,isPostViewsCountVisible:a};case"feedItem":return{...r,isCommentButtonVisible:!0,isCommentsCountVisible:!0,isRecentActivityVisible:!i};case"postPage":return{...r,isShareButtonVisible:!!s};case"postListCard":case"postListItem":return{...r,isCommentButtonVisible:!0,isCommentsCountVisible:!0,isPostViewsCountVisible:a,isRecentActivityVisible:!0};case"postPageMobile":return{...r,isPostViewsCountVisible:a,isCommentsCountVisible:!0,isCommentButtonVisible:!0,isShareButtonVisible:!!s};default:throw(0,n.t1)(t)}}},94403:(e,t,i)=>{i.d(t,{f:()=>$});var n=i(17607),o=i(27762),s=i.n(o),a=i(95827),l=i(88727),r=i(2018),c=i(61758),d=i(51792),m=i(83541),u=i(95625),h=i(31362),p=i(26524),v=i(42228),g=i(57741),w=i(5309);const f="g2rGuX",b="yVsB7m",C="VVlyd9",E="Gd6HpU",y="HQDoyA",V="hVKkAA",k="LfisaJ",_="UzUoDe",M="hsmCd9",S="h5uOFF",x=(0,n.flowRight)((0,a.$)(((e,t,i,n)=>({onReactionClick:e=>(i.interactionStarted(v.Qz),i.reactToPost({postId:t.post._id,reactionCode:e}))}))),h.Z,p.Z)((e=>{let{reactions:t,reactionsConfig:i,forPublicUser:n,onReactionClick:o,isMobile:a,post:r,postLink:c,t:d,showReactions:m,isPostCardSmall:u,showCommentButton:h,shouldFocusCommentBox:p}=e;const v=u?C:E,f=m?V:_;return s().createElement("div",{className:a?f:v},m&&s().createElement("div",{className:y},s().createElement(w.Y,{reactions:t,reactionsConfig:i,forPublicUser:n,onReactionClick:o,postId:r._id,t:d,isMobile:a})),m&&a?s().createElement(l.Kd,{className:k}):null,h&&s().createElement("div",{className:y},s().createElement(g.U,{post:r,postLink:c,t:d,type:"action",isLink:!0,shouldFocusCommentBox:p})))}));var I=i(62973),N=i(63746),P=i(43610),D=i(78289),R=i(95685),Z=i.n(R),L=i(89435);const $=(0,n.flowRight)((0,a.$)(D.l),p.Z,h.Z,c.Z,u.Z)((e=>{const{origin:t,post:i,category:n,isMobile:o,cardSize:a,isShareButtonEnabled:c,can:u,reactions:h,t:p,openReactionsModal:v,isViewsCountEnabled:g,shouldFocusCommentBox:w}=e,C=`/${null==n?void 0:n.slug}/${null==i?void 0:i.slug}`,E=(0,d.s)(n),y=a===r.HU,{isReactionsButtonVisible:V,isCommentsCountVisible:k,isPostViewsCountVisible:_,isReactionsCountVisible:D,isShareButtonVisible:R,isCommentButtonVisible:$,isRecentActivityVisible:B}=(0,I.s)({origin:t,reactionsConfig:E,canShare:i&&u("read","post",i)&&c,isViewsCountEnabled:g});return s().createElement("div",{className:Z()(f,L.Sh.rootReactionsVars,"forum-text-color")},s().createElement("div",{className:Z()(b,L.Sh.reactionsMetadata)},s().createElement(m.h,{post:i,reactionsConfig:E,postLink:C,reactions:h,t:p,isMobile:o,showReactionsCount:D,showCommentsCount:k,showPostViewsCount:_,openReactionsModal:v}),B&&s().createElement(N.Z,{post:i,category:n,isAvatarSmall:!0}),R&&s().createElement(P.Z,{post:i,category:n,className:Z()(M,S),path:`/${null==n?void 0:n.slug}/${null==i?void 0:i.slug}`})),s().createElement(l.rX,{theme:void 0}),s().createElement(x,{post:i,reactionsConfig:E,postLink:C,reactions:h,t:p,isMobile:o,showReactions:V,isPostCardSmall:y,showCommentButton:$,shouldFocusCommentBox:w}))}))},67665:(e,t,i)=>{i.d(t,{Z:()=>d});var n=i(27762),o=i.n(n),s=i(95685),a=i.n(s),l=i(4986);const r={container:"WjGoxx",small:"m1hoZo",medium:"Po0r4c",footerPost:"jK6oIP",search:"UE7Rob",hashtags:"pZ_ArI"},c=e=>{let{content:t,query:i,type:n,className:s,isContentConverted:c,clamp:d}=e;const m=a()(r.container,r[n],s);return o().createElement("div",{className:m,"data-hook":"post-description"},o().createElement(l.Z,{clamp:d,isContentConverted:c,contentState:t,query:i}))};c.SMALL="small",c.MEDIUM="medium",c.SEARCH="search",c.FOOTER_POST="footerPost",c.defaultProps={clamp:4};const d=c},4781:(e,t,i)=>{i.d(t,{Z:()=>h});var n=i(17607),o=i(95685),s=i.n(o),a=i(27762),l=i.n(a);const r="qOjqh0",c="OYPEO6",d="l4QXcj";var m=i(55006),u=i(76167);const h=e=>{let{hashtags:t,className:i,dataHook:o}=e;return l().createElement("div",{className:s()(i,r,"forum-links-hashtags-color"),"data-hook":o},(0,n.take)((0,n.uniq)(t),5).map((e=>l().createElement("span",{className:c,key:e}
1,l().createElement(u.Z,{className:s()("forum-links-hashtags-color",d),to:`/search/${(0,m.aF)(`#${e}`)}`},"#",e),"\xa0"))))}},34263:(e,t,i)=>{i.d(t,{Z:()=>n.Z});var n=i(4781)},78341:(e,t,i)=>{i.r(t),i.d(t,{CommentDisabledIconSmall:()=>l});var n=i(448),o=i.n(n),s=i(27762),a=i.n(s);const l=e=>{let{title:t,...i}=e;return a().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},i),a().createElement("title",null,t),a().createElement("path",{"fill-rule":"evenodd",d:"M2.723 3.053L2.8 3.1l1.414 1.06C4.455 4.057 4.721 4 5 4h7c1.105 0 2 .895 2 2v4c0 .45-.149.866-.4 1.2l1.2.9c.22.166.266.48.1.7-.147.196-.411.254-.623.147L14.2 12.9l-1.414-1.06c-.241.103-.507.16-.786.16H9.667l-3.899 2.924c-.268.211-.762.067-.768-.384V12c-1.105 0-2-.895-2-2V6c0-.45.149-.866.4-1.2l-1.2-.9c-.22-.166-.266-.48-.1-.7.147-.196.411-.254.623-.147zM4 6v4c0 .552.448 1 1 1h1v2.5L9.333 11h2.334L4.2 5.4c-.126.167-.2.375-.2.6zm8-1H5.333l7.467 5.6c.126-.167.2-.375.2-.6V6c0-.552-.448-1-1-1z"}))}},34146:(e,t,i)=>{i.r(t),i.d(t,{FacebookIcon:()=>l});var n=i(448),o=i.n(n),s=i(27762),a=i.n(s);const l=e=>a().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",width:"8.12",height:"16",viewBox:"0 0 8.12 16",style:{fillRule:"evenodd"}},e),a().createElement("path",{d:"M2535.93,890.5v-7h-2v-3h2v-2.527c0-1.815,1.41-3.481,4.12-3.481a20.191,20.191,0,0,1,2.02.105v2.524s-0.97-.008-1.87-0.008a1.062,1.062,0,0,0-1.27,1.2V880.5h3v3h-3v7h-3Z",transform:"translate(-2533.94 -874.5)"}))}
1,37731:(e,t,i)=>{i.r(t),i.d(t,{PlayArrow:()=>l});var n=i(448),o=i.n(n),s=i(27762),a=i.n(s);const l=e=>a().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30"},e),a().createElement("polygon",{style:{fill:"#fff"},points:"11 9 11 21 21 14.88 11 9"}))},83909:(e,t,i)=>{i.r(t),i.d(t,{PlayIcon:()=>l});var n=i(448),o=i.n(n),s=i(27762),a=i.n(s);const l=e=>a().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30"},e),a().createElement("circle",{style:{fill:"#1a1a1a"},cx:"15",cy:"15",r:"15"}),a().createElement("polygon",{style:{fill:"#fff"},points:"11 9 11 21 21 14.88 11 9"}))},16583:(e,t,i)=>{i.r(t),i.d(t,{ShareIcon:()=>r,ShareIconRtl:()=>c,default:()=>d});var n=i(448),o=i.n(n),s=i(27762),a=i.n(s),l=i(84440);const r=e=>a().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),a().createElement("path",{"fill-rule":"evenodd",d:"M13.777 6.084l6 4c.23.153.292.464.139.693-.037.055-.084.102-.139.139l-6 4c-.23.153-.54.091-.693-.139-.055-.082-.084-.178-.084-.277V13h-1c-3.866 0-7 3.134-7 7H4v-2.5c0-5.079 3.986-9.227 9-9.487V6.5c0-.276.224-.5.5-.5.099 0 .195.03.277.084zM14 7.434V9h-.5c-4.13 0-7.57 2.944-8.34 6.848C6.564 13.541 9.102 12 12 12h2v1.566l4.599-3.066L14 7.434z"})),c=e=>a().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e),a().createElement("path",{"fill-rule":"evenodd",d:"M13.777 6.084l6 4c.23.153.292.464.139.693-.037.055-.084.102-.139.139l-6 4c-.23.153-.54.091-.693-.139-.055-.082-.084-.178-.084-.277V13h-1c-3.866 0-7 3.134-7 7H4v-2.5c0-5.079 3.986-9.227 9-9.487V6.5c0-.276.224-.5.5-.5.099 0 .195.03.277.084zM14 7.434V9h-.5c-4.13 0-7.57 2.944-8.34 6.848C6.564 13.541 9.102 12 12 12h2v1.566l4.599-3.066L14 7.434z",transform:"translate(24, 0) scale(-1, 1)"})),d=(0,l.Z)(r,c)},47344:(e,t,i)=>{i.r(t),i.d(t,{TwitterIcon:()=>l});var n=i(448),o=i.n(n),s=i(27762),a=i.n(s);const l=e=>a().createElement("svg",o()({xmlns:"http://www.w3.org/2000/svg",width:"15",height:"12.188",viewBox:"0 0 15 12.188",style:{fillRule:"evenodd"}},e),a().createElement("path",{d:"M2615.5,878.848a6.088,6.088,0,0,1-1.76.484,3.1,3.1,0,0,0,1.35-1.7,6.189,6.189,0,0,1-1.95.747,3.083,3.083,0,0,0-5.33,2.105,3.248,3.248,0,0,0,.08.7,8.732,8.732,0,0,1-6.34-3.216,3.016,3.016,0,0,0-.42,1.547,2.9,2.9,0,0,0,1.13,2.562,9.461,9.461,0,0,1-1.63-.385v0.039a3.3,3.3,0,0,0,2.71,3.017,2.234,2.234,0,0,1-.69.108,2.41,2.41,0,0,1-.52-0.055,3.107,3.107,0,0,0,2.9,2.137,6.112,6.112,0,0,1-3.81,1.317,5.875,5.875,0,0,1-.72-0.043,8.757,8.757,0,0,0,13.48-7.373c0-.133-0.01-0.266-0.01-0.4A6.214,6.214,0,0,0,2615.5,878.848Z",transform:"translate(-2600.5 -877.406)"}))},17535:(e,t,i)=>{i.d(t,{Z:()=>fe});var n=i(448),o=i.n(n),s=i(17607),a=i(27762),l=i.n(a),r=i(60216),c=i.n(r);const d="fit",m=e=>e?e.replace(/^media\//,""):"",u=e=>function(t,i){let{file_name:n,width:o,height:a}=void 0===t?{width:1e3,height:1e3}:t,{maxWidth:l=1e3,maxHeight:r=1e3,quality:c=80,type:m=d,format:u="png",blur:h=0}=void 0===i?{}:i;if(n){const[t,i]=[(0,s.min)([l,o]),(0,s.min)([r,a])];return`https://${e}/media/${n}/v1/${m}/w_${t},h_${i},${(e=>e>0?`blur_${e},`:"")(h)}al_c,q_${c}/file.${u}`}return""},h=e=>(t,i,n)=>({url:u(e)({file_name:m(t),width:i,height:n},{maxWidth:640,maxHeight:480}),width:640,height:480}),p=e=>t=>t&&e?`https://${e}/${t}`:"";var v=i(79699);const g=["IMAGE","wix-draft-plugin-image","wix-draft-plugin-gallery"],w="video.wixstatic.com",f="static.wixstatic.com",b=e=>{const t=(0,s.get)(e,"content",{});if("nodes"in t){const e=(0,s.get)(t,"nodes",[]),i=e.find((e=>e.type===v.J.IMAGE));if(null!=i&&i.imageData)return(e=>{var t,i,n,o,s,a;if(e.imageData)return{id:(null==(t=e.imageData.image)||null==(t=t.src)?void 0:t.id)||(null==(i=e.imageData.image)||null==(i=i.src)?void 0:i.url),file_name:(null==(n=e.imageData.image)||null==(n=n.src)?void 0:n.id)||(null==(o=e.imageData.image)||null==(o=o.src)?void 0:o.url),width:null==(s=e.imageData.image)?void 0:s.width,height:null==(a=e.imageData.image)?void 0:a.height}})(i);const n=e.find((e=>e.type===v.J.GALLERY));return null!=n&&n.galleryData?(e=>{var t;const i=null==(t=e.galleryData)||null==(t=t.items)?void 0:t[0];var n,o,s,a,l,r;if(i)return{id:(null==(n=i.image)||null==(n=n.media)||null==(n=n.src)?void 0:n.id)||(null==(o=i.image)||null==(o=o.media)||null==(o=o.src)?void 0:o.url),file_name:(null==(s=i.image)||null==(s=s.media)||null==(s=s.src)?void 0:s.id)||(null==(a=i.image)||null==(a=a.media)||null==(a=a.src)?void 0:a.url),width:null==(l=i.image)||null==(l=l.media)?void 0:l.width,height:null==(r=i.image)||null==(r=r.media)?void 0:r.height}})(n):void 0}const i="entityMap"in t?t.entityMap:{},n=(0,s.findKey)(i,(e=>g.indexOf(e.type)>-1))||"",o=i[n];return o?(0,s.cloneDeep)((e=>(0,s.get)(e,"data.src"))(o)||(e=>{const t=(0,s.get)(e,"data.items[0]");return t?{file_name:t.url,width:t.metadata.width,height:t.metadata.height}:{}})(o)):void 0}
1,C="VIDEO-EMBED",E="wix-draft-plugin-video",y=[C,E],V={[C]:"data.oembed",[E]:"data.metadata.oembed"},k=e=>{const t=(0,s.get)(e,"content",{});if("nodes"in t){const e=(0,s.get)(t,"nodes",[]).find((e=>e.type===v.J.VIDEO));return null!=e&&e.videoData?(e=>{if(e.videoData){var t,i,n,o;const a=e.videoData.thumbnail||{},l=null!=(t=e.videoData.video)&&null!=(t=t.src)&&t.id?p(w)(e.videoData.video.src.id):null==(i=e.videoData.video)||null==(i=i.src)?void 0:i.url;if(null!=(n=a.src)&&n.id){var s;const e=h(f)((null==(s=a.src)?void 0:s.id)||"",a.width,a.height);return{thumbnail_url:e.url,thumbnail_height:e.height,thumbnail_width:e.width,video_url:l}}return{thumbnail_url:null==(o=a.src)?void 0:o.url,thumbnail_height:a.height,thumbnail_width:a.width,video_url:l}}})(e):void 0}const i="entityMap"in t?t.entityMap:{},n=(0,s.findKey)(i,(e=>{const t=e.type;return y.includes(e.type)&&((0,s.get)(e,`${V[t]}.thumbnail_url`)||(0,s.get)(e,"data.src.thumbnail"))}))||"",o=i[n];return o?(0,s.cloneDeep)((e=>{const t=e.type;return(0,s.get)(e,`${V[t]}.thumbnail_url`)?(0,s.get)(e,V[t]):void 0})(o)||(e=>{const t=(0,s.get)(e,"data.src"),i=(0,s.get)(e,"data.src.thumbnail");if(!i)return;const n=h(f)(i.pathname,i.width,i.height);return{thumbnail_url:n.url,thumbnail_height:n.width,thumbnail_width:n.height,video_url:p(w)(t.pathname)}})(o)):void 0};var _=i(51815),M=i(31362),S=i(95827),x=i(60172),I=i(93213),N=i.n(I),P=i(23215);class D extends a.Component{constructor(e){super(e),N()(this,"isVimeoAndRequireJS",(()=>"undefined"!=typeof window&&(function(e){const t=/vimeo\.com\/.+/;return!/vimeo\.com\/external\/[0-9]+\..+/.test(e)&&t.test(e)}(this.props.url)&&!window.Vimeo&&window.requirejs))),this.state={vimeoLoaded:!1}}componentDidMount(){this.isVimeoAndRequireJS()&&window.require(["https://player.vimeo.com/api/player.js"],(e=>{window.Vimeo={Player:e},this.setState({vimeoLoaded:!0})}))}render(){return!this.state.vimeoLoaded&&this.isVimeoAndRequireJS()?null:l().createElement(P.ZP,this.props)}}var R=i(75933),Z=i.n(R),L=i(37731),$=i(83909),B=i(95685),U=i.n(B);const T={loader:"R2SYgO",load6:"_RW8I8",medium:"rR_y3e",mini:"ezdWoN"},z=e=>{let{className:t,type:i}=e;return l().createElement("div",{className:U()(T.loader,t,"image-loader",{[T[i]]:i})})},A={container:"hOKC2f",small:"stYtc0",triangle:"WbJAED",top:"ozV0Nq"};const F=(0,i(37218).Z)((e=>{let{children:t,style:i,placement:n,offset:o,contentFontClassName:s,small:a}=e;return i&&i.top&&o&&(i={...i,top:i.top-o}),l().createElement("div",{className:U()(a?A.small:"",A.container,{[A[n]]:n},s),style:i},t,l().createElement("span",{className:A.triangle}))}));var H=i(95625),O=i(35204),W=i.n(O),q=i(86058),J=i.n(q),G=i(33842);const Y=new(W());var j=i(61758);const K=[()=>/https?:\/\/www\.youtube\.com\/embed\/([a-z\-_\d]+)/gi,()=>/https?:\/\/www\.youtube\.com\/watch\?v=([a-z\-_\d]+)/gi,()=>/https?:\/\/m\.youtube\.com\/watch\?v=([a-z\-_\d]+)/gi,()=>/https?:\/\/youtu\.be\/([a-z\-_\d]+)/gi],Q=[()=>/https?:\/\/vimeo\.com\/(\d+)/gi,()=>/https:\/\/player\.vimeo\.com\/video\/(\d+)/gi],X=[()=>/https?:\/\/video.wixstatic.com\/(.+)/gi],ee=(e,t)=>{let i=!1;return e.map((e=>e())).forEach((e=>{i=i||Boolean(e.exec(t))})),i},te=(e,t)=>{let i;return e.map((e=>e())).forEach((e=>{const n=e.exec(t);n&&(i=n[1])})),i},ie=[{isSupported:e=>ee(K,e),buildEmbedUrl:e=>`https://www.youtube.com/embed/${te(K,e)}?enablejsapi=1`,buildUrl:e=>`https://youtu.be/${te(K,e)}`,isLoaderVisible:!0},{isSupported:e=>ee(Q,e),buildEmbedUrl:e=>`https://player.vimeo.com/video/${te(Q,e)}?api=1`,buildUrl:e=>`https://vimeo.com/${te(Q,e)}`,isLoaderVisible:!0},{isSupported:e=>ee(X,e),buildEmbedUrl:()=>null,buildUrl:e=>e,isLoaderVisible:!1}],ne=e=>(0,s.find)(ie,(t=>t.isSupported(e)));var oe=i(28374);const se="VKErKx",ae="DeC86S",le="Ck4CbT",re="hY1SDT",ce="SBxzc1",de="yZdBM6",me="oalSDP",ue=function(e){let{thumbnail_url:t}=void 0===e?{}:e;return{backgroundImage:`url(${t})`}};class he extends a.Component{constructor(){super(...arguments),N()(this,"state",{isLoading:!1,isLoaded:!1,isTooltipVisible:!1}),N()(this,"handleMouseEnter",(()=>{this.timeout=setTimeout((()=>{this.setState({isTooltipVisible:!0})}),500)})),N()(this,"handleMouseLeave",(()=>{clearTimeout(this.timeout),this.setState({isTooltipVisible:!1})}
1)),N()(this,"setPlayer",(e=>{this.player=e})),N()(this,"handleVideoStart",(e=>{this.player!==e&&this.setState({isLoading:!1,isLoaded:!1})})),N()(this,"handlePlay",(e=>{e.preventDefault(),e.stopPropagation(),this.setState({isLoading:!0}),setTimeout((()=>this.handleReady()),5e3)})),N()(this,"handleReady",(()=>{this.state.isLoading&&this.setState({isLoaded:!0})})),N()(this,"handleStart",(()=>{this.props.eventEmitter.emitEvent("video-start",[this.player])})),N()(this,"renderPlayIcon",(()=>l().createElement("span",{ref:this.setPlayIconWrapper},l().createElement($.PlayIcon,{className:me})))),N()(this,"setPlayIconWrapper",(e=>this.playIconWrapper=e))}componentDidMount(){this.props.eventEmitter.on("video-start",this.handleVideoStart)}componentWillUnmount(){this.props.eventEmitter.removeListener("video-start",this.handleVideoStart),clearTimeout(this.timeout)}renderThumbnail(){const{isLoading:e,isLoaded:t}=this.state,{oembed:i,isMobile:n,isDesktop:o,t:a,isPlayDisabled:r}=this.props,c=r?s.noop:this.handlePlay,d=ne(i.video_url);return!t&&l().createElement("div",{className:le,style:ue(i),onClick:c,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,"data-hook":"video"},l().createElement("div",{className:re}),!e&&n&&l().createElement("div",{className:ce},l().createElement(L.PlayArrow,{className:de})," ",a("video-embed.load-video")),!e&&o&&this.renderPlayIcon(),d&&d.isLoaderVisible&&e&&l().createElement(z,{type:"medium"}),l().createElement(Z(),{show:r&&this.state.isTooltipVisible,placement:"top",container:"undefined"!=typeof window?window.document.getElementsByClassName(oe.Z.scrollable)[0]||window.document.body:null,target:this.playIconWrapper,onHide:this.handleMouseLeave,rootClose:!0},l().createElement(F,null,a("video-embed.disabled-tooltip"))))}renderPlayer(){const{isLoading:e}=this.state,{isDesktop:t,oembed:i}=this.props;return e&&l().createElement(D,{onClick:e=>{e.preventDefault(),e.stopPropagation()},ref:this.setPlayer,className:ae,width:"100%",height:"100%",url:(n=i.video_url,(0,s.invoke)(ne(n),"buildUrl",n)),onReady:this.handleReady,onStart:this.handleStart,playing:t,controls:!0,playsinline:!0});var n}render(){return l().createElement("div",{className:se},this.renderPlayer(),this.renderThumbnail())}}const pe=(0,j.Z)((0,H.Z)(function(e){const t=t=>l().createElement(e,o()({eventEmitter:Y},t));return t.displayName=`WithEventEmitter(${(0,G.G)(e)})`,J()(t,e),t}(he)));var ve=i(81041);const ge="HGeTf4";function we(e){let{post:t,can:i,postLink:n,isPinterestPinEnabled:a,children:r,...c}=e;const d=b(t),m=k(t),u=(e=>{const t=(0,s.get)(e,"content",{});if("nodes"in t){const e=(0,s.get)(t,"nodes",[]).find((e=>e.type===v.J.GIF));return null!=e&&e.gifData?(e=>{var t,i,n,o,s,a;if(e.gifData)return{originalUrl:null==(t=e.gifData.original)?void 0:t.gif,originalMp4:null==(i=e.gifData.original)?void 0:i.mp4,stillUrl:null==(n=e.gifData.original)?void 0:n.still,downsizedUrl:null==(o=e.gifData.downsized)?void 0:o.gif,downsizedSmallMp4:null==(s=e.gifData.downsized)?void 0:s.mp4,downsizedStillUrl:null==(a=e.gifData.downsized)?void 0:a.still,height:e.gifData.height,width:e.gifData.width}})(e):void 0}const i="entityMap"in t?t.entityMap:{},n=(0,s.findKey)(i,(e=>"wix-draft-plugin-giphy"===e.type))||"",o=i[n],a=(0,s.get)(o,"data.gif");return o?(0,s.cloneDeep)(a):void 0})(t);let h;if(m)h=l().createElement(pe,{oembed:m});else if(d){const e=a&&i("read","post",t)?{"data-pin-url":(0,_.Z)(n)}:{"data-pin-nopin":!0};h=l().createElement(ve.Ei,o()({className:ge,src:d},e,c))}else u&&(h=l().createElement("img",{className:ge,src:u.originalUrl,alt:"gif used in post"}));return r(h)||null}we.propTypes={postLink:c().string,post:c().object,isPinterestPinEnabled:c().bool,can:c().func,children:c().func};const fe=(0,s.flowRight)(M.Z,(0,S.$)(((e,t,i,n)=>({isPinterestPinEnabled:(0,x.m1)(e,n.style)}))))(we)},43610:(e,t,i)=>{i.d(t,{Z:()=>I});var n=i(93213),o=i.n(n),s=i(27762),a=i.n(s),l=i(17607),r=i(95685),c=i.n(r),d=i(95827);function m(e,t){var i;i=((e,t)=>{switch(e){case"facebook":return`http://www.facebook.com/sharer/sharer.php?u=${t}`;case"twitter":return`https://twitter.com/share?url=${t}`;default:return}})(e,t),window.open(i,"Share","width=640,height=640,toolbar=no,menubar=no,scrollbars=no,location=no,status=no")}var u=i(34146),h=i(47344),p=i(16583);const v={button:"v0u7IO",icon:"ra6ccf",facebook:"mQVVUY",twitter:"zYLQDU",link:"MBTwaD",share:"S5rM2V"};var g=i(98165);const w={facebook:u.FacebookIcon,twitter:h.TwitterIcon,link:p.default};class f extends s.Component{constructor(){super(...arguments),o()(this,"handleClick",(()=>{const{onClick:e,type:t}=this.props;e(t)})),o()(this,"render",(()=>{const{type:e,title:t,contentFontClassName:i,text:n,preventClickInPreview:o}=this.props,s=c()(v.icon,"forum-text-color",i),l=w[e];return a().createElement("button",{className:c()(v.button,v[e],s),onClick:o(this.handleClick),"aria-label":t},a().createElement(l,null),n&&a().createElement("span",{className:c()(v.share)},n))}))}}const b=(0,l.flowRight)(g.L)(f);var C=i(37218),E=i(61758);const y="Q6fWIZ",V="knnsnG";var k=i(92988),_=i(44267),M=i(30228),S=i(28055);class x extends s.Component{constructor(){super(...arguments),o()(this,"sharePost",(()=>{const{sectionUrl:e,post:t,category:i,openNativeShareIfSupported:n,showMessage:o,onShareClick:s}=this.props,a=`${e}/${i.slug}/${t.slug}`;s(),n({title:t.title,url:a},(async()=>{(0,S.T)(a)?o(M.Cp):o(M.I3)}))})),o()(this,"handleShare",(e=>{m(e,this.props.href)}))}render(){const{className:e,t}=this.props;return a().createElement("div",{className:c()(e,"forum-text-color",this.props.titleFontClassName,y),tabIndex:"-1"},a().createElement("span",{className:V},a().createElement(b,{type:"link",title:t("share-button.via-link"),onClick:this.sharePost,text:t("share-button.link"),
1contentFontClassName:this.props.contentFontClassName})))}}const I=(0,l.flowRight)((0,d.$)(((e,t,i)=>({showMessage:i.showMessage,sectionUrl:(0,_.Uc)(e),onShareClick:()=>{i.buttonClicked({action:"share-post-social",name:"action_click",type:"post",categoryId:t.post.categoryId,postId:t.post._id})}}))),C.Z,E.Z,k.Z)(x)},94779:(e,t,i)=>{i.d(t,{Z:()=>n.Z});var n=i(62792)},19848:(e,t,i)=>{i.d(t,{Z:()=>n});const n={numberElementWithIcon:"fI21ym",numberElementText:"gawMRG",icon:"cQR_2d",metadata:"MMprj4",tooltip:"Jd7J5m",link:"sGqge5",button:"q1TK7O"}}}]);
2//# sourceMappingURL=2042.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.