!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5ffedcac-d0de-4027-b85b-427a22accf36",e._sentryDebugIdIdentifier="sentry-dbid-5ffedcac-d0de-4027-b85b-427a22accf36")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"imgur@0470099"},(self.webpackChunkimgur_web=self.webpackChunkimgur_web||[]).push([[3089],{"3dMY":(e,t,n)=>{n.d(t,{Z:()=>o});var i=n("q1tI"),a=(n("17x9"),n("oIX6"));function o(e){var t=e.isPromoted,n=e.isUserLoaded,o=e.itemUsername,r=e.currentUsername,l=e.children;return e.isEnabled&&!t&&n&&o&&r!==o&&!a.V0.includes(o)?i.createElement("div",null,l):null}o.defaultProps={isEnabled:!0,isUserLoaded:!1,isPromoted:!1},o.__docgenInfo={description:"",methods:[],displayName:"GiveEmeraldButtonSwitch",props:{isEnabled:{defaultValue:{value:"true",computed:!1},type:{name:"bool"},required:!1,description:""},isUserLoaded:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},isPromoted:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},currentUsername:{type:{name:"string"},required:!0,description:""},itemUsername:{type:{name:"string"},required:!0,description:""},children:{type:{name:"object"},required:!0,description:""}}}},TmiY:(e,t,n)=>{n.d(t,{Z:()=>f});var i=n("J4zp"),a=n.n(i),o=n("q1tI"),r=(n("17x9"),n("/MKj")),l=n("puhG"),s=n("SOFB"),c=n("E1Th"),u=n("5bgp"),d=n("4ELA"),m=n("TwSZ");function p(e){var t=e.followType,n=e.followUserId,i=e.followUsername,r=e.followUserAction,p=e.editFollowUserAction,f=e.unfollowUserAction,h=e.closeFollowUserDialogAction,v=e.refetchFollowingWhenUnfollow,g=t!==s.Zp,y=(0,o.useState)(g?t:s._H),w=a()(y,2),b=w[0],E=w[1],N=g?s.fS:s.GF;function D(e){var t=e.target.value;E(Number(t))}function U(){h(),E(g?t:s._H)}return(0,o.useEffect)((function(){E(g?t:s._H)}),[t]),o.createElement(d.U,{className:"FollowUserDialog",name:c.sF,onClose:U,isModal:!1},o.createElement(m.Z,{onClose:U},o.createElement("span",null,(0,l.Z)(g?"unfollowUserTitle":"followUserTitle"))),o.createElement("div",{className:"FollowUserDialog-content"},!g&&o.createElement("div",{className:"FollowUserDialog-text"},(0,l.Z)("followUserText",i)),N.map((function(e,t){var n=g?"unfollowUserOpts":"followUserOpts",a="".concat(n).concat(t);return o.createElement("label",{key:e,className:"FollowUserDialog-option",htmlFor:a},o.createElement("input",{type:"radio",id:a,name:n,className:"FollowUserDialog-radio",onChange:D,value:e,checked:e===b}),o.createElement("div",{className:"FollowUserDialog-check"}),o.createElement("div",{className:"FollowUserDialog-optionTitle"},(0,l.Z)(n,e,i)))}))),o.createElement("div",{className:"FollowUserDialog-footer"},o.createElement(u.zx,{className:"FollowUserDialog-cancel",onClick:U,label:(0,l.Z)("followUserCancelBtn")}),o.createElement(u.zx,{className:"FollowUserDialog-confirm",onClick:function(){if(t!==b){var e=b===s.Zp?f:p;(g?e:r)(n,i,b,v),h()}else h()},label:(0,l.Z)("followUserConfirmBtn"),disabled:g&&t===b})))}p.defaultProps={refetchFollowingWhenUnfollow:!1},p.__docgenInfo={description:"",methods:[],displayName:"FollowUserDialog",props:{refetchFollowingWhenUnfollow:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},followType:{type:{name:"number"},required:!0,description:""},followUserId:{type:{name:"number"},required:!0,description:""},followUsername:{type:{name:"string"},required:!0,description:""},followUserAction:{type:{name:"func"},required:!0,description:""},editFollowUserAction:{type:{name:"func"},required:!0,description:""},unfollowUserAction:{type:{name:"func"},required:!0,description:""},closeFollowUserDialogAction:{type:{name:"func"},required:!0,description:""}}};const f=(0,r.$j)((function(e){var t=e.ui;return{followType:t.dialog.get("followType"),followUserId:t.dialog.get("followUserId"),followUsername:t.dialog.get("followUsername")}}),{followUserAction:c.P_,editFollowUserAction:c.Cm,unfollowUserAction:c.F6,closeFollowUserDialogAction:c.A0})(p)},"1/ur":(e,t,n)=>{n.d(t,{Z:()=>g});var i=n("J4zp"),a=n.n(i),o=n("q1tI"),r=(n("17x9"),n("ANjH")),l=n("/MKj"),s=n("TSYQ"),c=n.n(s),u=n("puhG"),d=n("SOFB"),m=n("J4ux"),p=n("E1Th"),f=n("7Gt9"),h=n("ogfH");function v(e){var t=e.followType,n=e.followUserId,i=e.followUsername,r=e.isMobile,l=e.isUserLoggedOut,s=e.withDetailedTitle,h=e.openFollowUserDialogAction,v=e.showPopOver,g=e.updatePopUpMobileAction,y=(0,o.useState)(""),w=a()(y,2),b=w[0],E=w[1],N=t!==d.Zp,D=s?(0,u.Z)("editFollow",t):(0,u.Z)("unfollow"),U=N?D:(0,u.Z)("follow"),S=c()("Following-icon",{"Following-icon--follow":!N,"Following-icon--unfollow":N});return o.createElement("div",{className:"Following",onClick:function(e){if(l)return r?g(!0,f.RR.FOLLOWING):v(m.J3,e.currentTarget);h({name:p.sF,followType:t,followUserId:n,followUsername:i})},onMouseEnter:function(){s&&N&&E((0,u.Z)("unfollow"))},onMouseLeave:function(){s&&N&&E("")}},o.createElement("div",{className:S}),o.createElement("span",{className:"Following-text"},b||U))}v.defaultProps={withDetailedTitle:!1},v.__docgenInfo={description:"",methods:[],displayName:"Following",props:{withDetailedTitle:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},followType:{type:{name:"number"},required:!0,description:""},followUserId:{type:{name:"number"},required:!0,description:""},followUsername:{type:{name:"string"},required:!0,description:""},isMobile:{type:{name:"bool"},required:!0,description:""},isUserLoggedOut:{type:{name:"bool"},required:!0,description:""},openFollowUserDialogAction:{type:{name:"func"},required:!0,description:""},showPopOver:{type:{name:"func"},required:!0,description:""},updatePopUpMobileAction:{type:{name:"func"},required:!0,description:""}}};const g=(0,r.qC)((0,l.$j)((function(e){return{isUserLoggedOut:!e.user.get("isLoggedIn")}}),{openFollowUserDialogAction:p.kz,showPopOver:m.p3,updatePopUpMobileAction:f.Mj}),h.Z)(v)},t9wu:(e,t,n)=>{n.d(t,{Z:()=>d});var i=n("q1tI"),a=n("/MKj"),o=(n("17x9"),n("TSYQ")),r=n.n(o),l=n("MHWf"),s=n("puhG"),c=n("VGss");function u(e){var t=e.active,n=r()({ButtonBackToTop:!0,badge:!0,active:t});return i.createElement("button",{className:n,onClick:function(){var e=(0,l.XO)();(0,l.X5)(-e,0,"smooth")},type:"button","aria-label":(0,s.Z)("takeMeUp")},i.createElement(c.ZP,{className:"badge-icon",name:c.uZ,width:"32",height:"32"}),i.createElement("span",{className:"badge-text"},(0,s.Z)("takeMeUp")))}u.defaultProps={active:!1,locationTop:!0},u.__docgenInfo={description:"",methods:[],displayName:"ButtonBackToTop",props:{active:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},locationTop:{defaultValue:{value:"true",computed:!1},required:!1}}};const d=(0,a.$j)((function(e){return{active:!e.ui.footer.get("isFooterVisible")}}))(u)},r9od:(e,t,n)=>{n.d(t,{Z:()=>E});var i=n("/MKj"),a=n("pVnL"),o=n.n(a),r=n("J4zp"),l=n.n(r),s=n("q1tI"),c=(n("17x9"),n("ucDD")),u=n("DHkX"),d=n("qIoc"),m=n("MHWf"),p=n("mOu4"),f=n("VGss");function h(e){var t=e.initialNumber,n=e.minNumber,i=e.maxNumber,a=e.onNumberChange,o=(0,s.useState)(t),r=l()(o,2),c=r[0],u=r[1],d=function(e){""!==e?(e=Math.min(Math.max(n,e),i))!==c&&(u(e),a(e)):u(e)},m=function(e,t){return s.createElement(f.ZP,{name:e,width:"26",height:"26",viewBox:"0 0 26 26",className:t?"disabled":"",fillColor:t?"#585D6A":"#ffffff",strokeColor:t?"#585D6A":"#ffffff"})};return s.createElement("div",{className:"InputStepper"},s.createElement("div",{className:"InputStepper-minus",onClick:function(){return d(c-1)}},m(f.qs,n===c)),s.createElement("div",{className:"InputStepper-number"},s.createElement("input",{type:"number",value:c,onChange:function(e){return d(e.target.value)},onBlur:function(){c||u(n)},min:n,max:i})),s.createElement("div",{className:"InputStepper-plus",onClick:function(){return d(c+1)}},m(f.au,i===c)))}function v(e){var t=e.monthNumber,n=e.price,i=e.onClick,a=e.isDisabled;return s.createElement("button",{type:"button",className:"GiveGiftButton",onClick:i,disabled:a},s.createElement("div",{className:"GiveGiftButton-description"},s.createElement(f.ZP,{name:f.Ch,width:"20",height:"20",viewBox:"0 0 20 20"}),s.createElement("span",null,(0,u.Z)("giftPeriod",t))),s.createElement("div",{className:"GiveGiftButton-price"},"$".concat((n*t).toFixed(2))))}h.defaultProps={initialNumber:1,minNumber:1,maxNumber:12,onNumberChange:function(){}},h.__docgenInfo={description:"",methods:[],displayName:"InputStepper",props:{initialNumber:{defaultValue:{value:"1",computed:!1},type:{name:"number"},required:!1,description:""},minNumber:{defaultValue:{value:"1",computed:!1},type:{name:"number"},required:!1,description:""},maxNumber:{defaultValue:{value:"12",computed:!1},type:{name:"number"},required:!1,description:""},onNumberChange:{defaultValue:{value:"() => {}",computed:!1},type:{name:"func"},required:!1,description:""}}},v.defaultProps={monthNumber:1,price:5,onClick:function(){}},v.__docgenInfo={description:"",methods:[],displayName:"GiveGiftButton",props:{monthNumber:{defaultValue:{value:"1",computed:!1},type:{name:"number"},required:!1,description:""},price:{defaultValue:{value:"5",computed:!1},type:{name:"number"},required:!1,description:""},onClick:{defaultValue:{value:"() => {}",computed:!1},type:{name:"func"},required:!1,description:""},isDisabled:{type:{name:"bool"},required:!1,description:""}}};var g=n("5bgp");n("/FT0");var y=n("4ELA"),w=n("+qrI"),b=n("QlXF");const E=(0,i.$j)((function(e){var t=e.emerald,n=e.user,i=t.get("giveEmeraldData").toJS();return i.gifterId=n.get("id"),{giftData:i}}),(function(e){return{close:function(){e((0,w.gk)(d.nm)),e((0,b.XW)())},submit:function(t){e((0,b.EX)(t))}}}))(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};function n(n){var i=n.giftData,a=n.close,r=n.onDialogOpen,y=n.submit;if(!i.recipientUsername)return null;var w=(0,s.useState)(i.amount||1),b=l()(w,2),E=b[0],N=b[1],D=(0,s.useState)(i.anonymous||!1),U=l()(D,2),S=U[0],G=U[1],q=(0,s.useState)(!1),k=l()(q,2),C=k[0],x=k[1];return s.createElement(e,o()({className:"GiveGiftDialog",isModal:!1,onClose:a,name:d.nm,onOpen:r},t),s.createElement("div",{className:"GiveGiftDialog-head"},s.createElement(p.ZP,{name:p.bx}),s.createElement(g.ZP,{className:"GiveGiftDialog-head--close",image:s.createElement(f.ZP,{name:f.dq,width:"32",height:"32"}),onClick:a})),s.createElement("div",{className:"GiveGiftDialog-content"},s.createElement("div",{className:"GiveGiftDialog-title"},i.title||(0,u.Z)("giveGiftDialogTitle")),s.createElement("div",{className:"GiveGiftDialog-description"},(0,u.Z)("giveGiftDialogDescription",i.recipientUsername)),s.createElement("div",{className:"GiveGiftDialog-input"},s.createElement("span",null,(0,u.Z)("howManyMonths")),s.createElement(h,{initialNumber:E,onNumberChange:N})),s.createElement("div",{className:"GiveGiftDialog-anonymously"},s.createElement("label",{className:"GiveGiftDialog-anonymously--input"},s.createElement("input",{type:"checkbox",name:"giftAnonymously",id:"giftAnonymously",onChange:function(){return G(!S)},checked:S}),s.createElement("span",null)),s.createElement("label",{className:"GiveGiftDialog-anonymously--label",htmlFor:"giftAnonymously"},(0,u.Z)("giftAnonymously"))),s.createElement("div",{className:"GiveGiftDialog-button"},s.createElement(v,{monthNumber:E,onClick:function(){x(!0);var e=(0,m.Re)();y(Object.assign(i,{amount:E,anonymous:S,redirectURL:e,sourceURL:i.sourceURL?i.sourceURL:e,recipientUsername:i.recipientUsername}))},isDisabled:C})),s.createElement("div",{className:"GiveGiftDialog-footer"},(0,u.Z)("giveGiftDialogFooter"),s.createElement("a",{href:"/".concat(c.EL,"?source=giveGiftDialog"),target:"_blank",rel:"noreferrer noopener"},(0,u.Z)("fullInfo")))))}return n.defaultProps={onDialogOpen:function(){}},n}(y.U))},"Vzt/":(e,t,n)=>{n.d(t,{Z:()=>A});var i=n("/MKj"),a=n("pVnL"),o=n.n(a),r=n("J4zp"),l=n.n(r),s=n("q1tI"),c=(n("17x9"),n("DHkX")),u=n("qIoc"),d=n("ucDD"),m=n("mOu4"),p=n("VGss"),f=n("5bgp"),h=n("lwsE"),v=n.n(h),g=n("W8MJ"),y=n.n(g),w=n("7W2i"),b=n.n(w),E=n("a1gu"),N=n.n(E),D=n("Nsbk"),U=n.n(D),S=n("MHWf"),G=function e(t,n){v()(this,e),this.x=t||0,this.y=n||0},q=function(){function e(t){v()(this,e),this.animationState=t,this.x=.5*t.viewWidth,this.y=.5*t.viewHeight,this.r=24,this._progress=0,this.complete=!1}return y()(e,[{key:"reset",value:function(){this._progress=0,this.complete=!1}},{key:"draw",value:function(){this.animationState.ctx.fillStyle=this.animationState.loadingColor,this.animationState.ctx.beginPath(),this.animationState.ctx.arc(this.x,this.y,this.r,-I,x*this._progress-I),this.animationState.ctx.lineTo(this.x,this.y),this.animationState.ctx.closePath(),this.animationState.ctx.fill()}},{key:"progress",set:function(e){this._progress=e<0?0:e>1?1:e,this.complete=this._progress>=1},get:function(){return this._progress}}]),e}(),k=function(){function e(t){v()(this,e),this.animationState=t,this.x=.5*t.viewWidth,this.y=.5*t.viewHeight,this.startRadius=24,this.time=0,this.duration=.4,this.progress=0,this.complete=!1}return y()(e,[{key:"reset",value:function(){this.time=0,this.progress=0,this.complete=!1}},{key:"update",value:function(){this.time=Math.min(this.duration,this.time+this.animationState.timeStep),this.progress=M.inBack(this.time,0,1,this.duration),this.complete=this.time===this.duration}},{key:"draw",value:function(){this.animationState.ctx.fillStyle="transparent",this.animationState.ctx.beginPath(),this.animationState.ctx.arc(this.x,this.y,this.startRadius*(1-this.progress),0,x),this.animationState.ctx.fill()}}]),e}(),C=function(){function e(t,n,i,a,o){v()(this,e),this.animationState=t,this.p0=n,this.p1=i,this.p2=a,this.p3=o,this.time=0,this.duration=3+2*Math.random(),this.color="#".concat(Math.floor(16777215*Math.random()).toString(16)),this.w=8,this.h=8,this.complete=!1}return y()(e,[{key:"update",value:function(){this.time=Math.min(this.duration,this.time+this.animationState.timeStep);var e=M.outCubic(this.time,0,1,this.duration),t=function(e,t,n,i,a){var o=new G,r=1-a;return o.x=r*r*r*e.x+3*r*r*a*t.x+3*r*a*a*n.x+a*a*a*i.x,o.y=r*r*r*e.y+3*r*r*a*t.y+3*r*a*a*n.y+a*a*a*i.y,o}(this.p0,this.p1,this.p2,this.p3,e),n=t.x-this.x,i=t.y-this.y;this.r=Math.atan2(i,n)+I,this.sy=Math.sin(Math.PI*e*10),this.x=t.x,this.y=t.y,this.complete=this.time===this.duration}},{key:"draw",value:function(){this.animationState.ctx.save(),this.animationState.ctx.translate(this.x,this.y),this.animationState.ctx.rotate(this.r),this.animationState.ctx.scale(1,this.sy),this.animationState.ctx.fillStyle=this.color,this.animationState.ctx.fillRect(.5*-this.w,.5*-this.h,this.w,this.h),this.animationState.ctx.restore()}}]),e}(),x=2*Math.PI,I=.5*Math.PI;function Z(e){for(var t=e.viewWidth,n=e.viewHeight,i=e.particles,a=0;a<128;a++){var o=new G(.5*t,.5*n),r=new G(Math.random()*t,Math.random()*n),l=new G(Math.random()*t,Math.random()*n),s=new G(Math.random()*t,n+64);i.push(new C(e,o,r,l,s))}}var M={inCubic:function(e,t,n,i){return n*(e/=i)*e*e+t},outCubic:function(e,t,n,i){return e/=i,n*(--e*e*e+1)+t},inOutCubic:function(e,t,n,i){return(e/=i/2)<1?n/2*e*e*e+t:n/2*((e-=2)*e*e+2)+t},inBack:function(e,t,n,i,a){return n*(e/=i)*e*(((a=a||1.70158)+1)*e-a)+t}};function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=U()(e);if(t){var a=U()(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return N()(this,n)}}var P=function(e){b()(n,e);var t=F(n);function n(e){var i;return v()(this,n),(i=t.call(this,e)).canvas=s.createRef(),i}return y()(n,[{key:"componentDidMount",value:function(){this.run()}},{key:"componentDidUpdate",value:function(){this.run()}},{key:"shouldComponentUpdate",value:function(e){return this.props.run!==e.run}},{key:"run",value:function(){var e=this.props,t=e.viewWidth,n=e.viewHeight,i=e.loadSpeed,a=e.loadingColor,o={ctx:this.canvas.current.getContext("2d"),particles:[],phase:0,timeStep:1/70,viewWidth:t,viewHeight:n,loadSpeed:i,loadingColor:a},r=function(e){return new q(e)}(o),l=function(e){return new k(e)}(o);Z(o),(0,S.U7)(function(e,t,n){return function i(){!function(e,t,n){switch(e.phase){case 0:t.progress+=1/e.loadSpeed;break;case 1:n.update();break;case 2:e.particles.forEach((function(e){e.update()}))}}(e,t,n),function(e,t,n){var i=e.viewWidth,a=e.viewHeight,o=e.phase,r=e.ctx,l=e.particles;switch(r.clearRect(0,0,i,a),o){case 0:t.draw();break;case 1:n.draw();break;case 2:l.forEach((function(e){e.draw()}))}}(e,t,n);var a=!1;0===e.phase&&t.complete?e.phase=1:1===e.phase&&n.complete?e.phase=2:2===e.phase&&function(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:{};function n(n){var i=n.giftData,a=n.close,r=n.onDialogOpen,h=n.isSubscribed;if(!i.recipientUsername)return null;var v=(0,s.useState)(0),g=l()(v,2),y=g[0],w=g[1];return s.createElement(e,o()({className:"GiveGiftDialog GiveGiftDialog-ty",isModal:!1,onClose:a,name:u.vE,onOpen:r},t),s.createElement("div",{className:"GiveGiftDialog-head"},s.createElement(m.ZP,{name:m.bx}),s.createElement(f.ZP,{className:"GiveGiftDialog-head--close",image:s.createElement(p.ZP,{name:p.dq,width:"32",height:"32"}),onClick:a})),s.createElement("div",{className:"GiveGiftDialog-ty-content"},s.createElement(P,{className:"GiveGiftDialog-ty-confetti",run:y,viewWidth:540,viewHeight:500,loadSpeed:1}),s.createElement("span",{onClick:function(){w(y+1)}},s.createElement(m.ZP,{className:"GiveGiftDialog-ty-heart",name:m.k5})),s.createElement("div",{className:"GiveGiftDialog-ty-title"},(0,c.Z)("giveGiftTyGem")),s.createElement("div",{className:"GiveGiftDialog-ty-description"},(0,c.Z)("giveGiftTyDescription",i.recipientUsername)),!h&&s.createElement(f.ZP,{className:"GiveGiftDialog-ty-button Button",label:(0,c.Z)("emeraldJoin"),title:(0,c.Z)("emeraldJoin"),href:"/".concat(d.EL,"?source=").concat(u.lG)})))}return n.defaultProps={onDialogOpen:function(){}},n}(T.U))},wxt4:(e,t,n)=>{n.d(t,{Z:()=>m});var i=n("lSNA"),a=n.n(i),o=n("q1tI"),r=(n("17x9"),n("TSYQ")),l=n.n(r),s=n("DHkX"),c=n("oIX6"),u=n("MHWf"),d=n("VGss");function m(e){var t=e.customClasses,n=e.isUserLoggedIn,i=e.showTitle,r=e.showSmallVersion,m=e.onClick,p=l()(a()({GiveEmeraldButton:!0,"GiveEmeraldButton-title":i,"GiveEmeraldButton-small":r},t,t)),f=(0,s.Z)("giveEmerald");return o.createElement("a",{className:p,title:f,href:"".concat(c.$j,"#").concat(encodeURIComponent((0,u.Jz)())),onClick:function(e){n&&(e.preventDefault(),e.stopPropagation(),m())}},o.createElement(d.ZP,{name:d.Ch,width:"14",height:"14",viewBox:"0 0 20 20"}),i&&o.createElement("span",null,f))}m.defaultProps={showTitle:!1,showSmallVersion:!1,onClick:function(){},customClasses:""},m.__docgenInfo={description:"",methods:[],displayName:"GiveEmeraldButton",props:{showTitle:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},showSmallVersion:{defaultValue:{value:"false",computed:!1},type:{name:"bool"},required:!1,description:""},onClick:{defaultValue:{value:"() => {}",computed:!1},type:{name:"func"},required:!1,description:""},customClasses:{defaultValue:{value:"''",computed:!1},type:{name:"string"},required:!1,description:""},isUserLoggedIn:{type:{name:"bool"},required:!0,description:""}}}},pPb0:(e,t,n)=>{n.d(t,{h7:()=>b});var i=n("lwsE"),a=n.n(i),o=n("W8MJ"),r=n.n(o),l=n("7W2i"),s=n.n(l),c=n("a1gu"),u=n.n(c),d=n("Nsbk"),m=n.n(d),p=n("pVnL"),f=n.n(p),h=n("q1tI"),v=(n("17x9"),n("/MKj")),g=n("mt+I");n("rZZl");function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=m()(e);if(t){var a=m()(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return u()(this,n)}}function w(e){var t=e.statuses;return t.length?h.createElement("div",{className:"StatusList"},t.map((function(e){return h.createElement(N,f()({key:e.id},e))}))):null}var b=(0,v.$j)((function(e){return{statuses:e.status?e.status.get("status").filter((function(e){return e.get("active")})).valueSeq().toJS():[]}}))(w);var E=function(e){s()(n,e);var t=y(n);function n(){return a()(this,n),t.apply(this,arguments)}return r()(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.animationDelay;setTimeout((function(){(0,e.props.handleClearStatus)()}),t+3e3)}},{key:"render",value:function(){return h.createElement(D,this.props)}}]),n}(h.Component);E.defaultProps={animationDelay:0};var N=(0,v.$j)(null,(function(e,t){var n=t.id;return{handleClearStatus:function(){return e((0,g.vn)({id:n}))}}}))(E);function D(e){var t=e.type,n=e.message,i=e.handleClearStatus,a=e.animationDelay;return h.createElement("div",{className:"Status Status-".concat(t),onClick:i,style:{animationDelay:"".concat(a,"ms")}},h.createElement("div",{className:"Status-container",dangerouslySetInnerHTML:{__html:n}}))}D.defaultProps={animationDelay:0},w.__docgenInfo={description:"",methods:[],displayName:"StatusListContainer",props:{statuses:{type:{name:"array"},required:!1,description:""}}},E.__docgenInfo={description:"",methods:[],displayName:"StatusContainer",props:{animationDelay:{defaultValue:{value:"0",computed:!1},type:{name:"number"},required:!1,description:""},statusType:{type:{name:"string"},required:!1,description:""},message:{type:{name:"string"},required:!1,description:""},id:{type:{name:"number"},required:!1,description:""},handleClearStatus:{type:{name:"func"},required:!1,description:""}}},D.__docgenInfo={description:"",methods:[],displayName:"Status",props:{animationDelay:{defaultValue:{value:"0",computed:!1},type:{name:"number"},required:!1,description:""},type:{type:{name:"string"},required:!1,description:""},message:{type:{name:"string"},required:!1,description:""},id:{type:{name:"number"},required:!1,description:""},handleClearStatus:{type:{name:"func"},required:!1,description:""}}}},tbwY:(e,t,n)=>{n.d(t,{ZN:()=>d,hs:()=>c,k6:()=>u});var i=n("RIqP"),a=n.n(i),o=n("JPcv"),r=n("puhG"),l=n("g1ek"),s=n("c+PL");function c(e){if(!e)return(0,r.Z)("postMetaDescription");var t=e.get("tags",(0,o.List)()).reduce((function(e,t){return[].concat(a()(e),[t.get("display")])}),[]),n=e.getIn(["account","username"],"");return(0,r.Z)("postMetaDescription",t,n)}function u(e){var t=(0,r.Z)("defaultTitle");return e&&e!==t?"".concat(e," - Imgur"):t}function d(e){if(!e)return"none";if(e.get("inGallery",!1))return"follow, index";var t=e&&e.getIn(["adConfig","nsfw_score"]);return Number.isFinite(t)&&t>s.Gn||e.get("media",(0,o.List)([])).some((function(e){var t=e.getIn(["meta","description"],"");return l.c1.test(t)||l.r_.test(t)||l.FC.test(t)}))?"none":"follow, index"}},"/FT0":()=>{},rZZl:()=>{}}]);