configs/walls/CommentsPage.a49796f4e39018c866ec.js
2019-03-12 13:36:46 -05:00

15 lines
498 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([["CommentsPage","Frontpage~ModListing~ModQueuePages~Multireddit~News~OriginalContent~ProfileComments~ProfileOverview~~1d46b903","PostDraft~SubredditWiki"],{"./node_modules/lodash/_baseDelay.js":function(e,t){var o="Expected a function";e.exports=function(e,t,n){if("function"!=typeof e)throw new TypeError(o);return setTimeout(function(){e.apply(void 0,n)},t)}},"./node_modules/lodash/compact.js":function(e,t){e.exports=function(e){for(var t=-1,o=null==e?0:e.length,n=0,s=[];++t<o;){var r=e[t];r&&(s[n++]=r)}return s}},"./node_modules/lodash/defer.js":function(e,t,o){var n=o("./node_modules/lodash/_baseDelay.js"),s=o("./node_modules/lodash/_baseRest.js")(function(e,t){return n(e,1,t)});e.exports=s},"./node_modules/lodash/random.js":function(e,t,o){var n=o("./node_modules/lodash/_baseRandom.js"),s=o("./node_modules/lodash/_isIterateeCall.js"),r=o("./node_modules/lodash/toFinite.js"),i=parseFloat,d=Math.min,a=Math.random;e.exports=function(e,t,o){if(o&&"boolean"!=typeof o&&s(e,t,o)&&(t=o=void 0),void 0===o&&("boolean"==typeof t?(o=t,t=void 0):"boolean"==typeof e&&(o=e,e=void 0)),void 0===e&&void 0===t?(e=0,t=1):(e=r(e),void 0===t?(t=e,e=0):t=r(t)),e>t){var c=e;e=t,t=c}if(o||e%1||t%1){var l=a();return d(e+l*(t-e+i("1e-"+((l+"").length-1))),t)}return n(e,t)}},"./src/app/helpers/describeApiError/index.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return r});var n=o("./src/app/strings/index.ts"),s=o("./src/lib/constants/index.ts");function r({apiError:e,isLoggedOut:t,language:o}){switch(e.type){case s.I.AUTHORIZATION_ERROR:return t?Object(n.a)(o,"error.type.notLoggedIn"):Object(n.a)(o,"error.type.notAuthorized");case s.I.VALIDATION_ERROR:return Object(n.a)(o,"error.type.validation");case s.I.NOT_FOUND_ERROR:return Object(n.a)(o,"error.type.notFound");case s.I.SERVER_ERROR:return Object(n.a)(o,"error.type.server");case s.I.LIKELY_UBLOCK_ERROR:return Object(n.a)(o,"error.type.blocked");default:return Object(n.a)(o,"error.type.generic")}}},"./src/lib/bigNumberUtils/percent.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return s});var n=o("./node_modules/bignumber.js/bignumber.js");function s(e,t){const o=new n.BigNumber(e),s=new n.BigNumber(t),r=new n.BigNumber(o.dividedBy(s)),i=new n.BigNumber("100").multipliedBy(r);return new n.BigNumber(i).toNumber()}},"./src/lib/colors/constants.ts":function(e,t,o){"use strict";o.d(t,"c",function(){return n}),o.d(t,"b",function(){return s}),o.d(t,"n",function(){return r}),o.d(t,"l",function(){return i}),o.d(t,"g",function(){return d}),o.d(t,"k",function(){return a}),o.d(t,"m",function(){return c}),o.d(t,"a",function(){return l}),o.d(t,"d",function(){return p}),o.d(t,"e",function(){return m}),o.d(t,"f",function(){return u}),o.d(t,"h",function(){return b}),o.d(t,"i",function(){return f}),o.d(t,"j",function(){return h});const n="#24A0ED",s="#000",r="#FFF",i="#FF4500",d="#CCCCCA",a="#A5A4A4",c="#222",l="#EA0027",p="#5F99CF",m="#0079d3",u="#F7FBFD",b="#545452",f="#222",h="#C6C6C6"},"./src/lib/humanizeDate/index.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return s});var n=o("./src/app/strings/index.ts");function s(e,t,o){const s=new Date(1e3*e);return`${Object(n.a)(t,`time.monthName.${s.getMonth()}`)} ${o?s.getDate()+", ":""}${s.getFullYear()}`}},"./src/lib/linkMatchers/index.ts":function(e,t,o){"use strict";var n=o("./node_modules/linkify-it/index.js"),s=o.n(n),r=o("./node_modules/tlds/index.js"),i=o.n(r),d=o("./src/lib/linkMatchers/customLinks.ts"),a=o("./node_modules/lodash/values.js"),c=o.n(a);const l=e=>c()(d.b).includes(e.substring(1)),p=["//","ftp:","http:","https:","mailto:"],m=e=>((e,t)=>(t.forEach(t=>e.add(t,null)),e))(e,p);o.d(t,"c",function(){return u}),o.d(t,"d",function(){return f}),o.d(t,"g",function(){return h}),o.d(t,"a",function(){return x}),o.d(t,"b",function(){return y}),o.d(t,"e",function(){return O}),o.d(t,"f",function(){return C});const u=s()().tlds(i.a).set({fuzzyIP:!0}),b=s()().set({fuzzyIP:!0}).add(d.f.mention.prefix,d.f.mention.config),f=m(s()()).set({fuzzyLink:!1,fuzzyEmail:!1}).add(d.f.subreddit.prefix,d.f.subreddit.config).add(d.f.subredditFull.prefix,d.f.subreddit.config),h=m(s()()).set({fuzzyLink:!1,fuzzyEmail:!1}).add(d.f.profile.prefix,d.f.profile.config).add(d.f.profileFull.prefix,d.f.profile.config),g=s()().tlds(i.a).set({fuzzyIP:!0}).add(d.f.subreddit.prefix,d.f.subreddit.config).add(d.f.subredditFull.prefix,d.f.subreddit.config).add(d.f.profile.prefix,d.f.profile.config).add(d.f.profileFull.prefix,d.f.profile.config).add(d.f.mention.prefix,d.f.mention.config),v=u.normalize;u.normalize=(e=>{v.call(u,e),!e.schema&&e.url.startsWith("http:")&&(e.url=`https:${e.url.slice(5)}`)});const x=(e,t)=>{return(g.match(e)||[]).filter(e=>{const o=l(e.text);return!o||o&&t})},y=e=>{return[...h.match(e)||[],...b.match(e)||[]].map(e=>!l(e.text)&&e.text.replace(d.a,"")).filter(e=>e)},O=(e,t)=>{const o=e.match(t);if(o&&1===o.length&&0===o[0].index&&o[0].lastIndex===t.length)return o[0]},C=e=>{const t=u.match(e);if(t&&1===t.length&&0===t[0].index){const o=t[0];return o.lastIndex===e.length?o:((e,t)=>{const o=e.substring(t.lastIndex);if(/.*\/\/.*\/.*/.test(t.url)&&/^(\?|\!)+$/.test(o))return t.lastIndex+=o.length,t.url+=o,t})(e,o)}}},"./src/lib/opener/index.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return n});const n={SELF:"_self",BLANK:"_blank",PARENT:"_parent",TOP:"_top"};t.b=((e,t=n.SELF,o)=>{if(t===n.BLANK){const n=window.open("",t,o);null!=n?(n.opener=null,n.location.href=e):window.location.href=e}else window.location.href=e})},"./src/reddit/components/AccountCompleteness/index.tsx":function(e,t,o){"use strict";var n=o("./src/higherOrderComponents/makeAsync.tsx"),s=o("./src/lib/loadWithRetries/index.ts");const r=()=>null,i=Object(n.a)({ErrorComponent:r,getComponent:()=>Object(s.a)(()=>o.e("MonthsToMinutes").then(o.bind(null,"./src/reddit/components/AccountCompleteness/_AccountCompleteness.tsx"))).then(e=>e.default),LoadingComponent:r});t.a=i},"./src/reddit/components/AdLinkWrapper/index.tsx":function(e,t,o){"use strict";var n=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),s=o("./bundled-modules/styled-components/styled-components.min.js");const r=o.n(s).a.div.withConfig({componentId:"s1u63ysq-0"})(["display: flex;justify-content: space-between;align-items: center;background-color: ",";height: 35px;"],e=>Object(n.c)(e).field);t.a=r},"./src/reddit/components/BannerAd/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./node_modules/reselect/lib/index.js"),a=o("./bundled-modules/styled-components/styled-components.min.js"),c=o.n(a),l=o("./src/lib/addQueryParams/index.ts"),p=o("./src/lib/constants/index.ts"),m=o("./src/lib/doubleclickForPublishers/index.ts"),u=o("./src/lib/intersectionObserver/index.ts"),b=o("./src/lib/objectSelector/index.ts"),f=o("./src/reddit/helpers/createBannerProperties/index.ts"),h=o("./src/reddit/selectors/subreddit.ts"),g=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const v=c.a.div.withConfig({componentId:"s127g5g-0"})(["position: relative;"]),x=c.a.div.withConfig({componentId:"s127g5g-1"})(["position: absolute;top: 0;left: 0;right: 0;bottom: 0;margin-top: -300px;margin-bottom: -300px;padding-top: 300px;padding-bottom: 300px;pointer-events: none;z-index: -1000;"]),y=e=>setTimeout(()=>{throw e},0);class O extends r.a.Component{constructor(){super(...arguments),this.frame=null,this.loader=null,this.refreshedAt=1/0,this.isWithinLoadingDistance=!1}componentDidCatch(e){y(e)}defineSlot(){var e=this.props;const t=e.id,o=e.slot,n=e.properties;var s=e.sizes;const r=void 0===s?[]:s;try{return this.frame&&m.a(this.frame,{id:t,slot:o,properties:n,sizes:r})}catch(i){y(i)}}destroySlot(){try{this.frame&&m.b(this.frame)}catch(e){y(e)}}async componentDidMount(){try{await this.defineSlot()}catch(e){y(e)}this.loader&&u.a(this.loader,e=>{this.frame&&m.e(this.frame,{viewable:e.intersectionRatio>.5}),this.isWithinLoadingDistance=!0,this.refresh(this.props),this.loader&&u.b(this.loader)})}componentWillUnmount(){this.loader&&u.b(this.loader),this.destroySlot()}refresh(e){this.isWithinLoadingDistance&&(this.refreshedAt=Date.now(),this.frame&&m.d(this.frame,{id:e.id,slot:e.slot,properties:e.properties,sizes:e.sizes}))}componentWillReceiveProps(e){this.props.refreshKey!==e.refreshKey&&Date.now()-this.refreshedAt>6e3&&this.refresh(e)}render(){var e=this.props;const t=e.id,o=e.slot,n=e.className;return o?g(v,{"data-slot":o},void 0,g(x,{innerRef:e=>{this.loader=e}},`${t}-loadinghitbox`),r.a.createElement("div",{key:`${t}-div`,className:n,ref:e=>{this.frame=e},id:t})):g("div",{className:n})}}O.defaultProps={sizes:[p.f]};t.a=Object(i.connect)(()=>Object(d.createStructuredSelector)({properties:Object(b.a)((e,t)=>{const o=e.platform.currentPage;if(!o)return{};const n=`${e.meta.protocol}://${e.meta.domain}`;return Object(f.b)(t.placement,e.user,Object(l.a)(`${n}${o.url}`,o.queryParams),Object(h.v)(e,{subredditName:t.listingName}),t.position)}),slot:(e,t)=>{const o=e.platform.currentPage;return o&&o.meta?m.c(t.listingName,o.meta.name):""}}))(O)},"./src/reddit/components/CallToActionButton/index.tsx":function(e,t,o){"use strict";var n=o("./bundled-modules/styled-components/styled-components.min.js"),s=o.n(n),r=o("./src/reddit/controls/Button/index.tsx"),i=o("./src/reddit/controls/OutboundLink/styled.tsx");const d=s()(i.a).withConfig({componentId:"xq4oc1-0"})(["","background-color: transparent;","",";&:hover{text-decoration: none;}"],r.o,r.p,e=>e.isNotCardView?"height: 27px":"");t.a=d},"./src/reddit/components/ClassicPost/index.tsx":function(e,t,o){"use strict";var n=o("./node_modules/react/index.js"),s=o.n(n),r=o("./bundled-modules/styled-components/styled-components.min.js"),i=o.n(r),d=o("./src/config.ts"),a=o("./src/lib/getShortenedLink.ts"),c=o("./src/reddit/components/AdLinkWrapper/index.tsx"),l=o("./src/reddit/components/CallToActionButton/index.tsx"),p=o("./src/reddit/components/Flatlist/index.tsx"),m=o("./src/reddit/components/JSAPIContainers/index.tsx"),u=o("./src/reddit/components/PostOverflowMenu/index.tsx"),b=o("./src/reddit/components/CompactPost/HorizontalVotes.tsx"),f=o("./src/reddit/components/ExpandoButton/index.tsx"),h=o("./src/reddit/components/LargePost/index.tsx"),g=o("./src/reddit/components/ModModeReports/index.tsx"),v=o("./src/reddit/components/ModModeReports/helpers.ts"),x=o("./src/reddit/components/PostBackgroundWrapper/index.tsx"),y=o("./src/reddit/components/PostContainer/index.tsx"),O=o("./src/reddit/components/PostMedia/index.tsx"),C=o("./src/reddit/components/PostMeta/index.tsx"),w=o("./src/reddit/components/PostTitle/index.tsx"),j=o("./src/reddit/components/PostTopMeta/index.tsx"),S=o("./src/reddit/controls/OutboundLink/styled.tsx"),I=o("./src/reddit/helpers/styles/postBackgroundColor.ts"),P=o("./src/reddit/models/Media/index.ts"),k=o("./src/reddit/components/ClassicPost/Thumbnail.tsx"),T=o("./node_modules/react-redux/es/index.js"),N=o("./node_modules/reselect/lib/index.js"),_=o("./src/app/actions/tooltip.ts"),L=o("./src/reddit/actions/post.ts"),M=o("./src/reddit/models/Vote/index.ts"),E=o("./src/reddit/contexts/InsideOverlay.tsx"),A=o("./src/reddit/contexts/PageLayer/index.tsx"),F=o("./src/reddit/selectors/activeModalId.ts"),R=o("./src/reddit/selectors/experiments/subscribeText.ts"),B=o("./src/reddit/selectors/moderatorPermissions.ts"),D=o("./src/reddit/selectors/monthsToMinutes.ts"),$=o("./src/reddit/selectors/posts.ts"),U=o("./src/reddit/selectors/user.ts");const W={autoplayPref:U.b,activeModalId:F.a,crosspost:$.c,currentUser:U.j,inlineSubscribeIsEnabled:R.a,isActive:$.f,isExpanded:$.h,isFrontpageHome:D.j,isMeta:(e,{postId:t})=>Object($.m)(e,t),language:U.M,moderatorPermissions:B.f,modModeEnabled:A.Q,newsStory:()=>null,post:$.D,poll:(e,t)=>{const o=e.posts.metaMap[t.postId];return o?e.polls.models[o]:null},showMedia:A.u,subredditOrProfile:$.O,userIsOp:U.db,flairStyleTemplate:A.S},H=(e,{postId:t})=>({handleVote:o=>{const n=o===M.a.upvoted?Object(L.J)(t):Object(L.n)(t);e(n)},onIgnoreReports:()=>e(Object(L.H)(t)),onOpenReportsDropdown:t=>e(Object(_.e)({tooltipId:t}))}),V=(e,t,o)=>Object.assign({},e,t,o,{formatTitle:e=>e.title}),z=Object(T.connect)(()=>Object(N.createStructuredSelector)(W),H,V);var K=o("./src/reddit/selectors/news.ts");const q=Object(A.w)(),G=Object.assign({},W,{newsStory:K.q}),J=Object(T.connect)(()=>Object(N.createStructuredSelector)(G),H,V);var Q,Z=o("./src/lib/LRUCache/index.ts"),Y=(Q="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,n){var s=e&&e.defaultProps,r=arguments.length-3;if(t||0===r||(t={}),t&&s)for(var i in s)void 0===t[i]&&(t[i]=s[i]);else t||(t=s||{});if(1===r)t.children=n;else if(r>1){for(var d=Array(r),a=0;a<r;a++)d[a]=arguments[a+3];t.children=d}return{$$typeof:Q,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const X=Object(A.w)({searchQuery:A.W}),ee=new Z.a(250),te=Object(T.connect)(()=>Object(N.createStructuredSelector)(W),H,(e,t,o)=>Object.assign({},e,t,o,{formatTitle:(e=>{const t=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return e=>{const o=`${e.id}-${t}`;let n=ee.get(o);if(void 0===n){const r=new RegExp(`(\\b${t}\\b)`,"gi"),i=e.title.split(r);for(let e=1;e<i.length;e+=2)i[e]=Y("em",{style:{fontWeight:700}},void 0,i[e]);n=Y("span",{style:{fontWeight:"normal"}},void 0,s.a.Children.toArray(i)),ee.set(o,n)}return n}})(o.searchQuery||"")}));var oe=o("./src/reddit/helpers/hasModFlairPermissions/index.ts"),ne=o("./src/reddit/helpers/hasModPostPermissions/index.ts"),se=o("./src/reddit/helpers/styles/mixins/index.tsx"),re=o("./src/reddit/helpers/styles/mixins/responsive.ts"),ie=o("./src/reddit/components/ClassicPost/index.m.less"),de=o.n(ie);o.d(t,"a",function(){return he}),o.d(t,"b",function(){return ge});var ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},ce=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const le=16,pe=i()(c.a).withConfig({componentId:"s1ty340e-0"})(["margin-right: -8px;margin-bottom: 8px;"]),me=i()(b.a).withConfig({componentId:"s1ty340e-1"})(["max-height: 24px;",""],re.a);const ue=(e,t,o)=>o?e.crosspostRootId?ce("div",{className:de.a.crosspostMediaWrapper},void 0,be(e,t)):be(e,t):null,be=(e,t)=>ce(O.a,{isExpando:!0,isListing:!0,isNotCardView:!0,scrollerItemRef:t,shouldLoad:!0,shouldPause:!1,showFull:!0,showCentered:!0,post:e}),fe=i()(class extends s.a.Component{componentDidUpdate(e){this.props.onSizeChanged&&e.isExpanded!==this.props.isExpanded&&this.props.onSizeChanged(this.props.post.id)}render(){var e=this.props;const t=e.className,o=e.currentUser,n=e.handleVote,r=e.isExpanded,i=e.isMeta,c=e.inSubredditOrProfile,b=e.inlineSubscribeIsEnabled,O=e.isCheckboxSelected,I=e.isFrontpage,T=e.isFrontpageHome,N=e.isOverlay,_=e.language,L=e.moderatorPermissions,M=e.eventFactory,E=e.flairStyleTemplate,A=e.formatTitle,F=e.modModeEnabled,R=e.newsStory,B=e.onClickPost,D=e.onIgnoreReports,$=e.onOpenReportsDropdown,U=e.poll,W=e.post,H=e.scrollerItemRef,V=e.subredditOrProfile,z=e.showBulkActionCheckbox,K=e.showMedia,q=e.toggleCheckbox,G=e.userIsOp,J=this.props.crosspost||void 0,Q=Object(ne.a)(L),Z=Object(oe.a)(L),Y=F&&ne.a,X=!!W.media&&W.media.type===P.m.RTJSON,ee="subreddit"===W.belongsTo.type,te=G&&X,se=G&&!!ee,re=c&&!K,ie={flairStyleTemplate:E,post:W,inSubredditOrProfile:c,shouldShowSubscribeButton:b&&!(I&&T),subredditOrProfile:V,showOCCategories:!0,newsStory:R,language:_};return ce(y.a,{className:t,post:W,onClick:B,eventFactory:M},void 0,Object(h.b)(W,n,z,O,q,E),ce(x.b,{flairStyleTemplate:E},void 0,ce("div",{className:de.a.mainBody},void 0,ce("div",{className:re?de.a.expandoContainer:de.a.thumbnailContainer},void 0,!re&&ce(k.b,{className:de.a.classicThumbnail,crosspost:J&&W,isMeta:i,post:J||W,url:R&&R.thumbnailUrl&&W&&W.thumbnail&&"default"===W.thumbnail.url?R.thumbnailUrl:"",templatePlaceholderImage:E&&E.postPlaceholderImage}),ce(f.a,{crosspost:J,className:de.a.rightExpando,isExpanded:!!r,post:W,useMediaIcons:!1})),ce("div",{className:de.a.content,"data-click-id":"body",style:{paddingBottom:`${le}px`}},void 0,ce(w.c,{className:U?de.a.titleWithPoll:void 0,format:A,poll:U,post:W,size:w.b.Medium,titleColor:E&&E.postTitleColor,disableFlair:!!R&&!!R.topic&&!!R.subtopic,isOverlay:N},void 0,W.source&&!J&&ce(S.a,{href:W.source.url,isSponsored:W.isSponsored,source:W.source},void 0,Object(a.a)(W))),s.a.createElement(C.a,ae({key:"PostMeta"},ie)),F&&Q&&Object(v.c)(W)&&ce(g.a,{language:_,onIgnoreReports:D,reportable:W}),ce("div",{className:de.a.spacer}),W.source&&W.source.url&&W.isSponsored&&ce(pe,{},void 0,ce(S.a,{href:W.source.url.replace(d.a.redditUrl,""),isSponsored:W.isSponsored,source:W.source},void 0,W.source.displayText),W.callToAction&&ce(l.a,{href:W.source.url.replace(d.a.redditUrl,""),isSponsored:W.isSponsored,source:W.source},void 0,W.callToAction)),ce("div",{className:de.a.flatlistContainer},void 0,ce(f.a,{className:de.a.leftExpando,crosspost:J,isExpanded:!!r,post:W,useMediaIcons:!1}),ce(me,{compact:!1,flairStyleTemplate:E,model:W,onVoteClick:n}),ce(p.a,{className:de.a.flatlistSeparator}),ce(p.c,{className:de.a.flatlist,currentUser:o,hasModFlairPerms:Z,hasModPostPerms:Q,isOverlay:!!N,language:_,modModeEnabled:F,onIgnoreReports:D,onOpenReportsDropdown:$,post:W,showEditPost:te,showEditFlair:se,tooltipType:N?j.c.Lightbox:void 0,useFlatlistBreakpoints:Object(u.h)({editPost:!Y,save:!Y,hide:!Y,report:!Y})})),ce(m.d,{postId:W.id}))),ue(W,H,r)))}}).withConfig({componentId:"s1ty340e-2"})(["."," {background: ",";}","","","","","","","",";cursor: pointer;"],de.a.classicThumbnail,I.b,k.a,se.h,se.f,p.e,p.d,C.b,x.a,e=>Object(se.j)(e.flairStyleTemplate)),he=(e=>q(J(Object(E.b)(e))))(fe),ge=(e=>X(te(e)))(fe);t.c=(e=>z(Object(E.b)(e)))(fe)},"./src/reddit/components/Collection/PostItem.tsx":function(e,t,o){"use strict";o.d(t,"a",function(){return K});var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./node_modules/reselect/lib/index.js"),a=o("./bundled-modules/styled-components/styled-components.min.js"),c=o.n(a),l=o("./src/lib/prettyPrintNumber/index.ts"),p=o("./src/app/strings/index.ts"),m=o("./src/lib/classNames/index.ts"),u=o("./src/lib/timezone/index.ts"),b=o("./src/reddit/actions/modal.ts"),f=o("./src/reddit/actions/postCollection.ts"),h=o("./src/reddit/components/ClassicPost/Thumbnail.tsx"),g=o("./src/reddit/components/PostContainer/index.tsx"),v=o("./src/reddit/components/PostEventMeta/index.tsx"),x=o("./src/reddit/components/TrackingHelper/index.tsx"),y=o("./src/reddit/components/Widgets/PostCollection/PostItem/OverflowMenu/index.tsx"),O=o("./src/reddit/components/Widgets/ThemedWidget/helpers.tsx"),C=o("./src/reddit/contexts/PageLayer/index.tsx"),w=o("./src/reddit/helpers/styles/postBackgroundColor.ts"),j=o("./src/reddit/models/PostCreationForm/index.ts"),S=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),I=o("./src/reddit/selectors/activeModalId.ts"),P=o("./src/reddit/selectors/postCollection.ts"),k=o("./src/reddit/selectors/posts.ts"),T=o("./src/reddit/selectors/user.ts"),N=o("./src/reddit/components/ClassicPost/index.m.less"),_=o.n(N),L=o("./src/reddit/components/Collection/postItem.m.less"),M=o.n(L),E=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],n=!0,s=!1,r=void 0;try{for(var i,d=e[Symbol.iterator]();!(n=(i=d.next()).done)&&(o.push(i.value),!t||o.length!==t);n=!0);}catch(a){s=!0,r=a}finally{try{!n&&d.return&&d.return()}finally{if(s)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});let F,R;const B=Object(a.css)([".","."," {height: 40px;width: 60px;margin-right: 8px;background: ",";background-size: cover;background-repeat: no-repeat;background-position: 50% top;position: relative;& > i {font-size: 18px;// Cleanest I can do here. Cannot cleanup/refactor the thumbnail implementation atm, too risky.\nmargin-left: -8px;}}"],_.a.thumbnail,_.a.thumbnail,w.b),D=c()(h.b).withConfig({componentId:"s1le15fg-0"})(["",""],B),$=c()(e=>A("div",{className:e.className},void 0,e.children)).withConfig({componentId:"s1le15fg-1"})(["&."," {background-color: ",";border-left-color: ",";}&:hover {background-color: ",";}"],M.a.active,e=>Object(S.c)(e).field,e=>Object(O.b)(e),e=>Object(S.c)(e).field),U=Object(a.css)(["border: 1px ",";"],e=>Object(S.c)(e).line),W=c.a.div.withConfig({componentId:"s1le15fg-2"})(["",""],U),H=c()(g.a).withConfig({componentId:"s1le15fg-3"})(["",""],U),V=c()(e=>A("span",{className:Object(m.a)(M.a.metaData,e.className)},void 0,e.children)).withConfig({componentId:"s1le15fg-4"})(["color: ",";"],e=>Object(S.c)(e).metaText),z=c.a.div.withConfig({componentId:"s1le15fg-5"})(["color: ",";"],e=>Object(S.c)(e).bodyText),K=({post:e,language:t})=>Object(v.b)(e)?A(v.a,{className:M.a.postEventMeta,language:t,post:e}):A(r.a.Fragment,{},void 0,A(V,{"data-click-id":"score"},void 0,Object(p.d)(t,"posts.points.noun",e.score,{count:Object(l.b)(e.score)})),A(V,{},void 0,"·"),A(V,{"data-click-id":"comments"},void 0,Object(p.d)(t,"posts.comments.noun",e.numComments,{count:Object(l.b)(e.numComments)}))),q=Object(C.w)({currentProfileName:C.j,isCommentsPage:C.z,isProfilePostListing:C.M,pageLayer:e=>e}),G=Object(i.connect)(()=>Object(d.createStructuredSelector)({activeModalId:I.a,isFutureEvent:P.e,language:T.M,layout:C.O,post:k.D,shouldShowCollectionPostEdits:P.m,subredditOrProfile:k.O}),(e,{collectionId:t,postId:n,isSelectedPost:s,isOverlay:r})=>({onRemovePostFromCollection:()=>e(Object(f.x)(t,n,s)),onStartEventNow:async()=>{R||(R=await Promise.resolve().then(o.bind(null,"./src/reddit/actions/events.ts"))),e(R.startEventNowRequested(n))},toggleEditStartTimeModal:async()=>{if(!F||!R){var t=await Promise.all([o.e("schedulePickerModal").then(o.bind(null,"./src/reddit/components/PostCreationForm/SchedulePickerModal/index.tsx")).then(e=>e.default),Promise.resolve().then(o.bind(null,"./src/reddit/actions/events.ts"))]),s=E(t,2);F=s[0],R=s[1]}e(b.i(Object(j.r)(n,r,j.j.COLLECTION_INFO_POST)))},addEventStartTime:t=>{R&&e(R.editEventTimeRequested(n,t))}}));t.b=q(G(Object(x.b)(({activeModalId:e,addEventStartTime:t,className:o,eventFactory:n,isFutureEvent:s,isOverlay:i,isSelectedPost:d,language:a,onClickPost:c,onRemovePostFromCollection:l,onStartEventNow:p,post:b,shouldShowCollectionPostEdits:f,shouldShowThumbnail:h,style:g,toggleEditStartTimeModal:x,updateSelectedPostRef:O})=>{const C=Object(m.a)(M.a.postContainer,o);return b?A(H,{className:C,post:b,onClick:c,eventFactory:n,style:g},void 0,r.a.createElement("div",{ref:d&&O||void 0},A($,{className:Object(m.a)(M.a.postContent,{[M.a.active]:d})},void 0,h&&A(D,{post:b}),A("div",{className:M.a.postBodyWrapper},void 0,A("div",{className:M.a.postBody,"data-click-id":"body"},void 0,A(z,{className:M.a.postTitle,title:b.title},void 0,b.title)),A("div",{className:M.a.bottomline},void 0,A(K,{post:b,language:a}),f&&A(y.a,{language:a,onRemoveClick:l,dropdownId:`collection-post-item-${b.id}`,isFutureEvent:s,onStartEventNow:p,onEditStartTime:x,onAddEventStartTime:x,shouldShowAddEventStartTime:!Object(v.b)(b)}),e===Object(j.r)(b.id,i,j.j.COLLECTION_INFO_POST)&&F&&A(F,{onChange:t,onClose:x,schedule:Object(u.c)(b),shouldShowDeleteButton:!1})))))):A(W,{className:C})})))},"./src/reddit/components/Collection/index.m.less":function(e,t,o){e.exports={collectionTitleWrapper:"_10IcBRrmressbhblq2bqiU",collectionTitle:"tFfYP5FF1o5CEXQ15uH7d",collectionMetaData:"_1-c9t8ecl06D08Su9pk4ni",fvfo:"_26aiXd-AESfIBwL9U-l46d",collectionBy:"_17sTscKExP8XIU91kNOF2U",collectionTitleOptions:"_1IA_VhTzcdVBgjp_pZllHj",postListWrapper:"_2T_gfh-4AolUQ4rcgj8LV3",collectionDescription:"_1qekGnwXQb9ZXUYpC2vI3o",collectionList:"_3DA4B_0rR_osY0zjBQbJ8d",author:"_3fYAYBseZm3AMr8S-Q5ZoJ",overflowMenu:"_3LbMCmvXBCx5DLWUsYvKdV",postCount:"_1LY03RHQAwDBI6w3IOLqwg"}},"./src/reddit/components/Collection/postItem.m.less":function(e,t,o){e.exports={postTitle:"_1mQ7ofp723UXvuhWIQJlkE",postEventMeta:"_1MY0D2ONaFsyT6RqXIZ7n2",metaData:"_1orZZ8LG5umCM9oKToaGK0",postContent:"_2m72E89bfBZ9YnM3kGiO3P",postBody:"_2rftp5iXVItb_pyUcwkQMS",bottomline:"_1-uKKLy6vu1pxOYHMhbm09",postContainer:"_2goX_woSxyq56-UP8n74Lt",active:"gnFbIkoQ2MXmUEpFRxfvL",postBodyWrapper:"_2qv23Ouv1qxkkvUz4p7oFD"}},"./src/reddit/components/CommentModModeDropdown/index.m.less":function(e,t,o){e.exports={StyledDropdown:"_1PC9CIsUh5fq8cQdx3iMRr",styledDropdown:"_1PC9CIsUh5fq8cQdx3iMRr"}},"./src/reddit/components/CommentModModeDropdown/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./node_modules/react-redux/es/index.js"),r=o("./node_modules/reselect/lib/index.js"),i=o("./src/higherOrderComponents/asTooltip.tsx"),d=o("./src/reddit/actions/comment.ts"),a=o("./src/reddit/components/TrackingHelper/index.tsx"),c=o("./src/reddit/controls/Dropdown/index.tsx"),l=o("./src/reddit/helpers/getOverlayContainerById/index.ts"),p=o("./src/reddit/helpers/trackers/modTools.ts"),m=o("./src/reddit/selectors/tooltip.ts"),u=o("./src/app/strings/index.ts"),b=o("./src/reddit/components/PostModModeDropdown/DropdownHelpers.tsx"),f=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),h=e=>f(b.c,{},void 0,!e.comment.isApproved&&f(b.b,{displayText:e.comment.approvedBy?Object(u.a)(e.language,"modTools.approved"):Object(u.a)(e.language,"modTools.approve"),onClick:e.onApproveComment},void 0,f(b.a,{})),!e.comment.bannedBy&&[f(b.b,{displayText:e.comment.isRemoved?Object(u.a)(e.language,"modTools.removed"):Object(u.a)(e.language,"modTools.remove"),onClick:e.onRemoveComment},void 0,f(b.d,{})),f(b.b,{displayText:e.comment.isSpam?Object(u.a)(e.language,"modTools.removedAsSpam"):Object(u.a)(e.language,"modTools.removeAsSpam"),onClick:e.onSpamComment},void 0,f(b.e,{}))]),g=o("./src/reddit/components/CommentModModeDropdown/index.m.less"),v=o.n(g),x=o("./src/lib/lessComponent.tsx"),y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const O=x.a.wrapped(c.a,"StyledDropdown",v.a),C=Object(r.createStructuredSelector)({isDropdownOpen:(e,{tooltipId:t})=>Object(m.b)(t)(e)}),w=Object(s.connect)(C,(e,{comment:t})=>({onApproveComment:()=>e(Object(d.G)(t.id)),onRemoveComment:()=>e(Object(d.Z)(t.id,!1)),onSpamComment:()=>e(Object(d.Z)(t.id,!0))})),j=Object(i.a)(O),S=w(Object(a.b)(e=>{const t=e.comment,o=e.isDropdownOpen,n=e.isOverlay,s=e.language,r=e.onApproveComment,i=e.onRemoveComment,d=e.onSpamComment,a=e.sendEvent,c=e.tooltipId,m=Object(l.a)(n);return y(j,{container:m,isOpen:o,isOverlay:n,tooltipId:c},void 0,y(h,{language:s,onApproveComment:()=>{r(),a(Object(p.c)("approve",t.id))},onRemoveComment:()=>{i(),a(Object(p.c)("remove",t.id))},onSpamComment:()=>{d(),a(Object(p.c)("spam",t.id))},comment:t}))}));t.a=S},"./src/reddit/components/CommentSort/index.m.less":function(e,t,o){e.exports={titleFontH1:"CXR-K_nCBPnjhSdSW-E7",titleFontH2:"_2s5L6K1n5yWb8KMR93-VJ9",titleFontH3:"J2UTKoIG0jcac_IQUe9jj",titleFontH4:"_1PuQgmYMfNlUR9FXjXNI6T",titleFontH5:"_1_ZolgvKCnckvBOwkh1frA",titleFontH6:"oxSP8EBrCSTdC-c1U4nDG",metadataFont:"_3lISIIvkOyteyRh-ihxs5o",flairFont:"_25LV7RPwr8i-gThhvCDgRr",labelsFont:"i0S_dGojXY2jWg5pXAJsb",actionFont:"_2SYMBsZoedYzJjg2XFjvYa",smallButtonFont:"_1YNwtgjdKYW5gF3F8I3t7j",largeButtonFont:"e612ujNFjy6dgK0HvRSf6",tabFont:"_2unBmFg8uGneIJ8eu5-YHp",bodyFontH1:"_3VMiqrhvb0YGDH6CqM4RG1",fvfo:"lz-SvLbMyzfs4k9TMzsgF",bodyFontH2:"_1_dF33bmwQIfejTIv61YNe",bodyFontH3:"_2qG88TqP4W2n2Ug-tberE8",bodyFontH4:"_2c9g4jc4g1pqKt4PXTueUM",bodyFontH5:"_3Ggx85fVKSAcK0YhX3Z_dt",bodyFontH6:"_3gkDEX9mAZGPhn22j8G7FB",bodyFont:"_1p7pgHBSUyxYDPMmck21tY",bodyFontSmall:"_2BgzzGrZku6TEuGcdp2Jza",bodyFontMono:"_3D0U2wrZW-Zr0BraBbnIfK",ArrowRight:"_25VC5AO_eMax7dcCJ47ZMH",arrowRight:"_25VC5AO_eMax7dcCJ47ZMH",DropdownTriangle:"_2SygZtDzf_C4qIcNZSp9Da",dropdownTriangle:"_2SygZtDzf_C4qIcNZSp9Da",HighlightWrapper:"ZKTZzs4LO7x7e4rPEUpik",highlightWrapper:"ZKTZzs4LO7x7e4rPEUpik",HoverSpan:"_1JxqP7pIyDWAb7ZY9y4B4R",hoverSpan:"_1JxqP7pIyDWAb7ZY9y4B4R",Info:"_1WID9dKeLVmxTcIDbsikcX",info:"_1WID9dKeLVmxTcIDbsikcX",Row:"_9hEKbWSdCV7reKexfA9A9",row:"_9hEKbWSdCV7reKexfA9A9",SetSort:"HmwZrbvPI-jmojhXVkokg",setSort:"HmwZrbvPI-jmojhXVkokg",SingleCommentText:"_3FFN4Awm0KIZhIBaov7YkY",singleCommentText:"_3FFN4Awm0KIZhIBaov7YkY",SortLink:"_1kRIQA3aUo9CmI155wkADc",sortLink:"_1kRIQA3aUo9CmI155wkADc",Title:"qcxaFzxDBtnkGs5hS18OZ",title:"qcxaFzxDBtnkGs5hS18OZ",ViewFullLinkContainer:"_21kEJV3xUcv3UfNXceidq4",viewFullLinkContainer:"_21kEJV3xUcv3UfNXceidq4",ViewFullLinkOrOverlayLink:"NlqxHck26RgynrMKMT-9H",viewFullLinkOrOverlayLink:"NlqxHck26RgynrMKMT-9H"}},"./src/reddit/components/Comments/Comment/Flatlist/index.m.less":function(e,t,o){e.exports={ModActionsMenu:"_3IuprPPEDVWAHB_tWQFgad",modActionsMenu:"_3IuprPPEDVWAHB_tWQFgad",ViewReportsDropdown:"_1JwG70oEVxaFNeRI-8q_bd",viewReportsDropdown:"_1JwG70oEVxaFNeRI-8q_bd",supportButton:"_2YUu8EV4OahSxJwgb9xLbr"}},"./src/reddit/components/Comments/Comment/TopMeta/index.m.less":function(e,t,o){e.exports={DonationAmount:"_3sY3k4LLYR5dbXRxnGkhwG",donationAmount:"_3sY3k4LLYR5dbXRxnGkhwG",RightPositionedAuthorFlair:"_zMIUk6t-WDI7fxfkvD02",rightPositionedAuthorFlair:"_zMIUk6t-WDI7fxfkvD02",EditedText:"uMVXpG5M2xxHNW2g94S8K",editedText:"uMVXpG5M2xxHNW2g94S8K",MetaSeparator:"yJGcpQjpmA13QcuUz2h0B",metaSeparator:"yJGcpQjpmA13QcuUz2h0B",publicPoints:"_2LXcsgibmlCEsBPk8MLy7e",AuthorHoverCard:"_16AAktgl_rVbXAeiWU9CQd",authorHoverCard:"_16AAktgl_rVbXAeiWU9CQd",Component:"_36uQqfCEixcb8d3_aWB5H6",component:"_36uQqfCEixcb8d3_aWB5H6"}},"./src/reddit/components/Comments/Comment/TopMeta/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./node_modules/reselect/lib/index.js"),a=o("./bundled-modules/styled-components/styled-components.min.js"),c=o.n(a),l=o("./src/app/actions/tooltip.ts"),p=o("./src/app/strings/index.ts"),m=o("./src/lib/constants/index.ts"),u=o("./src/lib/humanizeDateTime/index.ts"),b=o("./src/lib/timeAgo/index.ts"),f=o("./src/reddit/components/AuthorLink/index.tsx"),h=o("./src/reddit/components/AwardBadges/index.tsx"),g=o("./src/reddit/components/Badges/UserDisplay/index.tsx"),v=o("./src/reddit/components/Flair/index.tsx"),x=o("./src/reddit/components/Governance/UserPublicPointsDisplay/async.tsx"),y=o("./src/reddit/components/Governance/UserPublicPointsDisplay/dynamicStyles.ts"),O=o("./src/reddit/components/Hovercards/AuthorHovercard/index.tsx"),C=o("./src/reddit/components/InfoTextTooltip/index.tsx"),w=o("./src/reddit/components/JSAPIContainers/index.tsx"),j=o("./src/reddit/components/PostTopMeta/index.tsx"),S=o("./src/reddit/constants/colors.ts"),I=o("./src/reddit/helpers/isRemoved.ts"),P=o("./src/reddit/helpers/modTooltipTemplates/index.ts"),k=o("./src/reddit/helpers/showReportIndicator/index.ts"),T=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),N=o("./src/reddit/featureFlags/index.ts"),_=o("./src/reddit/actions/comment.ts"),L=o("./src/reddit/actions/removalReasons/index.ts"),M=o("./src/reddit/models/Comment/index.ts"),E=o("./src/reddit/models/Flair/index.ts"),A=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),F=o("./src/reddit/icons/fonts/Admin/index.tsx"),R=o("./src/reddit/icons/fonts/Approve/index.tsx"),B=o("./src/reddit/icons/fonts/helpers.tsx"),D=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});var $=c()(e=>D("i",{className:`${Object(B.b)("op")} ${e.className}`,id:e.id,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},void 0,D(B.a,{},void 0,e.desc))).withConfig({componentId:"q8pwvu-0"})(["display: inline-block;vertical-align: text-bottom;width: 12px;height: 12px;font-size: 14px;font-weight: 400;line-height: 14px;"]),U=o("./src/reddit/icons/fonts/Remove/index.tsx"),W=o("./src/reddit/icons/fonts/Report/index.tsx"),H=o("./src/reddit/icons/fonts/Spam/index.tsx"),V=o("./src/reddit/icons/svgs/Automoderator/index.tsx"),z=o("./src/reddit/icons/svgs/Cake/index.tsx"),K=o("./src/reddit/icons/svgs/Moderate/index.tsx"),q=o("./src/reddit/controls/MetaData/index.tsx"),G=o("./src/reddit/featureFlags/component.tsx"),J=o("./src/reddit/selectors/subreddit.ts"),Q=o("./src/reddit/selectors/userFlair.ts"),Z=o("./src/reddit/components/Comments/Comment/TopMeta/index.m.less"),Y=o.n(Z),X=o("./src/lib/lessComponent.tsx"),ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},te=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),oe=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const ne=`\n ${T.metadataFont}\n`,se=X.a.wrapped(v.c,"RightPositionedAuthorFlair",Y.a),re="\n margin-left: 4px;\n cursor: default;\n",ie=`\n ${re}\n height: 12px;\n width: 12px;\n font-size: 12px;\n line-height: 12px;\n`,de=c()(F.a).withConfig({componentId:"s158yqha-0"})(["","color: ",";"],re,S.a.admin),ae=c()(R.a).withConfig({componentId:"s158yqha-1"})(["","color: ",";"],ie,S.a.approved),ce=c.a.div.withConfig({componentId:"s158yqha-2"})(["","text-align: center;color: ",";"],ie,S.a.adminEmeritus),le=c()(V.a).withConfig({componentId:"s158yqha-3"})(["","fill: ",";"],ie,e=>e.removed?S.a.removed:S.a.approved),pe=c()(z.a).withConfig({componentId:"s158yqha-4"})(["","fill: ",";width: 14px;height: 14px;"],re,S.a.op),me=c()(K.a).withConfig({componentId:"s158yqha-5"})(["","fill: ",";width: 16px;height: 16px;"],re,S.a.moderator),ue=c()(U.a).withConfig({componentId:"s158yqha-6"})(["","color: ",";"],ie,S.a.removed),be=c()(W.a).withConfig({componentId:"s158yqha-7"})(["","color: ",";"],ie,S.a.reported),fe=c()(H.a).withConfig({componentId:"s158yqha-8"})(["","color: ",";"],ie,S.a.removed),he=c()($).withConfig({componentId:"s158yqha-9"})(["","color: ",";margin-left: 4px;"],re,S.a.op),ge=c()(F.a).withConfig({componentId:"s158yqha-10"})(["","color: ",";"],re,S.a.op),ve=c.a.a.withConfig({componentId:"s158yqha-11"})(["","color: ",";padding-left: 8px;flex: 0 0 auto;&:hover {text-decoration: underline;}&:last-child {padding-right: 8px;}"],ne,e=>Object(A.c)(e).metaText),xe=X.a.wrapped(q.a,"EditedText",Y.a),ye=c()(q.a).withConfig({componentId:"s158yqha-12"})(["margin-left: 3px;color: ",";"],S.a.moderator),Oe=c.a.span.withConfig({componentId:"s158yqha-13"})(["","color: ",";margin-right: 8px;"],ne,e=>Object(A.c)(e).metaText),Ce=X.a.wrapped(q.a,"MetaSeparator",Y.a),we=X.a.wrapped(O.b,"AuthorHoverCard",Y.a),je=c.a.a.withConfig({componentId:"s158yqha-14"})(["","color: ",";cursor: pointer;line-height: 1px;margin-left: 4px;"],ne,S.a.removed),Se=c.a.div.withConfig({componentId:"s158yqha-15"})(["",""],y.a),Ie=Object(G.a)("spBadges",X.a.wrapped(g.b,"Component",Y.a)),Pe=Object(p.e)("comment.children"),ke=Object(p.e)("comment.moreThanChildren"),Te=e=>(t,{comment:o,renderedInOverlay:n})=>`${e}${o.id}${n?"inOverlay":""}`,Ne=()=>null,_e=Object(p.f)("comment.tooltips.admin"),Le=Object(p.f)("comment.tooltips.cakeday"),Me=Object(p.f)("comment.tooltips.adminEmeritus"),Ee=Object(p.f)("comment.tooltips.moderator"),Ae=Object(p.f)("comment.tooltips.op"),Fe=Object(p.f)("comment.tooltips.contractor"),Re=Object(i.connect)(()=>Object(d.createStructuredSelector)({adminTooltipId:Te("CommentTopMeta--Admin--"),cakedayTooltipId:Te("CommentTopMeta--cakeday--"),adminEmeritusTooltipId:Te("CommentTopMeta--AdEm--"),automodTooltipId:Te("CommentTopMeta--Automod--"),approveTooltipId:Te("CommentTopMeta--Approve--"),canAccessRedesignProfiles:e=>N.d.redesignProfiles(e),createdTooltipId:Te("CommentTopMeta--Created--"),contractorTooltipId:Te("CommentTopMeta--Contractor--"),modTooltipId:Te("CommentTopMeta--Mod--"),opTooltipId:Te("CommentTopMeta--OP--"),overlayContainer:Ne,removeTooltipId:Te("CommentTopMeta--Remove--"),reportTooltipId:Te("CommentTopMeta--Report--"),spamTooltipId:Te("CommentTopMeta--Spam--"),subredditDisplayText:(e,t)=>{const o=Object(J.B)(e,{commentId:t.comment.id});return o?o.displayText:""},flairPosition:(e,{comment:t})=>Object(Q.c)(e,{subredditId:t.subredditId})}),(e,t)=>({onCreatedClick:()=>{window.addEventListener("focus",function o(){((e,t,o)=>{window.removeEventListener("focus",o),e(Object(_.M)({commentListNodeId:t})),window.setTimeout(()=>e(Object(_.M)({commentListNodeId:t})),5e3)})(e,t.comment.id,o)})},onHideTooltip:()=>e(Object(l.f)()),onShowTooltip:t=>e(Object(l.d)({tooltipId:t})),openRemovalReasonModal:()=>e(Object(L.d)(t.comment.subredditId,[t.comment.id]))}));t.a=c()(Re(e=>{const t=e.adminEmeritusTooltipId,o=e.adminTooltipId,n=e.approveTooltipId,s=e.automodTooltipId,i=e.cakedayTooltipId,d=e.canAccessRedesignProfiles,a=e.className,c=e.collapsed,l=e.comment,p=e.commentsPageKey,m=e.contractorTooltipId,u=e.flair,b=e.flairPosition,f=e.language,g=e.modTooltipId,y=e.onHideTooltip,O=e.onShowTooltip,C=e.opTooltipId,S=e.openRemovalReasonModal,I=e.overlayContainer,P=e.patreonPatronFlair,k=e.removeTooltipId,T=e.renderContractorBadge,N=e.renderedInOverlay,_=e.reportTooltipId,L=e.spamTooltipId,A=e.subredditDisplayText;if(l.isDeleted)return r.a.createElement(Be,e);if(c)return r.a.createElement(De,e);const F=b===E.a.Left;return te(Se,{className:a},void 0,u&&F&&te(v.c,{flair:u}),P&&F&&te(v.c,{flair:P}),te(Ie,{subredditId:l.subredditId,userId:l.authorId,uniqueIdentifier:l.id}),te(we,{postOrComment:l,tooltipType:N?j.c.Lightbox:void 0},void 0,te(Ue,{canAccessRedesignProfiles:d,comment:l,isAuthorDeleted:Object(M.c)(l)})),u&&!F&&te(se,{flair:u}),P&&!F&&te(se,{flair:P}),te(x.a,{className:Y.a.publicPoints,contentId:l.id,subredditId:l.subredditId,userId:l.authorId,username:l.author}),te(w.b,{commentId:l.id}),te(w.a,{commentId:l.id,commentsPageKey:p}),r.a.createElement(Ve,{comment:l,adminTooltipId:o,adminEmeritusTooltipId:t,cakedayTooltipId:i,contractorTooltipId:m,language:f,modTooltipId:g,onHideTooltip:y,onShowTooltip:O,opTooltipId:C,overlayContainer:I,renderContractorBadge:T,subredditDisplayText:A}),!l.isDeleted&&Object(q.d)(l.score,l.isScoreHidden,f),te(q.b,{},"scoreCreatedSeparator"),r.a.createElement(We,ee({key:"Created"},e)),l.isStickied&&Ke(f),l.editedAt&&$e(f,l.editedAt),r.a.createElement(ze,{comment:l,approveTooltipId:n,automodTooltipId:s,language:f,onHideTooltip:y,onShowTooltip:O,openRemovalReasonModal:S,overlayContainer:I,removeTooltipId:k,reportTooltipId:_,spamTooltipId:L}),te(h.d,{tooltipType:N?j.c.Lightbox:void 0,thing:l}))})).withConfig({componentId:"s158yqha-16"})(["align-items: center;transition: opacity 0.1s;","line-height: 16px;display: flex;transition: opacity 0.2s;",""," {padding-left: 8px;flex: 0 0 auto;}"],e=>e.collapsed?"opacity: 0.6;":"",e=>e.collapsed?"margin-left: 5px;\n opacity: 0.5;\n &:hover {\n opacity: 1;\n }":"",q.a);const Be=e=>{const t=e.language,o=e.childrenInfo,n=e.collapsed,s=e.className,i=e.comment;return te("div",{className:s},void 0,te(Oe,{},void 0,i.deletedBy===M.a.User?Object(p.a)(t,"comment.commentDeletedByAuthor"):Object(p.a)(t,"comment.commentDeletedByMod")),r.a.createElement(We,ee({key:"Created"},e)),n&&He({childrenInfo:o,language:t}))},De=e=>{const t=e.canAccessRedesignProfiles,o=e.comment,n=e.language,s=e.className,i=e.childrenInfo;return te("div",{className:s},void 0,te("div",{},void 0,te(Ue,{canAccessRedesignProfiles:t,comment:o,isAuthorDeleted:Object(M.c)(o)})),Object(q.d)(o.score,o.isScoreHidden,n),te(q.b,{},"scoreCreatedSeparator"),r.a.createElement(We,ee({key:"Created"},e)),He({childrenInfo:i,language:n}))},$e=(e,t)=>te(s.Fragment,{},void 0,te(q.b,{}),te(xe,{},void 0,Object(p.a)(e,"comment.edited",{time:Object(b.b)(e,t)}))),Ue=e=>te(f.a,{author:e.comment.author,canAccessRedesignProfiles:e.canAccessRedesignProfiles,isAdmin:e.comment.isAdmin,isAdminEmeritus:e.comment.distinguishType===m.F.ALUMNI_ADMIN,isAuthorDeleted:e.isAuthorDeleted,isMod:e.comment.isMod,isOp:e.comment.isOp},void 0,e.comment.author);class We extends r.a.PureComponent{constructor(){super(...arguments),this.onShowCreatedTooltip=(()=>this.props.onShowTooltip(this.props.createdTooltipId))}render(){const e=this.props,t=e.comment,o=e.language,n=e.onCreatedClick,s=oe(e,["comment","language","onCreatedClick"]);return te(ve,{href:t.permalink,id:s.createdTooltipId,onClick:n,onMouseEnter:this.onShowCreatedTooltip,onMouseLeave:s.onHideTooltip,rel:"nofollow",target:"_blank"},void 0,te("span",{},void 0,Object(b.b)(o,t.created)),qe(s.createdTooltipId,Object(u.a)(t.created),s.overlayContainer))}}const He=e=>{var t=e.childrenInfo||{hasContinueThread:!1,numChildren:0};const o=t.hasContinueThread,n=t.numChildren;return te(Ce,{},void 0,"(",o?ke(e.language,n,{numChildren:n}):Pe(e.language,n,{numChildren:n}),")")};class Ve extends r.a.PureComponent{constructor(){super(...arguments),this.onShowCakedayTooltip=(()=>this.props.onShowTooltip(this.props.cakedayTooltipId)),this.onShowAdminTooltip=(()=>this.props.onShowTooltip(this.props.adminTooltipId)),this.onShowAdminEmeritusTooltip=(()=>this.props.onShowTooltip(this.props.adminEmeritusTooltipId)),this.onShowModTooltip=(()=>this.props.onShowTooltip(this.props.modTooltipId)),this.onShowOpTooltip=(()=>this.props.onShowTooltip(this.props.opTooltipId)),this.onShowContractorTooltip=(()=>this.props.onShowTooltip(this.props.contractorTooltipId))}render(){const e=this.props,t=e.comment,o=oe(e,["comment"]);return te(s.Fragment,{},void 0,t.isAuthorCakeday&&te(pe,{"aria-label":Le(o.language),id:o.cakedayTooltipId,onMouseEnter:this.onShowCakedayTooltip,onMouseLeave:o.onHideTooltip}),t.isAuthorCakeday&&qe(o.cakedayTooltipId,Le(o.language),o.overlayContainer),t.isAdmin&&te(de,{desc:_e(o.language),id:o.adminTooltipId,onMouseEnter:this.onShowAdminTooltip,onMouseLeave:o.onHideTooltip}),t.isAdmin&&qe(o.adminTooltipId,_e(o.language),o.overlayContainer),t.distinguishType===m.F.ALUMNI_ADMIN&&te(ce,{"aria-label":Me(o.language),children:"Δ",id:o.adminEmeritusTooltipId,onMouseEnter:this.onShowAdminEmeritusTooltip,onMouseLeave:o.onHideTooltip}),t.distinguishType===m.F.ALUMNI_ADMIN&&qe(o.adminEmeritusTooltipId,Me(o.language),o.overlayContainer),t.isMod&&te(me,{desc:Ee(o.language,{displayText:o.subredditDisplayText}),id:o.modTooltipId,onMouseEnter:this.onShowModTooltip,onMouseLeave:o.onHideTooltip}),t.isMod&&qe(o.modTooltipId,Ee(o.language,{displayText:o.subredditDisplayText}),o.overlayContainer),t.isOp&&te(he,{desc:Ae(o.language),id:o.opTooltipId,onMouseEnter:this.onShowOpTooltip,onMouseLeave:o.onHideTooltip}),t.isOp&&qe(o.opTooltipId,Ae(o.language),o.overlayContainer),o.renderContractorBadge&&te(ge,{desc:Fe(o.language),id:o.contractorTooltipId,onMouseEnter:this.onShowContractorTooltip,onMouseLeave:o.onHideTooltip}),o.renderContractorBadge&&qe(o.contractorTooltipId,Fe(o.language),o.overlayContainer))}}class ze extends r.a.PureComponent{constructor(){super(...arguments),this.onShowApproveTooltip=(()=>this.props.onShowTooltip(this.props.approveTooltipId)),this.onShowRemoveTooltip=(()=>this.props.onShowTooltip(this.props.removeTooltipId)),this.onShowSpamTooltip=(()=>this.props.onShowTooltip(this.props.spamTooltipId)),this.onShowAutomodTooltip=(()=>this.props.onShowTooltip(this.props.automodTooltipId)),this.onShowReportTooltip=(()=>this.props.onShowTooltip(this.props.reportTooltipId))}render(){const e=this.props,t=e.comment,o=oe(e,["comment"]);return te(s.Fragment,{},void 0,(t.approvedBy||t.isApproved)&&te(ae,{desc:Object(P.a)(o.language,t),id:o.approveTooltipId,onMouseEnter:this.onShowApproveTooltip,onMouseLeave:o.onHideTooltip}),(t.approvedBy||t.isApproved)&&qe(o.approveTooltipId,Object(P.a)(o.language,t),o.overlayContainer),Object(I.a)(t)&&te(ue,{desc:Object(P.c)(o.language,t),id:o.removeTooltipId,onMouseEnter:this.onShowRemoveTooltip,onMouseLeave:o.onHideTooltip}),Object(I.a)(t)&&qe(o.removeTooltipId,Object(P.c)(o.language,t),o.overlayContainer),Object(I.a)(t)&&t.isRemoved&&!t.modNote&&!t.modRemovalReason&&te(je,{onClick:o.openRemovalReasonModal},void 0,Object(p.a)(o.language,"modTools.addARemovalReason")),Object(I.a)(t)&&!(t.isRemoved&&!t.modNote&&!t.modRemovalReason)&&te(je,{onMouseEnter:this.onShowRemoveTooltip,onMouseLeave:o.onHideTooltip},void 0,Object(p.a)(o.language,"modTools.removalReason")),t.bannedBy&&t.isSpam&&te(fe,{desc:Object(P.e)(o.language,t),id:o.spamTooltipId,onMouseEnter:this.onShowSpamTooltip,onMouseLeave:o.onHideTooltip}),t.bannedBy&&t.isSpam&&qe(o.spamTooltipId,Object(P.e)(o.language,t),o.overlayContainer),("AutoModerator"===t.bannedBy||"AutoModerator"===t.approvedBy)&&te(le,{desc:Object(P.b)(o.language),id:o.automodTooltipId,onMouseEnter:this.onShowAutomodTooltip,onMouseLeave:o.onHideTooltip,removed:!!t.bannedBy},o.automodTooltipId),("AutoModerator"===t.bannedBy||"AutoModerator"===t.approvedBy)&&qe(o.automodTooltipId,Object(P.b)(o.language),o.overlayContainer),Object(k.a)(t)&&te(be,{desc:Object(P.d)(o.language,t.numReports),id:o.reportTooltipId,onMouseEnter:this.onShowReportTooltip,onMouseLeave:o.onHideTooltip}),Object(k.a)(t)&&qe(o.reportTooltipId,Object(P.d)(o.language,t.numReports),o.overlayContainer))}}const Ke=e=>te(s.Fragment,{},void 0,te(q.b,{}),te(ye,{},void 0,Object(p.a)(e,"comment.stickied"))),qe=(e,t,o)=>te(C.c,{container:o,tooltipId:e,text:t})},"./src/reddit/components/Comments/Comment/index.m.less":function(e,t,o){e.exports={ExpandButton:"_1nGapmdexvR0BuOkfAi6wa",expandButton:"_1nGapmdexvR0BuOkfAi6wa",ErrorText:"_3XArRVBsKuWegVHX9CQjH-",errorText:"_3XArRVBsKuWegVHX9CQjH-",CommentBody:"_3cjCphgls6DH-irkVaA0GM",commentBody:"_3cjCphgls6DH-irkVaA0GM",EditCommentForm:"JchsqHyN3thfSnN8dUM3",editCommentForm:"JchsqHyN3thfSnN8dUM3"}},"./src/reddit/components/Comments/ContinueThreadLink/index.m.less":function(e,t,o){e.exports={ArrowRight:"egHA5MD_goQfvgLP3zgST",arrowRight:"egHA5MD_goQfvgLP3zgST",HoverSpan:"_2bsN7AuzEexqxXD-vhOkM7",hoverSpan:"_2bsN7AuzEexqxXD-vhOkM7"}},"./src/reddit/components/Comments/MoreCommentsItem/index.m.less":function(e,t,o){e.exports={MoreCommentsItemWrapper:"_3_mqV5-KnILOxl1TvgYtCk",moreCommentsItemWrapper:"_3_mqV5-KnILOxl1TvgYtCk"}},"./src/reddit/components/Comments/States/index.m.less":function(e,t,o){e.exports={CommentsPlaceholderContainer:"_2o0N1VHuLszWHqY5A8iayv",commentsPlaceholderContainer:"_2o0N1VHuLszWHqY5A8iayv",CommentPlaceholder:"_2114DnVtHe_0MtbEW85tnL",commentPlaceholder:"_2114DnVtHe_0MtbEW85tnL",VoteColumn:"_3j7WNOCzFwCp1SXZGJP1-V",voteColumn:"_3j7WNOCzFwCp1SXZGJP1-V",TextColumn:"_3tQxKBNuEJsKH_mPQEy34W",textColumn:"_3tQxKBNuEJsKH_mPQEy34W"}},"./src/reddit/components/CommentsPageAd/index.m.less":function(e,t,o){e.exports={CommentsPageAdContainer:"_1kZq41JJsyWtpgT1oGyVko",commentsPageAdContainer:"_1kZq41JJsyWtpgT1oGyVko"}},"./src/reddit/components/CompactPost/index.m.less":function(e,t,o){e.exports={responsiveMeta:"_1xomvNxK4aHGoGa-YDw1Mc",compactWrapper:"YA9IzN0YR-G5_oD5EUydl",compactPostRow:"WnMeTcero48dKo501T-19",leftRailWrapper:"_3YgWdffoKyCp7UaGAEQpoo",proposalMetaData:"_1_B8IWlNlt5jJVg4cKy7nL"}},"./src/reddit/components/CompactPost/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=(o("./node_modules/react-router-dom/es/index.js"),o("./node_modules/reselect/lib/index.js")),a=o("./bundled-modules/styled-components/styled-components.min.js"),c=o.n(a),l=o("./src/config.ts"),p=o("./src/lib/eventTools/index.ts"),m=o("./src/reddit/components/TrackingHelper/index.tsx"),u=o("./src/reddit/constants/postLayout.ts"),b=o("./src/reddit/constants/screenWidths.ts"),f=o("./src/reddit/helpers/hasModPostPermissions/index.ts"),h=o("./src/reddit/helpers/showReportIndicator/index.ts"),g=o("./src/reddit/helpers/styles/components/index.tsx"),v=o("./src/reddit/helpers/styles/mixins/index.tsx"),x=o("./src/reddit/helpers/trackers/post.ts"),y=o("./src/reddit/models/Media/index.ts"),O=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),C=o("./src/reddit/models/User/index.ts"),w=o("./src/reddit/models/Vote/index.ts"),j=o("./src/app/actions/tooltip.ts"),S=o("./src/reddit/actions/post.ts"),I=o("./src/reddit/actions/postFlair.ts"),P=o("./src/reddit/selectors/activeModalId.ts"),k=o("./src/reddit/selectors/moderatorPermissions.ts"),T=o("./src/reddit/selectors/posts.ts"),N=o("./src/reddit/selectors/user.ts"),_=o("./src/reddit/components/AdLinkWrapper/index.tsx"),L=o("./src/reddit/components/AwardBadges/index.tsx"),M=o("./src/reddit/components/CallToActionButton/index.tsx"),E=o("./src/reddit/components/CommentsLink/index.tsx"),A=o("./src/reddit/components/CompactPost/HorizontalVotes.tsx"),F=o("./src/reddit/components/ExpandoButton/index.tsx"),R=o("./src/reddit/components/Flatlist/index.tsx"),B=o("./src/reddit/components/JSAPIContainers/index.tsx"),D=o("./src/reddit/components/ModActionsMenu/index.tsx"),$=o("./src/reddit/components/ModModeReports/index.tsx"),U=o("./src/reddit/components/ModModeReports/helpers.ts"),W=o("./src/reddit/components/ModToolsFlatlist/index.tsx"),H=o("./src/reddit/components/ModToolsFlatlist/getModItemBreakpoints.ts"),V=o("./src/reddit/components/PostBackgroundWrapper/index.tsx"),z=o("./src/reddit/components/PostBadges/index.tsx"),K=o("./src/reddit/components/PostContainer/index.tsx"),q=o("./src/reddit/components/PostEventFollow/index.tsx"),G=o("./src/reddit/components/PostEventMeta/index.tsx"),J=o("./src/reddit/components/PostFlairPicker/index.tsx"),Q=o("./src/reddit/components/PostLeftRail/index.tsx"),Z=o("./src/reddit/components/PostMedia/index.tsx"),Y=o("./src/reddit/components/PostModModeDropdown/index.tsx"),X=o("./src/reddit/components/PostOverflowMenu/index.tsx"),ee=o("./src/reddit/components/PostTitle/index.tsx"),te=o("./src/reddit/components/PostTopMeta/index.tsx"),oe=o("./src/reddit/components/RestrictedFlatlistButton/index.tsx"),ne=o("./src/reddit/components/SponsoredLabel/index.tsx"),se=o("./src/reddit/components/SubredditIcon/index.tsx"),re=o("./src/reddit/components/VerticalVotes/index.tsx"),ie=o("./src/reddit/components/ViewReportsDropdown/index.tsx"),de=o("./src/reddit/contexts/InsideOverlay.tsx"),ae=o("./src/reddit/contexts/PageLayer/index.tsx"),ce=o("./src/reddit/controls/Checkbox/index.tsx"),le=o("./src/reddit/controls/MetaData/index.tsx"),pe=o("./src/reddit/controls/OutboundLink/styled.tsx"),me=o("./src/reddit/helpers/hasModFlairPermissions/index.ts"),ue=o("./src/reddit/helpers/styles/mixins/responsive.ts"),be=o("./src/reddit/icons/fonts/IgnoreReport/index.tsx"),fe=o("./src/reddit/icons/fonts/Report/index.tsx"),he=o("./src/reddit/components/CompactPost/index.m.less"),ge=o.n(he),ve=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),xe=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const ye=c()(_.a).withConfig({componentId:"g1q0zx-0"})(["padding-left: 32px;"]),Oe=c()(V.b).withConfig({componentId:"g1q0zx-1"})(["border-left: 1px solid ",";flex: 1 1 auto;padding: 3px 0;@media (max-width: ","px) {padding-left: 8px;}"],e=>Object(O.c)(e).line,b.i-1),Ce=c()(re.a).withConfig({componentId:"g1q0zx-2"})(["align-items: flex-start;",""],ue.a),we=c()(A.a).withConfig({componentId:"g1q0zx-3"})(["",""],ue.b),je=c()(Object(g.a)()).withConfig({componentId:"g1q0zx-4"})(["box-sizing: border-box;flex: 1;border-left: 4px solid ",";flex: 0 0 36px;"],Q.c),Se=c()(ce.a).withConfig({componentId:"g1q0zx-5"})(["padding: 4px;"]),Ie=c()(e=>{e.isCompact;var t=xe(e,["isCompact"]);return r.a.createElement(F.a,t)}).withConfig({componentId:"g1q0zx-6"})(["","flex: 0 0 24px;margin: 0 8px;"],e=>e.isCompact?ue.a:ue.b),Pe=(c()(se.b).withConfig({componentId:"g1q0zx-7"})(["width: 20px;height: 20px;margin: 2px 12px 0 4px;"]),c.a.div.withConfig({componentId:"g1q0zx-8"})(["flex: 1 1 100%;margin-top: 2px;overflow: hidden;word-wrap: break-word;"])),ke=c()(te.d).withConfig({componentId:"g1q0zx-9"})(["display: inline-block;vertical-align: middle;",""],ue.b),Te=c()(z.a).withConfig({componentId:"g1q0zx-10"})(["display: inline-block;vertical-align: middle;"]),Ne=c.a.div.withConfig({componentId:"g1q0zx-11"})(["align-items: center;display: flex;flex: 0 0 72px;flex-direction: row;justify-content: flex-end;height: 24px;margin-left: 4px;padding-right: 4px;@media (max-width: ","px) {flex: 0 0 auto;flex-direction: column;height: 100%;}"],b.i-1),_e=c()(W.a).withConfig({componentId:"g1q0zx-12"})(["@media (max-width: ","px) {display: none;}"],H.a),Le=c()(E.b).withConfig({componentId:"g1q0zx-13"})(["","width: 53px;"],ue.b),Me=c()(q.a).withConfig({componentId:"g1q0zx-14"})(["","text-align: left;width: 53px;"],ue.b),Ee=c()(V.b).withConfig({componentId:"g1q0zx-15"})(["height: 100%;position: relative;"]),Ae=c.a.div.withConfig({componentId:"g1q0zx-16"})(["padding-top: 8px;margin-bottom: 8px;"]),Fe=Object(i.connect)(()=>Object(d.createStructuredSelector)({activeModalId:P.a,crosspost:T.c,currentUser:N.j,flairStyleTemplate:ae.S,isActive:T.f,isExpanded:T.h,language:N.M,layout:ae.O,moderatorPermissions:k.f,modModeEnabled:ae.Q,poll:(e,t)=>{const o=e.posts.metaMap[t.postId];return o?e.polls.models[o]:null},post:T.D,subredditOrProfile:T.O,userIsOp:N.db}),(e,{postId:t})=>({dispatchFlairChanged:({post:t,previewFlair:o,selectedTemplateId:n})=>e(Object(I.h)({post:t,previewFlair:o,selectedTemplateId:n})),handleVote:o=>{const n=o===w.a.upvoted?Object(S.J)(t):Object(S.n)(t);e(n)},onIgnoreReports:()=>e(Object(S.H)(t)),onOpenReportsDropdown:t=>e(Object(j.e)({tooltipId:t}))}),(e,t,o)=>Object.assign({},o,e,t,{onFlairChanged:({previewFlair:o,selectedTemplateId:n})=>t.dispatchFlairChanged({post:e.post,previewFlair:o,selectedTemplateId:n})}));const Re=e=>ve(Ee,{flairStyleTemplate:e.flairStyleTemplate},void 0,e.post.crosspostRootId?ve(Ae,{},void 0,Be(e.post,e.scrollerItemRef)):Be(e.post,e.scrollerItemRef)),Be=(e,t)=>ve(Z.a,{isExpando:!0,isListing:!0,isNotCardView:!0,scrollerItemRef:t,shouldLoad:!0,shouldPause:!1,showFull:!0,showCentered:!0,post:e}),De=(e,t,o,n)=>ve(Ie,{crosspost:t,isCompact:n,isExpanded:o,post:e,useMediaIcons:!0}),$e=(e,t,o)=>ve("div",{className:ge.a.responsiveMeta},void 0,Object(le.d)(e.score,e.scoreHidden,o),ve(le.b,{}),Object(le.c)(e.numComments,o),ve(le.b,{}),t&&ve("a",{href:t.url},void 0,ve(le.a,{},void 0,t.displayText)),e.isSponsored&&[ve(ne.a,{},"label"),ve(le.b,{},"separator")],!e.isSponsored&&ve(le.a,{},void 0," Posted by "),ve(te.b,{post:e,canAccessRedesignProfiles:!1}));t.a=Fe(c()(Object(m.b)(Object(de.b)(class extends r.a.Component{componentDidUpdate(e){this.props.onSizeChanged&&e.isExpanded!==this.props.isExpanded&&this.props.onSizeChanged(this.props.post.id)}render(){var e=this.props;const t=e.activeModalId,o=e.className,n=e.currentProfileName,s=e.crosspost,i=e.currentUser,d=e.eventFactory,a=e.flairStyleTemplate,c=e.handleVote;var m=e.isCheckboxSelected;const b=void 0!==m&&m,g=e.isCommentsPage,v=e.isCommentPermalink,O=e.isExpanded,w=e.isOriginalPage,j=e.isOverlay,S=e.isProfilePostListing;var I=e.inSubredditOrProfile;const P=void 0!==I&&I,k=e.language,T=e.layout,N=e.moderatorPermissions,_=e.modModeEnabled,E=e.onClickPost,A=e.onFlairChanged,F=e.onIgnoreReports,W=e.poll,H=e.post,V=e.subredditOrProfile,z=e.userIsOp,q=e.hideModTools,Q=e.scrollerItemRef,Z=e.showBulkActionCheckbox,te=e.toggleCheckbox,ne=e.tooltipType,se=e.sendEvent,re=H.eventInfo,de=re&&Object(p.c)(re.eventStart,re.eventEnd),ae=!!H.media&&H.media.type===y.m.RTJSON,ce="subreddit"===H.belongsTo.type,ue=z&&ae,he=z&&!!ce,xe=Object(J.b)(H.id),Ie=Object(f.a)(N),Ee=Object(me.a)(N),Ae=`-mod-actions-menu-${H.id}`,Fe=!!i&&Object(C.f)(i)===H.author,Be=Object(U.c)(H),Ue=Object(R.g)("View--Reports",H.id,ne),We=Object(U.a)(H),He=e=>se(Object(x.d)(H.id,e));return ve(K.a,{className:o,post:H,onClick:E,eventFactory:d},void 0,ve("div",{className:ge.a.compactWrapper},void 0,ve("div",{className:ge.a.leftRailWrapper},void 0,ve(je,{isRemoved:!!H.bannedBy,isReported:Object(h.a)(H),isSponsored:H.isSponsored},void 0,Z&&ve(Se,{isCheckboxSelected:b,toggleCheckbox:te}),ve(Ce,{compact:!0,flairStyleTemplate:a,model:H,onVoteClick:c}),ve(we,{compact:!1,flairStyleTemplate:a,model:H,onVoteClick:c}))),ve(Oe,{flairStyleTemplate:a},void 0,ve("div",{className:ge.a.compactPostRow},void 0,!q&&De(H,s,O,!1),!P&&!H.isSponsored&&ve(B.h,{type:H.belongsTo.type,id:H.belongsTo.id}),ve(Pe,{"data-click-id":"body"},void 0,ve(ee.c,{post:H,poll:W,size:ee.b.Small,titleColor:a&&a.postTitleColor,isOverlay:!1}),Object(G.b)(H)&&ve(r.a.Fragment,{},void 0,ve(G.a,{language:k,post:H}),ve(le.b,{})),$e(H,V,k),ve(ke,{flairStyleTemplate:a,language:k,post:H,showOCCategories:w,showSub:!!V&&!P&&!H.isSponsored,subredditOrProfile:V}),ve(Te,{displayText:V?V.displayText:null,inSubredditOrProfile:P,language:k,post:H}),ve(L.d,{tooltipType:ne,thing:H})),ve(Ne,{},void 0,de&&ve(Me,{compact:!0,post:H}),!de&&ve(Le,{hasModPostPerms:Ie,isCommentsPage:g,isCommentPermalink:v,isOverlay:j,postId:H.id,modModeEnabled:_,numComments:H.numComments,type:u.f.Compact}),ve(_e,{isOverlay:!1,language:k,layout:T,modModeEnabled:_,post:H,sendEvent:se,showIconsOnly:!0}),Ie&&ve(D.a,{dropdownId:Ae,onClick:()=>He("post_mod_action_menu")},void 0,ve(R.b,{}),ve(Y.a,{hasModFlairPerms:Ee,hasModPostPerms:Ie,isOverlay:!1,isPostAuthor:Fe,language:k,modModeEnabled:_,post:H,tooltipId:Ae})),Ie&&Be&&!_&&ve(oe.c,{text:`${We}`,onClick:()=>{this.props.onOpenReportsDropdown(Ue),He("post_report_menu")},id:Ue},void 0,ve(ie.a,{isOverlay:!1,language:k,model:H,onIgnoreReports:()=>{F(),He(H.ignoreReports?"restore_reports":"ignore_reports")},tooltipId:Ue}),H.ignoreReports?ve(be.a,{}):ve(fe.a,{})),ve(X.g,{currentProfileName:n,isCommentsPage:g,isOverlay:!1,isProfilePostListing:S,layout:T,permalink:H.permalink,postId:H.postId,sendEvent:se,showEditPost:ue,showEditFlair:he,dropdownId:`${H.id}-overflow-menu`,useFlatlistBreakpoints:Object(X.h)({share:!1,editPost:!1,save:!1,gild:!1,hide:!1,report:!1})}),!q&&De(H,s,O,!0))),H.source&&H.source.url&&H.isSponsored&&ve(ye,{},void 0,ve(pe.a,{href:H.source.url.replace(l.a.redditUrl,""),isSponsored:H.isSponsored,source:H.source},void 0,H.source.displayText),H.callToAction&&ve(M.a,{href:H.source.url.replace(l.a.redditUrl,""),isSponsored:H.isSponsored,source:H.source,isNotCardView:!0},void 0,H.callToAction)),_&&Ie&&Be&&ve("div",{className:ge.a.compactPostRow},void 0,ve($.a,{language:k,onIgnoreReports:F,reportable:H})),ve(B.d,{postId:H.id}))),O&&ve(Re,{post:H,scrollerItemRef:Q,flairStyleTemplate:a}),t===xe&&ve(J.a,{flairs:H.flair,subredditId:H.belongsTo.id,language:k,modalId:xe,onFlairChanged:A}))}}))).withConfig({componentId:"g1q0zx-17"})(["","","","","","","","",";max-width: 100%;"],v.i,v.f,R.h,te.e,z.b,V.a,E.a,e=>Object(v.j)(e.flairStyleTemplate)))},"./src/reddit/components/CreatePostButton/index.tsx":function(e,t,o){"use strict";var n=o("./node_modules/react/index.js"),s=o.n(n),r=o("./node_modules/react-redux/es/index.js"),i=o("./src/app/strings/index.ts"),d=o("./src/reddit/actions/modal.ts"),a=o("./src/reddit/constants/modals.ts"),c=o("./src/reddit/constants/page.ts"),l=o("./src/reddit/controls/Button/index.tsx"),p=o("./src/reddit/helpers/getSubredditUrl/index.ts"),m=o("./src/reddit/selectors/telemetry.ts"),u=o("./src/reddit/selectors/user.ts"),b=o("./node_modules/reselect/lib/index.js"),f=o("./src/reddit/components/TrackingHelper/index.tsx"),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},g=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const v=Object(b.createStructuredSelector)({isLoggedIn:u.F,language:u.M}),x=Object(r.connect)(v,e=>({openLoginModal:()=>e(Object(d.i)(a.a.REGISTER_MODAL_ID))}));t.a=x(Object(f.b)(e=>{var t=e.isLoggedIn,o=e.language,n=e.listingName,r=e.openLoginModal,d=e.sendEvent,a=e.subreddit,u=g(e,["isLoggedIn","language","listingName","openLoginModal","sendEvent","subreddit"]);return s.a.createElement(l.f,h({},u,{onClick:e=>{d(e=>({action:"click",noun:"create_post",source:"id_card",screen:Object(m.screen)(e),subreddit:Object(m.subreddit)(e),actionInfo:Object(m.actionInfo)(e)})),t||(r(),e.preventDefault())},to:`${Object(p.a)(a)||(e=>e===c.j?"/original/":"")(n)||"/"}submit`}),Object(i.a)(o,"postCreation.createPost"))}))},"./src/reddit/components/DiscoveryUnit/Community/index.m.less":function(e,t,o){e.exports={layout:"_1Yi7fbTTde5XeZybixm6FR",iconContainer:"gWdCEy56VxHUE2mBMBOW6",subscribeIcon:"_12F_RRHdGrCd7fUWkfqSgn",subscribeButton:"OSpYRUTaGaz3fjrn4W5P9",textContainer:"_1_5Q3J1CP2DOHmfGlUHZf3",icon:"_2wcnJRvYkbVflIjjKlL5UQ",name:"_2vd1AsQKSbwADj27oRcCpI",subscribers:"_2vCu8MDznHrM1jxVe1QlBk",right:"_2RT-YVauGr7kW3UYPzKHiy",visitCommunity:"_18hknfXm8lfBF7Ukdz7q_p",description:"_2DMxsEeoABpUf9b0cmcofA",descriptionLine:"_3TPTU-e7e845VpQqN3B9ni",plusIcon:"_1IK16jx0Si95U3hxV79faK"}},"./src/reddit/components/DiscoveryUnit/Community/index.tsx":function(e,t,o){"use strict";var n,s=o("./src/app/strings/index.ts"),r=o("./node_modules/react/index.js"),i=o.n(r),d=o("./node_modules/react-router-dom/es/index.js"),a=o("./bundled-modules/styled-components/styled-components.min.js"),c=o.n(a),l=o("./src/lib/classNames/index.ts"),p=o("./src/reddit/components/SubredditIcon/index.tsx"),m=o("./src/reddit/components/SubscribeButton/index.tsx"),u=o("./src/reddit/connectors/connectToLanguage.ts"),b=o("./src/reddit/constants/posts.ts"),f=o("./src/reddit/helpers/name/index.ts"),h=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});var g=e=>h("svg",{className:e.className,viewBox:"0 0 12 12",version:"1.1"},void 0,h("path",{d:"M10.8 4.4H7.6V1.2a.8.8 0 0 0-.8-.8H5.2a.8.8 0 0 0-.8.8v3.2H1.2a.8.8 0 0 0-.8.8v1.6a.8.8 0 0 0 .8.8h3.2v3.2a.8.8 0 0 0 .8.8h1.6a.8.8 0 0 0 .8-.8V7.6h3.2a.8.8 0 0 0 .8-.8V5.2a.8.8 0 0 0-.8-.8",fill:"currentColor",fillRule:"evenodd"})),v=o("./src/reddit/layout/threeCol/ExpandCenter/index.tsx"),x=o("./src/reddit/models/Subreddit/index.ts"),y=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),O=o("./src/reddit/components/DiscoveryUnit/Community/index.m.less"),C=o.n(O),w=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const j=c()(m.a).withConfig({componentId:"s8pveuu-0"})(["",""],e=>e.withPlusIcon?"\n padding-bottom: 0;\n padding-top: 0;\n white-space: nowrap;\n ":""),S=c.a.div.withConfig({componentId:"s8pveuu-1"})(["."," {border: 1px solid ",";}."," {color: ",";}.",",.",",."," {color: ",";}."," {background-color: ",";}."," {color: ",";}."," {fill: ",";}"],C.a.icon,e=>Object(y.c)(e).line,C.a.name,e=>Object(y.c)(e).bodyText,C.a.description,C.a.subscribers,C.a.descriptionLine,e=>Object(y.c)(e).metaText,C.a.subscribeButton,e=>Object(y.c)(e).field,C.a.visitCommunity,e=>Object(y.c)(e).linkText,C.a.plusIcon,e=>Object(y.c)(e).body);t.a=Object(u.a)(e=>{const t=e.subredditAboutInfo,o=e.subredditOrProfile,n={name:o.name,type:Object(x.c)(o)?b.a.PROFILE:b.a.SUBREDDIT},r=t?t.publicDescription:"";return w(S,{className:Object(l.a)(C.a.container,e.className)},void 0,w(v.a,{className:C.a.layout},void 0,w("div",{className:C.a.iconContainer},void 0,w(p.b,{className:C.a.icon,redditStyle:!0,subredditOrProfile:o}),e.showSubscribeSmallIcon&&w(j,{className:C.a.subscribeIcon,getEventFactory:e.getSubscribeEventFactory,icon:!0,identifier:n,small:!0})),w("div",{className:C.a.textContainer},void 0,w(d.a,{className:C.a.name,to:o.url,onMouseDown:e.onClick},void 0,Object(f.b)(o.displayText||o.name)),!e.showDescriptionLine&&!!r&&w("p",{className:C.a.description,title:r},void 0,r),(e.showDescriptionLine||!r)&&!!o.subscribers&&w("p",{className:C.a.subscribers},void 0,Object(s.d)(e.language,"listings.subscribers",o.subscribers))),w("div",{className:C.a.right},void 0,!e.showSubscribeSmallIcon&&w(i.a.Fragment,{},void 0,e.showVisitLink&&w(d.a,{className:C.a.visitCommunity,to:o.url,onMouseDown:e.onClick},void 0,Object(s.a)(e.language,"discoveryUnits.visitCommunity")),w(j,{border:!!e.showSubscribeBlueButton,className:e.showSubscribeBlueButton||e.showSubscribeLargeIcon?void 0:C.a.subscribeButton,getEventFactory:e.getSubscribeEventFactory,identifier:n,icon:e.showSubscribeLargeIcon,small:!e.showSubscribeLargeIcon,withPlusIcon:!!e.showSubscribeBlueButton},void 0,e.showSubscribeBlueButton&&w(g,{className:C.a.plusIcon}))))),e.showDescriptionLine&&w("p",{className:C.a.descriptionLine,title:r},void 0,r))})},"./src/reddit/components/DiscoveryUnit/CommunityBannerDiscoveryUnit/index.m.less":function(e,t,o){e.exports={container:"VuaKi33qnpAH4bchSySjL",communityData:"_1vjofeGsSalO_tPtbA-Rsy",communityMetaContainer:"BO4LwQYlhgt566CET-3Qp",communityTitle:"PX6LTNgPFv2yczyATnpIT",contentWrapper:"cVjBu6OFTtUXx0zxt9RJr",metaData:"_3L-bbDIk1RL32RytOhNdWP",linkContainer:"_1tMOUAgNSAV2vTpb2S4pJy",moreFrom:"_2af5a7_SqL-RhzjEabfd7c",postContainer:"_1_eLUV1Uad3E0iM94kO45P",subredditIcon:"_1EXY3UqsJSp2wWPbLJvmug"}},"./src/reddit/components/DiscoveryUnit/CommunityDiscoveryUnit/Header/index.m.less":function(e,t,o){e.exports={container:"_2dSBAHye3fbqraa1p5ZHjf",oldContainer:"_2tUSgy_QpIUolzp6P3y9jI",banner:"_2-wTy8-lqic7zMBKrT7FxF",community:"hiYn8MYOEE8uwxibysUbZ",icon:"HTqrlS5dYIDAjSeV_6W90",titleLink:"hJraobLo3g_uUgQfsL6pR",communityName:"_13RjkznfGSernpq60e9ZIs",viewCommunity:"_2A9SyrBWUkxo6nHGHumhG_",join:"_3DnF4vwqqOplZEQwRfjqfI",joinButton:"_36-9K5RMtuAgvbe1PkUJko"}},"./src/reddit/components/DiscoveryUnit/CommunityDiscoveryUnit/index.m.less":function(e,t,o){e.exports={container:"_1QapNARHIKz6Yv0mVLyPk8",title:"_2B0veRtcLwhW_-bCroePZu",titlePlaceholder:"_3Jn8Dx-EG2T_eHvpdabj3U",communityBackground:"qGbh3OrQUpcTrHVaNpMsH",seeAllPosts:"sRaBZJC2a9xlvuGlo94Ax",communityDescriptionPlaceholder:"_3NcA_rukDRB5TqzQICuPLH",arrowPlaceholder:"_3ZmbzIBG1qhWBz9EWQhVCB",arrowRight:"_2btkPnjLA_oKMNv24bgrF0"}},"./src/reddit/components/DiscoveryUnit/CommunityDiscoveryUnit/index.tsx":function(e,t,o){"use strict";var n=o("./node_modules/react/index.js"),s=o.n(n),r=o("./node_modules/react-redux/es/index.js"),i=o("./node_modules/reselect/lib/index.js"),d=o("./bundled-modules/styled-components/styled-components.min.js"),a=o.n(d),c=o("./src/lib/classNames/index.ts"),l=o("./src/lib/constants/index.ts"),p=o("./src/lib/makeListingKey/index.ts"),m=o("./src/reddit/actions/discoveryUnit.ts"),u=o("./src/reddit/components/DiscoveryUnit/Layout/index.tsx"),b=o("./src/reddit/components/DiscoveryUnit/Layout/Posts/index.tsx"),f=o("./src/reddit/helpers/trackers/discoveryUnit.ts"),h=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),g=o("./src/reddit/models/Widgets/index.ts"),v=o("./src/reddit/selectors/discoveryUnit.ts"),x=o("./src/reddit/selectors/experiments/exploreV2.ts"),y=o("./src/reddit/selectors/listings.ts"),O=o("./src/reddit/selectors/subreddit.ts"),C=o("./src/reddit/selectors/user.ts"),w=o("./src/app/strings/index.ts"),j=o("./src/reddit/components/DiscoveryUnit/Community/index.tsx"),S=o("./src/reddit/components/PostCreationForm/OCCommunities/SubredditList/Placeholder.tsx");var I,P=a()(S.a).withConfig({componentId:"s18yjynu-0"})(["padding: 0;"]),k=(o("./src/reddit/components/DiscoveryUnit/Layout/Posts/Placeholder.tsx"),o("./src/reddit/components/DiscoveryUnit/CommunityDiscoveryUnit/index.m.less")),T=o.n(k),N=(I="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,n){var s=e&&e.defaultProps,r=arguments.length-3;if(t||0===r||(t={}),t&&s)for(var i in s)void 0===t[i]&&(t[i]=s[i]);else t||(t=s||{});if(1===r)t.children=n;else if(r>1){for(var d=Array(r),a=0;a<r;a++)d[a]=arguments[a+3];t.children=d}return{$$typeof:I,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const _=e=>N("div",{className:Object(c.a)(T.a.titlePlaceholder,e.className)},void 0,N(P,{isLoading:!1}));a.a.div.withConfig({componentId:"s2rymm5-0"})(["."," {color: ",";}"],T.a.seeAllPosts,e=>Object(h.c)(e).metaText);var L=o("./src/reddit/components/SubredditIcon/index.tsx"),M=o("./src/reddit/components/SubscribeButton/index.tsx"),E=o("./src/reddit/constants/posts.ts"),A=o("./src/reddit/controls/InternalLink/index.tsx"),F=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),R=o("./src/reddit/models/Theme/index.ts"),B=o("./src/reddit/components/DiscoveryUnit/Community/index.m.less"),D=o.n(B),$=o("./src/reddit/components/DiscoveryUnit/CommunityDiscoveryUnit/Header/index.m.less"),U=o.n($),W=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const H=Object(d.css)(["."," {border: 1px solid ",";}."," {color: ",";}."," {color: ",";}."," {."," {max-width: 300px;}."," {",";}}"],U.a.icon,e=>Object(h.c)(e).line,U.a.communityName,e=>Object(h.c)(e).bodyText,U.a.viewCommunity,e=>Object(h.c)(e).linkText,U.a.oldContainer,D.a.textContainer,D.a.name,F.titleFontH5);var V=Object(r.connect)(null,(e,{discoveryUnit:t})=>({trackTitleSubredditClick:o=>e((e,n)=>f.n(n(),t,o))}))(class extends s.a.Component{constructor(){super(...arguments),this.getCommunityInfo=(()=>{var e=this.props;const t=e.subreddit,o=e.subredditAboutInfo;if(t)return Object(g.h)(t,o)}),this.trackCommunityClick=(()=>{const e=this.getCommunityInfo();e&&this.props.trackTitleSubredditClick(e)})}render(){var e=this.props;const t=e.discoveryUnit,o=e.exploreV2Variant,n=e.subreddit,s=e.subredditAboutInfo,r=this.getCommunityInfo();if(!n||!s||!r)return W("div",{className:U.a.container},void 0,W(_,{}));const i=f.o(t,r);if(Object(x.c)(o)){const e=Object(R.g)(Object(R.h)(s.bannerBackgroundColor,n.primaryColor,s.keyColor),s.bannerBackgroundImage,void 0);return W("div",{className:U.a.oldContainer},void 0,e&&W("div",{className:U.a.banner,style:{background:e}}),W(j.a,{className:U.a.community,getSubscribeEventFactory:i,onClick:this.trackCommunityClick,showDescriptionLine:!0,showSubscribeBlueButton:!0,showVisitLink:!0,subredditOrProfile:n,subredditAboutInfo:s}))}return W("div",{className:U.a.container},void 0,W(L.b,{className:U.a.icon,redditStyle:!0,subredditOrProfile:n}),W(A.a,{className:U.a.titleLink,to:n.url,onMouseDown:this.trackCommunityClick},void 0,W("div",{className:U.a.communityName},void 0,n.name),W("div",{className:U.a.viewCommunity},void 0,Object(w.a)(this.props.language,"discoveryUnits.viewCommunity"))),W("div",{className:U.a.join},void 0,W(M.a,{className:U.a.joinButton,getEventFactory:i,identifier:{name:n.name,type:E.a.SUBREDDIT},small:!0})))}});o.d(t,"c",function(){return K}),o.d(t,"a",function(){return q});var z=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const K=Object(d.css)(["",";",";."," {color: ",";}."," {fill: ",";}"],H,u.b,T.a.seeAllPosts,e=>Object(h.c)(e).metaText,T.a.arrowRight,e=>Object(h.c)(e).metaText),q=Object(r.connect)(()=>{const e=Object(v.e)();return Object(i.createStructuredSelector)({exploreV2Variant:e=>Object(x.a)(e),language:C.M,isDataPending:(e,{subredditName:t,discoveryUnit:{unitName:o}})=>{const n=Object(p.a)(o,l.X.HOT,{subredditName:t});return Object(y.h)(e,{listingKey:n})},postIds:(t,{subredditName:o,discoveryUnit:{unitName:n},listingKey:s})=>e(t,{listingKey:s,unitName:n,subredditName:o}),subreddit:O.v,subredditAboutInfo:O.s})},(e,{subredditName:t,discoveryUnit:o})=>({loadData:()=>{e(m.k(o,t))},trackFooterSubredditClick:t=>e((e,n)=>{f.b(n(),o,t)})}),(e,t,o)=>Object.assign({},e,t,o,{trackFooterSubredditClick:()=>{if(!e.subreddit)return;const o=Object(g.h)(e.subreddit);t.trackFooterSubredditClick(o)}}));t.b=q(class extends s.a.Component{constructor(){super(...arguments),this.postRefs=new Set,this.setPostRef=((e,t)=>{this.postRefs.add(e)}),this.pauseContent=(()=>{this.postRefs.forEach(e=>e&&e.pauseContent())}),this.stopContent=(()=>{this.postRefs.forEach(e=>e&&e.stopContent())}),this.focusContent=(()=>{}),this.loadContent=(()=>{}),this.unmountContent=(()=>{this.postRefs.forEach(e=>e&&e.unmountContent())}),this.contentIsHeavyToMount=(()=>!!Array.from(this.postRefs).find(e=>!!e&&e.contentIsHeavyToMount()))}componentDidMount(){this.props.loadData(),this.props.onView(this.props.discoveryUnit),this.props.scrollerItemRef&&this.props.scrollerItemRef(this)}componentWillUnmount(){this.props.scrollerItemRef&&this.props.scrollerItemRef(void 0)}render(){var e=this.props;const t=e.discoveryUnit,o=e.exploreV2Variant,n=e.language,s=e.subreddit,r=e.subredditAboutInfo;return z("div",{className:Object(c.a)(this.props.className,T.a.container)},void 0,z(u.a,{exploreV2Variant:o,header:z(V,{discoveryUnit:t,exploreV2Variant:o,language:n,subreddit:s,subredditAboutInfo:r})},void 0,z(b.a,{discoveryUnit:t,isLoading:!s||this.props.isDataPending,onPostView:this.props.onPostView,postIds:this.props.postIds,scrollerItemRef:this.setPostRef,shouldUseSmallCardLayout:!0,showSubreddit:!1})))}})},"./src/reddit/components/DiscoveryUnit/Layout/Posts/LargePost/Placeholder/index.m.less":function(e,t,o){e.exports={container:"_1Um_rXui0lpe-Cb9ODsUz8",thumbnail:"_2ilcai8VLJQ4KV-4Vr9AhG",titleContainer:"_209JNAgNuTpt_9rNZ_-I5H",title:"yS5_DQC3UhJ6Wt-w0vmPJ",subreddit:"_29KiFeb0JZyGt_srMMDGe8",subredditIcon:"_2kXB1RuItuBoLcEoACutFY",subredditName:"_2Wu0-V5-MJRkAJSLNLG5nr",comments:"_2Wpo4vJYSV_vEH7f9YqriD",share:"tcl1OVwD_ZXnDYCaBv5jr",ellipsis:"_37PjXi-35JTLdRok2sdRmc",flatlist:"aw61cZLZoC0Ieeh3OwHhb"}},"./src/reddit/components/DiscoveryUnit/Layout/Posts/LargePost/index.m.less":function(e,t,o){e.exports={subscribeBlock:"_2K1NDLfQ1li98LnvydBdNi",metaLine:"_2ZzXnnvViW1cNiyJDAwQDt",bodyWrapper:"_3u6y1RQYCofMUyoR2kjC5l",textWrapper:"_19mUmrg6WesSKSmZhQEjWV",mediaWrapper:"_1yIBLJ6HB85lFgtecGo5fE",thumbnail:"_3UTXxzS2wbR9EWHksS_e8h",flatlist:"_1Vzo24SML9Mhww7IxRI2pp",postTitle:"RIdh-lLjEPPyxAGw3Tu5k",postTitleCompact:"_2S1d6YLjro9lYVxzu3lo54",flexSpacer:"_2VNbdMdEXhCajLS8-L_dXA"}},"./src/reddit/components/DiscoveryUnit/Layout/Posts/LargePost/index.tsx":function(e,t,o){"use strict";o.d(t,"b",function(){return Z});var n,s=o("./src/config.ts"),r=o("./node_modules/react/index.js"),i=o.n(r),d=o("./bundled-modules/styled-components/styled-components.min.js"),a=o.n(d),c=o("./src/lib/isUrl/index.ts"),l=o("./src/reddit/components/DiscoveryUnit/Community/index.tsx"),p=o("./src/reddit/components/JSAPIContainers/index.tsx"),m=o("./src/reddit/components/Media/index.tsx"),u=o("./src/reddit/components/MiniCardPost/index.tsx"),b=o("./src/reddit/components/MiniCardPost/Flatlist/index.tsx"),f=o("./src/reddit/components/MiniCardPost/MetaLine/index.tsx"),h=o("./src/reddit/components/MiniCardPost/Thumbnail/index.tsx"),g=o("./src/reddit/components/PostBackgroundWrapper/index.tsx"),v=o("./src/reddit/components/PostContainer/index.tsx"),x=o("./src/reddit/components/PostFlairPicker/index.tsx"),y=o("./src/reddit/components/PostTitle/index.tsx"),O=o("./src/reddit/components/SubscribeButton/Base.tsx"),C=o("./src/reddit/constants/posts.ts"),w=o("./src/reddit/contexts/PageLayer/index.tsx"),j=o("./src/reddit/controls/Button/index.tsx"),S=o("./src/reddit/controls/ContentType/index.tsx"),I=o("./src/reddit/helpers/canPreviewSelfText/index.ts"),P=o("./src/reddit/helpers/getRichTextContent.ts"),k=o("./src/reddit/helpers/hasModFlairPermissions/index.ts"),T=o("./src/reddit/helpers/hasModPostPermissions/index.ts"),N=o("./src/reddit/helpers/postHasSelfText/index.ts"),_=o("./src/reddit/models/Media/index.ts"),L=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),M=o("./src/reddit/components/Media/EmbedBox/index.m.less"),E=o.n(M),A=o("./src/reddit/components/Media/ImageBox/index.m.less"),F=o.n(A),R=o("./src/reddit/components/Media/VideoBox/index.m.less"),B=o.n(R),D=o("./src/reddit/components/MiniCardPost/index.m.less"),$=o.n(D),U=o("./src/reddit/components/Thumbnail/index.m.less"),W=o.n(U),H=o("./src/reddit/controls/Score/index.m.less"),V=o.n(H),z=o("./src/reddit/components/DiscoveryUnit/Layout/Posts/LargePost/index.m.less"),K=o.n(z),q=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const G=`${s.a.assetPath}/img/link-placeholder.png`,J=Object(w.w)(),Q="\n border-radius: 0;\n height: 180px;\n width: auto;\n",Z=`\n .${K.a.mediaWrapper} {\n .${K.a.thumbnail} {\n .${W.a.container} {\n ${Q};\n\n .${W.a.thumbnail} {\n ${Q};\n background-size: cover;\n }\n }\n\n .${W.a.linkIcon} {\n border-radius: 0;\n }\n\n .${W.a.outboundLinkIcon} {\n margin-top: 2px;\n }\n\n .${W.a.contentType} {\n transform: scale(1.5);\n }\n }\n\n .${F.a.container} > div {\n width: 100%;\n }\n\n .${F.a.image} {\n object-fit: cover;\n width: 100%;\n }\n\n .${B.a.styledVideo} {\n object-fit: cover;\n }\n\n .${F.a.seeMore} {\n bottom: 0;\n }\n\n .${E.a.embedBox} {\n height: 180px;\n width: 100%;\n }\n }\n\n .${V.a.score} {\n color: inherit !important; // to override inline style\n }\n`,Y=a()(e=>{const t=e.autoplayPref,o=e.availableWidth,n=e.className,s=e.crosspostRoot,r=e.crosspostSubredditOrProfile,d=e.currentUser,a=e.eventFactory,u=e.flairStyleTemplate,O=e.forceLoadMedia,w=e.hideNSFWPref,j=e.language,S=e.moderatorPermissions,L=e.modModeEnabled,M=e.onClickPost,E=e.post,A=e.scrollerItemRef,F=e.shouldPause;var R=e.showMetaLine;const B=void 0===R||R;var D=e.showSubscribeBlock;const U=void 0!==D&&D,W=e.subredditOrProfile,H=e.userIsOp;const V=(s||E).media,z=V&&V.type,J=Object(x.b)(E.id),Q=z===_.m.RTJSON,Z=E.belongsTo.type===C.a.SUBREDDIT,Y=H&&Q,X=H&&!!Z,ee=Object(T.a)(S),te=Object(k.a)(S),oe=V&&q(m.a,{autoplayPref:t,availableWidth:o,className:$.a.media,forceAspectRatio:_.c,isListing:!0,isMiniCard:!0,isNotCardView:!0,post:s||E,scrollerItemRef:A,shouldPause:F,shouldLoad:O,showCentered:!1,showFull:!1});let ne,se=!0;const re=!!E.source&&Object(c.a)(E.source.url)||!!E.thumbnail&&Object(c.a)(E.thumbnail.url);return!V&&re?(se=!1,ne=q(i.a.Fragment,{},void 0,q("div",{className:K.a.flexSpacer}),q("div",{className:K.a.mediaWrapper},void 0,q(h.a,{className:K.a.thumbnail,post:E,templatePlaceholderImage:u?u.postPlaceholderImage:G,showPlaceholderContentType:!u||!u.postPlaceholderImage})))):V&&oe?V.type!==_.m.RTJSON&&V.type!==_.m.TEXT?(se=!1,ne=q(i.a.Fragment,{},void 0,q("div",{className:K.a.flexSpacer}),q("div",{className:K.a.mediaWrapper},void 0,oe))):ne=Object(N.a)(E)||Object(P.a)(E,null)&&Object(I.a)(E)?q("div",{className:K.a.textWrapper},void 0,oe):q("div",{className:K.a.flexSpacer}):ne=q("div",{className:K.a.flexSpacer}),q(v.a,{className:n,post:E,onClick:M,eventFactory:a},void 0,q(g.b,{className:$.a.backgroundWrapper,flairStyleTemplate:u},void 0,q("div",{className:$.a.innerContainer},void 0,U&&W&&q(l.a,{className:K.a.subscribeBlock,getSubscribeEventFactory:e.getSubredditSubscribeEventFactory,onClick:()=>e.onCommunityClick(E),showSubscribeLargeIcon:!0,subredditOrProfile:W}),B&&W&&q(f.a,{className:K.a.metaLine,crosspostSubredditOrProfile:r,hideNSFWPref:w,language:j,onCommunityClick:()=>e.onCommunityClick(E),post:E,subredditOrProfile:W}),q(y.c,{className:se?K.a.postTitle:K.a.postTitleCompact,disableFlair:!0,hideSourceLink:!0,post:E,size:y.b.Large,titleColor:u&&u.postTitleColor}),ne,q(b.a,{className:K.a.flatlist,currentUser:d,handleVote:e.handleVote,hasModFlairPerms:te,hasModPostPerms:ee,language:j,modModeEnabled:L,post:E,showEditFlair:X,showEditPost:Y}))),e.activeModalId===J&&q(x.a,{flairs:E.flair,subredditId:E.belongsTo.id,language:j,modalId:J,onFlairChanged:e.onFlairChanged}),q(p.d,{postId:E.id}))}).withConfig({componentId:"yhotp9-0"})(["",";",";margin-bottom: 0;"," {color: ",";}."," {padding-top: 8px;}."," {height: 100%;}."," {"," {fill: ",";}"," {",";background-color: ",";border: 1px solid ",";&:active,&:hover,&:disabled,&[disabled],&[data-disabled] {background-color: ",";border: 1px solid ",";}}}"],u.d,Z,S.a,e=>Object(L.c)(e).body,$.a.innerContainer,$.a.media,K.a.subscribeBlock,O.a,e=>Object(L.c)(e).button,O.b,j.u,e=>Object(L.c)(e).body,e=>Object(L.c)(e).button,e=>Object(L.c)(e).body,e=>Object(L.c)(e).button);t.a=J(Object(u.b)(Y))},"./src/reddit/components/DiscoveryUnit/Layout/Posts/Placeholder.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./src/lib/classNames/index.ts"),d=o("./bundled-modules/styled-components/styled-components.min.js"),a=o.n(d),c=o("./src/reddit/components/SubredditIcon/index.tsx"),l=o("./src/reddit/components/VerticalVotes/votes.tsx"),p=o("./src/reddit/helpers/styles/components/index.tsx"),m=o("./src/reddit/helpers/styles/mixins/index.tsx"),u=o("./src/reddit/helpers/styles/mixins/loading.ts"),b=o("./src/reddit/layout/row/Inline/index.tsx"),f=o("./src/reddit/models/Vote/index.ts"),h=o("./src/reddit/components/DiscoveryUnit/Layout/Posts/LargePost/Placeholder/index.m.less"),g=o.n(h),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},x=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),y=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const O=a.a.div.withConfig({componentId:"s5sktql-0"})(["",";background: rgba(0, 0, 0, 0.15);height: 16px;margin: 0 14px 0 4px;width: 16px;"],u.c),C=a()(e=>{const t={interactive:!1,voteState:f.a.notVoted};return x("div",{className:e.className},void 0,r.a.createElement(l.d,t),x(O,{}),r.a.createElement(l.c,t))}).withConfig({componentId:"s5sktql-1"})(["","align-items: center;flex-direction: row;"],m.y),w=a()(Object(p.a)()).withConfig({componentId:"s5sktql-2"})(["",";",";"],u.b,u.c),j=a()(c.a).withConfig({componentId:"s5sktql-3"})(["",";"],u.b);var S=a()(e=>{var t=e.className,o=e.showSubreddit,n=y(e,["className","showSubreddit"]);return x("div",{className:Object(i.a)(g.a.container,t)},void 0,o&&x(b.a,{className:g.a.subreddit},void 0,r.a.createElement(j,v({className:g.a.subredditIcon,gradientType:"posts"},n,{isLoading:!1})),r.a.createElement(w,v({className:g.a.subredditName,gradientType:"posts"},n))),x("div",{className:g.a.titleContainer},void 0,r.a.createElement(w,v({className:g.a.title,gradientType:"posts"},n)),r.a.createElement(w,v({className:g.a.title,gradientType:"posts"},n))),r.a.createElement(w,v({className:g.a.thumbnail,gradientType:"posts"},n)),x(b.a,{className:g.a.flatlist},void 0,r.a.createElement(C,n),r.a.createElement(w,v({className:g.a.comments,gradientType:"posts"},n)),r.a.createElement(w,v({className:g.a.share,gradientType:"posts"},n)),r.a.createElement(w,v({className:g.a.ellipsis,gradientType:"posts"},n))))}).withConfig({componentId:"s5sktql-4"})(["",";cursor: pointer;"],m.n),I=o("./node_modules/react-redux/es/index.js"),P=o("./node_modules/reselect/lib/index.js"),k=o("./src/reddit/components/MiniPost/index.tsx"),T=o("./src/reddit/contexts/PageLayer/index.tsx"),N=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},L=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),M=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const E=Object(T.w)(),A=Object(P.createStructuredSelector)({isFakeSubreddit:T.B}),F=Object(I.connect)(A),R=a.a.div.withConfig({componentId:"s1c6p3p6-0"})(["display: flex;flex: 1;"]),B=a.a.div.withConfig({componentId:"s1c6p3p6-1"})(["display: flex;flex: 1;flex-direction: column;justify-content: space-between;margin-left: 8px;"]),D=a()(Object(p.a)()).withConfig({componentId:"s1c6p3p6-2"})(["","",""],u.b,u.c),$=a.a.div.withConfig({componentId:"s1c6p3p6-3"})(["height: 49px;width: 65px;"]),U=a()(D).withConfig({componentId:"s1c6p3p6-4"})(["","","position: relative;"],m.d,m.c),W=a()(D).withConfig({componentId:"s1c6p3p6-5"})(["height: 20px;"]),H=a()(D).withConfig({componentId:"s1c6p3p6-6"})(["height: 10px;margin-top: 8px;width: 88px;"]),V=a.a.div.withConfig({componentId:"s1c6p3p6-7"})(["align-items: center;display: flex;flex-direction: row;margin: 0;"]),z=a()(D).withConfig({componentId:"s1c6p3p6-8"})(["height: 12px;width: 16px;"]),K=a.a.div.withConfig({componentId:"s1c6p3p6-9"})(["border-right: 1px solid ",";height: 16px;margin: 0 8px;vertical-align: middle;"],e=>Object(N.c)(e).line),q=a()(D).withConfig({componentId:"s1c6p3p6-10"})(["height: 12px;width: 110px;"]),G=a()(D).withConfig({componentId:"s1c6p3p6-11"})(["height: 12px;margin-left: 8px;width: 20px;"]);var J=a()(E(F(e=>{var t=e.className,o=e.showSubreddit,n=M(e,["className","showSubreddit"]);return L("div",{className:t},void 0,L(R,{},void 0,L($,{},void 0,r.a.createElement(U,_({gradientType:"posts"},n))),L(B,{},void 0,L("div",{},"a",r.a.createElement(W,_({key:"aa",gradientType:"posts"},n)),o&&r.a.createElement(H,_({key:"ab",gradientType:"posts"},n))),L(V,{},"f",r.a.createElement(z,_({key:"fa",gradientType:"posts"},n)),L(K,{},"fb"),r.a.createElement(q,_({key:"fc",gradientType:"posts"},n)),r.a.createElement(G,_({key:"fd",gradientType:"posts"},n))))))}))).withConfig({componentId:"s1c6p3p6-12"})(["",";"],k.a),Q=o("./src/reddit/components/DiscoveryUnit/Layout/Posts/index.m.less"),Z=o.n(Q),Y=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();t.a=(e=>Y("div",{className:Object(i.a)(Z.a.container,e.className)},void 0,e.shouldUseSmallCardLayout?Y("div",{className:Z.a.largePosts},void 0,Y(S,{className:Z.a.largePost,isLoading:!1,showSubreddit:e.showSubreddit}),Y(S,{className:Z.a.largePost,isLoading:!1,showSubreddit:e.showSubreddit}),Y(S,{className:Z.a.largePost,isLoading:!1,showSubreddit:e.showSubreddit}),Y(S,{className:Z.a.largePost,isLoading:!1,showSubreddit:e.showSubreddit})):Y(r.a.Fragment,{},void 0,Y("div",{className:Z.a.topPosts},void 0,Y(S,{className:Z.a.topPost,isLoading:!1,showSubreddit:e.showSubreddit})),Y("div",{className:Z.a.smallPosts},void 0,Y(J,{className:Z.a.smallPost,isLoading:!1,showSubreddit:e.showSubreddit}),Y(J,{className:Z.a.smallPost,isLoading:!1,showSubreddit:e.showSubreddit}),Y(J,{className:Z.a.smallPost,isLoading:!1,showSubreddit:e.showSubreddit})))))},"./src/reddit/components/DiscoveryUnit/Layout/Posts/TinyPost/index.m.less":function(e,t,o){e.exports={container:"_1xJMMSscxwnaWI-bX2-vZg",postTitle:"_1CuX0kE5vltrOr795mB75",thumbnail:"_1e6EtaUy_iviqsHB0M7kmI",meta:"_4JNqFJyhO_GLBkYzolRen",topRow:"_2FBbnHnqVWC-nDWw-wL_w-"}},"./src/reddit/components/DiscoveryUnit/Layout/Posts/TopPostsPlaceholder.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./src/lib/classNames/index.ts"),d=o("./node_modules/react-redux/es/index.js"),a=o("./node_modules/reselect/lib/index.js"),c=o("./bundled-modules/styled-components/styled-components.min.js"),l=o.n(c),p=o("./src/reddit/components/SubredditIcon/index.tsx"),m=o("./src/reddit/components/VerticalVotes/votes.tsx"),u=o("./src/reddit/contexts/PageLayer/index.tsx"),b=o("./src/reddit/helpers/styles/components/index.tsx"),f=o("./src/reddit/helpers/styles/mixins/index.tsx"),h=o("./src/reddit/helpers/styles/mixins/loading.ts"),g=o("./src/reddit/layout/row/Inline/index.tsx"),v=o("./src/reddit/models/Vote/index.ts"),x=o("./src/reddit/components/MiniCardPost/Placeholder/index.m.less"),y=o.n(x),O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},C=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),w=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const j=Object(u.w)(),S=Object(a.createStructuredSelector)({isFakeSubreddit:u.B}),I=Object(d.connect)(S),P=l.a.div.withConfig({componentId:"y700x7-0"})(["",";background: rgba(0, 0, 0, 0.15);height: 16px;margin: 0 14px 0 4px;width: 16px;"],h.c),k=l()(e=>{const t={interactive:!1,voteState:v.a.notVoted};return C("div",{className:e.className},void 0,r.a.createElement(m.d,t),C(P,{}),r.a.createElement(m.c,t))}).withConfig({componentId:"y700x7-1"})(["","align-items: center;flex-direction: row;"],f.y),T=l()(Object(b.a)()).withConfig({componentId:"y700x7-2"})(["",";",";"],h.b,h.c),N=l()(p.a).withConfig({componentId:"y700x7-3"})(["",";"],h.b);var _=l()(j(I(e=>{var t=e.className,o=e.showSubreddit,n=w(e,["className","showSubreddit"]);return C("div",{className:Object(i.a)(y.a.container,t)},void 0,r.a.createElement(T,O({className:y.a.thumbnail,gradientType:"posts"},n)),C("div",{className:y.a.content},void 0,C("div",{className:y.a.titleContainer},void 0,r.a.createElement(T,O({className:y.a.title,gradientType:"posts"},n)),r.a.createElement(T,O({className:y.a.title,gradientType:"posts"},n))),o&&C(g.a,{className:y.a.subreddit},void 0,r.a.createElement(N,O({className:y.a.subredditIcon,gradientType:"posts"},n,{isLoading:!1})),r.a.createElement(T,O({className:y.a.subredditName,gradientType:"posts"},n))),C(g.a,{},void 0,r.a.createElement(k,n),r.a.createElement(T,O({className:y.a.comments,gradientType:"posts"},n)),r.a.createElement(T,O({className:y.a.share,gradientType:"posts"},n)),r.a.createElement(T,O({className:y.a.ellipsis,gradientType:"posts"},n)))))}))).withConfig({componentId:"y700x7-4"})(["",";border-radius: 4px;cursor: pointer;"],f.n),L=o("./src/reddit/components/DiscoveryUnit/Layout/Posts/index.m.less"),M=o.n(L),E=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();t.a=(e=>E("div",{className:Object(i.a)(M.a.container,e.className)},void 0,E("div",{className:M.a.largePosts},void 0,E(_,{className:M.a.topPostLargePost,isLoading:!0,showSubreddit:e.showSubreddit}),E(_,{className:M.a.topPostLargePost,isLoading:!0,showSubreddit:e.showSubreddit}),E(_,{className:M.a.topPostLargePost,isLoading:!0,showSubreddit:e.showSubreddit}))))},"./src/reddit/components/DiscoveryUnit/Layout/Posts/index.m.less":function(e,t,o){e.exports={container:"_380AW2tV1AjseFZoaW2xp3",topPosts:"_3RDCFf4elKrhJHKKZkPPD",topPostsLargePostsContainer:"_1iE8_7IcegvYg_Wg3A0jTR",largePosts:"_2jBymLZmAms1MelhCFZsUI",topPostLargePosts:"_1B27sUe973sxluKyC6_HnP",topPost:"_3_Nr3saSmaO8BeqrN2u7Pb",largePost:"_21q6EU8IrGnKgnRi9Fcrko",topPostLargePost:"_3rjlIRqkC_nm_BoSlEQ8u-",smallPosts:"_1XdjckgSGhgpGEGUohL62w",smallPost:"_69IUkr5xucpVcbGP5l070"}},"./src/reddit/components/DiscoveryUnit/Layout/Posts/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./bundled-modules/styled-components/styled-components.min.js"),a=o.n(d),c=o("./src/lib/classNames/index.ts"),l=o("./src/reddit/components/MiniPost/index.tsx"),p=o("./src/reddit/components/SubredditNameLink/index.tsx"),m=o("./src/reddit/constants/screenWidths.ts"),u=o("./src/reddit/helpers/overlay/index.ts"),b=o("./src/reddit/helpers/styles/components/index.tsx"),f=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),h=o("./src/reddit/helpers/trackers/discoveryUnit.ts"),g=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),v=o("./src/reddit/components/DiscoveryUnit/Layout/Posts/LargePost/index.tsx"),x=o("./src/reddit/components/DiscoveryUnit/Layout/Posts/Placeholder.tsx"),y=o("./src/reddit/components/DiscoveryUnit/Layout/Posts/TopPostsPlaceholder.tsx"),O=o("./src/reddit/components/DiscoveryUnit/Layout/Posts/index.m.less"),C=o.n(O),w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},j=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const S=4,I=1,P=3,k=Object(d.css)(["",""],e=>e.shouldUseSmallCardLayout?`height: ${e.shouldShowSubreddit?325:285}px;`:""),T=a()(Object(b.a)()).withConfig({componentId:"jyo95f-0"})([""," {",";}."," {",";}@media (min-width: ","px) {."," {",";overflow: hidden;}}."," {&:not(:last-child) {border-bottom: 1px solid ",";}}"],p.a,f.titleFontH6,C.a.largePost,k,m.i,C.a.largePosts,k,C.a.smallPost,e=>Object(g.c)(e).line),N=Object(i.connect)(null,(e,{discoveryUnit:t})=>({openOverlay:t=>e(Object(u.a)(t.permalink)),trackPostClick:o=>e((e,n)=>t?h.f(n(),t,o):null),trackPostSubredditClick:o=>e((e,n)=>t?h.g(n(),t,o):null)}));t.a=N(class extends r.a.Component{componentDidMount(){this.trackPostsViewed(this.props)}componentWillReceiveProps(e){this.props.postIds!==e.postIds&&this.trackPostsViewed(e)}trackPostsViewed(e){if(e.isLoading||0===e.postIds.length)return;const t=e.shouldUseSmallCardLayout?S:I+P;e.postIds.slice(0,t).forEach(t=>this.props.discoveryUnit?e.onPostView(this.props.discoveryUnit,t):null)}render(){var e=this.props;const t=e.discoveryUnit,o=e.shouldUseSmallCardLayout,n=this.props.showTopPosts||!!o;if(this.props.isLoading||0===this.props.postIds.length)return this.props.showTopPosts?j(y.a,{shouldUseSmallCardLayout:n,showSubreddit:this.props.showSubreddit}):j(x.a,{shouldUseSmallCardLayout:n,showSubreddit:this.props.showSubreddit});const s=n?S:I,i=n?0:P,d=this.props.postIds.slice(0,s),a=this.props.postIds.slice(s,s+i),p=1===d.length?C.a.topPosts:C.a.largePosts,m={className:1===d.length?C.a.topPost:C.a.largePost,eventFactory:h.e(t),forceLoadMedia:!0,onClickPost:(e,t)=>{this.props.openOverlay(t),this.props.trackPostClick(t.id)},showMetaLine:this.props.showSubreddit&&!n,showSubscribeBlock:this.props.showSubreddit&&n,onCommunityClick:e=>{this.props.trackPostSubredditClick(e.id)}};return j(T,{className:Object(c.a)(C.a.container,this.props.className),shouldShowSubreddit:this.props.showSubreddit,shouldUseSmallCardLayout:n,showTopPosts:this.props.showTopPosts},void 0,j("div",{className:p},void 0,d.map(e=>r.a.createElement(v.a,w({},m,{getSubredditSubscribeEventFactory:t?h.h(t,e):void 0,key:e,postId:e,scrollerItemRef:this.props.scrollerItemRef})))),a.length>0&&j("div",{className:C.a.smallPosts},void 0,a.map(e=>j(l.b,{className:C.a.smallPost,containerOnClick:()=>this.props.trackPostClick(e),postId:e,showSubreddit:this.props.showSubreddit,subredditOnClick:()=>this.props.trackPostSubredditClick(e),thumbnailOnClick:()=>this.props.trackPostClick(e)},e))))}})},"./src/reddit/components/DiscoveryUnit/Layout/index.m.less":function(e,t,o){e.exports={container:"_3lILa1kmfAauhn7UzHzjLJ",heroContainer:"_2xvhS-vDti9NRsRHMeqFmX",smallContainer:"_11h2c3EwgJFkGto36dozz7",oldContainer:"_24S-GP9dX3BODxJwehVvRx",header:"_3UiOKr6dA-zB_4O4l14Icx",bodyHidePadding:"M4vA4bj3WWpggduxPTpBA",body:"_1l2RfnlEvwmRPfDwe46NRR"}},"./src/reddit/components/DiscoveryUnit/Layout/index.tsx":function(e,t,o){"use strict";o.d(t,"b",function(){return p});o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o("./src/lib/classNames/index.ts"),i=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),d=o("./src/reddit/selectors/experiments/exploreV2.ts"),a=o("./src/reddit/components/DiscoveryUnit/Layout/index.m.less"),c=o.n(a),l=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const p=Object(s.css)([".",",."," {background-color: ",";}.",",."," {border: 1px solid ",";}"],c.a.heroContainer,c.a.smallContainer,e=>Object(i.c)(e).body,c.a.oldContainer,c.a.heroContainer,e=>Object(i.c)(e).postLine);t.a=(e=>l("div",{className:Object(r.a)(Object(d.c)(e.exploreV2Variant)?c.a.oldContainer:e.exploreV2Variant?c.a.smallContainer:c.a.heroContainer,e.className)},void 0,l("div",{className:c.a.header},void 0,e.header),l("div",{className:e.hidePadding?c.a.bodyHidePadding:c.a.body},void 0,e.children)))},"./src/reddit/components/Economics/EntryPoints/CommentFlatlistSupportCTA/dynamicStyles.tsx":function(e,t,o){"use strict";o.d(t,"a",function(){return d});var n=o("./bundled-modules/styled-components/styled-components.min.js"),s=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),r=o("./src/reddit/components/Economics/EntryPoints/CommentFlatlistSupportCTA/index.m.less"),i=o.n(r);const d=Object(n.css)(["."," {color: ",";}"],i.a.container,e=>Object(s.c)(e).actionIcon)},"./src/reddit/components/Economics/EntryPoints/CommentFlatlistSupportCTA/index.m.less":function(e,t,o){e.exports={button:"_2UNPRWF_2loDdny-u6MUHy"}},"./src/reddit/components/ExpandoButton/index.m.less":function(e,t,o){e.exports={outer:"RvLtAcdRtbOQbhFB7MD_T",icon:"saNpcHve-34zjaa0cbIxW",hideOnHover:"_25HJpaEPiVNq6Ss3Ad7dp9",showOnHover:"_2S05CzViTnl3I2ekCABqFo",outboundLinkIcon:"_1zB4YvOwHPxdPEXG2CYhKB"}},"./src/reddit/components/ExpandoButton/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./node_modules/react-router-dom/es/index.js"),a=o("./node_modules/reselect/lib/index.js"),c=o("./bundled-modules/styled-components/styled-components.min.js"),l=o.n(c),p=o("./src/app/strings/index.ts"),m=o("./src/lib/classNames/index.ts"),u=o("./src/lib/permalinkToOverlayLocation/index.ts"),b=o("./src/reddit/actions/post.ts"),f=o("./src/reddit/helpers/postHasSelfText/index.ts"),h=o("./src/reddit/helpers/styles/mixins/index.tsx"),g=o("./src/reddit/icons/fonts/Expandos/Arrows/Collapse/index.tsx"),v=o("./src/reddit/icons/fonts/Expandos/Arrows/Expand/index.tsx"),x=o("./src/reddit/icons/fonts/helpers.tsx"),y=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});var O=l()(e=>y("i",{className:`${Object(x.b)("expandoMediaLightbox")} ${e.className}`,onClick:e.onClick})).withConfig({componentId:"s14hmdpf-0"})(["display: inline-block;vertical-align: middle;font-size: 14px;font-weight: 400;line-height: 14px;"]),C=o("./src/reddit/icons/fonts/Expandos/Media/Video/index.tsx"),w=o("./src/reddit/icons/fonts/Gif/index.tsx"),j=o("./src/reddit/icons/fonts/Link/index.tsx"),S=o("./src/reddit/icons/fonts/OutboundLink/index.tsx"),I=o("./src/reddit/icons/fonts/Photos/index.tsx"),P=o("./src/reddit/icons/fonts/Text/index.tsx"),k=o("./src/reddit/models/Media/index.ts"),T=o("./src/reddit/selectors/user.ts"),N=o("./src/reddit/components/ExpandoButton/index.m.less"),_=o.n(N),L=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const M=l.a.button.withConfig({componentId:"deu748-0"})(["",""],h.p),E=l.a.a.withConfig({componentId:"deu748-1"})(["",""],h.p),A=l()(d.a).withConfig({componentId:"deu748-2"})(["",""],h.p),F=Object(a.createStructuredSelector)({language:T.M}),R=Object(i.connect)(F,(e,t)=>({toggle:()=>e(Object(b.o)({postId:t.post.id}))})),B=e=>{const t=Object(m.a)(_.a.icon,_.a.hideOnHover);switch(e){case k.m.GIFVIDEO:return L(w.a,{className:t});case k.m.IMAGE:return L(I.a,{className:t});case k.m.TEXT:case k.m.RTJSON:return L(P.a,{className:t});case k.m.VIDEO:return L(C.a,{className:t});case k.m.EMBED:default:return L(j.a,{className:t})}};t.a=R(e=>{const t=e.className,o=e.crosspost,n=e.isExpanded,s=e.language,i=e.post,d=e.toggle,a=e.useMediaIcons,c=o||i;return c.media&&("rtjson"!==c.media.type&&"text"!==c.media.type||Object(f.a)(c))?L(M,{"aria-expanded":n,"aria-haspopup":!0,"aria-label":Object(p.a)(s,"posts.expando"),className:Object(m.a)(t,_.a.outer),"data-click-id":n?"expando_close":"expando_open",onClick:d},void 0,n?L(g.a,{className:_.a.icon}):a?L(r.a.Fragment,{},void 0,B(c.media&&c.media.type),L(v.a,{className:Object(m.a)(_.a.icon,_.a.showOnHover)})):L(v.a,{className:_.a.icon})):c.source&&c.source.url?L(E,{"aria-label":Object(p.a)(s,"posts.expandoLink"),className:Object(m.a)(t,_.a.outer),"data-click-id":"expando_open",href:c.source.url,target:"_blank"},void 0,L(S.a,{className:Object(m.a)(_.a.icon,_.a.outboundLinkIcon)})):L(A,{"aria-label":Object(p.a)(s,"posts.expandoLightbox"),className:Object(m.a)(t,_.a.outer),"data-click-id":"expando_open",to:Object(u.a)(c.permalink),rel:"nofollow"},void 0,L(O,{className:_.a.icon}))})},"./src/reddit/components/FocusableContent/index.tsx":function(e,t,o){"use strict";var n=o("./bundled-modules/styled-components/styled-components.min.js"),s=o.n(n),r=o("./src/reddit/models/Theme/NewColorSystem/index.ts");t.a=s.a.div.withConfig({componentId:"hd5xqn-0"})(["position: relative;border-radius: 4px;border: ",";"],e=>e.isFocused?`1px solid ${Object(r.c)(e).navIcon}`:`1px solid ${Object(r.c)(e).line}`)},"./src/reddit/components/FollowButton/index.m.less":function(e,t,o){e.exports={button:"_2nvX_gR9FhSQ1lY6b1bWFW",layout:"_3lvJB_SaoWUqdHyOufnmZ6",icon:"Z6QJrMufwPMvNNas6O93V",iconFollowed:"_2i0YV5wtThaZqsLsq3DBCh"}},"./src/reddit/components/Governance/CommunityCard/CommunityTokens/Risk/index.m.less":function(e,t,o){e.exports={alertIcon:"_281dcYAIoQvZtLs7iI7QLT",risk:"_1r7M4su-D_hCOMd066XY3J",riskBody:"_12gDkO_ygs4ikCeyu5bcVg",riskTitle:"_3iYb38SYPwjAd1VG859AKs"}},"./src/reddit/components/Governance/CommunityCard/CommunityTokens/index.m.less":function(e,t,o){e.exports={overflowingText:"_3s4m8dsZEYcHZ4ojNFUV0R",cell:"_1-v1Zgj9IOmc-oaS_dfHfI",cellBottomLine:"_1YrPtUZyIgZmt7BoC3IOjC",cellContainer:"_3y3jYnCjkWtjpibBnc9e3l",cellTopLine:"-pS2f0b04dtavABCVdrie",explanation:"_1n5fyOsQxmVlxXd1xuw6fH",fvfo:"_1bSVC3Q8TRdxwy7IGqCj9f",title:"_2Q8Se5aIjJDpE5JnGoGI5R",token:"_2tQrDQoIjV3V6CMgrLYXU3",tokenCell:"_2rBuuOwPxb-X6wEPWDBmYH",sendButton:"_3D1PJ7suYE-Ph7W5jTZJ5k"}},"./src/reddit/components/Governance/CommunityCard/LatestProposals/index.m.less":function(e,t,o){e.exports={container:"_3WnHen22bLKwTkOL3W6F_D",link:"_3LjXe6j5_bQ3U8GZLY0HYO",fvfo:"NC_oxnf-UtDCPI7oyQnqx",showAll:"eRbX9WCebKIuLXdJIwNjK",title:"_3il8HJMlHzKppQleJjuboQ"}},"./src/reddit/components/Governance/CommunityCard/SubredditValue/index.m.less":function(e,t,o){e.exports={overflowingText:"jsNcHmrnNEHR43pSqktT_",arrowUp:"_3iBuIXhlae1tHvSYZBq-0c",arrowDown:"_1HKTC4jl1TGS1wYqr-Wf28",explanation:"_3PBhQhus1c5B4SLOIyHP3z",fvfo:"_33dGYZAzX3HXXD1cLtLVuv",title:"_293Q3OQ9umYHGIfr0X1AxK",valueContainer:"_28-EJ5nvhRIx5LBgLx4F1i",valueChange:"CRJ7CAZUtszmWPxUTU8qP"}},"./src/reddit/components/Governance/CommunityCard/index.m.less":function(e,t,o){e.exports={loading:"Jfh68QhZqpLgByZUbKyD1",section:"_3o2O8sLNM51xpdzuDH-ocD"}},"./src/reddit/components/Governance/CommunityCard/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o("./node_modules/react-redux/es/index.js"),i=o("./node_modules/reselect/lib/index.js"),d=o("./bundled-modules/styled-components/styled-components.min.js"),a=o("./src/app/strings/index.ts"),c=o("./src/reddit/components/Widgets/ThemedWidget/index.tsx"),l=o("./src/reddit/helpers/styles/smartTextColor.ts"),p=o("./src/reddit/models/NewStructuredStyles/index.ts"),m=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),u=o("./src/reddit/selectors/gov.ts"),b=o("./src/lib/constants/index.ts"),f=o("./src/lib/prettyPrintNumber/index.ts"),h=o("./src/reddit/actions/governance/index.ts"),g=o("./src/reddit/components/Governance/Token/index.tsx"),v=o("./src/reddit/controls/Button/index.tsx");!function(e){e.Initial="initial_distribution",e.Mod="moderator_election"}(n||(n={}));var x,y=o("./src/reddit/icons/svgs/QuarantineWarning/index.tsx"),O=o("./src/reddit/components/Governance/CommunityCard/CommunityTokens/Risk/index.m.less"),C=o.n(O),w=(x="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,n){var s=e&&e.defaultProps,r=arguments.length-3;if(t||0===r||(t={}),t&&s)for(var i in s)void 0===t[i]&&(t[i]=s[i]);else t||(t=s||{});if(1===r)t.children=n;else if(r>1){for(var d=Array(r),a=0;a<r;a++)d[a]=arguments[a+3];t.children=d}return{$$typeof:x,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const j=Object(d.css)(["."," {color: ",";}"],C.a.risk,e=>Object(l.a)(Object(m.c)(e).widgetColors.sidebarWidgetBackgroundColor));function S(e){return w("div",{className:C.a.risk},void 0,w("div",{className:C.a.riskTitle},void 0,w(y.a,{className:C.a.alertIcon}),e.title),w("div",{className:C.a.riskBody},void 0,e.body))}var I=o("./src/reddit/components/Governance/CommunityCard/CommunityTokens/index.m.less"),P=o.n(I),k=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const T=Object(d.css)([".",",."," {color: ",";}."," {border-color: ",";}",""],P.a.cell,P.a.explanation,e=>Object(l.a)(Object(m.c)(e).widgetColors.sidebarWidgetBackgroundColor),P.a.cell,e=>Object(l.a)(Object(m.c)(e).widgetColors.sidebarWidgetBackgroundColor,p.a.line,p.b.line),j);function N(e,t){return k("div",{className:P.a.cell},void 0,k("div",{className:P.a.cellTopLine},void 0,e),k("div",{className:P.a.cellBottomLine},void 0,t))}const _=Object(i.createStructuredSelector)({tokenName:u.i,language:e=>e.user.language});var L=Object(r.connect)(_,e=>({onOpenTransferModal:()=>e(Object(h.h)())}))(function(e){const t=e.className,o=e.distribution,s=e.language,r=e.onOpenTransferModal,i=e.subredditId,d=e.tokenName,c=e.wallet,l=c&&c.inactive&&function(e,t,o){const s=e.actionScheduledAt-Date.now(),r=Math.max(1,Math.floor(s/b.y)),i=1!==r?"gov.pointsDecay.inactive.time.plural":"gov.pointsDecay.inactive.time.singular",d=Object(a.a)(t,i,{numDays:r});switch(e.reason){case n.Initial:return{title:Object(a.a)(t,"gov.pointsDecay.inactive.title",{tokenName:o}),body:Object(a.a)(t,"gov.pointsDecay.inactive.body",{time:d,tokenName:o})};case n.Mod:return{title:Object(a.a)(t,"gov.pointsDecay.election.title"),body:Object(a.a)(t,"gov.pointsDecay.election.body",{time:d,tokenName:o})}}}(c.inactive,s,d);return k("div",{className:t},void 0,k("div",{className:P.a.title},void 0,d),k("div",{className:P.a.cellContainer},void 0,c&&N(k("div",{className:P.a.tokenCell},void 0,k(g.a,{className:P.a.token,subredditId:i}),Object(f.a)(c.amount)),Object(a.a)(s,"sidebar.gov.yourTokens",{tokenName:d})),o&&N(Object(f.a)(o.totalAvailable),Object(a.a)(s,"sidebar.gov.tokensIssued"))),l&&k(S,{body:l.body,title:l.title}),k("div",{className:P.a.explanation},void 0,Object(a.a)(s,"sidebar.gov.tokenExplanation",{tokenName:d})),c&&k(v.g,{className:P.a.sendButton,onClick:r},void 0,Object(a.a)(s,"gov.sendCta")))}),M=o("./node_modules/react-router-dom/es/index.js"),E=o("./src/lib/classNames/index.ts"),A=o("./src/lib/permalinkToOverlayLocation/index.ts"),F=o("./src/reddit/actions/subreddit.ts"),R=o("./src/reddit/contexts/PageLayer/index.tsx"),B=o("./src/reddit/components/Governance/CommunityCard/LatestProposals/index.m.less"),D=o.n(B),$=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const U=Object(d.css)([".",", ."," {color: ",";}."," {color: ",";}"],D.a.showAll,D.a.title,e=>Object(l.a)(Object(m.c)(e).widgetColors.sidebarWidgetBackgroundColor),D.a.link,e=>Object(m.c)(e).linkText);const W=Object(i.createStructuredSelector)({language:e=>e.user.language,proposals:(e,t)=>Object.keys(e.polls.models).map(t=>e.polls.models[t]).filter(e=>e.subredditId===t.subredditId).sort((e,t)=>e.createdAt>t.createdAt?-1:e.createdAt<t.createdAt?1:0).map(t=>e.posts.models[t.postId]).filter(Boolean).slice(0,5)});var H=Object(R.w)()(Object(r.connect)(W,(e,t)=>({onFilterProposals:()=>e(Object(F.p)({subredditId:t.subredditId,forceState:!0}))}))(function(e){return Object(R.J)(e.pageLayer)&&e.proposals.length?$("div",{className:Object(E.a)(e.className,D.a.container)},void 0,$("div",{className:D.a.title},void 0,Object(a.a)(e.language,"sidebar.gov.latestPollsTitle")),e.proposals.map(e=>$(M.a,{className:D.a.link,title:e.title,to:Object(A.a)(e.permalink)},void 0,e.title)),$("a",{className:D.a.showAll,onClick:e.onFilterProposals},void 0,Object(a.a)(e.language,"sidebar.gov.showAll"))):null})),V=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),z=e=>V("svg",{className:e.className,style:e.style,viewBox:"0 0 10 8",xmlns:"http://www.w3.org/2000/svg"},void 0,V("g",{},void 0,V("path",{d:"M4.152 1.3568C4.54367 0.730128 5.45633 0.730129 5.848 1.3568L9.04375 6.47C9.46003 7.13605 8.98119 8 8.19575 8H1.80425C1.01881 8 0.539969 7.13605 0.956249 6.47L4.152 1.3568Z"}))),K=o("./src/reddit/components/Governance/CommunityCard/SubredditValue/index.m.less"),q=o.n(K),G=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const J="#4CB350",Q="#EA0027",Z=Object(d.css)([".",", ."," {color: ",";}"],q.a.valueContainer,q.a.valueLabel,e=>Object(l.a)(Object(m.c)(e).widgetColors.sidebarWidgetBackgroundColor));const Y=Object(i.createStructuredSelector)({language:e=>e.user.language,meta:(e,t)=>e.subreddits.gov.meta[t.subredditId]});var X=Object(r.connect)(Y)(function(e){return e.meta&&e.meta.subredditValue&&e.meta.subredditValue.value?G("div",{className:e.className},void 0,G("div",{className:q.a.title},void 0,Object(a.a)(e.language,"sidebar.gov.subredditValue")),G("div",{className:q.a.valueContainer},void 0,G("span",{className:q.a.value},void 0,Object(f.a)(e.meta.subredditValue.value)),e.meta.subredditValue.change&&(e.meta.subredditValue.change>0?G(z,{className:q.a.arrowUp,style:{fill:J}}):G(z,{className:q.a.arrowDown,style:{fill:Q}})),e.meta.subredditValue.change&&G("span",{className:q.a.valueChange,style:{color:e.meta.subredditValue.change>0?J:Q}},void 0,Object(a.a)(e.language,"sidebar.gov.subredditValueChange",{subredditValueChange:(100*e.meta.subredditValue.change).toFixed(1)}))),G("div",{className:q.a.explanation},void 0,Object(a.a)(e.language,"sidebar.gov.subredditValueExplanation"))):null}),ee=o("./src/reddit/components/Governance/CommunityCard/index.m.less"),te=o.n(ee);o.d(t,"b",function(){return ne});var oe=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const ne=Object(d.css)(["."," {border-color: ",";}","","",""],te.a.section,e=>Object(l.a)(Object(m.c)(e).widgetColors.sidebarWidgetBackgroundColor,p.a.line,p.b.line),T,U,Z);const se=Object(i.createStructuredSelector)({tokenName:u.i,distribution:(e,t)=>e.subreddits.gov.distributions[t.subredditId],language:e=>e.user.language,wallet:u.d,subreddit:(e,t)=>e.subreddits.models[t.subredditId]});t.a=Object(r.connect)(se)(function(e){return oe(c.a,{className:te.a.className,title:Object(a.a)(e.language,"sidebar.gov.ownershipTitle")},void 0,e.distribution?oe(s.Fragment,{},void 0,oe(X,{className:te.a.section,subredditId:e.subredditId}),oe(L,{className:te.a.section,distribution:e.distribution,subredditId:e.subredditId,wallet:e.wallet}),e.subreddit&&oe(H,{className:te.a.section,subredditId:e.subreddit.id})):oe("div",{className:te.a.loading}))})},"./src/reddit/components/Governance/Leaderboard/Distribution/SettingsDropdown/index.m.less":function(e,t,o){e.exports={container:"_2-JKQYYtQFdjMQJhVbDG_e",row:"q2yTYZFv4fUHEGX1rFR_m"}},"./src/reddit/components/Governance/Leaderboard/Distribution/index.m.less":function(e,t,o){e.exports={container:"_32q2laSPP2zynVHz3RnmFA",disabledText:"_1VlkCIi5HF6re6HYIEjcO-",explanation:"_3HY9KL4hLnHIN0SXTtd7sP",fvfo:"a6-R28QcM9mFRTNAtvf9d",gear:"_3UQtcgIc1btF7TSSH4q4iH",noRelease:"_13P3kuENlFnVlvkkfqFrwK",releasing:"_2PMbulVzccnHrw7DDPiqto",title:"_2rd8DPLmnfPIFKHbLCyR1n",token:"oPTB7VC8RAKk1jXQ0HRYu",wallet:"_1oM70Z_WtiI7ZfhIvZbyOR"}},"./src/reddit/components/Governance/Leaderboard/Distribution/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/polished/dist/polished.es.js"),r=o("./node_modules/react/index.js"),i=o.n(r),d=o("./node_modules/react-redux/es/index.js"),a=o("./node_modules/reselect/lib/index.js"),c=o("./bundled-modules/styled-components/styled-components.min.js"),l=o.n(c),p=o("./src/app/strings/index.ts"),m=o("./src/lib/classNames/index.ts"),u=o("./src/lib/prettyPrintNumber/index.ts"),b=o("./src/lib/timeUntil/index.ts"),f=o("./src/reddit/components/Governance/Token/index.tsx"),h=o("./src/reddit/helpers/styles/smartTextColor.ts"),g=o("./src/reddit/icons/svgs/Settings/index.tsx"),v=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),x=o("./src/reddit/selectors/gov.ts"),y=o("./src/reddit/actions/governance/index.ts"),O=o("./src/reddit/controls/Button/index.tsx"),C=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const w=Object(a.createStructuredSelector)({language:e=>e.user.language});var j=Object(d.connect)(w,(e,{subredditId:t})=>({onOptIn:()=>e(Object(y.c)(!1,t))}))(function(e){return C(O.g,{className:e.className,onClick:e.onOptIn},void 0,Object(p.a)(e.language,"polls.optInButton"))}),S=o("./src/higherOrderComponents/asTooltip.tsx"),I=o("./src/reddit/constants/zIndex.ts"),P=o("./src/reddit/controls/Dropdown/index.tsx"),k=o("./src/reddit/controls/Dropdown/Row.tsx"),T=o("./src/reddit/components/Governance/Leaderboard/Distribution/SettingsDropdown/index.m.less"),N=o.n(T),_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},L=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),M=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const E=l()(P.a).withConfig({componentId:"h5us2u-0"})(["margin-top: 0;z-index: ",";"],I.u),A=Object(S.a)(function(e){e.className;const t=e.language,o=e.tokenName,n=(e.subredditId,M(e,["className","language","tokenName","subredditId"]));return i.a.createElement(E,_({className:Object(m.a)(e.className,N.a.container)},n),L(k.c,{noIcon:!0,className:N.a.row,onClick:e.onOpenOptOutModal},void 0,Object(p.a)(t,"polls.optOutModalTitle",{tokenName:o})))}),F=Object(a.createStructuredSelector)({tokenName:x.i,language:e=>e.user.language});var R=Object(d.connect)(F,(e,{subredditId:t})=>({onOpenOptOutModal:()=>e(Object(y.d)({subredditId:t}))}))(A),B=o("./src/reddit/components/Governance/Leaderboard/Distribution/index.m.less"),D=o.n(B);o.d(t,"b",function(){return W});var $=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const U="distribution-opt-out",W=Object(c.css)([".",",.",",."," {color: ",";}."," {fill: ",";&:hover, &:focus {background-color: ",";}}"],D.a.description,D.a.releasing,D.a.title,e=>Object(h.a)(Object(v.c)(e).widgetColors.sidebarWidgetBackgroundColor),D.a.gear,e=>Object(v.c)(e).actionIcon,e=>Object(s.e)(Object(v.c)(e).navIcon,.1));const H=Object(a.createStructuredSelector)({distribution:(e,{subreddit:t})=>e.subreddits.gov.distributions[t.id],language:e=>e.user.language,wallet:(e,{subreddit:t})=>Object(x.d)(e,{subredditId:t.id})});t.a=Object(d.connect)(H)(class extends i.a.Component{constructor(){super(...arguments),this.state={showDropdown:!1},this.handleOpenDropdown=(()=>{this.setState({showDropdown:!0}),document.body.addEventListener("click",this.handleCloseDropdown)}),this.handleCloseDropdown=(()=>{setTimeout(()=>this.setState({showDropdown:!1})),document.body.removeEventListener("click",this.handleCloseDropdown)})}render(){const e=`${U}${this.props.uniqueId||""}`,t=!!this.props.distribution&&!!this.props.distribution.nextIssue&&!!this.props.distribution.nextIssueAt;return $("div",{className:Object(m.a)(this.props.className,D.a.container)},void 0,$("div",{className:D.a.amount},void 0,$("div",{className:Object(m.a)(D.a.description,{[D.a.disabledText]:!!this.props.wallet&&!!this.props.wallet.optOut})},void 0,t?this.renderRelease():this.renderNoRelease())),this.props.wallet&&this.props.wallet.optOut&&$(j,{subredditId:this.props.subreddit.id}),this.props.wallet&&!this.props.wallet.optOut&&$(g.a,{className:D.a.gear,id:e,onClick:this.state.showDropdown?this.handleCloseDropdown:this.handleOpenDropdown}),this.props.wallet&&!this.props.wallet.optOut&&$(R,{isOpen:this.state.showDropdown,subredditId:this.props.subreddit.id,tooltipPosition:["right","top"],targetPosition:["right","bottom"],tooltipId:e}))}renderRelease(){return this.props.distribution&&this.props.distribution.nextIssue&&this.props.distribution.nextIssueAt?$(r.Fragment,{},void 0,$("div",{className:D.a.wallet},void 0,$(f.a,{className:D.a.token,subredditId:this.props.subreddit.id}),$("div",{},void 0,Object(u.a)(this.props.distribution.nextIssue))),$("div",{className:D.a.releasing},void 0,Object(p.a)(this.props.language,"sidebar.gov.tokensReleasing",{date:Object(b.a)(this.props.language,new Date(this.props.distribution.nextIssueAt),!0)}))):null}renderNoRelease(){return $("div",{className:D.a.noRelease},void 0,Object(p.a)(this.props.language,"sidebar.gov.noRelease"))}})},"./src/reddit/components/Governance/Leaderboard/EntryDivider/index.m.less":function(e,t,o){e.exports={container:"_3U3eyY-903VKXVQvAX6Oci",line:"_2rsENdHzxqXJ3jqSdUylB9",text:"R99kMDIZ0Rs3Ftsu750Im"}},"./src/reddit/components/Governance/Leaderboard/EntryDivider/index.tsx":function(e,t,o){"use strict";o.d(t,"b",function(){return h});o("./node_modules/react/index.js");var n,s=o("./node_modules/react-redux/es/index.js"),r=o("./node_modules/reselect/lib/index.js"),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o("./src/app/strings/index.ts"),a=o("./src/lib/classNames/index.ts"),c=o("./src/lib/prettyPrintNumber/index.ts"),l=o("./src/reddit/helpers/styles/smartTextColor.ts"),p=o("./src/reddit/models/NewStructuredStyles/index.ts"),m=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),u=o("./src/reddit/components/Governance/Leaderboard/EntryDivider/index.m.less"),b=o.n(u),f=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const h=Object(i.css)(["."," {border-color: ",";}."," {color: ",";}"],b.a.line,e=>Object(l.a)(Object(m.c)(e).widgetColors.sidebarWidgetBackgroundColor,p.a.line,p.b.line),b.a.text,e=>Object(l.a)(Object(m.c)(e).widgetColors.sidebarWidgetBackgroundColor,p.a.metaText,p.b.metaText));const g=Object(r.createStructuredSelector)({language:e=>e.user.language});t.a=Object(s.connect)(g)(function(e){const t=Object(c.a)(e.entry.numUsers.toString()),o=1===e.entry.numUsers?Object(d.a)(e.language,"gov.leaderboard.users.singular"):Object(d.a)(e.language,"gov.leaderboard.users.plural");return f("div",{className:Object(a.a)(b.a.container,e.className)},void 0,f("div",{className:b.a.line}),f("div",{className:b.a.text},void 0,`${t} ${o}`),f("div",{className:b.a.line}))})},"./src/reddit/components/Governance/Leaderboard/EntryUser/index.m.less":function(e,t,o){e.exports={flexRow:"_27XFXY0Nde6JEGFwKDLXpX",container:"_2nlSSvS0u4wdSdhODO2_LD",points:"_3dubtJAHgSz_JV7AiRzk12",position:"AzD_FyWlGp7oFW4xH0-MO",badge:"_2i9Lr8K4mvo7KpJoZHGbz0",badgeContainer:"_3tJG1HTVRm3dk-oHnTSl5h",currentUser:"_1M58uBin1CihyNgByc5_pr",user:"_3W7d8zooppcYXYlpjKZZRj",username:"_1vyJFDQjwC9W6mhvljSan",rank:"_3vpolg8V6jVUdNQB8lNsBS"}},"./src/reddit/components/Governance/Leaderboard/EntryUser/index.tsx":function(e,t,o){"use strict";o.d(t,"b",function(){return g});o("./node_modules/react/index.js");var n,s=o("./node_modules/react-redux/es/index.js"),r=o("./node_modules/react-router-dom/es/index.js"),i=o("./node_modules/reselect/lib/index.js"),d=o("./bundled-modules/styled-components/styled-components.min.js"),a=o("./src/lib/classNames/index.ts"),c=o("./src/lib/prettyPrintNumber/index.ts"),l=o("./src/reddit/components/Badges/UserDisplay/index.tsx"),p=o("./src/reddit/featureFlags/index.ts"),m=o("./src/reddit/helpers/styles/smartTextColor.ts"),u=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),b=o("./src/reddit/components/Governance/Leaderboard/EntryUser/index.m.less"),f=o.n(b),h=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const g=Object(d.css)(["."," {color: ",";}"],f.a.container,e=>Object(m.a)(Object(u.c)(e).widgetColors.sidebarWidgetBackgroundColor));const v=Object(i.createStructuredSelector)({accountId:e=>e.user.account?e.user.account.id:void 0,badgesEnabled:p.d.spBadges});t.a=Object(s.connect)(v)(function(e){return h(r.a,{className:Object(a.a)(f.a.container,e.className,{[f.a.currentUser]:e.entry.userId===e.accountId}),to:`/user/${e.entry.userName}`},void 0,h("div",{className:f.a.user},void 0,e.badgesEnabled&&h("div",{className:f.a.badgeContainer},void 0,h(l.b,{usePlaceholder:!0,subredditId:e.subredditId,uniqueIdentifier:e.uniqueIdentifier,userId:e.entry.userId})),h("div",{className:f.a.username},void 0,e.entry.userName)),h("div",{className:f.a.rank},void 0,h("div",{className:f.a.points},void 0,Object(c.a)(e.entry.score)),h("div",{className:f.a.position},void 0,`#${Object(c.a)(e.entry.position.toString())}`)))})},"./src/reddit/components/Governance/Leaderboard/dynamicStyles.tsx":function(e,t,o){"use strict";o.d(t,"a",function(){return u});var n=o("./bundled-modules/styled-components/styled-components.min.js"),s=o("./src/reddit/helpers/styles/smartTextColor.ts"),r=o("./src/reddit/models/NewStructuredStyles/index.ts"),i=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),d=o("./src/reddit/components/Governance/Leaderboard/Distribution/index.tsx"),a=o("./src/reddit/components/Governance/Leaderboard/EntryDivider/index.tsx"),c=o("./src/reddit/components/Governance/Leaderboard/EntryUser/index.tsx"),l=o("./src/reddit/components/Governance/Leaderboard/index.m.less"),p=o.n(l);const m=e=>Object(s.a)(Object(i.c)(e).widgetColors.sidebarWidgetBackgroundColor,r.a.line,r.b.line),u=Object(n.css)(["."," {border-color: ",";}."," {fill: ",";}."," {color: ",";}."," {background-color: ",";}","","",""],p.a.distribution,m,p.a.errorIcon,m,p.a.header,e=>Object(s.a)(Object(i.c)(e).widgetColors.sidebarWidgetBackgroundColor),p.a.loading,e=>Object(i.c)(e).field,d.b,a.b,c.b)},"./src/reddit/components/Governance/Leaderboard/index.m.less":function(e,t,o){e.exports={container:"_1l8stWgw-zYCekbwl-n3c_",datePickerContainer:"_3PZpCplhcmXmVN4-Ltw1jj",distribution:"_20giigIncPELawj1dJQbkq",divider:"_1zf-p8IC8IigBUFPt-H_45",entryUser:"-h3bdtmpLuhCRS6K-O5el",error:"XeA-6vh3Ag_VPJZW95yd_",errorIcon:"_3WI9lKaqHMMq_zIu6QXRY-",header:"_286cfq1tt7CbwNBqdqxRi0",loading:"pyciUPy6JIviG5S3kASOu"}},"./src/reddit/components/Governance/Proposal/NoProposalError/index.m.less":function(e,t,o){e.exports={container:"_2y2WPgX5vi2SAfi_nz_Q7B",fvfo:"_3y4h0Z4Ofe2FN7oKlP9V7e"}},"./src/reddit/components/Governance/Proposal/NoProposalError/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./node_modules/react-redux/es/index.js"),r=o("./node_modules/reselect/lib/index.js"),i=o("./src/app/strings/index.ts"),d=o("./src/lib/classNames/index.ts"),a=o("./src/reddit/components/Governance/Proposal/NoProposalError/index.m.less"),c=o.n(a),l=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const p=Object(r.createStructuredSelector)({language:e=>e.user.language});t.a=Object(s.connect)(p)(function(e){return l("div",{className:Object(d.a)(c.a.container,e.className)},void 0,Object(i.a)(e.language,"polls.cannotFind"))})},"./src/reddit/components/Governance/Proposal/ResultsSelector/DecisionThreshold/index.m.less":function(e,t,o){e.exports={checkIcon:"b6nqW0WFO2M4SexVBxfHU",container:"_1QSw_HlkZ06PQ4H_Gl5Qmi",decisionIcon:"tIv0l4mIAasOfzH_1MZzr",decisionThreshold:"vdDwj3MECrKPWOzGvwtX4",pie:"_1kLHoqYVgmdy-N798MqUkD",pieContainer:"_19t_3cFD9b1D_z7gV6r1Lf",pieInvertedMask:"_240PIKFetxH16NIbed3MhP",pieMask:"faQEx7XG3jztMB7Ba0IzB",text:"_3kJ7s4NNHNqugbRuUIg9B9"}},"./src/reddit/components/Governance/Proposal/ResultsSelector/Tab/index.m.less":function(e,t,o){e.exports={container:"_1399Kcm0dM3RnJzlAPzZsE",selectable:"_3-DDU6UwhIWiQZZtZLB8nv"}},"./src/reddit/components/Governance/Proposal/ResultsSelector/index.m.less":function(e,t,o){e.exports={container:"_16Gygedl8JROR3rsORhsAq"}},"./src/reddit/components/Governance/Proposal/index.m.less":function(e,t,o){e.exports={container:"_3agF4JIMydb6n5U8QiQ6Tv",govIcon:"Biin4hWHcVT2EfDytVnNn",poll:"_2-Y0QlWKQ9uE8EEq087km1",resultsSelector:"_31DHxzl3U6nsgzY4XJjCSD",votingReward:"_2JVvMYg8RBHtf5C2szMdV7"}},"./src/reddit/components/Governance/Proposal/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/bignumber.js/bignumber.js"),r=o.n(s),i=o("./node_modules/polished/dist/polished.es.js"),d=o("./node_modules/react/index.js"),a=o.n(d),c=o("./node_modules/react-redux/es/index.js"),l=o("./node_modules/reselect/lib/index.js"),p=o("./bundled-modules/styled-components/styled-components.min.js"),m=o("./src/lib/classNames/index.ts"),u=o("./src/reddit/components/Governance/Token/index.tsx"),b=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),f=o("./src/reddit/components/Governance/VotingReward/index.m.less"),h=o.n(f),g=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const v=Object(p.css)(["."," {background-color: ",";color: ",";}"],h.a.pill,e=>Object(b.c)(e).active,e=>Object(b.c)(e).body);function x(e){return g("div",{className:Object(m.a)(h.a.container,e.className)},void 0,g("div",{className:h.a.pill},void 0,g(u.a,{className:h.a.token,subredditId:e.subredditId}),g("span",{className:h.a.amount},void 0,"+",e.amount)))}var y,O=o("./src/reddit/actions/governance/index.ts"),C=o("./src/reddit/models/Poll/index.ts"),w=o("./src/reddit/selectors/gov.ts"),j=o("./src/reddit/components/Poll/MetaData/index.tsx"),S=o("./src/lib/bigNumberUtils/percent.ts"),I=o("./src/lib/prettyPrintNumber/index.ts"),P=o("./src/reddit/icons/svgs/CircleCheck/index.tsx"),k=o("./src/reddit/components/Poll/ResultOption/index.m.less"),T=o.n(k),N=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();!function(e){e[e.Count=0]="Count",e[e.Percent=1]="Percent"}(y||(y={}));const _=Object(p.css)([".",",.",",."," {color: ",";}."," {fill: ",";}."," {background-color: ",";}"],T.a.count,T.a.percent,T.a.text,e=>Object(b.c)(e).bodyText,T.a.check,e=>Object(b.c)(e).bodyText,T.a.bar,e=>Object(b.c)(e).active);var L=function(e){const t=e.poll.options.filter(t=>t.id===e.optionId)[0],o=e.result.totalVotes,n=e.result.options[e.optionId],r=new s.BigNumber(o).isZero()?0:Object(S.a)(n.votes,o);return N("div",{className:Object(m.a)(e.className,T.a.container),title:e.displayType===y.Count?n.votes:`${r.toFixed(2)}% (${Object(I.a)(n.votes)} ${e.tokenName})`},void 0,N("div",{className:T.a.bar,style:{opacity:e.isWinningOption?.3:void 0,width:`${r}%`}}),N("div",{className:Object(m.a)(T.a.count,{[T.a.hide]:e.displayType!==y.Count,[T.a.show]:e.displayType===y.Count})},void 0,Object(I.b)(parseInt(n.votes))),N("div",{className:Object(m.a)(T.a.percent,{[T.a.hide]:e.displayType===y.Count,[T.a.show]:e.displayType!==y.Count})},void 0,`${r.toFixed(1)}%`),N("div",{className:T.a.text},void 0,t.text),n.userSelected&&N(P.a,{className:T.a.check}))},M=o("./src/reddit/components/Poll/ClosedPoll/index.m.less"),E=o.n(M),A=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const F=Object(p.css)(["."," {color: ",";}",""],E.a.metaData,e=>Object(b.c)(e).metaText,_);const R=Object(l.createStructuredSelector)({tokenName:w.i,language:e=>e.user.language});var B=Object(c.connect)(R)(function(e){let t;return e.poll.options.forEach(o=>{t||(t=o);const n=e.result.options[o.id],r=e.result.options[t.id];new s.BigNumber(r.votes).isLessThan(new s.BigNumber(n.votes))&&(t=o)}),A("div",{className:e.className},void 0,e.poll.options.map((o,n)=>A(L,{className:E.a.option,displayType:e.displayType,isWinningOption:o===t,optionId:o.id,poll:e.poll,result:e.result,tokenName:e.tokenName},n)),A(j.a,{className:E.a.metaData,language:e.language,poll:e.poll}))}),D=o("./node_modules/lodash/isNil.js"),$=o.n(D),U=o("./src/app/strings/index.ts"),W=o("./src/reddit/controls/Button/index.tsx"),H=o("./src/reddit/controls/LoadingIcon/index.tsx"),V=o("./src/reddit/components/Poll/OpenPoll/index.m.less"),z=o.n(V),K=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const q=Object(p.css)(["."," {color: ",";}."," {color: ",";}"],z.a.option,e=>Object(b.c)(e).bodyText,z.a.metaData,e=>Object(b.c)(e).metaText);function G(e){return"INPUT"===e.tagName}const J=Object(l.createStructuredSelector)({language:e=>e.user.language,userIsLoggedIn:e=>!!e.user.account});var Q=Object(c.connect)(J)(class extends a.a.Component{constructor(){super(...arguments),this.state={optionIsSelected:!1},this.handleOptionSelected=(()=>this.setState({optionIsSelected:!0}))}render(){return K("form",{className:this.props.className,onSubmit:e=>{e.preventDefault();const t=e.currentTarget,o=function(e){for(const t of e)if(t.checked)return parseInt(t.value)}(Array.from(t.elements).filter(G));$()(o)||this.props.onVoteSelection(this.props.poll.options[o])}},void 0,K("div",{},void 0,this.props.poll.options.map((e,t)=>K("label",{className:z.a.option},t,K("input",{className:z.a.optionRadio,onChange:this.handleOptionSelected,type:"radio",name:"proposal",value:t}),K("div",{className:z.a.optionText},void 0,e.text)))),K("div",{className:z.a.controlRow},void 0,K("div",{className:z.a.buttonContainer},void 0,K(W.g,{className:z.a.voteButton,disabled:this.props.voteInProgress||!this.props.userIsLoggedIn||!this.state.optionIsSelected,type:"submit"},void 0,this.props.voteInProgress?K(H.a,{className:z.a.loadingIcon,sizePx:20}):K(d.Fragment,{},void 0,this.props.votingIcon,Object(U.a)(this.props.language,"polls.voteCTA"))),!this.props.userIsLoggedIn&&K("div",{className:z.a.loggedOutTooltip},void 0,Object(U.a)(this.props.language,"polls.loggedOutText"))),K(j.a,{className:z.a.metaData,language:this.props.language,poll:this.props.poll})))}}),Z=o("./src/reddit/components/Poll/index.m.less"),Y=o.n(Z),X=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const ee=Object(p.css)(["."," {color: ",";}","",""],Y.a.title,e=>Object(b.c)(e).bodyText,F,q);const te=Object(l.createStructuredSelector)({poll:(e,t)=>e.polls.models[t.pollId],result:(e,t)=>e.polls.results[t.resultType][t.pollId],voteInProgress:(e,t)=>!!e.polls.api.voting.pending[t.pollId]});var oe=Object(c.connect)(te,(e,t)=>({onVoteSelection:o=>e(Object(O.f)(t.pollId,o.id))}))(function(e){const t=e.poll,o=e.result;return t?X("div",{className:e.className},void 0,e.title&&X("div",{className:Y.a.title},void 0,e.title),o&&Object(C.e)(t,o)?X(B,{displayType:e.displayType,poll:t,result:o}):X(Q,{poll:t,onVoteSelection:e.onVoteSelection,voteInProgress:e.voteInProgress,votingIcon:e.votingIcon})):null}),ne=o("./src/reddit/icons/svgs/GovSmall/index.tsx"),se=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),re=e=>se("svg",{className:e.className,viewBox:"0 0 20 20"},void 0,se("g",{},void 0,se("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.7771 0.961401C10.3769 0.466643 9.62244 0.466642 9.22221 0.961401L8.71391 1.58973C8.42377 1.9484 7.92591 2.06204 7.50887 1.86478L6.77829 1.51921C6.20302 1.2471 5.52329 1.57445 5.37735 2.19386L5.19202 2.98051C5.08623 3.42955 4.68698 3.74795 4.22565 3.75117L3.41748 3.75681C2.78112 3.76125 2.31073 4.3511 2.44801 4.97249L2.62234 5.76165C2.72186 6.21213 2.50029 6.67222 2.08605 6.87528L1.36036 7.23101C0.788947 7.51112 0.621066 8.24665 1.01436 8.74695L1.51383 9.38231C1.79895 9.745 1.79895 10.2557 1.51383 10.6184L1.01436 11.2537C0.621067 11.754 0.788947 12.4895 1.36036 12.7697L2.08605 13.1254C2.50029 13.3284 2.72186 13.7885 2.62234 14.239L2.44801 15.0282C2.31073 15.6496 2.78112 16.2394 3.41748 16.2439L4.22565 16.2495C4.68698 16.2527 5.08623 16.5711 5.19202 17.0202L5.37735 17.8068C5.52329 18.4262 6.20302 18.7536 6.77829 18.4815L7.50887 18.1359C7.92591 17.9386 8.42376 18.0523 8.71391 18.4109L9.22221 19.0393C9.62244 19.534 10.3769 19.534 10.7771 19.0393L11.2854 18.4109C11.5756 18.0523 12.0734 17.9386 12.4905 18.1359L13.221 18.4815C13.7963 18.7536 14.476 18.4262 14.622 17.8068L14.8073 17.0202C14.9131 16.5711 15.3124 16.2527 15.7737 16.2495L16.5819 16.2439C17.2182 16.2394 17.6886 15.6496 17.5513 15.0282L17.377 14.239C17.2775 13.7885 17.499 13.3284 17.9133 13.1254L18.639 12.7697C19.2104 12.4895 19.3783 11.754 18.985 11.2537L18.4855 10.6184C18.2004 10.2557 18.2004 9.745 18.4855 9.38231L18.985 8.74695C19.3783 8.24665 19.2104 7.51112 18.639 7.23101L17.9133 6.87528C17.499 6.67222 17.2775 6.21213 17.377 5.76165L17.5513 4.97249C17.6886 4.3511 17.2182 3.76125 16.5819 3.75681L15.7737 3.75117C15.3124 3.74795 14.9131 3.42956 14.8073 2.98051L14.622 2.19386C14.476 1.57445 13.7963 1.2471 13.221 1.51921L12.4905 1.86478C12.0734 2.06204 11.5756 1.94841 11.2854 1.58973L10.7771 0.961401ZM12.5231 7.71779L13.0827 8.27779C13.2391 8.43419 13.2391 8.68699 13.0827 8.84339L9.44271 12.4834C9.36471 12.5614 9.26231 12.6006 9.1599 12.6006C9.0575 12.6006 8.95551 12.5614 8.8771 12.4834L6.9171 10.5234C6.7607 10.3674 6.7607 10.1142 6.9171 9.95779L7.4771 9.39779C7.6335 9.24139 7.8867 9.24139 8.0427 9.39779L9.1599 10.515L11.9575 7.71779C12.0323 7.64259 12.1339 7.60059 12.2403 7.60059C12.3463 7.60059 12.4479 7.64259 12.5231 7.71779Z"}))),ie=o("./src/reddit/selectors/user.ts"),de=o("./src/reddit/components/Governance/Proposal/ResultsSelector/DecisionThreshold/index.m.less"),ae=o.n(de),ce=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const le="m-swap",pe=e=>Object(i.c)(.4,Object(b.c)(e).body,Object(b.c)(e).active),me=Object(p.css)(["."," {fill: ",";}."," {fill: ",";}."," {color: ",";}."," {border: 1px solid ",";}.",",."," {background-color: ",";&."," {background-color: ",";}}."," {background-color: ",";}"],ae.a.checkIcon,e=>Object(b.c)(e).body,ae.a.decisionThreshold,e=>Object(b.c)(e).active,ae.a.text,e=>Object(b.c)(e).actionIcon,ae.a.pieContainer,pe,ae.a.pieInvertedMask,ae.a.pieMask,e=>Object(i.c)(.95,Object(b.c)(e).body,Object(b.c)(e).active),le,pe,ae.a.pie,pe);function ue(e){return ce(d.Fragment,{},void 0,ce("div",{className:ae.a.text},void 0,Object(U.a)(e.language,"polls.decisionThresholdAchieved")),ce("div",{className:ae.a.decisionIcon,title:e.votes},void 0,ce(re,{className:ae.a.decisionThreshold})))}function be(e){return ce(d.Fragment,{},void 0,ce("div",{className:ae.a.text},void 0,Object(U.a)(e.language,"polls.decisionThreshold",{amount:Object(I.b)(parseInt(e.threshold))})),ce(fe,{percent:e.percent}))}function fe(e){const t=Math.floor(e.percent/100*360);return ce("div",{className:ae.a.pieContainer,title:`${e.percent}%`},void 0,ce("div",{className:ae.a.pie}),ce("div",{className:ae.a.pieInvertedMask}),ce("div",{className:Object(m.a)(ae.a.pieMask,{[le]:e.percent>=50}),style:{transform:e.percent<50?`rotate(${t}deg)`:`rotate(${t-180}deg)`}}))}const he=Object(l.createStructuredSelector)({language:ie.M,poll:(e,{pollId:t})=>e.polls.models[t],pollResult:(e,{pollId:t})=>e.polls.results.byVotingPower[t],subredditGovMeta:(e,{subredditId:t})=>e.subreddits.gov.meta[t]});var ge=Object(c.connect)(he)(function(e){if(!(e.poll&&e.pollResult&&e.subredditGovMeta&&e.subredditGovMeta.polls&&e.subredditGovMeta.polls.decisionThreshold))return null;const t=Object(C.c)(e.poll,e.pollResult),o=new r.a(e.pollResult.options[t.id].votes),n=e.subredditGovMeta.polls.decisionThreshold,s=o.isGreaterThanOrEqualTo(new r.a(n)),i=Object(S.a)(e.pollResult.options[t.id].votes,n);return ce("div",{className:Object(m.a)(ae.a.container,e.className)},void 0,s?ce(ue,{language:e.language,votes:o.toString()}):ce(be,{language:e.language,threshold:n,percent:i}))}),ve=o("./src/reddit/components/Governance/Proposal/ResultsSelector/Tab/index.m.less"),xe=o.n(ve),ye=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Oe="m-selected",Ce=Object(p.css)(["."," {color: ",";&."," {border-bottom-color: ",";color: ",";&:hover {opacity: 1;}}}"],xe.a.container,e=>Object(b.c)(e).actionIcon,Oe,e=>Object(b.c)(e).active,e=>Object(b.c)(e).active);function we(e){return ye("a",{className:Object(m.a)(e.className,xe.a.container,{[Oe]:!!e.selectable&&!!e.isSelected,[xe.a.selectable]:!!e.selectable}),onClick:e.onSelect,title:e.tooltipText},void 0,e.text)}var je=o("./src/reddit/components/Governance/Proposal/ResultsSelector/index.m.less"),Se=o.n(je),Ie=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Pe=Object(p.css)(["","",""],me,Ce),ke=new Set(["t5_37jgj"]);const Te=Object(l.createStructuredSelector)({tokenName:w.i,distribution:(e,{subredditId:t})=>e.subreddits.gov.distributions[t],language:e=>e.user.language,poll:(e,{pollId:t})=>e.polls.models[t],pollIsClosed:(e,{pollId:t,resultsByVoters:o})=>{const n=e.polls.models[t];return!!(n&&o&&Object(C.e)(n,o))},wallet:w.d});var Ne=Object(c.connect)(Te)(function(e){const t=e.distribution,o=e.poll,n=e.resultsByLockedVotingPower,r=e.resultsByVoters,i=e.resultsByVotingPower,d=e.tokenName,a=e.wallet,c=i?i.totalVotes:"0",l=n?n.totalVotes:"0",p=!new s.BigNumber(c).isZero()&&a&&t?Object(S.a)(c,t.totalAvailable):0,u=r?r.totalVotes:"0",b=Object(I.b)(parseInt(l)),f=Object(I.b)(parseInt(c)),h=Object(I.b)(parseInt(u));return Ie("div",{className:Object(m.a)(e.className,Se.a.container)},void 0,Ie("div",{},void 0,Ie(we,{isSelected:e.currentResultType===C.b.ByVotingPower,selectable:e.pollIsClosed,text:`${f} ${d}`,tooltipText:Object(U.a)(e.language,"polls.votingBreakdown",{tokenName:d,count:Object(I.a)(c),percent:p.toFixed(2)}),onSelect:()=>e.onChangeResultType&&e.onChangeResultType(C.b.ByVotingPower)}),n&&ke.has(e.subredditId)&&Ie(we,{isSelected:e.currentResultType===C.b.ByLockedVotingPower,selectable:e.pollIsClosed,text:`${b} ${Object(U.a)(e.language,"polls.locked")} ${d}`,onSelect:()=>e.onChangeResultType&&e.onChangeResultType(C.b.ByLockedVotingPower)}),Ie(we,{isSelected:e.currentResultType===C.b.ByVoters,selectable:e.pollIsClosed,text:Object(U.d)(e.language,"polls.numVotes",parseInt(u),{count:h}),onSelect:()=>e.onChangeResultType&&e.onChangeResultType(C.b.ByVoters)})),Object(C.d)(o)&&Ie(ge,{pollId:e.pollId,subredditId:e.subredditId}))}),_e=o("./src/reddit/components/Governance/Proposal/index.m.less"),Le=o.n(_e);o.d(t,"b",function(){return Ee});var Me=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Ee=Object(p.css)(["."," {background-color: ",";border: 1px solid ",";}."," {background-color: ",";border-bottom: 1px solid ",";}","","",""],Le.a.container,e=>Object(i.j)(.99,Object(b.c)(e).active),e=>Object(b.c)(e).line,Le.a.resultsSelector,e=>Object(b.c)(e).body,e=>Object(b.c)(e).line,ee,Pe,v);function Ae(e,t){return t===C.b.ByVotingPower?e.resultsByVotingPower:e.resultsByVoters}const Fe=Object(l.createStructuredSelector)({language:e=>e.user.language,poll:(e,t)=>e.polls.models[t.pollId],pollReward:(e,t)=>e.polls.rewards[t.pollId],resultsByLockedVotingPower:(e,t)=>e.polls.results.byLockedVotingPower[t.pollId],resultsByVoters:(e,t)=>e.polls.results.byVoters[t.pollId],resultsByVotingPower:(e,t)=>e.polls.results.byVotingPower[t.pollId]});t.a=Object(c.connect)(Fe)(class extends a.a.Component{constructor(){super(...arguments),this.state={displayReward:!1,resultType:C.b.ByVotingPower},this.handleResultTypeChange=(e=>this.setState({resultType:e}))}componentDidUpdate(e,t){if(this.props.pollReward&&!new s.BigNumber(this.props.pollReward).isZero()){const o=Ae(e,t.resultType),n=Ae(this.props,this.state.resultType);if(o&&n){const t=!Object(C.e)(e.poll,o),s=Object(C.e)(this.props.poll,n);t&&s&&this.setState({displayReward:!0})}}}render(){return Me("div",{className:Object(m.a)(this.props.className,Le.a.container)},void 0,Me(Ne,{className:Le.a.resultsSelector,currentResultType:this.state.resultType,pollId:this.props.pollId,resultsByLockedVotingPower:this.props.resultsByLockedVotingPower,resultsByVoters:this.props.resultsByVoters,resultsByVotingPower:this.props.resultsByVotingPower,subredditId:this.props.subredditId,onChangeResultType:this.handleResultTypeChange}),Me(oe,{className:Le.a.poll,displayType:this.state.resultType===C.b.ByVoters?y.Count:y.Percent,pollId:this.props.pollId,resultType:this.state.resultType,votingIcon:Object(C.d)(this.props.poll)?Me(ne.a,{className:Le.a.govIcon}):void 0},this.props.pollId),this.props.pollReward&&this.state.displayReward&&Me(x,{amount:this.props.pollReward,className:Le.a.votingReward,subredditId:this.props.subredditId}))}})},"./src/reddit/components/Governance/VotingReward/index.m.less":function(e,t,o){e.exports={amount:"_2uGwXKrmP9OljxIhbSCOjc",container:"dVX1qcOidD13L5NRRKOPb",pill:"_2tKg0JJT2prOVVIOrtS2JP",pillAnim:"_3qV2ZaEJd_k1NSZDxMjK-g",token:"_3dLs5lIwl_kKHq589IyKz5",tokenRotation:"_1C5oqr8CA_wteJsqqSRq0B"}},"./src/reddit/components/GraphicalIdBanner/index.m.less":function(e,t,o){e.exports={container:"_1lhJMzq4xwKOTyVyhoiBWA",communityMeta:"_1ubApu3UYePpIkwpxPf7o5",subredditName:"_3WjcNnj0VM3AKnC5v01TMe",communityText:"_1-R-QiiDWHumfeb8Nhs63O",communityStats:"_2H98TIRPBL6L1JKpGxIRNa",description:"_1QCy_0Mynsh67s5WZ5Dbit",contentWrapper:"_3tTiAH8mniTx59RUHGd2Ah",subredditIcon:"_3JhwDum2sEhxFMpqZgEdZ8"}},"./src/reddit/components/HeaderImage/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./node_modules/react-router-dom/es/index.js"),r=o("./bundled-modules/styled-components/styled-components.min.js"),i=o.n(r),d=o("./src/reddit/constants/screenWidths.ts"),a=o("./src/reddit/constants/zIndex.ts"),c=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),l=o("./src/reddit/helpers/styles/components/index.tsx"),p=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),m=o("./src/reddit/icons/svgs/CircledPlanet/index.tsx"),u=o("./src/reddit/models/Theme/index.ts"),b=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const f=Object(r.css)(["background: ",";border: ","px solid ",";border-radius: ","px;float: left;margin-right: 8px;box-sizing: border-box;height: ","px;width: ","px;"],e=>Object(c.c)(e).active,2,e=>Object(c.c)(e).lightText,e=>Object(c.c)(e).banner.iconDimensions.borderRadius,e=>4+parseInt(Object(c.c)(e).banner.iconDimensions.customSize,10),e=>4+parseInt(Object(c.c)(e).banner.iconDimensions.customSize,10)),h=i()(m.a).withConfig({componentId:"ssdjlj-0"})(["","fill: ",";padding: ","px;"],f,e=>Object(c.c)(e).lightText,e=>Object(c.c)(e).banner.iconDimensions.padding),g=i()(Object(l.a)()).withConfig({componentId:"ssdjlj-1"})(["","background-image: url('","');background-position: center;background-repeat: no-repeat;background-size: 100%;"],f,e=>e.iconUrl),v=i.a.div.withConfig({componentId:"ssdjlj-2"})(["width: 512px;height: ","px;background-position: center;background-repeat: no-repeat;background-size: auto;top: 50%;transform: translateY(-50%);position: absolute;","","&:hover {","}"],e=>Object(c.c)(e).banner.positionedImageHeight,e=>Object(c.c)(e).banner.positionedImage?`background-image: url(${Object(c.c)(e).banner.positionedImage});`:"",e=>{switch(Object(c.c)(e).banner.positionedImageAlignment){case"right":return"right: -8px;";case"centered":return"left: 50%; transform: translate(-50%, -50%);";default:return"left: -8px;"}},e=>Object(c.c)(e).banner.positionedImage&&Object(c.c)(e).banner.secondaryBannerPositionedImage?`background-image: url(${Object(c.c)(e).banner.secondaryBannerPositionedImage});`:""),x=i.a.div.withConfig({componentId:"ssdjlj-3"})(["position: absolute;top: 50%;transform: translateY(-50%);z-index: ",";&:hover + "," {","}"],a.d,v,e=>Object(c.c)(e).banner.positionedImage&&Object(c.c)(e).banner.secondaryBannerPositionedImage&&"left"===Object(c.c)(e).banner.positionedImageAlignment?`background-image: url(${Object(c.c)(e).banner.secondaryBannerPositionedImage});`:""),y=i.a.div.withConfig({componentId:"ssdjlj-4"})(["height: 100%;","position: relative;",";"],e=>e.disableFullscreen?"\n margin: auto;\n ":"\n margin: 10px;\n ",e=>Object(c.c)(e).navBar.useOverlay?"transform: translateY(-18px)":""),O=Object(r.withTheme)(e=>{const t=Object(u.e)(e.headerText,e.prefixedHeaderText,Object(c.c)(e).banner.communityNameFormat||""),o=(e=>e.theme&&Object(c.c)(e).banner.iconImage?String(Object(c.c)(e).banner.iconImage):e.subredditOrProfile?e.subredditOrProfile.communityIcon||e.subredditOrProfile.icon.url:e.subreddit?e.subreddit.communityIcon||e.subreddit.icon.url:void 0)(e);return b(j,{className:e.className,to:e.url},void 0,b(y,{disableFullscreen:e.disableFullscreen,style:{maxWidth:e.disableFullscreen?`${e.maxWidth||d.c}px`:"100%"}},void 0,b(x,{},void 0,e.theme&&Object(c.c)(e).banner.showCommunityIcon&&(o?b(g,{iconUrl:o}):b(h,{})),t&&(e=>1===e.length?b(w,{},void 0,b(C,{},void 0,e[0])):b(w,{},void 0,e[0],b(C,{},void 0,e[1])))(t)),b(v,{})))}),C=i.a.h1.withConfig({componentId:"ssdjlj-5"})(["display: inline;"]),w=i.a.span.withConfig({componentId:"ssdjlj-6"})(["","color: #FCFCFB;flex: 1 1 100%;@media(min-width: ","px) {padding-right: 16px;}display: block;float: left;line-height: ","px;"],p.titleFontH1,d.g,e=>Object(c.c)(e).banner.lineHeight),j=i()(s.a).withConfig({componentId:"ssdjlj-7"})(["text-decoration: none;"]);t.a=i()(O).withConfig({componentId:"ssdjlj-8"})(["background: ",";background-position: top center;display: block;flex-direction: row;height: ","px;margin: 0 auto;@media(min-width: ","px) {padding: 8px 16px;}min-width: 260px;"],e=>Object(u.g)(Object(c.c)(e).banner.backgroundColor,Object(c.c)(e).banner.backgroundImage,Object(c.c)(e).banner.backgroundImagePosition),e=>Object(c.c)(e).banner.height,d.i)},"./src/reddit/components/IdCard/CommunityOptions/index.m.less":function(e,t,o){e.exports={container:"_3Qx5bBCG_O8wVZee9J-KyJ",content:"_2NbKFI9n3wPM76pgfAPEsN",stylesToggle:"_2btz68cXFBI3RWcfSNwbmJ",fvfo:"_2If23hFuQEh898PEmkj-IV",disabled:"QgBK4ECuqpeR2umRjYcP2",expandButton:"_4OtOUaGIjjp2cNJMUxme_"}},"./src/reddit/components/IdCard/Placeholder.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o.n(i),a=o("./src/lib/classNames/index.ts"),c=o("./src/reddit/helpers/styles/mixins/loading.ts"),l=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),p=o("./src/reddit/components/IdCard/placeholder.m.less"),m=o.n(p),u=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),b=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const f=d()(e=>{e.isLoading,e.gradientType;var t=b(e,["isLoading","gradientType"]);return r.a.createElement("div",t)}).withConfig({componentId:"s1lp57jt-0"})(["",""],c.b),h=d.a.div.withConfig({componentId:"s1lp57jt-1"})(["background-color: ",";"],e=>Object(l.c)(e).widgetColors.sidebarWidgetBackgroundColor);t.a=(({isLoading:e})=>u(h,{className:m.a.container},void 0,u(f,{gradientType:"posts",isLoading:e,className:m.a.banner}),u("div",{className:m.a.title},void 0,u(f,{gradientType:"posts",isLoading:e,className:m.a.icon}),u(f,{gradientType:"posts",isLoading:e,className:m.a.name})),u("div",{className:m.a.counts},void 0,u("div",{className:m.a.side},void 0,u(f,{gradientType:"posts",isLoading:e,className:m.a.count}),u(f,{gradientType:"posts",isLoading:e,className:m.a.text})),u("div",{className:m.a.side},void 0,u(f,{gradientType:"posts",isLoading:e,className:m.a.count}),u(f,{gradientType:"posts",isLoading:e,className:m.a.text}))),u(f,{gradientType:"posts",isLoading:e,className:Object(a.a)(m.a.desc,m.a.one)}),u(f,{gradientType:"posts",isLoading:e,className:Object(a.a)(m.a.desc,m.a.two)}),u(f,{gradientType:"posts",isLoading:e,className:Object(a.a)(m.a.desc,m.a.three)}),u(f,{gradientType:"posts",isLoading:e,className:Object(a.a)(m.a.desc,m.a.four)}),u(f,{gradientType:"posts",isLoading:e,className:m.a.subscribe})))},"./src/reddit/components/IdCard/helpers.ts":function(e,t,o){"use strict";o.d(t,"f",function(){return d}),o.d(t,"c",function(){return a}),o.d(t,"d",function(){return c}),o.d(t,"e",function(){return l}),o.d(t,"b",function(){return p}),o.d(t,"a",function(){return m});var n=o("./src/app/strings/index.ts"),s=o("./src/config.ts"),r=o("./src/reddit/constants/listings.ts"),i=o("./src/reddit/constants/page.ts");const d=e=>e&&e.toLowerCase()===r.b.Popular,a=e=>e&&e.toLowerCase()===r.b.All,c=e=>e&&e===i.c,l=e=>e&&e===i.j,p=(e,t=40,o=68)=>({height:o,image:e,width:t}),m=({language:e,listingName:t,subreddit:o,idCardWidget:i,shouldRenderSuperbOwlIcon:m})=>{let u,b,f,h,g,v;const x=i&&i.subscribersText||Object(n.a)(e,"structuredStyles.widgets.id-card.subscribersText"),y=i&&i.currentlyViewingText||Object(n.a)(e,"structuredStyles.widgets.id-card.currentlyViewingText");let O,C;const w=m?"snoo-superbowl@2x.png":"snoo-home@2x.png";if(c(t)){u=`${s.a.assetPath}/img/id-cards/home-banner@2x.png`,b=Object(n.a)(e,"listings.home.longDescription"),f=p(`url('${s.a.assetPath}/img/id-cards/${w}')`);const t=Object(n.a)(e,"listings.home.title");h=t.charAt(0).toUpperCase()+t.slice(1),v=r.c[r.b.Home]}else if(a(t))u=`${s.a.assetPath}/img/id-cards/banner@2x.png`,b=Object(n.a)(e,"listings.all.longDescription"),f=p(`url('${s.a.assetPath}/img/id-cards/${w}')`),h="r/all",v=r.c[r.b.All];else if(l(t)){u=`${s.a.assetPath}/img/id-cards/oc-banner@2x.png`,b=Object(n.a)(e,"listings.originalContent.longDescription"),f=p(`url('${s.a.assetPath}/img/id-cards/snoo-oc@2x.png')`,68);const t=Object(n.a)(e,"listings.originalContent.title");h=t.charAt(0).toUpperCase()+t.slice(1),g=Object(n.a)(e,"listings.originalContent.titleSecondary"),v=r.c[r.b.Original]}else d(t)?(u=`${s.a.assetPath}/img/id-cards/banner@2x.png`,b=Object(n.a)(e,"listings.popular.longDescription"),f=p(`url('${s.a.assetPath}/img/id-cards/${w}')`),h="r/popular",v=r.c[r.b.Popular]):t&&(b=i&&i.description,f=p(""),h=o.displayText,v=o.url,C=i&&i.subscribersCount,O=i&&i.currentlyViewingCount);return Object.assign({snooBackground:f,description:b,titleText:h,titleSecondaryText:g,url:v,subscribersCount:C,subscribersText:x,currentlyViewingText:y,currentlyViewingCount:O},u?{bannerBackgroundImage:u}:{})}},"./src/reddit/components/IdCard/index.m.less":function(e,t,o){e.exports={categoryContainer:"_37coyt0h8ryIQubA7RHmUc",icon:"_2XJvPvYIEYtcS4ORsDXwa3",subredditIcon:"_2Vkdik1Q8k0lBEhhA_lRKE",largeSubredditIcon:"eGjjbHtkgFc-SYka3LM3M",planetIcon:"ZtU5GBgjF1m_LMGdL3d7x",largePlanetIcon:"_3mmJ1GWMWurrNWGlAosDIq"}},"./src/reddit/components/IdCard/index.tsx":function(e,t,o){"use strict";var n=o("./node_modules/react/index.js"),s=o.n(n),r=o("./node_modules/react-redux/es/index.js"),i=o("./node_modules/react-router-dom/es/index.js"),d=o("./node_modules/react-router-redux/es/index.js"),a=o("./node_modules/reselect/lib/index.js"),c=o("./bundled-modules/styled-components/styled-components.min.js"),l=o.n(c),p=o("./src/app/strings/index.ts"),m=o("./src/lib/isFakeSubreddit/index.ts"),u=o("./src/lib/prettyPrintNumber/index.ts"),b=o("./src/app/actions/tooltip.ts"),f=o("./src/reddit/components/CategoryTagList/index.tsx"),h=o("./src/reddit/components/CreateCommunityButton/index.tsx"),g=o("./src/reddit/components/CreatePostButton/index.tsx"),v=o("./src/reddit/components/InfoTextTooltip/index.tsx"),x=o("./src/higherOrderComponents/addOverlayEvents.tsx"),y=o("./src/higherOrderComponents/asTooltip.tsx"),O=o("./src/reddit/actions/monthsToMinutes.ts"),C=o("./src/reddit/constants/componentSizes.ts"),w=o("./src/reddit/constants/zIndex.ts"),j=o("./src/reddit/models/MonthsToMinutes/index.ts"),S=o("./src/reddit/components/MonthsToMinutesTooltip/index.tsx"),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};const P=Object(y.a)(l()(S.a).withConfig({componentId:"tnff3g-0"})(["","margin-left: -8px;margin-top: ","px;;z-index: ",";&:before {left: initial;right: -.5em;top: 16px;}"],"",e=>e.isOverlay?-C.j:0,w.n+1),[x.a.Click,x.a.Keydown,x.a.Resize]);var k,T=Object(r.connect)(null,e=>({onTooltipActivated:t=>e(Object(O.x)({time:Date.now(),tooltipType:t}))}))(class extends s.a.Component{componentDidMount(){this.props.isOpen&&this.props.onTooltipActivated(j.j.SubscribeIdCard)}render(){const e=this.props;return s.a.createElement(P,I({targetPosition:["left","top"],tooltipPosition:["right","top"],tooltipType:j.j.SubscribeIdCard},e))}}),N=o("./src/reddit/components/SubredditIcon/index.tsx"),_=o("./src/reddit/components/SubscribeButton/index.tsx"),L=o("./src/reddit/components/TrackingHelper/index.tsx"),M=o("./src/reddit/components/Widgets/Base/index.tsx"),E=o("./src/reddit/components/Widgets/ThemedWidget/index.tsx"),A=o("./src/reddit/constants/elementIds.ts"),F=o("./src/reddit/constants/listings.ts"),R=o("./src/reddit/constants/page.ts"),B=o("./src/reddit/helpers/styles/components/index.tsx"),D=o("./src/reddit/helpers/styles/mixins/index.tsx"),$=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),U=o("./src/reddit/helpers/trackers/lightbox.ts"),W=o("./src/reddit/helpers/trackers/modHub.ts"),H=o("./src/reddit/icons/fonts/helpers.tsx"),V=(k="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,n){var s=e&&e.defaultProps,r=arguments.length-3;if(t||0===r||(t={}),t&&s)for(var i in s)void 0===t[i]&&(t[i]=s[i]);else t||(t=s||{});if(1===r)t.children=n;else if(r>1){for(var d=Array(r),a=0;a<r;a++)d[a]=arguments[a+3];t.children=d}return{$$typeof:k,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});var z=l()(e=>V("i",{className:`${Object(H.b)("modSettings")} ${e.className}`})).withConfig({componentId:"s1nioeso-0"})(["display: inline-block;vertical-align: text-bottom;width: 16px;height: 16px;font-size: 16px;line-height: 16px;"]),K=o("./src/reddit/models/Theme/index.ts"),q=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),G=o("./src/reddit/selectors/category.ts"),J=o("./src/reddit/selectors/comments.ts"),Q=o("./src/reddit/selectors/experiments/categories.ts"),Z=o("./src/reddit/selectors/listings.ts"),Y=o("./src/reddit/selectors/moderatorPermissions.ts"),X=o("./src/reddit/selectors/monthsToMinutes.ts"),ee=o("./src/reddit/selectors/structuredStyles.ts"),te=o("./src/reddit/selectors/subreddit.ts"),oe=o("./src/reddit/selectors/user.ts"),ne=o("./src/reddit/selectors/widgets.ts"),se=o("./src/reddit/components/CommunityType/index.tsx"),re=o("./src/reddit/featureFlags/index.ts"),ie=o("./node_modules/polished/dist/polished.es.js"),de=o("./src/lib/classNames/index.ts"),ae=o("./src/reddit/actions/preferences.ts"),ce=o("./src/reddit/actions/authorFlair.ts"),le=o("./src/reddit/actions/badge.ts"),pe=o("./src/reddit/components/Badges/UserDisplay/index.tsx"),me=o("./src/reddit/components/Flair/index.tsx"),ue=o("./src/reddit/controls/Button/index.tsx"),be=o("./src/reddit/featureFlags/component.tsx"),fe=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),he=o("./src/reddit/models/User/index.ts"),ge=o("./src/reddit/selectors/userFlair.ts"),ve=o("./src/reddit/components/SidebarFlairSettings/index.m.less"),xe=o.n(ve),ye=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Oe=l.a.div.withConfig({componentId:"s1wrnpm8-0"})(["border-top: 1px solid ",";margin-top: 12px;padding-top: 12px;"],e=>Object(q.c)(e).widgetColors.lineColor),Ce=l.a.div.withConfig({componentId:"s1wrnpm8-1"})(["","align-items: center;background-color: ",";border-radius: 4px;display: flex;flex-direction: row;margin-top: 12px;"],$.metadataFont,e=>Object(q.c)(e).body),we=l()(e=>fe("svg",{className:e.className,viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg",version:"1.1"},void 0,fe("title",{id:`${e.title}-title`},void 0,e.title),fe("g",{},void 0,fe("path",{fill:"inherit",d:"M8.1168,3.0832 L10.9168,5.8832 C11.0728,6.0392 11.0728,6.2928 10.9168,6.4488 L4.0824,13.2832 C4.0072,13.3584 3.9056,13.4 3.8,13.4 L1,13.4 C0.7784,13.4 0.6,13.2216 0.6,13 L0.6,10.2 C0.6,10.0944 0.6416,9.9928 0.7168,9.9176 L7.5512,3.0832 C7.7072,2.9272 7.9608,2.9272 8.1168,3.0832 Z M13.5168,2.152 C13.9848,2.62 13.9848,3.3808 13.5168,3.8488 L12.048,5.3176 C11.9696,5.396 11.8672,5.4352 11.7656,5.4352 C11.6632,5.4352 11.5608,5.396 11.4824,5.3176 L8.6824,2.5176 C8.5264,2.3616 8.5264,2.108 8.6824,1.952 L10.1512,0.4832 C10.6192,0.0152 11.38,0.0152 11.848,0.4832 L13.5168,2.152 Z"})))).withConfig({componentId:"s1wrnpm8-2"})(["color: ",";fill: ",";height: 14px;width: 14px;"],e=>Object(q.c)(e).button,e=>Object(q.c)(e).button),je=l.a.div.withConfig({componentId:"s1wrnpm8-3"})(["","display: flex;justify-content: space-between;"],$.labelsFont),Se=l()(me.c).withConfig({componentId:"s1wrnpm8-4"})(["margin-left: 8px;"]),Ie=l()(ue.l).withConfig({componentId:"s1wrnpm8-5"})(["display: flex;margin-left: auto;"]),Pe=l()(Ie).withConfig({componentId:"s1wrnpm8-6"})(["padding: 0px;"]),ke=l.a.span.withConfig({componentId:"s1wrnpm8-7"})(["color: ",";flex: 0 0 auto;line-height: 16px;"],e=>Object(q.c)(e).bodyText),Te=Object(be.a)("spBadges",pe.a),Ne=Object(a.createStructuredSelector)({badgesEnabled:re.d.spBadges,currentUser:oe.j,language:oe.M,userFlairData:ge.b,userHasBadge:(e,t)=>{const o=e.user.account;if(o){return!!((e.users.appliedBadges[o.id]||{})[t.subredditId]||[]).length}return!1}}),_e=Object(r.connect)(Ne,(e,{subredditId:t})=>({onToggleModal:o=>e(Object(ce.b)({username:o,subredditId:t})),onToggleBadgeModal:()=>e(Object(le.j)())})),Le=e=>ye(Pe,{onClick:e.onClick},void 0,ye(we,{})),Me=e=>ye(Ie,{onClick:e.onClick},void 0,e.userFlairData.displaySettings.isEnabled?e.userFlairData.applied||e.userHasBadge?Object(p.a)(e.language,"flair.editUserFlairAndBadge"):Object(p.a)(e.language,"flair.addUserFlairAndBadge"):e.userHasBadge?Object(p.a)(e.language,"flair.editUserBadge"):Object(p.a)(e.language,"flair.addUserBadge"));var Ee=_e(Object(L.b)(class extends s.a.Component{constructor(){super(...arguments),this.onFlairLinkClick=(()=>{const e=this.props.currentUser?Object(he.f)(this.props.currentUser):null;this.props.onToggleModal(e),this.props.sendEvent(Object(U.c)("user_flair_picker"))})}render(){var e=this.props;const t=e.badgesEnabled,o=e.currentUser,n=e.language,s=e.onToggleBadgeModal,r=e.subredditId,i=e.userFlairData,d=e.userHasBadge;return o&&i?ye(Oe,{},void 0,ye(je,{},void 0,Object(p.a)(n,"flair.preview"),ye(Le,{onClick:this.onFlairLinkClick})),ye(Ce,{},void 0,d&&ye(Te,{className:xe.a.badge,subredditId:r,uniqueIdentifier:r}),ye(ke,{},void 0,`u/${o.displayText}`),i.applied&&i.displaySettings.isUserEnabled&&ye(Se,{flair:i.applied,forceSmallEmojis:!0})),t?ye(Me,{userFlairData:i,userHasBadge:d,language:n,onClick:s}):null):null}})),Ae=o("./src/reddit/controls/ToggleSwitch/index.tsx"),Fe=o("./src/reddit/helpers/trackers/idCard.ts"),Re=o("./src/reddit/icons/svgs/ChevronDown/index.tsx"),Be=o("./src/reddit/icons/svgs/ChevronUp/index.tsx"),De=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),$e=e=>De("svg",{className:e.className,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},void 0,De("path",{d:"M17.71,10.29,14.95,7.54a7,7,0,0,0-9.9,0L2.29,10.29a1,1,0,0,0,1.41,1.41L6.46,8.95c.07-.07.14-.11.21-.17a4,4,0,1,0,6.65,0c.07.06.15.11.21.17l2.76,2.76a1,1,0,0,0,1.41-1.41Z"})),Ue=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),We=e=>Ue("svg",{className:e.className,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},void 0,Ue("path",{d:"M4.59 8l-2.3 2.29A1 1 0 0 0 3.7 11.7L6 9.41zM6 11a4 4 0 0 0 5.34 3.75l-5.1-5.1A4 4 0 0 0 6 11zM18.71 17.29l-5-5A3.87 3.87 0 0 0 14 11a4 4 0 0 0-.68-2.22c.07.06.15.11.21.17l2.76 2.76a1 1 0 0 0 1.41-1.41l-2.75-2.76A7 7 0 0 0 7.42 6L2.71 1.29a1 1 0 0 0-1.42 1.42l16 16a1 1 0 0 0 1.41-1.41z"})),He=o("./src/reddit/components/IdCard/CommunityOptions/index.m.less"),Ve=o.n(He),ze=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Ke=l.a.div.withConfig({componentId:"s1p4e6h4-0"})(["border-top: 1px solid ",";"],e=>Object(q.c)(e).widgetColors.lineColor),qe=l()(ue.l).withConfig({componentId:"s1p4e6h4-1"})(["","color: ",";fill: ",";&:hover {color: ",";fill: ",";}&:active {color: ",";fill: ",";}&:disabled,&[disabled],&[data-disabled] {color: ",";fill: ",";cursor: not-allowed;}"],$.labelsFont,e=>Object(q.c)(e).bodyText,e=>Object(q.c)(e).bodyText,e=>Object(ie.g)(.8,Object(q.c)(e).bodyText),e=>Object(ie.g)(.8,Object(q.c)(e).bodyText),e=>Object(ie.g)(.8,Object(q.c)(e).bodyText),e=>Object(ie.g)(.8,Object(q.c)(e).bodyText),e=>Object(ie.e)(Object(q.c)(e).bodyText,.5),e=>Object(ie.e)(Object(q.c)(e).bodyText,.5)),Ge=Object(a.createStructuredSelector)({language:oe.M,stylesDisabledGlobally:oe.Z,stylesDisabledForSubreddit:oe.Y});var Je=Object(r.connect)(Ge,e=>({updateSubredditPrefs:(t,o)=>{e(Object(ae.D)(t,o))}}))(class extends s.a.Component{constructor(e){super(e),this.onContainerClick=(e=>{e.stopPropagation()}),this.onExpandButtonClick=(()=>{this.setState({isOpen:!this.state.isOpen})}),this.onToggleStylesSwitch=(()=>{const e=!!this.props.stylesDisabledForSubreddit;this.props.sendEvent(Object(Fe.c)(e)),this.props.updateSubredditPrefs(this.props.subredditId,{stylesEnabled:e})}),this.state={isOpen:!1}}render(){var e=this.props;const t=e.isOverlay,o=e.language,n=e.stylesDisabledForSubreddit,s=e.stylesDisabledGlobally,r=e.subredditId,i=this.state.isOpen,d=i?ze("div",{className:Ve.a.content},void 0,ze("div",{className:Object(de.a)(Ve.a.stylesToggle,{[Ve.a.disabled]:s}),title:s?Object(p.a)(o,"sidebar.subreddit.communityTheme.disabledTitle"):void 0},void 0,ze("label",{className:Ve.a.stylesToggleLabel},void 0,ze(n?We:$e,{}),Object(p.a)(o,"sidebar.subreddit.communityTheme.label")),ze(Ae.a,{disabled:s,on:!n,onToggle:this.onToggleStylesSwitch})),!t&&ze(Ee,{subredditId:r})):null;return ze(Ke,{className:Ve.a.container,onClick:this.onContainerClick},void 0,ze(qe,{className:Ve.a.expandButton,onClick:this.onExpandButtonClick},void 0,Object(p.a)(o,"sidebar.subreddit.communityOptions"),ze(i?Be.a:Re.a,{})),d)}}),Qe=o("./src/reddit/components/IdCard/helpers.ts"),Ze=o("./src/reddit/components/IdCard/Placeholder.tsx"),Ye=o("./src/reddit/components/IdCard/index.m.less"),Xe=o.n(Ye);o.d(t,"e",function(){return ot}),o.d(t,"a",function(){return nt}),o.d(t,"b",function(){return ht}),o.d(t,"f",function(){return It}),o.d(t,"c",function(){return Pt});var et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},tt=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const ot=e=>!Object(m.a)(e)||Object(Qe.c)(e)||Object(Qe.d)(e)||Object(Qe.f)(e)||Object(Qe.e)(e),nt=l()(Object(B.a)()).withConfig({componentId:"s1bd5ppi-0"})(["background: ",";border-radius: 4px 4px 0 0;height: 34px;margin: -12px -12px 10px;"],e=>Object(K.g)(Object(q.c)(e).active,e.bannerBackgroundImage||Object(q.c)(e).banner.backgroundImage,"cover")),st=l.a.div.withConfig({componentId:"s1bd5ppi-1"})(["align-items: center;display: flex;& > * {display: inline-block;vertical-align: middle;}"]),rt=l()(st).withConfig({componentId:"s1bd5ppi-2"})(["margin-top: -23px;"]),it=l()(({className:e,children:t,shouldRenderSuperbOwlIcon:o})=>tt("div",{className:e,title:o?"r/SuperbOwl":""},void 0,t)).withConfig({componentId:"s1bd5ppi-3"})(["background: ",";background-size: ","px ","px;display: inline-block;flex-shrink: 0;height: ","px;position: relative;width: ","px;"],e=>e.snooBackground.image,e=>e.snooBackground.width,e=>e.snooBackground.height,e=>e.snooBackground.height,e=>e.snooBackground.width),dt=l()(i.a).withConfig({componentId:"s1bd5ppi-4"})(["flex: 1 1 auto;overflow: hidden;text-overflow: ellipsis;&:hover {text-decoration: underline;}"]),at=l.a.span.withConfig({componentId:"s1bd5ppi-5"})(["","display: inline-block;"],$.titleFontH4),ct=l.a.div.withConfig({componentId:"s1bd5ppi-6"})(["margin-left: 10px;margin-top: ","px;"],e=>e.hasSecondaryTitle?35:30),lt=l()(at).withConfig({componentId:"s1bd5ppi-7"})(["color: ",";",""],e=>Object(q.c)(e).actionIcon,$.metadataFont),pt=l.a.div.withConfig({componentId:"s1bd5ppi-8"})(["display: flex;margin: 8px 0;& > * {flex: 1;}"]),mt=l.a.div.withConfig({componentId:"s1bd5ppi-9"})(["border-left: 1px solid ",";padding-left: 12px;"],e=>Object(q.c)(e).widgetColors.lineColor),ut=l.a.p.withConfig({componentId:"s1bd5ppi-10"})(["",""],$.titleFontH4),bt=l.a.p.withConfig({componentId:"s1bd5ppi-11"})(["","display: inline-block;word-break: break-word;"],$.titleFontH6),ft=l()(M.a).withConfig({componentId:"s1bd5ppi-12"})(["margin-top: 10px;"]),ht=l.a.p.withConfig({componentId:"s1bd5ppi-13"})(["","margin-top: 8px;word-wrap: break-word;"],$.bodyFont),gt=l.a.div.withConfig({componentId:"s1bd5ppi-14"})(["margin-top: 12px;"]),vt="\n display: block;\n width: 100%;\n",xt=l()(_.a).withConfig({componentId:"s1bd5ppi-15"})(["",";margin-bottom: 8px;"],vt),yt=l()(g.a).withConfig({componentId:"s1bd5ppi-16"})(["",";","padding: 0 16px;"],vt,$.largeButtonFont),Ot=l()(h.a).withConfig({componentId:"s1bd5ppi-17"})(["",";","margin-top: 11px;"],D.e,$.largeButtonFont),Ct=l()(z).withConfig({componentId:"s1bd5ppi-18"})(["margin-right: 4px;vertical-align: middle;"]),wt=l()(i.a).withConfig({componentId:"s1bd5ppi-19"})(["border-radius: 4px;margin: 6px 0px 6px auto;padding: 4px;"]),jt=l.a.div.withConfig({componentId:"s1bd5ppi-20"})(["border-top: 1px solid ",";margin-top: 10px;"],e=>Object(q.c)(e).widgetColors.lineColor),St=Object(r.connect)(()=>Object(a.createStructuredSelector)({postCategories:(e,t)=>Object(G.o)(e,t.postId),commentsApiError:J.c,commentsApiPending:J.d,frontpageIsHome:X.j,idCardWidget:(e,t)=>Object(ne.c)(e,{subredditName:t.listingName}),isLoggedIn:oe.F,language:oe.M,listingApiError:Z.c,listingApiPending:Z.d,moderatorPermissions:(e,t)=>{const o=Object(te.z)(e,t.listingName);if(o)return Object(Y.g)(e,{subredditId:o})},isInCategoriesExperiment:Q.a,shouldRenderSuperbOwlIcon:re.d.superbOwl,subreddit:(e,t)=>Object(te.v)(e,{subredditName:t.listingName}),subredditIcon:(e,t)=>Object(ee.o)(e,{subredditName:t.listingName}),subscribeIdTooltipIsOpen:X.B}),(e,t)=>({dispatchPush:t=>e(Object(d.b)(t)),toggleTooltip:t=>e(Object(b.e)({tooltipId:t}))}),(e,t,o)=>Object.assign({},e,t,o,{onContainerClick:()=>o.isOverlay&&t.dispatchPush(e.subreddit.url)}));const It=({titleText:e,titleSecondaryText:t,snooBackground:o,shouldRenderSuperbOwlIcon:n})=>tt(rt,{},void 0,tt(it,{snooBackground:o,shouldRenderSuperbOwlIcon:n}),tt(ct,{hasSecondaryTitle:!!t},void 0,tt(at,{},void 0,e),t&&tt(lt,{},void 0,t))),Pt=e=>{const t=e.isTargetBlank,o=e.largeSubredditIcon,n=e.linkUrl,r=e.subredditIcon,i=e.titleText,d=e.primaryColor;return tt(st,{className:e.className},void 0,tt(N.b,{className:o?Xe.a.largeSubredditIcon:Xe.a.subredditIcon,iconUrl:r.url,primaryColor:d},r.url),n?s.a.createElement(dt,et({key:n,to:n,onClick:e=>e.stopPropagation()},t?{target:"_blank"}:{}),tt(at,{title:i},void 0,i)):tt(at,{},i,i))},kt=(e,t,o,n,s,r,i,d)=>tt(pt,{},void 0,tt("div",{onMouseEnter:()=>d(n),onMouseLeave:()=>d(n)},void 0,tt(ut,{},void 0,Object(u.b)(t)),tt(bt,{id:n},void 0,o),tt(v.c,{caretOnTop:!0,text:`${Object(u.b)(t,!0)} ${o}`,tooltipId:n})),tt(mt,{onMouseEnter:()=>d(i),onMouseLeave:()=>d(i)},void 0,tt(ut,{},void 0,Object(u.b)(s)),tt(bt,{id:i},void 0,r),tt(v.c,{caretOnTop:!0,text:`${Object(u.b)(s,!0)} ${r}`,tooltipId:i}))),Tt=e=>tt(ht,{},void 0,e),Nt=({isFake:e,isOverlay:t,isLoggedIn:o,isSubmissionPage:n,language:s,listingName:r,subreddit:i})=>tt(gt,{},void 0,!e&&tt(xt,{getEventFactory:e=>Object(U.c)(e?"unsubscribe":"subscribe"),id:`subscribe-button-${i.id}`,identifier:{name:i.name,type:"subreddit"},onClick:e=>e.stopPropagation()}),!n&&!t&&tt(yt,{listingName:r,subreddit:i}),o&&!n&&!t&&!i&&r!==R.j&&tt(Ot,{eventSource:"id_card",language:s}));t.d=Object(L.b)(St(Object(c.withTheme)(class extends s.a.Component{constructor(){super(...arguments),this.onClickModTools=(()=>this.props.sendEvent(Object(W.a)()))}render(){var e=this.props;const t=e.className,o=e.commentsApiError,n=e.commentsApiPending,r=e.frontpageIsHome,i=e.idCardWidget,d=e.isCommentsPage,a=e.isInCategoriesExperiment,c=e.isLoggedIn,l=e.isOverlay,u=e.isSubmissionPage,b=e.language,h=e.listingApiError,g=e.listingApiPending,v=e.listingName,x=e.moderatorPermissions,y=e.onContainerClick,O=e.postCategories,C=e.postId,w=e.shouldRenderSuperbOwlIcon,j=e.subreddit,S=e.subredditIcon,I=e.subscribeIdTooltipIsOpen,P=e.toggleTooltip;let k=v;c||v!==R.c||r||(k=F.b.Popular);const N=Object(m.a)(k);if(!N&&!i)return tt(Ze.a,{isLoading:n&&!o||g&&!h});var _=Object(Qe.a)({language:b,listingName:k,subreddit:j,idCardWidget:i,shouldRenderSuperbOwlIcon:w});const L=_.bannerBackgroundImage,M=_.currentlyViewingCount,B=_.currentlyViewingText,D=_.description,$=_.snooBackground,U=_.subscribersCount,W=_.subscribersText,H=_.titleText,V=_.titleSecondaryText,z=_.url,K=N||l||u,q=!N&&j.id?j.id:"",G=`IdCard--Subscribers--${l}--${q}`,J=`IdCard--CurrentlyViewing--${l}--${q}`;return tt(s.a.Fragment,{},void 0,tt(E.a,{className:t,onClick:l?y:void 0,headerButton:!K&&j&&x&&tt(wt,{to:x.posts?`${j.url}about/modqueue`:`${j.url}about/`,onClick:this.onClickModTools},void 0,tt(Ct,{}),Object(p.a)(b,"modTools.modTools")),redditStyle:N||u,title:K?void 0:Object(p.a)(b,"sidebar.subreddit.title")},void 0,K&&tt(nt,{bannerBackgroundImage:L}),N?It({titleText:H,titleSecondaryText:V,snooBackground:$,shouldRenderSuperbOwlIcon:w}):tt(Pt,{isTargetBlank:u,linkUrl:N?void 0:z,subredditIcon:S,titleText:H}),!N&&kt(b,U,W,G,M,B,J,P),!N&&tt(se.a,{type:j.type,isNSFW:j.isNSFW,allowContractors:j.allowContractors,isQuarantined:j.isQuarantined}),Tt(D),Nt({isFake:N,isLoggedIn:c,isOverlay:l,isSubmissionPage:u,language:b,listingName:k,subreddit:j}),a&&O&&C&&(d||l)&&tt(jt,{},void 0,tt(ft,{},void 0,Object(p.a)(b,"sidebar.categoryTag.discoverMore")),tt(f.a,{postId:C,inLightboxHeader:!0,postCategories:O})),!N&&c&&tt(Je,{isOverlay:l,sendEvent:this.props.sendEvent,subredditId:j.id})),!N&&tt(T,{container:l?document.getElementById(A.d):null,isOpen:I,isOverlay:l,tooltipId:`subscribe-button-${j.id}`}))}})))},"./src/reddit/components/IdCard/placeholder.m.less":function(e,t,o){e.exports={container:"_1KWSZXqSM_BLhBzkPyJFGR",banner:"c_dVyWK3BXRxSN3ULLJ_t",title:"_1OQL3FCA9BfgI57ghHHgV3",icon:"_33jgwegeMTJ-FJaaHMeOjV",name:"_1wQQNkVR4qNpQCzA19X4B6",counts:"_39IvqNe6cqNVXcMFxFWFxx",side:"_29TSdL_ZMpyzfQ_bfdcBSc",count:"JEV9fXVlt_7DgH-zLepBH",text:"_3YCOmnWpGeRBW_Psd5WMPR",desc:"_2iO5zt81CSiYhWRF9WylyN",one:"_2E9u5XvlGwlpnzki78vasG",two:"fDElwzn43eJToKzSCkejE",three:"_2kNB7LAYYqYdyS85f8pqfi",four:"_1XmngqAPKZO_1lDBwcQrR7",subscribe:"_3XbVvl-zJDbcDeEdSgxV4_"}},"./src/reddit/components/InfoBanners/BannerBase/index.m.less":function(e,t,o){e.exports={IconWrapper:"_2p07tPrx9WpxDTQJ5cmVNe",iconWrapper:"_2p07tPrx9WpxDTQJ5cmVNe",TextWrapper:"_2jpm-rNr0Hniw6BX3NWMVe",textWrapper:"_2jpm-rNr0Hniw6BX3NWMVe"}},"./src/reddit/components/InfoBanners/BannerBase/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s),i=o("./src/reddit/helpers/styles/components/index.tsx"),d=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),a=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),c=o("./src/reddit/components/InfoBanners/BannerBase/index.m.less"),l=o.n(c),p=o("./src/lib/lessComponent.tsx"),m=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const u=Object(s.css)(["","color: ",";"],d.metadataFont,e=>Object(a.c)(e).bodyText),b=p.a.div("IconWrapper",l.a),f=r()(Object(i.a)()).withConfig({componentId:"s1nw2m0g-0"})(["background-color: ",";display: inline-block;width: 8px;position: absolute;top: 0;bottom: 0;"],e=>e.color),h=r.a.div.withConfig({componentId:"s1nw2m0g-1"})(["",""],u),g=p.a.div("TextWrapper",l.a),v=r.a.div.withConfig({componentId:"s1nw2m0g-2"})(["","font-weight: bold;"],u),x=r()(Object(i.a)()).withConfig({componentId:"s1nw2m0g-3"})(["background-color: ",";border: 1px solid ",";border-radius: 4px;position: relative;display: flex;"],e=>Object(a.c)(e).body,e=>e.color);t.a=(e=>{const t=e.className,o=e.color,n=e.icon,s=e.subtitle,r=e.title;return m(x,{className:t,color:o},void 0,m(f,{color:o}),n&&m(b,{},void 0,n),m(g,{},void 0,m(v,{},void 0,r),s&&m(h,{},void 0,s)))})},"./src/reddit/components/InfoBanners/QuarantinedSubredditBanner/index.m.less":function(e,t,o){e.exports={container:"_3UJGTKmHd4TVKyOdhiMAJ1",rawHtmlDisplay:"s2P-f2c3l2Irco5Ru0S5J",link:"_1eRb8-B7kEgkwxWFSWuVUk",icon:"WCZvfrkaO-Zq7vsDKOAdS"}},"./src/reddit/components/InfoBanners/QuarantinedSubredditBanner/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./node_modules/react-redux/es/index.js"),r=o("./node_modules/reselect/lib/index.js"),i=o("./src/app/strings/index.ts"),d=o("./src/reddit/components/RawHTMLDisplay/index.tsx"),a=o("./src/reddit/constants/colors.ts"),c=o("./src/reddit/controls/InternalLink/index.tsx"),l=o("./src/reddit/icons/svgs/QuarantineWarning/index.tsx"),p=o("./src/reddit/selectors/subreddit.ts"),m=o("./src/reddit/selectors/user.ts"),u=o("./src/reddit/components/InfoBanners/BannerBase/index.tsx"),b=o("./src/reddit/components/InfoBanners/QuarantinedSubredditBanner/index.m.less"),f=o.n(b),h=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const g=h(l.a,{className:f.a.icon}),v=Object(r.createStructuredSelector)({language:m.M,subreddit:p.v,subredditAboutInfo:p.s}),x=Object(s.connect)(v);t.a=x(e=>{const t=e.subreddit,o=e.subredditAboutInfo,n=e.language;if(!t||!t.isQuarantined)return null;const s=o&&o.quarantineMessageHtml,r=o&&o.quarantineMessage||Object(i.a)(n,"contentGate.quarantinedSubreddit.quarantineMsg");return h(u.a,{className:f.a.container,color:a.a.quarantine,icon:g,subtitle:h("span",{},void 0,Object(i.a)(n,"contentGate.quarantinedSubreddit.subtitle")," ",h("a",{className:f.a.link,href:"https://www.reddithelp.com/en/categories/reddit-101/rules-reporting/account-and-community-restrictions/quarantined-subreddits",target:"_blank"},void 0,Object(i.a)(n,"contentGate.quarantinedSubreddit.quarantined")),": ",s?h(d.a,{className:f.a.rawHtmlDisplay,html:s}):r," ",h(c.a,{className:f.a.link,to:"/"},void 0,Object(i.a)(n,"contentGate.quarantinedSubreddit.clickToGoHome"))),title:Object(i.a)(n,"contentGate.quarantinedSubreddit.bannerTitle")})})},"./src/reddit/components/LargePost/index.m.less":function(e,t,o){e.exports={backgroundWrapper:"_11R7M_VOgKO1RJyRSRErT3",flatListContainer:"_1ixsU4oQRnNfZ91jhBU74y",noProposal:"_3KYCJ3N4w1YmvpFMo_3zcn",postMediaWrapper:"STit0dLageRsa2yR4te_b",postTitle:"_3wiKjmhpIpoTE2r5KCm2o6",proposal:"_2dkCPUHQTdBWU2B0dYnkRb",hasNotVoted:"_3COAjvFMb0tRTTAI3nxufG"}},"./src/reddit/components/LargePost/index.tsx":function(e,t,o){"use strict";var n=o("./node_modules/react/index.js"),s=o.n(n),r=o("./node_modules/react-redux/es/index.js"),i=o("./node_modules/reselect/lib/index.js"),d=o("./bundled-modules/styled-components/styled-components.min.js"),a=o.n(d),c=o("./src/config.ts"),l=o("./src/reddit/constants/screenWidths.ts"),p=o("./src/reddit/helpers/hasModFlairPermissions/index.ts"),m=o("./src/reddit/helpers/hasModPostPermissions/index.ts"),u=o("./src/reddit/helpers/showReportIndicator/index.ts"),b=o("./src/reddit/helpers/styles/mixins/index.tsx"),f=o("./src/app/actions/tooltip.ts"),h=o("./src/reddit/actions/post.ts"),g=o("./src/reddit/models/Media/index.ts"),v=o("./src/reddit/models/Poll/index.ts"),x=o("./src/reddit/models/Vote/index.ts"),y=o("./src/reddit/selectors/activeModalId.ts"),O=o("./src/reddit/selectors/experiments/subscribeText.ts"),C=o("./src/reddit/selectors/moderatorPermissions.ts"),w=o("./src/reddit/selectors/monthsToMinutes.ts"),j=o("./src/reddit/selectors/posts.ts"),S=o("./src/reddit/selectors/user.ts"),I=o("./src/lib/classNames/index.ts"),P=o("./src/reddit/components/AdLinkWrapper/index.tsx"),k=o("./src/reddit/components/CallToActionButton/index.tsx"),T=o("./src/reddit/components/CompactPost/HorizontalVotes.tsx"),N=o("./src/reddit/components/Flatlist/index.tsx"),_=o("./src/reddit/components/Governance/Proposal/index.tsx"),L=o("./src/reddit/components/Governance/Proposal/NoProposalError/index.tsx"),M=o("./src/reddit/components/JSAPIContainers/index.tsx"),E=o("./src/reddit/components/ModModeReports/index.tsx"),A=o("./src/reddit/components/ModModeReports/helpers.ts"),F=o("./src/higherOrderComponents/addOverlayEvents.tsx"),R=o("./src/higherOrderComponents/asTooltip.tsx"),B=o("./src/reddit/models/MonthsToMinutes/index.ts"),D=o("./src/reddit/components/MonthsToMinutesTooltip/index.tsx"),$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};const U=Object(R.a)(a()(D.a).withConfig({componentId:"s1yf5o0c-0"})(["margin-left: 8px;margin-top: 0;&:before {left: 0%;top: 11px;}"]),[F.a.Click,F.a.Keydown,F.a.Resize]);var W=e=>s.a.createElement(U,$({targetPosition:["right","top"],tooltipPosition:["left","top"],tooltipType:B.j.Vote},e)),H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};const V=Object(R.a)(a()(D.a).withConfig({componentId:"s1itkp8f-0"})(["margin-left: 8px;margin-top: 0;&:before {left: 0%;top: 11px;}"]),[F.a.Click,F.a.Keydown,F.a.Resize]);var z=e=>s.a.createElement(V,H({targetPosition:["right","top"],tooltipPosition:["left","top"],tooltipType:B.j.VoteReminder},e)),K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};const q=Object(R.a)(a()(D.a).withConfig({componentId:"s1dt2fx5-0"})(["margin-left: 8px;margin-top: 0;&:before {left: 0%;top: 11px;}"]),[F.a.Click,F.a.Keydown,F.a.Resize]);var G,J=e=>s.a.createElement(q,K({targetPosition:["right","top"],tooltipPosition:["left","top"],tooltipType:B.j.VoteSuccess},e)),Q=(G="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,n){var s=e&&e.defaultProps,r=arguments.length-3;if(t||0===r||(t={}),t&&s)for(var i in s)void 0===t[i]&&(t[i]=s[i]);else t||(t=s||{});if(1===r)t.children=n;else if(r>1){for(var d=Array(r),a=0;a<r;a++)d[a]=arguments[a+3];t.children=d}return{$$typeof:G,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const Z=Object(i.createStructuredSelector)({voteReminderTooltipId:w.E,voteSuccessTooltipId:w.F,voteTooltipId:w.G});var Y=Object(r.connect)(Z)(e=>e.postId?Q(s.a.Fragment,{},void 0,Q(W,{isOpen:e.voteTooltipId===e.postId,tooltipId:e.tooltipId}),Q(z,{isOpen:e.voteReminderTooltipId===e.postId,tooltipId:e.tooltipId}),Q(J,{isOpen:e.voteSuccessTooltipId===e.postId,tooltipId:e.tooltipId})):null),X=o("./src/reddit/components/PostBackgroundWrapper/index.tsx"),ee=o("./src/reddit/components/PostContainer/index.tsx"),te=o("./src/reddit/components/PostLeftRail/index.tsx"),oe=o("./src/reddit/components/PostMedia/index.tsx"),ne=o("./src/reddit/components/PostOverflowMenu/index.tsx"),se=o("./src/reddit/components/PostTitle/index.tsx"),re=o("./src/reddit/components/PostTopLine/index.tsx"),ie=o("./src/reddit/components/SourceLink/index.tsx"),de=o("./src/reddit/components/VerticalVotes/index.tsx"),ae=o("./src/reddit/contexts/InsideOverlay.tsx"),ce=o("./src/reddit/contexts/PageLayer/index.tsx"),le=o("./src/reddit/controls/Checkbox/index.tsx"),pe=o("./src/reddit/controls/OutboundLink/styled.tsx"),me=o("./src/reddit/helpers/styles/mixins/responsive.ts"),ue=o("./src/reddit/helpers/styles/postBackgroundColor.ts"),be=o("./src/reddit/helpers/styles/smartTextColor.ts"),fe=o("./src/reddit/components/LargePost/index.m.less"),he=o.n(fe);o.d(t,"b",function(){return Oe});var ge=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const ve=a()(P.a).withConfig({componentId:"s1d8yj03-0"})(["height: 43px;"]),xe=a()(T.a).withConfig({componentId:"s1d8yj03-1"})(["max-height: 24px;",""],me.a),ye=Object(r.connect)(()=>Object(i.createStructuredSelector)({autoplayPref:S.b,activeModalId:y.a,currentUser:S.j,hideNSFWPref:S.x,flairStyleTemplate:ce.S,isFrontpageHome:w.j,language:S.M,inlineSubscribeIsEnabled:O.a,isActive:j.f,moderatorPermissions:C.f,modModeEnabled:ce.Q,poll:(e,t)=>{const o=e.posts.metaMap[t.postId];return o?e.polls.models[o]:null},pollResult:(e,t)=>{const o=e.posts.metaMap[t.postId];return o?e.polls.results.byVoters[o]:null},post:j.D,subredditOrProfile:j.O,userIsOp:S.db}),(e,{postId:t})=>({handleVote:o=>{const n=o===x.a.upvoted?Object(h.J)(t):Object(h.n)(t);e(n)},onIgnoreReports:()=>e(Object(h.H)(t)),onOpenReportsDropdown:t=>e(Object(f.e)({tooltipId:t}))})),Oe=(e,t,o=!1,n=!1,s=(()=>{}),r)=>{const i=`upvote-button-${e.id}`;return ge(te.b,{isRemoved:!!e.bannedBy,isReported:Object(u.a)(e),isSponsored:e.isSponsored},void 0,o&&ge(le.a,{isCheckboxSelected:n,toggleCheckbox:s}),ge(de.a,{flairStyleTemplate:r,model:e,onVoteClick:t,upvoteTooltipId:i}),ge(Y,{postId:e.id,tooltipId:i}))};t.a=ye(a()(Object(ae.b)(e=>{const t=e.autoplayPref,o=e.availableWidth,n=e.className,s=e.currentUser,r=e.eventFactory,i=e.flairStyleTemplate,d=e.forceLoadMedia,a=e.hideNSFWPref,l=e.inlineSubscribeIsEnabled;var u=e.inSubredditOrProfile;const b=void 0!==u&&u,f=e.isFrontpage,h=e.isFrontpageHome,x=e.isOriginalPage,y=e.isOverlay,O=e.language,C=e.moderatorPermissions,w=e.modModeEnabled,j=e.onClickPost,S=e.onIgnoreReports,P=e.onOpenReportsDropdown,T=e.poll,F=e.pollResult,R=e.post,B=e.scrollerItemRef,D=e.subredditOrProfile,$=e.userIsOp,U=Object(m.a)(C),W=w&&U,H=Object(p.a)(C),V=Object(A.c)(R),z=!!R.media&&R.media.type===g.m.RTJSON,K="subreddit"===R.belongsTo.type,q=$&&z,G=$&&!!K,J=o?o-te.a:void 0,Q=!!F&&!!Object.keys(F.options).filter(e=>F.options[e].userSelected).length,Z=l&&!(f&&h);return ge(ee.a,{className:n,post:R,onClick:j,eventFactory:r},void 0,Oe(R,e.handleVote,e.showBulkActionCheckbox,e.isCheckboxSelected,e.toggleCheckbox,i),ge(X.b,{className:he.a.backgroundWrapper,flairStyleTemplate:i},void 0,ge(re.a,{hideNSFWPref:a,inSubredditOrProfile:b,isOverlay:!!y,language:O,post:R,shouldShowSubscribeButton:Z,showOCCategories:x,showSubreddit:!b&&!R.isSponsored,subredditOrProfile:D}),ge(se.c,{className:he.a.postTitle,post:R,size:se.b.Large,titleColor:i&&i.postTitleColor,isOverlay:y}),R.source&&!R.isSponsored&&ge(ie.a,{post:R}),ge("div",{className:Object(I.a)(he.a.postMediaWrapper,{[he.a.votedContent]:Q})},void 0,ge(oe.a,{isListing:!0,isNotCardView:!!y,showCentered:!0,flairStyleTemplate:i,post:R,availableWidth:J,shouldLoad:d,scrollerItemRef:B,autoplayPref:t})),T&&ge(_.a,{className:Object(I.a)(he.a.proposal,{[he.a.hasNotVoted]:!F||!Object(v.e)(T,F)}),pollId:T.id,subredditId:R.belongsTo.id}),R.isMeta&&!T&&ge(L.a,{className:he.a.noProposal}),R.source&&R.source.url&&R.isSponsored&&ge(ve,{},void 0,ge(pe.a,{href:R.source.url.replace(c.a.redditUrl,""),isSponsored:R.isSponsored,source:R.source},void 0,R.source.displayText),R.callToAction&&ge(k.a,{href:R.source.url.replace(c.a.redditUrl,""),isSponsored:R.isSponsored,source:R.source},void 0,R.callToAction)),w&&U&&V&&ge(E.a,{language:O,onIgnoreReports:S,reportable:R}),ge(M.d,{postId:R.id}),ge("div",{className:he.a.flatListContainer},void 0,ge(xe,{compact:!1,flairStyleTemplate:i,model:R,onVoteClick:e.handleVote}),ge(N.c,{currentUser:s,hasModFlairPerms:H,hasModPostPerms:U,isOverlay:!!y,language:O,modModeEnabled:w,onIgnoreReports:S,onOpenReportsDropdown:P,post:R,showEditPost:q,showEditFlair:G,useFlatlistBreakpoints:Object(ne.h)({editPost:!W,save:!W,hide:!1,report:!1})}))))})).withConfig({componentId:"s1d8yj03-2"})(["","","","","","",";@media (min-width: ","px) {padding-left: 40px;border-radius: 4px;}cursor: pointer;."," {color: ",";}"],N.d,b.m,b.n,X.a,_.b,e=>Object(b.j)(e.flairStyleTemplate),l.i,he.a.proposalMetaData,e=>Object(be.a)(Object(ue.a)(e))))},"./src/reddit/components/LinkOrOverlayLink/index.tsx":function(e,t,o){"use strict";var n=o("./node_modules/react/index.js"),s=o.n(n),r=o("./node_modules/react-router-dom/es/index.js"),i=o("./src/reddit/controls/OverlayLink/index.tsx"),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},a=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};t.a=(e=>{const t=e.isOverlay,o=a(e,["isOverlay"]),n=t?i.a:r.a;return s.a.createElement(n,d({},o,{children:o.children,className:o.className,onClick:o.onClick,to:o.to}))})},"./src/reddit/components/ListingPostList/index.tsx":function(e,t,o){"use strict";var n=o("./src/reddit/components/PostList/index.tsx"),s=o("./src/reddit/connectors/PostList/index.ts");t.a=Object(s.a)(n.a)},"./src/reddit/components/MediumPost/index.m.less":function(e,t,o){e.exports={leftPadding:"i7Fs9tR9IvW9lWlOG_yrY"}},"./src/reddit/components/MediumPost/index.tsx":function(e,t,o){"use strict";o.d(t,"a",function(){return oe});o("./node_modules/react/index.js");var n,s=o("./node_modules/react-redux/es/index.js"),r=o("./node_modules/reselect/lib/index.js"),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o.n(i),a=o("./src/config.ts"),c=o("./src/app/actions/tooltip.ts"),l=o("./src/reddit/actions/post.ts"),p=o("./src/reddit/components/AdLinkWrapper/index.tsx"),m=o("./src/reddit/components/CallToActionButton/index.tsx"),u=o("./src/reddit/components/CompactPost/HorizontalVotes.tsx"),b=o("./src/reddit/components/FlairWrapper/index.tsx"),f=o("./src/reddit/components/Flatlist/index.tsx"),h=o("./src/reddit/components/JSAPIContainers/index.tsx"),g=o("./src/reddit/components/LargePost/index.tsx"),v=o("./src/reddit/components/ModModeReports/index.tsx"),x=o("./src/reddit/components/ModModeReports/helpers.ts"),y=o("./src/reddit/components/PostBackgroundWrapper/index.tsx"),O=o("./src/reddit/components/PostContainer/index.tsx"),C=o("./src/reddit/components/PostOverflowMenu/index.tsx"),w=o("./src/reddit/components/PostTitle/index.tsx"),j=o("./src/reddit/components/PostTopLine/index.tsx"),S=o("./src/reddit/components/PostTopMeta/index.tsx"),I=o("./src/reddit/components/SubscribeButton/Inline.tsx"),P=o("./src/reddit/components/Thumbnail/index.tsx"),k=o("./src/reddit/constants/screenWidths.ts"),T=o("./src/reddit/contexts/InsideOverlay.tsx"),N=o("./src/reddit/contexts/PageLayer/index.tsx"),_=o("./src/reddit/controls/OutboundLink/styled.tsx"),L=o("./src/reddit/helpers/canRenderThumbnail.ts"),M=o("./src/reddit/helpers/hasModFlairPermissions/index.ts"),E=o("./src/reddit/helpers/hasModPostPermissions/index.ts"),A=o("./src/reddit/helpers/styles/components/index.tsx"),F=o("./src/reddit/helpers/styles/mixins/index.tsx"),R=o("./src/reddit/helpers/trackers/post.ts"),B=o("./src/reddit/models/Vote/index.ts"),D=o("./src/reddit/selectors/experiments/categories.ts"),$=o("./src/reddit/selectors/experiments/subscribeText.ts"),U=o("./src/reddit/selectors/moderatorPermissions.ts"),W=o("./src/reddit/selectors/monthsToMinutes.ts"),H=o("./src/reddit/selectors/posts.ts"),V=o("./src/reddit/selectors/user.ts"),z=o("./src/reddit/components/SourceLink/index.tsx"),K=o("./src/reddit/helpers/styles/mixins/responsive.ts"),q=o("./src/reddit/components/MediumPost/index.m.less"),G=o.n(q),J=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const Q=d.a.article.withConfig({componentId:"s1wxl6fq-0"})(["display: flex;flex-direction: row;padding-bottom: 8px;"]),Z=d()(v.a).withConfig({componentId:"s1wxl6fq-1"})(["margin-top: 10px;"]),Y=d.a.div.withConfig({componentId:"s1wxl6fq-2"})(["display: flex;flex: 1 1 100%;flex-direction: column;padding-bottom: ","px;position: relative;word-break: break-word;"],22),X=d()(w.c).withConfig({componentId:"s1wxl6fq-3"})(["margin: 0 8px;"]),ee=d()(I.a).withConfig({componentId:"s1wxl6fq-4"})(["float: right;margin-bottom: 8px;"]),te=d()(Object(A.a)()).withConfig({componentId:"s1wxl6fq-5"})(["","align-items: flex-end;border-radius: 2px;display: flex;flex-direction: column;padding: 0px 8px;"],e=>Object(F.x)(e.shouldShowSubscribeButton?140:108,144)),oe=({crosspost:e,post:t,forceShowNSFW:o,shouldShowSubscribeButton:n,subredditOrProfile:s,templatePlaceholderImage:r})=>J(te,{shouldShowSubscribeButton:!!n},void 0,n&&s&&J(ee,{getEventFactory:e=>Object(R.d)(t.id,e?"unsubscribe":"subscribe"),identifier:{name:s.name,type:"subreddit"},postId:t.id}),J(P.d,{crosspost:e,post:t,forceShowNSFW:o,templatePlaceholderImage:r})),ne=d()(u.a).withConfig({componentId:"s1wxl6fq-6"})(["max-height: 24px;",""],K.a),se=d.a.div.withConfig({componentId:"s1wxl6fq-7"})(["align-items: center;display: flex;flex-direction: row;"]),re=d()(y.b).withConfig({componentId:"s1wxl6fq-8"})(["padding-top: 8px;"]),ie=Object(s.connect)(()=>Object(r.createStructuredSelector)({crosspost:H.c,currentUser:V.j,flairStyleTemplate:N.S,hideNSFWPref:V.x,inlineSubscribeIsEnabled:$.a,isActive:H.f,isFrontpageHome:W.j,language:V.M,moderatorPermissions:U.f,modModeEnabled:N.Q,post:H.D,showMedia:N.u,isInCategoriesExperiment:D.a,subredditOrProfile:H.O,userIsOp:V.db}),(e,{postId:t})=>({handleVote:o=>o===B.a.upvoted?e(Object(l.J)(t)):e(Object(l.n)(t)),onIgnoreReports:()=>e(Object(l.H)(t)),onOpenReportsDropdown:t=>e(Object(c.e)({tooltipId:t}))}));t.b=ie(d()(Object(T.b)(e=>{const t=e.className,o=e.crosspost,n=e.currentUser,s=e.eventFactory,r=e.flairStyleTemplate,i=e.hideNSFWPref,d=e.inlineSubscribeIsEnabled;var c=e.inSubredditOrProfile;const l=void 0!==c&&c,u=e.isCheckboxSelected,v=e.isCommentsPage,y=e.isFrontpage,I=e.isFrontpageHome,P=e.isOriginalPage,k=e.isOverlay,T=e.language,N=e.moderatorPermissions,A=e.modModeEnabled,F=e.onClickPost,R=e.onIgnoreReports,B=e.onOpenReportsDropdown,D=e.post,$=e.showBulkActionCheckbox,U=e.showMedia,W=e.sendEvent,H=e.subredditOrProfile,V=e.toggleCheckbox,K=e.userIsOp,q=Object(E.a)(N),ee=A&&q,te=Object(M.a)(N),ie="subreddit"===D.belongsTo.type,de=K&&!!ie,ae=Object(x.c)(D),ce=Object(L.a)(D),le=l&&!U,pe=le&&!!D.source&&!o,me=d&&!(y&&I);return J(O.a,{className:t,post:D,onClick:F,eventFactory:s},void 0,Object(g.b)(D,e.handleVote,$,u,V,r),J(re,{flairStyleTemplate:r},void 0,J(Q,{},void 0,J(Y,{"data-click-id":"body"},void 0,J(j.a,{hideNSFWPref:i,inSubredditOrProfile:l,isOverlay:!!k,language:T,post:D,shouldShowSubscribeButton:!1,showCornerOutboundLink:pe,showOCCategories:P,showSubreddit:!l&&!D.isSponsored,subredditOrProfile:H}),J(X,{post:D,size:w.b.Large,titleColor:r&&r.postTitleColor,isOverlay:k}),v&&(D.flair&&D.flair.length>0||e.isInCategoriesExperiment)&&J(b.a,{className:v?G.a.leftPadding:null,disableFlair:!v,post:D,sendEvent:W,showCategoryTag:e.isInCategoriesExperiment&&v}),D.source&&!D.isSponsored&&!o&&J(z.a,{post:D,isCommentsPage:v})),!le&&ce&&J(oe,{crosspost:o?D:void 0,post:o||D,shouldShowSubscribeButton:me&&!l,subredditOrProfile:H,templatePlaceholderImage:r&&r.postPlaceholderImage})),D.source&&D.source.url&&D.isSponsored&&J(p.a,{},void 0,J(_.a,{href:D.source.url.replace(a.a.redditUrl,""),isSponsored:D.isSponsored,source:D.source},void 0,D.source.displayText),D.callToAction&&J(m.a,{href:D.source.url.replace(a.a.redditUrl,""),isSponsored:D.isSponsored,source:D.source,isNotCardView:!0},void 0,D.callToAction)),A&&q&&ae&&J(Z,{language:T,onIgnoreReports:R,reportable:D}),J(h.d,{postId:D.id}),J(se,{},void 0,J(ne,{compact:!1,flairStyleTemplate:r,model:D,onVoteClick:e.handleVote}),J(f.c,{currentUser:n,hasModFlairPerms:te,hasModPostPerms:q,isOverlay:!!k,language:T,modModeEnabled:A,onIgnoreReports:R,onOpenReportsDropdown:B,post:D,showEditFlair:de,tooltipType:k?S.c.Lightbox:void 0,useFlatlistBreakpoints:Object(C.h)({editPost:!ee,save:!ee,hide:!1,report:!1})}))))})).withConfig({componentId:"s1wxl6fq-9"})(["","","","","","",";@media (min-width: ","px) {padding-left: 40px;border-radius: 4px;}"],P.e,F.n,F.m,y.a,f.d,e=>Object(F.j)(e.flairStyleTemplate),k.i))},"./src/reddit/components/MiniCardPost/Flatlist/index.m.less":function(e,t,o){e.exports={flatlistContainer:"_3TV1zxvLEbF8phHfZ17hyU",shareIcon:"_2-No1ECt3Twm8oRh3GhL5T",shareMenu:"_1Y9kO8WxKheHpQbgAgYk9P",shareText:"_3ZNfZZMmSFZUWWm-nHK327"}},"./src/reddit/components/MiniCardPost/Flatlist/index.tsx":function(e,t,o){"use strict";o.d(t,"b",function(){return F});o("./node_modules/react/index.js");var n,s=o("./node_modules/react-redux/es/index.js"),r=o("./node_modules/reselect/lib/index.js"),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o.n(i),a=o("./src/app/strings/index.ts"),c=o("./src/lib/classNames/index.ts"),l=o("./src/reddit/components/CommentsLink/index.tsx"),p=o("./src/reddit/components/CompactPost/HorizontalVotes.tsx"),m=o("./src/reddit/components/Flatlist/index.tsx"),u=o("./src/reddit/components/ModActionsMenu/index.tsx"),b=o("./src/reddit/components/PostModModeDropdown/index.tsx"),f=o("./src/reddit/components/PostOverflowMenu/index.tsx"),h=o("./src/reddit/components/ShareMenu/index.tsx"),g=o("./src/reddit/components/TrackingHelper/index.tsx"),v=o("./src/reddit/constants/postLayout.ts"),x=o("./src/reddit/contexts/PageLayer/index.tsx"),y=o("./src/reddit/helpers/styles/mixins/index.tsx"),O=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),C=o("./src/reddit/helpers/trackers/post.ts"),w=o("./src/reddit/icons/fonts/Share/index.tsx"),j=o("./src/reddit/models/User/index.ts"),S=o("./src/reddit/controls/Score/index.m.less"),I=o.n(S),P=o("./src/reddit/components/MiniCardPost/Flatlist/index.m.less"),k=o.n(P),T=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const N="-MiniCardModMenu",_="-MiniCardOverflowMenu",L="-MiniCardShareMenu",M=d()(p.a).withConfig({componentId:"s1ns7vej-0"})(["max-height: 24px;margin-right: 5px;."," {width: auto;}"],I.a.score),E=`\n .${k.a.flatlistContainer} {\n ${O.actionFont}\n }\n`,A=d.a.button.withConfig({componentId:"s1ns7vej-1"})(["","padding: 4px;text-transform: capitalize;"],y.p),F=Object(i.css)(["","","",""],l.a,E,m.h),R=Object(x.w)({currentProfileName:x.j,isCommentPermalink:x.y,isCommentsPage:x.z,isProfilePostListing:x.M,pageLayer:e=>e}),B=Object(r.createStructuredSelector)({layout:x.O,subreddit:x.t}),D=Object(s.connect)(B,{});t.a=R(D(Object(g.b)(e=>{const t=e.currentProfileName,o=e.className,n=e.currentUser,s=e.handleVote,r=e.hasModFlairPerms,i=e.hasModPostPerms,d=e.isCommentsPage,p=e.isCommentPermalink,g=e.isOverlay,x=e.isProfilePostListing,y=e.isSticky,O=e.language,S=e.layout,I=e.modModeEnabled,P=e.onCommentsClick,E=e.post,F=e.sendEvent,R=e.showEditFlair,B=e.showEditPost,D=e.subreddit,$=e=>F(Object(C.d)(E.id,e)),U=E.postId,W=Object(m.f)(N,E.id,g,y),H=!!n&&Object(j.f)(n)===E.author;return T("div",{className:Object(c.a)(k.a.flatlistContainer,o)},void 0,T(M,{compact:!1,model:E,onVoteClick:s}),T(l.b,{hasModPostPerms:i,isCommentsPage:d,isCommentPermalink:p,isOverlay:g,postId:E.id,modModeEnabled:I,numComments:E.numComments,type:v.f.Compact,onClick:P}),T(h.a,{className:k.a.shareMenu,dropdownId:Object(m.f)(L,E.id,g,y),isOverlay:!!g,permalink:E.permalink,post:E,sendEventWithName:$,subreddit:D},void 0,T(A,{},void 0,T(w.a,{className:k.a.shareIcon}),T("span",{className:k.a.shareText},void 0,Object(a.a)(O,"posts.share")))),i&&T(u.a,{dropdownId:W,onClick:()=>$("post_mod_action_menu")},void 0,T(m.b,{className:k.a.modActionsIcon}),T(b.a,{hasModFlairPerms:r,hasModPostPerms:i,isOverlay:!!g,isPostAuthor:H,language:O,modModeEnabled:I,post:E,tooltipId:W})),T(f.g,{currentProfileName:t,isCommentsPage:d,isOverlay:!!g,isProfilePostListing:x,layout:S,pageLayer:e.pageLayer,permalink:E.permalink,postId:U,dropdownId:Object(m.f)(_,E.id,g,y),isFixed:y,sendEvent:F,showEditPost:!!B,showEditFlair:!!R,useFlatlistBreakpoints:Object(f.h)({editPost:!1,save:!1,hide:!1,report:!1})}))})))},"./src/reddit/components/MiniCardPost/MetaLine/index.m.less":function(e,t,o){e.exports={container:"_35Bx3s8VlFspHwPlg1MaHt",subredditIcon:"_32Ni_aGBoPzRxNSy5eC_ck"}},"./src/reddit/components/MiniCardPost/MetaLine/index.tsx":function(e,t,o){"use strict";o.d(t,"b",function(){return y});o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s),i=o("./src/app/strings/index.ts"),d=o("./src/config.ts"),a=o("./src/lib/classNames/index.ts"),c=o("./src/reddit/components/QuarantinedLabel/index.tsx"),l=o("./src/reddit/components/SubredditIcon/index.tsx"),p=o("./src/reddit/components/SubredditNameLink/index.tsx"),m=o("./src/reddit/helpers/getSubredditOrProfileIconData/index.tsx"),u=o("./src/reddit/helpers/name/index.ts"),b=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),f=o("./src/reddit/icons/fonts/Crosspost/index.tsx"),h=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),g=o("./src/reddit/components/MiniCardPost/MetaLine/index.m.less"),v=o.n(g),x=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const y=Object(s.css)(["."," {",""," {","color: ",";}}"],v.a.container,b.metadataFont,p.a,b.metadataFont,e=>Object(h.c)(e).metaText),O=r()(f.a).withConfig({componentId:"s1pt5i0s-0"})(["color: ",";font-size: 10px;margin: 0 4px;"],e=>Object(h.c)(e).active);t.a=(e=>{const t=e.className,o=e.crosspostSubredditOrProfile,n=e.hideNSFWPref,s=e.language,r=e.post,b=e.subredditOrProfile,f=Object(m.a)({subredditOrProfile:b}),h=b&&b.isNSFW&&n&&"user"===b.type?`${d.a.assetPath}/img/avatar_over18.png`:f.url;return x("div",{className:Object(a.a)(v.a.container,t)},void 0,x(p.a,{to:b.url,onMouseDown:e.onCommunityClick},void 0,x(l.b,{className:v.a.subredditIcon,primaryColor:f.color,iconUrl:h}),x("span",{},void 0,b.displayText)),((e,t,o)=>{if(o)return x("div",{role:"img","aria-label":Object(i.a)(e,"posts.crosspostedByFrom",{by:Object(u.c)(t),from:o.displayText})},void 0,x(O,{}))})(s,r.author,o),b&&b.isQuarantined&&x(c.a,{}))})},"./src/reddit/components/MiniCardPost/Placeholder/index.m.less":function(e,t,o){e.exports={container:"qxO-jkRl1-0EUFMSW12Wx",thumbnail:"_10app6y4qukOnb1vd3WjaL",content:"Dmp1nT-wBa1YnTs1m5Qh-",titleContainer:"_3zDhT2pkq9c_2I1Wc0TC7W",title:"_1baTc1hWul6JGRus85W_n9",subreddit:"_1QAmOEgKAW-xepM1iAQ1vt",subredditIcon:"_2kjKnQFVUV8rujMRQ0FJcM",subredditName:"_1gWkHloK0RuxI3PqEBqAlk",comments:"_3Se1TreUiuh_QYZKmggj-E",share:"_1auh4Ct-kA4za4GqRMTChm",ellipsis:"_3KZqW8v85dlRDNmHXcrU5X"}},"./src/reddit/components/MiniCardPost/Thumbnail/index.m.less":function(e,t,o){e.exports={container:"_1HoOlmppFDBC4s5XWY-Qcd",link:"_3vSJGY3bytdlY4DhANolyh"}},"./src/reddit/components/MiniCardPost/Thumbnail/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s),i=o("./src/lib/classNames/index.ts"),d=o("./src/reddit/components/Thumbnail/index.tsx"),a=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),c=o("./src/reddit/components/Thumbnail/index.m.less"),l=o.n(c),p=o("./src/reddit/components/MiniCardPost/Thumbnail/index.m.less"),m=o.n(p),u=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const b=r.a.div.withConfig({componentId:"nndyxl-0"})(["",";"],d.e),f="\n width: 208px;\n height: 158px;\n",h=Object(s.css)(["border: 1px solid ",";"," {."," {",";}."," {align-items: center;background-color: ",";border-radius: 0 0 4px 4px;display: flex;padding: 4px 0px;width: 100%;}"," {margin-left: 4px;max-width: 180px;}."," {font-size: 18px;}."," {","border-width: 0;}}&:hover {"," {."," {background-color: ",";}}}"],e=>Object(a.c)(e).line,b,l.a.container,f,l.a.linkIcon,e=>Object(a.c)(e).postFlairText,d.b,l.a.outboundLinkIcon,l.a.thumbnail,f,b,l.a.linkIcon,e=>Object(a.c)(e).button),g=r.a.div.withConfig({componentId:"nndyxl-1"})(["",";"],h);t.a=(e=>{const t=e.post.source;return u(g,{className:Object(i.a)(m.a.container,e.className)},void 0,u(b,{},void 0,u(d.d,{post:e.post,showContentType:e.showPlaceholderContentType,templatePlaceholderImage:e.templatePlaceholderImage,text:t?t.url:""})))})},"./src/reddit/components/MiniCardPost/index.m.less":function(e,t,o){e.exports={flexSpacer:"_3FMwep96W9D-wkC9u2Pc0L",backgroundWrapper:"_2yVioz8mzc0YBV2JyNXzRj",innerContainer:"_3mrITcnODXcvMf9oonBXeD",metaLine:"_20xUo-97VDWkydk8rn74dR",media:"_1qlC_L_v_Aher9NBsvBIMR",mediaWrapper:"_1UmG626eNsebZt_eyKdDL4",postTitleCompact:"_3wSK3_gZiuaUZtqPKu9z3M"}},"./src/reddit/components/MiniCardPost/index.tsx":function(e,t,o){"use strict";o.d(t,"b",function(){return D}),o.d(t,"d",function(){return $}),o.d(t,"a",function(){return U});o("./node_modules/react/index.js");var n,s=o("./node_modules/react-redux/es/index.js"),r=o("./node_modules/reselect/lib/index.js"),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o.n(i),a=o("./src/app/actions/tooltip.ts"),c=o("./src/lib/isUrl/index.ts"),l=o("./src/reddit/actions/post.ts"),p=o("./src/reddit/actions/postFlair.ts"),m=o("./src/reddit/components/JSAPIContainers/index.tsx"),u=o("./src/reddit/components/Media/index.tsx"),b=o("./src/reddit/components/PostBackgroundWrapper/index.tsx"),f=o("./src/reddit/components/PostContainer/index.tsx"),h=o("./src/reddit/components/PostFlairPicker/index.tsx"),g=o("./src/reddit/components/PostTitle/index.tsx"),v=o("./src/reddit/contexts/PageLayer/index.tsx"),x=o("./src/reddit/helpers/hasModFlairPermissions/index.ts"),y=o("./src/reddit/helpers/hasModPostPermissions/index.ts"),O=o("./src/reddit/helpers/styles/components/index.tsx"),C=o("./src/reddit/helpers/styles/mixins/index.tsx"),w=o("./src/reddit/models/Media/index.ts"),j=o("./src/reddit/models/Vote/index.ts"),S=o("./src/reddit/selectors/activeModalId.ts"),I=o("./src/reddit/selectors/moderatorPermissions.ts"),P=o("./src/reddit/selectors/posts.ts"),k=o("./src/reddit/selectors/user.ts"),T=o("./src/reddit/components/MiniCardPost/Flatlist/index.tsx"),N=o("./src/reddit/components/MiniCardPost/MetaLine/index.tsx"),_=o("./src/reddit/components/MiniCardPost/Thumbnail/index.tsx"),L=o("./src/reddit/components/Media/ImageBox/index.m.less"),M=o.n(L),E=o("./src/reddit/components/MiniCardPost/index.m.less"),A=o.n(E),F=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const R=Object(i.css)([".",",."," {height: 100%;}"],M.a.container,M.a.image),B=Object(v.w)(),D=Object(s.connect)(()=>Object(r.createStructuredSelector)({activeModalId:S.a,autoplayPref:k.b,crosspostRoot:P.c,crosspostSubredditOrProfile:P.d,currentUser:k.j,flairStyleTemplate:v.S,hideNSFWPref:k.x,isActive:P.f,language:k.M,moderatorPermissions:I.f,modModeEnabled:v.Q,post:P.D,subredditOrProfile:P.O,userIsOp:k.db}),(e,{postId:t})=>({dispatchFlairChanged:({post:t,previewFlair:o,selectedTemplateId:n})=>e(Object(p.h)({post:t,previewFlair:o,selectedTemplateId:n})),handleVote:o=>{const n=o===j.a.upvoted?Object(l.J)(t):Object(l.n)(t);e(n)},onIgnoreReports:()=>e(Object(l.H)(t)),onOpenReportsDropdown:t=>e(Object(a.e)({tooltipId:t}))}),(e,t,o)=>Object.assign({},o,e,t,{onFlairChanged:({previewFlair:o,selectedTemplateId:n})=>t.dispatchFlairChanged({post:e.post,previewFlair:o,selectedTemplateId:n})})),$=Object(O["d"])()`
${C.n}
${C.m}
${b.a}
${T.b}
${N.b}
${R}
${e=>Object(C.j)(e.flairStyleTemplate)};
border-radius: 4px;
cursor: pointer;
display: flex;
flex: 1;
`,U=d()(e=>{const t=e.autoplayPref,o=e.availableWidth,n=e.className,s=e.crosspostRoot,r=e.crosspostSubredditOrProfile,i=e.currentUser,d=e.eventFactory,a=e.flairStyleTemplate,l=e.forceLoadMedia,p=e.hideNSFWPref,v=e.language,O=e.moderatorPermissions,C=e.modModeEnabled,j=e.onClickPost,S=e.post,I=e.scrollerItemRef,P=e.shouldPause;var k=e.showMetaLine;const L=void 0===k||k,M=e.subredditOrProfile,E=e.userIsOp;const R=(s||S).media,B=R&&R.type,D=Object(h.b)(S.id),$=B===w.m.RTJSON,U="subreddit"===S.belongsTo.type,W=E&&$,H=E&&!!U,V=Object(y.a)(O),z=Object(x.a)(O),K=R&&B!==w.m.RTJSON&&B!==w.m.TEXT,q=!R&&!!S.source&&Object(c.a)(S.source.url),G=R&&F(u.a,{autoplayPref:t,availableWidth:o,className:A.a.media,forceAspectRatio:w.c,isListing:!0,isMiniCard:!0,isNotCardView:!0,post:s||S,scrollerItemRef:I,shouldPause:P,shouldLoad:l,showCentered:!0,showFull:!1});return F(f.a,{className:n,post:S,onClick:j,eventFactory:d},void 0,F(b.b,{className:A.a.backgroundWrapper,flairStyleTemplate:a},void 0,K&&G,F("div",{className:A.a.innerContainer},void 0,q&&F(_.a,{post:S,templatePlaceholderImage:a?a.postPlaceholderImage:void 0}),F(g.c,{className:A.a.postTitleCompact,disableFlair:!0,hideSourceLink:!0,post:S,size:g.b.Large,titleColor:a&&a.postTitleColor}),L&&M&&F(N.a,{className:A.a.metaLine,crosspostSubredditOrProfile:r,hideNSFWPref:p,language:v,post:S,subredditOrProfile:M}),!K&&F("div",{className:A.a.mediaWrapper},void 0,G),F("div",{className:A.a.flexSpacer}),F(T.a,{currentUser:i,handleVote:e.handleVote,hasModFlairPerms:z,hasModPostPerms:V,language:v,modModeEnabled:C,post:S,showEditFlair:H,showEditPost:W}))),e.activeModalId===D&&F(h.a,{flairs:S.flair,subredditId:S.belongsTo.id,language:v,modalId:D,onFlairChanged:e.onFlairChanged}),F(m.d,{postId:S.id}))}).withConfig({componentId:"s1ml9eop-0"})(["",";"],$);t.c=B(D(U))},"./src/reddit/components/MiniPost/index.tsx":function(e,t,o){"use strict";o.d(t,"a",function(){return j});var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./node_modules/reselect/lib/index.js"),a=o("./bundled-modules/styled-components/styled-components.min.js"),c=o.n(a),l=o("./src/app/strings/index.ts"),p=o("./src/lib/prettyPrintNumber/index.ts"),m=o("./src/lib/timeAgo/index.ts"),u=o("./src/reddit/components/SubredditNameLink/index.tsx"),b=o("./src/reddit/components/Thumbnail/index.tsx"),f=o("./src/reddit/helpers/overlay/index.ts"),h=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),g=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),v=o("./src/reddit/selectors/news.ts"),x=o("./src/reddit/selectors/posts.ts"),y=o("./src/reddit/selectors/subreddit.ts"),O=o("./src/reddit/selectors/user.ts"),C=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const w=c.a.p.withConfig({componentId:"s1weoanc-0"})(["","color: ",";margin-bottom: 4px;max-height: 36px;overflow: hidden;text-overflow: ellipsis;"],h.titleFontH5,e=>Object(g.c)(e).bodyText),j=Object(a.css)(["cursor: pointer;display: flex;padding-top: 12px;&:not(:last-child) {border-bottom: 2px solid ",";padding-bottom: 12px;}&:hover "," {text-decoration: underline;}"],e=>Object(g.c)(e).field,w),S=c.a.div.withConfig({componentId:"s1weoanc-1"})(["",";"],j),I=c.a.div.withConfig({componentId:"s1weoanc-2"})(["","border-radius: 4px;display: inline-block;flex: 0 0 65px;height: 49px;margin-right: 7px;width: 65px;"],b.e),P=c.a.div.withConfig({componentId:"s1weoanc-3"})(["display: flex;flex: 1;flex-direction: column;justify-content: center;overflow: hidden;"]),k=c.a.span.withConfig({componentId:"s1weoanc-4"})(["","color: ",";white-space: nowrap;& ~ &:before {content: '·';font-weight: bold;margin: 0 3px;}"],h.metadataFont,e=>Object(g.c)(e).actionIcon),T=Object(d.createSelector)(e=>e,x.D,x.c,v.q,O.M,(e,t,o,n,s)=>{return{crosspost:o,language:s,newsStory:n,post:t,subredditOrProfile:Object(y.C)(e,{identifier:t.belongsTo})}}),N=Object(i.connect)(T,(e,t)=>({openLightbox:t=>e(Object(f.a)(t.permalink))}));t.b=N(class extends r.a.PureComponent{constructor(){super(...arguments),this.onClickContainer=(()=>{var e=this.props;const t=e.openLightbox,o=e.post,n=e.containerOnClick;t(o),n&&n()}),this.onClickSubreddit=(e=>{const t=this.props.subredditOnClick;e.stopPropagation(),t&&t()}),this.onClickThumbnail=(e=>{const t=this.props.thumbnailOnClick;e.stopPropagation(),t&&t()})}render(){var e=this.props,t=e.allowNewsThumbnail;const o=void 0!==t&&t,n=e.className,s=e.newsStory,r=e.post;var i=e.showSubreddit;const d=void 0!==i&&i,a=e.subredditOrProfile;return C(S,{className:n,onClick:this.onClickContainer},void 0,C(I,{onClick:this.onClickThumbnail},void 0,C(b.d,{post:r,url:o&&s&&s.thumbnailUrl&&r&&r.thumbnail&&"default"===r.thumbnail.url?s.thumbnailUrl:""})),C(P,{},void 0,C(w,{title:r.title},void 0,r.title),d&&a&&a.displayText&&C(u.a,{to:a.url,onClick:this.onClickSubreddit},void 0,a.displayText),C("div",{},void 0,C(k,{},void 0,Object(l.d)(this.props.language,"posts.points.noun",r.score,{count:Object(p.b)(r.score)})),C(k,{},void 0,Object(l.d)(this.props.language,"posts.comments.noun",r.numComments,{count:Object(p.b)(r.numComments)})),C(k,{},void 0,Object(m.b)(this.props.language,r.created/1e3,!0,!0)))))}})},"./src/reddit/components/ModModeReports/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o.n(i),a=o("./src/higherOrderComponents/makeAsync.tsx"),c=o("./src/lib/loadWithRetries/index.ts"),l=o("./src/app/strings/index.ts"),p=o("./src/reddit/helpers/styles/components/index.tsx"),m=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),u=o("./src/reddit/helpers/styles/mixins/loading.ts"),b=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),f=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const h=d.a.div.withConfig({componentId:"bv6crb-0"})(["margin: 0 8px;"]),g=d()(Object(p.a)()).withConfig({componentId:"bv6crb-1"})(["","","align-items: center;background-color: ",";color: ",";display: flex;height: 32px;margin: 8px;width: calc(100% - 16px);"],m.flairFont,u.c,e=>Object(b.c)(e).line,e=>Object(b.c)(e).bodyText),v=Object(a.a)({ErrorComponent:({className:e})=>f(g,{className:e}),getComponent:()=>Object(c.a)(()=>o.e("ModerationDropdowns").then(o.bind(null,"./src/reddit/components/ModModeReports/_ModModeReports.tsx")).then(e=>e.default)),LoadingComponent:({className:e,language:t})=>f(g,{className:e},void 0,f(h,{},void 0,Object(l.a)(t,"modTools.loadingReports")))});t.a=(e=>r.a.createElement(v,e))},"./src/reddit/components/Poll/ClosedPoll/index.m.less":function(e,t,o){e.exports={metaData:"_3NpICHyFK-vnQ5_1ZcNtNn",option:"_1YnhQ_-VBuRiYmNRfa798"}},"./src/reddit/components/Poll/OpenPoll/index.m.less":function(e,t,o){e.exports={buttonContainer:"_3vyz17dpfnySBJJyBF9IqH",loggedOutTooltip:"_3YsZUGQHAWfxmTN8wbFYPd",controlRow:"_1YKCRAHpaqTk8N5LBvZ9_A",loadingIcon:"_2RQF5_CKHRDPDOJ-TwwXFy",metaData:"_28wp7DzoykykevfZW56u3_",option:"_3nN8pAR2tWvzxcstONuzMH",optionRadio:"_1d_v-dIPu8uuwF0UTaQNmF",optionText:"_3grr_S6IK0w2iyC7Ocv5u9",voteButton:"fmooe0ZUmdU_XdnKBjg6X"}},"./src/reddit/components/Poll/ResultOption/index.m.less":function(e,t,o){e.exports={bar:"_2mybT6Ih7gVf5B6COa9kd2","m-winning":"_1kOO45KEOZraWGZ-cUgKq-",mWinning:"_1kOO45KEOZraWGZ-cUgKq-",check:"_3CF-7jBH1KihljB9AqaU04",container:"_3uG88YeFdY0J8n4v07jkf9",count:"_1VDLlB8Ys3WO8XWSZfhomw",percent:"_1Ot3PH7267obvD1i_V2D00",hide:"_3G6ZB4S9YZ26E49tE8zLJQ",show:"iV9AWdqazd5c9IHXNEQXX",text:"_3PfYu2DtunAwYpv53tmvOb"}},"./src/reddit/components/Poll/index.m.less":function(e,t,o){e.exports={title:"_3xG1v2CUdyxRoHrB7dgiFw"}},"./src/reddit/components/PostContent/index.m.less":function(e,t,o){e.exports={content:"_3UMN4RCVY5288m_fOZlkcg",controlsContainer:"_1hwEKkB_38tIoal6fcdrt9",flatlistContainer:"UPYG6UwB7XqTeGj4a4vBr",mainBody:"_3MC4c3Q_Y41YKtl1TcvyMt",leftPadding:"_1mK-LVHGTTlcFpMsjItjYJ",noProposal:"_13LHQz0igp-olmn_mDhJ7B",postContainer:"_2rszc84L136gWQrkwH6IaM"}},"./src/reddit/components/PostContent/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./node_modules/react-router-dom/es/index.js"),a=o("./node_modules/reselect/lib/index.js"),c=o("./bundled-modules/styled-components/styled-components.min.js"),l=o.n(c),p=o("./src/lib/classNames/index.ts"),m=o("./src/reddit/helpers/canRenderThumbnail.ts"),u=o("./src/reddit/models/User/index.ts"),b=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],n=!0,s=!1,r=void 0;try{for(var i,d=e[Symbol.iterator]();!(n=(i=d.next()).done)&&(o.push(i.value),!t||o.length!==t);n=!0);}catch(a){s=!0,r=a}finally{try{!n&&d.return&&d.return()}finally{if(s)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=o("./src/reddit/helpers/hasModFlairPermissions/index.ts"),h=o("./src/reddit/helpers/hasModPostPermissions/index.ts"),g=o("./src/reddit/helpers/path/index.ts"),v=o("./src/reddit/helpers/styles/mixins/index.tsx"),x=o("./src/reddit/helpers/trackers/lightbox.ts"),y=o("./src/reddit/helpers/trackers/post.ts"),O=o("./src/app/actions/tooltip.ts"),C=o("./src/reddit/actions/post.ts"),w=o("./src/reddit/actions/postFlair.ts"),j=o("./node_modules/lodash/find.js"),S=o.n(j),I=o("./node_modules/react-motion/lib/react-motion.js"),P=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const k={stiffness:300,damping:5,precision:.005},T={},N=(e=[],t)=>{const o=S()(e,{key:"expando_content"}),n=o&&o.style?o.style.opacity:0;return t?n>=1?[{key:"expando_content",style:{opacity:1}}]:n>0?[{key:"expando_content",style:{opacity:Object(I.spring)(1,k)}}]:[{key:"expando_content",style:{opacity:.1}}]:n<.1?[]:[{key:"expando_content",style:{opacity:Object(I.spring)(0,k)}}]};var _=o("./src/reddit/models/Media/index.ts"),L=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),M=o("./src/reddit/models/Vote/index.ts"),E=o("./src/reddit/selectors/activeModalId.ts"),A=o("./src/reddit/selectors/experiments/categories.ts"),F=o("./src/reddit/selectors/experiments/followPost.ts"),R=o("./src/reddit/selectors/moderatorPermissions.ts"),B=o("./src/reddit/selectors/postCreations.ts"),D=o("./src/reddit/selectors/posts.ts"),$=o("./src/reddit/selectors/user.ts"),U=o("./src/reddit/components/ClassicPost/Thumbnail.tsx"),W=o("./src/reddit/components/ExpandoButton/index.tsx"),H=o("./src/reddit/components/FlairWrapper/index.tsx"),V=o("./src/reddit/components/Flatlist/index.tsx"),z=o("./src/reddit/components/Governance/Proposal/index.tsx"),K=o("./src/reddit/components/Governance/Proposal/NoProposalError/index.tsx"),q=o("./src/reddit/components/JSAPIContainers/index.tsx"),G=o("./src/reddit/components/LargePost/index.tsx"),J=o("./src/reddit/components/MediumPost/index.tsx"),Q=o("./src/reddit/components/ModModeReports/index.tsx"),Z=o("./src/reddit/components/ModModeReports/helpers.ts"),Y=o("./src/reddit/components/PostContainer/index.tsx"),X=o("./src/higherOrderComponents/makeAsync.tsx"),ee=o("./src/lib/loadWithRetries/index.ts"),te=o("./src/reddit/components/RichTextEditor/Placeholder.tsx"),oe=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const ne=Object(X.a)({ErrorComponent:()=>oe(te.a,{gradientType:"posts",isLoading:!1,toolbarPosition:"top"}),getComponent:()=>Object(ee.a)(()=>Promise.all([o.e("vendors~Chat~CollectionCommentsPage~CommentsPage~PostCreation~RedesignChat~RichTextEditor~Subreddit~~db96a512"),o.e("vendors~FlairEdit~PostCreation~RichTextEditor"),o.e("vendors~PostCreation~RichTextEditor"),o.e("RichTextEditor")]).then(o.bind(null,"./src/reddit/components/PostEditForm/index.tsx")).then(e=>e.default)),LoadingComponent:()=>oe(te.a,{gradientType:"posts",isLoading:!0,toolbarPosition:"top"})});var se=e=>r.a.createElement(ne,e),re=o("./src/reddit/components/PostFlairPicker/index.tsx"),ie=o("./src/reddit/components/PostMedia/index.tsx"),de=o("./src/reddit/components/PostOverflowMenu/index.tsx"),ae=o("./src/reddit/components/PostTitle/index.tsx"),ce=o("./src/reddit/components/PostTopLine/index.tsx"),le=o("./src/reddit/components/PostTopMeta/index.tsx"),pe=o("./src/reddit/components/SourceLink/index.tsx"),me=o("./src/reddit/constants/componentTestIds.ts"),ue=o("./src/reddit/contexts/PageLayer/index.tsx"),be=o("./src/app/strings/index.ts"),fe=o("./src/lib/prettyPrintNumber/index.ts"),he=o("./src/reddit/components/PostContent/viewCount.m.less"),ge=o.n(he),ve=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();var xe,ye=({post:e,language:t,showViewCount:o})=>{var n=((e,t)=>{const o=Math.round(100*e.upvoteRatio),n=Object(fe.b)(e.viewCount);return{upvotePercentString:Object(be.a)(t,"posts.percentUpvoted",{percentUpvoted:o}),viewCountString:Object(be.d)(t,"posts.numViews.noun",e.viewCount,{count:n})}})(e,t);const s=n.upvotePercentString,r=n.viewCountString,i=o&&!!e.viewCount;return ve("div",{className:ge.a.viewCounts},void 0,i&&ve("span",{},void 0,r),i&&!!e.upvoteRatio&&ve("span",{className:ge.a.dotSpacer}),!!e.upvoteRatio&&ve("span",{},void 0,s))},Oe=o("./src/reddit/constants/posts.ts"),Ce=o("./src/reddit/components/PostContent/index.m.less"),we=o.n(Ce),je=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();!function(e){e[e.CLASSIC=0]="CLASSIC",e[e.LARGE=1]="LARGE",e[e.MEDIUM=2]="MEDIUM"}(xe||(xe={}));const Se=l()(ae.c).withConfig({componentId:"s13fwapq-0"})(["margin: 0 8px 8px;"]),Ie=l()(W.a).withConfig({componentId:"s13fwapq-1"})(["margin-left: 5px;"]),Pe=l()(ie.a).withConfig({componentId:"s13fwapq-2"})([""]),ke=l()(class extends r.a.Component{constructor(e){super(e),this.onSizeChanged=(()=>(this.props.onSizeChanged&&this.props.onSizeChanged(),T)),this.state={expanded:e.shouldExpand,renderTransitionMotion:e.shouldExpand}}componentWillReceiveProps(e){e.shouldExpand&&!this.state.renderTransitionMotion?this.setState(()=>({renderTransitionMotion:!0}),()=>{setTimeout(()=>{this.setState({expanded:!0})})}):e.shouldExpand!==this.state.expanded&&this.setState({expanded:e.shouldExpand})}render(){var e=this.state;const t=e.renderTransitionMotion,o=e.expanded;if(!t)return!1;var n=this.props;const s=n.className,r=n.content;return P(I.TransitionMotion,{styles:e=>N(e,o),didLeave:this.onSizeChanged,willEnter:this.onSizeChanged},void 0,e=>P("div",{className:s},void 0,e.map(e=>P("div",{style:e.style},e.key,r))))}}).withConfig({componentId:"s13fwapq-3"})([""," {border-bottom-right-radius: 4px;}"],Pe),Te=l()(V.c).withConfig({componentId:"s13fwapq-4"})(["flex-grow: 1;"]),Ne=l.a.div.withConfig({componentId:"s13fwapq-5"})(["padding-right: 40px;margin: 16px 0 0;max-width: 800px;","",""],e=>e.isEditing?"opacity: 0.5; pointer-events: none;":"",z.b),_e=l()(ie.a).withConfig({componentId:"s13fwapq-6"})(["margin-top: ",";"],e=>e.isCommentsPage?"12px":"0px"),Le=l()(U.b).withConfig({componentId:"s13fwapq-7"})(["margin-right: 8px;"]),Me=Object(ue.w)({isCommentsPage:ue.z,isOriginalPage:ue.E,pageLayer:e=>e}),Ee=Object(i.connect)(()=>Object(a.createStructuredSelector)({activeModalId:E.a,flairStyleTemplate:ue.S,currentUser:$.j,crosspost:D.c,followPostVariant:F.a,hideNSFWPref:$.x,isExpanded:D.h,post:D.D,language:$.M,metaId:(e,t)=>e.posts.metaMap[t.postId],moderatorPermissions:R.f,modModeEnabled:ue.Q,isInCategoriesExperiment:A.a,subredditOrProfile:D.O,isEditing:B.A,userIsOp:$.db}),(e,{postId:t})=>({onFlairChanged:({post:t,previewFlair:o,selectedTemplateId:n})=>e(Object(w.h)({post:t,previewFlair:o,selectedTemplateId:n})),onIgnoreReports:()=>e(Object(C.H)(t)),onOpenReportsDropdown:t=>e(Object(O.e)({tooltipId:t})),onVoteClick:o=>{const n=o===M.a.upvoted?Object(C.J)(t):Object(C.n)(t);e(n)}})),Ae=l()(d.a).withConfig({componentId:"s13fwapq-8"})(["",""],Object(v.x)(Oe.c,Oe.d)),Fe=({post:e,templatePlaceholderImage:t})=>e.source?je(Le,{post:e,forceShowNSFW:!0,templatePlaceholderImage:t}):je(Ae,{to:Object(g.b)(e.permalink)},void 0,je(Le,{post:e,forceShowNSFW:!0})),Re=(e,t,o)=>je(ke,{content:je(Pe,{isListing:!1,isNotCardView:!0,post:e,shouldLoad:!0,showFull:!0,showCentered:!0,scrollerItemRef:o}),shouldExpand:!!t});t.a=Me(Ee(l()(e=>{const t=e.className,o=e.crosspost,n=e.currentUser,s=e.flairStyleTemplate,r=e.followPostVariant,i=e.hideNSFWPref,d=e.isCommentsPage,a=e.isEditing,c=e.isExpanded,l=e.isOriginalPage,g=e.isOverlay,v=e.language,O=e.metaId,C=e.moderatorPermissions,w=e.modModeEnabled,j=e.onIgnoreReports,S=e.onOpenReportsDropdown,I=e.onVoteClick,P=e.post,k=e.scrollerItemRef,T=e.sendEvent,N=e.subredditOrProfile,L=e.userIsOp,M=Object(h.a)(C),E=Object(f.a)(C),A=((e,t,o)=>{var n=e?[Object(u.f)(e)===o.author,e.isEmployee]:[!1,!1],s=b(n,2);const r=s[0],i=s[1];return r||t||i})(n,M||E,P),F=!!P.media&&(P.media.type===_.m.RTJSON||P.media.type===_.m.TEXT),R="subreddit"===P.belongsTo.type,B=L&&F,D=L&&!!R,$=Object(Z.c)(P);let U;const W=Object(re.b)(P.id),X=!(w&&h.a),ee=Object(de.h)({hide:X,editPost:X,save:X,report:X}),te=je(Se,{post:P,size:ae.b.ExtraLarge,showCategoryTag:g,isOverlay:g,disableVisited:!0,isCommentsPage:!0}),oe=je(ye,{post:P,language:v,showViewCount:A}),ne=(e=>{const t=e.crosspost,o=e.isCommentPermalink,n=e.post;return o?xe.CLASSIC:t?xe.LARGE:n.media?xe.LARGE:xe.MEDIUM})(e),ie=!!r;return ne===xe.CLASSIC?U=je("div",{"data-test-id":me.e},void 0,Object(G.b)(P,I),je("div",{className:we.a.mainBody},void 0,je("div",{className:we.a.content},void 0,je(ce.a,{hideNSFWPref:i,inSubredditOrProfile:!0,isCommentsPage:d,isOverlay:!!g,language:v,post:P,shouldShowFollowButton:ie,shouldShowSubscribeButton:!1,showOCCategories:l,showSubreddit:!!g&&!P.isSponsored,subredditOrProfile:N}),te,je(H.a,{className:d?we.a.leftPadding:null,post:P,showCategoryTag:e.isInCategoriesExperiment&&d,sendEvent:T}),w&&M&&$&&je(Q.a,{language:v,onIgnoreReports:j,reportable:P}),je(q.d,{postId:P.id}),je("div",{className:we.a.FlatlistContainer},void 0,je(Ie,{crosspost:o||void 0,isExpanded:!c,post:P,useMediaIcons:!1}),Re(P,c,k),je(Te,{currentUser:n,hasModFlairPerms:E,hasModPostPerms:M,isOverlay:g,language:v,onIgnoreReports:j,onOpenReportsDropdown:S,modModeEnabled:w,post:P,showUpvotePercent:!0,showViewCount:A,useFlatlistBreakpoints:ee}))),Object(m.a)(P)&&je(Fe,{post:P,templatePlaceholderImage:s&&s.postPlaceholderImage}))):ne===xe.MEDIUM?U=je("div",{"data-test-id":me.e},void 0,Object(G.b)(P,I),je("div",{className:we.a.mainBody},void 0,je("div",{className:we.a.content},void 0,je(ce.a,{hideNSFWPref:i,inSubredditOrProfile:!0,isCommentsPage:d,isOverlay:!!g,language:v,post:P,shouldShowFollowButton:ie,shouldShowSubscribeButton:!1,showOCCategories:l,showSubreddit:!!g&&!P.isSponsored,subredditOrProfile:N}),te,P.source&&je(pe.a,{post:P,isCommentsPage:d}),je(H.a,{className:d?we.a.leftPadding:null,post:P,showCategoryTag:e.isInCategoriesExperiment&&d,sendEvent:T}),w&&M&&$&&je(Q.a,{language:v,onIgnoreReports:j,reportable:P})),Object(m.a)(P)&&je(J.a,{post:P,forceShowNSFW:!0,templatePlaceholderImage:s&&s.postPlaceholderImage})),je(q.d,{postId:P.id}),je("div",{className:we.a.controlsContainer},void 0,je(V.c,{currentUser:n,hasModFlairPerms:E,hasModPostPerms:M,isOverlay:g,language:v,modModeEnabled:w,onIgnoreReports:j,onOpenReportsDropdown:S,post:P,showEditPost:B,showEditFlair:D,tooltipType:g?le.c.Lightbox:void 0,useFlatlistBreakpoints:ee}),oe)):ne===xe.LARGE&&(U=je("div",{"data-test-id":me.e},void 0,Object(G.b)(P,I),je(ce.a,{hideNSFWPref:i,inSubredditOrProfile:!0,isCommentsPage:d,isOverlay:!!g,language:v,post:P,shouldShowFollowButton:ie,shouldShowSubscribeButton:!1,showOCCategories:l,showSubreddit:!!g&&!P.isSponsored,subredditOrProfile:N}),te,((e,t,o,n)=>e.source&&!t&&(o||n))(P,o,g,d)&&je(pe.a,{post:P,isCommentsPage:d}),je(H.a,{className:d?we.a.leftPadding:null,post:P,showCategoryTag:e.isInCategoriesExperiment&&d,sendEvent:T}),a?je(se,{post:P}):je(_e,{isCommentsPage:!0,isListing:!1,isNotCardView:g,post:P,shouldLoad:!0,showFull:!0,shouldPause:!g,showCentered:!0,scrollerItemRef:k}),O&&N?je(Ne,{isEditing:a},void 0,je(z.a,{pollId:O,subredditId:N.id})):null,P.isMeta&&!O&&je(K.a,{className:we.a.noProposal}),w&&M&&$&&je(Q.a,{language:v,onIgnoreReports:j,reportable:P}),je(q.d,{postId:P.id}),je("div",{className:we.a.controlsContainer},void 0,je(V.c,{currentUser:n,hasModFlairPerms:E,hasModPostPerms:M,isOverlay:g,language:v,modModeEnabled:w,onIgnoreReports:j,onOpenReportsDropdown:S,post:P,showEditPost:B,showEditFlair:D,tooltipType:g?le.c.Lightbox:void 0,useFlatlistBreakpoints:ee}),oe))),je(Y.a,{className:Object(p.a)(t,we.a.postContainer),post:P,eventFactory:g?x.d:y.d},void 0,U,e.activeModalId===W&&je(re.a,{flairs:P.flair,subredditId:P.belongsTo.id,language:v,modalId:W,onFlairChanged:({previewFlair:t,selectedTemplateId:o})=>e.onFlairChanged({post:P,previewFlair:t,selectedTemplateId:o})}))}).withConfig({componentId:"s13fwapq-9"})(["","","","color: ",";fill: ",";"],U.a,V.e,V.d,e=>Object(L.c)(e).actionIcon,e=>Object(L.c)(e).actionIcon)))},"./src/reddit/components/PostContent/viewCount.m.less":function(e,t,o){e.exports={dotSpacer:"_3g_cwSqBe5o5mAuhfMeGu5",viewCounts:"t4Hq30BDzTeJ85vREX7_M"}},"./src/reddit/components/PostCreationForm/OCCommunities/SubredditList/Placeholder.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o.n(i),a=o("./src/reddit/components/SubredditIcon/index.tsx"),c=o("./src/reddit/helpers/styles/mixins/index.tsx"),l=o("./src/reddit/helpers/styles/mixins/loading.ts"),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},m=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),u=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const b=d.a.div.withConfig({componentId:"sirw6h-0"})(["margin: 2px 8px 2px 0px;"]),f=d()(e=>m(a.a,{className:e.className})).withConfig({componentId:"sirw6h-1"})(["","height: 32px;width: 32px;"],l.b),h=d.a.div.withConfig({componentId:"sirw6h-2"})(["","",""],l.b,l.c),g=d.a.div.withConfig({componentId:"sirw6h-3"})(["flex: 1 1 100%;"]),v=d()(h).withConfig({componentId:"sirw6h-4"})(["height: 14px;"]),x=d()(h).withConfig({componentId:"sirw6h-5"})(["height: 10px;margin-top: 4px;width: 50%;"]),y=d.a.div.withConfig({componentId:"sirw6h-6"})(["align-items: center;display: flex;padding: 8px;position: relative;"]);t.a=d()(e=>{var t=e.className,o=u(e,["className"]);return m(y,{className:t},void 0,m(b,{},void 0,r.a.createElement(f,p({gradientType:"posts"},o))),m(g,{},void 0,r.a.createElement(v,p({gradientType:"posts"},o)),r.a.createElement(x,p({gradientType:"posts"},o))))}).withConfig({componentId:"sirw6h-7"})(["",""],c.w)},"./src/reddit/components/PostList/LoadMore.tsx":function(e,t,o){"use strict";var n=o("./bundled-modules/styled-components/styled-components.min.js"),s=o.n(n),r=o("./src/reddit/components/PostList/Placeholder.tsx");t.a=s()(r.a).withConfig({componentId:"rybpsf-0"})(["height: ","px;overflow: hidden;margin-bottom: -20px;"],156)},"./src/reddit/components/PostList/SomethingWrong.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./src/app/helpers/describeApiError/index.ts"),r=o("./src/app/strings/index.ts"),i=o("./src/reddit/connectors/connectToLanguage.ts"),d=o("./src/reddit/controls/Button/index.tsx"),a=o("./src/reddit/components/PostList/index.m.less"),c=o.n(a),l=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});t.a=Object(i.a)(e=>{const t=e.language,o=e.onTryAgain,n=e.apiError;let i=Object(r.a)(t,"posts.somethingWentWrongWhileLoading");return n&&(i=Object(s.a)({apiError:n,language:t,isLoggedOut:!1})),l("div",{className:c.a.somethingWrong},void 0,l("div",{className:c.a.somethingWrongText},void 0,i),o&&l(d.d,{onClick:o},void 0,Object(r.a)(t,"posts.tryAgain")))})},"./src/reddit/components/PostList/index.m.less":function(e,t,o){e.exports={placeholder:"FohHGMokxXLkon1aacMoi",seeMoreButton:"_1Uj2L1UhJuirkaXINcf9S8",seeMorePostsText:"_2DB_2VI3a-y6nk57R2aWVo",somethingWrong:"zfoxmi0VvZvMZu1rHVbMX",somethingWrongText:"Ii7DEkcMDxQHElTHeeaci",postList:"rpBJOHq2PR60pnwJlUyP0",truncatedPostList:"QBfRw7Rj8UkxybFpX-USO"}},"./src/reddit/components/PostList/index.tsx":function(e,t,o){"use strict";o.d(t,"b",function(){return Z}),o.d(t,"a",function(){return X});var n,s=o("./node_modules/history/index.js"),r=o("./node_modules/lodash/debounce.js"),i=o.n(r),d=o("./node_modules/lodash/last.js"),a=o.n(d),c=o("./node_modules/react/index.js"),l=o.n(c),p=o("./node_modules/react-dom/index.js"),m=o("./bundled-modules/styled-components/styled-components.min.js"),u=o.n(m),b=o("./src/lib/addQueryParams/index.ts"),f=o("./src/lib/classNames/index.ts"),h=o("./src/lib/constants/index.ts"),g=o("./src/lib/opener/index.ts"),v=o("./src/lib/raven/index.ts"),x=o("./src/reddit/components/PostList/LoadMore.tsx"),y=o("./src/reddit/components/PostList/SomethingWrong.tsx"),O=o("./src/reddit/components/PromoBanners/index.tsx"),C=o("./src/reddit/components/Scroller/Simple.tsx"),w=o("./src/reddit/components/Translated/index.tsx"),j=o("./src/reddit/constants/adEvents.ts"),S=o("./src/reddit/constants/componentSizes.ts"),I=o("./src/reddit/constants/postLayout.ts"),P=o("./src/reddit/constants/promos.ts"),k=o("./src/reddit/controls/InternalLink/index.tsx"),T=o("./src/reddit/helpers/getClickInfo.ts"),N=o("./src/reddit/helpers/pixels.ts"),_=o("./src/reddit/icons/svgs/ArrowRight/index.tsx"),L=o("./src/reddit/models/Media/index.ts"),M=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),E=o("./src/reddit/helpers/brandSafety/index.ts"),A=o("./src/lib/LRUCache/index.ts"),F=o("./src/telemetry/index.ts"),R=o("./src/telemetry/models/Timer.ts"),B=o("./src/reddit/components/PostList/index.m.less"),D=o.n(B),$=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),U=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const W=500,H=new A.a(W),V=new A.a(W),z=new A.a(W),K={LARGE:1,MEDIUM:1,CLASSIC:3,COMPACT:5},q=u.a.div.withConfig({componentId:"s1ljgxuk-0"})(["color: ",";background-color: ",";"],e=>Object(M.c)(e).linkText,e=>Object(M.c)(e).body),G=u()(_.a).withConfig({componentId:"s1ljgxuk-1"})(["fill: ",";padding-left: 12px;vertical-align: middle;width: 16px;"],e=>Object(M.c)(e).linkText),J=(e,t,o,n,s,r)=>{const i=`entered-${e}-${t}-${o?`last-${n}-${s}`:""}`;let d=H.get(i);return void 0===d&&(d=(()=>{o&&r.onBottomViewed(n,s),r.trackOnPostEnteredViewport(e,t)}),H.set(i,d)),d},Q=(e,t,o)=>{const n=`left-${e}-${t}`;let s=V.get(n);return void 0===s&&(s=(n=>{o.trackOnPostExitedViewport(e,t,n)}),V.set(n,s)),s},Z=(e,t)=>{const o=`click-${e}`;let n=z.get(o);return void 0===n&&(n=((e,o)=>{o.isSponsored&&Object(N.a)(o.events,j.a.Click),o.isSponsored&&o.source&&o.source.outboundUrl?Object(g.b)(o.source.outboundUrl,g.a.BLANK):t.openPost({postOrComment:o,clickInfo:Object(T.a)(e)})}),z.set(o,n)),n},Y=(e,t)=>{if(e.isBlank)return 0;switch(t){case I.f.Medium:return 188;case I.f.Classic:return 96;case I.f.Compact:return 32;default:return 200}};class X extends l.a.Component{constructor(){super(...arguments),this.didRenderLastVisibleChild=!1,this.renderingEmpty=!1,this.renderingPlaceholder=!1,this.scrollChildCache=new A.a(W),this.updateScrollerRef=(e=>{const t=e&&Object(p.findDOMNode)(e);this.scrollerRef=t instanceof Element?t:void 0}),this.setLastVisibleChildRendered=(()=>{this.didRenderLastVisibleChild=!0,this.checkAndSendScreenview()}),this.onScrollPause=(e=>{this.showSubscribeTooltip(e),this.dispatchBrandSafety(e)}),this.showSubscribeTooltip=i()(({primaryChild:e})=>{e&&this.props.layout!==I.f.Compact&&this.props.showM2MTooltip(e.id,e.index,!!this.props.inSubredditOrProfile)},h.e),this.dispatchBrandSafety=i()(({getVisibleItemsInViewport:e})=>{var t=this.props;const o=t.postsById,n=t.subredditsById,s=e(),r=[];s.forEach(e=>r.push(e.id));const i=r.map(e=>o[e]),d=i.map(e=>n[e.belongsTo.id]).filter(e=>void 0!==e);this.props.adBrandSafetyStatusReceived(Object(E.a)(i,d))},h.e,{leading:!0})}componentWillMount(){this.timerId&&F.c.cancel(this.timerId),this.props.postIds.length&&(this.timerId=F.c.start())}componentDidMount(){if(this.checkAndSendScreenview(),this.timerId){const e=F.c.end(this.timerId);setTimeout(()=>Object(F.b)(h.o.Redesign,{type:"mount",component:"postList",duration:e}),0)}}componentWillUpdate(e){this.timerId&&F.c.cancel(this.timerId),e.postIds.length&&(this.timerId=F.c.start()),(e.listingKey!==this.props.listingKey||e.postIds.length!==this.props.postIds.length&&!this.isListLongEnough())&&(this.didRenderLastVisibleChild=!1)}componentDidUpdate(e){if(this.checkAndSendScreenview(),this.timerId&&F.c.has(this.timerId)){const e=F.c.end(this.timerId);if(e<10)return;setTimeout(()=>Object(F.b)(h.o.Redesign,{duration:e,type:"mount",component:"postList"}),0)}}componentWillUnmount(){this.timerId&&F.c.cancel(this.timerId),this.scrollerRef=null,this.didRenderLastVisibleChild=!1}isListLongEnough(){const e=this.scrollerRef&&Array.from(this.scrollerRef.children),t=e&&a()(e);return t&&t.getBoundingClientRect().bottom>window.innerHeight}shouldSendScreenview(){var e=this.props;const t=e.apiError,o=e.listingKey,n=e.viewportDataLoaded;return F.c.has(o)&&(t||!this.renderingPlaceholder&&(this.renderingEmpty||this.didRenderLastVisibleChild&&(n||this.isListLongEnough())))}checkAndSendScreenview(){var e=this.props;const t=e.listingKey,o=e.listingViewed,n=e.sendEvent;if(!this.shouldSendScreenview())return;const s=F.c.end(t);setTimeout(()=>{n(o(s,R.TimerType.InApp))},0)}showPlaceholder(){var e=this.props;const t=e.apiError,o=e.apiPending;return!e.disablePlaceholder&&(Boolean(t)||!1!==o)}hasPosts(){return this.props.postIds.length>0}isLoadingMore(){var e=this.props;const t=e.loadMore,o=e.postIds;return Boolean(t&&t.token)&&o.length>0}shouldComponentUpdate(e){const t=this.props,o=t.postsById,n=U(t,["postsById"]),s=e.postsById,r=U(e,["postsById"]),i=Object.keys(n),d=Object.keys(r);if(d.length!==i.length)return!0;if(d.some(e=>n[e]!==r[e]))return!0;if(o===s)return!1;if(this.props.postIds&&this.props.postIds.length){var a=this.props;const e=a.layout,t=a.postComponentForLayout;return this.props.postIds.some((n,r)=>{const i=0===r;return t(o[n],e,i)!==t(s[n],e,i)})}return!1}scrollChildForPost(e,t,o,n){var s=this.props;const r=s.currentProfileName,i=s.isCommentPermalink,d=s.isCommentsPage,a=s.isFrontpage,c=s.isOriginalPage,l=s.isProfilePostListing,p=s.listingKey,m=s.listingName,u=s.pageLayer,b=s.postClickEvent,f=`post-${n}-${e}-${t}-${o?"last-index":""}-${m}-${p}`;let g;if(void 0===(g=this.scrollChildCache.get(f))){var x=this.props;const s=x.inSubredditOrProfile,y=x.postsById,O=y[e],C=O.crosspostRootId&&y[O.crosspostRootId]?y[O.crosspostRootId]:O;O.crosspostRootId&&!y[O.crosspostRootId]&&Object(v.c)("Crosspost parent details are missing",{extra:{description:`Post ${O.id} is crosspost of ${O.crosspostRootId}, `+`but ${O.crosspostRootId} details are missing in the state`,errorType:h.s.API}});const w=this.props.postComponentForLayout(C,n,0===t),j=`post-list-item-[layout: ${n}]-[postId: ${e}]`,S=J(e,n,o,p,m,this.props),P=Q(e,n,this.props),k=Z(e,this.props),T=C.media&&C.media.type===L.m.EMBED?C.media.provider:null;g={estHeight:Y(O,n),id:e,isFocusable:!(!C.media||n!==I.f.Large)&&(L.d.has(C.media.type)&&(!T||!L.p.has(T))&&!C.isSpoiler&&!C.isNSFW),trackOnEnteredViewport:S,trackOnExitedViewport:P,render:({className:t,height:n,width:p,remeasure:m,setScrollerChildRef:f,shouldLoadInitially:h})=>$(w,{className:t,currentProfileName:r,availableWidth:p,eventFactory:b,forceLoadMedia:h,inSubredditOrProfile:s,isCommentPermalink:i,isCommentsPage:d,isFrontpage:a,isProfilePostListing:l,pageLayer:u,isOriginalPage:c,last:o,onClickPost:k,onSizeChanged:m,postId:e,sendEvent:this.props.sendEvent,scrollerItemRef:f},j)},this.scrollChildCache.set(f,g)}return g}render(){return this.hasPosts()?(this.renderingEmpty=!1,this.renderingPlaceholder=!1,this.renderList()):this.showPlaceholder()?(this.renderingEmpty=!1,this.renderingPlaceholder=!0,this.renderPlaceholder()):(this.renderingEmpty=!0,this.renderingPlaceholder=!1,this.renderEmpty())}renderEmpty(){const e=this.props.noPostsComponent;return $(e,{})}renderPlaceholder(){var e=this.props;const t=e.apiError,o=e.className,n=e.disablePlaceholder,s=e.layout,r=e.onTryAgain,i=e.postListPlaceholderComponent;if(n)return;const d=i;return $("div",{className:D.a.placeholder},void 0,$(d,{className:o,isLoading:!t,layout:s}),!!t&&$(y.a,{apiError:t,onTryAgain:r}))}renderLoadMore(){var e=this.props;const t=e.apiError,o=e.apiPending,n=e.disablePlaceholder,s=e.layout,r=e.onLoadMore;if(!n)return $("div",{className:D.a.placeholder},void 0,$(x.a,{isLoading:!!o,layout:s,countOverride:K[s]}),!!t&&$(y.a,{apiError:t,onTryAgain:r}))}renderList(){var e=this.props;const t=e.disableBanner,o=e.layout,n=e.location,r=e.loadMore,i=e.postIds,d=e.onLoadMore,a=e.m2mIsEnabled,l=e.shouldShowPromo,p=i.map((e,t,n)=>{const s=t===i.length-1;return this.scrollChildForPost(e,t,s,o)}),m=this.props.measureScrollFPS?`post-listings-${o}`:void 0,u=n?Object(s.createPath)(n):null;return $(c.Fragment,{},void 0,!a&&l&&!t&&$(O.a,{location:P.f.SubredditPage}),$(C.a,{innerRef:this.updateScrollerRef,className:u?D.a.truncatedPostList:Object(f.a)(D.a.postList,this.props.className),dataKey:this.props.listingKey,disableScrollCache:!0,enableElementHiding:!0,layoutKey:this.props.layout,loadMoreToken:r&&r.token?r.token:void 0,onLastVisibleChildRendered:this.setLastVisibleChildRendered,onLoadMore:d,onScroll:this.onScrollPause,preventScrollOnMount:this.props.preventScrollOnMount,trackingName:m,viewportTopPadding:S.j},this.props.listingKey,p),u&&$(q,{className:D.a.seeMoreButton},void 0,$(k.a,{className:D.a.seeMorePostsText,to:Object(b.a)(u,{type:h.kc.Posts})},void 0,$(w.a,{msgId:"search.seeMorePosts"}),$(G,{}))),this.isLoadingMore()&&this.renderLoadMore())}}X.defaultProps={shouldShowPromo:!0}},"./src/reddit/components/PostMedia/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./src/reddit/components/CrosspostBox/index.tsx"),d=o("./src/reddit/components/Media/index.tsx"),a=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});t.a=(e=>{const t=e.post;return t.crosspostRootId?a(i.a,{postId:t.crosspostRootId,mediaProps:Object.assign({},e,{crosspost:t,primaryContent:!1})}):r.a.createElement(d.a,Object.assign({},e,{primaryContent:!!e.showFull}))})},"./src/reddit/components/PostModModeDropdown/DropdownHelpers.tsx":function(e,t,o){"use strict";o.d(t,"g",function(){return m}),o.d(t,"a",function(){return u}),o.d(t,"d",function(){return b}),o.d(t,"e",function(){return f}),o.d(t,"f",function(){return h}),o.d(t,"c",function(){return g}),o.d(t,"b",function(){return v});var n=o("./bundled-modules/styled-components/styled-components.min.js"),s=o.n(n),r=o("./src/reddit/controls/Dropdown/Row.tsx"),i=o("./src/reddit/icons/fonts/Approve/index.tsx"),d=o("./src/reddit/icons/fonts/Remove/index.tsx"),a=o("./src/reddit/icons/fonts/Spam/index.tsx"),c=o("./src/reddit/icons/fonts/Tag/index.tsx"),l=o("./src/reddit/models/Theme/NewColorSystem/index.ts");const p=Object(n.css)(["height: 12px;margin-top: -6px;padding-right: 4px;vertical-align: middle;width: 12px;"]),m=Object(n.css)(["color: ",";cursor: pointer;font-size: 12px;line-height: 16px;padding: 8px 16px 8px 8px;&:hover {background-color: ",";border-color: ",";}"],e=>Object(l.c)(e).actionIcon,e=>Object(l.c)(e).actionIcon,e=>Object(l.c)(e).actionIcon),u=s()(i.a).withConfig({componentId:"s19zlun7-0"})(["",""],p),b=s()(d.a).withConfig({componentId:"s19zlun7-1"})(["",""],p),f=s()(a.a).withConfig({componentId:"s19zlun7-2"})(["",""],p),h=s()(c.a).withConfig({componentId:"s19zlun7-3"})(["",""],p),g=s.a.div.withConfig({componentId:"s19zlun7-4"})(["border-radius: 4px;box-shadow: 0 2px 4px 0 ",";cursor: pointer;line-height: 0px; // this seems to better vertically align the icon\noverflow: hidden;width: 100%;"],e=>Object(l.c)(e).flair),v=s()(r.c).withConfig({componentId:"s19zlun7-5"})(["",""],m)},"./src/reddit/components/PostTopLine/index.m.less":function(e,t,o){e.exports={donationAmount:"_1SRZN02bVXzHIIMqGwlZD7",everythingElseWrapper:"cZPZhMe-UCZ8htPodMyJ5",eventMeta:"_28_NUs_O8Nh1DCErsNLCHk",outboundLinkIcon:"_3z6z1xnp828wcarJXfzzjr",postBadges:"_2wFk1qX4e1cxk8Pkw1rAHk",postTopMeta:"nU4Je7n-eSXStTBAPMYt8",subredditIcon:"_1WX5Y5qFVBTdr6hCPpARDB",subredditIconWrapper:"_2dr_3pZUCk8KfJ-x0txT_l",followPost:"_2dQWElMH3F-0U9e25bPo1f"}},"./src/reddit/components/PostTopLine/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o.n(i),a=o("./src/config.ts"),c=o("./src/reddit/components/AwardBadges/index.tsx"),l=o("./src/app/strings/index.ts"),p=o("./src/lib/classNames/index.ts"),m=o("./src/reddit/constants/colors.ts"),u=o("./src/reddit/controls/Button/index.tsx"),b=o("./src/reddit/icons/svgs/Notify/index.tsx"),f=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),h=o("./src/reddit/components/FollowButton/index.m.less"),g=o.n(h),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},x=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),y=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const O=Object(i.css)(["."," {fill: ",";}."," {fill: ",";}"],g.a.icon,e=>Object(f.c)(e).body,g.a.iconFollowed,m.a.alienblue);var C=e=>{var t=e.className,o=e.isFollowed,n=e.language,s=y(e,["className","isFollowed","language"]);const i=o?u.g:u.d;return r.a.createElement(i,v({},s,{className:Object(p.a)(g.a.button,t),"data-redditstyle":!0}),x("div",{className:g.a.layout},void 0,x(b.a,{className:o?g.a.iconFollowed:g.a.icon}),Object(l.a)(n,o?"followPost.followed":"followPost.follow")))},w=o("./node_modules/react-redux/es/index.js"),j=o("./node_modules/reselect/lib/index.js"),S=o("./src/lib/constants/index.ts"),I=o("./src/reddit/components/TrackingHelper/index.tsx"),P=o("./src/reddit/helpers/localStorage/index.ts"),k=o("./src/reddit/selectors/telemetry.ts");const T=()=>e=>Object.assign({},k.defaults(e),{source:"follow_post_pd",action:"view",noun:"button"}),N=()=>e=>Object.assign({},k.defaults(e),{source:"follow_post_pd",action:"click",noun:"button"}),_=()=>e=>Object.assign({},k.defaults(e),{source:"follow_post_pd",action:"view",noun:"tooltip"});var L=o("./src/reddit/selectors/experiments/followPost.ts"),M=o("./src/reddit/selectors/user.ts"),E=o("./src/higherOrderComponents/addOverlayEvents.tsx"),A=o("./src/higherOrderComponents/asTooltip.tsx"),F=o("./src/reddit/components/HelpfulTooltip/index.tsx"),R=o("./src/reddit/constants/zIndex.ts"),B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};const D=["right","bottom"],$=["right","top"],U=d()(F.a).withConfig({componentId:"s7imdfq-0"})(["width: 270px;z-index: ",";&:before {left: 226px;}"],R.i+1);const W=Object(A.a)(Object(I.b)(class extends r.a.Component{componentDidMount(){this.props.sendEvent(_())}render(){return r.a.createElement(U,B({},this.props,{text:Object(l.a)(this.props.language,"followPost.tooltip")}))}}),[E.a.Click,E.a.Keydown,E.a.Resize]);var H=e=>r.a.createElement(W,B({},e,{isFixed:!1,targetPosition:D,tooltipPosition:$})),V=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const z="follow-post",K=Object(j.createStructuredSelector)({followPostVariant:L.a,language:M.M});var q=Object(w.connect)(K)(Object(I.b)(class extends r.a.Component{constructor(){super(...arguments),this.state={isFollowed:!1,isTooltipDismissed:!1,isTooltipOpened:!1},this.toggleFollowed=(()=>{this.props.sendEvent(N()),this.setState(e=>{const t=!e.isFollowed;Object(P.J)(this.props.postId,t);let o=e.isTooltipDismissed;return Object(L.c)(this.props.followPostVariant)&&(o=!0,Object(P.A)(!0)),{isFollowed:t,isTooltipDismissed:o}})}),this.showTooltip=(()=>{Object(L.b)(this.props.followPostVariant)&&this.setState(e=>e.isTooltipOpened?null:{isTooltipOpened:!0})}),this.hideTooltip=(()=>{Object(L.b)(this.props.followPostVariant)&&this.setState(e=>e.isTooltipOpened?{isTooltipOpened:!1}:null)}),this.dismissTooltip=(()=>{Object(P.A)(!0),this.setState({isTooltipDismissed:!0})})}componentDidMount(){this.props.sendEvent(T());const e=Object(P.f)();this.setState({isFollowed:!!e.followedPosts[this.props.postId],isTooltipDismissed:e.tooltipDismissed}),!e.tooltipDismissed&&Object(L.c)(this.props.followPostVariant)&&Date.now()-e.tooltipLastSeenTime>=S.y&&setTimeout(()=>{Object(P.B)(Date.now()),this.setState({isTooltipOpened:!0})},2e3)}render(){var e=this.props;const t=e.followPostVariant,o=e.language,n=Object(L.b)(t)||Object(L.c)(t)&&!this.state.isTooltipDismissed;return V("div",{className:this.props.className,onMouseEnter:this.showTooltip,onMouseLeave:this.hideTooltip,onMouseMove:this.showTooltip},void 0,V(C,{"data-redditstyle":!0,id:z,isFollowed:this.state.isFollowed,language:o,onClick:this.toggleFollowed}),n&&V(H,{hideCloseButton:Object(L.b)(t),isOpen:this.state.isTooltipOpened,language:o,onCloseClick:this.dismissTooltip,tooltipId:z}))}})),G=o("./src/reddit/components/JSAPIContainers/index.tsx"),J=o("./src/reddit/components/OCCategoryList/index.tsx"),Q=o("./src/reddit/components/PostBadges/index.tsx"),Z=o("./src/reddit/components/PostEventMeta/index.tsx"),Y=o("./src/reddit/components/PostTopMeta/index.tsx"),X=o("./src/reddit/components/SubredditIcon/index.tsx"),ee=o("./src/reddit/components/SubredditNameLink/index.tsx"),te=o("./src/reddit/components/SubscribeButton/Inline.tsx"),oe=o("./src/reddit/controls/OutboundLink/index.tsx"),ne=o("./src/reddit/helpers/getSubredditOrProfileIconData/index.tsx"),se=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),re=o("./src/reddit/helpers/trackers/post.ts"),ie=o("./src/reddit/icons/fonts/OutboundLink/index.tsx"),de=o("./src/reddit/models/Media/index.ts"),ae=o("./src/reddit/components/PostTopLine/index.m.less"),ce=o.n(ae),le=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const pe=d.a.div.withConfig({componentId:"dfa6si-0"})(["","","","","display: flex;flex-direction: row;flex-wrap: nowrap;margin: 0 8px 8px;position: relative;"],se.metadataFont,Y.e,Q.b,O);t.a=(e=>{const t=e.flairStyleTemplate,o=e.hideNSFWPref,n=e.inSubredditOrProfile,s=e.isCommentsPage,r=e.isOverlay,i=e.language,d=e.post,l=e.shouldShowFollowButton,p=e.shouldShowSubscribeButton,m=e.showCornerOutboundLink,u=e.showOCCategories,b=e.showSubreddit,f=e.subredditOrProfile,h=Object(ne.a)({subredditOrProfile:f}),g=f&&f.isNSFW&&o&&"user"===f.type;return le(pe,{},void 0,u&&d.contentCategories&&le(J.b,{categoryNames:d.contentCategories}),le(Z.a,{className:ce.a.eventMeta,language:i,post:d}),b&&f&&le("div",{className:ce.a.subredditIconWrapper},void 0,le(ee.a,{"data-click-id":"subreddit",to:f.url},void 0,le(X.b,{className:ce.a.subredditIcon,primaryColor:h.color,iconUrl:g?`${a.a.assetPath}/img/avatar_over18.png`:h.url}))),le("div",{className:ce.a.everythingElseWrapper},void 0,b&&le(G.h,{type:d.belongsTo.type,id:d.belongsTo.id}),le(Y.d,{className:ce.a.postTopMeta,flairStyleTemplate:t,tooltipType:r?Y.c.Lightbox:void 0,isCommentsPage:s,language:i,post:d,showSponsorIcon:!0,showSub:b,subredditOrProfile:f}),le(Q.a,{className:ce.a.postBadges,displayText:f?f.displayText:null,inSubredditOrProfile:n,language:i,post:d,tooltipType:r?Y.c.Lightbox:void 0}),le(c.d,{tooltipType:r?Y.c.Lightbox:void 0,thing:d}),l&&le(q,{className:ce.a.followPost,postId:d.id})),f&&b&&p&&le(te.a,{getEventFactory:e=>Object(re.d)(d.id,e?"unsubscribe":"subscribe"),identifier:{name:f.name,type:"subreddit"},postId:d.id},void 0,"Subscribe"),m&&le(oe.a,{isSponsored:d.isSponsored,href:Object(de.w)(e.post),source:d.source},void 0,le(ie.a,{className:ce.a.outboundLinkIcon})))})},"./src/reddit/components/ProfileIdCard/Preview.tsx":function(e,t,o){"use strict";var n,s=o("./src/config.ts"),r=o("./node_modules/lodash/values.js"),i=o.n(r),d=o("./node_modules/react/index.js"),a=o.n(d),c=o("./bundled-modules/styled-components/styled-components.min.js"),l=o.n(c),p=o("./src/app/strings/index.ts"),m=o("./src/reddit/components/Widgets/Base/index.tsx"),u=o("./src/reddit/constants/colors.ts"),b=o("./src/reddit/controls/InternalLink/index.tsx"),f=o("./src/reddit/controls/LoadingIcon/index.tsx"),h=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),g=o("./src/reddit/icons/svgs/Close/index.tsx"),v=o("./src/reddit/icons/svgs/Premium/index.tsx"),x=o("./src/reddit/layout/twoCol/Dynamic/index.tsx"),y=o("./src/reddit/models/Gold/Gild/index.tsx"),O=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),C=o("./src/reddit/components/ProfileIdCard/GildedLastMonth.tsx"),w=o("./node_modules/react-redux/es/index.js"),j=o("./node_modules/reselect/lib/index.js"),S=o("./src/lib/humanizeDate/index.ts"),I=o("./src/lib/prettyPrintNumber/index.ts"),P=o("./src/lib/timeAgo/index.ts"),k=o("./src/reddit/contexts/InsideOverlay.tsx"),T=o("./src/reddit/icons/svgs/Cake/index.tsx"),N=o("./src/reddit/icons/svgs/Karma/index.tsx"),_=o("./src/reddit/icons/svgs/User/index.tsx"),L=o("./src/reddit/selectors/profile.ts"),M=o("./src/reddit/selectors/user.ts"),E=o("./src/app/actions/tooltip.ts"),A=o("./src/reddit/components/InfoTextTooltip/index.tsx"),F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},R=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const B=Object(j.createStructuredSelector)({language:M.M}),D=l.a.div.withConfig({componentId:"s1r5d3ml-0"})(["cursor: default;flex: 1 1 50%;margin-bottom: 12px;"]),$=l.a.div.withConfig({componentId:"s1r5d3ml-1"})(["align-items: center;display: flex;margin-top: 2px;"]),U=l.a.h5.withConfig({componentId:"s1r5d3ml-2"})(["","color: ",";"],h.titleFontH5,e=>Object(O.c)(e).titleText),W=l.a.span.withConfig({componentId:"s1r5d3ml-3"})(["","color: ",";margin-left: 4px;"],h.metadataFont,e=>Object(O.c)(e).metaText);var H=Object(w.connect)(B,e=>({toggleTooltip:t=>e(Object(E.e)({tooltipId:t}))}))(Object(k.b)(class extends a.a.Component{constructor(){super(...arguments),this.toggleTooltip=(()=>{var e=this.props;const t=e.toggleTooltip,o=e.tooltipId;t&&o&&t(o)})}render(){var e=this.props;const t=e.icon,o=e.label,n=e.title,s=e.tooltip,r=e.tooltipId,i=r&&s?{id:r,onMouseEnter:this.toggleTooltip,onMouseLeave:this.toggleTooltip}:{};return R(D,{},void 0,R(U,{},void 0,n),R($,{},void 0,t,a.a.createElement(W,F({key:"label"},i),o)),r&&s&&R(A.c,{caretOnTop:!0,container:null,tooltipId:r,text:s}))}})),V=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const z=Object(j.createSelector)(L.h,(e,{profileName:t})=>Object(M.eb)(e,t),M.M,(e,t,o)=>({commentKarma:t?t.commentKarma:0,language:o,postKarma:t?t.postKarma:0,profileCreated:t?t.created:0,subscribers:e&&e.subscribers||0})),K=Object(c.css)(["width: 14px;height: 14px;fill: ",";"],u.a.op),q=l()(T.a).withConfig({componentId:"s1c9ufm5-0"})(["",""],K),G=l()(N.a).withConfig({componentId:"s1c9ufm5-1"})(["",""],K),J=l()(_.a).withConfig({componentId:"s1c9ufm5-2"})(["",""],K),Q=l.a.div.withConfig({componentId:"s1c9ufm5-3"})(["display: flex;flex-wrap: wrap;"]);function Z(e,t){return`profile--id-card--highlight-tooltip-${e?"-overlay":""}-${t}`}var Y=Object(w.connect)(z)(Object(k.b)(e=>{const t=e.profileCreated,o=e.isOverlay,n=e.language,s=e.commentKarma,r=e.postKarma,i=e.subscribers,d=Z(o,"karma"),a=Z(o,"cakeday"),c=`${Object(I.b)(r,!0)} ${Object(p.a)(n,"profile.karmaLink")}\n${Object(I.b)(s,!0)} ${Object(p.a)(n,"profile.karmaComments")}`;return V(Q,{},void 0,V(H,{icon:V(G,{},"karma"),label:Object(I.b)(s+r,!0),title:Object(p.a)(n,"profile.karma"),tooltipId:d,tooltip:c}),V(H,{icon:V(q,{},"cakeDay"),label:Object(S.a)(t,n,!0),title:Object(p.a)(n,"profile.cakeDay"),tooltipId:a,tooltip:Object(P.b)(n,t)}),i>0&&V(H,{icon:V(J,{},"followers"),title:Object(p.a)(n,"profile.followers"),label:Object(I.b)(i,!0)}))})),X=o("./src/reddit/components/ProfileIdCard/index.m.less"),ee=o.n(X);o.d(t,"a",function(){return ge});var te=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const oe=l.a.div.withConfig({componentId:"s1mjkkvq-0"})(["background-color: ",";border-radius: 4px 4px 0 0;height: 94px;position: absolute;left: 0;top: 0;width: 100%;"],e=>Object(O.c)(e).banner.backgroundColor),ne=l.a.div.withConfig({componentId:"s1mjkkvq-1"})(["background-position: center center;background-size: cover;width: 100%;height: 100%;"]),se=l.a.div.withConfig({componentId:"s1mjkkvq-2"})(["background-position: center center;background-size: cover;border-radius: 4px;height: 100%;width: 100%;"]),re=l()(m.c).withConfig({componentId:"s1mjkkvq-3"})(["position: relative;overflow: hidden;"]),ie=l.a.h4.withConfig({componentId:"s1mjkkvq-4"})(["","color: ",";margin: 4px 0;"],h.titleFontH4,e=>Object(O.c)(e).titleText),de=l()(v.a).withConfig({componentId:"s1mjkkvq-5"})(["fill: ",";height: 14px;margin-left: 2px;vertical-align: middle;width: 14px;"],u.a.snoo),ae=l.a.div.withConfig({componentId:"s1mjkkvq-6"})(["","color: ",";margin-top: 8px;margin-bottom: 8px;"],h.bodyFontH5,e=>Object(O.c)(e).bodyText),ce=l.a.h5.withConfig({componentId:"s1mjkkvq-7"})(["","color: ",";"],h.titleFontH5,e=>Object(O.c)(e).titleText),le=l.a.span.withConfig({componentId:"s1mjkkvq-8"})(["","color: ",";"],h.metadataFont,e=>Object(O.c)(e).metaText),pe=l()(b.a).withConfig({componentId:"s1mjkkvq-9"})(["","color: ",";margin-top: 4px;"],h.titleFontH6,e=>Object(O.c)(e).titleText),me=l()(x.a).withConfig({componentId:"s1mjkkvq-10"})(["margin-top: 10px;justify-content: space-between;"]),ue=Object(c.css)(["position: absolute;right: 3px;top: 3px;width: 20px;"]),be=l()(g.a).withConfig({componentId:"s1mjkkvq-11"})(["","border-radius: 50%;cursor: pointer;background: #fff;opacity: 0.2;transition: opacity 0.3s;&:hover {box-shadow: 0 0 2px #888;opacity: 0.8;}"],ue),fe=l()(f.a).withConfig({componentId:"s1mjkkvq-12"})(["",""],ue),he=()=>te(fe,{sizePx:20});class ge extends a.a.PureComponent{renderGildedLastMonthHighlight(){var e=this.props;const t=e.gildedLastMonth,o=e.language,n=e.username;return!t||i()(t).every(e=>void 0===e)?null:te("div",{},void 0,te(ce,{},void 0,Object(p.a)(o,"gold.awards")),te(le,{},void 0,te(C.a,{gildings:t,language:o,userName:n,tooltipId:y.a})))}render(){var e=this.props;const t=e.actions,o=e.bannerBackgroundImage,n=e.className,r=e.footer,i=e.isGold,d=e.isOverlay,a=e.profileIcon,c=e.publicDescription,l=e.title,m=e.url,u=e.username,b=e.isDefaultIcon,f=e.isDeletingIcon,h=e.isDeletingBanner,g=e.onDeleteIcon,v=e.onDeleteBanner,x=e.editMode,y=e.language,O=e.gildedLastMonth;return te(re,{className:n},void 0,te(oe,{},void 0,o&&te(ne,{style:{backgroundImage:`url(${o})`}}),x&&o&&(h?te(he,{}):te(be,{onClick:v}))),te("div",{className:ee.a.SnooIconWrapper},void 0,te(se,{style:{backgroundImage:`url(${a})`}}),x&&!b&&(f?te(he,{}):te(be,{onClick:g}))),l&&te(ie,{},void 0,l),te(pe,{to:m},void 0,"u/"+u),i&&te("a",{title:Object(p.a)(y,"profile.premiumIcon.title",{user:u}),href:`${s.a.redditUrl}/premium`},void 0,te(de,{})),te(ae,{},void 0,c),te(Y,{profileName:u,isOverlay:d}),O&&this.renderGildedLastMonthHighlight(),te(me,{},void 0,t),r)}}},"./src/reddit/components/ProfileIdCard/footer.m.less":function(e,t,o){e.exports={container:"_2jvbIljd1r6tRUsfoDij_y",expandContainer:"_1HKW6ri9nK1INtj09BfFfM",expandButton:"_34I-V8v9TxMwIW1R6Rbi3A",menuItem:"_2j70PtPj9zrWOU8NshwTg-",givePremium:"_7kzwf5CKQ1ZMORHN3w7Cm"}},"./src/reddit/components/ProfileIdCard/index.tsx":function(e,t,o){"use strict";var n=o("./src/config.ts"),s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./node_modules/reselect/lib/index.js"),a=o("./bundled-modules/styled-components/styled-components.min.js"),c=o.n(a),l=o("./src/app/strings/index.ts"),p=o("./src/reddit/actions/subscription.ts"),m=o("./src/reddit/components/ProfileIdCard/Preview.tsx"),u=o("./src/reddit/components/TrackingHelper/index.tsx"),b=o("./src/reddit/controls/Button/index.tsx"),f=o("./src/reddit/featureFlags/index.ts"),h=o("./src/reddit/selectors/profile.ts"),g=o("./src/reddit/selectors/structuredStyles.ts"),v=o("./src/reddit/selectors/tooltip.ts"),x=o("./src/reddit/selectors/user.ts"),y=o("./node_modules/lodash/compact.js"),O=o.n(y),C=o("./src/lib/classNames/index.ts"),w=o("./src/reddit/actions/gold/modals.ts"),j=o("./src/reddit/actions/profile/index.ts"),S=o("./src/higherOrderComponents/makeAsync.tsx"),I=o("./src/lib/loadWithRetries/index.ts");var P,k=Object(S.a)({getComponent:()=>Object(I.a)(()=>o.e("GivePremiumModal").then(o.bind(null,"./src/reddit/components/GivePremiumModal/index.tsx"))).then(e=>e.default),ErrorComponent:()=>null,LoadingComponent:()=>null}),T=o("./src/reddit/controls/InternalLink/index.tsx"),N=o("./src/reddit/controls/OutboundLink/index.tsx"),_=o("./src/reddit/helpers/correlationIdTracker.ts"),L=o("./src/reddit/helpers/styles/mixins/loading.ts"),M=o("./src/reddit/models/Gold/Premium/index.ts"),E=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),A=o("./src/reddit/selectors/premium.ts"),F=o("./src/reddit/components/ProfileIdCard/footer.m.less"),R=o.n(F),B=(P="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,n){var s=e&&e.defaultProps,r=arguments.length-3;if(t||0===r||(t={}),t&&s)for(var i in s)void 0===t[i]&&(t[i]=s[i]);else t||(t=s||{});if(1===r)t.children=n;else if(r>1){for(var d=Array(r),a=0;a<r;a++)d[a]=arguments[a+3];t.children=d}return{$$typeof:P,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),D=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const $=Object(d.createStructuredSelector)({areModeratedSubredditsPending:h.a,coinsToSpend:x.c,givePremiumModalIsOpen:A.c,hasFetchedModerators:h.i,isEmployee:x.D,isLoggedIn:x.F,language:x.M}),U=c.a.div.withConfig({componentId:"y0r82i-0"})(["."," {","border-bottom: 1px solid ",";}"],R.a.menuItem,b.v,e=>Object(E.c)(e).line),W=c()(e=>{e.gradientType,e.isLoading;var t=D(e,["gradientType","isLoading"]);return r.a.createElement("div",t)}).withConfig({componentId:"y0r82i-1"})(["","","display: inline-block;height: 10px;width: 125px;"],L.b,L.c);var H=Object(i.connect)($,(e,{profileName:t})=>({onClickGivePremium:()=>e(Object(w.e)(t)),onModeratorsRequested:()=>e(Object(j.b)(t))}))(class extends r.a.Component{constructor(){super(...arguments),this.state={expanded:!1},this.clickGivePremium=(async()=>{var e=this.props;const t=e.onClickGivePremium,n=e.sendEvent;Object(_.d)(_.a.GiftPremiumFlow),t(),n((0,(await o.e("givePremiumTrackers").then(o.bind(null,"./src/reddit/helpers/trackers/givePremium.ts"))).clickGivePremiumEvent)())}),this.moreOptionsToggled=(()=>{!this.state.expanded&&this.canLoadMods()&&this.props.onModeratorsRequested(),this.setState(({expanded:e})=>({expanded:!e}))})}canLoadMods(){return this.props.isLoggedIn&&!this.props.isOwnProfile&&!this.props.hasFetchedModerators&&!this.props.areModeratedSubredditsPending}isLoadingMods(){return this.props.isLoggedIn&&!this.props.isOwnProfile&&(!this.props.hasFetchedModerators||this.props.areModeratedSubredditsPending)}render(){var e=this.props;const t=e.hasSubreddit,o=e.coinsToSpend,s=e.givePremiumModalIsOpen,r=e.isLoggedIn,i=e.isOwnProfile,d=e.language,a=e.profileName,c=e.allowViewSnoovatar,p=e.isEmployee,m=e.isModerator,u=this.state.expanded,f=function({allowViewSnoovatar:e,hasSubreddit:t,isOwnProfile:o,isModerator:s,profileName:r}){return O()([(o||s)&&t?{url:`/user/${r}/about/edit/moderation`,languageKey:"profile.contributorSettings.profileModeration",isInternalLink:!0}:void 0,o?void 0:{url:`${n.a.redditUrl}/message/compose/?to=${r}`,languageKey:"profile.options.sendMessage"},!o&&e?{url:`${n.a.redditUrl}/user/${r}/snoo`,languageKey:"profile.options.viewSnoovatar"}:void 0,o?void 0:{url:"https://www.reddithelp.com/en/categories/rules-reporting/account-and-community-restrictions/what-should-i-do-if-i-see-something-i",languageKey:"profile.options.reportUser"}])}({allowViewSnoovatar:c,hasSubreddit:t,isOwnProfile:i,isModerator:m,profileName:a}),h=r&&Object(M.b)(o,p).length&&!i||p;if(0===f.length&&!h)return null;const g=(u?f:[]).map(e=>e.isInternalLink?B(T.a,{to:e.url,className:R.a.menuItem},e.url,Object(l.a)(d,e.languageKey)):B(N.a,{href:e.url,isSponsored:!1,source:void 0,className:R.a.menuItem},e.url,Object(l.a)(d,e.languageKey)));if(this.state.expanded&&h){const e=B("button",{className:Object(C.a)(R.a.menuItem,R.a.givePremium),onClick:this.clickGivePremium},"give-premium",Object(l.a)(d,"gold.givePremiumToUserModal.givePremium"));g.length?g.splice(1,0,e):g.unshift(e)}this.state.expanded&&this.isLoadingMods()&&(g.unshift(B("div",{className:R.a.menuItem},"loading-1",B(W,{gradientType:"posts",isLoading:this.props.areModeratedSubredditsPending}))),g.unshift(B("div",{className:R.a.menuItem},"loading-2",B(W,{gradientType:"posts",isLoading:this.props.areModeratedSubredditsPending}))));const v=u?Object(l.a)(d,"profile.options.fewerOptions"):Object(l.a)(d,"profile.options.moreOptions");return B(U,{className:R.a.container},void 0,g,B("div",{className:R.a.expandContainer},void 0,B(b.l,{className:R.a.expandButton,onClick:this.moreOptionsToggled},void 0,v)),s&&B(k,{}))}});var V=o("./src/reddit/components/ProfileIdCard/index.m.less"),z=o.n(V),K=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const q=Object(d.createStructuredSelector)({account:x.j,activeTooltipId:v.a,currentUserHasSubreddit:x.g,hideNSFWPref:x.x,isModerator:h.d,language:x.M,profile:h.h,profileAboutInfo:h.f,structuredStyle:(e,t)=>Object(g.m)(e,Object(h.j)(e,t.profileName)),userHasSubreddit:(e,{profileName:t})=>Object(x.cb)(e,{userName:t}),userInChat:f.d.userInChat,user:(e,{profileName:t})=>Object(x.bb)(e,{userName:t})}),G="\n padding: 4px 16px 4px;\n width: 100%;\n line-height: 17px;\n",J=c()(b.d).withConfig({componentId:"s1vv935-0"})(["",""],G),Q=c()(b.g).withConfig({componentId:"s1vv935-1"})(["",""],G),Z=c()(b.e).withConfig({componentId:"s1vv935-2"})(["",""],G),Y=c()(b.f).withConfig({componentId:"s1vv935-3"})(["",""],G),X=({username:e,language:t,currentUserHasSubreddit:o})=>K("div",{className:z.a.actionItem},void 0,K(Y,{to:o?`/user/${e}/submit`:"/submit"},void 0,Object(l.a)(t,"profile.newPost"))),ee=({profileName:e,onToggleFollow:t,language:o,userIsSubscriber:n})=>K("div",{className:z.a.actionItem},void 0,n?K(Q,{onClick:()=>t(e,n)},void 0,Object(l.a)(o,"profile.unfollow")):K(J,{onClick:()=>t(e,n)},void 0,Object(l.a)(o,"profile.follow"))),te=({userId:e,language:t})=>K("div",{className:z.a.actionItem},void 0,K(Z,{target:"_blank",href:`${n.a.redditUrl}/chat/user_id/${e}`},void 0,Object(l.a)(t,"profile.chat")));t.a=Object(i.connect)(q,e=>({onToggleFollow:(t,o)=>e(Object(p.g)({name:t,type:"profile"},!o))}))(Object(u.b)(e=>{const t=e.account,o=e.currentUserHasSubreddit,s=e.hideNSFWPref,i=e.isModerator,d=e.isOverlay,a=e.isSubmissionPage,c=e.language,l=e.onToggleFollow,p=e.profile,u=e.profileAboutInfo,b=e.sendEvent,f=e.structuredStyle,h=e.userHasSubreddit,g=e.userInChat,v=e.user;if(!v)return null;const x=v.gildedLastMonth,y=v.id,O=v.username,C=v.isGold,w=v.accountIcon,j=v.url,S=v.prefShowSnoovatar,I=!!t&&t.id===y,P=f&&f.bannerBackgroundImage,k=p&&p.isNSFW&&s,T=!(!u||!u.userIsSubscriber);return K(m.a,{isGold:C,isOverlay:d,publicDescription:u?u.publicDescription:void 0,title:p?p.title:void 0,url:j,username:O,gildedLastMonth:x,language:c,actions:K(r.a.Fragment,{},void 0,I&&!a&&X({username:O,language:c,currentUserHasSubreddit:o}),!I&&h&&ee({profileName:O,onToggleFollow:l,userIsSubscriber:T,language:c}),!!t&&!I&&g&&te({userId:y,language:c})),footer:K(H,{hasSubreddit:h,isModerator:i,isOwnProfile:I,allowViewSnoovatar:S,profileName:O,sendEvent:b}),profileIcon:k?`${n.a.assetPath}/img/avatar_over18_square.png`:w,bannerBackgroundImage:k?void 0:P})}))},"./src/reddit/components/PromoBanners/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/history/index.js"),r=o("./node_modules/react/index.js"),i=o.n(r),d=o("./node_modules/react-redux/es/index.js"),a=o("./node_modules/reselect/lib/index.js"),c=o("./src/lib/cache/index.ts"),l=o("./src/lib/localStorageAvailable/index.ts"),p=o("./src/lib/loginHref/index.ts"),m=o("./src/reddit/actions/login.ts"),u=o("./src/reddit/actions/modal.ts"),b=o("./src/reddit/actions/promo.ts"),f=o("./src/config.ts"),h=o("./bundled-modules/styled-components/styled-components.min.js"),g=o.n(h),v=o("./src/app/strings/index.ts"),x=o("./src/lib/colors/constants.ts"),y=o("./src/lib/prettyPrintNumber/index.ts"),O=o("./src/reddit/constants/promos.ts"),C=o("./src/reddit/controls/Button/index.tsx"),w=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),j=o("./src/reddit/icons/svgs/Close/index.tsx"),S=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const I=g.a.h1.withConfig({componentId:"s1r1dynj-0"})(["","color: ",";font-size: 32px;font-weight: bold;"],w.titleFontH1,x.n),P=g()(I).withConfig({componentId:"s1r1dynj-1"})(["","","line-height: initial;margin-right: 16px;"],w.titleFontH2,""),k=g.a.span.withConfig({componentId:"s1r1dynj-2"})(["","color: ",";display: block;padding-top: 4px;"],w.bodyFontH6,x.n),T=g()(C.e).withConfig({componentId:"s1r1dynj-3"})(["background-color: ",";border-color: ",";color: ",";display: inline-block;margin: 8px 0 0 0;max-height: 32px;white-space: nowrap;&:hover {background-color: ",";border-color: ",";color: ",";}"],x.e,x.e,x.n,x.d,x.d,x.n),N=Object(h.css)(["background-color: rgb(3, 46, 94);background-position: right;background-repeat: no-repeat;background-size: contain;border-radius: 4px;position: relative;"]),_=g()(e=>S("div",{className:e.className},void 0,e.children)).withConfig({componentId:"s1r1dynj-4"})(["","margin-bottom: 8px;padding: 16px;",""],N,e=>e.largeBannerKey===O.k.join?`background-image: url(${f.a.assetPath}/img/banner/banner-${O.k.welcome}@2x.png);`:`background-image: url(${f.a.assetPath}/img/banner/banner-${e.largeBannerKey}@2x.png);`),L=g.a.div.withConfig({componentId:"s1r1dynj-5"})(["","align-items: center;background-image: url(","/img/banner/banner-small@2x.png);background-position: left;display: flex;margin-bottom: 8px;padding: 16px 32px 16px 8px;"," {margin: 0 0 0 auto;}"],N,f.a.assetPath,T),M=g.a.div.withConfig({componentId:"s1r1dynj-6"})(["align-items: center;display: flex;flex-wrap: wrap;min-height: 42px;"," {margin: 0;}"," {margin-right: 20px;margin-left: 0px;}"],T,P),E=g.a.img.withConfig({componentId:"s1r1dynj-7"})(["margin: 0 8px;"]),A=g()(e=>S("button",{className:e.className,onClick:e.onClick},void 0,S(j.a,{}))).withConfig({componentId:"s1r1dynj-8"})(["height: 12px;width: 12px;right: 10px;top: 10px;position: absolute;svg {fill: ",";}"],x.n),F=e=>S(_,{largeBannerKey:e.largeBannerKey},void 0,S(A,{onClick:()=>e.closeBanner(O.h.UpsellSignUpBannerLarge,O.g[e.largeBannerKey])}),S(I,{},void 0,Object(v.a)(e.language,`promoBanners.${e.largeBannerKey}.header`)),S(k,{},void 0,Object(v.a)(e.language,`promoBanners.${e.largeBannerKey}.subHeader`)),S(T,{href:e.href,onClick:t=>{t.stopPropagation(),t.preventDefault(),e.onOpenRegisterModal(O.g[e.largeBannerKey])}},void 0,Object(v.a)(e.language,`promoBanners.${e.largeBannerKey}.button`))),R=e=>S(L,{},void 0,S(A,{onClick:()=>e.closeBanner(O.h.UpsellSignUpBannerMedium,O.g.join)}),S(E,{srcSet:`${f.a.assetPath}/img/banner/banner-small-logo.png 1x,\n ${f.a.assetPath}/img/banner/banner-small-logo@2x.png 2x,`}),S(P,{},void 0,e.subreddit?Object(v.a)(e.language,"promoBanners.subreddit.header",{subredditName:e.subreddit.displayText,subscribers:Object(y.b)(e.subreddit.subscribers)}):Object(v.a)(e.language,"promoBanners.join.header")),S(T,{href:e.href,onClick:t=>{t.stopPropagation(),t.preventDefault(),e.onOpenRegisterModal(O.g.join)}},void 0,Object(v.a)(e.language,"promoBanners.personalize.button"))),B=g()(e=>S("div",{className:e.className},void 0,S(A,{onClick:()=>e.closeBanner(O.h.UpsellSignUpBannerSmall,O.g.join)}),S(M,{},void 0,S(E,{srcSet:`${f.a.assetPath}/img/banner/banner-small-logo.png 1x,\n ${f.a.assetPath}/img/banner/banner-small-logo@2x.png 2x,`}),S(P,{},void 0,Object(v.a)(e.language,"promoBanners.join.header")),S(T,{href:e.href,onClick:t=>{t.stopPropagation(),t.preventDefault(),e.onOpenRegisterModal(O.g.join)}},void 0,Object(v.a)(e.language,"promoBanners.join.button"))))).withConfig({componentId:"s1r1dynj-9"})(["","background-image: url(","/img/banner/banner-small@2x.png);background-position: left;","padding: 4px 32px 4px 8px;"],N,f.a.assetPath,e=>e.isOverlay?"border-radius: 0;":"");var D=o("./src/reddit/actions/toaster.ts"),$=o("./src/reddit/helpers/trackers/banners.ts"),U=o("./src/reddit/components/TrackingHelper/index.tsx"),W=o("./src/lib/constants/index.ts"),H=o("./src/lib/makeRequest/index.ts");const V=(e,t)=>Object(H.b)({endpoint:"https://api.linktexting.com/sendLink",method:W.jb.POST,data:`linkId=${t}&number=${e}`,headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"}});var z=o("./src/reddit/models/Toast/index.ts"),K=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const q=g()(e=>K("button",{className:e.className,onClick:e.onCloseBanner},void 0,K(j.a,{}))).withConfig({componentId:"uob30s-0"})(["height: 12px;position: absolute;right: 10px;top: 10px;width: 12px;svg {fill: ",";}"],x.n),G=g()(C.d).withConfig({componentId:"uob30s-1"})(["width: 123px;height: 26px;line-height: 20px;background-color: ",";border-color: ",";color: ",";&:hover {background-color: ",";border-color: ",";color: ",";}"],x.e,x.e,x.n,x.e,x.e,x.n),J=g.a.div.withConfig({componentId:"uob30s-2"})(["margin-bottom: 8px;"]),Q=g.a.div.withConfig({componentId:"uob30s-3"})(["background-color: rgb(3, 46, 94);background-position: right;background-repeat: no-repeat;background-size: contain;border-radius: 4px;display: flex;flex-wrap: wrap;padding: 16px 16px 14px 16px;position: relative;@media (min-width: 550px) {background-image: url(","/img/banner/mobile-x-promo.png);}"],f.a.assetPath),Z=g()(e=>K("div",{className:e.className},void 0,e.children)).withConfig({componentId:"uob30s-4"})(["margin-top: 1px;height: 100%;overflow: hidden;transition: max-height 0.3s;background-color: ",";",""],e=>e.shouldDisplayLegalDropdown?`${x.e}`:"rgb(3, 46, 94)",e=>e.shouldDisplayLegalDropdown?`max-height: ${e.isHidden?"0":"58px"};`:"max-height: 58px;"),Y=g()(e=>K("span",{className:e.className},void 0,e.children)).withConfig({componentId:"uob30s-5"})(["","color: ",";display: block;font-size: 10px;line-height: 12px;opacity: 0.8;padding: 5px 22px;text-align: ",";"],w.bodyFontH6,x.n,e=>e.shouldDisplayLegalDropdown?"center":"left"),X=g.a.h1.withConfig({componentId:"uob30s-6"})(["","color: ",";margin-bottom: 5px;"],w.titleFontH1,x.n),ee=g.a.div.withConfig({componentId:"uob30s-7"})(["display: flex;flex-wrap: wrap;"]),te=g.a.div.withConfig({componentId:"uob30s-8"})(["margin-right: 8px;"]),oe=g.a.div.withConfig({componentId:"uob30s-9"})(["display: flex;align-items: center;margin-bottom: 5px;"]),ne=g.a.img.withConfig({componentId:"uob30s-10"})(["height: 16px;width: 16px;margin-right: 8px;"]),se=g()(ne).withConfig({componentId:"uob30s-11"})(["width: auto;height: 12px;"]),re=g.a.span.withConfig({componentId:"uob30s-12"})(["","color: ",";"],w.bodyFontH6,x.n),ie=g.a.div.withConfig({componentId:"uob30s-13"})(["align-items: center;display: flex;margin-top: 11px;"]),de=g()(e=>i.a.createElement("input",e)).withConfig({componentId:"uob30s-14"})(["","border-radius: 4px;height: 24px;margin-right: 5px;padding-left: 5px;width: 162px;",""],w.bodyFontH6,e=>e.error?`border: 1px solid ${x.l}`:"border: 1px solid transparent"),ae=g.a.span.withConfig({componentId:"uob30s-15"})(["color: ",";display: block;font-size: 10px;margin-top: 7px;margin-left: 6px;opacity: .9;"],x.n),ce=g.a.div.withConfig({componentId:"uob30s-16"})(["margin-left: 20px;"]),le=g.a.img.withConfig({componentId:"uob30s-17"})(["margin: 0 auto;display: block;margin-bottom: 5px;border-radius: 4px;padding: 3px;height: 75px;width: 75px;background-color: white;margin-bottom: 5px;"]),pe=g.a.span.withConfig({componentId:"uob30s-18"})(["","color: ",";max-width: 126px;display: block;text-align: center;text-transform: inherit;"],w.bodyFontH6,x.n);var me=Object(d.connect)(void 0,(e,t)=>({displayErrorToast:t=>{e(Object(D.e)({kind:z.b.Error,text:t}))},displaySuccessToast:t=>{e(Object(D.e)({kind:z.b.SuccessCommunity,text:t}))}}))(Object(U.b)(class extends i.a.Component{constructor(e){super(e),this.getLinkId=(()=>this.props.loggedInMobilePromoVariant?O.a:O.b),this.onBlur=(e=>{const t=!!e.currentTarget.value.length;this.setState({isLegalDropdownHidden:!t})}),this.onFocus=(e=>{this.setState({isLegalDropdownHidden:!1})}),this.onInputChange=(e=>{this.setState({phoneNumber:e.target.value.replace(/\D/,"")})}),this.onSubmit=(async()=>{var e=this.props;const t=e.language,o=e.displayErrorToast,n=e.displaySuccessToast,s=e.sendEvent,r=Object(v.a)(t,"promoBanners.mobileXPromo.empty"),i=Object(v.a)(t,"promoBanners.mobileXPromo.error"),d=Object(v.a)(t,"promoBanners.mobileXPromo.success");if(!this.state.phoneNumber.length)return this.setState({inputError:!0}),void o(r);s(Object($.d)("click",O.g.mobilePromoBanner));const a=this.getLinkId(),c=await V(this.state.phoneNumber,a);c&&c.ok?(this.setState({phoneNumber:"",inputError:!1}),n(d)):(this.setState({inputError:!0}),o(i))}),this.state={isLegalDropdownHidden:!0,phoneNumber:""}}render(){var e=this.props;const t=e.closeBanner,o=e.language,n=e.loggedInMobilePromoVariant,s=e.loggedOutMobilePromoVariant,r=n&&n===O.c.Test1,i=s&&s===O.d.Test1,d=!(!r&&!i);return K(J,{},void 0,K(Q,{},void 0,K(q,{onCloseBanner:()=>t(O.h.MobilePromoBanner,O.g[O.h.MobilePromoBanner],O.j)}),K("div",{},void 0,K(X,{},void 0,Object(v.a)(o,"promoBanners.mobileXPromo.header")),K(ee,{},void 0,K(te,{},void 0,K(oe,{},void 0,K(ne,{src:`${f.a.assetPath}/img/banner/redditor@2x.png`}),K(re,{},void 0,Object(v.a)(o,"promoBanners.mobileXPromo.manage"))),K(oe,{},void 0,K(ne,{src:`${f.a.assetPath}/img/banner/subscribe@2x.png`}),K(re,{},void 0,Object(v.a)(o,"promoBanners.mobileXPromo.subscriptions")))),K(te,{},void 0,K(oe,{},void 0,K(ne,{src:`${f.a.assetPath}/img/banner/download@2x.png`}),K(re,{},void 0,Object(v.a)(o,"promoBanners.mobileXPromo.downloads"))),K(oe,{},void 0,K(se,{src:`${f.a.assetPath}/img/banner/rating@2x.png`}),K(re,{},void 0,Object(v.a)(o,"promoBanners.mobileXPromo.rated"))))),K(ie,{},void 0,K(de,{type:"tel",onChange:this.onInputChange,placeholder:Object(v.a)(o,"promoBanners.mobileXPromo.placeholder"),error:this.state.inputError?1:0,onBlur:this.onBlur,onFocus:this.onFocus,value:this.state.phoneNumber}),K(G,{onClick:this.onSubmit},void 0,Object(v.a)(o,"promoBanners.mobileXPromo.button"))),K(ae,{},void 0,Object(v.a)(o,"promoBanners.mobileXPromo.countryCode"))),K(ce,{},void 0,K(le,{src:this.props.loggedInMobilePromoVariant?`${f.a.assetPath}/img/banner/qr-code-logged-in.png`:`${f.a.assetPath}/img/banner/qr-code-logged-out.png`}),K(pe,{},void 0,Object(v.a)(o,"promoBanners.mobileXPromo.qr")))),K(Z,{isHidden:this.state.isLegalDropdownHidden,shouldDisplayLegalDropdown:d},void 0,K(Y,{shouldDisplayLegalDropdown:d},void 0,Object(v.a)(o,"promoBanners.mobileXPromo.legal"))))}})),ue=o("./src/reddit/contexts/PageLayer/index.tsx"),be=o("./src/reddit/selectors/meta.ts");var fe=o("./src/reddit/selectors/user.ts");const he=Object.keys(O.k),ge=he[Math.floor(Math.random()*Math.floor(he.length))],ve=Object(a.createStructuredSelector)({displayUpsellSignUpBannerLarge:e=>e.promos.upsellSignUpBannerLarge,displayUpsellSignUpBannerMedium:e=>e.promos.upsellSignUpBannerMedium,displayUpsellSignUpBannerSmall:e=>e.promos.upsellSignUpBannerSmall,language:fe.M,isLoggedIn:fe.F,displayMobilePromo:e=>e.promos.mobilePromoBanner,origin:be.d,subreddit:ue.t}),xe=Object(d.connect)(ve,(e,t)=>({closeBanner:(o,n,s)=>{e(Object(b.c)(o,s)),t.sendEvent(Object($.d)("close",n))},displayBanner:(o,n)=>{e(Object(b.d)({promoType:o})),t.sendEvent(Object($.d)("view",n))},onOpenRegisterModal:o=>{e(Object(u.l)({actionSource:u.a.PromoBanner})),e(Object(m.b)()),t.sendEvent(Object($.d)("click",o))}})),ye=Object(ue.w)({isFrontPage:ue.C,pageLayer:e=>e,path:ue.X});t.a=ye(Object(U.b)(xe(class extends r.Component{constructor(){super(...arguments),this.sendToRegister=((e,t)=>Object(p.a)(Object(s.createLocation)(e),t,"/register"))}componentDidMount(){var e=this.props;const t=e.displayBanner,o=e.isFrontPage,n=e.isLoggedIn,s=e.location,r=Object(l.a)(),i=!!Object(c.b)(O.i);if(r)switch(s){case O.f.FrontPage:return void(n||i||t(O.h.UpsellSignUpBannerLarge,O.g[ge]));case O.f.SubredditPage:return void(o||n||i||t(O.h.UpsellSignUpBannerMedium,O.g.join));case O.f.CommentsPage:n||i||t(O.h.UpsellSignUpBannerSmall,O.g.join)}}render(){var e=this.props;const t=e.className,o=e.closeBanner,n=e.displayMobilePromo,s=e.displayUpsellSignUpBannerLarge,r=e.displayUpsellSignUpBannerMedium,d=e.displayUpsellSignUpBannerSmall,a=e.isFrontPage,c=e.isLoggedIn,l=e.isOverlay,p=e.language,m=e.location,u=e.path,b=e.subreddit,f=e.onOpenRegisterModal,h=e.origin,g={closeBanner:o,href:this.sendToRegister(u,h),isOverlay:l,language:p,onOpenRegisterModal:f,subreddit:b,className:t},v=Object.assign({},g,{largeBannerKey:ge}),x=Object.assign({},g);if(b&&b.isQuarantined)return null;switch(m){case O.f.FrontPage:if(a){if(n)return i.a.createElement(me,x);if(s)return i.a.createElement(F,v)}break;case O.f.SubredditPage:if(!a&&!c&&r)return i.a.createElement(R,g);break;case O.f.CommentsPage:if(!c&&d)return i.a.createElement(B,g)}return null}})))},"./src/reddit/components/RecommendedPostList/index.m.less":function(e,t,o){e.exports={arrow:"_320hcZXcop0r2tYs9CPCSw",topPostsHeader:"_1UbFWXvPTlrPngGxKndM-h",footer:"Cvt0D6iVwU5TI0SY2nIGC"}},"./src/reddit/components/RichTextEditor/Placeholder.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s),i=o("./src/reddit/components/FocusableContent/index.tsx"),d=o("./src/reddit/constants/componentSizes.ts"),a=o("./src/reddit/helpers/styles/components/index.tsx"),c=o("./src/reddit/helpers/styles/mixins/loading.ts"),l=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),p=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const m=r.a.div.withConfig({componentId:"s10mcswk-0"})([";height: ","px;padding: ","px ","px;"],d.z,d.A,d.B),u=r()(Object(a.a)()).withConfig({componentId:"s10mcswk-1"})(["","height: 21px;width: 165px;"],c.b),b=r()(Object(a.a)()).withConfig({componentId:"s10mcswk-2"})(["","background-color: ",";height: ","px;"],c.b,e=>Object(l.c)(e).bodyText,d.C),f=r()(b).withConfig({componentId:"s10mcswk-3"})(["border-radius: 4px 4px 0px 0px;"]),h=r()(b).withConfig({componentId:"s10mcswk-4"})(["border-radius: 0px 0px 4px 4px;"]);t.a=(({className:e,gradientType:t,isLoading:o,toolbarPosition:n})=>p("div",{className:e},void 0,p(i.a,{isFocused:!1},void 0,"top"===n?p(f,{gradientType:t,isLoading:o}):null,p(m,{},void 0,p(u,{isLoading:!0,gradientType:t})),"bottom"===n?p(h,{gradientType:t,isLoading:o}):null)))},"./src/reddit/components/SidebarAd/BaseSidebarAdDoNotUseOrYoureFired.tsx":function(e,t,o){"use strict";var n,s=o("./src/app/strings/index.ts"),r=o("./node_modules/react/index.js"),i=o.n(r),d=o("./node_modules/react-redux/es/index.js"),a=o("./src/reddit/components/BannerAd/index.tsx"),c=o("./src/config.ts"),l=o("./node_modules/lodash/random.js"),p=o.n(l),m=o("./src/reddit/components/SidebarSectionHeader/index.tsx"),u=o("./src/reddit/helpers/styles/mixins/index.tsx"),b=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),f=o("./bundled-modules/styled-components/styled-components.min.js"),h=o.n(f),g=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const v=h.a.div.withConfig({componentId:"s1tljykw-0"})(["","background-color: ",";min-height: 270px;min-width: 300px;&::before {content: '","';color: ",";display: block;","font-weight: 500;}"],u.t,e=>Object(b.c)(e).body,Object(s.a)("en","sidebar.sponsored"),e=>Object(b.c)(e).actionIcon,m.b),x=h()(e=>g("img",{className:e.className,src:e.src})).withConfig({componentId:"s1tljykw-1"})(["margin: 0 auto;width: 100%;height: 100%;"]),y=[{img:"/img/house-ads/btc.png",href:"/r/btc"},{img:"/img/house-ads/campfirecooking.png",href:"/r/campfirecooking"},{img:"/img/house-ads/casualconversation.png",href:"/r/casualconversation"},{img:"/img/house-ads/fantrailers.png",href:"/r/fantrailers"},{img:"/img/house-ads/rubberducks.png",href:"/r/advertising"},{img:"/img/house-ads/casualconversation.png",href:"/r/casualconversation"},{img:"/img/house-ads/fantrailers.png",href:"/r/fantrailers"},{img:"/img/house-ads/imaginarycolorscapes.png",href:"/r/imaginarycolorscapes"},{img:"/img/house-ads/imaginarydragons.png",href:"/r/imaginarydragons"},{img:"/img/house-ads/oldschoolcelebs.png",href:"/r/oldschoolcelebs"}];var O=()=>{const e=p()(0,y.length-1);var t=y[e];const o=t.img,n=t.href;return g(v,{className:"GoogleAd HomeAds InArticleAd LeftAd SidebarAd ad-300-250 ad-banner adbar adbox1 ads-area adsense-ad box_ad googad"},void 0,g("a",{href:c.a.redditUrl+n,target:"_blank"},void 0,g(x,{src:c.a.assetPath+o})))},C=o("./src/lib/constants/index.ts"),w=o("./src/reddit/components/PostMedia/index.tsx"),j=o("./src/reddit/components/PostTitle/index.tsx"),S=o("./src/reddit/components/PostTopMeta/index.tsx"),I=o("./src/lib/getShortenedLink.ts"),P=o("./src/lib/opener/index.ts"),k=o("./src/reddit/actions/ad.ts"),T=o("./src/reddit/components/PostContainer/index.tsx"),N=o("./src/reddit/constants/adEvents.ts"),_=o("./src/reddit/contexts/InsideOverlay.tsx"),L=o("./src/reddit/contexts/PageLayer/index.tsx"),M=o("./src/reddit/controls/OutboundLink/styled.tsx"),E=o("./src/reddit/helpers/adCount/index.ts"),A=o("./src/reddit/helpers/pixels.ts"),F=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),R=o("./src/reddit/helpers/truncateStringWithEllipsis.ts"),B=o("./src/reddit/icons/fonts/OutboundLink/index.tsx"),D=o("./src/reddit/models/Media/index.ts"),$=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const U=h()(e=>$("img",{className:e.className,src:e.src})).withConfig({componentId:"vhpvp7-0"})(["margin: 0 auto;width: 100%;height: 100%;"]);class W extends i.a.Component{render(){const e=this.props.post;if(!e.media)return null;const t=e.media&&!Object(D.A)(e.media)?e.media.content:"",o=e.media.type;if(!t||!o)return null;switch(o){case C.mb.IMAGE:return $(U,{src:t});default:return null}}}var H=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const V=h()(S.d).withConfig({componentId:"voxuu6-0"})(["","display: block;"],S.e),z=h.a.div.withConfig({componentId:"voxuu6-1"})(["","background-color: ",";min-width: 300px;&::before {content: '","';color: ",";display: block;","font-weight: 500;}"],u.t,e=>Object(b.c)(e).body,Object(s.a)("en","sidebar.sponsored"),e=>Object(b.c)(e).actionIcon,m.b),K=({children:e})=>H("div",{},void 0,e),q=h.a.div.withConfig({componentId:"voxuu6-2"})(["","background-color: ",";"],u.t,e=>Object(b.c)(e).body),G=h()(B.a).withConfig({componentId:"voxuu6-3"})(["font-size: 13px;padding-left: 3px;vertical-align: middle;"]),J=h.a.div.withConfig({componentId:"voxuu6-4"})(["display: flex;"]),Q=h.a.div.withConfig({componentId:"voxuu6-5"})(["","align-items: center;display: flex;flex-direction: row;flex-wrap: nowrap;height: 16px;margin: 0 8px 8px;position: relative;"],F.metadataFont),Z=h()(j.c).withConfig({componentId:"voxuu6-6"})(["margin: 0 8px 0px 8px;"]),Y=h.a.div.withConfig({componentId:"voxuu6-7"})(["margin-top: 8px;"]),X=h.a.div.withConfig({componentId:"voxuu6-8"})(["","padding-top: 8px;"],u.u),ee=h()(T.a).withConfig({componentId:"voxuu6-9"})(["","cursor: pointer;"],e=>e.post.isMediaOnly?"":`\n ${u.v}\n ${S.e}\n `),te=640,oe=Object(L.w)({isOriginalPage:L.E,pageLayer:e=>e}),ne=(e,t)=>{Object(A.a)(t.events,N.a.Click),t.source?t.source.outboundUrl?Object(P.b)(t.source.outboundUrl,P.a.BLANK):Object(P.b)(t.source.url,P.a.BLANK):Object(P.b)(t.permalink,P.a.BLANK)},se=e=>Object(R.a)(e.title,100);var re=Object(d.connect)(null,(e,t)=>({refreshSidebarPromotedPost:()=>{const o=t.placement,n=t.placementIndex,s=t.isOverlay;e(Object(k.h)(Object(E.a)(o,!!s,n)))}}))(oe(Object(_.b)(class extends i.a.Component{constructor(){super(...arguments),this.refreshedAt=1/0}refresh(e){this.refreshedAt=Date.now(),this.props.refreshSidebarPromotedPost()}componentDidMount(){this.refreshedAt=Date.now()}componentWillReceiveProps(e){this.props.refreshKey!==e.refreshKey&&Date.now()-this.refreshedAt>6e3&&this.refresh(e)}render(){var e=this.props;const t=e.post,o=e.className,n=e.eventFactory,s=e.isOverlay;let r,i;return t.isBlank?(r=K,i=null):t.isMediaOnly?(r=z,i=H(W,{post:t})):(r=q,i=H(X,{},void 0,H(Q,{},void 0,H(V,{tooltipType:s?S.c.Lightbox:void 0,language:C.A,post:t,showSponsorIcon:!0,hideSource:!0,showTimestamp:!1})),H(Z,{post:t,size:j.b.Large,format:se}),t.source&&H(J,{},void 0,H(M.a,{href:t.source.url,isSponsored:!0,source:t.source},void 0,Object(I.a)(t),H(G,{}))),H(Y,{},void 0,t.media&&H(w.a,{isListing:!0,isNotCardView:!0,showCentered:!0,post:t,availableWidth:te,shouldLoad:!0})))),H(r,{},void 0,H(ee,{className:o,post:t,onClick:ne,eventFactory:n},void 0,i))}}))),ie=o("./src/reddit/components/SidebarSpacer/index.tsx"),de=o("./src/reddit/components/Widgets/ThemedWidget/index.tsx"),ae=o("./node_modules/reselect/lib/index.js"),ce=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const le=Object(ae.createStructuredSelector)({post:(e,t)=>{const o=t.placement,n=t.placementIndex,s=!!t.isOverlay;return e.sidebarPromotedPosts.models[Object(E.a)(o,s,n)]},pending:e=>!e.sidebarPromotedPosts.firstFetch}),pe=Object(d.connect)(le),me=Object(L.w)(),ue=h()(a.a).withConfig({componentId:"s104akuz-0"})(["min-height: 270px;min-width: 300px;&::before {content: '","';color: inherit;display: block;","font-weight: 500;}"],Object(s.a)("en","sidebar.sponsored"),m.b),be=h()(de.a).withConfig({componentId:"s104akuz-1"})(["padding: 6px;"]),fe=h.a.div.withConfig({componentId:"s104akuz-2"})(["min-height: 270px;min-width: 300px;&::before {content: '","';color: inherit;display: block;","font-weight: 500;}"],Object(s.a)("en","sidebar.sponsored"),m.b),he=(e,t,o)=>{let n="";return t&&(n+="overlay-"),n+=`sidebar-${e}`,null!=o&&(n+=`-${o}`),n},ge=e=>!(!e||e.isBlank)&&(!e.isMediaOnly||!!(e.media&&Object(D.x)(e.media)&&e.media.content)),ve=e=>!!e&&e.isBlank;t.a=me(pe(class extends i.a.Component{render(){var e=this.props;const t=e.className,o=e.pending,n=e.post,s=e.isOverlay,r=e.placementIndex,i=e.refreshKey,d=e.listingName,a=e.placement,c=e.sizes,l=e.position,p=e.forcePlaceholder,m=e.forceHouseAd,u=e.waitForProgrammatic;return p||o||!ge(n)&&u?ce(ie.a,{},void 0,ce(be,{className:t,contentOnly:!0},void 0,ce(fe,{}))):m?ce(ie.a,{},void 0,ce(O,{})):ge(n)?ce(ie.a,{},void 0,ce(re,{post:n,refreshKey:i,listingName:d,placement:a,placementIndex:r})):ce(ie.a,{},void 0,ce(be,{className:this.props.className,contentOnly:!0},void 0,ve(n)&&ce(re,{post:n,refreshKey:i,listingName:d,placement:a,placementIndex:r}),ce(ue,{id:he(a,s,r),sizes:c,placement:a,listingName:d,refreshKey:i,position:l})))}}))},"./src/reddit/components/SidebarFlairSettings/index.m.less":function(e,t,o){e.exports={badge:"_2a172ppKObqWfRHr8eWBKV"}},"./src/reddit/components/SidebarFooter/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s),i=o("./src/reddit/components/Widgets/ThemedWidget/index.tsx"),d=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),a=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const c=r.a.div.withConfig({componentId:"s21l9wz-0"})(["flex: 0 0 33.333%;width: 33.333%;"]);var l=r()(e=>a("div",{className:e.className},void 0,a(c,{},void 0,e.children[0]),a(c,{},void 0,e.children[1]),a(c,{},void 0,e.children[2]))).withConfig({componentId:"s21l9wz-1"})(["display: flex;flex-direction: row;"]),p=o("./src/app/strings/index.ts"),m=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const u=r()(l).withConfig({componentId:"s1168hkq-0"})(["margin-bottom: 16px;padding: 12px;"]),b=r.a.a.withConfig({componentId:"s1168hkq-1"})(["","display: block;text-decoration: none;text-transform: capitalize;"],d.titleFontH6),f=r.a.div.withConfig({componentId:"s1168hkq-2"})(["","text-align: center;padding-bottom: 12px;"],d.titleFontH6),h=r.a.a.withConfig({componentId:"s1168hkq-3"})(["text-decoration: none;text-transform: capitalize;margin: 0 4px;"]),g=r()(i.a).withConfig({componentId:"s1168hkq-4"})(["margin-top: ",";"],e=>e.removePaddingTop?0:"16px");t.a=(e=>m(g,{redditStyle:e.redditStyle,contentOnly:!0,removePaddingTop:e.removePaddingTop},void 0,m(u,{},void 0,m("div",{},void 0,m(b,{href:"https://about.reddit.com"},void 0,Object(p.a)("en","footer.links.about")),m(b,{href:"https://about.reddit.com/careers/"},void 0,Object(p.a)("en","footer.links.careers")),m(b,{href:"https://about.reddit.com/press/"},void 0,Object(p.a)("en","footer.links.press"))),m("div",{},void 0,m(b,{href:"https://about.reddit.com/advertise/"},void 0,Object(p.a)("en","footer.links.ad")),m(b,{href:"http://www.redditblog.com/"},void 0,Object(p.a)("en","footer.links.blog")),m(b,{href:"https://www.reddithelp.com"},void 0,Object(p.a)("en","footer.links.help"))),m("div",{},void 0,m(b,{href:"https://www.reddit.com/mobile/download"},void 0,Object(p.a)("en","footer.links.app")),m(b,{href:"https://www.reddit.com/coins"},void 0,Object(p.a)("en","footer.links.coins")),m(b,{href:"https://www.reddit.com/premium"},void 0,Object(p.a)("en","footer.links.premium")),m(b,{href:"http://redditgifts.com/"},void 0,Object(p.a)("en","footer.links.gifts")))),m(f,{},void 0,m("div",{},void 0,m(h,{href:"https://www.reddit.com/help/contentpolicy"},void 0," ",Object(p.a)("en","footer.legal.content")),m("span",{},void 0,"|"),m(h,{href:"https://www.reddit.com/help/privacypolicy"},void 0," ",Object(p.a)("en","footer.legal.privacy"))),m("div",{},void 0,m(h,{href:"https://www.reddit.com/help/useragreement"},void 0," ",Object(p.a)("en","footer.legal.user")),m("span",{},void 0,"|"),m(h,{href:"https://www.reddit.com/help/healthycommunities/"},void 0," ",Object(p.a)("en","footer.legal.mod"))),m("div",{},void 0,Object(p.a)("en","footer.legal.cp")))))},"./src/reddit/components/SidebarSectionHeader/index.tsx":function(e,t,o){"use strict";o.d(t,"b",function(){return i});var n=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s);const i=`\n ${o("./src/reddit/helpers/styles/mixins/fonts.tsx").labelsFont}\n padding-bottom: 4px;\n`;t.a=r.a.div.withConfig({componentId:"s12kkcqc-0"})(["","border-bottom: 2px solid ",";color: ",";margin-bottom: 10px;"],i,e=>Object(n.c)(e).field,e=>Object(n.c)(e).actionIcon)},"./src/reddit/components/SidebarSpacer/index.tsx":function(e,t,o){"use strict";var n=o("./bundled-modules/styled-components/styled-components.min.js"),s=o.n(n),r=o("./src/reddit/constants/componentSizes.ts");t.a=s.a.div.withConfig({componentId:"ii4q9d-0"})(["margin-top: 16px;width: ","px;"],r.F)},"./src/reddit/components/SidebarStickyBottom/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/lodash/throttle.js"),r=o.n(s),i=o("./node_modules/react/index.js"),d=o("./bundled-modules/styled-components/styled-components.min.js"),a=o.n(d),c=o("./src/lib/constants/index.ts"),l=o("./node_modules/react-redux/es/index.js"),p=o("./node_modules/reselect/lib/index.js"),m=o("./src/app/strings/index.ts"),u=o("./src/reddit/controls/Button/index.tsx"),b=o("./src/reddit/selectors/monthsToMinutes.ts"),f=o("./src/reddit/selectors/user.ts"),h=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const g=a.a.div.withConfig({componentId:"pqvesn-0"})(["text-align: center;"]),v=a.a.div.withConfig({componentId:"pqvesn-1"})(["text-align: right;"]),x=a()(u.d).withConfig({componentId:"pqvesn-2"})(["width: 128px;"]),y=a()(u.d).withConfig({componentId:"pqvesn-3"})(["width: 120px;"]),O=Object(p.createStructuredSelector)({language:f.M,showAccountCompletenessInBottom:b.v});var C=Object(l.connect)(O)(e=>{const t=e.showAccountCompletenessInBottom?v:g,o=e.showAccountCompletenessInBottom?y:x;return h(t,{className:e.className},void 0,h(o,{onClick:()=>window.scroll(0,0)},void 0,Object(m.a)(e.language,"listings.backToTop")))}),w=o("./src/reddit/components/SidebarFooter/index.tsx"),j=o("./src/reddit/components/SidebarSpacer/index.tsx"),S=o("./src/reddit/constants/componentSizes.ts"),I=o("./src/reddit/contexts/PageLayer/index.tsx"),P=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const k=c.f[1]+24,T=S.j+8,N=T+152+32+16,_=N+k+8,L=a.a.div.withConfig({componentId:"nowfa1-0"})(["flex: 1 1 auto;position: relative;width: inherit;"]),M=a()(C).withConfig({componentId:"nowfa1-1"})(["margin-top: 50vh;position: sticky;top: calc(100vh - ","px);"],40),E=(a()(j.a).withConfig({componentId:"nowfa1-2"})(["",""],e=>e.isAdSticky?"\n position: sticky;\n ":""),a()(w.a).withConfig({componentId:"nowfa1-3"})(["",""],e=>e.isFooterSticky?"\n position: sticky;\n ":""),a()(w.a).withConfig({componentId:"nowfa1-4"})(["",""],e=>e.isFooterSticky?"\n position: sticky;\n ":""),a()(({className:e,isSticky:t,children:o})=>P("div",{className:e},void 0,o)).withConfig({componentId:"nowfa1-5"})(["",""],e=>e.isSticky?"\n position: sticky;\n top: 57px;\n":""));const A=Object(I.w)();t.a=A(class extends i.Component{constructor(e){super(e),this.containerEl=null,this.windowHeight=1/0,this.getStickyContents=(()=>({shouldAdSticky:this.windowHeight>_,shouldFooterSticky:this.windowHeight>N})),this.updateState=(()=>{if(this.isHidden())return;var e=this.getStickyContents();const t=e.shouldAdSticky,o=e.shouldFooterSticky;t===this.state.isAdSticky&&o===this.state.isFooterSticky||this.setState({isAdSticky:t,isFooterSticky:o})}),this.updateMeasurements=(()=>{this.windowHeight=window.innerHeight}),this.handleResize=r()(()=>{this.updateMeasurements(),this.updateState()},c.K),this.setWrapperRef=(e=>this.containerEl=e||null),this.state={isAdSticky:!0,isFooterSticky:!0}}isHidden(){return!this.containerEl||null===this.containerEl.offsetParent}componentDidMount(){this.isHidden()||this.handleResize(),window.addEventListener("resize",this.handleResize)}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}render(){const e=this.props.adComponent,t=this.state.isAdSticky&&!!e;return P(L,{innerRef:this.setWrapperRef},void 0,P(E,{isSticky:t},void 0,e,P(w.a,{removePaddingTop:this.props.removePaddingTop})),P(M,{}))}})},"./src/reddit/components/SubredditNav/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./node_modules/reselect/lib/index.js"),a=o("./src/reddit/components/TrackingHelper/index.tsx"),c=o("./src/reddit/contexts/PageLayer/index.tsx"),l=o("./src/reddit/featureFlags/component.tsx"),p=o("./src/reddit/selectors/user.ts"),m=o("./src/reddit/selectors/widgets.ts"),u=o("./bundled-modules/styled-components/styled-components.min.js"),b=o.n(u),f=o("./src/app/strings/index.ts"),h=o("./src/reddit/actions/subreddit.ts"),g=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),v=o("./node_modules/react-router-dom/es/index.js"),x=o("./src/reddit/constants/zIndex.ts"),y=o("./src/reddit/helpers/styles/components/index.tsx"),O=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),C=o("./src/reddit/icons/svgs/Dropdown/index.tsx"),w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},j=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),S=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const I=e=>e.isActive?Object(g.c)(e).navBar.activeLink:Object(g.c)(e).navBar.inactiveLink,P=Object(u.css)(["","","display: inline-block;padding-bottom: ",";padding-top: 4px;&:first-child {margin-left: 0;}"],O.tabFont,e=>`\n ${e.isActive&&`border-bottom: 3px solid ${I(e)}`};\n color: ${I(e)};\n `,e=>e.isActive?"1px":"4px"),k=b()(C.b).withConfig({componentId:"s8ofjbx-0"})(["fill: ",";"],e=>I(e)),T=b()(e=>{var t=e.children,o=(e.isActive,S(e,["children","isActive"]));return r.a.createElement("div",o,j("span",{},void 0,t),j(k,{}))}).withConfig({componentId:"s8ofjbx-1"})(["","padding-left: 8px;"],P),N=Object(u.css)(["","margin: 0px 5px;padding-left: 8px;padding-right: 8px;&:hover {color: ",";",""],P,e=>Object(g.c)(e).navBar.hoverLink,e=>`\n ${e.isActive&&`border-bottom: 3px solid ${Object(g.c)(e).navBar.hoverLink}`}; }\n `),_=b()(e=>{e.isActive;var t=e.to,o=S(e,["isActive","to"]);return t?r.a.createElement(v.a,w({to:t},o)):r.a.createElement("a",o)}).withConfig({componentId:"s8ofjbx-2"})(["",""],N),L=b()(e=>{e.isActive;var t=S(e,["isActive"]);return r.a.createElement(v.a,t)}).withConfig({componentId:"s8ofjbx-3"})(["",""],N),M=b.a.a.withConfig({componentId:"s8ofjbx-4"})(["","color: ",";display: block;padding: 12px 16px;border-bottom: 1px solid ",";white-space: nowrap;&:hover {color: ",";background-color: ",";}&:last-child {border-bottom: none;}"],O.titleFontH5,e=>Object(g.c)(e).metaText,e=>I(e),e=>Object(g.c)(e).navBar.submenuBackgroundColor,e=>Object(g.c)(e).navBar.hoverLink),E=b.a.div.withConfig({componentId:"s8ofjbx-5"})(["cursor: pointer;display: inline-block;position: relative;"]),A=b()(Object(y.a)()).withConfig({componentId:"s8ofjbx-6"})(["background-color: ",";border-radius: 4px;border-top-width: 0;box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);display: ",";left: 0;min-width: 100%;overflow: hidden;position: absolute;top: 100%; /* Accounts for container padding */z-index: ",";"],e=>Object(g.c)(e).navBar.submenuBackgroundColor,e=>e.isOpen?"block":"none",x.h);var F=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const R=b()(L).withConfig({componentId:"s14rbsf4-0"})(["color: ",";"],e=>Object(g.c)(e).navBar.activeLink);const B=Object(d.createStructuredSelector)({language:e=>e.user.language,isActive:(e,t)=>!!e.subreddits.appliedFilters.meta[t.subredditId],subreddit:(e,t)=>e.subreddits.models[t.subredditId]});var D=Object(c.w)()(Object(i.connect)(B,(e,t)=>({onTurnOnMetaFilter:()=>e(Object(h.p)({subredditId:t.subredditId,forceState:!0}))}))(function(e){const t=e.pageLayer,o=e.subreddit;return o?F(R,{to:o.url,isActive:e.isActive,onClick:o=>{Object(c.J)(t)&&o.preventDefault(),e.onTurnOnMetaFilter()}},void 0,Object(f.a)(e.language,"header.metaFilter")):null})),$=o("./src/lib/linkMatchers/index.ts"),U=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();var W=class extends r.a.Component{constructor(){super(...arguments),this.state={isOpen:!1},this.handleOpen=(e=>this.setState(()=>({isOpen:!0}))),this.handleClose=(e=>this.setState(()=>({isOpen:!1})))}render(){const e=this.props,t=this.state;return U(E,{onClick:this.handleOpen,onMouseLeave:this.handleClose},void 0,U(T,{isActive:e.isActive},void 0,e.label),U(A,{isOpen:t.isOpen,"aria-hidden":!t.isOpen,role:"list"},void 0,e.children))}},H=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const V=e=>{const t=e.url&&Object($.e)($.c,e.url);return t?t.url:e.url};var z=e=>e.menuItem.url?H(_,{href:V(e.menuItem),isActive:!!e.isActive},void 0,e.menuItem.text):H(W,{isActive:!!e.isActive,label:e.menuItem.text},void 0,e.menuItem.children&&e.menuItem.children.map(e=>H(M,{role:"listitem",href:V(e),target:"_blank",rel:"nofollow"},`${e.text}-${V(e)}`,e.text))),K=o("./src/lib/constants/index.ts"),q=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const G=Object(c.w)(),J=[K.Rb.SUBREDDIT,K.Rb.COMMENTS,K.Rb.COLLECTION_COMMENTS],Q=Object(d.createStructuredSelector)({language:e=>e.user.language,isMetaFilterEnabled:(e,t)=>!!e.subreddits.appliedFilters.meta[t.subredditId],isPostsRoute:(e,t)=>!!t.pageLayer&&!!t.pageLayer.meta&&J.indexOf(t.pageLayer.meta.name)>-1});var Z=G(Object(i.connect)(Q,(e,t)=>({onTurnOffMetaFilter:()=>e(Object(h.p)({subredditId:t.subredditId,forceState:!1}))}))(function(e){const t=e.homeUrl,o=e.isMetaFilterEnabled,n=e.isPostsRoute,s=e.language,r=e.onTurnOffMetaFilter;return q(_,{to:t,isActive:n&&!o,onClick:e=>{o&&(e.preventDefault(),r())}},void 0,Object(f.a)(s,"structuredStyles.forms.menuLinks.homeLinkLabel"))})),Y=o("./src/higherOrderComponents/makeAsync.tsx");var X=Object(Y.a)({ErrorComponent:()=>null,LoadingComponent:()=>null,getComponent:()=>o.e("HarbergerTaxBannerPurchaseCTA").then(o.bind(null,"./src/reddit/components/Governance/HarbergerTax/BannerPurchaseCTA/index.tsx")).then(e=>e.default)}),ee=o("./src/reddit/constants/postLayout.ts"),te=o("./src/reddit/constants/screenWidths.ts"),oe=o("./src/reddit/models/Theme/index.ts"),ne=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const se=b.a.div.withConfig({componentId:"s1s4hmd1-0"})(["margin: 0 auto;position: ",";bottom: 0;left: 0;right: 0;background: ",";"],e=>Object(g.c)(e).navBar.useOverlay?"absolute":"static",e=>Object(oe.g)(Object(g.c)(e).navBar.backgroundColor,Object(g.c)(e).navBar.backgroundImage,"tiled")),re=b.a.div.withConfig({componentId:"s1s4hmd1-1"})(["align-items: center;display: flex;flex-direction: row;justify-content: space-between;margin: 0 auto;min-width: 260px;@media(min-width: ","px) {padding: 0 16px;}"],te.i);var ie=e=>ne(se,{className:e.className},void 0,ne(re,{style:{maxWidth:e.disableFullscreen||e.layout===ee.f.Large?`${e.maxWidth||te.c}px`:"100%"}},void 0,ne("div",{},void 0,e.children),ne(X,{}))),de=o("./src/reddit/actions/pages/subredditWiki/constants.ts"),ae=o("./src/reddit/components/Translated/index.tsx"),ce=o("./src/reddit/helpers/trackers/subredditWiki.ts"),le=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();var pe=e=>{const t=e.homeUrl,o=e.pageLayer,n=!!o&&!!o.meta&&o.meta.name===K.Rb.SUBREDDIT_WIKI,s=`wiki/${de.c}`,r=t.endsWith("/")?t+s:`${t}/${s}`;return le(_,{isActive:n,to:r,onClick:()=>e.sendEvent(Object(ce.b)())},void 0,le(ae.a,{msgId:"structuredStyles.forms.menuLinks.wikiHomeLinkLabel"}))},me=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const ue=Object(l.a)("spPolls",D),be=Object(c.w)(),fe=Object(d.createStructuredSelector)({language:p.M,layout:c.O,widget:m.e}),he=Object(i.connect)(fe);t.a=be(he(Object(a.b)(e=>me(ie,{layout:e.layout,disableFullscreen:e.disableFullscreen,maxWidth:e.maxWidth},void 0,e.subredditId&&me(r.a.Fragment,{},void 0,me(Z,{homeUrl:e.homeUrl,subredditId:e.subredditId}),me(ue,{subredditId:e.subredditId})),e.widget&&me(r.a.Fragment,{},void 0,e.widget.showWiki&&me(pe,{homeUrl:e.homeUrl,pageLayer:e.pageLayer,sendEvent:e.sendEvent}),!!e.widget.data.length&&e.widget.data.map((e,t)=>me(z,{isActive:!1,menuItem:e},t)))))))},"./src/reddit/components/Widgets/Base/index.tsx":function(e,t,o){"use strict";o.d(t,"b",function(){return c}),o.d(t,"a",function(){return p});o("./node_modules/react/index.js");var n,s=o("./src/reddit/components/SidebarSectionHeader/index.tsx"),r=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o.n(i),a=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const c="\n \n border-radius: 5px 5px 4px 4px;\n overflow: visible;\n word-wrap: break-word;\n",l=d.a.div.withConfig({componentId:"s1npjf9r-0"})(["","background-color: ",";padding: 12px;"],c,e=>Object(r.c)(e).body),p=d.a.h3.withConfig({componentId:"s1npjf9r-1"})(["","color: ",";"],s.b,e=>Object(r.c)(e).navIcon);t.c=(e=>a("div",{className:e.className},void 0,a(l,{},void 0,e.children)))},"./src/reddit/components/Widgets/CommunityList/SubredditList.tsx":function(e,t,o){"use strict";var n=o("./src/app/strings/index.ts"),s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-router-dom/es/index.js"),d=o("./src/lib/prettyPrintNumber/index.ts"),a=o("./src/reddit/components/Flair/index.tsx"),c=o("./src/reddit/components/SubscribeButton/index.tsx"),l=o("./node_modules/react-redux/es/index.js"),p=o("./node_modules/reselect/lib/index.js"),m=o("./src/reddit/actions/subscription.ts"),u=o("./src/reddit/selectors/experiments/subscribeText.ts"),b=o("./src/reddit/selectors/user.ts");const f=Object(p.createStructuredSelector)({language:b.M,textVariant:u.b});var h=Object(l.connect)(f,(e,t)=>{const o=t.widget.id||void 0;return{onSubscribe:()=>e(m.g(t.identifier,!0,o)),onSubscriptionsRequested:()=>e(m.h()),onUnsubscribe:()=>e(m.g(t.identifier,!1,o))}})(o("./src/reddit/components/SubscribeButton/Base.tsx").c),g=o("./src/reddit/components/Widgets/ThemedWidget/index.tsx"),v=o("./src/reddit/connectors/connectToLanguage.ts"),x=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),y=o("./src/reddit/icons/svgs/CircledPlanet/index.tsx"),O=o("./src/reddit/layout/threeCol/ExpandCenter/index.tsx"),C=o("./src/reddit/models/Flair/index.ts"),w=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),j=o("./bundled-modules/styled-components/styled-components.min.js"),S=o.n(j),I=o("./src/reddit/components/Widgets/CommunityList/helpers.ts"),P=o("./src/reddit/components/Widgets/CommunityList/index.m.less"),k=o.n(P);o.d(t,"b",function(){return $}),o.d(t,"a",function(){return U});var T,N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},_=(T="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,n){var s=e&&e.defaultProps,r=arguments.length-3;if(t||0===r||(t={}),t&&s)for(var i in s)void 0===t[i]&&(t[i]=s[i]);else t||(t=s||{});if(1===r)t.children=n;else if(r>1){for(var d=Array(r),a=0;a<r;a++)d[a]=arguments[a+3];t.children=d}return{$$typeof:T,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const L=S.a.div.withConfig({componentId:"kufqoz-0"})(["height: 32px;"]),M="\n border-radius: 100%;\n height: 32px;\n margin-right: 8px;\n width: 32px;\n",E=S()(y.a).withConfig({componentId:"kufqoz-1"})(["",";background: ",";box-sizing: border-box;fill: ",";padding: 3px;"],M,e=>Object(w.c)(e).active,e=>Object(w.c)(e).lightText),A=S.a.img.withConfig({componentId:"kufqoz-2"})(["",";"],M),F=S.a.div.withConfig({componentId:"kufqoz-3"})(["width: 100%;"]),R=S()(i.a).withConfig({componentId:"kufqoz-4"})(["",";display: block;overflow: hidden;text-overflow: ellipsis;width: 132px;&:hover {text-decoration: underline;}"],x.titleFontH6),B=S.a.p.withConfig({componentId:"kufqoz-5"})(["","padding-bottom: 4px;"],x.metadataFont),D=S.a.p.withConfig({componentId:"kufqoz-6"})(["","font-weight: normal;"],x.metadataFont),$=e=>_(g.a,{className:e.className,styles:e.widget&&e.widget.styles,title:e.title},void 0,_(F,{},void 0,e.communities.map(t=>r.a.createElement(U,N({key:t.name},t,{getSubscribeEventFactory:e.getSubscribeEventFactoryHandler?e.getSubscribeEventFactoryHandler(t):void 0,widget:e.widget,sendEvent:e.sendEvent,type:t.type||"subreddit",isNSFW:t.isNSFW,onCommunityNameClick:e.getClickEventFactory?()=>e.sendEvent(e.getClickEventFactory(t)):void 0}))))),U=Object(v.a)(e=>_("div",{className:k.a.communityItemContainer},void 0,_(O.a,{widthRight:106},void 0,_(L,{},void 0,e.iconUrl?_(A,{src:e.iconUrl}):_(E,{"data-redditstyle":!0})),_("div",{className:k.a.communityDescriptionContainer},void 0,_(R,{to:Object(I.a)(e.name,e.type),onClick:e.onCommunityNameClick},void 0,Object(I.b)(e.name,e.type)),_("div",{className:k.a.communityInfoContainer},void 0,!!e.subscribers&&_(B,{},void 0,Object(n.d)(e.language,"listings.subscribers",e.subscribers,{count:Object(d.b)(e.subscribers)})),e.isNSFW&&_(a.c,{flair:{type:C.e.Nsfw,text:"nsfw"}}))),e.widget?_(h,{getEventFactory:e.getSubscribeEventFactory,identifier:{name:e.name,type:e.type},sendEvent:e.sendEvent,small:!0,userIsSubscriber:!!e.isSubscribed,widget:e.widget}):_(c.a,{identifier:{name:e.name,type:e.type},getEventFactory:e.getSubscribeEventFactory,small:!0})),!!e.description&&_(D,{title:e.description,className:k.a.communityDescription},void 0,e.description)))},"./src/reddit/components/Widgets/CommunityList/helpers.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return r}),o.d(t,"b",function(){return i});var n=o("./src/reddit/constants/posts.ts"),s=o("./src/reddit/helpers/name/index.ts");function r(e,t){return(t===n.a.PROFILE?"/user/":"/r/")+e}function i(e,t){return t===n.a.PROFILE?Object(s.c)(e):Object(s.b)(e)}},"./src/reddit/components/Widgets/CommunityList/index.m.less":function(e,t,o){e.exports={communityItemContainer:"_3NFddqqrzfM8noBES52Qcy",communityDescriptionContainer:"_3jEbHrUmHtMsZcfN-z_GpD",communityDescription:"_2IANzA2n-6eA5T8Tz0TEVE"}},"./src/reddit/components/Widgets/ConnectedAccounts/Account/index.m.less":function(e,t,o){e.exports={icon:"_1zLylbOLqdzG2C4JhdkEVQ",patreonLogo:"_3mKraSoIJUnWOE1E84gnuC",twitterLogo:"_1N1dJvzR-m3nNoVl8cxHul",link:"JqNsQRTEcAPCq8_G0O5mO",name:"_28fbIV1TS_oSVjfzjWnM0f",linkDescription:"_2Y1Xv08xrWbsDZuEvIuRKo",linkTitle:"elMVR2YfkbHdFTihhlUK4",linkIcon:"oi2L0mBSRAULcOPEtjXSh",description:"KKNu_jB7N6A-PuBrW0WoR",visitButton:"NBL39n3gjYvG4c9qlXJIk"}},"./src/reddit/components/Widgets/ConnectedAccounts/index.m.less":function(e,t,o){e.exports={account:"_25M-5tlJjQOChCI8sg84QU"}},"./src/reddit/components/Widgets/ConnectedAccounts/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./node_modules/react-redux/es/index.js"),r=o("./node_modules/reselect/lib/index.js"),i=o("./src/app/strings/index.ts"),d=o("./src/reddit/components/SidebarSpacer/index.tsx"),a=o("./src/reddit/components/TrackingHelper/index.tsx"),c=o("./src/reddit/components/Widgets/Base/index.tsx"),l=o("./src/reddit/constants/posts.ts"),p=o("./src/reddit/helpers/trackers/profileSettings.ts"),m=o("./src/reddit/helpers/trackers/providers.ts"),u=o("./src/reddit/models/ExternalAccount/index.ts"),b=o("./src/reddit/selectors/externalAccount.ts"),f=o("./src/reddit/selectors/user.ts"),h=o("./bundled-modules/styled-components/styled-components.min.js"),g=o.n(h),v=o("./src/lib/addQueryParams/index.ts"),x=o("./src/reddit/constants/colors.ts"),y=o("./src/reddit/controls/OutboundLink/index.tsx"),O=o("./src/reddit/icons/svgs/OutboundLink/index.tsx"),C=o("./src/reddit/icons/svgs/Patreon/index.tsx"),w=o("./src/reddit/icons/svgs/Twitter/index.tsx"),j=o("./src/reddit/layout/twoCol/ExpandRight/index.tsx"),S=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),I=o("./src/reddit/components/Widgets/ConnectedAccounts/Account/index.m.less"),P=o.n(I),k=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const T=g()(j.a).withConfig({componentId:"s1v4zrhs-0"})(["."," {background-color: ",";}.patreonIcon {background-color: ",";}."," {color: ",";}."," {fill: ",";}."," {color: ",";}"],P.a.icon,x.a.twitter,C.a,P.a.name,e=>Object(S.c)(e).bodyText,P.a.linkIcon,e=>Object(S.c)(e).linkText,P.a.linkDescription,e=>Object(S.c)(e).linkText);var N=e=>{const t=e.account,o=e.clickEvent,n=e.currentUserIsPatronOfSubredditOrProfile,s=e.language,r=e.provider;let d,a=t.username,c=P.a.icon,l="",p=t.link;if(r===u.a.Twitter)d=k(w.a,{className:P.a.twitterLogo}),l="View on Twitter",a=`@${t.username}`;else{if(r!==u.a.Patreon)return null;d=k(C.b,{className:P.a.patreonLogo}),n?(l=Object(i.a)(s,"connectedAccounts.thankYouForYourSupport"),p=Object(v.a)(t.link,{utm_campaign:"reddit_patreon_widget",utm_content:"thank_you"})):(l=Object(i.a)(s,"connectedAccounts.getExclusiveFlair"),p=Object(v.a)(t.link,{utm_campaign:"reddit_patreon_widget",utm_content:"become_patron"})),c=`${P.a.icon} patreonIcon`}return k(T,{},void 0,k("span",{className:c},void 0,d),k(y.a,{className:P.a.link,href:p,isSponsored:!1,source:void 0,onClick:o},void 0,k("div",{className:P.a.linkTitle},void 0,k("span",{className:P.a.name},void 0,a),k(O.a,{className:P.a.linkIcon})),k("div",{className:P.a.linkDescription},void 0,l)))},_=o("./src/reddit/components/Widgets/ConnectedAccounts/index.m.less"),L=o.n(_),M=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const E=Object(r.createStructuredSelector)({currentUserIsPatronOfSubredditOrProfile:(e,{subredditOrProfile:t})=>Object(b.a)(e,t),language:f.M,patreonAccount:(e,{subredditOrProfile:t})=>Object(b.d)(e,t),twitterAccount:(e,{subredditOrProfile:t})=>t.type===l.a.PROFILE?Object(b.e)(e,{profileName:t.name}):null,user:(e,{subredditOrProfile:t})=>t.type===l.a.PROFILE?Object(f.bb)(e,{userName:t.name}):null}),A=Object(s.connect)(E,e=>({trackTwitterAccountClicked:t=>e((e,o)=>p.k(o(),t))}),(e,t,o)=>Object.assign({},o,e,t,{onTwitterAccountClicked:()=>t.trackTwitterAccountClicked(e.user)}));t.a=Object(a.b)(A(e=>{const t=e.currentUserIsPatronOfSubredditOrProfile,o=e.language,n=e.onTwitterAccountClicked,s=e.patreonAccount,r=e.sendEvent,a=e.twitterAccount;return a||s?M(d.a,{},void 0,M(c.c,{},void 0,M(c.a,{},void 0,Object(i.a)(o,"connectedAccounts.title")),a&&M("div",{className:L.a.account},void 0,M(N,{provider:u.a.Twitter,account:a,language:o,clickEvent:n})),s&&M("div",{className:L.a.account},void 0,M(N,{provider:u.a.Patreon,account:s,currentUserIsPatronOfSubredditOrProfile:t,language:o,clickEvent:()=>r(Object(m.c)())})))):null}))},"./src/reddit/components/Widgets/PostCollection/CollectionOverflowMenu/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/lodash/noop.js"),r=o.n(s),i=o("./node_modules/react/index.js"),d=o.n(i),a=o("./node_modules/react-redux/es/index.js"),c=o("./node_modules/react-router-redux/es/index.js"),l=o("./bundled-modules/styled-components/styled-components.min.js"),p=o.n(l),m=o("./src/app/strings/index.ts"),u=o("./src/reddit/actions/modal.ts"),b=o("./src/reddit/actions/post.ts"),f=o("./src/reddit/actions/postCollection.ts"),h=o("./src/reddit/components/ConfirmUserActionModal/index.tsx"),g=o("./src/reddit/components/OverflowMenu/index.tsx"),v=o("./src/reddit/controls/Dropdown/Row.tsx"),x=o("./src/reddit/selectors/activeModalId.ts"),y=o("./src/reddit/selectors/postCollection.ts"),O=o("./src/reddit/selectors/user.ts"),C=o("./node_modules/reselect/lib/index.js"),w=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const j=p()(v.c).withConfig({componentId:"s12zzvz3-0"})(["padding: 8px 16px 8px 8px;cursor: pointer;&:first-child {border-radius: 4px 4px 0 0;}&:last-child {border-radius: 0 0 4px 4px;}"]);let S;const I=Object(x.b)("DELETE_COLLECTION_CONFM_MODAL_ID"),P=Object(x.b)("EDIT_POST_COLLECTION_MODAL_ID"),k=Object(C.createStructuredSelector)({createPostUrl:y.b,isDeleteConfirmModalOpen:I,isEditCollectionModalOpen:P,language:O.M,shouldShowCollectionEditOptions:y.m}),T=Object(a.connect)(k,(e,t)=>({copyLink:()=>e(Object(b.r)(t.permalink)),onCreatePost:o=>{t.shouldShowCreatePost&&e(Object(c.b)(o))},onRemoveCollection:()=>e(Object(f.t)(t.collectionId,t.isSubmitPage)),onToggleDeleteConfirmModal:()=>e(u.i("DELETE_COLLECTION_CONFM_MODAL_ID")),onToggleEditModal:async()=>{S||(S=await Promise.all([o.e("vendors~GiftsEditProfile~GiftsGiftCreation~GiftsGiftEdit~GiftsShipping~HarbergerTaxManageModal~Moder~43e8895f"),o.e("editCollectionModal")]).then(o.bind(null,"./src/reddit/components/EditCollectionModal/index.tsx")).then(e=>e.EditCollectionModal)),e(u.i("EDIT_POST_COLLECTION_MODAL_ID"))}}));t.a=T(e=>{const t=e.className,o=e.collectionId,n=e.copyLink,s=e.createPostUrl,i=e.isDeleteConfirmModalOpen,a=e.isEditCollectionModalOpen,c=e.language,l=e.onCreatePost,p=e.onRemoveCollection,u=e.onToggleDeleteConfirmModal,b=e.onToggleEditModal,f=e.shouldShowCollectionEditOptions,v=e.shouldShowCreatePost,x=e.targetPosition,y=e.tooltipPosition;return w(d.a.Fragment,{},void 0,w(g.b,{className:t,dropdownId:`collection-menu-${o}-${v?1:2}`,onClick:r.a,targetPosition:x,tooltipPosition:y},void 0,w(j,{onClick:n,displayText:Object(m.a)(c,"sidebar.widgets.postCollection.copyLink")}),f&&w(d.a.Fragment,{},void 0,w(j,{onClick:b,displayText:Object(m.a)(c,"collection.editModal.edit")}),w(j,{onClick:u,displayText:Object(m.a)(c,"sidebar.widgets.postCollection.deleteCollection")}),v&&w(j,{onClick:()=>{l(s)},displayText:Object(m.a)(c,"sidebar.widgets.postCollection.createPost")}))),a&&S&&w(S,{collectionId:o,onClose:b,onEditSuccess:b}),i&&w(h.a,{actionText:Object(m.a)(c,"collection.yesDelete"),headerText:Object(m.a)(c,"collection.deleteCollectionTitle"),modalText:Object(m.a)(c,"collection.deleteConfirmation"),onConfirm:p,toggleModal:u,trackClick:r.a}))})},"./src/reddit/components/Widgets/PostCollection/PostItem/OverflowMenu/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/lodash/noop.js"),r=o.n(s),i=(o("./node_modules/react/index.js"),o("./bundled-modules/styled-components/styled-components.min.js")),d=o.n(i),a=o("./src/app/strings/index.ts"),c=o("./src/reddit/components/LinkOrOverlayLink/index.tsx"),l=o("./src/reddit/components/OverflowMenu/index.tsx"),p=o("./src/reddit/controls/Dropdown/Row.tsx"),m=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const u=d()(p.c).withConfig({componentId:"s187o9xb-0"})(["padding: 8px 16px 8px 8px;cursor: pointer;border-radius: 4px;"]);t.a=(e=>{const t=e.isFutureEvent,o=e.language,n=e.onAddEventStartTime,s=e.onEditStartTime,i=e.onStartEventNow,d=e.postPermalink,p=e.shouldShowAddEventStartTime,b=e.targetPosition,f=e.tooltipPosition;return m(l.b,{className:e.className,dropdownId:e.dropdownId,onClick:r.a,targetPosition:b,tooltipPosition:f},void 0,p&&n&&m(u,{onClick:n,displayText:Object(a.a)(o,"sidebar.widgets.postCollection.addEventStartTime")}),t&&i&&m(u,{onClick:i,displayText:Object(a.a)(o,"sidebar.widgets.postCollection.startEventNow")}),t&&s&&m(u,{onClick:s,displayText:Object(a.a)(o,"sidebar.widgets.postCollection.editStartTime")}),m(u,{onClick:e.onRemoveClick,displayText:Object(a.a)(o,"sidebar.widgets.postCollection.removeFromCollection")}),d&&m(c.a,{target:"_blank",rel:"noopener noreferrer",isOverlay:!1,to:d},void 0,m(u,{displayText:Object(a.a)(o,"sidebar.widgets.postCollection.viewPost")})))})},"./src/reddit/components/Widgets/PostFlair/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./node_modules/reselect/lib/index.js"),a=o("./bundled-modules/styled-components/styled-components.min.js"),c=o.n(a),l=o("./src/app/strings/index.ts"),p=o("./src/reddit/components/Flair/index.tsx"),m=o("./src/reddit/components/TrackingHelper/index.tsx"),u=o("./src/reddit/components/Widgets/ThemedWidget/index.tsx"),b=o("./src/reddit/controls/Button/index.tsx"),f=o("./src/reddit/helpers/correlationIdTracker.ts"),h=o("./src/reddit/helpers/trackers/postFlair.ts"),g=o("./src/reddit/models/Flair/index.ts"),v=o("./src/reddit/selectors/subreddit.ts"),x=o("./src/reddit/selectors/user.ts"),y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},O=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const C=25,w=Object(d.createStructuredSelector)({language:x.M,subredditId:(e,t)=>Object(v.z)(e,t.subredditName)}),j=Object(i.connect)(w),S=c.a.div.withConfig({componentId:"o1qera-0"})(["padding-top: 4px;width: 100%;"]),I=c()(b.l).withConfig({componentId:"o1qera-1"})(["display: flex;margin-left: auto;"]),P=c()(e=>O("div",{className:e.className},void 0,r.a.createElement(p.c,y({},e,{forceSmallEmojis:!0})))).withConfig({componentId:"o1qera-2"})(["display: ",";margin-bottom: 3px;max-width: ",";overflow: hidden;text-overflow: ellipsis;"],e=>"cloud"===e.display?"inline-block":"block",e=>"cloud"===e.display?"97%":"fit-content");t.a=j(Object(m.b)(class extends r.a.Component{constructor(e){super(e),this.onClick=(e=>{const t={id:this.props.subredditId,eventType:"subreddit",originElement:"post_flair_widget",postFlairName:e};Object(f.d)(f.a.SearchResults),this.props.sendEvent(Object(h.b)(t))}),this.onToggleCollapse=(()=>this.setState({isCollapsed:!this.state.isCollapsed})),this.state={isCollapsed:!0}}render(){var e=this.props;const t=e.language,o=e.subredditName,n=e.widget,s=this.state.isCollapsed?n.order.slice(0,C):n.order,r=n.order.length>s.length||!this.state.isCollapsed;return O(u.a,{styles:n.styles,title:n.shortName},void 0,O(S,{},void 0,s.map(e=>O(P,{display:n.display,flair:n.templates[e]&&Object(g.i)(n.templates[e]),onClick:this.onClick,subredditName:o},e)),r&&O(I,{onClick:this.onToggleCollapse},void 0,this.state.isCollapsed?Object(l.a)(t,"structuredStyles.widgets.post-flair.viewMoreFlair"):Object(l.a)(t,"structuredStyles.widgets.post-flair.viewLessFlair"))))}}))},"./src/reddit/components/Widgets/SubredditRules/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./src/app/strings/index.ts"),d=o("./src/reddit/components/Widgets/ThemedWidget/index.tsx"),a=o("./src/reddit/connectors/connectToLanguage.ts"),c=o("./bundled-modules/styled-components/styled-components.min.js"),l=o.n(c),p=o("./src/reddit/components/RawHTMLDisplay/index.tsx"),m=o("./src/reddit/helpers/dom/index.ts"),u=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),b=o("./src/reddit/icons/svgs/ChevronDown/index.tsx"),f=o("./src/reddit/icons/svgs/ChevronUp/index.tsx"),h=o("./src/reddit/layout/threeCol/ExpandCenter/index.tsx"),g=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),v=o("./src/reddit/models/Widgets/index.ts"),x=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const y=Object(c.css)(["display: inline-block;height: 12px;width: 12px;"]),O=l()(f.a).withConfig({componentId:"k78cb0-0"})(["",""],y),C=l()(b.a).withConfig({componentId:"k78cb0-1"})(["",""],y),w=l.a.div.withConfig({componentId:"k78cb0-2"})(["","border-bottom: 1px solid ",";padding: 8px 0px;","&:last-child {border-bottom: none;padding-bottom: 0px;}"],u.titleFontH5,e=>Object(g.c)(e).widgetColors.lineColor,e=>e.pointerCursor?"cursor: pointer;":""),j=l.a.div.withConfig({componentId:"k78cb0-3"})(["padding-right: 2px;"]),S=l.a.div.withConfig({componentId:"k78cb0-4"})(["padding-right: 8px;word-break: break-word;"]),I=l.a.div.withConfig({componentId:"k78cb0-5"})(["","padding: 8px 8px 0px 16px;"],u.bodyFontH6),P=l()(p.a).withConfig({componentId:"k78cb0-6"})(["color: inherit;"]);class k extends r.a.Component{constructor(e){super(e),this.onClick=(()=>{Object(m.e)()||this.setState({isVisible:!this.state.isVisible})}),this.state={isVisible:this.shouldShowFullDisplay(e)}}shouldShowFullDisplay(e){return e.display===v.e.FULL}render(){const e=this.props,t=this.state,o=this.onClick,n=this.shouldShowFullDisplay,s=!n(e)&&!!e.rule.descriptionHtml;return x(w,{className:e.className,onClick:n(e)||!e.rule.descriptionHtml?void 0:o,pointerCursor:s},void 0,x(h.a,{},void 0,x(j,{},void 0,`${e.humanIndex}.`),x(S,{},void 0,`${e.rule.shortName}`),x("div",{},void 0,!n(e)&&e.rule.descriptionHtml&&(t.isVisible?x(O,{}):x(C,{})))),t.isVisible&&x(I,{},void 0,x(P,{html:e.rule.descriptionHtml})))}}o.d(t,"a",function(){return N});var T=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const N=Object(a.a)(e=>e.rules.length>0?T(d.a,{className:e.className,styles:e.styles,title:Object(i.a)(e.language,"structuredStyles.widgets.subreddit-rules.subredditRules",{subreddit:e.subredditName}),redditStyle:e.redditStyle},void 0,e.rules.map(function(t,o){return T(k,{rule:t,display:e.display,humanIndex:o+1},`rule${t.shortName}${t.createdUtc}`)})):null);t.b=(e=>T(N,{rules:e.widget.data||[],subredditName:e.subredditName,display:e.widget.display,redditStyle:e.redditStyle,styles:e.widget.styles}))},"./src/reddit/components/Widgets/ThemedWidget/index.m.less":function(e,t,o){e.exports={widgetHeader:"_ZhON3a3vplThB8NFwuJn",widgetTitle:"_2sggAEfRQLyoAl4J__5twU",widgetContent:"TmgZY6tDcdErbE5d7E0HJ",widgetContentOnly:"_3RPJ8hHnfFohktLZca18J6"}},"./src/reddit/components/Widgets/ThemedWidget/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/polished/dist/polished.es.js"),r=o("./node_modules/react/index.js"),i=o.n(r),d=o("./node_modules/react-redux/es/index.js"),a=o("./node_modules/reselect/lib/index.js"),c=o("./bundled-modules/styled-components/styled-components.min.js"),l=o.n(c),p=o("./src/reddit/components/Widgets/Base/index.tsx"),m=o("./src/reddit/contexts/PageLayer/index.tsx"),u=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),b=o("./src/reddit/selectors/structuredStyles.ts"),f=o("./src/reddit/selectors/user.ts"),h=o("./src/reddit/components/Widgets/ThemedWidget/helpers.tsx"),g=o("./src/reddit/components/Widgets/ThemedWidget/index.m.less"),v=o.n(g),x=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),y=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const O=Object(m.w)(),C=Object(d.connect)(()=>Object(a.createStructuredSelector)({forceRedditStyle:(e,t)=>{const o=Object(m.p)(e,t)||void 0;return t.redditStyle||Object(b.l)(e,{subredditId:o})},isNightmodeOn:f.O})),w=l()(e=>i.a.createElement("div",(e=>{e.styles,e.redditStyle,e.isNightmodeOn;return y(e,["styles","redditStyle","isNightmodeOn"])})(e))).withConfig({componentId:"s17ivpdx-0"})(["","background-color: ",";color: ",";fill: ",";",";."," {",";background-color: ",";color: ",";fill: ",";button, a {&:hover {background-color: ",";}}}"],p.b,e=>Object(h.a)(e),e=>Object(h.c)(e),e=>Object(h.c)(e),e=>e.onClick?"cursor: pointer":"",v.a.widgetHeader,u.labelsFont,e=>Object(h.b)(e),e=>Object(h.d)(e),e=>Object(h.d)(e),e=>Object(s.e)(Object(h.d)(e),.2));t.a=O(C(e=>x(w,{className:e.className,"data-redditstyle":e.forceRedditStyle,redditStyle:e.forceRedditStyle,isNightmodeOn:e.isNightmodeOn,onClick:e.onClick,styles:e.styles},void 0,e.title&&x("div",{className:v.a.widgetHeader},void 0,x("div",{className:v.a.widgetTitle},void 0,e.title),e.headerButton),x("div",{className:e.contentOnly?v.a.widgetContentOnly:v.a.widgetContent},void 0,e.children))))},"./src/reddit/components/Widgets/Widget/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./node_modules/react-redux/es/index.js"),d=o("./node_modules/reselect/lib/index.js"),a=o("./bundled-modules/styled-components/styled-components.min.js"),c=o.n(a),l=o("./src/reddit/components/RawHTMLDisplay/index.tsx"),p=o("./src/reddit/components/Widgets/ThemedWidget/index.tsx"),m=o("./src/reddit/controls/Button/index.tsx"),u=o("./src/lib/linkMatchers/index.ts"),b=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),f=o("./src/reddit/models/Image/index.tsx"),h=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),g=o("./src/reddit/models/Widgets/index.ts"),v=o("./src/reddit/selectors/structuredStyles.ts"),x=o("./src/reddit/selectors/user.ts"),y=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),O=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const C=`\n height: ${g.a}px;\n margin-top: 8px;\n width: 100%;\n`,w=(e,t)=>{let o=e.color,n=e.fillColor,s=e.textColor;return t.overrideColors&&(s=o=Object(h.c)(t).button,n=void 0),`\n background-color: ${n||"transparent"};\n background-image: none;\n border: 1px solid ${o};\n color: ${s||o};\n `},j=(e,t)=>{switch(e.kind){case g.f.Image:return`\n ${C};\n \n border: none;\n background-position: center;\n;\n background-image: url('${e.url}');\n `;case g.f.Text:return`\n ${C};\n ${w(e,t)}\n .button-text { display: inline }\n `;default:return""}},S=c()(e=>{var t=e.button,o=(e.overrideColors,O(e,["button","overrideColors"]));return r.a.createElement(m.g,o,t.kind===g.f.Text&&y("span",{className:"button-text"},void 0,t.text),t.hoverState&&t.hoverState.kind===g.f.Text&&y("span",{className:"button-hover-text"},void 0,t.hoverState.text))}).withConfig({componentId:"s7wv5qx-0"})(["",";."," { display: none };&:hover {."," { display: inline };."," { display: none };",";}"],e=>j(e.button,e),"button-hover-text","button-hover-text","button-text",e=>((e,t)=>{if(!e.hoverState)return j(e,t);switch(e.hoverState.kind){case g.f.Image:return`\n \n border: none;\n background-position: center;\n\n background-image: url('${e.hoverState.url}');\n `;case g.f.Text:return w(e.hoverState,t);default:return""}})(e.button,e)),I=e=>y("a",{href:(e=>{const t=Object(g.l)(e),o=Object(u.e)(u.c,t);return o?o.url:e.url})(e.button),target:"_blank",rel:"nofollow"},void 0,r.a.createElement(S,e)),P=c()(l.a).withConfig({componentId:"s7wv5qx-1"})(["color: inherit;","p {","}tr, th, td {padding: 4px;}h1, h2, h3, h4, h5, h6 {&:first-child {margin-top: 0;}}"],b.bodyFontSmall,b.bodyFontSmall);var k=Object(i.connect)(()=>Object(d.createStructuredSelector)({forceRedditStyle:v.l,isNightmodeOn:x.O}))(e=>y(p.a,{styles:e.widget.styles,title:e.widget.shortName},void 0,e.widget.descriptionHtml&&y(P,{html:e.widget.descriptionHtml}),e.widget.buttons.filter(e=>!(e.kind===g.f.Image&&e.url===f.c||e.hoverState&&e.hoverState.kind===g.f.Image&&e.hoverState.url===f.c)).map(t=>y(I,{button:t,overrideColors:e.forceRedditStyle||e.isNightmodeOn},`${t.text}-${t.url}`)))),T=o("./src/app/strings/index.ts"),N=o("./src/lib/humanizeDate/index.ts"),_=o("./src/reddit/controls/TextButton/index.tsx"),L=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const M=100,E={isExpanded:!1},A=c()(l.a).withConfig({componentId:"s12jr8h7-0"})(["color: inherit;"]),F=c.a.div.withConfig({componentId:"s12jr8h7-1"})(["border-bottom: 1px solid ",";margin-bottom: 8px;padding-bottom: 8px;&:last-child {border-bottom: none;}"],e=>Object(h.c)(e).widgetColors.lineColor),R=c.a.div.withConfig({componentId:"s12jr8h7-2"})(["","color: ",";margin-bottom: 4px;word-wrap: break-word;"],b.bodyFontH5,e=>Object(h.c)(e).active),B=c.a.div.withConfig({componentId:"s12jr8h7-3"})(["","margin-bottom: 4px;"],b.bodyFontH6),D=c.a.div.withConfig({componentId:"s12jr8h7-4"})(["","margin-bottom: 4px;"],b.bodyFontH6),$=c.a.div.withConfig({componentId:"s12jr8h7-5"})(["",""],b.bodyFontH6),U=c()(_.a).withConfig({componentId:"s12jr8h7-6"})(["color: ",";text-decoration: none;padding-left: 4px;"],e=>Object(h.c)(e).active);class W extends r.a.Component{constructor(e){super(e),this.toggleDescriptionView=(()=>{this.setState({isExpanded:!this.state.isExpanded})}),this.state=E}render(){const e=this.props,t=this.state;return e.text.length>M?L($,{},void 0,t.isExpanded?e.text:e.text.slice(0,M),L(U,{onClick:this.toggleDescriptionView},void 0,t.isExpanded?Object(T.a)(e.language,"structuredStyles.widgets.calendar.readLess"):Object(T.a)(e.language,"structuredStyles.widgets.calendar.readMore"))):L($,{},void 0,e.text)}}const H=Object(d.createStructuredSelector)({language:x.M});var V=Object(i.connect)(H)(e=>L(p.a,{styles:e.widget.styles,title:e.widget.shortName},void 0,e.widget.data.map(t=>L(F,{},void 0,L(R,{},void 0,t.titleHtml?L(A,{html:t.titleHtml}):t.title),e.widget.configuration.showDate&&t.startTime&&L(B,{},void 0,Object(N.a)(t.startTime,e.language,!0),!t.allDay&&e.widget.configuration.showTime&&L("span",{},void 0," • ",(e=>{const t=new Date(1e3*e),o=t.getHours(),n=t.getMinutes();return n<10?`${o}:0${n}`:`${o}:${n}`})(t.startTime)," ")),t.location&&e.widget.configuration.showLocation&&L(D,{},void 0,t.locationHtml?L(A,{html:t.locationHtml}):t.location),t.description&&e.widget.configuration.showDescription&&L(W,{language:e.language,text:t.description}))))),z=o("./src/reddit/components/TrackingHelper/index.tsx"),K=o("./src/reddit/components/Widgets/CommunityList/SubredditList.tsx"),q=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();var G=Object(z.b)(e=>q(K.b,{className:e.className,communities:e.widget.data,sendEvent:e.sendEvent,title:e.widget.shortName,widget:e.widget})),J=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Q=Object(d.createStructuredSelector)({stylesheet:e=>e.stylesheets}),Z=Object(i.connect)(Q),Y=(e,t,o)=>`<head>\n <link rel="stylesheet" href="${e}">\n <link rel="stylesheet" href="${t}">\n <base target="_blank">\n</head>\n<body>${o}</body>`;var X=Z(class extends r.a.Component{constructor(){super(...arguments),this.storeRef=(e=>{this.iframe=e})}shouldComponentUpdate(e){return(e.widget.stylesheetUrl!==this.props.widget.stylesheetUrl||e.widget.textHtml&&e.widget.textHtml!==this.props.widget.textHtml)&&(this.renderIframeContent(e),this.writeIFrameDocument()),e.widget.height!==this.props.widget.height}writeIFrameDocument(){this.iframe&&this.iframe.contentWindow&&void 0!==this.iframeContent&&(this.iframe.contentWindow.document.open(),this.iframe.contentWindow.document.write(this.iframeContent),this.iframe.contentWindow.document.close())}componentWillMount(){this.renderIframeContent(this.props)}componentDidMount(){this.iframe&&this.iframe.contentWindow&&this.iframeContent&&(this.iframe.contentWindow.document.body&&this.iframe.contentWindow.document.body.childNodes.length||this.writeIFrameDocument())}renderIframeContent(e){e.widget.stylesheetUrl&&e.widget.textHtml&&(this.iframeContent=Y(e.stylesheet,e.widget.stylesheetUrl,e.widget.textHtml))}render(){const e=this.props;return J(p.a,{contentOnly:!0},void 0,r.a.createElement("iframe",{ref:this.storeRef,width:"100%",height:e.widget.height||300,srcDoc:this.iframeContent}))}});var ee=c.a.div.withConfig({componentId:"kkicq7-0"})(["border-radius: 4px;"]);var te=c.a.img.withConfig({componentId:"s1muqojl-0"})(["display: block;height: auto;width: 100%;border-radius: 4px;"]),oe=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();var ne=class extends r.a.Component{constructor(e){super(e),this.state={imageIndex:this.getRandomIndex(e)}}getRandomIndex(e){if(!e.widget.data.length)return-1;let t=Math.floor(Math.random()*e.widget.data.length);if(e.widget.data[t].url===f.c){t=-1;for(let t=0;t<e.widget.data.length;t++)if(e.widget.data[t].url!==f.c)return t}return t}componentWillReceiveProps(e){const t=this.props,o=this.state;e.subredditName===t.subredditName&&e.widget.data[o.imageIndex]&&e.widget.data[o.imageIndex]===t.widget.data[o.imageIndex]||this.setState(t=>({imageIndex:this.getRandomIndex(e)}))}render(){const e=this.props,t=this.state;if(t.imageIndex<0)return null;const o=e.widget.data[t.imageIndex],n=oe(ee,{},void 0,oe(te,{src:o.url}));return o.linkUrl?oe("a",{href:o.linkUrl,target:"_blank"},void 0,n):n}},se=o("./node_modules/react-router-dom/es/index.js"),re=o("./src/reddit/components/Flair/index.tsx"),ie=o("./src/reddit/controls/InternalLink/index.tsx"),de=o("./src/reddit/featureFlags/index.ts"),ae=o("./src/reddit/icons/fonts/helpers.tsx"),ce=o("./src/reddit/helpers/styles/mixins/index.tsx"),le=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();var pe=c()(e=>le("i",{className:`${Object(ae.b)("envelope")} ${e.className}`})).withConfig({componentId:"i2kq3x-0"})(["",""],ce.l),me=o("./src/reddit/models/Flair/index.ts"),ue=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const be=c.a.div.withConfig({componentId:"s1mvqe4r-0"})(["","display: flex;margin-bottom: 16px;width: 100%;&:last-child {margin-bottom: 8px;}"],b.titleFontH6),fe=c.a.div.withConfig({componentId:"s1mvqe4r-1"})(["color: ",";display: inline-block;max-width: 100%;"],e=>Object(h.c)(e).linkText),he=c.a.a.withConfig({componentId:"s1mvqe4r-2"})(["border-radius: 2px;margin: 6px 0px 6px auto;padding: 4px;"]),ge=c()(re.c).withConfig({componentId:"s1mvqe4r-3"})(["margin-left: 4px;"]),ve=e=>ue(fe,{},void 0,`u/${e}`),xe=Object(d.createStructuredSelector)({canAccessRedesignProfiles:de.d.redesignProfiles,language:x.M}),ye=Object(i.connect)(xe),Oe=c()(ie.a).withConfig({componentId:"s1mvqe4r-4"})(["","color: ",";margin-left: auto;"],b.smallButtonFont,e=>Object(h.c)(e).button),Ce=c.a.div.withConfig({componentId:"s1mvqe4r-5"})(["display: flex;overflow: hidden;padding: 0px 12px 12px;"]);var we=ye(e=>{const t=e.canAccessRedesignProfiles,o=e.language,n=e.subredditName,s=e.widget;return ue(p.a,{styles:s.styles,title:Object(T.a)(o,"sidebar.widgets.moderators.title"),headerButton:ue(he,{href:`https://reddit.com/message/compose?to=/r/${n}`,target:"_blank"},void 0,ue(pe,{}))},void 0,s.mods.map(e=>ue(be,{},e.name,t?(e=>ue(se.a,{to:`/user/${e.name}`},void 0,ve(e.name)))(e):(e=>ue("a",{href:`/user/${e.name}`,target:"_blank"},void 0,ve(e.name)))(e),ue(ge,{flair:(e=>e.authorFlairType===me.e.Richtext?{backgroundColor:e.authorFlairBackgroundColor,richtext:e.authorFlairRichText,textColor:e.authorFlairTextColor,type:e.authorFlairType}:{backgroundColor:e.authorFlairBackgroundColor,text:e.authorFlairText||"",textColor:e.authorFlairTextColor,type:e.authorFlairType})(e),forceSmallEmojis:!0}))),ue(Ce,{},void 0,ue(Oe,{to:`/r/${n}/about/moderators/`},void 0,Object(T.a)(o,"sidebar.widgets.moderators.viewAllModerators"))))}),je=o("./src/reddit/components/Widgets/PostFlair/index.tsx"),Se=o("./src/reddit/components/Widgets/SubredditRules/index.tsx"),Ie=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Pe=c.a.div.withConfig({componentId:"s1i4gs3u-0"})(["padding-top: 4px;width: 100%;"]),ke=c()(l.a).withConfig({componentId:"s1i4gs3u-1"})(["color: inherit;","p {","}tr, th, td {padding: 4px;}h1, h2, h3, h4, h5, h6 {&:first-child {margin-top: 0;}}"],b.bodyFontSmall,b.bodyFontSmall);var Te=e=>Ie(p.a,{styles:e.widget.styles,title:e.widget.shortName},void 0,Ie(Pe,{},void 0,Ie(ke,{html:e.widget.textHtml||""}))),Ne=o("./src/reddit/components/Widgets/Base/index.tsx"),_e=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),Le=e=>_e(Ne.c,{},void 0,"This widget hasn't been implemented yet!"),Me=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();t.a=(e=>{const t=function(e){switch(e.kind){case"moderators":return we;case"textarea":return Te;case"button":return k;case"subreddit-rules":return Se.b;case"community-list":return G;case"calendar":return V;case"image":return ne;case"custom":return X;case"post-flair":return je.a;default:return Le}}(e.widget);return Me(t,{widget:e.widget,subredditName:e.subredditName})})},"./src/reddit/connectors/PostList/index.ts":function(e,t,o){"use strict";o.d(t,"c",function(){return y}),o.d(t,"d",function(){return C}),o.d(t,"b",function(){return j});var n=o("./node_modules/react-redux/es/index.js"),s=o("./node_modules/reselect/lib/index.js"),r=o("./src/reddit/actions/ad.ts"),i=o("./src/reddit/actions/monthsToMinutes.ts"),d=o("./src/reddit/actions/post.ts"),a=o("./src/reddit/actions/postList.ts"),c=o("./src/reddit/components/TrackingHelper/index.tsx"),l=o("./src/reddit/contexts/PageLayer/index.tsx"),p=o("./src/reddit/helpers/postComponentForLayout/index.tsx"),m=o("./src/reddit/helpers/trackers/post.ts"),u=o("./src/reddit/components/PostList/Placeholder.tsx"),b=o("./src/reddit/featureFlags/index.ts"),f=o("./src/reddit/selectors/listings.ts"),h=o("./src/reddit/selectors/monthsToMinutes.ts"),g=o("./src/reddit/selectors/posts.ts"),v=o("./src/reddit/selectors/subreddit.ts"),x=o("./src/reddit/selectors/tracking.ts");function y(){return Object(l.w)({currentProfileName:l.j,isCommentPermalink:l.y,isCommentsPage:l.z,isFrontpage:l.C,isOriginalPage:l.E,isProfilePostListing:l.M,pageLayer:e=>e})}const O=y(),C={apiError:f.c,apiPending:f.d,m2mIsEnabled:h.u,measureScrollFPS:b.d.measureScrollFPS,layout:(e,t)=>t.forcedLayout||Object(l.O)(e,t),loadMore:f.g,postsById:g.N,postIds:(e,{listingKey:t,listingName:o,inSubredditOrProfile:n})=>Object(g.B)(e,t,o,n),subredditsById:v.L,viewportDataLoaded:x.c,postListPlaceholderComponent:()=>u.a},w=Object(s.createStructuredSelector)(C),j=(e,t)=>({onBottomViewed:(t,o)=>e(a.c(t,o)),adBrandSafetyStatusReceived:t=>{e(r.f({isViewSafe:t}))},openPost:t=>{e(d.v(t))},showM2MTooltip:(t,o,n)=>e(Object(i.v)(t,o,n)),trackOnPostEnteredViewport:(t,o)=>{e(d.x(t))},trackOnPostExitedViewport:(t,o,n)=>{e(d.y(t,n))}}),S=Object(n.connect)(w,j,(e,t,o)=>Object.assign({},e,t,o,{postClickEvent:m.d,postComponentForLayout:p.b}));t.a=(e=>Object(c.b)(O(S(e))))},"./src/reddit/contexts/TrackCommentsPageClick.ts":function(e,t,o){"use strict";var n=o("./node_modules/react/index.js"),s=o.n(n);t.a=s.a.createContext(()=>()=>{})},"./src/reddit/controls/Checkbox/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o.n(i),a=o("./src/reddit/icons/svgs/Checkbox/index.tsx"),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},l=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});var p=e=>r.a.createElement("svg",c({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),l("g",{transform:"translate(-32.000000, -173.000000)"},void 0,l("g",{transform:"translate(32.000000, 173.000000)"},void 0,l("path",{d:"M0,3.34755033 C0,1.49874933 1.5032506,0 3.34755033,0 L16.6524497,0 C18.5012507,0 20,1.5032506 20,3.34755033 L20,16.6524497 C20,18.5012507 18.4967494,20 16.6524497,20 L3.34755033,20 C1.49874933,20 0,18.4967494 0,16.6524497 L0,3.34755033 Z M4.5,8.5 C4.22385763,8.5 4,8.72385763 4,9 L4,11 C4,11.2761424 4.22385763,11.5 4.5,11.5 L15.5,11.5 C15.7761424,11.5 16,11.2761424 16,11 L16,9 C16,8.72385763 15.7761424,8.5 15.5,8.5 L4.5,8.5 Z"})))),m=o("./src/reddit/icons/svgs/CheckboxSelected/index.tsx"),u=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),b=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const f=d()(m.a).withConfig({componentId:"d616a3-0"})(["fill: ",";"],e=>Object(u.c)(e).button),h=d()(p).withConfig({componentId:"d616a3-1"})(["fill: ",";"],e=>Object(u.c)(e).button);t.a=d()(e=>{const t=e.isHalfCheckboxSelected?h:e.isCheckboxSelected?f:a.a;return b("button",{"aria-checked":e.isHalfCheckboxSelected?"mixed":e.isCheckboxSelected,className:e.className,onClick:t=>{e.toggleCheckbox&&(t.stopPropagation(),e.toggleCheckbox())}},void 0,b(t,{className:e.className,"data-redditstyle":e.redditStyle}))}).withConfig({componentId:"d616a3-2"})(["height: 16px;width: 16px;"])},"./src/reddit/controls/MetaData/index.tsx":function(e,t,o){"use strict";o.d(t,"a",function(){return p}),o.d(t,"b",function(){return m}),o.d(t,"d",function(){return b}),o.d(t,"c",function(){return f});o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s),i=o("./src/app/strings/index.ts"),d=o("./src/lib/prettyPrintNumber/index.ts"),a=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),c=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),l=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const p=r.a.span.withConfig({componentId:"h5svje-0"})(["","color: ",";"],a.metadataFont,e=>Object(c.c)(e).metaText),m=()=>l(p,{},void 0," · "),u=Object(i.e)("comment.point"),b=(e,t,o)=>{const n=t?Object(i.a)(o,"comment.hiddenScorePlain"):u(o,e,{count:Object(d.b)(e)});return l(p,{},void 0,n)},f=(e,t)=>{const o=Object(i.d)(t,"posts.comments.noun",e,{count:Object(d.b)(e)});return l(p,{},void 0,o)}},"./src/reddit/controls/OverlayLink/index.tsx":function(e,t,o){"use strict";var n=o("./node_modules/react/index.js"),s=o.n(n),r=o("./src/reddit/controls/UnstyledInternalLink/index.tsx"),i=o("./src/reddit/helpers/overlay/index.ts"),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},a=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};t.a=(e=>{const t=e.children,o=e.className,n=e.to,c=a(e,["children","className","to"]),l=Object(i.b)(n);return s.a.createElement(r.a,d({className:o,to:l},c),t)})},"./src/reddit/endpoints/governance/wallet.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return i}),o.d(t,"b",function(){return d});var n=o("./src/config.ts"),s=(o("./src/lib/bigNumberUtils/percent.ts"),o("./src/lib/constants/index.ts")),r=o("./src/reddit/endpoints/governance/requester.ts");function i(e,t){return Object(r.a)(e,{endpoint:`${n.a.metaUrl}/wallets/${t.subredditId}/me`,method:s.jb.GET}).then(e=>{if(e.ok){const o=e.body,n={[t.subredditId]:o};return Object.assign({},e,{body:n})}return e})}function d(e,t){return Object(r.a)(e,{headers:{"X-HTTP-Method-Override":"GET"},endpoint:`${n.a.metaUrl}/wallets/${t.subredditId}`,method:s.jb.POST,data:t.userIds}).then(e=>e.ok?Object.assign({},e,{body:{wallets:e.body}}):e)}},"./src/reddit/helpers/brandSafety/index.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return s});var n=o("./src/reddit/models/WhitelistStatus/index.ts");const s=(e,t)=>{const o=e.some(e=>e.isNSFW),s=t.some(e=>e.wls===n.a.NO_ADS);return!o&&!s}},"./src/reddit/helpers/createBannerProperties/index.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return i});var n=o("./src/lib/isFakeSubreddit/index.ts"),s=o("./src/reddit/constants/postLayout.ts");const r=Math.floor(100*Math.random());var i;!function(e){e.FIRST="first",e.MIDDLE="middle",e.BOTTOM="bottom"}(i||(i={}));t.b=((e,t,o,i,d)=>{const a={subreddit_screen:!1,logged_in:!!t.account,placement:e,platform:"redesign",full_url:o,layout:s.a[t.prefs.layout]};return i&&!Object(n.a)(i.name)&&(a.subreddit=i.name,a.subreddit_screen=!0),a.wls=6,a.whitelist_status="all_ads",a.percentage=a.random_number=r,d&&(a.position=d),a})},"./src/reddit/helpers/getClickInfo.ts":function(e,t,o){"use strict";t.a=(e=>({hasNewTabModifier:!(!e.metaKey&&!e.ctrlKey&&1!==e.button)}))},"./src/reddit/helpers/postComponentForLayout/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./src/lib/logs/console.ts"),d=o("./node_modules/react-redux/es/index.js"),a=o("./node_modules/reselect/lib/index.js"),c=o("./src/reddit/actions/post.ts"),l=o("./src/reddit/components/AdViewability/index.tsx"),p=o("./src/reddit/selectors/posts.ts"),m=o("./src/lib/classNames/index.ts"),u=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});var b=Object(d.connect)(()=>Object(a.createStructuredSelector)({post:p.D}),e=>({onPostViewable:(t,o)=>e(Object(c.z)(t,o))}))(({className:e,post:t,onPostViewable:o})=>t.isSponsored?u(l.a,{onViewable:e=>o(t,e),children:u("div",{className:Object(m.a)(e,`Blank ${t.id}`)}),trackVideoMetrics:!1}):null),f=o("./src/reddit/components/ClassicPost/index.tsx"),h=o("./src/reddit/components/CompactPost/index.tsx"),g=o("./src/reddit/components/LargePost/index.tsx"),v=o("./src/reddit/components/MediumPost/index.tsx"),x=o("./src/reddit/constants/postLayout.ts"),y=o("./src/reddit/models/Media/index.ts");o.d(t,"a",function(){return C}),o.d(t,"b",function(){return j});const O={[x.f.Large]:g.a,[x.f.Medium]:v.b,[x.f.Classic]:f.c,[x.f.Compact]:h.a},C=e=>r.a.createElement(b,e),w=e=>!e.media||e.media.type===y.m.EMBED&&!(y.b.has(e.media.provider)||(e=>e.source&&e.source.url&&e.source.url.startsWith("https://www.mcdonalds.com")&&e.isSponsored)(e));function j(e,t,o){if(e.isBlank)return C;t===x.f.Large&&w(e)&&(t=x.f.Medium);const n=O[t];return void 0===n?(Object(i.a)(void 0,`Could not find component for layout ${t}.`),C):o&&e.isSponsored&&t===x.f.Large?v.b:n}},"./src/reddit/helpers/styles/mixins/responsive.ts":function(e,t,o){"use strict";o.d(t,"b",function(){return s}),o.d(t,"a",function(){return r});var n=o("./src/reddit/constants/screenWidths.ts");const s=`\n @media (max-width: ${n.i-1}px) {\n display: none;\n }\n`,r=`\n @media (min-width: ${n.i}px) {\n display: none;\n }\n`;n.b,n.b,n.e,n.e},"./src/reddit/helpers/trackers/banners.ts":function(e,t,o){"use strict";o.d(t,"d",function(){return n}),o.d(t,"c",function(){return s}),o.d(t,"b",function(){return r}),o.d(t,"a",function(){return i});const n=(e,t)=>o=>({source:"banner",action:e,noun:t}),s=e=>t=>({source:"announcement",noun:"announcement",action:"view",liveThread:{id:e,isAnnouncement:!0}}),r=e=>t=>({source:"announcement",noun:"announcement",action:"dismiss",liveThread:{id:e,isAnnouncement:!0}}),i=e=>t=>({source:"announcement",noun:"announcement",action:"click",liveThread:{id:e,isAnnouncement:!0}})},"./src/reddit/helpers/trackers/discoveryUnit.ts":function(e,t,o){"use strict";o.d(t,"c",function(){return u}),o.d(t,"a",function(){return f}),o.d(t,"d",function(){return g}),o.d(t,"q",function(){return x}),o.d(t,"r",function(){return y}),o.d(t,"i",function(){return O}),o.d(t,"l",function(){return C}),o.d(t,"m",function(){return w}),o.d(t,"f",function(){return j}),o.d(t,"p",function(){return S}),o.d(t,"e",function(){return I}),o.d(t,"g",function(){return P}),o.d(t,"h",function(){return k}),o.d(t,"j",function(){return T}),o.d(t,"k",function(){return N}),o.d(t,"s",function(){return _}),o.d(t,"b",function(){return L}),o.d(t,"n",function(){return M}),o.d(t,"o",function(){return E});var n=o("./src/reddit/constants/tracking.ts"),s=o("./src/reddit/helpers/correlationIdTracker.ts"),r=o("./src/reddit/helpers/trackers/navigation.ts"),i=o("./src/reddit/models/DiscoveryUnit/index.ts"),d=o("./src/reddit/selectors/posts.ts"),a=o("./src/reddit/selectors/telemetry.ts"),c=o("./src/reddit/selectors/widgets.ts"),l=o("./src/telemetry/index.ts");const p="discovery_unit",m=(e,t)=>Object.assign({},a.defaults(e),{source:p,screen:a.screen(e),discoveryUnit:{id:t.id,type:"listing",title:t.title,name:t.unitName}}),u=(e,t)=>Object.assign({},m(e,t),{source:"global",action:"view",noun:"discovery_unit"}),b=(e,t)=>Object.assign({},a.defaults(e),{correlationId:Object(s.c)(s.a.SearchResults),screen:a.screen(e),noun:"search_result_discovery_unit",post:t?a.post(e,t):null,discoveryUnit:{name:i.h,id:"xd_72",type:"listing"}}),f=(e,t)=>{Object(l.a)(u(e,t))},h=(e,t,o)=>"unitName"in t?m(e,t):((e,t,o)=>Object.assign({},a.defaults(e),{source:"search",screen:a.screen(e),search:o?Object.assign({},a.search(e,o),{structureType:a.StructureType.Trending}):null,discoveryUnit:{id:t.name,type:"listing",title:t.layout.title,name:t.name}}))(e,t,o),g=(e,t,o,n)=>Object.assign({},h(e,t,n),{action:"view",noun:"item_post",post:a.post(e,o)}),v=e=>({displayQuery:decodeURIComponent(e.searchQuery),rawQuery:e.rawQuery?decodeURIComponent(e.rawQuery):void 0,structureType:a.StructureType.Trending}),x=(e,t)=>{const o=t.post?t.post.id:void 0;Object(l.a)(Object.assign({},b(e,o),{metaSearch:v(t),source:"search",action:"click"}))},y=(e,t)=>{const o=t.post?t.post.id:void 0;Object(l.a)(Object.assign({},b(e,o),{metaSearch:v(t),source:"search",action:"view"}))},O=(e,t,o,n)=>{Object(l.a)(g(e,t,o,n))},C=(e,t,o,n)=>{const s=h(e,t,n);Object(l.a)(Object.assign({},s,Object(c.b)(e,o),{action:"view",noun:"item_subreddit"}))},w=(e,t,o)=>{Object(l.a)(Object.assign({},m(e,t),{source:p,action:n.b.CLICK,noun:"title_category",subreddit:{categoryName:Object(r.e)(o)}}))},j=(e,t,o,s)=>{const r=h(e,t,s);Object(l.a)(Object.assign({},r,{source:p,action:n.b.CLICK,noun:"item_post",post:a.post(e,o)}))},S=()=>e=>t=>({source:"search",action:n.b.CLICK,noun:"item_post",post:a.post(t,e),search:{structureType:a.StructureType.Trending}}),I=e=>t=>o=>Object.assign({},e?m(o,e):{},{source:p,action:n.b.CLICK,noun:"item_post",post:a.post(o,t)}),P=(e,t,o,s)=>{const r=Object(d.b)(e,{postId:o}),i=r?Object(c.b)(e,r):void 0,m=h(e,t,s);Object(l.a)(Object.assign({},m,i,{source:p,action:n.b.CLICK,noun:"item_post_subreddit",post:a.post(e,o)}))},k=(e,t)=>o=>s=>{const r=Object(d.b)(s,{postId:t}),i=r?Object(c.b)(s,r):void 0,l=h(s,e);return Object.assign({},l,i,{source:p,action:n.b.CLICK,noun:o?"item_post_subreddit_unsubscribe":"item_post_subreddit_subscribe",post:a.post(s,t)})},T=(e,t,o)=>{Object(l.a)(Object.assign({},m(e,t),Object(c.b)(e,o),{source:p,action:n.b.CLICK,noun:"item_subreddit"}))},N=(e,t)=>o=>s=>Object.assign({},m(s,e),Object(c.b)(s,t),{source:p,action:n.b.CLICK,noun:o?"item_subreddit_unsubscribe":"item_subreddit_subscribe"}),_=(e,t,o)=>{const s=h(e,t);Object(l.a)(Object.assign({},s,Object(c.b)(e,o),{source:"search",action:n.b.CLICK,noun:"search_result_discovery_unit_subreddit"}))},L=(e,t,o)=>{const s=h(e,t);Object(l.a)(Object.assign({},s,Object(c.b)(e,o),{source:p,action:n.b.CLICK,noun:"footer_subreddit"}))},M=(e,t,o)=>{Object(l.a)(Object.assign({},m(e,t),Object(c.b)(e,o),{source:p,action:n.b.CLICK,noun:"title_subreddit"}))},E=(e,t)=>o=>s=>Object.assign({},m(s,e),Object(c.b)(s,t),{source:p,action:n.b.CLICK,noun:o?"title_subreddit_unsubscribe":"title_subreddit_subscribe"})},"./src/reddit/helpers/trackers/idCard.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return d}),o.d(t,"b",function(){return a}),o.d(t,"c",function(){return c});var n=o("./src/reddit/constants/tracking.ts"),s=o("./src/reddit/selectors/telemetry.ts"),r=o("./src/reddit/selectors/widgets.ts"),i=o("./src/telemetry/index.ts");const d=e=>{Object(i.a)(Object.assign({},s.defaults(e),{action:n.b.CLICK,noun:"multi_detail",source:"id_card"}))},a=(e,t,o)=>{var d=Object(r.b)(e,t);const a=d.subreddit,c=d.profile;Object(i.a)(Object.assign({},s.defaults(e),{action:n.b.CLICK,noun:"multi_detail_subreddit",profile:c,source:"id_card",subreddit:Object.assign({},a,{categoryName:o})}))},c=e=>t=>({action:n.b.CLICK,source:"id_card",noun:e?"enable_community_styles":"disable_community_styles",subreddit:s.subreddit(t)})},"./src/reddit/helpers/trackers/modHub.ts":function(e,t,o){"use strict";o.d(t,"b",function(){return r}),o.d(t,"c",function(){return i}),o.d(t,"a",function(){return d});var n=o("./src/reddit/selectors/telemetry.ts");const s=e=>({screen:n.screen(e),subreddit:n.subreddit(e),userSubreddit:n.userSubreddit(e)}),r=e=>t=>Object.assign({source:"mod_hub_nav",action:"click",noun:e},s(t)),i=()=>e=>Object.assign({source:"breadcrumb",action:"click",noun:"subreddit"},s(e)),d=()=>e=>Object.assign({source:"id_card",action:"click",noun:"mod_hub_nav"},s(e))},"./src/reddit/helpers/trackers/providers.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return s}),o.d(t,"b",function(){return r}),o.d(t,"c",function(){return i});var n=o("./src/reddit/selectors/telemetry.ts");const s=()=>e=>Object.assign({source:"oauth_patreon",action:"click",noun:"connect_community"},n.defaults(e)),r=()=>e=>Object.assign({source:"oauth_patreon",action:"click",noun:"create_community"},n.defaults(e)),i=()=>e=>Object.assign({source:"sidebar",action:"click",noun:"patreon_link"},n.defaults(e))},"./src/reddit/helpers/trackers/subredditWiki.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return r}),o.d(t,"b",function(){return i});var n=o("./src/reddit/selectors/telemetry.ts");const s=e=>({subreddit:n.subreddit(e),userSubreddit:n.userSubreddit(e)}),r=()=>e=>Object.assign({source:"wiki",action:"click",noun:"edit"},s(e)),i=()=>e=>Object.assign({source:"menu_links_bar",action:"click",noun:"wiki"},s(e))},"./src/reddit/icons/fonts/Expandos/Arrows/Collapse/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s),i=o("./src/reddit/icons/fonts/helpers.tsx"),d=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const a=r()(e=>d("i",{className:`${Object(i.b)("expandoArrowCollapse")} ${e.className}`,onClick:e.onClick,title:e.title})).withConfig({componentId:"s20zmlh-0"})(["display: inline-block;vertical-align: middle;font-size: 14px;font-weight: 400;line-height: 14px;"]);t.a=a},"./src/reddit/icons/fonts/Expandos/Arrows/Expand/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s),i=o("./src/reddit/icons/fonts/helpers.tsx"),d=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const a=r()(e=>d("i",{className:`${Object(i.b)("expandoArrowExpand")} ${e.className}`,onClick:e.onClick,title:e.title})).withConfig({componentId:"m2byoz-0"})(["display: inline-block;vertical-align: middle;font-size: 14px;font-weight: 400;line-height: 14px;"]);t.a=a},"./src/reddit/icons/svgs/Cake/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});t.a=(e=>s("svg",{id:e.id,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,className:e.className,viewBox:"0 0 40 40",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},void 0,s("g",{},void 0,s("g",{},void 0,s("path",{d:"M37.5,22.5V20h-35v15c0,1.4,1.1,2.5,2.5,2.5h30c1.4,0,2.5-1.1,2.5-2.5v0H6.2C5.6,35,5,34.5,5,33.8l0,0c0-0.7,0.6-1.2,1.2-1.2h31.3V30H6.2C5.6,30,5,29.5,5,28.8v0c0-0.7,0.6-1.2,1.2-1.2h31.3V25H6.2C5.6,25,5,24.5,5,23.8v0c0-0.7,0.6-1.2,1.2-1.2H37.5z"}),s("path",{d:"M22.5,6c0,1.4-1.1,2.5-2.5,2.5S17.5,7.4,17.5,6S20,0,20,0S22.5,4.6,22.5,6z"}),s("path",{d:"M20,15L20,15c-0.7,0-1.3-0.6-1.3-1.2v-2.5c0-0.7,0.6-1.2,1.2-1.2h0c0.7,0,1.2,0.6,1.2,1.2v2.5C21.2,14.5,20.7,15,20,15z"}),s("path",{d:"M22.8,11.3v2.3c0,1.4-1,2.7-2.5,2.9c-1.6,0.2-3-1.1-3-2.7v-5c0,0,0-0.1,0-0.1l-0.8-0.4c-0.9-0.4-2-0.3-2.7,0.4L2.5,18.5h35L22.8,11.3z"})))))},"./src/reddit/icons/svgs/ChevronDown/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});t.a=(e=>s("svg",{className:e.className,viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg",onClick:e.onClick},void 0,s("g",{},void 0,s("polygon",{fill:"inherit",points:"11.0584 4.0602 6.0292 9.0894 1 4.0602 2.0608 3 6.0292 6.9684 9.9982 3"}))))},"./src/reddit/icons/svgs/CircleCheck/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});t.a=(e=>s("svg",{className:e.className,viewBox:"0 0 21 21",xmlns:"http://www.w3.org/2000/svg"},void 0,s("path",{d:"M20.5 10.5C20.5 16.0228 16.0228 20.5 10.5 20.5C4.97715 20.5 0.5 16.0228 0.5 10.5C0.5 4.97715 4.97715 0.5 10.5 0.5C16.0228 0.5 20.5 4.97715 20.5 10.5ZM9.35975 14.8725L15.2398 8.71852L15.2418 8.72352C15.5868 8.36252 15.5868 7.77752 15.2418 7.41752C14.8968 7.05752 14.3388 7.05752 13.9938 7.41752L8.73675 12.9175L7.00675 11.1075C6.66175 10.7475 6.10375 10.7465 5.75875 11.1075C5.41375 11.4685 5.41375 12.0535 5.75875 12.4135L8.11175 14.8735C8.28475 15.0535 8.50975 15.1435 8.73675 15.1435C8.85356 15.143 8.96904 15.1187 9.07615 15.0721C9.18326 15.0256 9.27975 14.9576 9.35975 14.8725Z",fill:"inherit"})))},"./src/reddit/icons/svgs/Comments/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});t.a=(({className:e})=>s("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},void 0,s("path",{d:"M15 4V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h1V6a2 2 0 0 1 2-2z"}),s("path",{d:"M17 5H6a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h3.36l1.76 1.83a.5.5 0 0 0 .75 0L13.64 16H17a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1z"})))},"./src/reddit/icons/svgs/GovSmall/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});t.a=(e=>s("svg",{className:e.className,viewBox:"0 0 16 14",xmlns:"http://www.w3.org/2000/svg"},void 0,s("g",{},void 0,s("path",{d:"M8.5,0.2l6.2,3c0.5,0.3,0.6,0.9,0.3,1.4C14.9,4.8,14.6,5,14.2,5H1.8c-0.6,0-1-0.4-1-1 c0-0.4,0.2-0.7,0.5-0.9l6.2-3C7.9,0,8.1,0,8.5,0.2z"}),s("path",{d:"M2,12h12c0.6,0,1,0.4,1,1l0,0c0,0.6-0.4,1-1,1H2c-0.6,0-1-0.4-1-1l0,0C1,12.4,1.4,12,2,12z"}),s("path",{d:"M3.8,6h0.5C4.7,6,5,6.3,5,6.8v3.5C5,10.7,4.7,11,4.2,11H3.8C3.3,11,3,10.7,3,10.3V6.8C3,6.3,3.3,6,3.8,6z"}),s("path",{d:"M7.8,6h0.5C8.7,6,9,6.3,9,6.8v3.5C9,10.7,8.7,11,8.2,11H7.8C7.3,11,7,10.7,7,10.3V6.8 C7,6.3,7.3,6,7.8,6z"}),s("path",{d:"M11.8,6h0.5C12.7,6,13,6.3,13,6.8v3.5c0,0.4-0.3,0.8-0.8,0.8h-0.5c-0.4,0-0.8-0.3-0.8-0.8V6.8 C11,6.3,11.3,6,11.8,6z"}))))},"./src/reddit/icons/svgs/Info/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});t.a=(e=>s("svg",{className:e.className,style:e.style,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},void 0,s("g",{},void 0,s("path",{d:"M10,8.5 C10.553,8.5 11,8.948 11,9.5 L11,13.5 C11,14.052 10.553,14.5 10,14.5 C9.447,14.5 9,14.052 9,13.5 L9,9.5 C9,8.948 9.447,8.5 10,8.5 Z M10.7002,5.79 C10.8012,5.89 10.8702,6 10.9212,6.12 C10.9712,6.24 11.0002,6.37 11.0002,6.5 C11.0002,6.57 10.9902,6.63 10.9802,6.7 C10.9712,6.76 10.9502,6.82 10.9212,6.88 C10.9002,6.94 10.8702,7 10.8302,7.05 C10.7902,7.11 10.7502,7.16 10.7002,7.21 C10.6602,7.25 10.6102,7.29 10.5512,7.33 C10.5002,7.37 10.4402,7.4 10.3812,7.42 C10.3202,7.45 10.2612,7.47 10.1902,7.48 C10.1312,7.49 10.0602,7.5 10.0002,7.5 C9.7402,7.5 9.4802,7.39 9.2902,7.21 C9.1102,7.02 9.0002,6.77 9.0002,6.5 C9.0002,6.37 9.0302,6.24 9.0802,6.12 C9.1312,5.99 9.2002,5.89 9.2902,5.79 C9.5202,5.56 9.8702,5.46 10.1902,5.52 C10.2612,5.53 10.3202,5.55 10.3812,5.58 C10.4402,5.6 10.5002,5.63 10.5512,5.67 C10.6102,5.71 10.6602,5.75 10.7002,5.79 Z M10,16 C6.691,16 4,13.309 4,10 C4,6.691 6.691,4 10,4 C13.309,4 16,6.691 16,10 C16,13.309 13.309,16 10,16 M10,2 C5.589,2 2,5.589 2,10 C2,14.411 5.589,18 10,18 C14.411,18 18,14.411 18,10 C18,5.589 14.411,2 10,2"}))))},"./src/reddit/icons/svgs/Notify/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s),i=o("./src/reddit/constants/colors.ts"),d=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),a=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});t.a=r()(e=>a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -1 23 20",className:e.className},void 0,a("g",{fillRule:"evenodd"},void 0,a("polygon",{fill:"none",points:"0 20 20 20 20 .001 0 .001"}),a("path",{fill:"inherit",d:"M17.0066821,15.4208756 C17.3661858,15.7881442 17.1117467,16.4167476 16.6028685,16.4167476 L3.3720345,16.4167476 C2.86361308,16.4167476 2.60871716,15.7881442 2.9682209,15.4208756 L2.99106104,15.3975421 C3.81467634,14.5561376 4.27741749,13.4146649 4.27741749,12.2246585 L4.27741749,8.19170369 C4.27741749,5.37768868 6.24806442,3.03500952 8.85595115,2.52214012 C8.85275353,2.48713993 8.84544468,2.45307308 8.84544468,2.41667289 C8.84544468,1.77266945 9.35660693,1.25 9.98745148,1.25 C10.618296,1.25 11.1294583,1.77266945 11.1294583,2.41667289 C11.1294583,2.45307308 11.1221494,2.48713993 11.1189518,2.52214012 C13.7268385,3.03500952 15.6974855,5.37768868 15.6974855,8.19170369 L15.6974855,12.2246585 C15.6974855,13.4146649 16.1602266,14.5561376 16.9838419,15.3975421 L17.0066821,15.4208756 Z M9.98754284,18.75 C9.05109727,18.75 8.24758128,18.1736636 7.89492959,17.3499925 L12.0801561,17.3499925 C11.7275044,18.1736636 10.9239884,18.75 9.98754284,18.75 Z"}),a("circle",{cx:"18",cy:"3",r:"5",fill:e.isUnread?"white":"none"}),a("circle",{cx:"18",cy:"3",r:"4",fill:e.isUnread?i.a.orangered:"none"})))).withConfig({componentId:"s1nbyhx2-0"})(["fill: ",""],e=>Object(d.c)(e).actionIcon)},"./src/reddit/icons/svgs/Twitter/index.tsx":function(e,t,o){"use strict";o.d(t,"a",function(){return r});o("./node_modules/react/index.js");var n,s=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});function r(e){return s("svg",{className:e.className,viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg"},void 0,s("path",{fill:"inherit",d:"M153.62,301.59c94.34,0,145.94-78.16,145.94-145.94,0-2.22,0-4.43-.15-6.63A104.36,104.36,0,0,0,325,122.47a102.38,102.38,0,0,1-29.46,8.07,51.47,51.47,0,0,0,22.55-28.37,102.79,102.79,0,0,1-32.57,12.45,51.34,51.34,0,0,0-87.41,46.78A145.62,145.62,0,0,1,92.4,107.81a51.33,51.33,0,0,0,15.88,68.47A50.91,50.91,0,0,1,85,169.86c0,.21,0,.43,0,.65a51.31,51.31,0,0,0,41.15,50.28,51.21,51.21,0,0,1-23.16.88,51.35,51.35,0,0,0,47.92,35.62,102.92,102.92,0,0,1-63.7,22A104.41,104.41,0,0,1,75,278.55a145.21,145.21,0,0,0,78.62,23"}))}},"./src/reddit/icons/svgs/User/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});t.a=(e=>s("svg",{className:e.className,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},void 0,s("path",{d:"M12,11 C15.309,11 18,13.691 18,17 C18,17.553 17.552,18 17,18 L3,18 C2.448,18 2,17.553 2,17 C2,13.691 4.691,11 8,11 L12,11 Z M10,9.7334 C7.868,9.7334 6.133,7.9994 6.133,5.8664 L6.133,4.8664 C6.133,2.7344 7.868,1.0004 10,1.0004 C12.132,1.0004 13.867,2.7344 13.867,4.8664 L13.867,5.8664 C13.867,7.9994 12.132,9.7334 10,9.7334 Z"})))},"./src/reddit/layout/threeCol/ExpandCenter/index.tsx":function(e,t,o){"use strict";o("./node_modules/react/index.js");var n,s=o("./bundled-modules/styled-components/styled-components.min.js"),r=o.n(s),i=o("./src/higherOrderComponents/warnOnChildrenCount/index.tsx"),d=o("./src/reddit/helpers/styles/components/index.tsx"),a=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const c=r()(Object(d.a)()).withConfig({componentId:"s1akftvf-0"})(["flex: 0 0 ",";"],e=>e.width?`${e.width}px`:""),l=r.a.div.withConfig({componentId:"s1akftvf-1"})(["flex: 1 1 100%;width: 100%;"]),p=r()(Object(d.a)()).withConfig({componentId:"s1akftvf-2"})(["flex: 0 0 ",";"],e=>e.width?`${e.width}px`:"");t.a=r()(Object(i.a)(e=>a("div",{className:e.className},void 0,a(c,{width:e.widthLeft},void 0,Array.isArray(e.children)&&e.children[0]),a(l,{},void 0,Array.isArray(e.children)&&e.children[1]),a(p,{width:e.widthRight},void 0,Array.isArray(e.children)&&e.children[2])),3)).withConfig({componentId:"s1akftvf-3"})(["display: flex;flex-direction: row;"])},"./src/reddit/layout/twoCol/Dynamic/index.tsx":function(e,t,o){"use strict";var n=o("./bundled-modules/styled-components/styled-components.min.js"),s=o.n(n);t.a=s.a.div.withConfig({componentId:"h306r0-0"})(["display: flex;flex-direction: row;"])},"./src/reddit/layout/twoCol/ExpandRight/index.tsx":function(e,t,o){"use strict";var n,s=o("./node_modules/react/index.js"),r=o.n(s),i=o("./bundled-modules/styled-components/styled-components.min.js"),d=o.n(i),a=o("./src/higherOrderComponents/warnOnChildrenCount/index.tsx"),c=o("./src/reddit/helpers/styles/components/index.tsx"),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}}),m=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};const u=d()(Object(c.a)()).withConfig({componentId:"zqnwn3-0"})(["flex: 0 0 ",";margin-right: ",";"],e=>e.width?`${e.width}px`:"",({gutter:e})=>`${e||0}px`),b=d.a.div.withConfig({componentId:"zqnwn3-1"})(["flex: 1 1 100%;overflow: hidden;width: 100%;"]);t.a=d()(Object(a.a)(e=>{const t=e.className,o=e.children,n=e.widthLeft,s=e.gutter,i=m(e,["className","children","widthLeft","gutter"]);return r.a.createElement("div",l({className:t},i),p(u,{width:n,gutter:s},void 0,Array.isArray(o)&&o[0]),p(b,{},void 0,Array.isArray(o)&&o[1]))},2)).withConfig({componentId:"zqnwn3-2"})(["display: flex;flex-direction: row;"])},"./src/reddit/models/Gold/Premium/index.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return s}),o.d(t,"b",function(){return r}),o.d(t,"c",function(){return i});var n=o("./src/app/strings/index.ts");const s={PREMIUM_1_MONTH:{priceInCoins:1800,monthsOfPremium:1},PREMIUM_3_MONTHS:{priceInCoins:5400,monthsOfPremium:3},PREMIUM_6_MONTHS:{priceInCoins:10800,monthsOfPremium:6},PREMIUM_12_MONTHS:{priceInCoins:21600,monthsOfPremium:12}},r=(e,t=!1)=>{const o=[];for(const n in s){const r=s[n];(r.priceInCoins<=e||t)&&o.push(r)}return o},i=(e,t)=>1===e.monthsOfPremium?Object(n.a)(t,"gold.givePremiumToUserModal.monthDetail",{months:e.monthsOfPremium,coins:e.priceInCoins.toLocaleString()}):Object(n.a)(t,"gold.givePremiumToUserModal.monthsDetail",{months:e.monthsOfPremium,coins:e.priceInCoins.toLocaleString()})},"./src/reddit/pages/CommentsPage/index.m.less":function(e,t,o){e.exports={HoverSpan:"_3HHkjKrBuOWf53D6PSkUCg",hoverSpan:"_3HHkjKrBuOWf53D6PSkUCg",promoBanner:"_25nFZKgLc-Z-1ua1YEzuCL",ArrowLeft:"_2JF0SDT7n7L7Rx67eH2VtS",arrowLeft:"_2JF0SDT7n7L7Rx67eH2VtS",ViewParentCommentsContainer:"_31bFOr-47JqoH9x02_aCez",viewParentCommentsContainer:"_31bFOr-47JqoH9x02_aCez",DetailsPageSidebar:"RffBqG1xCvuy1r49wYhLr",detailsPageSidebar:"RffBqG1xCvuy1r49wYhLr",MoreCommentsButton:"_1ibjfCIu5PPqcaOiPleMRD",moreCommentsButton:"_1ibjfCIu5PPqcaOiPleMRD",GradientContainer:"_2tRg7ajbEnfStKCizLgiOL",gradientContainer:"_2tRg7ajbEnfStKCizLgiOL",TruncatedScroller:"_3LxH7J7A2QASF3z8BWFUUu",truncatedScroller:"_3LxH7J7A2QASF3z8BWFUUu",PageContentWrapper:"uI_hDmU5GSiudtABRz_37",pageContentWrapper:"uI_hDmU5GSiudtABRz_37",LargePageContent:"_3vh3MfGCp46QUOtwrgRgUk",largePageContent:"_3vh3MfGCp46QUOtwrgRgUk",CommentsWrapper:"p0SYO8TbZVqJIWEeFcNZx",commentsWrapper:"p0SYO8TbZVqJIWEeFcNZx",CollectionBodyWrapper:"_3cBG1RcjxrEO-gLlwkn87S",collectionBodyWrapper:"_3cBG1RcjxrEO-gLlwkn87S"}},"./src/reddit/pages/CommentsPage/index.tsx":function(e,t,o){"use strict";o.r(t);var n,s=o("./node_modules/lodash/fromPairs.js"),r=o.n(s),i=o("./node_modules/lodash/get.js"),d=o.n(i),a=o("./node_modules/lodash/throttle.js"),c=o.n(a),l=o("./node_modules/polished/dist/polished.es.js"),p=o("./node_modules/react/index.js"),m=o.n(p),u=o("./node_modules/react-redux/es/index.js"),b=o("./node_modules/reselect/lib/index.js"),f=o("./bundled-modules/styled-components/styled-components.min.js"),h=o.n(f),g=o("./src/app/models/Draft.ts"),v=o("./src/app/strings/index.ts"),x=o("./src/reddit/components/LinkOrOverlayLink/index.tsx"),y=o("./src/reddit/helpers/path/index.ts"),O=o("./src/reddit/icons/svgs/ArrowRight/index.tsx"),C=o("./src/telemetry/index.ts"),w=o("./src/telemetry/models/Timer.ts"),j=o("./src/lib/classNames/index.ts"),S=o("./src/lib/constants/index.ts"),I=o("./src/lib/domUtils/index.ts"),P=o("./src/lib/extractQueryParams/index.ts"),k=o("./src/lib/fastdom/index.ts"),T=o("./src/lib/makeCommentsPageKey/index.ts"),N=o("./src/lib/makeDraftKey/index.ts"),_=o("./src/lib/makeListingKey/index.ts"),L=o("./src/lib/performanceTimings/index.tsx"),M=o("./src/lib/prettyPrintNumber/index.ts"),E=o("./src/app/actions/tooltip.ts"),A=o("./src/reddit/actions/comment.ts"),F=o("./src/reddit/actions/login.ts"),R=o("./src/reddit/actions/monthsToMinutes/accountCompleteness.ts"),B=o("./src/reddit/actions/page.ts"),D=o("./src/reddit/actions/video.ts"),$=o("./src/reddit/actions/postCollection.ts"),U=o("./src/reddit/components/AuthorLink/index.tsx"),W=o("./src/reddit/components/PostFollow/index.tsx"),H=o("./src/reddit/components/TrackingHelper/index.tsx"),V=o("./src/reddit/components/Translated/index.tsx"),z=o("./src/reddit/components/Widgets/PostCollection/CollectionOverflowMenu/index.tsx"),K=o("./src/reddit/components/Widgets/ThemedWidget/helpers.tsx"),q=o("./src/reddit/constants/componentSizes.ts"),G=o("./src/reddit/constants/elementIds.ts"),J=o("./src/reddit/controls/MetaSeparator/index.tsx"),Q=o("./src/reddit/featureFlags/index.ts"),Z=o("./src/reddit/helpers/postCollection.ts"),Y=o("./src/reddit/models/Post/index.ts"),X=o("./src/reddit/models/Theme/NewColorSystem/index.ts"),ee=o("./src/reddit/selectors/postCollection.ts"),te=o("./src/reddit/selectors/posts.ts"),oe=o("./src/reddit/components/Collection/PostItem.tsx"),ne=o("./src/reddit/components/Collection/index.m.less"),se=o.n(ne),re=(n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,o,s){var r=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={}),t&&r)for(var d in r)void 0===t[d]&&(t[d]=r[d]);else t||(t=r||{});if(1===i)t.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];t.children=a}return{$$typeof:n,type:e,key:void 0===o?null:""+o,ref:null,props:t,_owner:null}});const ie=e=>re(U.a,{author:e.author,canAccessRedesignProfiles:e.canAccessRedesignProfiles,className:se.a.author,"data-click-id":"user",isAuthorDeleted:e.isDeleted,isUnstyled:!0},void 0,`u/${e.author}`),de=100,ae=h()(e=>re("div",{className:e.className},void 0,e.children)).withConfig({componentId:"s1nta6mm-0"})(["top: ","px;border-bottom: 1px solid ",";background-color: ",";color: ",";fill: ",";"],q.j,e=>Object(X.c)(e).line,e=>Object(K.b)(e),e=>Object(K.d)(e),e=>Object(K.d)(e)),ce=h.a.div.withConfig({componentId:"s1nta6mm-1"})(["border-right: 1px solid ",";"],e=>Object(X.c)(e).line),le=h.a.div.withConfig({componentId:"s1nta6mm-2"})(["border-bottom: 1px solid ",";color: ",";"],e=>Object(X.c)(e).line,e=>Object(X.c)(e).bodyText),pe=h()(e=>re("div",{className:e.className,id:e.id},void 0,e.children)).withConfig({componentId:"s1nta6mm-3"})(["top: ","px;max-height: calc(100vh - ","px);border-bottom: 1px solid ",";"],e=>(e=>{return e.isOverlay?q.y+q.e:q.j+q.e})(e),e=>q.j+(e.isOverlay?q.y:0)+q.e+5,e=>Object(X.c)(e).line),me=h()(z.a).withConfig({componentId:"s1nta6mm-4"})(["& > i {color: ",";}"],e=>Object(K.d)(e));var ue=Object(u.connect)(()=>Object(b.createStructuredSelector)({canAccessRedesignProfiles:e=>Q.d.redesignProfiles(e),collection:ee.i,followPost:(e,{postId:t})=>{const o=Object(ee.i)(e,{postId:t}),n=o&&(o.primaryPostId||o.postIds[0]);return n&&Object(te.D)(e,{postId:n})||null},post:te.D,shouldShowThumbnail:(e,{postId:t})=>{const o=Object(ee.i)(e,{postId:t});return!(!o||!o.id)&&Object(ee.n)(e,{collectionId:o.id})}}),(e,t)=>({onOpenPost:t=>e(Object($.w)(t))}))(Object(H.b)(class extends m.a.Component{constructor(){super(...arguments),this.selectedPostRef=null,this.onClickPost=((e,t)=>{this.props.onOpenPost(t)}),this.updateSelectedPostRef=(e=>{this.selectedPostRef=e})}componentDidMount(){const e=document.getElementById(G.b);if(e){const t=this.selectedPostRef;let o;o=t?t.offsetTop-de:0,k.a.write(()=>{Object(I.c)(e,o)})}}render(){var e=this.props;const t=e.canAccessRedesignProfiles,o=e.collection,n=e.followPost,s=e.isNightmodeOn,r=e.isOverlay,i=e.language,d=e.post,a=e.postId,c=e.shouldShowThumbnail;if(!d||!o)return null;var l=o.author;const p=void 0===l?"":l;var u=o.description;const b=void 0===u?"":u;var f=o.postIds;const h=void 0===f?[]:f,g=o.id;return Object(Z.a)(d)&&re(m.a.Fragment,{},void 0,re(ae,{className:se.a.collectionTitleWrapper,isOverlay:r,isNightmodeOn:s},void 0,re("div",{className:se.a.collectionMetaData},void 0,re("span",{className:se.a.collectionBy},void 0,re(V.a,{msgId:"collection.collectionBy"})),re(ie,{author:p,canAccessRedesignProfiles:t,isDeleted:Object(Y.e)(p)}),re(J.a,{isSmall:!0}),re("span",{className:se.a.postCount},void 0,Object(v.d)(i,"postCreation.postsCount",h.length))),re("div",{className:se.a.collectionTitleOptions},void 0,re("span",{className:se.a.collectionTitle},void 0,o.title),n&&re(W.a,{post:n,isNightmodeOn:s}),re(me,{className:se.a.overflowMenu,collectionId:g,isSubmitPage:!1,permalink:o.permalink,shouldShowCreatePost:!0,isNightmodeOn:s}))),re(ce,{className:se.a.postListWrapper},void 0,re(pe,{id:G.b,className:se.a.collectionList,isOverlay:r},void 0,b&&b.trim()&&re(le,{className:se.a.collectionDescription},void 0,b),h.map(e=>re(oe.b,{collectionId:g,postId:e,isSelectedPost:a===e,updateSelectedPostRef:this.updateSelectedPostRef,isOverlay:r,isNightmodeOn:s,onClickPost:this.onClickPost,shouldShowThumbnail:c},e)))))}})),be=o("./src/reddit/components/BannerAd/index.tsx"),fe=o("./src/reddit/contexts/PageLayer/index.tsx"),he=o("./src/reddit/selectors/brandSafety.ts"),ge=o("./src/reddit/selectors/user.ts"),ve=o("./src/reddit/components/CommentsPageAd/index.m.less"),xe=o.n(ve),ye=o("./src/lib/lessComponent.tsx"),Oe=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Ce=Object(b.createStructuredSelector)({canShowAds:(e,t)=>{const o=Object(he.a)(e,t),n=!Q.d.rabbitHole(e)&&!Object(fe.L)(t.pageLayer)&&!Object(ge.w)(e),s=e.meta.isSessionSeo&&!Object(ge.F)(e);return o&&n&&(s||Object(ge.D)(e))}}),we=Object(u.connect)(Ce),je=Object(fe.w)(),Se=S.g[0],Ie=h()(be.a).withConfig({componentId:"zn43zz-0"})(["text-align: center;width: ",';margin: 30px auto 50px auto;height: 106px;&:before {content: "advertisement";color: rgb(135, 138, 140);display: block;font-size: 10px;letter-spacing: 0.5px;line-height: 12px;text-transform: uppercase;padding-bottom: 4px;font-weight: 500;text-align: left;}'],`${Se}px`),Pe=(e,t)=>{let o="";return t&&(o+="overlay-"),o+=`comment-${e}`},ke=ye.a.div("CommentsPageAdContainer",xe.a);var Te=je(we(class extends m.a.Component{constructor(){super(...arguments),this.container=null,this.state={enoughSpace:!1,hasBeenAssessed:!1},this.checkAvailableSpace=c()(()=>{k.a.read(()=>{if(this.container){const e=S.g[0],t=this.container.clientWidth;!this.state.enoughSpace&&this.state.hasBeenAssessed||k.a.write(()=>{this.setState({enoughSpace:t>e,hasBeenAssessed:!0})})}})},S.K)}componentDidMount(){this.props.canShowAds&&(this.checkAvailableSpace(),window.addEventListener("resize",this.checkAvailableSpace))}componentWillUnmount(){window.removeEventListener("resize",this.checkAvailableSpace)}render(){if(!this.props.canShowAds)return null;var e=this.props;const t=e.isOverlay,o=e.refreshKey,n=e.listingName,s=e.placement;return Oe(ke,{innerRef:e=>{this.container=e}},void 0,this.state.enoughSpace&&Oe(Ie,{id:Pe(s,t),sizes:[S.g],placement:s,listingName:n,refreshKey:o}))}})),Ne=o("./src/reddit/components/ContentGate/index.tsx"),_e=o("./src/reddit/components/Hovercards/AuthorHovercard/index.tsx"),Le=o("./src/reddit/components/PromoBanners/index.tsx"),Me=o("./src/lib/intersectionObserver/index.ts"),Ee=o("./src/reddit/components/IdCard/helpers.ts"),Ae=o("./src/reddit/components/SubredditIcon/index.tsx"),Fe=o("./src/reddit/components/SubscribeButton/index.tsx"),Re=o("./src/reddit/constants/colors.ts"),Be=o("./src/reddit/controls/InternalLink/index.tsx"),De=o("./src/reddit/helpers/styles/mixins/fonts.tsx"),$e=o("./src/reddit/helpers/trackers/lightbox.ts"),Ue=o("./src/reddit/models/Theme/index.ts"),We=o("./src/reddit/selectors/subreddit.ts"),He=o("./src/reddit/selectors/widgets.ts"),Ve=o("./src/reddit/components/GraphicalIdBanner/index.m.less"),ze=o.n(Ve),Ke=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const qe=Object(b.createStructuredSelector)({idCardWidget:He.c,language:ge.M,subreddit:We.v}),Ge=Object(u.connect)(qe),Je=h()(J.b).withConfig({componentId:"s19rycny-0"})(["","color: ",";"],De.titleFontH5,Re.a.white);var Qe=h()(Ge(Object(H.b)(class extends m.a.Component{constructor(){super(...arguments),this.ref=null,this.setRef=(e=>{this.ref=e})}componentDidMount(){this.ref&&Me.a(this.ref,e=>{e.isIntersecting&&this.props.sendEvent($e.b)})}render(){const e=this.props,t=Object(Ee.a)({idCardWidget:e.idCardWidget,language:e.language,listingName:e.subredditName,subreddit:e.subreddit,shouldRenderSuperbOwlIcon:!1});return m.a.createElement("div",{className:Object(j.a)(e.className,ze.a.container),ref:this.setRef},Ke("div",{className:ze.a.contentWrapper},void 0,Ke(Be.a,{className:ze.a.communityMeta,to:e.subreddit.url},void 0,Ke(Ae.b,{className:ze.a.subredditIcon,subredditOrProfile:e.subreddit}),Ke("div",{className:ze.a.communityText},void 0,Ke("h2",{className:ze.a.subredditName},void 0,e.subreddit.displayText),Ke("div",{className:ze.a.communityStats},void 0,`${Object(M.b)(t.subscribersCount)} ${t.subscribersText}`,Ke(Je,{}),`${Object(M.b)(t.currentlyViewingCount)} ${t.currentlyViewingText}`))),Ke("div",{className:ze.a.description},void 0,t.description),Ke(Fe.a,{identifier:{name:e.subredditName,type:"subreddit"},getEventFactory:e=>Object($e.a)(e?"unsubscribe":"subscribe"),onClick:e=>e.stopPropagation()})))}}))).withConfig({componentId:"s19rycny-1"})(["background: ",";"],e=>Object(Ue.g)(Object(X.c)(e).banner.backgroundColor,Object(X.c)(e).banner.backgroundImage,Object(X.c)(e).banner.backgroundImagePosition)),Ze=o("./src/reddit/components/ListingPostList/index.tsx"),Ye=o("./src/reddit/constants/page.ts"),Xe=o("./src/reddit/constants/postLayout.ts"),et=o("./src/reddit/helpers/trackers/screenview.ts"),tt=o("./src/reddit/components/RecommendedPostList/index.m.less"),ot=o.n(tt),nt=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const st=h.a.div.withConfig({componentId:"jr9666-0"})(["border-left: 1px solid ",";border-right: 1px solid ",";border-top: 1px solid ",";color: ",";"],e=>Object(X.c)(e).postLine,e=>Object(X.c)(e).postLine,e=>Object(X.c)(e).postLine,e=>Object(X.c)(e).bodyText),rt=h()(Be.a).withConfig({componentId:"jr9666-1"})(["background-color: ",";color: ",";fill: ",";&:hover {background-color: ",";}"],e=>Object(X.c)(e).button,e=>Object(X.c)(e).body,e=>Object(X.c)(e).body,e=>Object(l.h)(.8,Object(X.c)(e).button));var it=Object(H.b)(class extends m.a.Component{constructor(){super(...arguments),this.onViewed=((e,t)=>Object(et.c)(this.listingKey(),S.X.TOP,t,e,S.rc.WEEK))}listingKey(){return Object(_.a)(this.props.subredditOrProfile.name,S.X.TOP,{t:S.rc.WEEK})}render(){const e=this.props.subredditOrProfile;return nt(m.a.Fragment,{},void 0,nt(Qe,{subredditName:e.name}),nt(st,{className:ot.a.topPostsHeader},void 0,nt(V.a,{msgId:"comment.topPosts",replacements:{subredditName:e.displayText}})),nt(Ze.a,{disableBanner:!0,disablePlaceholder:!0,forcedLayout:Xe.f.Classic,listingKey:this.listingKey(),listingName:Ye.e.PostDetail,listingViewed:this.onViewed,noPostsComponent:()=>null,onLoadMore:()=>{},preventScrollOnMount:!0,inSubredditOrProfile:!0}),nt(rt,{className:ot.a.footer,onClick:()=>this.props.sendEvent(Object($e.e)("recommended_footer")),to:e.url},void 0,nt(V.a,{msgId:"discoveryUnits.continueBrowsingIn",replacements:{subredditName:e.displayText}}),nt(O.a,{className:ot.a.arrow})))}}),dt=o("./src/reddit/controls/Button/index.tsx"),at=o("./src/reddit/constants/experiments.ts"),ct=o("./src/reddit/constants/history.ts"),lt=o("./src/reddit/constants/parameters.ts"),pt=o("./src/reddit/constants/promos.ts"),mt=o("./src/reddit/contexts/TrackCommentsPageClick.ts"),ut=o("./src/reddit/models/Comment/index.ts"),bt=o("./src/reddit/models/Media/index.ts"),ft=o("./src/reddit/selectors/comments.ts"),ht=o("./src/reddit/selectors/discoveryUnit.ts"),gt=o("./src/reddit/selectors/experiments/postSeo.ts"),vt=o("./src/reddit/selectors/meta.ts"),xt=o("./src/reddit/selectors/monthsToMinutes.ts"),yt=o("./src/reddit/selectors/telemetry.ts"),Ot=o("./src/reddit/selectors/tooltip.ts"),Ct=o("./src/reddit/components/AccountCompleteness/index.tsx"),wt=o("./src/higherOrderComponents/makeAsync.tsx"),jt=o("./src/lib/loadWithRetries/index.ts"),St=o("./src/reddit/components/RichTextEditor/Placeholder.tsx"),It=o("./src/reddit/helpers/styles/components/index.tsx"),Pt=o("./src/reddit/helpers/styles/mixins/loading.ts"),kt=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Tt=h()(Object(It.a)()).withConfig({componentId:"rae1fm-0"})(["margin: ",";"],e=>e.isTopLevelComment?"24px 40px":"16px 0"),Nt=h()(Object(It.a)()).withConfig({componentId:"rae1fm-1"})(["","height: 19px;margin-bottom: 4px;width: 150px;"],Pt.b),_t=Object(wt.a)({ErrorComponent:({isTopLevelComment:e})=>kt(Tt,{isTopLevelComment:e},void 0,kt(Nt,{gradientType:"comments",isLoading:!1}),kt(St.a,{gradientType:"comments",isLoading:!1,toolbarPosition:"bottom"})),getComponent:()=>Object(jt.a)(()=>Promise.all([o.e("vendors~Chat~CollectionCommentsPage~CommentsPage~PostCreation~RedesignChat~RichTextEditor~Subreddit~~db96a512"),o.e("vendors~FlairEdit~PostCreation~RichTextEditor"),o.e("vendors~PostCreation~RichTextEditor"),o.e("RichTextEditor")]).then(o.bind(null,"./src/reddit/components/CommentCreation/index.tsx")).then(e=>e.default)),LoadingComponent:({isTopLevelComment:e})=>kt(Tt,{isTopLevelComment:e},void 0,kt(Nt,{gradientType:"comments",isLoading:!0}),kt(St.a,{gradientType:"comments",isLoading:!0,toolbarPosition:"bottom"}))});var Lt=e=>m.a.createElement(_t,e),Mt=o("./src/lib/isSimpleClick/index.ts"),Et=o("./src/lib/loginHref/index.ts"),At=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Ft=h.a.div.withConfig({componentId:"s6wlmco-0"})(["margin: 16px 26px 0 26px;display: flex;align-items: center;justify-content: space-between;border-radius: 4px;border: 1px solid ",";padding: 12px 8px;"],e=>Object(X.c)(e).line),Rt=h.a.span.withConfig({componentId:"s6wlmco-1"})(["","color: ",""],De.titleFontH4,e=>Object(X.c)(e).metaText),Bt=h()(dt.e).withConfig({componentId:"s6wlmco-2"})(["","",""],De.smallButtonFont,"\n padding: 4px 9px 2px;\n width: 100px;\n"),Dt=h()(dt.h).withConfig({componentId:"s6wlmco-3"})(["","","margin-left: auto;margin-right: 8px;"],De.smallButtonFont,"\n padding: 4px 9px 2px;\n width: 100px;\n");var $t=({className:e,language:t,location:o,openLoginModal:n,openRegisterModal:s,origin:r})=>At(Ft,{},void 0,At(Rt,{},void 0,Object(v.a)(t,"session.comment")),At(Dt,{href:Object(Et.a)(o,r,"/login"),onClick:e=>{Object(Mt.a)(e)&&(e.preventDefault(),e.stopPropagation(),n())},"data-redditstyle":!0},void 0,Object(v.a)(t,"session.login.submit")),At(Bt,{href:Object(Et.a)(o,r,"/register"),onClick:e=>{Object(Mt.a)(e)&&(e.preventDefault(),e.stopPropagation(),s())},"data-redditstyle":!0},void 0,Object(v.a)(t,"session.register.submit"))),Ut=o("./node_modules/lodash/isEqual.js"),Wt=o.n(Ut),Ht=o("./src/reddit/constants/comments.ts"),Vt=o("./src/reddit/constants/elementClassNames.ts"),zt=o("./src/reddit/constants/zIndex.ts"),Kt=o("./src/reddit/icons/fonts/helpers.tsx"),qt=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();var Gt=h()(e=>qt("i",{className:`${Object(Kt.b)("expand")} ${e.className}`})).withConfig({componentId:"qjrkk1-0"})(["display: inline-block;width: 12px;height: 12px;font-size: 12px;font-weight: 400;line-height: 12px;"]),Jt=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),Qt=h()(e=>m.a.createElement("button",e,Jt(Gt,{}))).withConfig({componentId:"gcap43-0"})(["background: none;border: none;cursor: pointer;height: 12px;line-height: 12px;outline: none;width: 12px;&."," {color: ",";}",""],Vt.f,e=>Object(X.c)(e).line,e=>`color: ${Object(X.c)(e).linkText};\n transform: rotate(180deg);\n &:hover {\n color: ${Object(X.c)(e).linkText};\n }`),Zt=o("./node_modules/lodash/defer.js"),Yt=o.n(Zt),Xt=o("./src/lib/makeCommentPermalink/index.ts"),eo=o("./src/reddit/actions/gold/modals.ts"),to=o("./src/reddit/actions/modal.ts"),oo=o("./src/reddit/actions/reportFlow.ts"),no=o("./src/reddit/helpers/correlationIdTracker.ts"),so=o("./src/reddit/helpers/hasModPostPermissions/index.ts"),ro=o("./src/reddit/selectors/activeModalId.ts"),io=o("./src/reddit/components/CommentModModeDropdown/index.tsx"),ao=o("./src/reddit/components/Comments/Comment/ModToolsFlatlist/index.tsx"),co=o("./src/reddit/components/ConfirmUserActionModal/index.tsx"),lo=o("./src/reddit/components/DistinguishCommentDropdown/index.tsx"),po=o("./src/reddit/selectors/economics.ts"),mo=o("./src/reddit/components/Economics/EntryPoints/CommentFlatlistSupportCTA/dynamicStyles.tsx");const uo=Object(wt.a)({ErrorComponent:()=>null,LoadingComponent:()=>null,getComponent:()=>Promise.all([o.e("vendors~CoinsPurchaseModal~EconomicsEntryPointsCommentFlatlistSupportCTA~EconomicsEntryPointsPostFla~fffc5772"),o.e("EconomicsEntryPointsCommentFlatlistSupportCTA~EconomicsEntryPointsPostFlatlistSupportCTA~EconomicsSu~c5c59906"),o.e("EconomicsEntryPointsCommentFlatlistSupportCTA~EconomicsEntryPointsPostFlatlistSupportCTA"),o.e("EconomicsEntryPointsCommentFlatlistSupportCTA")]).then(o.bind(null,"./src/reddit/components/Economics/EntryPoints/CommentFlatlistSupportCTA/index.tsx")).then(e=>e.default)});var bo=Object(u.connect)(()=>Object(b.createStructuredSelector)({featureEnabled:Q.d.spSupport,userAcceptsSupport:(e,t)=>{const o=e.comments.models[t.contentId];return!!o&&Object(po.b)(e,{contentId:o.id,subredditId:o.subredditId})}}))(function(e){return e.featureEnabled&&e.userAcceptsSupport?m.a.createElement(uo,e):null}),fo=o("./src/reddit/components/ModActionsMenu/index.tsx"),ho=o("./src/reddit/components/ModModeReports/helpers.ts"),go=o("./src/reddit/components/OverflowMenu/index.tsx"),vo=o("./src/reddit/components/ReportFlow/index.tsx"),xo=o("./src/reddit/components/ShareMenu/index.tsx"),yo=o("./src/reddit/components/ViewReportsDropdown/index.tsx"),Oo=o("./src/reddit/controls/CheckboxMenuItem/index.tsx"),Co=o("./src/reddit/controls/Dropdown/Row.tsx"),wo=o("./src/reddit/helpers/trackers/modTools.ts"),jo=o("./src/reddit/layout/row/Inline/index.tsx"),So=o("./src/reddit/icons/fonts/Comment/index.tsx"),Io=o("./src/reddit/icons/fonts/IgnoreReport/index.tsx"),Po=o("./src/reddit/icons/fonts/ModActions/index.tsx"),ko=o("./src/reddit/icons/fonts/Report/index.tsx"),To=o("./src/reddit/icons/svgs/Trash2/index.tsx"),No=o("./src/reddit/components/Comments/Comment/Flatlist/index.m.less"),_o=o.n(No),Lo=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Mo=h()(So.a).withConfig({componentId:"s151baxe-0"})(["","color: #B7B9BA;display: inline-block;font-size: 14px;height: 12px;line-height: 13px;margin: 0px 6px 0px -1px;width: 12px;"],Co.d),Eo=h()(To.b).withConfig({componentId:"s151baxe-1"})(["","height: 12px;width: 12px;"],Co.d),Ao=h()(Po.a).withConfig({componentId:"s151baxe-2"})(["","display: inline-block;height: 12px;width: 12px;"],Co.d),Fo=Object(f.css)(["height: 12px;margin-top: -6px;padding-right: 4px;vertical-align: middle;width: 12px;"]),Ro=h()(ko.a).withConfig({componentId:"s151baxe-3"})(["",""],Fo),Bo=h()(Io.a).withConfig({componentId:"s151baxe-4"})(["",""],Fo),Do=ye.a.wrapped(fo.a,"ModActionsMenu",_o.a),$o=h()(Object(It.a)()).withConfig({componentId:"s151baxe-5"})(["margin-right: ",";"],e=>e.modModeEnabled?"0px":"12px"),Uo=h()(go.a).withConfig({componentId:"s151baxe-6"})(["font-weight: 500;","color: ",";"," {width: 16px;text-align: center;}"],De.titleFontH5,e=>Object(X.c)(e).actionIcon,Co.a),Wo=h()(jo.a).withConfig({componentId:"s151baxe-7"})(["","","color: ",";margin: 4px 0 8px;"],De.actionFont,mo.a,e=>Object(X.c)(e).actionIcon),Ho=Object(f.css)(["display: inline-block;margin-right: 12px;transition: color 0.1s;&::first-letter {text-transform: uppercase;}&:disabled {cursor: default;}&:hover {text-decoration: underline;}"]),Vo=Object(f.css)(["&.not(:disabled):hover {color: ",";}"],e=>Object(X.c)(e).bodyText),zo=h()(h.a.button.withConfig({componentId:"s151baxe-9"})(["",""],Ho)).withConfig({componentId:"s151baxe-8"})(["",""],Vo),Ko=h()(ao.c).withConfig({componentId:"s151baxe-10"})(["margin-left: 12px;&:before {content: '';position: absolute;border-left: 1px solid ",";height: 20px;margin: 6px 0px;}"],e=>Object(X.c)(e).line),qo=ye.a.wrapped(yo.a,"ViewReportsDropdown",_o.a),Go=e=>`Comment-${e}--Modal--DeleteComment`,Jo=e=>`Distinguish--Dropdown--${e}`,Qo=e=>`${e}-overflow-menu`,Zo=e=>`View--Reports--${e}`,Yo=Object(b.createStructuredSelector)({activeTooltipId:Ot.a,currentUser:ge.j,isConfirmModalOpen:(e,{comment:t})=>Object(ro.a)(e)===Go(t.id),isPendingDeletion:ft.z,isLoggedIn:ge.F,postIsArchived:(e,{comment:t})=>Object(te.z)(e,{postId:t.postId}),postIsLocked:(e,{comment:t})=>Object(te.A)(e,{postId:t.postId}),postPermalink:(e,{comment:t})=>Object(te.C)(e,{postId:t.postId}),reportFlowIsOpen:(e,{comment:t})=>e.reportFlow.postOrCommentId===t.id,sendRepliesToggled:(e,{comment:t})=>Object(ft.E)(e,{commentId:t.id}),subredditOrProfile:(e,{comment:t})=>Object(te.O)(e,{postId:t.postId})});var Xo=Object(u.connect)(Yo,(e,{comment:t,commentsPageKey:o,language:n})=>({deleteComment:()=>o&&e(Object(A.ab)(n,t.id,t.postId,o)),handleDelete:()=>{e(Object(to.i)(Go(t.id))),e(Object(E.e)({tooltipId:Qo(t.id)}))},handleEdit:()=>{const n=t.media&&t.media.rteMode;o&&e(Object(A.U)({commentId:t.id,draftKey:Object(N.a)(g.a.edit,t.id),text:t.bodyMD||"",commentMode:n,commentsPageKey:o}))},handleReply:()=>o&&e(Object(A.lb)({parentCommentId:t.id,commentsPageKey:o})),onDistinguishComment:(o,n)=>e(Object(A.R)(t.id,o,n)),onGildClick:()=>e(Object(eo.d)(t.id)),onIgnoreReports:()=>e(Object(A.mb)(t.id)),onReportClick:()=>e(Object(oo.i)(t.id)),onToggleSave:()=>e(Object(A.db)(t.id)),onToggleDistinguishDropdown:()=>e(Object(E.e)({tooltipId:Jo(t.id)})),onToggleReportsDropdown:()=>e(Object(E.e)({tooltipId:Zo(t.id)})),toggleDeleteCommentModal:()=>e(Object(to.i)(Go(t.id))),toggleSendReplies:()=>e(Object(A.eb)(t.id))}))(Object(H.b)(class extends m.a.Component{constructor(){super(...arguments),this.sendCommentEventWithName=(e=>this.props.sendEvent(Object($e.d)(this.props.comment.postId,`comment_${e}`))),this.sendCommentModEventWithName=(e=>this.props.sendEvent(Object(wo.a)(e,this.props.comment.id))),this.sendCommentReportEvent=(e=>this.props.sendEvent(Object(wo.e)(e,this.props.comment.id))),this.handleSave=(()=>{this.props.comment.isSaved?this.sendCommentModEventWithName("unsave"):this.sendCommentModEventWithName("save"),this.props.onToggleSave()}),this.handleEdit=(()=>{this.props.sendEvent(Object(wo.d)("edit",this.props.comment.id)),this.props.handleEdit()}),this.handleGild=(async()=>{Object(no.d)(no.a.GildingFlow),this.props.onGildClick();const e=(await o.e("gildTrackers").then(o.bind(null,"./src/reddit/helpers/trackers/gild.ts"))).clickGildEvent;this.props.sendEvent(e(this.props.comment.id))}),this.handleDelete=(()=>{this.props.sendEvent(Object(wo.d)("delete",this.props.comment.id)),this.props.toggleDeleteCommentModal()}),this.handleReportClick=(()=>{this.props.sendEvent(Object(wo.a)("report",this.props.comment.id)),this.props.onReportClick()}),this.handleDistinguishToggle=(()=>{this.props.sendEvent(Object(wo.a)("mod_distinguish_menu",this.props.comment.id)),this.props.onToggleDistinguishDropdown()}),this.sendCommentDistinguishEvent=(e=>this.props.sendEvent(Object(wo.b)(e,this.props.comment.id)))}render(){var e=this.props;const t=e.comment,o=e.className,n=e.currentUser,s=e.deleteComment,r=e.handleReply,i=e.isOverlay,d=e.isLoggedIn,a=e.isPendingDeletion,c=e.language,l=e.onDistinguishComment,m=e.onIgnoreReports,u=e.onToggleReportsDropdown,b=e.moderatorPermissions,f=e.modModeEnabled,h=e.postIsArchived,g=e.postIsLocked,x=e.postPermalink,y=e.sendEvent,O=e.subreddit,C=e.toggleDeleteCommentModal,w=e.toggleSendReplies,j=e.trackClick,S=Object(so.a)(b),I=!!n&&n.displayText===t.author,P=!!n&&n.isEmployee,k=!g&&!h||S&&d,T=Object(ho.a)(t);return Lo(p.Fragment,{},void 0,Lo(Wo,{className:o},void 0,k&&Lo(zo,{onClick:()=>{r(),Yt()(()=>j("reply")())},disabled:a},void 0,Lo(Mo,{}),Object(v.a)(c,"comment.reply")),n&&!I&&Lo(zo,{onClick:this.handleGild},void 0,Object(v.a)(c,"gold.giveAward")),Lo(xo.a,{dropdownId:`${t.id}-comment-share-menu`,isOverlay:!!i,permalink:Object(Xt.a)(x,t.id),sendEventWithName:this.sendCommentEventWithName,subreddit:O},void 0,Lo(zo,{onClick:()=>this.sendCommentEventWithName("share")},void 0,Object(v.a)(c,"posts.share"))),!I&&Lo(zo,{onClick:this.handleReportClick,disabled:a},void 0,Object(v.a)(c,"comment.report")),Lo(zo,{onClick:this.handleSave},void 0,t.isSaved?Object(v.a)(c,"comment.unsaveComment"):Object(v.a)(c,"comment.saveComment")),n&&!I&&Lo(bo,{className:_o.a.supportButton,contentId:t.id,subredditId:t.subredditId,userName:t.author}),I&&Lo(zo,{onClick:this.handleEdit},void 0,Object(v.a)(c,"comment.edit")),I&&Lo($o,{modModeEnabled:f},void 0,Lo(go.b,{dropdownId:Qo(t.id),onClick:()=>y(Object(wo.a)("comment_overflow_menu",t.id))},void 0,Lo(Uo,{displayText:Object(v.a)(c,"comment.deleteComment"),onClick:this.handleDelete},void 0,Lo(Eo,{})),Lo(Oo.a,{text:Object(v.a)(c,"posts.toggleSendReplies"),onClick:w,isSelected:this.props.sendRepliesToggled}))),this.props.isConfirmModalOpen&&Lo(co.a,{actionText:Object(v.a)(c,"comment.delete"),cancelActionText:Object(v.a)(c,"comment.keep"),headerText:Object(v.a)(c,"comment.deleteComment"),modalText:Object(v.a)(c,"comment.deleteConfirmation"),onConfirm:s,toggleModal:C,trackClick:()=>{},withOverlay:!0}),S&&(f?Lo(Ko,{comment:t,isCommentAuthor:I,isOverlay:i,language:c}):Lo(Do,{dropdownId:`${t.id}-mod-actions-menu`,inCommentFlatlist:!0,onClick:()=>y(Object(wo.a)("comment_mod_action_menu",t.id))},void 0,Lo(Ao,{}),Lo(io.a,{comment:t,isOverlay:!!i,language:c,tooltipId:`${t.id}-mod-actions-menu`}))),Object(ho.c)(t)&&!f&&Lo(ao.b,{text:`${T}`,onClick:()=>{u(),this.sendCommentModEventWithName("comment_report_menu")},selected:this.props.activeTooltipId===Zo(t.id),id:Zo(t.id)},void 0,Lo(qo,{isOverlay:!!i,language:c,model:t,onIgnoreReports:()=>{m(),this.sendCommentReportEvent(t.ignoreReports?"restore_reports":"ignore_reports")},tooltipId:Zo(t.id)}),t.ignoreReports?Lo(Bo,{}):Lo(Ro,{})),S&&!f&&I&&!P&&!t.bannedBy&&Lo(ao.b,{onClick:this.handleDistinguishToggle,selected:this.props.activeTooltipId===Jo(t.id)},void 0,Lo(ao.a,{}),Lo(lo.a,{isAdminDistinguished:t.isAdmin,isDropdownOpen:this.props.activeTooltipId===Jo(t.id),isModDistinguished:t.isMod,isOverlay:!!i,isStickied:t.isStickied,isTopLevelComment:!t.parentId,isUserEmployee:P,isUserMod:S,language:c,onDistinguishComment:l,sendEventWithName:this.sendCommentDistinguishEvent,tooltipId:Jo(t.id)})),I&&P&&!t.bannedBy&&Lo(ao.b,{onClick:this.handleDistinguishToggle,selected:this.props.activeTooltipId===Jo(t.id)},void 0,Lo(ao.a,{}),Lo(lo.a,{isAdminDistinguished:t.isAdmin,isDropdownOpen:this.props.activeTooltipId===Jo(t.id),isModDistinguished:t.isMod,isOverlay:!!i,isStickied:t.isStickied,isTopLevelComment:!t.parentId,isUserEmployee:P,isUserMod:S,language:c,onDistinguishComment:l,sendEventWithName:this.sendCommentDistinguishEvent,tooltipId:Jo(t.id)}))),this.props.reportFlowIsOpen&&Lo(vo.a,{withOverlay:!0,commentId:this.props.comment.id,overlayCustomStyles:vo.b,postId:this.props.comment.postId}))}})),en=o("./src/reddit/components/Comments/Comment/TopMeta/index.tsx"),tn=o("./src/reddit/components/GildModal/Loader.tsx"),on=o("./src/reddit/components/ModModeReports/index.tsx"),nn=o("./src/reddit/components/RichTextJson/index.tsx"),sn=o("./src/reddit/components/VerticalVotes/index.tsx"),rn=o("./src/reddit/helpers/getRichTextContent.ts"),dn=o("./src/reddit/components/VerticalVotes/index.m.less"),an=o.n(dn),cn=o("./src/reddit/components/VerticalVotes/votes.tsx"),ln=o("./src/reddit/components/VerticalVotes/votes.m.less"),pn=o.n(ln),mn=o("./src/reddit/constants/componentTestIds.ts"),un=o("./src/reddit/controls/ErrorText/index.tsx"),bn=o("./src/reddit/controls/InvisibleScreenReaderText/index.tsx"),fn=o("./src/reddit/models/Subreddit/index.ts"),hn=o("./src/reddit/models/Vote/index.ts"),gn=o("./src/reddit/selectors/gild.ts"),vn=o("./src/reddit/selectors/moderatorPermissions.ts"),xn=o("./src/reddit/reducers/comments/visitHighlightingFilter/index.ts"),yn=o("./src/reddit/components/Comments/Comment/index.m.less"),On=o.n(yn),Cn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},wn=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),jn=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var o=[],n=!0,s=!1,r=void 0;try{for(var i,d=e[Symbol.iterator]();!(n=(i=d.next()).done)&&(o.push(i.value),!t||o.length!==t);n=!0);}catch(a){s=!0,r=a}finally{try{!n&&d.return&&d.return()}finally{if(s)throw r}}return o}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();const Sn=ye.a.wrapped(Qt,"ExpandButton",On.a),In=ye.a.wrapped(un.a,"ErrorText",On.a),Pn=h()(sn.a).withConfig({componentId:"d6o18y-0"})(["min-width: 24px;max-height: 40px;margin: 6px -1px -2px 9px;text-align: center;z-index: ",";","."," {height: 20px;}.",",.",",",","," {padding: 2px;}"],zt.e,sn.b,an.a.voteButton,pn.a.customDownvote,pn.a.customUpvote,cn.c,cn.d),kn=h()(en.a).withConfig({componentId:"d6o18y-1"})(["margin-left: ",";min-height: 18px;"],e=>e.collapsed?"32px":"0px"),Tn=h()(Object(It.a)()).withConfig({componentId:"d6o18y-2"})(["border: 1px solid transparent;border-radius: 4px;box-sizing: border-box;opacity: ",";margin-left: 4px;padding-left: 4px;padding-top: 4px;max-width: ","px;width: 100%;","","","",""],e=>e.isPendingDeletion?"0.5":"1.0",q.g,e=>e.isRemoved?`border: 2px solid ${Re.a.removed};\n background-color: ${Object(l.e)(Re.a.removed,.05)};\n padding-left: 4px;\n padding-top: 4px;\n margin-top: -4px;`:"",e=>e.isActive?`border: 1px solid ${Object(X.c)(e).postIcon};`:"",e=>e.isCollapsed?"margin-left: 8px;\n padding-left: 0;":"",e=>e.highlightComment?`background-color: ${Object(l.j)(.9,Object(X.c)(e).active)}`:""),Nn=h()(Object(It.a)()).withConfig({componentId:"d6o18y-3"})(["border-radius: 4px;display: flex;margin-left: -23px;padding: 8px 4px 0 0;position: relative;transition: color 0.5s, fill 0.5s, background 1s;.",":hover + "," {"," {opacity: 1;}}","&.top-level {margin-top: 16px;}"],Sn.cssClassName,Tn,kn,e=>e.focused?`background: ${Object(l.j)(.95,Object(X.c)(e).button)};`:"background: transparent;"),_n=ye.a.div("CommentBody",On.a),Ln=h()(Lt).withConfig({componentId:"d6o18y-4"})(["position: relative;&:before {border-left: 1px dashed ",';bottom: 0;content: " ";left: -8px;position: absolute;top: 1px;}'],e=>Object(X.c)(e).line),Mn=ye.a.wrapped(Ln,"EditCommentForm",On.a),En=Object(fe.w)()(Object(u.connect)(()=>Object(b.createStructuredSelector)({comment:(e,t)=>Object(ft.n)(e,t),currentProfileModPermissions:fe.i,depth:(e,t)=>Object(ft.j)(e,t),collapsed:ft.h,flair:ft.e,focused:ft.t,gildModalIsOpen:(e,{commentId:t})=>Object(gn.c)(e,t),isEditing:ft.y,isPendingDeletion:ft.z,language:ge.M,moderatorPermissions:(e,t)=>{const o=Object(ft.n)(e,t);return o?Object(vn.g)(e,{subredditId:o.subredditId}):null},modModeEnabled:fe.Q,errorMsgs:ft.C,patreonPatronFlair:ft.f,replyFormOpen:ft.F,subreddit:fe.t,subredditType:ft.H,highlightComment:(e,{commentId:t})=>{const o=Object(ft.q)(e);if(o===xn.a.None)return!1;const n=Object(ft.n)(e,{commentId:t});if(!n)return!1;const s=Object(ge.p)(e),r=!!Object(vn.f)(e,{postId:n.postId}),i=Object(te.D)(e,{postId:n.postId});if(!i||!i.previousVisits||i.previousVisits.length<2)return!1;const d=o===xn.a.Last?i.previousVisits[i.previousVisits.length-1]:i.previousVisits[0];return(r||s)&&n.created>d}}),(e,{commentId:t,commentsPageKey:o,scrollToAndRemeasure:n,trackClick:s})=>({onCollapseClick:()=>e(Object(A.kb)({commentId:t,commentsPageKey:o,scrollToAndRemeasure:n})),onIgnoreReports:()=>e(Object(A.mb)(t)),onVoteClick:o=>{var n=o===hn.a.upvoted?[Object(A.nb)(t),"upvote_comment"]:[Object(A.S)(t),"downvote_comment"],r=jn(n,2);const i=r[0],d=r[1];s(d)(),e(i)}}))(({childrenInfo:e,clearHovered:t,comment:o,commentsPageKey:n,collapsed:s,currentProfileModPermissions:r,depth:i,errorMsgs:d,flair:a,focused:c,gildModalIsOpen:l,highlightComment:m,isActive:u,isEditing:b,isPendingDeletion:f,language:h,moderatorPermissions:x,modModeEnabled:y,onCollapseClick:O,onIgnoreReports:C,onLineMouseOver:w,onVoteClick:j,patreonPatronFlair:S,replyFormOpen:I,subreddit:P,trackClick:k,renderedInOverlay:T,subredditType:_})=>{const L=!b&&!o.isDeleted&&!!d&&d.length>0,M=Object(N.a)(g.a.edit,o.id),E=Object(N.a)(g.a.replyToComment,o.id),F=Object(so.a)(x),R=o.authorIsContractor&&_===fn.b.EmployeesOnly;return wn(Nn,{className:`Comment ${o.id} ${i?"":"top-level"}`,focused:c},void 0,s&&wn(Sn,{className:o.id,onClick:()=>{t(),O(),k("collapse")()},onMouseOver:()=>w(o.id),onMouseOut:t}),!s&&!o.isDeleted&&wn(Pn,{compact:!0,model:o,onVoteClick:j}),wn(Tn,{highlightComment:m,isActive:u,isCollapsed:s,isPendingDeletion:f,isRemoved:!!o.bannedBy},void 0,wn(bn.a,{},void 0,Object(v.a)(h,"comment.level",{level:i+1})),wn(kn,{childrenInfo:e,collapsed:s,comment:o,commentsPageKey:n,flair:a,language:h,patreonPatronFlair:S,renderedInOverlay:T,renderContractorBadge:R}),!s&&wn(p.Fragment,{},void 0,b&&wn(Mn,{autofocus:!0,commentsPageKey:n,depth:i,draftType:g.a.edit,draftKey:M,rtJson:Object(rn.a)(o),isTopLevelComment:!1,parentCommentId:o.id,submitAction:(e,t)=>Object(A.bb)({language:h,id:o.id,commentsPageKey:n,depth:i,draftKey:M,formData:e}),submitButtonText:Object(v.a)(h,"comment.saveEdits")}),!b&&!o.isDeleted&&wn(_n,{"data-test-id":mn.d},void 0,wn(nn.b,{content:Object(rn.a)(o),renderingObjectInfo:o})),y&&F&&Object(ho.c)(o)&&wn(on.a,{language:h,onIgnoreReports:C,reportable:o}),!b&&!o.isDeleted&&wn(Xo,{comment:o,commentsPageKey:n,isOverlay:T,language:h,modModeEnabled:y,moderatorPermissions:r||x,subreddit:P,trackClick:k}),L&&d.map(e=>wn(In,{language:h},void 0,e)),I&&wn(Ln,{autofocus:!0,commentsPageKey:n,depth:i,draftType:g.a.replyToComment,draftKey:E,isTopLevelComment:!1,parentCommentId:o.id,submitAction:(e,t)=>Object(A.gb)({commentsPageKey:n,draftKey:E,language:h,parentCommentDepth:i,parentCommentId:o.id,formData:e,editorMode:t}),submitButtonText:Object(v.a)(h,"comment.reply")}))),l&&wn(tn.a,{}))}));var An=e=>wn(mt.a.Consumer,{},void 0,t=>m.a.createElement(En,Cn({},e,{trackClick:t}))),Fn=o("./src/reddit/contexts/InsideOverlay.tsx"),Rn=o("./src/reddit/components/Comments/ContinueThreadLink/index.m.less"),Bn=o.n(Rn),Dn=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const $n=h.a.div.withConfig({componentId:"cij1z6-0"})(["align-items: center;border: 1px solid transparent;border-radius: 4px;color: ",";display: flex;fill: ",";margin-left: 8px;padding: 4px;",""],e=>Object(X.c)(e).linkText,e=>Object(X.c)(e).linkText,e=>e.isActive?`border: 1px solid ${Object(X.c)(e).postIcon};`:""),Un=ye.a.wrapped(O.a,"ArrowRight",Bn.a),Wn=h()(x.a).withConfig({componentId:"cij1z6-1"})(["","align-items: center;display: flex;"],De.actionFont),Hn=ye.a.span("HoverSpan",Bn.a),Vn=Object(b.createStructuredSelector)({language:ge.M,permalink:(e,t)=>Object(ft.m)(e,{commentId:Object(ft.s)(e,t).parentId})});var zn=Object(u.connect)(Vn)(Object(Fn.b)(({isActive:e,isOverlay:t,language:o,permalink:n})=>Dn($n,{isActive:e},void 0,Dn(Wn,{isOverlay:!!t,to:Object(y.b)(n)},void 0,Dn(Hn,{},void 0,Object(v.a)(o,"comment.continueThread"))," ",Dn(Un,{}))))),Kn=o("./src/reddit/components/Comments/MoreCommentsItem/index.m.less"),qn=o.n(Kn),Gn=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Jn=ye.a.div("MoreCommentsItemWrapper",qn.a),Qn=h.a.p.withConfig({componentId:"s1tyd4zp-0"})(["","border: 1px solid transparent;border-radius: 4px;color: ",";cursor: pointer;height: 24px;margin-left: 4px;padding-left: 4px;"],De.actionFont,e=>Object(X.c)(e).linkText),Zn=h()(Qn).withConfig({componentId:"s1tyd4zp-1"})(["&:hover {text-decoration: underline;}",""],e=>e.isActive?`border: 1px solid ${Object(X.c)(e).postIcon};`:""),Yn=Object(b.createStructuredSelector)({moreCommentsItem:ft.A,moreCommentsPending:ft.B,language:ge.M});var Xn=Object(u.connect)(Yn,(e,t)=>({moreCommentsClicked:()=>e(Object(A.W)(t.commentsPageKey,t.moreCommentsId))}))(({language:e,isActive:t,moreCommentsClicked:o,moreCommentsItem:n,moreCommentsPending:s})=>Gn(Jn,{},void 0,s?Gn(Qn,{},void 0,Object(v.a)(e,"comment.loading")):Gn(mt.a.Consumer,{},void 0,s=>Gn(Zn,{isActive:t,onClick:()=>{o(),s("load_more_comment")()}},void 0,Object(v.d)(e,"comment.moreReply",n.numComments,{numComments:n.numComments}))))),es=o("./node_modules/lodash/times.js"),ts=o.n(es),os=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const ns=h()(e=>m.a.createElement("div",e,os("i",{className:"threadline"}))).withConfig({componentId:"fxv3b9-0"})(["box-sizing: border-box;cursor: pointer;display: inline-block;height: 100%;margin-left: ","px;vertical-align: top;width: ","px;& > ."," {display: block;height: 100%;width: 50%;border-right: 2px solid ",";}&."," > ."," {border-right: 2px solid ",";}"],q.I,q.J,Vt.h,e=>Object(X.c)(e).line,Vt.f,Vt.h,e=>Object(X.c)(e).button),ss=h.a.div.withConfig({componentId:"fxv3b9-1"})(["bottom: 0;left: 0;position: absolute;top: 0;z-index: ",";"],zt.g),rs=h.a.div.withConfig({componentId:"fxv3b9-2"})(["box-sizing: border-box;display: inline-block;height: 100%;vertical-align: top;"," {bottom: 0;height: calc(100% - 56px);position: absolute;}"],ns);var is=e=>{const t=e.collapsed,o=e.depth,n=e.onLineClick,s=e.onLineMouseOver,r=e.onLineMouseOut,i=e.onShortLineClick,d=e.parentNodeIds,a=e.type;return os(ss,{},void 0,ts()(o+1,e=>e===o?a!==Ht.a.Comment||t?null:os(rs,{},d[e],os(ns,{className:d[e],onClick:i,onMouseOver:()=>s(d[e]),onMouseOut:()=>r(d[e])})):os(ns,{className:d[e],onClick:n(e),onMouseOver:()=>s(d[e]),onMouseOut:()=>r(d[e])},d[e])))},ds=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const as=h()(Object(It.b)()).withConfig({componentId:"s136il31-0"})(["box-sizing: border-box;overflow: visible;padding-left: ","px;position: relative;transition: background 1s;width: 100%;","&:focus{outline: none;}"],e=>e.depth*(q.J+q.I)+(e.type===Ht.a.Comment?q.J:0),e=>e.isHidden?"display: none;":""),cs=e=>{const t=document.querySelectorAll(`.${e}`);if(t&&t.length)for(let o=0;o<t.length;o++)t[o].classList.add(Vt.f)},ls=()=>{const e=document.querySelectorAll(`.${Vt.f}`);if(e&&e.length)for(let t=0;t<e.length;t++)e[t].classList.remove(Vt.f)};var ps=Object(u.connect)(()=>Object(b.createStructuredSelector)({collapsed:(e,{commentLink:t,commentsPageKey:o})=>!(!e.comments.collapsed[o]||!e.comments.collapsed[o][t.id]),commentListNode:(e,t)=>Object(ft.l)(e,t),depth:(e,t)=>Object(ft.j)(e,t),isActive:(e,{commentLink:t})=>!!e.shortcuts.activeCommentId&&t.id===e.shortcuts.activeCommentId}),(e,{commentLink:t,commentsPageKey:o,scrollToAndRemeasure:n})=>({onLineClick:s=>()=>{e(Object(A.J)({commentLink:t,commentsPageKey:o,lineDepth:s,scrollToAndRemeasure:n}))},onShortLineClick:()=>e(Object(A.kb)({commentId:t.id,commentsPageKey:o,scrollToAndRemeasure:n}))}))(e=>{const t=e.childrenInfo,o=e.className,n=e.collapsed,s=e.commentLink,r=e.commentsPageKey,i=e.depth,d=e.isActive,a=e.isHidden,c=e.onLineClick,l=e.onShortLineClick,p=e.scrollToAndRemeasure,m=e.renderedInOverlay,u=e.parentNodeIds;return ds(as,{className:o,depth:i,isHidden:a,id:s.id,isActive:d,type:s.type},void 0,ds(is,{collapsed:n,depth:i,onLineClick:c,onLineMouseOver:cs,onLineMouseOut:ls,onShortLineClick:l,type:s.type,parentNodeIds:u}),ms({childrenInfo:t,clearHovered:ls,commentLink:s,commentsPageKey:r,onLineMouseOver:cs,isActive:d,renderedInOverlay:m,scrollToAndRemeasure:p}))});const ms=({childrenInfo:e,clearHovered:t,commentLink:o,commentsPageKey:n,isActive:s,onLineMouseOver:r,renderedInOverlay:i,scrollToAndRemeasure:d})=>{switch(o.type){case Ht.a.Comment:return ds(An,{childrenInfo:e,clearHovered:t,commentId:o.id,commentsPageKey:n,isActive:s,onLineMouseOver:r,renderedInOverlay:i,scrollToAndRemeasure:d});case Ht.a.MoreComments:return ds(Xn,{commentsPageKey:n,isActive:s,moreCommentsId:o.id});case Ht.a.ContinueThread:return ds(zn,{id:o.id,isActive:s})}};var us=o("./src/reddit/components/Comments/helpers/hiddenComments.ts"),bs=o("./src/app/helpers/describeApiError/index.ts"),fs=o("./src/reddit/components/Media/LoadingIcon/index.tsx"),hs=o("./src/reddit/icons/fonts/Downvote/index.tsx"),gs=o("./src/reddit/icons/fonts/Upvote/index.tsx"),vs=o("./src/reddit/icons/svgs/Comments/index.tsx"),xs=o("./src/reddit/icons/svgs/SnooFacepalm/index.tsx"),ys=o("./src/reddit/components/Comments/States/index.m.less"),Os=o.n(ys),Cs=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const ws=h.a.div.withConfig({componentId:"x03auy-0"})(["align-items: center;display: flex;flex-direction: column;justify-content: center;min-height: ","px;"],340),js="\n height: 28px;\n margin-bottom: 20px;\n width: 28px;\n",Ss=h()(vs.a).withConfig({componentId:"x03auy-1"})(["","fill: ",";"],js,e=>Object(l.e)(Object(X.c)(e).button,.4)),Is=h()(xs.a).withConfig({componentId:"x03auy-2"})(["",""],js),Ps=Object(f.css)(["","color: ",";opacity: 0.6;"],De.titleFontH3,e=>Object(X.c)(e).metaText),ks=h.a.p.withConfig({componentId:"x03auy-3"})(["","margin-bottom: 12px;text-transform: capitalize;"],Ps),Ts=h.a.p.withConfig({componentId:"x03auy-4"})(["","text-align: center;margin: 0 50px 20px;"],Ps),Ns=h.a.p.withConfig({componentId:"x03auy-5"})(["","color: ",";opacity: 0.6;"],De.titleFontH5,e=>Object(X.c)(e).metaText),_s=({language:e})=>Cs(ws,{},void 0,Cs(Ss,{}),Cs(ks,{},void 0,Object(v.a)(e,"comment.noComments")),Cs(Ns,{},void 0,Object(v.a)(e,"comment.empty"))),Ls=({language:e,link:t})=>Cs(ws,{},void 0,Cs(Ss,{}),Cs(ks,{},void 0,Object(v.a)(e,"comment.missingComment")),Cs(dt.f,{to:Object(y.b)(t)},void 0,Object(v.a)(e,"comment.viewAllComments"))),Ms=Object(u.connect)(null,(e,{postId:t,commentId:o,sort:n})=>({onClick:()=>e(Object(B.v)(t,o,{sort:n}))}))(({apiError:e,language:t,onClick:o})=>Cs(ws,{},void 0,Cs(Is,{}),Cs(Ts,{},void 0,e?Object(bs.a)({apiError:e,language:t,isLoggedOut:!1}):Object(v.a)(t,"comment.error")),Cs(dt.d,{onClick:o},void 0,Object(v.a)(t,"common.retry")))),Es=Object(f.css)(["background-color: ",";border-radius: 4px;height: 500px;margin: 81px auto 60px;max-width: 95%;position: relative;width: 1200px;"],e=>Object(X.c)(e).body),As=()=>Cs("div",{},void 0,"500"),Fs=h()(({className:e})=>Cs("div",{className:e},void 0,Cs(fs.a,{}))).withConfig({componentId:"x03auy-6"})(["",""],Es),Rs=ye.a.div("CommentsPlaceholderContainer",Os.a),Bs=ye.a.div("CommentPlaceholder",Os.a),Ds=ye.a.div("VoteColumn",Os.a),$s=ye.a.div("TextColumn",Os.a),Us=Object(f.css)(["font-size: 16px;color: ",";"],e=>Object(X.c)(e).actionIcon),Ws=h()(gs.a).withConfig({componentId:"x03auy-7"})(["",""],Us),Hs=h()(hs.a).withConfig({componentId:"x03auy-8"})(["","margin-top: -1px;"],Us),Vs=h()(Object(It.a)()).withConfig({componentId:"x03auy-9"})(["","height: 16px;margin-bottom: 8px;width: 176px;background-color: ",";"],Pt.c,e=>Object(X.c)(e).placeholder),zs=h()(Object(It.a)()).withConfig({componentId:"x03auy-10"})(["","height: 124px;margin-bottom: 12px;width: 100%;background-color: ",";"],Pt.c,e=>Object(X.c)(e).placeholder),Ks=e=>Cs(Rs,{},void 0,ts()(10,t=>Cs(Bs,{},t,Cs(Ds,{},void 0,Cs(Ws,{}),Cs(Hs,{})),Cs($s,{},void 0,Cs(Vs,{isLoading:e.isLoading}),Cs(zs,{isLoading:e.isLoading})))));var qs=o("./src/reddit/components/Scroller/Simple.tsx"),Gs=o("./src/reddit/constants/screenWidths.ts"),Js=o("./src/reddit/helpers/commentList/index.ts"),Qs=o("./src/lib/LRUCache/index.ts"),Zs=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Ys=q.j+10,Xs=65,er=h()(qs.a).withConfig({componentId:"s1s03i76-0"})(["padding: 0 15px;@media(min-width: ","px) {padding: 0;}"],Gs.i),tr=Object(b.createStructuredSelector)({allCollapsed:ft.a,commentLinks:ft.k,commentThreadLinkSet:ft.p,language:ge.M,measureScrollFPS:Q.d.measureScrollFPS,moreComments:ft.b,postPermalink:te.C}),or=Object(u.connect)(tr,(e,t)=>({onCommentEnteredViewport:t=>e(Object(A.K)(t)),onCommentLeftViewport:(t,o)=>e(Object(A.P)(t,o))})),nr=new Qs.a(500),sr=new Qs.a(500),rr=(e,t)=>{const o=`entered-${e}`;let n=nr.get(o);return void 0===n&&(n=(()=>{t.onCommentEnteredViewport(e)}),nr.set(o,n)),n},ir=(e,t)=>{const o=`left-${e}`;let n=sr.get(o);return void 0===n&&(n=(o=>{t.onCommentLeftViewport(e,o)}),sr.set(o,n)),n};var dr=or(class extends m.a.Component{constructor(e){super(e),this.getParentNodeIds=(e=>{var t=this.props;const o=t.commentLinks,n=t.commentThreadLinkSet;if(this.parentNodeIdsMap[e.id])return this.parentNodeIdsMap[e.id];const s=n[e.id].depth;if(0===s)return this.parentNodeIdsMap[e.id]=[e.id],this.parentNodeIdsMap[e.id];const r=o.findIndex(t=>t.id===e.id),i=o[r-1],d=this.parentNodeIdsMap[i.id].slice();return this.parentNodeIdsMap[e.id]=d.filter(e=>n[e].depth<s),this.parentNodeIdsMap[e.id].push(e.id),this.parentNodeIdsMap[e.id]}),this.getChildrenInfo=(e=>this.childrenInfoMap[e]||void 0),this.parentNodeIdsMap={},us.c(),this.childrenInfoMap={}}componentWillMount(){var e=this.props;const t=e.commentLinks,o=e.allCollapsed,n=e.commentThreadLinkSet,s=e.moreComments;this.timerId&&C.c.cancel(this.timerId),t.length&&(this.timerId=C.c.start()),this.findHiddenNodes(t,o,n,s)}componentDidMount(){this.timerId&&Object(C.b)(S.o.Redesign,{type:"mount",component:"commentsList",duration:C.c.end(this.timerId)})}componentWillReceiveProps(e){const t=e.allCollapsed,o=e.commentsPageKey,n=e.commentLinks,s=e.commentThreadLinkSet,r=e.moreComments;(o!==this.props.commentsPageKey||n.length>this.props.commentLinks.length||!Wt()(t,this.props.allCollapsed))&&this.findHiddenNodes(n,t,s,r)}shouldComponentUpdate(e){var t=this.props;const o=t.commentsPageKey,n=t.commentLinks,s=t.allCollapsed;return e.commentsPageKey!==o||e.commentLinks.length>n.length||!Wt()(e.allCollapsed,s)||e.commentLinks.some((e,t)=>e.id!==n[t].id)}componentWillUpdate(e){this.timerId&&C.c.cancel(this.timerId),e.commentLinks.length&&(this.timerId=C.c.start())}componentDidUpdate(e){this.timerId&&Object(C.b)(S.o.Redesign,{type:"mount",component:"commentsList",duration:C.c.end(this.timerId)})}componentWillUnmount(){this.timerId&&C.c.cancel(this.timerId)}findHiddenNodes(e,t,o,n){if(!t||!Object.keys(t).length)return;let s=null,r=1/0,i=0,d=!1;us.c();for(let a=0;a<e.length;a++){const c=e[a];s&&(o[c.id].depth>r?(us.a(c.id),i+=Object(Js.d)(c,n),c.type===Ht.a.ContinueThread&&(d=!0)):(this.childrenInfoMap[s]={numChildren:i,hasContinueThread:d},s=null,r=1/0,i=0,d=!1)),!s&&t[c.id]&&(s=c.id,r=o[c.id].depth)}}render(){return this.props.commentLinks.length?this.renderList():this.renderEmptyState()}getScrollChild(e,t){var o=this.props;const n=o.onCommentEnteredViewport,s=o.onCommentLeftViewport,r=rr(e.id,{onCommentEnteredViewport:n,onCommentLeftViewport:s}),i=ir(e.id,{onCommentEnteredViewport:n,onCommentLeftViewport:s});return{estHeight:us.b(e.id)?0:Xs,id:e.id,trackOnEnteredViewport:r,trackOnExitedViewport:i,render:({placeholderRecommended:t,height:o,width:n,scrollToAndRemeasure:s})=>t?Zs("div",{style:{height:o,backgroundColor:"#fff"}}):Zs(ps,{childrenInfo:this.getChildrenInfo(e.id),commentLink:e,commentsPageKey:this.props.commentsPageKey,id:e.id,isHidden:us.b(e.id),scrollToAndRemeasure:s,renderedInOverlay:!!this.props.renderedInOverlay,parentNodeIds:this.getParentNodeIds(e)})}}renderList(){let e;this.props.measureScrollFPS&&(e=`comments-${this.props.renderedInOverlay?"lightbox":"page"}`);const t=this.props.commentLinks.map((e,t)=>this.getScrollChild(e,t));return Zs(er,{className:this.props.className,disableScrollCache:this.props.renderedInOverlay,getContainer:()=>this.props.renderedInOverlay?document.getElementById(G.d):null,preventScrollOnMount:!0,scrollToChildPadding:Ys,trackingName:e},this.props.commentsPageKey,t)}renderEmptyState(){return this.props.commentId?Zs(Ls,{language:this.props.language,link:this.props.postPermalink}):Zs(_s,{language:this.props.language})}}),ar=o("./src/higherOrderComponents/asTooltip.tsx"),cr=o("./src/reddit/actions/post.ts"),lr=o("./src/reddit/actions/toaster.ts"),pr=o("./src/lib/makeApiRequest/index.ts"),mr=o("./src/lib/omitHeaders/index.ts"),ur=o("./src/reddit/constants/headers.ts"),br=o("./src/reddit/models/Toast/index.ts");const fr=(e,t)=>async(o,n,{apiContext:s})=>{const r=n(),i=await(async(e,t,o)=>Object(pr.c)(Object(mr.a)(e,[ur.a]),{endpoint:`${e.apiUrl}/api/set_suggested_sort/`,method:S.jb.POST,data:{api_type:"json",id:t,sort:o}}))(s(),e,t),d=`error-block-${t}`,a=`success-block-${t}`;if(i.ok){o(Object(cr.B)({[e]:{suggestedSort:t}}));const n=Object(v.a)(r.user.language,t?"sorts.suggestedCommentSort.toastOn":"sorts.suggestedCommentSort.toastOff");o(lr.e({id:a,kind:br.b.SuccessCommunityGreen,text:n}))}else o(lr.e({id:d,kind:br.b.Error,text:Object(v.a)(r.user.language,"error.tryAgainLater"),buttonText:Object(v.a)(r.user.language,"listings.toast.retryButton"),buttonAction:fr(e,t)}))};var hr=o("./src/reddit/components/InfoTextTooltip/index.tsx"),gr=o("./src/reddit/controls/Dropdown/index.tsx"),vr=o("./src/reddit/helpers/getOverlayContainerById/index.ts");const xr=(e,t)=>o=>({source:"comment_sort",action:"click",noun:e,actionInfo:{pageType:t?"post_detail":"home"},userSubreddit:yt.userSubreddit(o)}),yr=(e,t)=>o=>({source:"comment_highlighting",action:t,noun:e});var Or=o("./src/reddit/icons/svgs/Dropdown/index.tsx"),Cr=o("./src/reddit/icons/svgs/Info/index.tsx"),wr=o("./src/reddit/components/CommentSort/index.m.less"),jr=o.n(wr),Sr=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Ir="CommentSort--SortPicker",Pr="CommentSort--Tooltip",kr=Object(ar.a)(gr.a),Tr=Object(f.css)(["."," {fill: ",";}."," {color: ",";}."," {fill: ",";}."," {color: ",";}."," {color: ",";}."," {color: ",";}."," {color: ",";fill: ",";}"],jr.a.DropdownTriangle,e=>Object(X.c)(e).linkText,jr.a.SortLink,e=>Object(X.c)(e).linkText,jr.a.Info,e=>Object(X.c)(e).linkText,jr.a.Title,e=>Object(X.c)(e).metaText,jr.a.Row,e=>Object(X.c)(e).linkText,jr.a.SingleCommentText,e=>Object(X.c)(e).bodyText,jr.a.ViewFullLinkOrOverlayLink,e=>Object(X.c)(e).button,e=>Object(X.c)(e).button),Nr=h()(hr.c).withConfig({componentId:"s15ogqrm-0"})(["background: ",";display: flex;padding: 8px 12px;text-align: center;width: 230px;&:after {border-top: 3px solid ",";}"],Re.a.tooltip,Re.a.tooltip),_r=Object(b.createStructuredSelector)({commentPermalink:(e,{commentId:t})=>t&&Object(ft.m)(e,{commentId:t}),dropdownIsOpen:Object(Ot.b)(Ir),highlightIsOpen:Object(Ot.b)("CommentSort--highlight-picker"),hasModeratorPostPermissions:(e,{postId:t})=>{const o=Object(vn.f)(e,{postId:t});return!!o&&o.posts},language:ge.M,postPermalink:te.C,showCommentHighlighter:(e,{postId:t})=>{const o=Object(ge.p)(e),n=!!Object(vn.f)(e,{postId:t}),s=Object(te.D)(e,{postId:t});return(n||o)&&!!s&&!!s.previousVisits&&s.previousVisits.length>1},selectedHighlightSort:ft.q}),Lr=Object(u.connect)(_r,(e,{postId:t})=>({changeHighlightSort:t=>e(Object(A.I)({sort:t})),onOpenDropdown:()=>e(Object(E.e)({tooltipId:Ir})),onOpenHighlightDropdown:t=>{e(Object(E.e)({tooltipId:"CommentSort--highlight-picker"})),t()},onSetSuggestedSort:o=>e(fr(t,o)),hideTooltip:()=>e(Object(E.f)()),showTooltip:()=>e(Object(E.e)({tooltipId:Pr}))}));const Mr=e=>e===xn.a.First?"First Visit":e===xn.a.Last?"Last Visit":"None",Er=class extends m.a.Component{constructor(){super(...arguments),this.track=(()=>{var e=this.props;const t=e.trackHighlight,o=e.selectedSort;if(o!==xn.a.None){t(o===xn.a.Last?"since_last_visit":"since_first_visit","view")}}),this.onDropdownClick=((e,t)=>{this.props.trackHighlight(e,"click"),this.props.changeHighlightSort(t)}),this.onDropdownClickFirst=(()=>{this.onDropdownClick("since_first_visit",xn.a.First)}),this.onDropdownClickLast=(()=>{this.onDropdownClick("since_last_visit",xn.a.Last)}),this.onDropdownClickNone=(()=>{this.onDropdownClick("do_not_highlight",xn.a.None)})}componentDidMount(){this.track()}componentWillUpdate(e){e.selectedSort!==this.props.selectedSort&&this.track()}render(){var e=this.props;const t=e.container,o=e.highlightIsOpen,n=e.isOverlay,s=e.language,r=e.onOpen,i=e.selectedSort;return Sr("div",{className:jr.a.HighlightWrapper},void 0,Sr("div",{className:jr.a.Title,onClick:r},void 0,Object(v.a)(s,"sorts.commentVisitHighlight")),Sr(Co.c,{className:jr.a.Row,onClick:r,displayText:Mr(i),id:"CommentSort--highlight-picker"}),Sr(Or.b,{className:jr.a.DropdownTriangle,onClick:r}),Sr(kr,{container:t,isOpen:o,renderContentsHidden:!0,isOverlay:n,tooltipId:"CommentSort--highlight-picker"},void 0,Sr("span",{onClick:this.onDropdownClickFirst},void 0,Sr(Co.c,{displayText:Mr(xn.a.First),isSelected:i===xn.a.First})),Sr("span",{onClick:this.onDropdownClickLast},void 0,Sr(Co.c,{displayText:Mr(xn.a.Last),isSelected:i===xn.a.Last})),Sr("span",{onClick:this.onDropdownClickNone},void 0,Sr(Co.c,{displayText:Mr(xn.a.None),isSelected:i===xn.a.None}))))}},Ar=e=>Sr("div",{className:jr.a.ViewFullLinkContainer},void 0,Sr("span",{className:jr.a.SingleCommentText},void 0,Object(v.a)(e.language,"comment.singleComment.shortMessage")," "),Sr(x.a,{className:jr.a.ViewFullLinkOrOverlayLink,isOverlay:e.isOverlay,to:Object(y.b)(e.postPermalink)},void 0,Sr("span",{className:jr.a.HoverSpan},void 0,Object(v.a)(e.language,"comment.viewAllComments"))," ",Sr(O.a,{className:jr.a.ArrowRight})));var Fr=h()(Lr(Object(H.b)(class extends m.a.Component{constructor(){super(...arguments),this.tooltipTargetElement=null,this.onOpenDropdownClick=(()=>{this.props.onOpenDropdown(),this.props.sendEvent(xr("sorting",this.props.isOverlay))}),this.onSortOptionClick=(()=>{this.props.sendEvent(xr("sort_by",this.props.isOverlay))}),this.clearSortOnClick=(()=>{this.props.onSetSuggestedSort(null),this.props.sendEvent(xr("clear_suggested_sort",this.props.isOverlay))}),this.setSortOnClick=(()=>{this.props.onSetSuggestedSort(this.props.sort),this.props.sendEvent(xr("set_suggested_sort",this.props.isOverlay))}),this.setTooltipTargetRef=(e=>this.tooltipTargetElement=e),this.onOpenHighlightSelector=(()=>{this.props.onOpenHighlightDropdown(yr("dropdown","click"))})}render(){var e=this.props;const t=e.changeHighlightSort,o=e.className,n=e.commentId,s=e.commentPermalink,r=e.dropdownIsOpen,i=e.elementRef,d=e.hideTooltip,a=e.highlightIsOpen,c=e.hasModeratorPostPermissions,l=e.isOverlay,p=e.language,u=e.location,b=e.postPermalink,f=e.selectedHighlightSort,h=e.showCommentHighlighter,g=e.sort,O=e.suggestedSort,C=e.showTooltip,w=Object(vr.a)(l),j=!u.search.includes(S.t.CONFIDENCE),I=g===S.t.CONFIDENCE&&j,P=c&&!I,k=" ("+Object(v.a)(p,"sorts.suggested")+")",T=O&&g===O&&!I?S.v[g]+k:S.v[g];return m.a.createElement("div",{className:o,ref:i},Sr("div",{className:jr.a.Title,onClick:this.onOpenDropdownClick},void 0,Object(v.a)(p,"sorts.titleBy")),Sr(Co.c,{className:jr.a.Row,onClick:this.onOpenDropdownClick,displayText:T,id:Ir,noHover:!0}),Sr(Or.b,{className:jr.a.DropdownTriangle,onClick:this.onOpenDropdownClick}),Sr(kr,{container:w,isOpen:r,renderContentsHidden:!0,isOverlay:l,tooltipId:Ir},void 0,[S.t.CONFIDENCE,S.t.TOP,S.t.NEW,S.t.CONTROVERSIAL,S.t.OLD,S.t.QA].map(e=>{const t=s||b,o=Object(y.b)(t);return Sr(x.a,{isOverlay:l,onClick:this.onSortOptionClick,tabIndex:-1,to:`${o}?sort=${e}`},e,Sr(Co.c,{displayText:O&&e===O?S.v[e]+k:S.v[e],isSelected:g===e}))})),P&&(O?Sr("button",{className:jr.a.SortLink,onClick:g!==O?this.setSortOnClick:this.clearSortOnClick},void 0,g!==O?Object(v.a)(p,"sorts.suggestedCommentSort.setNewSuggestedSort"):Object(v.a)(p,"sorts.suggestedCommentSort.clearSuggestedSort")):Sr("span",{className:jr.a.SetSort},void 0,Sr("button",{className:jr.a.SortLink,onClick:this.setSortOnClick},void 0,Object(v.a)(p,"sorts.suggestedCommentSort.setSuggestedSort")),Sr("span",{id:Pr,onMouseEnter:C,onMouseLeave:d},void 0,Sr(Nr,{text:Object(v.a)(p,"sorts.suggestedCommentSort.tooltip"),tooltipId:Pr}),Sr(Cr.a,{className:jr.a.Info})))),h&&Sr(Er,{changeHighlightSort:t,container:w,highlightIsOpen:a,isOverlay:l,language:p,onOpen:this.onOpenHighlightSelector,selectedSort:f,trackHighlight:yr}),n&&Ar(this.props))}}))).withConfig({componentId:"s15ogqrm-1"})(["align-items: center;background: ",";border-bottom: 1px solid ",";display: flex;justify-content: flex-start;margin: 16px 40px 0;padding: 0 16px 4px 0;",""],e=>Object(X.c)(e).body,e=>Object(X.c)(e).line,Tr),Rr=o("./src/lib/memoizeByReference/index.ts"),Br=o("./src/lib/objectSelector/index.ts"),Dr=o("./src/reddit/components/Governance/CommunityCard/index.tsx"),$r=o("./src/reddit/components/Governance/Leaderboard/dynamicStyles.tsx");var Ur=Object(wt.a)({ErrorComponent:()=>null,LoadingComponent:()=>null,getComponent:()=>o.e("GovernanceLeaderboard").then(o.bind(null,"./src/reddit/components/Governance/Leaderboard/index.tsx")).then(e=>e.default)}),Wr=o("./src/reddit/components/IdCard/index.tsx"),Hr=o("./src/reddit/components/ProfileIdCard/index.tsx"),Vr=o("./src/reddit/components/SidebarAd/BaseSidebarAdDoNotUseOrYoureFired.tsx"),zr=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(n=Object.getOwnPropertySymbols(e);s<n.length;s++)t.indexOf(n[s])<0&&(o[n[s]]=e[n[s]])}return o};var Kr=Object(u.connect)((e,{postId:t,commentsPageKey:o})=>({canShowAd:Object(he.a)(e,{postId:t})&&!Object(ge.w)(e),waitForProgrammatic:Object(ft.d)(e,{commentsPageKey:o})}))(e=>{var t=e.canShowAd,o=(e.postId,e.commentsPageKey,zr(e,["canShowAd","postId","commentsPageKey"]));return t?m.a.createElement(Vr.a,o):null}),qr=o("./src/reddit/components/SidebarFooter/index.tsx"),Gr=o("./src/reddit/components/SidebarSpacer/index.tsx"),Jr=o("./src/reddit/components/SidebarStickyBottom/index.tsx"),Qr=o("./src/reddit/components/Widgets/ThemedWidget/index.tsx"),Zr=o("./src/reddit/connectors/connectToLanguage.ts"),Yr=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Xr=h.a.div.withConfig({componentId:"s1p6e0ag-0"})(["","display: flex;flex-direction: row;border-bottom: 1px solid ",";padding: 8px 0;&:first-child {padding-top: 0;}&:last-child {border-bottom: none;padding-bottom: 0;}"],De.titleFontH5,e=>Object(X.c)(e).widgetColors.lineColor),ei=h.a.div.withConfig({componentId:"s1p6e0ag-1"})(["padding-right: 2px;"]),ti=h.a.div.withConfig({componentId:"s1p6e0ag-2"})(["padding-right: 8px;flex: 1 1 100%;"]),oi=["Keep language civil","Comments must be relevant to the Promoted Post and contribute to discussion","Comments can offer feedback or criticism, but personal or other attacks on the advertiser or its products may be removed","No impersonating or masquerading as celebrities, brands, or other users. To verify yourself in a Promoted Post's thread, message the user promoting the post"];var ni=Object(Zr.a)(e=>Yr(Qr.a,{className:e.className,title:Object(v.a)(e.language,"structuredStyles.widgets.ads-rules.adsRules"),redditStyle:!0},void 0,oi.map((e,t)=>Yr(Xr,{},t,Yr(ei,{},void 0,t+1,"."),Yr(ti,{},void 0,e))))),si=o("./src/reddit/components/Widgets/ConnectedAccounts/index.tsx"),ri=o("./src/reddit/components/Widgets/Widget/index.tsx"),ii=o("./src/reddit/featureFlags/component.tsx"),di=o("./src/reddit/helpers/createBannerProperties/index.ts"),ai=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const ci=Object(ii.a)("spPoints",Dr.a),li=h.a.div.withConfig({componentId:"s3l4ul7-0"})(["margin-top: 16px;",""],Dr.b),pi=Object(ii.a)("spPoints",li),mi=Object(ii.a)("spLeaderboard",Ur),ui=h.a.div.withConfig({componentId:"s3l4ul7-1"})(["margin-top: 16px;",""],$r.a),bi=Object(ii.a)("spLeaderboard",ui),fi=h.a.div.withConfig({componentId:"s3l4ul7-2"})(["display: flex;flex-direction: column;height: 100%;top: 0;width: ","px;"],q.F),hi=Object(b.createStructuredSelector)({widgets:Object(Br.a)(We.r)});var gi=Object(u.connect)(hi)(class extends m.a.Component{constructor(e){super(e),this.getSubredditOrProfileNameIdentifier=Object(Rr.a)((e,t)=>({name:e,type:t})),this.state={isMounted:!1}}componentDidMount(){this.setState({isMounted:!0})}shouldComponentUpdate(e,t){return this.props.subredditName!==e.subredditName||!Wt()(this.props.widgets,e.widgets)}renderFooter(e){var t=this.props;const o=t.isOverlay,n=t.subredditName,s=t.post,r=t.commentsPageKey;return o?ai(m.a.Fragment,{},void 0,ai(Kr,{postId:s.id,isOverlay:o,listingName:n,placement:S.d.BELOW_THE_FOLD,placementIndex:e,position:di.a.BOTTOM,refreshKey:s.id,sizes:S.p,commentsPageKey:r}),ai(qr.a,{})):ai(Jr.a,{adComponent:ai(Kr,{postId:s.id,isOverlay:o,listingName:n,placement:S.d.BELOW_THE_FOLD,placementIndex:e,position:di.a.BOTTOM,refreshKey:s.id,sizes:S.p,commentsPageKey:r})})}render(){var e=this.props;const t=e.className,o=e.commentsPageKey,n=e.isOverlay,s=e.post,r=e.subredditId,i=e.subredditName,d=e.widgets;let a=0;return ai(fi,{className:t},void 0,"profile"===s.belongsTo.type?ai(Hr.a,{profileName:i,isOverlay:n||!1}):ai(Wr.d,{commentsPageKey:o,isCommentsPage:!0,isOverlay:n,listingName:i,postId:s.id,rememberPosition:s.numComments>0}),ai(si.a,{subredditOrProfile:this.getSubredditOrProfileNameIdentifier(i,s.belongsTo.type)}),ai(pi,{},void 0,ai(ci,{subredditId:r,uniqueId:s.id})),ai(bi,{},void 0,ai(mi,{subredditId:r,uniqueId:s.id})),ai(Kr,{postId:s.id,isOverlay:n,listingName:i,placement:S.d.ABOVE_THE_FOLD,placementIndex:a++,position:di.a.FIRST,refreshKey:s.id,sizes:S.j,commentsPageKey:o}),d.map((e,t)=>ai(Gr.a,{},`widgetSpacer${t}`,ai(ri.a,{subredditName:i,widget:e}))),s.isSponsored&&ai(Gr.a,{},void 0,ai(ni,{})),this.renderFooter(a++))}}),vi=o("./src/reddit/components/PostContainer/index.tsx"),xi=o("./src/reddit/components/Thumbnail/index.tsx"),yi=o("./src/reddit/controls/OverlayLink/index.tsx"),Oi=o("./src/reddit/helpers/overlay/index.ts"),Ci=o("./src/reddit/helpers/styles/mixins/index.tsx"),wi=o("./src/reddit/helpers/trackers/discoveryUnit.ts"),ji=o("./src/reddit/components/DiscoveryUnit/Layout/Posts/TinyPost/index.m.less"),Si=o.n(ji),Ii=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Pi=h.a.div.withConfig({componentId:"s1kk8jdv-0"})(["","","display: inline-block;width: 120px;"],xi.e,Object(Ci.x)(90,120)),ki=Object(b.createStructuredSelector)({language:ge.M,post:te.D}),Ti=Object(u.connect)(ki,(e,t)=>({onClickPost:o=>{e(Object(Oi.a)(o.permalink)),e((e,n)=>wi.f(n(),t.discoveryUnit,o.id))}}));var Ni=h()(Ti(class extends m.a.Component{onClickPost(){this.props.onClickPost(this.props.post)}render(){const e=this.props;return Ii(vi.a,{className:Object(j.a)(e.className,Si.a.container),onClick:()=>e.onClickPost(e.post),post:e.post},void 0,Ii("div",{className:Si.a.topRow},void 0,Ii(Pi,{},void 0,Ii(xi.d,{className:Si.a.thumbnail,post:e.post})),Ii(yi.a,{to:e.post.permalink,className:Si.a.postTitle},void 0,e.post.title)),Ii("div",{className:Si.a.meta},void 0,Ii("div",{},void 0,Object(v.d)(e.language,"posts.points.noun",e.post.score,{count:Object(M.b)(e.post.score)})),Ii(J.a,{}),Ii("div",{},void 0,Object(v.d)(e.language,"posts.comments.noun",e.post.numComments,{count:Object(M.b)(e.post.numComments)}))))}})).withConfig({componentId:"s1kk8jdv-1"})(["border: 1px solid ",";&:hover {border-color: ",";}"],e=>Object(X.c)(e).postIcon,e=>Object(X.c)(e).postLine),_i=o("./src/reddit/components/DiscoveryUnit/CommunityDiscoveryUnit/index.tsx"),Li=o("./src/reddit/components/DiscoveryUnit/CommunityBannerDiscoveryUnit/index.m.less"),Mi=o.n(Li),Ei=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();var Ai=h()(Object(_i.a)(class extends m.a.Component{constructor(){super(...arguments),this.ref=null,this.setRef=(e=>{this.ref=e})}componentDidMount(){this.props.loadData(),this.ref&&Me.a(this.ref,e=>{e.isIntersecting&&this.props.onView(this.props.discoveryUnit)})}componentWillUnmount(){this.ref&&Me.b(this.ref)}render(){return!!this.props.subredditAboutInfo&&!!this.props.subreddit&&m.a.createElement("div",{className:Object(j.a)(this.props.className,Mi.a.container),ref:this.setRef},Ei("div",{className:Mi.a.contentWrapper},void 0,Ei("div",{className:Mi.a.communityMetaContainer},void 0,Ei(Be.a,{className:Mi.a.linkContainer,to:this.props.subreddit.url},void 0,Ei(Ae.b,{className:Mi.a.subredditIcon,subredditOrProfile:this.props.subreddit}),Ei("div",{className:Mi.a.communityData},void 0,Ei("div",{className:Mi.a.communityTitle},void 0,this.props.subreddit.displayText),Ei("div",{className:Mi.a.metaData},void 0,`${Object(M.b)(this.props.subredditAboutInfo.subscribers)} `,Ei(V.a,{msgId:"structuredStyles.widgets.id-card.subscribersText"})))),Ei(Fe.a,{identifier:{name:this.props.subredditName,type:"subreddit"},getEventFactory:e=>Object($e.a)(e?"unsubscribe":"subscribe"),onClick:e=>e.stopPropagation()})),Ei("div",{className:Mi.a.moreFrom},void 0,Ei(V.a,{msgId:"comment.moreFromThisCommunity"})),Ei("div",{className:Mi.a.postContainer},void 0,this.props.postIds.map(e=>Ei(Ni,{discoveryUnit:this.props.discoveryUnit,postId:e},e)))))}})).withConfig({componentId:"mw4b1p-0"})(["background: ",";"],e=>Object(Ue.g)(Object(X.c)(e).banner.backgroundColor,Object(X.c)(e).banner.backgroundImage,Object(X.c)(e).banner.backgroundImagePosition)),Fi=o("./src/reddit/components/HeaderImage/index.tsx"),Ri=o("./src/reddit/components/Hovercards/helpers.ts"),Bi=o("./src/reddit/icons/fonts/Archived/index.tsx"),Di=o("./src/reddit/components/InfoBanners/BannerBase/index.tsx"),$i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const Ui=h()(Bi.a).withConfig({componentId:"a6fn05-0"})(["color: ",";height: 24px;margin: 0 -4px 0 4px;vertical-align: sub;width: 24px;"],Re.a.locked),Wi=h()(Di.a).withConfig({componentId:"a6fn05-1"})(["margin: 16px;"]),Hi=$i(Ui,{});var Vi=e=>{const t=e.language;return $i(Wi,{color:Re.a.locked,icon:Hi,subtitle:Object(v.a)(t,"comment.threadArchived.subtitle"),title:Object(v.a)(t,"comment.threadArchived.title")})},zi=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}(),Ki=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const qi=h()(e=>zi("svg",{className:e.className,id:e.id,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},void 0,zi("path",{d:"M16,9H15V7A5,5,0,0,0,5,7V9H4a1,1,0,0,0-1,1v7a1,1,0,0,0,1,1H16a1,1,0,0,0,1-1V10A1,1,0,0,0,16,9ZM7,7a3,3,0,0,1,6,0V9H7Z"}))).withConfig({componentId:"s1ehj7bx-0"})(["fill: ",";height: 24px;width: 24px;"],Re.a.locked),Gi=h()(Di.a).withConfig({componentId:"s1ehj7bx-1"})(["margin: 16px;"]),Ji=Ki(qi,{});var Qi=e=>{const t=e.subredditName,o=e.language,n=t?"comment.threadLocked.title":"comment.threadLocked.simpleTitle";return Ki(Gi,{color:Re.a.locked,icon:Ji,subtitle:Object(v.a)(o,"comment.threadLocked.subtitle"),title:Object(v.a)(o,n,{subredditName:t})})},Zi=o("./src/reddit/components/InfoBanners/QuarantinedSubredditBanner/index.tsx"),Yi=o("./src/reddit/components/PostContent/index.tsx"),Xi=o("./src/reddit/components/PostTopMeta/index.tsx"),ed=o("./src/reddit/components/SubredditNav/index.tsx"),td=o("./src/reddit/helpers/getSubredditErrorProps/index.ts"),od=o("./src/reddit/helpers/history/index.ts"),nd=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const sd=h()(e=>nd("div",{tabIndex:e.tabIndex,className:e.className},void 0,e.children)).withConfig({componentId:"rhbaa2-0"})(["box-sizing: border-box;display: flex;justify-content: center;margin: ","px auto 0;max-width: ","px;padding-bottom: 32px;position: relative;width: calc(100% - ","px);overflow-y: ",";&:focus {outline: none;}"],q.j,q.n,2*q.l,e=>e.isCollectionLayout?"unset":"hidden"),rd=h()(e=>nd("div",{className:e.className},void 0,e.children)).withConfig({componentId:"rhbaa2-1"})(["flex: 1;margin: ","px;margin-right: ","px;max-width: 100%;min-height: 100vh;min-width: 0;padding-bottom: 1px;width: 100%;word-break: break-word;","",""],q.p,q.o,"",e=>e.isCollectionLayout?"":`@media(min-width: ${Gs.g}px) { max-width: 890px; }`),id=h()(e=>nd("div",{className:e.className},void 0,e.children)).withConfig({componentId:"rhbaa2-2"})(["display: none;margin: ","px;margin-left: 0;padding: 0;right: 0;top: 0;width: ","px;","@media(min-width: ","px) {display: block;}"],q.p,q.F,"",e=>e.isCollectionLayout?Gs.a:Gs.g);var dd=class extends m.a.PureComponent{constructor(){super(...arguments),this.container=null}componentDidMount(){this.focusContainer()}componentDidUpdate(){this.focusContainer()}focusContainer(){this.props.shouldFocus&&this.container&&this.container.focus()}render(){var e=this.props;const t=e.content,o=e.contentBanner,n=e.isCollectionLayout,s=e.sidebar;return nd(sd,{innerRef:e=>this.container=e,isCollectionLayout:n,tabIndex:-1},void 0,nd(rd,{redditStyle:!0,isCollectionLayout:n},void 0,o,t),s&&nd(id,{isCollectionLayout:n},void 0,s))}},ad=o("./src/reddit/layout/page/Listing/index.tsx"),cd=o("./src/reddit/pages/CommentsPage/index.m.less"),ld=o.n(cd),pd=o("./src/reddit/models/MonthsToMinutes/index.ts");o.d(t,"CommentsPage",function(){return wd});var md=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,o,n,s){var r=t&&t.defaultProps,i=arguments.length-3;if(o||0===i||(o={}),o&&r)for(var d in r)void 0===o[d]&&(o[d]=r[d]);else o||(o=r||{});if(1===i)o.children=s;else if(i>1){for(var a=Array(i),c=0;c<i;c++)a[c]=arguments[c+3];o.children=a}return{$$typeof:e,type:t,key:void 0===n?null:""+n,ref:null,props:o,_owner:null}}}();const ud=ye.a.span("HoverSpan",ld.a),bd=ye.a.wrapped(O.a,"ArrowLeft",ld.a),fd=ye.a.div("ViewParentCommentsContainer",ld.a),hd=h()(x.a).withConfig({componentId:"s1g2zjvi-0"})(["color: ",";fill: ",";font-size: 11px;font-weight: 500;line-height: 16px;"],e=>Object(X.c)(e).linkText,e=>Object(X.c)(e).linkText),gd=h.a.div.withConfig({componentId:"s1g2zjvi-1"})(["&::before {background:linear-gradient(180deg,rgba(255, 255, 255, 0) 90%,"," 100%);}"],e=>Object(X.c)(e).body),vd=({condition:e,wrap:t,children:o})=>e?t(o):o,xd=80,yd=200,Od=80,Cd=32;const wd=Object(u.connect)(()=>Object(b.createStructuredSelector)({apiError:ft.c,apiPending:ft.d,canCommentAsModerator:(e,{postId:t})=>{const o=Object(te.O)(e,{postId:t});return!!(o&&o.id&&e.moderatingSubreddits[o.id])},canTriggerACBanner:e=>{const t=Object(xt.o)(e),o=Object(xt.f)(e);return t&&o===pd.b.Initial},comment:ft.n,communityBannerDiscoveryUnit:ht.c,contentGateInfo:(e,{subredditName:t})=>Object(ge.e)(e,t),currentUserShowNSFW:ge.R,fullyLoaded:ft.u,headComment:ft.x,isLoggedIn:ge.F,isNightmodeOn:ge.O,isTooltipOpen:(e,t)=>!!Object(Ot.a)(e),language:ge.M,m2mIsEnabled:xt.u,origin:vt.d,post:ft.D,postSEOVariant:gt.e,subredditOrProfile:te.O,userHovercardIsOpen:(e,t)=>Object(Ot.b)(Object(Ri.b)({itemId:t.postId,tooltipIdPrefix:_e.a,tooltipType:Xi.c.StickyPost}))(e),userPrefs:ge.fb,showAccountCompletenessInFeed:xt.w}),(e,t)=>({setCommentFocus:t=>e(A.L({commentListNodeId:t})),dispatchUnpause:()=>e(D.N({postId:t.postId})),fullyLoadComments:()=>e(Object(B.D)(t.postId,void 0,{subredditName:t.subredditName})),onHideTooltip:()=>e(Object(E.f)()),onToggleTooltip:t=>e(Object(E.e)({tooltipId:t})),openLoginModal:()=>e(Object(F.a)()),openRegisterModal:()=>e(Object(F.b)()),showACBanner:()=>e(R.b(pd.b.BannerVisible))}))(Object(H.b)(class extends m.a.Component{constructor(e){super(e),this.collectionPostWrapperRef=null,this.didRenderLoading=!1,this.needsUpdatedMeasurements=!0,this.scrollY=null,this.recheckScrollTimer=-1,this.postPaused=!0,this.shouldFocusLightbox=!0,this.setPostScrollItemRef=(e=>{this.postScrollItemRef=e,setTimeout(this.handleScroll)}),this.handleScroll=c()(()=>{if(!this.scrollContainerEl)return;this.needsUpdatedMeasurements&&this.updateMeasurements();const e=this.didScrollPastPost,t=this.scrollContainerEl,o=this.scrollPostThreshold;var n=this.props;const s=n.userHovercardIsOpen,r=n.isOverlay,i=n.isTooltipOpen,d=n.onHideTooltip,a=n.onToggleTooltip,c=n.post,l=n.postId;clearTimeout(this.recheckScrollTimer),this.recheckScrollTimer=-1;const p=t===window?t.scrollY:t?t.scrollTop:0,m=null!==this.scrollY&&Math.abs(p-this.scrollY)>xd,u=c&&c.media&&c.media.type===bt.m.EMBED?c.media.provider:null,b=c&&c.media&&bt.d.has(c.media.type)&&(!u||!bt.p.has(u));this.scrollY=p,!e&&void 0!==o&&p>=o&&(this.didScrollPastPost=!0,this.props.canTriggerACBanner&&this.props.showACBanner()),e&&void 0!==o&&p<o&&(this.didScrollPastPost=!1,s&&k.a.write(()=>{a(Object(Ri.b)({itemId:l,tooltipIdPrefix:_e.a,tooltipType:Xi.c.StickyPost}))})),b&&this.postScrollItemRef&&(this.postPaused||!m&&!this.didScrollPastPost?this.postPaused&&!this.didScrollPastPost&&(m?this.recheckScrollTimer=setTimeout(this.handleScroll,4*S.K):(this.postPaused=!1,k.a.write(this.postScrollItemRef.focusContent))):(this.postPaused=!0,k.a.write(this.postScrollItemRef.pauseContent))),r&&i&&d()},S.K),this.viewAllCommentsClicked=(()=>{this.setState({viewAllCommentsPressed:!0}),this.sendEventWithName("view_all_comments")()}),this.sendEventWithName=(e=>()=>this.props.sendEvent(Object($e.d)(this.props.postId,e))),this.updateWindowHeight=(()=>{this.needsUpdatedMeasurements=!0,this.handleScroll()}),this.updateCommentSortRef=(e=>{this.commentSortRef=e,this.needsUpdatedMeasurements=!0}),this.updateCommentFormRef=(e=>{this.commentFormRef=e,this.needsUpdatedMeasurements=!0}),this.updateCollPostWrapperRef=(e=>{this.collectionPostWrapperRef=e}),this.didScrollPastPost=e.shouldScrollToComments&&!!e.post&&!!e.post.numComments,this.state={viewAllCommentsPressed:!1}}componentWillMount(){var e=this.props;const t=e.commentId,o=e.setCommentFocus;t&&o(t)}componentDidMount(){const e=this.commentFormRef,t=this.commentSortRef;var o=this.props;const n=o.isLoggedIn,s=o.isOverlay,r=o.post,i=o.shouldScrollToComments;s?(this.scrollContainerEl=document.getElementById(G.d),i&&(e||t)&&r&&r.numComments?this.scrollToComments():k.a.write(()=>{setTimeout(()=>{Object(I.c)(this.scrollContainerEl,0)})})):this.scrollContainerEl=window,this.needsUpdatedMeasurements=!0,this.addListeners(),this.checkAndSendScreenview(),k.a.read(()=>{this.props.isOverlay||Object(L.d)(L.c.CommentsPage,n)})}componentWillReceiveProps(e){e.postId!==this.props.postId?(this.didRenderLoading=!1,this.props.isOverlay&&(this.shouldFocusLightbox=!0)):this.props.isOverlay&&(this.shouldFocusLightbox=!1),e.commentId&&e.commentId!==this.props.commentId&&this.props.setCommentFocus(e.commentId)}componentWillUpdate(e){this.removeListeners()}componentDidUpdate(e){if(this.needsUpdatedMeasurements=!0,this.addListeners(),this.checkAndSendScreenview(),e.postId!==this.props.postId){const e=this.props.post&&Object(Z.a)(this.props.post);this.props.post&&this.props.post.numComments?k.a.read(this.handleScroll):k.a.write(()=>{e||Object(I.c)(this.scrollContainerEl,0),k.a.read(this.handleScroll)}),this.props.isOverlay&&!e&&k.a.write(()=>{setTimeout(()=>{Object(I.c)(this.scrollContainerEl,0)})});const t=this.collectionPostWrapperRef;if(e&&t){const e=q.e+(this.props.isOverlay?q.y:0),o=t.getBoundingClientRect().top;let n;const s=(n=this.props.isOverlay?document.getElementById(G.d):document.getElementsByTagName("body")[0])&&n.getBoundingClientRect().top,r=Math.abs(s-o),i=this.props.isOverlay?Cd:r-e;(this.props.isOverlay?n&&n.scrollTop||0:window.pageYOffset)>=i&&k.a.write(()=>{setTimeout(()=>{this.props.isOverlay?Object(I.c)(n,i):Object(I.c)(document,i)})})}}}componentWillUnmount(){this.removeListeners(),this.needsUpdatedMeasurements=!1,this.scrollContainerEl=void 0}updateMeasurements(){this.needsUpdatedMeasurements=!1,this.windowHeight=window.innerHeight,this.commentFormRef?this.scrollPostThreshold=this.commentFormRef.offsetTop:this.commentSortRef?this.scrollPostThreshold=this.commentSortRef.offsetTop:this.scrollPostThreshold=yd}addListeners(){this.props.isOverlay&&window.addEventListener("resize",this.updateWindowHeight),this.scrollContainerEl&&this.scrollContainerEl.addEventListener("scroll",this.handleScroll)}removeListeners(){this.props.isOverlay&&window.removeEventListener("resize",this.updateWindowHeight),this.scrollContainerEl&&this.scrollContainerEl.removeEventListener("scroll",this.handleScroll)}scrollToComments(){k.a.read(()=>{const e=document.getElementById(G.d);if(e){let t,o;this.commentFormRef?(t=this.commentFormRef.offsetTop-Od,o=this.commentFormRef.offsetParent):this.commentSortRef?(t=this.commentSortRef.offsetTop-Od,o=this.commentSortRef.offsetParent):t=0,o&&(t+=o.offsetTop),k.a.write(()=>{Object(I.c)(e,t),this.needsUpdatedMeasurements=!0,setTimeout(()=>k.a.read(this.handleScroll))})}})}shouldSendScreenview(){var e=this.props;const t=e.apiError,o=e.apiPending,n=e.commentsPageKey;return C.c.has(n)&&(t||!o||this.listLongEnoughForScreenView())}listLongEnoughForScreenView(){return!!this.commentSortRef&&this.commentSortRef.getBoundingClientRect().bottom>window.innerHeight}checkAndSendScreenview(){k.a.read(()=>{var e=this.props;const t=e.commentId,o=e.commentsPageKey,n=e.postId,s=e.sendEvent;if(!this.shouldSendScreenview())return;const r=C.c.end(o);s(Object(et.b)(o,n,t,w.TimerType.InApp,r))})}isCommentPermalink(){return void 0!==this.props.commentId}renderPageError(){var e=this.props;const t=e.contentGateInfo,o=e.currentUserShowNSFW,n=e.isOverlay,s=e.post,r=e.subredditName,i=!(!s||!s.isNSFW||o),d=Object(td.a)(t,i,r);if(!d)return null;let a=m.a.createElement(Ne.b,d);return n&&(a=md(dd,{content:a,shouldFocus:this.shouldFocusLightbox})),a}render(){var e=this.props;const t=e.apiError,o=e.apiPending,n=e.closeLocation,s=e.commentsPageKey,r=e.contentGateInfo,i=e.isNightmodeOn,d=e.isOverlay,a=e.language,c=e.m2mIsEnabled,l=e.post,p=e.postId,u=e.postSEOVariant,b=e.sendEvent,f=e.showAccountCompletenessInFeed,h=e.subredditName,g=e.subredditOrProfile,v=u===at.z.LeftRightRailSwap;if(!l){if(o)return md(Fs,{});const e=this.renderPageError();return e||md(As,{})}if(t&&r){const e=this.renderPageError();if(e)return e}const x=this.isCommentPermalink(),y=Object(Z.a)(l);return md(Pd,{closeLocation:n,commentsPageKey:s,isOverlay:d,isSwapVariant:v,post:l,subredditOrProfile:g,shouldFocusLightbox:this.shouldFocusLightbox,showAccountCompletenessInFeed:f,isCollectionLayout:y},void 0,g&&g.isQuarantined&&md(Zi.a,{subredditName:g.name}),md(Sd,{className:Object(j.a)(ld.a.PageContentWrapper,{[ld.a.LargePageContent]:y}),redditStyle:!0},"PostContentWrapper",!c&&md(Le.a,{className:ld.a.promoBanner,isOverlay:d,location:pt.f.CommentsPage}),y&&md(ue,{isOverlay:d,language:a,isNightmodeOn:i,postId:p}),md(vd,{condition:y,wrap:e=>m.a.createElement("div",{ref:this.updateCollPostWrapperRef,className:ld.a.CollectionBodyWrapper},e)},void 0,md(Yi.a,{isCommentPermalink:x,isExclusivePost:!0,isOverlay:d,postId:p,redditStyle:d,scrollerItemRef:this.setPostScrollItemRef,sendEvent:b}),md(Te,{listingName:h||"",isOverlay:d,placement:S.d.ABOVE_THE_FOLD,postId:p}),this.renderCommentPanes())),Object(gt.a)(u)&&g&&!d&&md(Ai,{discoveryUnit:this.props.communityBannerDiscoveryUnit,listingKey:Object(_.a)(g.name,S.X.TOP,{t:S.rc.WEEK}),onPostView:(e,t)=>this.props.sendEvent(o=>wi.d(o,e,t)),onView:e=>this.props.sendEvent(t=>Object.assign({},wi.c(t,e),{post:yt.currentPost(t)})),subredditName:g.name}),Object(gt.c)(u)&&g&&!d&&md(it,{subredditOrProfile:g}))}renderCommentPanes(){var e=this.props;const t=e.apiError,o=e.apiPending,n=e.canCommentAsModerator,s=e.commentId,r=e.commentsPageKey,i=e.fullyLoaded,d=e.headComment,a=e.isLoggedIn,c=e.isOverlay,l=e.language,p=e.location,m=e.openLoginModal,u=e.openRegisterModal,b=e.origin,f=e.post,h=e.postId,x=e.postSEOVariant,O=e.sort,C=e.subredditName,w=e.userPrefs;if(!f)return null;const j=this.isCommentPermalink(),I=[],P=f.isLocked&&!n,k=!j&&!f.isArchived,T=Object(gt.d)(x)&&!this.state.viewAllCommentsPressed&&!c;let _=S.u;if(O?_=O:f.suggestedSort?_=f.suggestedSort:w&&w.defaultCommentSort&&(_=w.defaultCommentSort),P)I.push(md(Qi,{subredditName:C,language:l},"commentThreadBanner"));else if(f.isArchived)I.push(md(Vi,{language:l},"commentThreadBanner"));else if(k)if(a){const e=Object(N.a)(g.a.replyToPost,h);I.push(md(Lt,{autofocus:!1,isTopLevelComment:!0,depth:0,draftKey:e,draftType:g.a.replyToPost,editorElementRef:this.updateCommentFormRef,parentCommentId:"replyToPost",submitAction:(t,o)=>A.ib(l,h,r,e,t,o),submitButtonText:Object(v.a)(l,"comment.comment")},"form"+e))}else I.push(md($t,{language:l,location:p,openLoginModal:m,openRegisterModal:u,origin:b},"loggedOutCommentForm"));return I.push(md(Fr,{commentId:s,elementRef:this.updateCommentSortRef,isOverlay:c,location:p,postId:h,sort:_,suggestedSort:f.suggestedSort},"commentSort")),o&&!d?(this.didRenderLoading=!0,I.push(md(Ks,{isLoading:o},"commentsPlaceholder"))):t&&!d?I.push(md(Ms,{language:l,postId:h,commentId:s,sort:_,apiError:t})):(I.push(md(jd,{className:ld.a.CommentsWrapper,redditStyle:!0,renderedInOverlay:c},"commentsWrapper",j&&d&&null!==d.parentId&&md(fd,{},void 0,md(hd,{isOverlay:c,to:Object(y.b)(d.permalink+"?context=8&depth=9")},void 0,md(bd,{})," ",md(ud,{},void 0,Object(v.a)(l,"comment.showParentComments")))),md("div",{className:ld.a.gradientContainer},void 0,md(gd,{className:T?ld.a.TruncatedScroller:""},void 0,md(dr,{postId:h,commentId:s,commentsPageKey:r,renderedInOverlay:c}))),T&&!o&&md(dt.g,{className:ld.a.MoreCommentsButton,onClick:this.viewAllCommentsClicked},void 0,Object(v.a)(l,"comment.viewAllNumComments",{numComments:Object(M.b)(f.numComments)})))),t&&d?I.push(md(Ms,{language:l,postId:h,commentId:s,sort:_,apiError:t},"commentsErrorState")):!i&&o&&I.push(md(Ks,{isLoading:!0},"commentsPlaceholder"))),md(mt.a.Provider,{value:this.sendEventWithName},void 0,I)}})),jd=h.a.div.withConfig({componentId:"s1g2zjvi-2"})(["// set overlay background to 80% opacity\n",""],e=>e.renderedInOverlay?`background: ${Object(l.j)(.2,Object(X.c)(e).body)};`:`background: ${Object(X.c)(e).body};`),Sd=h.a.div.withConfig({componentId:"s1g2zjvi-3"})(["background: ",";border: 1px solid ",";"],e=>Object(X.c)(e).body,e=>Object(X.c)(e).line),Id=ye.a.wrapped(gi,"DetailsPageSidebar",ld.a),Pd=e=>{const t=e.children,o=e.commentsPageKey,n=e.isCollectionLayout,s=e.isOverlay,r=e.isSwapVariant,i=e.post,d=e.shouldFocusLightbox,a=e.showAccountCompletenessInFeed,c=e.subredditOrProfile;return s?md(dd,{content:t,contentBanner:a&&md(Ct.a,{}),shouldFocus:d,isCollectionLayout:n,sidebar:c&&md(gi,{commentsPageKey:o,isOverlay:!0,post:i,subredditName:c.name,subredditId:c.id})}):md(ad.d,{maxWidth:q.n,content:t,contentBanner:a&&md(Ct.a,{}),disableFullscreen:!0,isPageSwapped:r,isCollectionLayout:n,navBar:c&&m.a.Children.toArray([md(Fi.a,{disableFullscreen:!0,headerText:c.name,maxWidth:q.n,prefixedHeaderText:c.displayText,subredditOrProfile:c,url:c.url}),"user"!==c.type&&md(ed.a,{disableFullscreen:!0,homeUrl:c.url,maxWidth:q.n,subredditId:c.id})]),sidebar:c&&md(Id,{commentsPageKey:o,post:i,subredditName:c.name,subredditId:c.id})})};t.default=(e=>{const t=e.location.state,o=d()(t,ct.a.IsOverlay,!1),n=d()(t,ct.a.CloseLocation,null),s=d()(t,ct.a.ScrollOnLoad,!1);s&&Object(od.c)(ct.a.ScrollOnLoad);var i=e.match.params;const a=i.partialCommentId,c=i.partialPostId,l=i.subredditName,p=Object(Y.f)(c),m=a&&Object(ut.d)(a),u=e.location.search,b=r()([...Object(P.a)(u)]),f=lt.q in b?b[lt.q]:"",h=S.xc.has(f)?f:void 0,g=b.instanceId,v={};h&&(v.sort=h,v.hasSortParam=!0),b.context&&(v.context=parseInt(b.context,10)),b.depth&&(v.depth=parseInt(b.depth,10));const x=Object(T.a)(p,m,v),y=e.location;return md(wd,{location:y,closeLocation:n,commentId:m,commentsPageKey:x,isOverlay:o,postId:p,instanceId:g,shouldScrollToComments:s,sort:h,subredditName:l})})},"./src/reddit/selectors/brandSafety.ts":function(e,t,o){"use strict";o.d(t,"c",function(){return d}),o.d(t,"a",function(){return a}),o.d(t,"d",function(){return c}),o.d(t,"b",function(){return l});var n=o("./src/lib/isFakeSubreddit/index.ts"),s=o("./src/reddit/models/WhitelistStatus/index.ts"),r=o("./src/reddit/selectors/posts.ts"),i=o("./src/reddit/selectors/subreddit.ts");const d=e=>e.brandSafety.hasBrandSafetyBeenAssessed,a=(e,{postId:t})=>{const o=Object(r.D)(e,{postId:t}),n=Object(r.O)(e,{postId:t});return!(!o||!n)&&(n.wls===s.a.ALL_ADS&&!o.isNSFW)},c=e=>!e.brandSafety.isViewSafe,l=(e,{listingName:t,listingKey:o})=>{const r=Object(i.v)(e,{subredditName:t});return!(e=>/\[sort:'(new|rising|controversial)'\]/.test(e))(o)&&(!(r||!Object(n.a)(t))||!!r&&r.wls===s.a.ALL_ADS)}},"./src/reddit/selectors/experiments/followPost.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return r}),o.d(t,"c",function(){return i}),o.d(t,"b",function(){return d});var n=o("./src/reddit/constants/experiments.ts"),s=o("./src/reddit/helpers/chooseVariant/index.ts");const r=e=>Object(s.b)(e,{experimentEligibilitySelector:s.a,experimentName:n.o}),i=e=>e===n.p.FollowPostTooltip,d=e=>e===n.p.FollowPostTooltipHover},"./src/reddit/selectors/premium.ts":function(e,t,o){"use strict";o.d(t,"c",function(){return n}),o.d(t,"d",function(){return s}),o.d(t,"a",function(){return r}),o.d(t,"b",function(){return i});const n=e=>!!e.givePremium.givePremiumModalAccountName,s=e=>e.givePremium.givePremiumModalAccountName,r=e=>e.givePremium.api.error||"",i=e=>e.givePremium.api.pending},"./src/reddit/selectors/tracking.ts":function(e,t,o){"use strict";o.d(t,"c",function(){return d}),o.d(t,"b",function(){return a}),o.d(t,"a",function(){return c});var n=o("./node_modules/lodash/without.js"),s=o.n(n),r=o("./src/lib/constants/index.ts"),i=o("./src/lib/makeSearchKey/index.ts");const d=(e,{listingKey:t})=>e.tracking.viewportDataLoaded[t],a=(e,{listingKey:t})=>e.tracking.viewportDataLoaded[Object(i.b)(t,[r.kc.Posts])],c=(e,{listingKey:t,searchOptions:o})=>{const n=Object(i.b)(t,s()(o.type,r.kc.Posts));return e.tracking.viewportDataLoaded[n]}},"./src/reddit/selectors/widgets.ts":function(e,t,o){"use strict";o.d(t,"a",function(){return c}),o.d(t,"j",function(){return l}),o.d(t,"c",function(){return p}),o.d(t,"h",function(){return m}),o.d(t,"d",function(){return u}),o.d(t,"e",function(){return b}),o.d(t,"i",function(){return f}),o.d(t,"g",function(){return h}),o.d(t,"f",function(){return g}),o.d(t,"b",function(){return v});var n=o("./src/lib/objectSelector/index.ts"),s=o("./src/reddit/constants/posts.ts"),r=o("./src/reddit/helpers/name/index.ts"),i=o("./src/reddit/models/Widgets/index.ts"),d=o("./src/reddit/selectors/profile.ts"),a=o("./src/reddit/selectors/subreddit.ts");const c=e=>e.widgets.models,l=Object(n.a)((e,t)=>Object(i.p)(t)?e.widgets.models[t.widgetId]:Object(i.j)(t.widgetKind)),p=(e,t)=>{let o=t.subredditId;if(!o&&t.subredditName&&(o=Object(a.z)(e,t.subredditName)),o){const t=((e,t)=>e.widgets.idCardIds[t.subredditId])(e,{subredditId:o});if(t)return e.widgets.models[t]}return null},m=(e,t)=>e.widgets.sidebar[t.subredditId]||[],u=(e,t)=>e.widgets.menuIds[t.subredditId],b=(e,t)=>{const o=u(e,t);return o?e.widgets.models[o]:null},f=(e,t)=>{return e.widgets.sidebar[t.subredditId].reduce((t,o)=>{const n=e.widgets.models[o];return n&&t.push(n.kind),t},[])},h=(e,t)=>{const o=m(e,t);for(const n of o){const t=e.widgets.models[n];if("subreddit-rules"===t.kind)return t}return null},g=(e,t)=>{const o=m(e,t).map(t=>e.widgets.models[t]).filter(e=>"post-flair"===e.kind);return o.length?o:null},v=Object(n.a)((e,t)=>{if(t.type===s.a.PROFILE){const o=Object(d.h)(e,{profileName:t.name});return o?{profile:{id:o.id,name:Object(r.f)(o.name)}}:{}}const o=Object(a.v)(e,{subredditName:t.name});return{subreddit:{categoryName:Object(a.s)(e,{subredditName:t.name}).contentCategory,id:o.id,name:Object(r.f)(o.name)}}})}}]);
//# sourceMappingURL=CommentsPage.a49796f4e39018c866ec.js.map