')},onMouseMove:function(e){var t=e.pageY-this.startPageY,o=this.scrollpane.innerEl.get(0),i=this.el.height(),a=this.scrollpane.el.height(),l=a-2*this.scrollpane.options.padding,s=n(103).clamp(t,0,l-i);o.scrollTop=(o.scrollHeight-a)*s/(l-i)},onMouseWheel:function(e){if(this.scrollpane.options.scrollTrap){var t=this.scrollpane.innerEl.get(0),n=e.originalEvent.deltaY;if(n<0&&0===t.scrollTop||n>0&&t.scrollTop+this.scrollpane.el.height()===t.scrollHeight)return e.preventDefault(),!1}}}]);function r(e,t){var o=e[0];if(!this.isDOMMonitoringStarted){if(n(106).MutationObserver){var i=new window.MutationObserver(t);i.observe(o,{childList:!0,subtree:!0}),this._observer=i}else o.addEventListener("DOMNodeRemoved",t),o.addEventListener("DOMNodeInserted",t);this.isDOMMonitoringStarted=!0}}function c(e,t){if(e){var o=e[0];this.isDOMMonitoringStarted&&(n(106).MutationObserver?this._observer&&this._observer.disconnect():(o.removeEventListener("DOMNodeRemoved",t),o.removeEventListener("DOMNodeInserted",t)),this.isDOMMonitoringStarted=!1)}}}).call(this,n(25))},,,,function(e,t,n){(function(t){function o(){return(o=Object.assign||function(e){for(var t=1;t0)&&this._shouldNavigate()){var i=this._getAudible();(function(e){return"sound"===e.resource_type})(i)&&(!i.isSnippetized()||i.isPlayable()||n(98).isSoundBlocked(i,this._product)||function(e){var t=n(64).getConsumerLink("t2485"),o=t.link,i=t.target;if(!window.open(o,i))return;a(e,{click_name:"clickthrough::snippet",click_object:e.urn,click_category:"engagement"}),a(e,{click_name:"clickthrough::consumer_sub_ad",click_object:"soundcloud:tcode:2485",click_category:"consumer_subs",click_target:o})}(this.getContextData()))}}function a(e,t){var i,a;n(19).trackV1Click(o({},t,{click_attributes:e.click_attributes,query_position:null==(i=e.attribution)?void 0:i.position,query_urn:null==(a=e.attribution)?void 0:a.queryUrn,context:e}))}}).call(this,n(25))},function(e,t,n){e.exports=n(8).extend(n(126),n(266),n(304).withOptions({selector:".soundTitle__playButton"}),n(368).withOptions({shouldShowTooltip:function(){var e;return this.options.clamp&&n(1061).isLineClamped(null==(e=this.$el[0])?void 0:e.querySelector(".soundTitle__title"))}}),{template:n(2479),css:n(2487),className:"soundTitle sc-clearfix sc-hyphenate",ModelClass:n(60),observedAttributes:{sound:["computed__displayArtist"]},requiredAttributes:{sound:["user","permalink","title","sharing","genre"],playlist:["user","permalink","title","sharing","genre"],"system-playlist":["user","made_for","permalink","title","is_public"]},events:{"click .soundTitle__username":"onUsernameClick","click a.soundTitle__title":"onTitleClick"},states:{playing:"m-playing",hiddenSound:"m-hiddenSound",visualSound:"m-visualSound",interactive:"m-interactive"},defaults:{is_link:!0,noFollow:!1,show_actor_user:!0,show_playbutton:!1,show_genre:!1,show_private:!1,show_promoted:!0,show_time:!1,hide_username:!1,show_visuals:!0,playbutton_size:"small",truncate:!1,actorId:null,actionType:"post",is_promoted:!1,clamp:!1,prefix:"",timestamp:null,viewContext:"",dialogType:"userBadge",dialogSelector:".soundTitle__usernameText"},setup:function(e){this.listenTo(this.model,"play",this.onPlay).listenTo(this.model,"pause",this.onPause).listenTo(this.model,"finished",this.onFinished),this.$el.addClass(e.viewContext)},dialogSubviewArgs:function(){var e;return{resource_id:null==(e=o.call(this))?void 0:e.id}},isVisual:function(){return!!(this.options.show_visuals&&this.model.hasVisuals&&this.model.hasVisuals())},onPlay:function(){this.toggleState("playing",!0)},onPause:function(){this.toggleState("playing",!1)},onFinished:function(){this.toggleState("playing",!1)},onUsernameClick:function(){var e,t=this.getContextData();n(93).trackEvent("userClickThrough",t),n(19).trackClickThrough({target:null==(e=o.call(this))?void 0:e.urn,context:t})},onTitleClick:function(){var e=this.getContextData();n(93).trackEvent("soundClickThrough",e),n(19).trackClickThrough({context:e})},renderDecorate:function(){this.toggleState("playing",this.model.isPlaying()).toggleState("hiddenSound",this.model.isDisabled()).toggleState("visualSound",this.isVisual()).toggleState("interactive",n(98).isSoundInteractive(this.model,this._product))},getTemplateData:function(e){var t=this.model,i=this.options,a=t.isPrivate(),l=t.isDisabled(),s=this.isVisual(),r=!!e.genre;r&&n(195).isGenreLabel(e.genre)?e.translatedGenre=n(195).getUnescapedTranslationFromEnglish(e.genre):e.translatedGenre=e.genre;var c=i.show_genre&&r,u=i.show_private&&a,d="sound"===e._resource_type,p="playlist"===e._resource_type,m="system-playlist"===e._resource_type,h=o.call(this),A="listenContext"===i.viewContext,g=d?this.model.getDisplayArtist():h.username;this.$el.attr("title",String(e.title));var f=g===h.username;return e.privateIconOptions={style:{width:"16px",height:"16px","margin-left":n(102).Themes.DEFAULT_THEME_EXPANDED.spacing["0_5x"].css}},n(1).assign(e,{isSound:d,isPlaylist:p,isSystemPlaylist:m,owner:h,artistName:g,showVerifiedBadge:f,containerOptions:{style:{display:"inline-block"}},isLink:i.is_link&&!l,noFollow:i.noFollow,isListenContext:A,showActorUser:i.actorId&&i.show_actor_user,showPlaybutton:i.show_playbutton,showPromotedInTitle:i.show_promoted&&s&&i.is_promoted&&"listenContext"!==i.viewContext,showPromotedOutsideTitle:i.show_promoted&&!s&&i.is_promoted&&"listenContext"!==i.viewContext,showReleaseData:"streamContext"===i.viewContext&&!d&&!m,hasLabels:c||u,isPrivate:a,isVisual:s,showGenre:c,showPrivate:u,playButtonSize:A?"xxlarge":this.options.playbutton_size,uploadTimeClass:A?"theme-dark sc-text-body":"sc-text-secondary sc-text-captions"})}});function o(){var e;return null!=(e=this.model.get("made_for"))?e:this.model.get("user")}},,,,,,,,,,,function(e,t,n){(function(t){e.exports=new(n(23))({applyTo:function(e){var t=e.constructor;n(1).assign(t,{Events:n(167).OverlayEvents}),e.defaults=n(1).assign({Subview:null,subviewArgs:null,AllowedStackingOverlaySubviews:[],togglerEl:null,relativeElement:null,relativeElementAnchor:"center bottom",anchor:"center top",offset:"0 0",collision:"flip",width:"auto",minHeight:"auto",domId:null,zIndexLevel:"overlay",focusable:!0,margin:0,text:""},e.defaults),e.element2selector=n(1).assign({},e.element2selector,{"last-tabbable":":tabbable:last","first-tabbable":":tabbable:first"}),e.bubbleEvents=n(1).assign({},e.bubbleEvents,{"simple-form:reset":"close","simple-form:submit":"close","overlay:close":"close"})},before:{setup:function(){n(1).bindAll(this,"onDocumentClick","onDocumentKeydown","onWindowScroll","onWindowResize"),i.call(this),o.call(this,!0),this.$el.css({outline:"none"}),this.onPositionComplete=a.bind(this),this._currentStackingOverlays=new Set},dispose:function(){o.call(this,!1),this.close()},renderDecorate:function(){var e=this;this.whenInserted().done((function(){var n=e.options.togglerEl,o=n&&t(n).closest(".modal__content");null!=o&&o.length&&(e.options.zIndexLevel="modal-content",i.call(e))}))}},defaults:{template:function(){return""},isOpened:!1,open:function(){return!(this.disposed||this.isOpened||!this.canBeOpened())&&(this.isOpened=!0,this.rerender(),this.$el.appendTo(window.document.body),this.createContentView(),this.position(),this.options.focusable&&this.$el.focus(),this.trigger(n(167).OverlayEvents.OPENED),n(11).trigger(n(167).OverlayEvents.OPENED,this),!0)},close:function(e,t){if(void 0===t&&(t=!0),!this.disposed&&this.isOpened&&(e||this.canBeClosed())){if(this.isOpened=!1,this.$el.detach(),this._teardown(),this.trigger(n(167).OverlayEvents.CLOSED),n(11).trigger(n(167).OverlayEvents.CLOSED,this),t){var o=this.options.togglerEl;o&&!this.options.isButtonTooltip&&o.focus()}return!0}return!1},canBeClosed:s,canBeOpened:s,getContentView:function(){return this.subviews.contentView},createContentView:function(){if(!this.getContentView()&&this.options.Subview){var e=this.options,t=e.Subview,o=n(1).result(e,"subviewArgs"),i=this.addSubview(new t(n(1).assign({resource_id:e.resource_id,resource_type:e.resource_type},o)),"contentView");this.$el.attr({tabindex:"-1",id:this.options.domId||n(1).uniqueId("overlay_")}),this.getOverlayContentEl().append(i.render().el)}},replaceContentView:function(e){var t=this.getContentView();return t&&(t._dispose(),this.removeSubview(t)),this.options.subviewArgs=e,this.createContentView(),this.position(),this.getContentView()},getOverlayContentEl:function(){return this.$el},position:function(){var e=this.options;this.$el.css({width:n(1).isFunction(e.width)?e.width.call(this):e.width,minHeight:e.minHeight,position:l(e.relativeElement)?"fixed":"absolute"}).position({my:e.anchor,at:e.relativeElementAnchor,of:e.relativeElement,offset:e.offset,collision:e.collision,using:this.onPositionComplete}),this.positionDecorate()},positionDecorate:n(1).noop,onLayoutChange:function(){this.close()},_handlePotentialStackingOverlay:function(e){var t=this,o=this.options.AllowedStackingOverlaySubviews;return e!==this&&o.indexOf(e.options.Subview)>-1&&(this._currentStackingOverlays.add(e),r.call(this),e.once(n(167).OverlayEvents.CLOSED,(function(){t._currentStackingOverlays.delete(e),r.call(t)})),!0)},onOverlayOpen:function(e){var t=this._handlePotentialStackingOverlay(e);e.isOpened&&e!==this&&!t&&this.close(!0)},onDocumentClick:function(e){!this.isOpened||t(e.target).closest(this.options.togglerEl).length||this._isOtherStackingOverlayOpen()||t(e.target).closest(this.$el).length||this.close(!1,!1)},_isOtherStackingOverlayOpen:function(){return this._currentStackingOverlays.size>0},onDocumentKeydown:function(e){if(this.isOpened)if(e.which!==n(67).ESC||e.isDefaultPrevented()||this._isOtherStackingOverlayOpen()){if(e.which===n(67).TAB){if(!e.shiftKey&&e.target===this.getElement("last-tabbable")[0])return this.getElement("first-tabbable").focus(),!1;if(e.shiftKey&&e.target===this.getElement("first-tabbable")[0])return this.getElement("last-tabbable").focus(),!1}}else this.close()},onWindowScroll:n(1).throttle((function(){if(!this.disposed&&this.isOpened){var e=this.$el.css("position"),t=l(this.options.relativeElement);("fixed"===e&&!t||"absolute"===e&&t)&&this.position()}}),300),onWindowResize:n(1).throttle((function(){!this.disposed&&this.isOpened&&this.position()}),300)}});function o(e){var o=e?"on":"off",i=window;n(11)[o](n(167).OverlayEvents.OPENED,this.onOverlayOpen,this)[o]("layout:beforeChange",this.onLayoutChange,this),t(i.document)[o]("keydown",this.onDocumentKeydown),i.document[e?"addEventListener":"removeEventListener"]("mousedown",this.onDocumentClick,!0),t(i)[o]("scroll",this.onWindowScroll)[o]("resize",this.onWindowResize)}function i(){var e=this.options;e.zIndexLevel?this.$el.addClass("g-z-index-"+e.zIndexLevel):t(e.relativeElement).closest(".g-z-index-fixed").length&&this.$el.removeClass("g-z-index-content").addClass("g-z-index-fixed")}function a(e,n){var o=n.element.element,i=n.target.element,a=e.top,l=e.left,s=t(window).height(),r=o.height(),c=46+this.options.margin,u=s-r-50,d=!("none"===this.options.collision||"none"===this.options.collision.split(" ")[1]);(function e(t){if(!t.length)return!1;if("fixed"===t.css("position"))return!0;if(t.is("html"))return!1;return e(t.parent())})(i)||(u+=window.scrollY,a<(c+=window.scrollY)?a=c:a>u&&d&&(a=u)),o.css({top:a,left:l})}function l(e){if(e)for(;e=e.parentNode;)if(e instanceof window.HTMLElement&&"fixed"===t(e).css("position"))return!0;return!1}function s(){return!0}function r(){this.$el&&this.$el.toggleClass("m-hasStackingOverlays",this._currentStackingOverlays.size>0)}}).call(this,n(25))},,,,function(e,t,n){e.exports=n(8).extend(n(622),n(38).withOptions("waveform"),n(377).withOptions({dim:!1}),n(266),{template:n(2489),css:n(2499),className:"waveform",ModelClass:n(27),requiredAttributes:["waveform_url","state","duration"],defaults:{upperPartHeight:.7,waveformStyle:"default",waveformMarginTop:0,show_comments:!0,show_timeIndicator:!0,disabled:!1,interactive:!0,avatarSize:"1x",classicAvatarSize:10,darkCommentText:!0,commentFlagSize:"small"},_commentsShowing:!1,states:{playing:"playing",emptyWaveform:function(e){this.$el.toggleClass("waveform__empty",e),e&&this.toggleState("loaded",!0)},loaded:"loaded",disabled:"m-disabled"},element2selector:{sceneElement:".waveform__scene"},waveformData:null,waveformUrl:null,setup:function(){o.call(this,"on"),this.scene=new(n(2501))},dispose:function(){o.call(this,"off")},teardown:function(){this.scene.teardown(),this._commentsShowing=!1},hasData:function(){return n(8).prototype.hasData.call(this)&&!!this.waveformData},fetchData:function(){var e=this;if(n(8).prototype.hasData.call(this)){var t=this.model.get("waveform_url");return this.waveformData&&this.waveformUrl===t?n(10).resolve():n(395).loadWaveformData(t).then((function(n){e.disposed||(e.waveformData=n,e.waveformUrl=t,e.rerender())}))}return n(8).prototype.fetchData.call(this)},onModelChange:function(){this.fetchData()},addLayer:function(e,t){var o,i=new(n(2502)),a=i.el,l=this.scene,s=this.getElement("sceneElement");return t=t||{},this.addSubview(i),void 0===t.at?(l.addLayer(i),s.append(a)):(o=l.getLayers()[t.at],l.addLayer(i),o?o.$el.before(a):s.append(a)),i.initCanvasDimensions(),e.filter(n(1).identity).forEach(i.addNode,i),i},renderDecorate:function(){var e=this;n(11).trigger("waveform-rerendered");var t=this.options.disabled||!this.model.isPlayable();this.toggleState("emptyWaveform",this.model.isProcessing()||n(98).isSoundBlocked(this.model,this._product)).toggleState("disabled",t),this.whenInserted().then((function(){return l.call(e,e.options.avatarSize,e.options.classicAvatarSize)}))},getModelData:function(){return{}},getTemplateData:function(e){var t=this.model,o=t.isProcessing(),i=n(98).isSoundBlocked(t,this._product),l=i&&n(82).getShortBlockMessage();return n(1).assign(e,{id:t.id,_resource_id:t.resource_id,type:"track",isReady:!o&&!i,isProcessing:o,isBlocked:i,blockMsg:l,showComments:a.call(this),upperPartHeightPercent:100*this.options.upperPartHeight+"%",disabled:!this.model.isPlayable()})}});function o(e){this.model[e]("play pause",i,this)}function i(){this.disposed||this.toggleState("playing",this.model.isPlaying())}function a(){return this.options.show_comments}function l(e,t){if(!this.disposed){var o=this.waveformData,i=this.options,a=i.waveformMarginTop,l=i.upperPartHeight,c=i.interactive,u=i.show_timeIndicator,d=this.model,p=d.resource_id,m=d.resource_type,h=r.call(this),A=this.getElement("sceneElement"),g=this.getState("disabled"),f=A.height()-a,_={originY:a,height:f,upperSize:l*f,lowerSize:(1-l)*f};this.addLayer([[n(2503),{resource_id:p,resource_type:m,$eventEl:A,waveformStyle:h,waveformDims:_,waveformData:o,disabled:g}],!g&&[n(2504),{resource_id:p,resource_type:m,$eventEl:A,waveformStyle:h,waveformDims:_}],(c&&!n(97).ipad||!g)&&[n(2505),{resource_id:p,resource_type:m,$eventEl:A,waveformStyle:h,waveformDims:_}]]),c&&this.addLayer([u&&[n(2506),{resource_id:p,resource_type:m,$eventEl:A,waveformStyle:h,waveformDims:_,disabled:g}],!g&&[n(2507),{resource_id:p,resource_type:m,$eventEl:A,waveformDims:_}]]),s.call(this,_,e,t),this.toggleState("loaded",!0)}}function s(e,t,o){if(!this._commentsShowing&&a.call(this)){var i=this.model;this.addLayer([[n(2508),{sound_id:i.id,resource_id:i.resource_id,$eventEl:this.getElement("sceneElement"),avatarSize:t,classicAvatarSize:o,disabled:this.getState("disabled"),waveformDims:e}]],{at:1}).setDirty(!0),this._commentsShowing=!0}}function r(){var e=this.options.waveformStyle;return"inverted"===e?e:"light"===n(158).default.getTheme(!0)?"default":"inverted"}},function(e,t,n){e.exports=n(203).extend({defaults:{popupSize:[600,300],serviceKey:"twitter",serviceName:"Twitter",serviceBaseURL:"https://twitter.com/intent/tweet",icon_only:!0},icon:n(13).Social.TwitterLogo,setup:function(){this.webProfilesCollection=new(n(660))(null,{userId:this.isAudible?this.model.get("user_id"):this.model.id}),this.hasData(this.webProfilesCollection)||this.webProfilesCollection.fetch().done(this.rerender.bind(this)),n(203).prototype.setup.apply(this,arguments)},dispose:function(){this.webProfilesCollection.release()},getTwitterHandle:function(){var e=this.webProfilesCollection.getProfileByName("twitter");return e?e.get("username"):null},getHrefData:function(e){var t,o,i,a,l=this.model.attributes,s=this.getTwitterHandle(),r=["soundcloud"];s?(t="@"+s,r.push(s)):t=this.isAudible?null==(i=null!=(a=l.made_for)?a:l.user)?void 0:i.username:l.username||l.name;var c=this.model.get("title");return o=this.isAudible?c.length>50?n(2).Lingua.t("‘[[[title]]]’ is on #SoundCloud",{title:c}):n(2).Lingua.t("‘[[[title]]]’ by [[[name]]] is on #SoundCloud",{title:c,name:t}):n(2).Lingua.t("[[[name]]] is on #SoundCloud",{name:t}),{url:null!=e?e:this.getShareURL(),text:o.toString(),related:r.join(",")}}})},function(e,t,n){e.exports=n(203).extend({defaults:{popupSize:[550,300],serviceKey:"facebook",serviceName:"Facebook",serviceBaseURL:"https://www.facebook.com/sharer/sharer.php",icon_only:!0},icon:n(13).Social.FacebookLogo,getHrefData:function(e){return{u:null!=e?e:this.getShareURL()}}})},function(e,t,n){e.exports=n(203).extend({defaults:{popupSize:[10,10],serviceKey:"email",serviceName:"Email",serviceBaseURL:"mailto:",icon_only:!0},icon:n(13).Social.MessageLogo,buttonLabels:{default:function(){return n(2).Lingua.t("Share via email")}},getHrefData:function(e){var t=this.model.attributes;return{subject:(t.username||t.title||t.name)+" - SoundCloud",body:null!=e?e:this.getShareURL()}},getHref:function(e){var t=this.getHrefData(e);return this.options.serviceBaseURL+n(32).stringify({query:t})},openPopup:function(){var e=n(203).prototype.openPopup.apply(this,arguments);return window.setTimeout(e.close.bind(e),1e3),e}})},,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(8).extend({className:"relativeTime",tagName:"time",date:null,defaults:{timestamp:null,prefix:"Posted"},setup:function(){this.updateDisplay=o.bind(this),this.date=n(7).LinguaLib.dateTimeHelper.fromString(this.options.timestamp)},renderDecorate:function(){var e=this.options.prefix,t=n(7).LinguaLib.dateTimeHelper.nowAtServer()-this.date<2*n(41).MS_IN_DAY?"readable_time":"readable",o=n(7).LinguaLib.dateTimeHelper.format(this.date,t);this.$el.attr({title:i(e,o).toString(),datetime:this.date.toISOString()}),this.updateDisplay()},template:function(){return""}});function o(){var e=n(7).LinguaLib.dateTimeHelper.toRelativeTime(this.date,null,n(7).LinguaLib.dateTimeHelper.nowAtServer()),t=function(e,t){switch(e.toString()){case"Posted":return n(2).Lingua.t("Posted [[[relativeTime]]]",{relativeTime:t});case"Reposted":return n(2).Lingua.t("Reposted [[[relativeTime]]]",{relativeTime:t});case"Sent":return n(2).Lingua.t("Sent [[[relativeTime]]]",{relativeTime:t});case"Shared":return n(2).Lingua.t("Shared [[[relativeTime]]]",{relativeTime:t});case"Updated":return n(2).Lingua.t("Updated [[[relativeTime]]]",{relativeTime:t});case"":default:return t}}(this.options.prefix,e).toString();this.el.innerHTML=n(601).getAccessibleMarkup({visible:e,screenreader:t});var o=n(7).LinguaLib.dateTimeHelper.nowAtServer()-this.date,i=o'},onClickThrough:function(){var e=this.getContextData();n(93).trackEvent("userClickThrough",e),n(19).trackClickThrough({context:e,target:this.model.getUrn()}),this.bubble("itemNavigation",{object_urn:this.model.getUrn()})},getTemplateData:function(e){return o({},e,{avatarBadgeContent:l.call(this,e.urn)})}});function a(){var e=this.options.classicSize;return"string"==typeof e?i[e]:e}function l(e){var t=a.call(this),o=this.options,i=o.stretch,l=o.boundaryOutlineStyle,s=o.showVerifiedBadge,r=o.size,c=this.model,u=c.resource_id,d=c.resource_type;return new(n(14).SafeString)(n(18).el("div",{class:"g-avatar-badge-avatar"},[n(18).subview(n(113),{resource_id:u,resource_type:d,classicSize:t,size:r,stretch:i,boundaryOutlineStyle:l}),s&&e?n(18).reactSubview(n(210).default,{resource_id:u,userUrn:e}):""]))}},,,,function(e,t,n){e.exports=n(8).extend({tagName:"span",defaults:{variant:"smallArtwork"},states:{hidden:"sc-hidden"},ModelClass:n(27),css:n(1983),requiredAttributes:["policy","monetization_model"],setup:function(e){var t=e.variant;this.$el.addClass(o[t])},renderDecorate:function(){if(this.disposed)return;this.toggleState("hidden","SUB_HIGH_TIER"!==this.model.get("monetization_model"))},template:function(){return"SUB_HIGH_TIER"===this.model.get("monetization_model")?n(18).reactSubview(n(13).GoPlus):""}});var o={largeArtwork:"tierIndicator__largeGoPlus tierIndicator__artwork",smallArtwork:"tierIndicator__smallGoPlus tierIndicator__artwork",list:"tierIndicator__listGoPlus"}},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(8).extend({tagName:"div",defaults:{authUIEndpoint:"web-auth",onToken:null,onComplete:null,onCancel:null,onTrackEvent:null,getIframeElement:null,errorCode:null,title:null,loginOptions:{},iframeSrcAvailable:null,handleIframeResize:function(e){var t=e.height;this.options.getIframeElement.call(this).height=t}},_handleEmbedMessage:null,isSignUp:void 0,isTokenSet:!1,setup:function(){var e=this;this._handleEmbedMessage=l.bind(this),window.addEventListener("message",this._handleEmbedMessage,!1),this.options.iframeSrcAvailable&&n(252).getAuthIframeSrc({endpoint:this.options.authUIEndpoint,errorCode:this.options.errorCode,intent:this.options.loginOptions.signup?"signup":"signin"}).then((function(t){e.options.iframeSrcAvailable.call(e,t)}))},dispose:function(){window.removeEventListener("message",this._handleEmbedMessage)},getTemplateData:function(e){return e.webAuthTitle=this.options.title,e}});function o(e){var t=e.token,o=e.isSignUp,i=e.authenticationMethod,a=this.options.onToken;this.isSignUp=o,this.isTokenSet=!0,t&&n(1).isFunction(a)&&(a.call(null,t),i&&(o?n(46).trackEvent({category:n(46).EventCategory.userFunnel,action:n(46).EventAction.signUp}):n(46).trackEvent({category:n(46).EventCategory.userFunnel,action:n(46).EventAction.signInSuccessful,label:i})))}function i(e){var t=this;n(252).codeExchange(e).then((function(e){var i=e.token,l=e.isSignUp,s=e.authenticationMethod;t.listenToOnce(n(11),"connect:authenticationSuccess",(function(){l?n(561).trackAuthSignUpSuccess(s):n(561).trackAuthSignInSuccess(s)})),o.call(t,{token:i,isSignUp:l,authenticationMethod:s}),a.call(t)}),(function(e){n(19).trackAuthEvent(n(301).oauth_failed,{eventName:"Error In OAuthmode"})}))}function a(e){var t=e||{},o=t.reason,i=void 0===o?void 0:o,a=t.isError,l=void 0===a?void 0:a;if(this.isTokenSet&&!l){var s=this.options.onComplete;n(1).isFunction(s)&&s(this.isSignUp)}else{var r=this.options.onCancel;n(1).isFunction(r)&&r(i,l)}}function l(e){var t,o=this.options.getIframeElement.call(this),l=null==o?void 0:o.contentWindow;if(e.source===l&&((r(e.origin)===r(n(6).get("auth_ui_host"))||r(e.origin)===r(window.location.origin))&&null!=(t=e.data)&&t.action))switch(e.data.action){case"resize":this.options.handleIframeResize.call(this,{height:e.data.body.height});break;case"close":a.call(this,e.data.reason);break;case"code":i.call(this,e.data.query)}}var s=/\/$/;function r(e){return e.replace(s,"")}},,,,,function(e,t,n){e.exports=new(n(23))({around:{validateOwnField:function(e){if(this.isControlValid)return e.call(this)}},setValid:function(e,t){this.isControlValid=e;var o=this.getMetaData();o&&(o.isValid=e,o.validity=n(76)[e?"VALID":"INVALID"]),this.getElement("validation").html(e?"":t.toString()),this.toggleState("invalid",!e)}})},function(e,t,n){var o={};e.exports=new(n(23))({_isPlayLocked:null,_playLockSelector:null,_playLockDim:null,_playLockFreeze:null,applyTo:function(e,t){e.css=[].concat(e.css,n(1808)).filter(Boolean),e._playLockDim=!t||!("dim"in t)||!!t.dim,e._playLockFreeze=!t||!("freeze"in t)||!!t.freeze,e._playLockSelector=(null==t?void 0:t.elName)||o},before:{setup:function(){this._isPlayLocked=!1,this.listenTo(n(20),"state:globalPlayLock",i)},renderDecorate:function(){i.call(this)}}});function i(e){var t;e="boolean"==typeof e?e:n(20).getState("globalPlayLock"),this._isPlayLocked!==e&&(t=this._playLockSelector===o?this.$el:this.getElement(this._playLockSelector),this._playLockDim&&t.toggleClass("playlock-dim",e),this._playLockFreeze&&t.toggleClass("playlock-freeze",e),this._isPlayLocked=e)}},,function(e,t,n){e.exports=n(8).extend(n(38).withOptions("addToPlaylistTabs"),{className:"addToPlaylistTabs",template:n(2444),defaults:{formId:null,soundIds:null,defaultTitle:null,startingTab:"add",event_source:null,trackingAttributes:null,tabs:[{id:"add",name:n(2).Lingua.t("Add to playlist",null,{context:"indefinite"}),subview:n(2445),filter:function(){return this.playlists.getNumSourceModels()>=1}},{id:"create",name:function(){return n(2).Lingua.t("Create a playlist")},subview:n(2458)}]},setup:function(){this.playlists=this.addDataSource(new(n(874)))},hasData:function(){return this.playlists.isPopulated()},getTemplateData:function(e){var t=this;e.tabs=this.options.tabs.filter((function(e){return!e.filter||e.filter.call(t)})).map(n(1).clone);var o=n(1).findIndex(e.tabs,{id:this.options.startingTab});return e.activeTabIndex=-1===o?0:o,e.event_source=this.options.event_source,e},onContextRequest:function(e){e.data.event_source=this.options.event_source,e.data.trackingAttributes=this.options.trackingAttributes}})},,function(e,t,n){var o=n(223).getConfig("barWidth")+n(223).getConfig("gapWidth");e.exports=new(n(23))(n(878),{override:{ModelClass:n(27)},merge:{requiredAttributes:["duration"],defaults:{waveformStyle:"default",waveformDims:null}},hasUnplayableArea:function(){return this.getPlayablePortion()<1},getPlayablePortion:function(){var e=this.model.getMediaDuration(),t=this.model.getFixedDuration();return t<=0?1:n(103).clamp(e/t,0,1)},getPlayableWidth:function(){var e=this.canvas.width,t=this.getPlayablePortion();return 1===t?e:a(e*t)},getUnplayableWidth:function(){return this.canvas.width-this.getPlayableWidth()},insideScrubbableArea:function(e,t){return this.insideTopArea(t)&&this.insidePlayableArea(e,"px")},roundToBar:function(e,t){return(t?i:a)(e)},getWholeBarWidth:function(){return o},insidePlayableArea:function(e,t){return!this.hasUnplayableArea()||("ms"===t&&(e=this.msToPx(e)),e<=this.getPlayableWidth())},insideTopArea:function(e){var t=this.options.waveformDims;return e'+t+"")}return""},getTemplateData:function(e){var t=this,n=this.groupName;return i.a.extend({},e,{buttons:this.getButtonsConfig().map((function(e){return i.a.assign({groupName:n},e,{sublabelSafeHtml:t.buildButtonSublabel(e)})}))})},setRadioValue:function(e){this.getElement("buttons").get().forEach((function(t){t.checked=String(t.value)===String(e)}))},renderDecorate:function(){var e=this;this.updateSelectedState(),this.getElement("buttons").on("change",(function(){e.onRadioChanged(this.value)}))},updateSelectedState:function(){this.options.selectedValue&&this.setRadioValue(this.options.selectedValue)},onRadioChanged:function(e){var t=this.options.name,n={name:t,value:u.call(this,e)};this.bubble("radioGroup:change",n),t&&this.bubble("radioGroup:change:"+t,n)},canChange:function(){return!0}});function u(e){var t=this.getButtonsConfig(),n=i.a.find(t,(function(t){return String(t.value)===String(e)}));return n?n.value:null}t.default=c},,,,,,,,,,,function(e,t,n){e.exports=n(8).extend(n(126),{tagName:"span",className:"sc-label sc-media-image",defaults:{type:null,dialogType:"audibleAttribute",dialogEnabled:!0,iconOnly:!0,isTertiary:!1,isLinkColor:!1,isDisabled:!1},setup:function(e){var t=e.type,n=e.iconOnly,o=e.isTertiary,i=e.isLinkColor,a=e.isDisabled;this.$el.addClass("sc-label-"+t),this.$el.toggleClass("sc-label-icon-only",n),this.$el.toggleClass("sc-label-tertiary",o),this.$el.toggleClass("sc-label-link-color",i),this.$el.toggleClass("sc-label-disabled",a)},dialogSubviewArgs:function(){return n(1).pick(this.options,"resource_id","resource_type","type")},dialogArgs:function(){if("private"===this.options.type)return{width:"auto"}},template:function(){return n(18).reactSubview(n(830).default,{type:this.options.type,iconOnly:this.options.iconOnly})}})},,,,,function(e,t,n){function o(){return(o=Object.assign||function(e){for(var t=1;t0&&m.push(r.call(this,n(459),{actions:p,icon_only:!0,className:"sc-button-more sc-button-secondary"})),m}function l(e){return n(1).compact(e.map(s.bind(this)))}function s(e){var t=this,i=this.options,a=i.resource_id,l=i.resource_type,s=i.show_counts_actions,c=i.compact_actions,u=i.icon_only,d=this.model.id,p=function(e,n){return r.call(t,e,n)};switch(e){case"like":return p(n(235),{show_counts:s,icon_only:c||u,number_only:!u});case"repost":return p(n(619),{show_counts:s,icon_only:c||u,number_only:!u});case"addToPlaylist":return p(n(521),{soundIds:[d],icon_only:!0});case"addToNextUp":return p(n(416),{resource_id:a,icon_only:!0});case"edit":return p(n(463),{resource_id:a,resource_type:l,text:n(2).Lingua.t("Edit"),icon_only:!0,openOnSetup:this.options.open_edit_modal});case"delete":return p(n(886),{disabled:this.model.isManagedByFeeds(),icon_only:!0});case"share":return p(n(509),{resource_id:a,icon_only:!0});case"copyLink":return p(n(895),{resource_id:a,resource_type:l,icon_only:!0});case"download":return p(n(451),{icon_only:!0});case"startStation":return p(n(524),{stationType:"track",stationId:d,icon_only:!0});case"distribute":return p(n(626),{icon_only:!0});case"goToPlanPickerDistribute":return p(n(627),{tCode:"t351",icon_only:!0});case"master":return p(n(678),{resource_id:a,impressionId:"track_page_master_button",clickId:"track_page_master_button",ref:"t430",icon_only:!0});case"replace":return p(n(463),{resource_id:a,resource_type:l,text:n(2).Lingua.t("Replace File"),icon_only:!0,triggerReplaceTrack:!0});case"goToPlanPickerReplace":return p(n(2602),{tCode:"t49",icon_only:!0});case"goToStats":return p(n(900),{isCTA:!1,icon_only:!0});case"report":var m={resource_type:l,icon_only:!1,responsive:!1};return n(82).isCountryEUOrUK()&&n(6).get("features").has("v2_report_content_links")?p(n(503).default,o({},m,{_id:d})):p(n(631),o({},m,{resource_id:d}));case"reportDsa":return p(n(510).default,{_id:d,resource_type:l,icon_only:!1,responsive:!1});case"pinToProfile":return p(n(2608).default,{_id:d,resource_type:l,icon_only:!0,title:n(2).Lingua.t("Pin to Profile")});default:return null}}function r(e,t){return{buttonArgs:n(1).assign({className:"sc-button-secondary",size:this.options.size,resource_id:this.model.id,resource_type:this.options.resource_type,icon_only:this.options.icon_only,transparent:this.options.transparent,lightFg:this.options.lightFg,responsive:this.options.responsive},t),ButtonView:e}}function c(){return!!this.model&&n(6).get("me").owns(this.model)}},,,,,,,function(e,t,n){e.exports=new(n(23))(n(73),{requires:["getModalArgs","requiresLogin"],defaults:{onModalOpen:n(1).noop,loginOptions:n(1).noop,modalEnabled:!0,ModalClass:n(39)},onClick:function(){this.modalEnabled&&(this._modal||(this._modal=new this.ModalClass(n(1).assign({togglerEl:this.el},this.getModalArgs(this.options)))),!n(17).isLoggedIn()&&this.requiresLogin()?n(17).login(this.loginOptions()).then(o).then(i.bind(this)):i.call(this))},closeModal:function(){this._modal&&this._modal.close()}});function o(){var e=n(10).defer();return n(11).once("layout:change",(function(){e.resolve()})),e.promise()}function i(){this._modal.open(),this.onModalOpen()}},function(e,t,n){"use strict";n.r(t),function(e){var o=n(1),i=n.n(o),a=n(60),l=n.n(a),s=n(197),r=n.n(s),c=(n(115),n(211)),u=n.n(c),d=n(6),p=n.n(d),m=n(7),h=n(2),A=n(38),g=n.n(A),f=n(299),_=n.n(f),C=n(93),v=n.n(C),y=n(8),b=n.n(y),x=n(19),w=n(64),k=n.n(w),B=n(98),S=n(266),T=n.n(S),P=n(304),O=n.n(P),I=n(13),M=(n(28),n(100),n(380),n(279),n(127)),E=n(15),D=n.n(E),$=n(36),L=n(26),U={warning:n(593),alert:n(594)};var q=b.a.extend(r.a,g.a.withOptions("soundBadge"),u.a.withOptions({getSound:function(){return this.model.getCurrentSound()}}),T.a,O.a.withOptions({selector:".soundBadge__playButton"}),M.default,{template:n(2460),css:n(2612),className:"soundBadge",ModelClass:l.a,requiredAttributes:{sound:["permalink","user","sharing","duration","display_date","policy"],playlist:["permalink","user","sharing","is_album","display_date"]},defaults:{CheckboxForm:null,compact:!1,is_promoted:!1,show_action_buttons:!1,show_owner_buttons:!1,expand_owner_buttons:!1,show_ministats:!0,show_private:!1,show_audible_attributes:!1,show_duration:!1,show_upload_time:!1,show_info_stats:!1,primary_actions:1,overflow_minimum:2,allowTrackFallback:!0,click_to_play:!1,click_to_navigate:!1,noFollow:!1},states:{active:"active",selected:"selected",clickable:"clickable",compact:"compact sc-media",hiddenActions:"hiddenActions",playlist:"playlist",hiddenSound:"hiddenSound",hasCheckbox:"hasCheckbox",hover:function(e){!e&&this._isOverlayOpened||this.$el.toggleClass("hover",e)},interactive:"m-interactive",playable:"m-playable"},element2selector:{removeButton:".soundBadge__remove"},events:{click:"onClick","click .soundTitle__username":"onUserNameClick","click .soundTitle__title":"onTitleClick",mouseenter:"onHover",mouseleave:"onHover"},loadingTemplate:function(){return''},initialize:function(e){var t={};t[_.a.TOGGLE]="onOverlayButtonToggle",e.CheckboxForm&&(t["checkbox:checked"]="onCheckboxChecked"),this.bubbleEvents=i.a.assign(this.bubbleEvents||{},t),b.a.prototype.initialize.apply(this,arguments)},setup:function(e){this.toggleState("compact",e.compact).toggleState("hiddenActions",!z(this)&&!R(this)).toggleState("playlist",F(this.model)).toggleState("hasCheckbox",!!e.CheckboxForm),e.CheckboxForm&&(this.checkboxForm=new e.CheckboxForm),this.listenTo(this.model,"play pause",N)},dispose:function(){this.checkboxForm&&this.checkboxForm.release()},renderDecorate:function(){var e=this.options,t=e.click_to_play,n=e.click_to_navigate,o=e.CheckboxForm,i=j(this.model);W(this,this.model),this.toggleState("hiddenSound",!i).toggleState("clickable",t||n||o&&i)},onHover:function(e){this.toggleState("hover","mouseenter"===e.type)},onClick:function(t){var n=e(t.target),o=this.options,i=this.model.id;if(n.closest("a,button,input,label",".soundBadge").length)return!0;if(o.click_to_play)this.toggleAudible(this.model,{userInitiated:!0});else if(o.click_to_navigate)Y.call(this),p.a.get("router").navigateToRoute("listen",[this.model],{trigger:!0});else if(o.CheckboxForm&&j(this.model)){var a=this.checkboxForm.hasId(i);this.checkboxForm[a?"removeId":"addId"](i),V(this.model)||this.checkboxForm[a?"removeUneditableId":"addUneditableId"](i)}},onUserNameClick:function(){var e=this.model.get("user").urn;this.bubble("itemNavigation",{object_urn:e})},onTitleClick:function(){var e=this.model.getUrn();this.bubble("itemNavigation",{object_urn:e})},onCheckboxChecked:function(e){this.toggleState("selected",e.data.checked)},onOverlayButtonToggle:function(e){e.data.$el.closest(".soundBadge").is(this.el)&&(this._isOverlayOpened=e.data.isOpened,this.toggleState("hover",this._isOverlayOpened,!0))},getTemplateData:function(e){var t,n,o=this.options,a=this.model,l=F(a),s=R(this),r=z(this),c=o.show_private&&a.isPrivate(),u=o.show_audible_attributes&&!l,d=o.show_duration,p=o.show_upload_time,A=o.show_info_stats,g=o.allowTrackFallback,f=l&&e.is_album,_=this.options.compact;d&&(n=h.Lingua.t("Duration: [[timeCodeInWords]]",{timeCodeInWords:m.LinguaLib.dateTimeHelper.timecode(e.duration,{inWords:!0,minimal:!1})}),t=m.LinguaLib.dateTimeHelper.timecode(e.duration,{inWords:!1,minimal:!1}));var C,v=k.a.getCreatorLink({tcode:"t252"}),y=v.link,b=v.target,x=Object($.getProductNameInstance)().getNameVariants(L.ProductId.CREATOR_SUBSCRIPTION_3).full,w=h.Lingua.t("This track has been hidden because you have exceeded your upload limit. [[[linkStart]]]Upgrade[[[linkEnd]]] to [[subscriptionName]] to restore all hidden tracks and unlock unlimited uploads.",{linkStart:'',linkEnd:"",subscriptionName:x}),B=a.isOverQuota()||a.isBlacklisted()?I.Report:a.isOverQuota()?U.warning:a.isBlacklisted()?U.alert:void 0;return i.a.assign(e,{routeName:l?"playlist":"listen",show_hidden_info:a.isOverQuota(),hidden_info_text:w,show_checkbox:!!o.CheckboxForm,show_ministats:o.show_ministats,show_buttons:r||s,show_play:(r||s)&&(C=a,!C.isDisabled()&&!C.isProcessing()),show_owner_buttons:s,show_extra:c||d||p||u,show_duration:d,show_upload_time:p,show_audible_attributes:c||u,show_private_only:c&&!u,show_release_data:f,show_info_stats:A,stats_visible:A||o.show_ministats||f,isEditable:V(a),isDisabled:!j(a),isSound:H(a),is_blacklisted:a.isBlacklisted(),duration_in_words:n,duration:t,allowTrackFallback:g,noFollow:o.noFollow,icon:B,show_warning_icon:!!B,statsVariant:G.call(this,a),artworkSize:_?"6x":"8x",soundActionsSize:_?"small":"medium"})},onContextRequest:function(e){e.data.audibleModel=this.model},onComponentViewed:function(){var e=this.getTrackingUiComponent(),t=this.getContextData();e.ui_component_name&&"number"==typeof t.attribution.position&&D.a.tracking.track("UI Component Element Viewed",{ui_component_name:e.ui_component_name,ui_component_urn:e.ui_component_urn,ui_component_element_position:t.attribution.position+1,object_urn:this.model.getUrn()})}});function z(e){return e.options.show_action_buttons}function R(e){return e.options.show_owner_buttons}function N(e){W(this,e[this.model.resource_type])}function W(e,t){var n=e.model,o=n===t&&t.isPlaying();e.toggleState("active",o).toggleState("interactive",Object(B.isSoundInteractive)(n,e._product)).toggleState("playable",n.isPlayable())}function V(e){return j(e)&&!e.isManagedByFeeds()}function j(e){return!e.isDisabled()}function F(e){return"playlist"===e.resource_type}function H(e){return"sound"===e.resource_type}function Y(){var e=this.getContextData();v.a.trackEvent("soundClickThrough",e),Object(x.trackClickThrough)({context:e})}function G(e){return Object(B.isSoundInteractive)(e,this._product)&&!e.isPlayable()?"light":""}q.Events={REMOVE_CLICK:"soundBadge:remove-click"},t.default=q}.call(this,n(25))},function(e,t,n){e.exports=n(8).extend(n(126),{tagName:"span",className:"promotedBadge",template:n(2480),events:{"click .promotedBadge__promoter":"onPromoterClick"},defaults:{size:"small",dialogType:"userBadge",dialogSelector:".promotedBadge__promoter"},getTemplateData:function(e){var t=this.getContextData();return e.promoted_by=t.promoted_by,e.promotedByAnchor=function(e){var t;if(null==(t=e.promoted_by)||!t.username)return;var o=n(31).getRoute("user",e.promoted_by),i=e.promoted_by.username;return n(2).Lingua.t("Promoted by [[[anchorStart]]][[username]][[[anchorEnd]]]",{anchorStart:'',anchorEnd:"",username:i})}(e),e.promotedIcon=n(13).Promoted,e},dialogSubviewArgs:function(){return{resource_id:this.getContextData().promoted_by.id}},onPromoterClick:function(){var e=this.getContextData();n(93).trackEvent("sponsorClickThrough",e),n(19).trackClickThrough({context:e,target:e.promoted_by_urn})}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){function o(){return(o=Object.assign||function(e){for(var t=1;t"+n(14).Utils.escapeExpression(o(t))+")"}:{url:a,posttype:"link",title:n(2).Lingua.t("[[name]] on SoundCloud",{name:o(t)}).toString()}}});function o(e){var t,n;return e.username||(null==(t=null!=(n=e.made_for)?n:e.user)?void 0:t.username)||e.name}},,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"RepostCaptionOverlay",(function(){return _}));var o=n(0),i=n(31),a=n(49),l=n.n(a),s=n(7),r=n(16),c=n(52),u=n(302),d=n(637),p=n(79),m=(n(2442),n(45)),h=(n(100),n(27)),A=n.n(h),g=n(84),f=n.n(g),_=(n(281),function(e){var t,n,i=e.targetUrn,a=e.onDismiss,s=e.onDeleteRepost,c=e.onSubmit,u=e.isWide,m=e.isNew,h=e.meUser,A=e.sound,g=Object(p.c)()===p.a.UIEvo;if(!h||!A)return null;var f=!(null!=h&&h.primary_email_confirmed);return o.createElement("div",{className:l()("repostOverlay__container",(t={},t["repostOverlay--wide"]=u,t["repostOverlay--uiEvo"]=g,t))},o.createElement("div",{className:"repostOverlay__header"},o.createElement("div",{className:"repostOverlay__message"},o.createElement(r.Lingua,{t:"You reposted [[[trackTitle]]]",comment:"Placeholder you is a formatted version of the word 'you'",values:{YouText:function(e){var t=e.children;return o.createElement("span",{className:"repostOverlay__youReposted"},t)},RepostIcon:v,trackTitle:null!=(n=null==A?void 0:A.title)?n:""}})),o.createElement("div",{className:"repostOverlay__close"},o.createElement(y,{onClose:a}))),f&&o.createElement(b,null),(null==h?void 0:h.urn)&&o.createElement(d.a,{meUrn:h.urn,targetUrn:i,isWide:u,isNew:m,isDisabled:f,onSubmit:c,onDeleteRepost:s}))}),C=Object(m.a)((function(e){var t=e.targetUrn;return{sound:{ModelClass:A.a,key:{id:Object(m.b)(t)},requiredAttributes:["title"]},meUser:{ModelClass:f.a,requiredAttributes:["primary_email_confirmed","urn"]}}}))(_);t.default=C;var v=function(){return o.createElement("span",{className:"sc-ministats sc-ministats-small sc-ministats-reposts repostOverlay__messageRepostIcon"})},y=function(e){var t=e.onClose,n=o.useCallback((function(){return t()}),[t]);return o.createElement(c.Button,{type:"button",className:"repostOverlay__closeButton",buttonStyle:c.ButtonStyle.NoStyle,onClick:n},o.createElement(u.a,{screenreader:s.LinguaLib.t("Repost without caption")},o.createElement("span",{className:"repostOverlay__closeIcon"})))},b=function(){var e=i.getRoute("settings");return o.createElement("div",{className:"repostOverlay__confirmEmail sc-type-small sc-text-body"},o.createElement("a",{href:e,className:"repostOverlay__confirmEmailLink"},o.createElement(r.Lingua,{t:"Verify your email address to add a caption"})))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var o=n(0),i=n(49),a=n.n(i),l=n(16),s=n(7),r=n(52),c=n(157),u=n(79),d=n(92),p=n(643),m=(n(2439),n(45)),h=(n(2441),n(257)),A=n.n(h),g=n(63);function f(e,t){if(null==e)return{};var n,o,i={},a=Object.keys(e);for(o=0;o=0||(i[n]=e[n]);return i}function _(){return(_=Object.assign||function(e){for(var t=1;t140||!!o&&i<=0,remainingLettersCount:a,isInvalid:a<0}}({initialCaption:t,caption:_,isNew:p})}),[t,_,p]),B=k.isSubmitDisabled,S=k.remainingLettersCount,T=k.isInvalid,P=y?d.a:r.Button;return o.createElement("form",{className:"repostOverlay__form",onSubmit:x},o.createElement("div",{className:"repostOverlay__formInputContainer"},o.createElement(w,{value:_,onChange:b,isWide:i,isInvalid:T,isDisabled:h}),!h&&o.createElement(C,{remainingLettersCount:S,isInvalid:T})),o.createElement("div",{className:"repostOverlay__formButtonContainer"},o.createElement(P,{type:"submit","aria-disabled":h||B,disabled:h||B,size:r.ButtonSize.Medium,buttonStyle:r.ButtonStyle.Primary,className:a()("repostOverlay__formButton",{"repostOverlay__formButtonSubmit--isNew":p})},p?o.createElement(l.Lingua,{t:"Add caption"}):o.createElement(l.Lingua,{t:"Save changes"})),!p&&o.createElement(P,{size:r.ButtonSize.Medium,buttonStyle:r.ButtonStyle.NoStyle,className:"repostOverlay__formButton repostOverlay__formButtonDelete",onClick:A},o.createElement(l.Lingua,{t:"Delete repost"}))))},w=function(e){var t=e.isWide,n=e.isInvalid,i=e.isDisabled,l=f(e,["isWide","isInvalid","isDisabled"]),r=Object(u.c)()===u.a.UIEvo,c=a()(["repostOverlay__formInput",{invalid:n,"repostOverlay__formInput--isDisabled":i}]),d={placeholder:s.LinguaLib.t("Add a caption (optional)"),disabled:i,"aria-disabled":i,"aria-label":s.LinguaLib.t("caption text")};if(t){var m=r?p.a:k;return o.createElement(m,_({type:"text",className:c},d,l))}var h=r?p.b:B;return o.createElement(h,_({className:a()(c,"repostOverlay__formInput--isTextarea")},d,l))},k=function(e){var t=e.className,n=f(e,["className"]);return o.createElement("input",_({className:a()("sc-input","sc-input-medium",t)},n))},B=function(e){var t=e.className,n=f(e,["className"]);return o.createElement("textarea",_({className:a()("sc-input","sc-input-medium",t)},n))}},,function(e,t,n){"use strict";n.r(t),n.d(t,"OverCreditOverlayContent",(function(){return S}));var o,i=n(8),a=n.n(i),l=n(80),s=n(18),r=n(39),c=n.n(r),u=n(0),d=n.n(u),p=n(16),m=n(260),h=n(966),A=n(36),g=n(26),f=n(95),_=n(330),C=function(e){var t=e.creditResource,n=Object(u.useRef)(null);return Object(u.useEffect)((function(){return function(){n.current&&n.current.dispose()}}),[]),d.a.createElement("button",{className:"mui-btn sc-button sc-button-primary",onClick:function(){Object(m.b)(t,m.a.Confirm),n.current=_.a.create({type:f.CheckoutModalType.PURCHASE,tcode:"t347"}),n.current.open()}},d.a.createElement(p.Lingua,{t:"Get [[planName]]",values:{planName:Object(A.getProductNameInstance)().getNameVariants(g.ProductId.CREATOR_SUBSCRIPTION_3).short},comment:"This is a call to action in the form of a button to get a subscription plan (=planName). If the subscription plan is 'Pro', this will read: 'Get Pro'"}))},v=n(485),y=(n(1917),function(e){var t=e.credit,n=Object(p.useLingua)(),o=t.subscriptionCreditLimit-t.availableSubscriptionCredits;return d.a.createElement("span",{className:"overCreditBlockerModal__counter","aria-label":n.tp("[[nUsed]] of %d credit used","[[nUsed]] of %d credits used",t.subscriptionCreditLimit,{nUsed:Number(o)})},Number(o),"/",Number(t.subscriptionCreditLimit))}),b=function(e){var t=e.headingContent,n=e.credit,o=e.stickerImageUrl,i=e.children,a=e.closeButtonLabel,l=e.onCloseButtonClick,s=e.creditResource;return d.a.createElement("div",{className:"overCreditBlockerModal theme-light"},d.a.createElement(v.a,{beforeHeadingContent:d.a.createElement(h.a,null),headingContent:t,buttonContent:d.a.createElement(d.a.Fragment,null,d.a.createElement(C,{creditResource:s}),d.a.createElement("button",{className:"mui-btn mui-btn-outline sc-button-tertiary",onClick:function(){l(),Object(m.b)(s,m.a.Cancel)}},a)),iconContent:d.a.createElement("div",{className:"overCreditBlockerModal__sticker"},d.a.createElement("img",{src:o,alt:"",className:"overCreditBlockerModal__iconImage"}),d.a.createElement(y,{credit:n}))},i))},x=n(1),w=n.n(x),k=((o={})[l.CreditResource.getHeard]=function(e){var t=e.credit,o=e.closeModal;return d.a.createElement(b,{headingContent:d.a.createElement(p.Lingua,{t:"You've already had %d track recommended this month",tp:"You've already had %d tracks recommended this month",count:t.subscriptionCreditLimit,comment:"The user has submitted %d tracks to our recommendation engine"}),credit:t,stickerImageUrl:n(1919),closeButtonLabel:d.a.createElement(p.Lingua,{t:"Close",comment:"This is a button to close a modal"}),onCloseButtonClick:o,creditResource:l.CreditResource.getHeard},d.a.createElement(p.Lingua,{t:"You've hit your limit. For unlimited recommended tracks upgrade to .",values:{PlanName:function(){return Object(A.getProductNameInstance)().getNameVariants(g.ProductId.CREATOR_SUBSCRIPTION_3).short}}})," ",d.a.createElement(p.Lingua,{t:"You can opt-in to have your tracks recommended within %d day of uploading.",tp:"You can opt-in to have your tracks recommended within %d days of uploading.",count:14}))},o[l.CreditResource.fileReplace]=function(e){var t=e.credit,o=e.closeModal;return d.a.createElement(b,{headingContent:d.a.createElement(p.Lingua,{t:"You've already replaced %d track this month",tp:"You've already replaced %d tracks this month",count:t.subscriptionCreditLimit,comment:"The user has already replaced the audio file of a track %d times this month"}),credit:t,stickerImageUrl:n(1920),closeButtonLabel:d.a.createElement(p.Lingua,{t:"I'll wait",comment:"This is a button label for the user to dismiss the upsell modal and wait until next month to use a specific feature"}),onCloseButtonClick:o,creditResource:l.CreditResource.fileReplace},d.a.createElement(p.Lingua,{t:"You can wait until next month to replace more tracks, or upgrade to for unlimited access.",values:{PlanName:function(){return Object(A.getProductNameInstance)().getNameVariants(g.ProductId.CREATOR_SUBSCRIPTION_3).short}}}))},o),B={feature:"limited_promoted_tracks",subscriptionCreditLimit:2,availableSubscriptionCredits:0,availableAdditionalCredits:0,availableTotalCredits:0},S=a.a.extend({defaults:{creditResource:null,closeModal:w.a.noop},setup:function(){this.model=new l.default({}),this.requiredAttributes=[this.options.creditResource]},template:function(){var e=new URLSearchParams(window.location.search).has("force_over_cap_modal"),t=this.options,n=t.creditResource,o=t.closeModal,i=e?B:this.model.get(n),a=k[n];return a?Object(s.reactSubview)(a,{credit:i,closeModal:o}):""}}),T=c.a.extend({defaults:{closeModal:w.a.noop,creditResource:null,filter:"darken",width:688,theme:"light",Subview:S,subviewArgs:function(){return{creditResource:this.creditResource,closeModal:this.closeModal}},AllowedStackingOverlaySubviews:[n(474)]}});t.default=T},function(e,t,n){"use strict";n.r(t),n.d(t,"UploadMaintenanceModalContent",(function(){return m}));var o=n(39),i=n.n(o),a=n(8),l=n.n(a),s=n(18),r=n(0),c=n.n(r),u=n(16),d=n(485),p=(n(1647),function(e){var t=e.closeModal,o=e.type;return c.a.createElement(d.a,{headingContent:"upload"===o?c.a.createElement(u.Lingua,{t:"BRB! Uploads are taking a breather.",values:{LineBreak:"br"},comment:"BRB = Be right back"}):c.a.createElement(u.Lingua,{t:"BRB! Mastering is taking a breather.",values:{LineBreak:"br"},comment:"BRB = Be right back"}),buttonContent:c.a.createElement("button",{className:"sc-button sc-button-large sc-button-primary",onClick:function(){t()}},c.a.createElement(u.Lingua,{t:"Got it!",comment:"User confirms they understand that a feature is currently unavailable"})),iconContent:c.a.createElement("img",{className:"uploadMaintenanceBlockerModal__image",src:n(1649),alt:""})},"upload"===o?c.a.createElement(u.Lingua,{t:"Uploads are temporarily unavailable while we sort a few things out. We’ll have it back up and running soon. Thanks for your patience! 🚀"}):c.a.createElement(u.Lingua,{t:"Mastering is temporarily unavailable while we sort a few things out. We’ll have it back up and running soon. Thanks for your patience! 🚀"}))}),m=l.a.extend({defaults:{closeModal:function(){},type:"upload"},template:function(){return Object(s.reactSubview)(p,{closeModal:this.options.closeModal,type:this.options.type})}}),h=i.a.extend({defaults:{closeModal:function(){},type:"upload",filter:"darken",width:800,Subview:m,subviewArgs:function(){return{closeModal:this.closeModal,type:this.type}}}});t.default=h},,,,,,,,,function(e,t,n){(function(t){e.exports=n(8).extend({relativeOffsetTop:null,absoluteOffsetTop:null,viewportHeight:null,maxViewportHeight:null,pageHeight:null,sidebarHeight:null,fixedClassName:"l-fixed",scrolling:!1,isFixed:!1,isInserted:!1,scrollOffsetTop:0,_raf:null,defaults:{targetOffsetTop:70},setup:function(){var e=this;n(1).bindAll(this,"onInitializeSizes","onScrollHandler","update"),this.storeHeight=n(1).throttle(this.storeHeight.bind(this),1e3),this.onResizeHandler=n(1).debounce(this.onResizeHandler.bind(this),200),t(window).on("scroll",this.onScrollHandler).on("resize",this.onResizeHandler),this.listenTo(n(11),"bannerManager:renderBanner",this.onInitializeSizes),this.whenInserted().done((function(){e.isInserted=!0,e.onInitializeSizes()})),this.$el.addClass("sc-clearfix sc-browsers-enable-gpu")},dispose:function(){this.storeHeight.cancel&&this.storeHeight.cancel(),this.onResizeHandler.cancel&&this.onResizeHandler.cancel(),t(window).off("scroll",this.onScrollHandler).off("resize",this.onResizeHandler)},teardown:function(){this._raf&&window.cancelAnimationFrame(this._raf)},onInitializeSizes:function(){this.isInserted&&!this.disposed&&(this.relativeOffsetTop=this.$el.parent().position().top,this.absoluteOffsetTop=this.$el.parent().offset().top,this.viewportHeight=this.getViewportHeight(),this.maxViewportHeight=this.getMaxViewportHeight(),this.update())},onScrollHandler:function(){this.scrolling||(this._raf=window.requestAnimationFrame(this.update)),this.scrolling=!0},onResizeHandler:function(){this.viewportHeight=this.getViewportHeight(),this.maxViewportHeight=this.getMaxViewportHeight(),window.cancelAnimationFrame(this._raf),this._raf=window.requestAnimationFrame(this.update)},update:function(){if(this.isInserted&&!this.disposed){this.storeHeight();var e=window.pageYOffset;if(this.maxViewportHeight>=this.sidebarHeight){var t=this.options.targetOffsetTop,n=e>this.absoluteOffsetTop-t;this.applyFixedStyles(n,t)}else{var o=this.viewportHeight-this.sidebarHeight+(this.absoluteOffsetTop-this.relativeOffsetTop),i=o+e-this.absoluteOffsetTop>=0&&this.pageHeight>this.sidebarHeight+this.absoluteOffsetTop;this.applyFixedStyles(i,o)}this.scrolling=!1}},applyFixedStyles:function(e,t){this.scrollOffsetTop!==t&&(this.$el.css("top",t+"px"),this.scrollOffsetTop=t),this.isFixed!==e&&(this.$el.toggleClass(this.fixedClassName,e),this.isFixed=e)},storeHeight:function(){if(!this.disposed){var e=this.$el.parent();0!==e.length&&(this.relativeOffsetTop=e.position().top,this.absoluteOffsetTop=e.offset().top,this.sidebarHeight=this.$el.height(),this.pageHeight=t(window.document).height())}},getViewportHeight:function(){return t(window).height()-(this.absoluteOffsetTop-this.relativeOffsetTop)},getMaxViewportHeight:function(){return t(window).height()-this.options.targetOffsetTop}})}).call(this,n(25))},,,,,,function(e,t,n){e.exports=n(8).extend({className:"sc-tag",tagName:"a",defaults:{label:null,kind:null,size:null,noFollow:!1},css:n(2485),template:function(){var e,t=(e=this.options.label)&&n(195).isGenreLabel(e)?n(195).getTranslationFromEnglish(e):e;return''+n(14).Utils.escapeExpression(t)+""},setup:function(e){this.options=e,this.$el.attr("href",n(31).getRoute("tags",this.options.label)),this.options.noFollow&&this.$el.attr("noFollow",this.options.noFollow),this.options.size&&this.$el.addClass("sc-tag-"+this.options.size)},events:{click:function(){n(19).trackV1Click({click_name:"tag_link",click_attributes:{source:this.options.kind}})}}})},,,function(e,t,n){e.exports=n(8).extend(n(88).WithStatsig,n(38).withOptions("userBadge"),{template:n(2737),css:n(2738),className:"userBadge",ModelClass:n(43),requiredAttributes:["permalink","username"],events:{"click .userBadge__usernameLink":"onUsernameClick"},states:{verified:"m-verified"},defaults:{noFollow:!1,show_actions:!0,follow_button_primary:!1,display_direction:"horizontal",classicSize:"medium",size:"6x",stretch:!1,avatar_width:null,avatar_height:null,follow_button_size:"small",dark:!1,showVerifiedBadgeOnAvatar:!1},setup:function(e){var t=e.display_direction;this.$el.addClass("m-"+t),this.showVerifiedBadgeOnAvatar||this.requiredAttributes.push("urn")},onUsernameClick:function(){var e=this.getContextData();n(93).trackEvent("userClickThrough",e),n(19).trackClickThrough({context:e})},renderDecorate:function(){var e;this.toggleState("verified",null==(e=this.model.badges)?void 0:e.verified)},getTemplateData:function(e){var t=this.options,o=t.noFollow,i=t.avatar_width,a=t.avatar_height,l=t.dark,s=t.display_direction;e.noFollow=o,e.dark=l,e.isMe=n(6).get("me").id===e.id;var r=i?"width: "+i+"px;":"",c=a?"height: "+a+"px;":"";e.avatarStyles=""+r+c,e.containerOptions={style:{display:"inline-block"}};var u=this.getDynamicConfigValue("paid_supporters","ids",[]);return e.shouldShowDirectSupportButton=u.includes(e.id)&&"vertical"===s,e}})},,,,function(e,t,n){var o;e.exports=n(8).extend(n(88).WithStatsig,{template:n(1914),className:"chooseFiles",events:{"change .chooseFiles__input":function(e){var t=this;if(this.options.onFilesSelected)return this.options.onFilesSelected(e.target.files);n(699).addFiles(e.target.files,n(1).pick(this.options,"toPlaylistUploadId","replaceSoundUploadId","ReplaceSoundUploadClass")),this.options.replaceSoundUploadId&&(n(19).trackV1Click({context:this.getContextData(),click_name:"track-replace::initiate"}),o.once("complete",(function(){n(19).trackV1Click({context:t.getContextData(),click_name:"track-replace::complete",click_attributes:{user_subscription:n(6).get("me").getCreatorSubscriptionIdentifier()}})})));this.disposed||this.getElement("input").val("")},"click .chooseFiles__button":function(){var e=this,t=function(){e.getElement("input").click()};if(n(369).maybeInterceptUploadMaintenanceForView(this))return;this.options.replaceSoundUploadId?n(475).tryPerformCappedAction({creditResource:n(80).CreditResource.fileReplace,credit:this.featureCredits.get(n(80).CreditResource.fileReplace),action:t}).then((function(t){t.didPerformAction&&n(378).trackReplaceFile({trackUrn:n(30).generate("track",e.options.replaceSoundUploadId),buttonId:"Edit Track Modal"})})):t()}},element2selector:{input:".chooseFiles__input",button:".chooseFiles__button"},states:{disabled:function(e){this.getElement("button").attr("disabled",e)}},observedAttributes:["quota","primary_email_confirmed"],defaults:{callToAction:!0,size:"medium",allowMultiple:!0,minWidth:null,text:n(2).Lingua.t("Choose a file to upload"),toPlaylistUploadId:null,replaceSoundUploadId:null,ReplaceSoundUploadClass:null,onFilesSelected:null,showIcon:!1,openOnSetup:!1},setup:function(){var e=this;this.model=n(6).get("me"),this.model.hold(),this.featureCredits=this.addDataSource(new(n(80).default)({}),{requiredAttributes:[n(80).CreditResource.fileReplace]}),o||(o=new(n(232))),this.whenInserted().done((function(){e.options.openOnSetup&&e.getElement("input").click()}))},getTemplateData:function(e){return e.buttonStyle=new(n(14).SafeString)('style="min-width: '+e._options.minWidth+'px"'),e.allowMultiple=this.options.allowMultiple&&!this.options.replaceSoundUploadId,e.hasMinWidth=n(1).isNumber(this.options.minWidth),e.uploadIcon=this.options.showIcon&&n(13).Upload,e},renderDecorate:function(){this.syncUploadState()},syncUploadState:function(){var e=this.model,t=this.getElement("button"),n=this.options,o=n.size;n.replaceSoundUploadId&&t.addClass("sc-button-upload sc-button-"+o),this.toggleState("disabled",!e.isUploadingEnabled())}})},function(e,t,n){e.exports=n(39).extend({defaults:{width:650,warnBeforeClosing:!0,stayOpenOnNavigate:!0,Subview:n(701),confirmCloseMessage:n(2).Lingua.t("Your message has not been sent.\n\nAre you sure you want to leave this page?")},events:{'click a[href^="/"]':"onLinksClick"},setup:function(){n(39).prototype.setup.apply(this,arguments),this.listenTo(n(11),"new-message:sent",this.close)},canBeClosed:function(){var e=this.getContentView();return n(19).trackV0Click(["messages","overlay-clicked"]),!(null==e||!e.form||e.form.get("body").trim())||n(39).prototype.canBeClosed.call(this)},onLinksClick:function(e){e.preventDefault(),e.stopPropagation()}})},,function(e,t,n){(function(t){var o={forward:{animation:"tileGallery-peek-bounce-forward",state:"peekingForward"},backward:{animation:"tileGallery-peek-bounce-backward",state:"peekingBackward"}},i={2:{className:"m-twoPanels",panelsPerSlide:2,unitsPerPanel:100,unitsPerSlide:46,panelBuffer:8},4:{className:"m-fourPanels",panelsPerSlide:4,unitsPerPanel:100,unitsPerSlide:23,panelBuffer:8},5:{className:"m-fivePanels",panelsPerSlide:5,unitsPerPanel:100,unitsPerSlide:18.4,panelBuffer:8},6:{className:"m-sixPanels",panelsPerSlide:6,unitsPerPanel:100,unitsPerSlide:92/6,panelBuffer:8}};e.exports=new(n(23))({requires:["setupTileModels","getTileViewForModel"],merge:{defaults:{panelsPerSlide:4},className:"tileGallery",states:{hasItemsForward:"m-hasItemsForward",hasItemsBackward:"m-hasItemsBackward",peekingForward:"m-peekingForward",peekingBackward:"m-peekingBackward",transitions:"m-transitionsEnabled"},events:{"animationend .tileGallery__sliderPeekContainer":function(e){this._currentPeekAnimation=null,this.toggleState("peekingForward",!1),this.toggleState("peekingBackward",!1)},"animationstart .tileGallery__sliderPeekContainer":function(e){this._currentPeekAnimation=e.originalEvent.animationName},"click .tileGallery__sliderPeekForward":function(){var e=this._config.panelsPerSlide;this._panelOffset0&&this.transitionToPanel(Math.max(0,this._panelOffset-this._config.panelsPerSlide))},"mouseenter .tileGallery__sliderPeekBackward":function(){this.runPeekAnimation("backward")}},element2selector:{sliderPanel:".tileGallery__sliderPanel"}},defaults:{template:n(2743),css:n(2744),_panelOffset:0,_currentPeekAnimation:null,_config:null,_lastSliderWidth:null,transitionToPanel:function(e){var t=this;if(!this.isPanelVisible(e,0)){var o=this._config.panelsPerSlide,i=e>this._panelOffset?1:-1,l=Math.abs(e-this._panelOffset),r=o*(1===i?Math.floor:Math.ceil)(l/o),c=this._panelOffset+r*i;this._panelOffset=n(103).clamp(c,0,this._tileModels.length-o),s.call(this),this.synchronizeStates(),a(this,(function(){return t.showPanel(t._panelOffset)}))}},runPeekAnimation:function(e){var t=this,n=o[e];a(this,(function(){t.getState(n.state)&&t._currentPeekAnimation!==n.animation?(t.toggleState(n.state,!1),t.runPeekAnimation(e)):null===t._currentPeekAnimation&&t.toggleState(n.state,!0)}))},synchronizeStates:function(){var e=this._panelOffset,t=this._tileModels.length,n=this._config.panelsPerSlide,o=t>n;this.toggleState("hasItemsForward",o&&t-n>e),this.toggleState("hasItemsBackward",o&&e>0),this.toggleState("transitions",!0)},showPanel:function(e){var t=function(e,t,n){var o=n.panelsPerSlide,i=n.unitsPerSlide,a=n.panelBuffer,l=t-o<=e;return 0===e?0:l?e*i-a:e*i-a/2}(e,this._tileModels.length,this._config),n=this.getElement("sliderPanel"),o=Math.round(t*this._lastSliderWidth*-.01)+"px";n.css({"-webkit-transform":"translate3d("+o+", 0, 0)",transform:"translate3d("+o+", 0, 0)"})},isPanelVisible:function(e,t){void 0===t&&(t=0);var n,o,i,a=e-this._panelOffset;return n=a,o=-t,i=this._config.panelsPerSlide+t,n>=o&&n
").addClass("tileGallery__sliderPanelSlide").attr("data-tile-index",n);o.append(i)})),s.call(this),this.whenInserted().then((function(){e._lastSliderWidth=l.call(e),e.listenTo(n(99),"resize:x:debounced",r)}))},getTemplateData:function(e){e.forwardIcon=n(13).ChevronRight,e.backwardIcon=n(13).ChevronLeft}}});function a(e,t){window.requestAnimationFrame(function(e,t){return function(){e.disposed||t()}}(e,t))}function l(){return this.getElement("sliderPanel").outerWidth()}function s(){var e=this;this._tileModels.forEach((function(t,n){var o="tile_"+n;if(e.isPanelVisible(n,1)&&!e.subviews[o]){var i=e.addSubview(e.getTileViewForModel(t,n).render(),o);e.$("[data-tile-index="+n+"]").append(i.$el)}}))}function r(){var e=this,t=l.call(this);t!==this._lastSliderWidth&&(this._lastSliderWidth=t,a(this,(function(){e.toggleState("transitions",!1),e.showPanel(e._panelOffset)})))}}).call(this,n(25))},,,function(e,t,n){var o=n(12),i=n(1578);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},function(e,t,n){e.exports=n(8).extend(n(298),{template:n(1580),css:n(1582),className:"blockUser",ModelClass:n(43),requiredAttributes:["username"],onSubmit:function(e){var t=this,o=e.report.checked;n(50).block(this.model.id,!0,o,e.remove.checked).then((function(){return n(11).trigger("user:blocked",{report:o,userData:t.model.attributes})}))},getTemplateData:function(e){e.reportLabel=n(2).Lingua.t("Also report [[username]] for spam",{username:e.username}),e.removeLabel=n(2).Lingua.t("Also permanently remove this user's comments, reposts and likes of your tracks and playlists")}})},,,,,function(e,t,n){e.exports=n(8).extend({className:"waveformWrapper",css:n(2511),template:n(2513),_currentSoundId:null,defaults:n(1).clone(n(320).prototype.defaults),states:{empty:"m-empty"},element2selector:{waveform:".waveformWrapper__waveform"},setup:function(e){var t=e.resource_type,o=e.resource_id;switch(t){case"playlist":this.source=this.addDataSource(new(n(65))({resource_id:o}),{requiredAttributes:["tracks"]}),this.listenTo(this.source,"play",l);break;case"sound":this.source=this.addDataSource(new(n(27))({resource_id:o}));break;case"system-playlist":this.source=this.addDataSource(new(n(112))({resource_id:o})),this.listenTo(this.source,"play",l)}},shouldViewRerender:function(){return"playlist"!==this.options.resource_type||(e=this.source,t=this._currentSoundId,!(n=e.getCurrentSound())||n.id!==t);var e,t,n},getTemplateData:function(e){return e["is_"+this.options.resource_type]=!0,e},renderDecorate:function(){o.call(this)}});function o(){var e=this.source.getCurrentSound(),t=this.subviews.waveform;this.toggleState("empty",!e),!e||t&&e.id===this._currentSoundId||(i.call(this,e),this._currentSoundId=e.id)}function i(e){var t=n(1).defaults({resource_id:e.resource_id,resource_type:"sound"},n(1).pick(this.options,Object.keys(n(320).prototype.defaults)));a.call(this,n(320),t,"waveform",this.getElement("waveform"))}function a(e,t,n,o){var i=this.subviews[n];i&&(i._dispose(),this.removeSubview(i)),this.addSubview(new e(t),n).render().$el.appendTo(o)}function l(){o.call(this)}},,function(e,t,n){e.exports=n(8).extend({template:n(2555),className:"toggle sc-toggle",tagName:"label",defaults:{label:"",name:"",size:"",iconActive:"",iconInactive:"",checked:!1},element2selector:{input:".sc-toggle-input"},states:{on:"sc-toggle-active sc-toggle-on",off:"sc-toggle-off"},events:{"change .sc-toggle-input":"onInputChange"},setup:function(e){this.switchToggle(e.checked),e.size&&this.$el.addClass("sc-toggle-"+e.size)},getTemplateData:function(e){return e.showIcon=this.options.size&&this.options.iconActive&&this.options.iconInactive,e.checked=this.getState("on"),e},switchToggle:function(e){this.toggleState("on",e),this.toggleState("off",!this.getState("on"))},getChecked:function(){return this.getElement("input").prop("checked")},setChecked:function(e){this.getElement("input").prop("checked",!!e),this.switchToggle(e)},onInputChange:function(e){var t=this,n=e.target.checked,i=this.options.name;this.switchToggle(n),this.addDeferred(setTimeout((function(){t.bubble("checkbox:change",{name:i,checked:n}),i&&t.bubble("checkbox:change:"+i,{name:i,checked:n})}),o))}});var o=200},,function(e,t,n){e.exports=n(8).extend(n(126),n(983).withOptions([{id:"masteringOnboarding",displayCondition:function(){return this.options.showCallout&&this.model.isEligibleForMastering()}}]),{tagName:"button",className:"masteringButton sc-button sc-button-responsive sc-button-mastering sc-button-medium sc-button-secondary",ModelClass:n(27),defaults:{primary:!1,dialogType:"genericDialog",overlayType:"dialog",showCallout:!0,impressionId:null,clickId:null,ref:null},requiredAttributes:["mastering_eligibility"],events:{click:function(){if(this.model.isEligibleForMastering()){var e=this.options.clickId;e&&n(46).trackEvent({category:n(46).EventCategory.mastering,action:n(46).EventAction.click,label:e}),n(6).get("router").navigateToRoute("mastering",[this.model.get("id"),{query:{ref:this.options.ref}}],{trigger:!0})}}},shouldOpenDialog:function(){return!this.model.isEligibleForMastering()},dialogArgs:function(){return{Subview:n(2598),width:"360",subviewArgs:{headline:n(2).Lingua.tPending("Track is not eligible for Mastering."),text:o.call(this)}}},setup:function(e){var t=e.impressionId;t&&this.whenVisible().then((function(){n(46).trackEvent({category:n(46).EventCategory.mastering,action:n(46).EventAction.impression,label:t})}))},renderDecorate:function(){var e=this.options.primary,t=this.model.isEligibleForMastering();this.$el.addClass((e?"sc-button-cta sc-button-primary":"")+" "+(t?"":"sc-button-disabled")),this.$el.removeClass(e?"sc-button-secondary":"")},template:function(){var e=n(2).Lingua.t("Master track");return"\n "+n(18).reactSubview(n(13).Mastering)+'\n \n '+e+"\n \n "}});function o(){var e=this.model.get("mastering_eligibility");switch(null==e?void 0:e.reason){case"DURATION_IS_TOO_LONG":return n(2).Lingua.tPending("This track can't be mastered because it's longer than 10 minutes.");case"UNSUPPORTED_CONTAINER":return n(2).Lingua.tPending("Audio format of this track is not supported by mastering. Re-upload a [[[linkStart]]]supported file type[[[linkEnd]]]. For best results, we recommend lossless files: FLAC, WAV, ALAC or AIFF.",{linkStart:'',linkEnd:""});case"NO_UPLOAD_FOUND":return n(2).Lingua.tPending("No upload found for this track.");case"TRACK_IS_NOT_UGC":return n(2).Lingua.tPending("This track can't be mastered because it wasn't manually uploaded to your profile.");case"TRACK_IS_ALREADY_MASTERED":return n(2).Lingua.tPending("This track can't be mastered since it is mastered already.");case"UNSUPPORTED_CODEC":return n(2).Lingua.tPending("This track can't be mastered because it has an unsupported codec.");default:return n(2).Lingua.tPending("This track is not eligible for mastering.")}}},,,,function(e,t,n){function o(){return(o=Object.assign||function(e){for(var t=1;t=10?a.call(this):(o.call(this).is(":visible")?(this._visibleCounter++,this._visibleCounter>=2&&!this._impressionTracked?(this.trackImpression(),l.call(this)):s.call(this)):s.call(this),this._retryCounter++)}function a(){window.clearTimeout(this._impressionTimeout),this._impressionTimeout=null}function l(){a.call(this),this._impressionTracked=!0,this._retryCounter=0,this._visibleCounter=0}function s(){this._impressionTimeout=this.addDeferred(window.setTimeout(i.bind(this),2e3))}},,,,function(e,t,n){n(186),n(162),n(128),e.exports=n(8).extend({css:n(1736),className:"uploadAudibleAttributeIcons",defaults:{Form:null},setup:function(e){var t=e.Form,n=e.resource_id,o=e.resource_type;this.model=this.addDataSource(new t({},{resource_id:n,resource_type:o}),{observedAttributes:["sharing","geoblocking","monetizationEnabled","scheduledPublic"]})},template:function(){var e=this.model.toJSON();return[e.monetizationEnabled&&"monetizable",e.geoblocking&&"geoblocked",e.scheduledPublic&&"scheduled","private"===e.sharing&&"private"].filter(Boolean).map((function(e){return n(18).subview(n(401),{type:e,dialogEnabled:!1,iconOnly:!0})})).join("")}})},,,,function(e,t,n){(function(t){e.exports=new(n(23))({_sortingEnabled:!1,_shouldEnableSorting:!1,_onDragOver:null,_stepAnimation:null,_debouncedReinitializeSorting:null,_sortableScrollParent:null,_sortableOffset:null,requires:["editableObject","listSelector","listItemSelector"],defaults:{onAddItem:n(1).noop,onRemoveItem:n(1).noop,onSortingUpdate:n(1).noop},applyTo:function(e){e.element2selector=n(1).assign({},{list:e.listSelector,"list-items":e.listItemSelector},e.element2selector),e._debouncedReinitializeSorting=n(1).debounce(e.reinitializeSorting,50)},after:{setup:function(){this.onSortUpdate=this.onSortUpdate.bind(this)},onAdd:function(){this._shouldBeSorting()&&this.reinitializeSorting(),this.onAddItem()},onRemove:function(){this.disposed||(this._shouldBeSorting()&&this.reinitializeSorting(),this.onRemoveItem())},onCollectionReset:function(){this.saveResetOrder()},addSubview:function(){this._shouldBeSorting()&&this._debouncedReinitializeSorting()},removeSubview:function(){this._shouldBeSorting()&&this._debouncedReinitializeSorting()}},enableSorting:function(){var e=this;if(this.resetElementCache(),this.getElement("list-items").length){this._sortingEnabled&&this.disableSorting();var t={forcePlaceholderSize:!0};this.dragHandleSelector&&(t.handle=this.dragHandleSelector),this.saveResetOrder(),this.getElement("list").sortable(t).sortable("enable").on("sortupdate",this.onSortUpdate),this.getElement("list-items").on("dragstart",r.bind(this)).on("dragend",u.bind(this)),this._sortingEnabled=!0,this._onDragOver=this._onDragOver||d.bind(this),this._stepAnimation=this._stepAnimation||p.bind(this),this.whenInserted().done((function(){e._sortableScrollParent=n(410).findScrollableContainer(e.$el)}))}else this._shouldEnableSorting=!0},disableSorting:function(){this.getElement("list").sortable("destroy").off("sortupdate"),this._sortingEnabled=!1,this._shouldEnableSorting=!1},reinitializeSorting:function(){this.resetElementCache(),this.disableSorting(),this.enableSorting()},onSortUpdate:function(e,t){var o=t.item.index(),i=t.item.data("order"),a=n(176).shiftItem(this.getResetOrder(),i,o);this.resetElementCache(),this.editableObject.reorder(a,{dragging:{from:i,to:o}}),this.saveResetOrder(),this.onSortingUpdate.apply(this,arguments)},resetOrder:function(){return this.addDeferred(this.editableObject.resetOrder())},saveOrder:function(){return this.addDeferred(this.editableObject.saveOrder().done(this.saveResetOrder.bind(this)).fail(this.resetOrder.bind(this)))},saveResetOrder:function(){this.disposed||(this.getElement("list-items").each((function(e){t(this).data("order",e)})),this.editableObject.saveResetOrder())},getResetOrder:function(){return this.editableObject.getResetOrder()},_shouldBeSorting:function(){return this._sortingEnabled||this._shouldEnableSorting}});var o=t(window.document),i=t(window),a=null,l=0,s=0;function r(){c.call(this,"on"),this._sortableOffset=this._sortableScrollParent.offset()}function c(e){o[e]("dragover",this._onDragOver)}function u(){s=0,c.call(this,"off")}function d(e){var t,n,a=e.originalEvent.pageY,l=(n=(t=this)._sortableScrollParent)[0]!==o[0]&&"HTML"!==n[0].tagName?h(t._sortableOffset.top,n[0].offsetHeight):h(o.scrollTop(),i.height()),r=l.top,c=l.bottom;s=.5*(Math.min(0,a-r-100)||Math.max(0,a-c+100)),m(this._stepAnimation)}function p(){if(a=null,this.disposed)l=s=0;else{var e=this._sortableScrollParent;l=l+.15*(s-l)|0,e.scrollTop(e.scrollTop()+l),m(this._stepAnimation)}}function m(e){!s&&!l||a||(a=window.requestAnimationFrame(e))}function h(e,t){return{top:e,bottom:e+t}}}).call(this,n(25))},,,,function(e,t,n){e.exports=n(8).extend(n(298),{template:n(1965),css:n(2e3),className:"newMessageForm sc-clearfix",tagName:"div",defaults:{maxRecipients:1,formId:null,showSuccessMessage:!0,attachments:null,showTitle:!0,showRecipientField:!0,share_type:null,defaultMessage:null},form:null,ModelClass:n(43),setup:function(e){e.formId&&(this.formId=e.formId),this.form=new(n(303))({id:this.formId}),e.attachments&&o.call(this,e.attachments),e.defaultMessage&&this.form.set("body",e.defaultMessage),this.listenTo(this.form,"change:recipients",i)},dispose:function(){this.form.release()},renderDecorate:function(){this.model&&this.form.addRecipient(this.model),this.whenInserted().done(i.bind(this))}});function o(e){e.forEach((function(e){this.form.addAttachment(e,this.options.share_type)}),this)}function i(){var e=this.subviews;!this.options.showRecipientField||this.form.getRecipientIds().length>=this.options.maxRecipients?a.call(this,e.compose):a.call(this,e.recipients)}function a(e){e&&this.addDeferred(window.setTimeout((function(){e.focus()}),400))}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u}));var o=n(0),i=n.n(o),a=n(16),l=n(282),s=(n(288),n(50)),r=n.n(s),c="webi-right-hand-rail";function u(e){var t=e.urn,n=e.initialHeight,o=Object(a.useLingua)(),s=[{event:"follow",source:r.a}];return i.a.createElement(l.WebiEmbeddedModule,{options:{id:c,initialPath:"/embeds/right-hand-rail/"+t,initialHeight:n,title:o.t("Sidebar modules"),refreshSubscriptions:s}})}},function(e,t,n){e.exports=n(8).extend(n(145),{template:n(2556),css:n(2557),className:"socialButtonsPanel",defaults:{share_type:null,maxButtonsToShow:null,buttons:n(887).defaultButtons},setup:function(){this.buttons=n(1).clone(this.options.buttons)},getTemplateData:function(e){var t=this.options.maxButtonsToShow,o=this.buttons[n(629).isUsedLanguage("zh")?"china":n(629).isUsedLanguage("ru")||n(629).isUsedLanguage("uk")?"russia":"global"].map((function(t){return{button:t,resource_id:e._resource_id,resource_type:e._resource_type,share_type:e._options.share_type}}));return e.buttons=t?n(1).first(o,t):o,e}})},,function(e,t,n){e.exports=n(8).extend({template:n(2604),css:n(580),className:"reportCopyright",ModelClass:n(27),requiredAttributes:["permalink","user"],defaults:{standalone:!0},getTemplateData:function(e){e.reportCopyrightUrl=n(31).getRoute("reportCopyright",this.model),e.ownsTrack=n(6).get("me").owns(this.model)}})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var o=n(12),i=n(1589);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},,,,,,,,,,,function(e,t,n){e.exports=n(39).extend(n(145),{defaults:{width:550},bubbleEvents:{"image-content:cancel":"close","image-content:save":"close"},setup:function(){n(39).prototype.setup.apply(this,arguments),this.listenTo(this,n(39).Events.CLOSED,o)}});function o(){this.model.hasNewImage()&&this.model.unsetImageFile({force:!0})}},,function(e,t,n){e.exports=new(n(23))({defaults:{states:{newItems:"newItems__new",someItems:"newItems__some"},observedAttributes:["size"]},override:{defaults:{type:null}},before:{setup:function(e){var t=e.type;"messages"===t?(this.unreadConversations=new(n(1637)),this.unreadConversations.startPolling(),this.listenTo(this.unreadConversations,"anyUnreadMessages",o)):(this.model=new(n(809))({type:t}),i.call(this))},renderDecorate:function(){"messages"===this.options.type?o.call(this,this.unreadConversations.hasAnyUnreadMessages()):i.call(this)}},around:{getTemplateData:function(e,t){var o=e(t)||t,i=n(200)[this.options.type];return i&&(o.itemName=i.get("itemName"),o.itemNamePlural=i.get("itemNamePlural")),o.isStream="stream"===this.options.type,o}}});function o(e){this.toggleState("someItems",e)}function i(){var e=this.model.get("size");this.toggleState("newItems",e&&"number"==typeof e),this.toggleState("someItems",!!e)}},,,,,,,,function(e,t,n){e.exports=new(n(23))({after:{setup:function(){o.call(this,"on")},dispose:function(){o.call(this,"off")},renderDecorate:function(){this._tabs.forEach((function(e,t){e.isRendered||this.renderTab(t)}),this)}},defaults:{onFormValidation:function(){this.getTabInvalidity().forEach(this.toggleError,this)}},toggleError:function(e,t){this.getElement("tabItems").eq(t).toggleClass("error",e)},getFormControls:function(){return this._tabs.map((function(e){var t=e.subviewInstance;return t?t.getAncestorSubviews().filter(i):null}))},getTabInvalidity:function(){return this.getFormControls().map((function(e){return!!e&&e.some(a)}))}});function o(e){this.model[e]("validation",this.onFormValidation,this)}function i(e){return e.isFormControl}function a(e){return e&&e.isInvalid()}},,,,,,,function(e,t,n){var o=n(12),i=n(1797);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},function(e,t,n){var o=n(12),i=n(1798);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},function(e,t,n){var o=n(12),i=n(1799);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},,,,,function(e,t,n){e.exports=n(8).extend({className:"sc-label sc-label-blue sc-label-link-color",ModelClass:n(27),states:{hidden:"sc-hidden"},defaults:{size:"medium"},observedAttributes:["upload"],setup:function(){this.$el.addClass("sc-label-"+this.options.size)},template:function(){return n(18).subview(n(1923),{text:"HD",tooltipText:n(2).Lingua.t("This file was uploaded in a lossless HD format.")})},renderDecorate:function(){var e;n(277).isHQ(null==(e=this.model.get("upload"))?void 0:e.codec)||this.toggleState("hidden")}})},function(e,t,n){e.exports=n(8).extend(n(512).withOptions({automatic:!1}),{template:n(1924),css:[n(1929),n(843)],className:"uploadStatus editStatus",ModelClass:n(606),observedAttributes:["status","hasBeenSaved"],slideInnerSelector:".uploadStatus__inner",defaults:{showText:!0,showProgress:!0,size:"large",cancelText:n(2).Lingua.t("Cancel upload"),showCancelButton:!1},events:{"click .uploadStatus__cancel":"onCancelClick"},setup:function(e){a.call(this)&&this.listenTo(this.model.getUploadsCollection(),"add remove",l),this.listenTo(this.model,"destroy",o),this.$el.addClass(e.size)},onModelChange:function(e){e.get("status")===n(75).COMPLETE&&e.get("hasBeenSaved")||n(8).prototype.onModelChange.apply(this,arguments)},onCancelClick:function(){this.model.remove()},getTemplateData:function(e){var t=this.model,o=this.options,a=i.call(this),l=!1;return Object.keys(n(75)).reduce((function(e,t){var o=e.status===n(75)[t];return e["is_"+t.toLowerCase()]=o,"idle"!==t.toLowerCase()&&(l=l||o),e}),e),e.showInfo=o.showCancelButton||o.showText,e.showProgress=o.showProgress&&a,e.hasVisibleContent=l||o.showCancelButton||e.showProgress,e.isSingle=a,e.completeButNotSaved=e.is_complete&&!e.hasBeenSaved,e.numSounds=!a&&t.getUploads().length,e.uploadFailedIcon=n(13).Error,e.uploadFailedIconOptions={style:{display:"inline-block",width:"16px",height:"16px","vertical-align":"top","margin-right":n(102).Themes.DEFAULT_THEME_EXPANDED.spacing["1x"].css}},e.fileName=a&&n(157).truncateFileName(t.getFileName(),50),e}});function o(){this.slideUp()}function i(){return"single-audio-upload"===this.options.resource_type}function a(){return"aggregate-audio-upload"===this.options.resource_type}function l(e,t){t.length&&this.rerender()}},,function(e,t,n){e.exports=n(8).extend({className:"progressBar",template:n(1926),css:n(1927),ModelClass:n(606),defaults:{color:"orange",type:null},element2selector:{inner:".progressBar__inner"},states:{indeterminate:function(e){var t=this.getElement("inner");t.toggleClass("sc-pending",e),this.addDeferred(n(1).defer(t.toggleClass.bind(t,"g-transition-transform-linear",!e))),this.$el.toggleClass("indeterminate",e)}},setup:function(e){var t=i.call(this);this.listenTo(t,"data",this.onData).listenTo(t,"change:indeterminate",a),this.$el.addClass(e.color)},renderDecorate:function(){a.call(this)},onData:o});function o(){var e="scaleX("+i.call(this).getProgress()+")";this.getElement("inner").css({"-webkit-transform":e,"-moz-transform":e,"-o-transform":e,transform:e})}function i(){return this.model.get(this.options.type)}function a(){var e=i.call(this).isIndeterminate();e||o.call(this),this.toggleState("indeterminate",e)}},,,function(e,t,n){var o=n(12),i=n(1967);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},function(e,t,n){e.exports=n(72).extend(n(373),{className:"suggestedUsers sc-list-nostyle",css:n(1968),Subview:n(1970),defaults:{query:"",maxDisplay:10},itemClassName:"suggestedUsers__listItem sc-type-light sc-text-secondary sc-px-2x sc-py-1x",itemSelector:".suggestedUsers__listItem",setup:function(e){var t=e.query;this.collection=new(n(609))(null,{query:t})},renderDecorate:function(){n(72).prototype.renderDecorate.call(this),this.highlightItem(this.options.defaultSelectedItemIndex)},onItemSelected:function(e){return this.collection.at(e)}})},,,,,,,,,,,,,,,,,,,,function(e,t,n){var o;e.exports=n(8).extend(n(88).WithStatsig,n(512).withOptions({automatic:!1}),n(197),n(38).withOptions("playControlsPanel"),n(377).withOptions({elName:"skip",dim:!1}),{className:"playControlsPanel sc-font-body sc-background-darkgrey",css:n(2404),template:n(2406),events:{"click .playControlsPanel__whyAds":function(e){e.preventDefault();var t,o=n(82).isCountryEU(),i=n(51).getDsaConfig(),a=o&&i,l=n(51).getCurrentAdSound();null!=l&&l.isPlaying()&&(l.pause(),t=function(){return l.play()});if(!this._whyAdsModal||a)if(a){var s=n(51).getCurrentAdAdvertiser();this._whyAdsModal=new(n(2842).WhyAdsDsaModal)({togglerEl:e.target,onClose:t,subviewArgs:{advertiser:s,dsaConfig:i}})}else this._whyAdsModal=new(n(2422))({togglerEl:e.target,onClose:t});this._whyAdsModal.open(),(this._currentAdVisualController||this._currentAudioAdController).processWhyAdsClick({context:this.getContextData(),contextName:this.contextName})},"click .playControlsPanel__skipButton":function(){return n(51).requestSkipCurrentAd({context:this.getContextData(),contextName:this.contextName})},"click .playControlsPanel__dismissButton":function(){var e=this;n(116).isCrossfadeFeatureFlagEnabled()?n(51).dismissLeaveBehind():n(51).dismissLeaveBehind().done((function(){c.call(e)}))}},bubbleEvents:{"ad_visual:load_success":function(){var e=this._currentAdVisualController;this.toggleState("loaded",!0),l.call(this)&&e.processImpression({context:this.getContextData(),contextName:this.contextName})},"ad_visual:load_failure":function(){var e=this._currentAdVisualController;l.call(this)&&(e.processError({context:this.getContextData(),contextName:this.contextName}),e.getPlacement()===n(91).AudioAdVisualPlacements.companion&&(this.toggleState("adVisualError",!0),this.rerender()))},"ad_visual:click":function(e){var t,n=null==e||null==(t=e.data)?void 0:t.event;this._currentAdVisualController.processClickthrough({context:this.getContextData(),contextName:this.contextName}),u.call(this)&&(null!=n&&n.preventDefault&&n.preventDefault(),d.call(this))}},element2selector:(o={panelInner:".playControlsPanel__inner",adVisualContainer:".playControlsPanel__body"},o.skip=".playControlsPanel__skipButton",o.whyAds=".playControlsPanel__whyAds",o.dismissButton=".playControlsPanel__dismissButton",o.skipButtonText=".playControlsPanel__skipButtonText",o.skipIcon=".playControlsPanel__skipIcon",o),slideInnerSelector:".playControlsPanel__inner",_whyAdsModal:null,_skipButtonDisabled:null,_skipButtonText:null,_currentAdVisualController:null,_currentAudioAdController:null,_currentAudioAdSound:null,states:{active:"is-active",adVisualError:"ad-visual-error",companionless:"m-companionless",loaded:function(e){this.getElement("adVisualContainer").toggleClass("sc-pending-dark",!e),this.getElement("adVisualContainer").toggleClass("m-loading",!e)}},setup:function(){this.listenTo(n(51),n(85).CHANGE_CURRENT_AD_SOUND,s.bind(this)).listenTo(n(51),n(85).END_AD_BREAK,s.bind(this)).listenTo(n(20),n(190).CHANGE_CURRENT_SOUND,s.bind(this)).listenTo(n(51),n(85).CHANGE_AD_SKIPPABILITY,r.bind(this)),n(116).isCrossfadeFeatureFlagEnabled()&&this.listenTo(n(51),n(85).DISMISS_LEAVE_BEHIND,c.bind(this))},renderDecorate:function(){this._skipButtonDisabled=!1,this._skipButtonText="",i.call(this)},teardown:function(){this._skipButtonDisabled=null,this._skipButtonText=null,this.toggleState("loaded",!1)},dispose:function(){this._whyAdsModal&&(this._whyAdsModal.close(),this._whyAdsModal=null)},hasData:function(){return l.call(this)},getTemplateData:function(e){e.upsellStyling=!!this.getExperimentValue("v2_audio_ads_upsell_styling","enabled",!1),e.skipIcon=n(13).SkipAd,e.iconOptions={style:{display:"inline-block",width:"16px",height:"16px","vertical-align":"top","margin-left":n(102).Themes.DEFAULT_THEME_EXPANDED.spacing["0_5x"].css}},e.whyAdsIcon=new(n(14).SafeString)(n(18).reactSubview(n(13).InfoPlain,{},{style:{width:"13px",height:"13px"}}));var t=n(82).isCountryEU(),o=n(51).getCurrentAdAdvertiser();e.advertiser=t?o:null;var i=n(51).getAdBreakSize(),a=n(51).getCurrentAdIndex();n(51).isAdBreakActive()&&null!==i&&i>=2?(e.showAdSessionProgress=!0,e.adSessionSize=i,e.currentAdIndex=a+1):e.showAdSessionProgress=!1,e.currentAdVisualIsDismissable=!1;var l=this._currentAdVisualController;if(!l||this.getState("adVisualError"))return e.hasAdVisual=!1,this.toggleState("companionless",!0),e;e.hasAdVisual=!0,this.toggleState("companionless",!1);var s=l.adVisual,r=s.getPlacement(),c=s.getFormat(),u=s.getContent(),d=s.getLandingPage(),p=s.getContentSize(),m=p.width,h=p.height;return e.currentAdVisualPlacement=r,e.currentAdVisualIsHtml=c===n(91).AudioAdVisualFormats.html,e.currentAdVisualIsDismissable=r===n(91).AudioAdVisualPlacements.leaveBehind,e.adVisualHasLanding=!!d,e.adVisualLandingPage=d,e.adVisualImgSrc=e.currentAdVisualIsHtml?void 0:u,e.adVisualHtmlSrcdoc=e.currentAdVisualIsHtml?u:void 0,e.adVisualHtmlWidth=e.currentAdVisualIsHtml?m:void 0,e.adVisualHtmlHeight=e.currentAdVisualIsHtml?h:void 0,e}});function i(){var e,t,o=this._currentAudioAdController;if(!o)return this._skipButtonDisabled=!0,void(this._skipButtonText="");n(51).isAllowedToSkipCurrentAd()?(e=!1,t=n(2).Lingua.t("Skip")):(e=!0,t=function(e){var t=n(7).LinguaLib.dateTimeHelper.timecode(e.getMsUntilCanSkip(),{style:n(7).LinguaLib.dateTimeHelper.RelativeTimeFormatStyle.Short});return e.isSkipTimerEntireDuration()?t:n(2).Lingua.t("Skip in [[skipText]]",{skipText:t})}(o)),this._skipButtonDisabled!==e&&(this._skipButtonDisabled=e,this.getElement("skip").toggleClass("m-disabled",e),this.getElement("skipIcon").toggleClass("not-skippable",e)),this._skipButtonText&&this._skipButtonText.toString()===t.toString()||(this._skipButtonText=t,this.getElement("skipButtonText").text(t))}function a(){this._currentAudioAdController=n(51).getCurrentAdController(),this._currentAdVisualController=n(51).getCurrentAdVisualController(),this._currentAudioAdController&&this._currentAudioAdSound!==this._currentAudioAdController.audioAd.sound&&(this._currentAudioAdSound=this._currentAudioAdController.audioAd.sound,this.listenTo(this._currentAudioAdSound,"time",i.bind(this))),!this._currentAudioAdController&&this._currentAudioAdSound&&(this.stopListening(this._currentAudioAdSound),this._currentAudioAdSound=null)}function l(){return!!this._currentAudioAdController||!!this._currentAdVisualController}function s(){a.call(this),this.toggleState("active",l.call(this)),this.toggleState("adVisualError",!1),this.rerender()}function r(){i.call(this)}function c(){a.call(this),this.toggleState("active",l.call(this)),this.rerender()}function u(){var e=this._currentAdVisualController.getAdVisualModel().getLandingPage();return n(161).soundcloudUrlRegex.test(e||"")}function d(){var e=this,t=this._currentAdVisualController.getAdVisualModel().getLandingPage();n(51).setCanSkipImmediately(!0),n(161).getAudibleModels([t]).then((function(t){var o=t[0];if(o){var i=o.audible,a=o.link;if(i&&"sound"===i.resource_type)return n(51).requestSkipAdBreak().done((function(){n(6).get("router").navigate(n(32).parse(a).path,{trigger:!0}),e.playAudible(i,{allowAdBreak:!1})}))}}))}},,,function(e,t,n){e.exports=n(8).extend(n(88).WithStatsig,{template:n(2471),css:n(2541),className:"deleteTrackModal",ModelClass:n(27),defaults:{close:n(1).noop},events:{"click .deleteTrackModal__cancel":function(){this.options.close()},"click .deleteTrackModal__delete":function(){n(50).destroy(this.model),this.options.close()}},getTemplateData:function(e){var t=n(6).get("me");e.learnMoreButtonText=n(2).Lingua.t("Learn more"),e.replaceTrackButtonText=n(2).Lingua.t("Replace File"),e.isFree=t.isFree(),e.planName=n(36).getProductNameInstance().getNameVariants(n(26).ProductId.CREATOR_SUBSCRIPTION_3).short;var o=e.isFree&&this.getExperimentValue("deletion_screen_replace_track","showReplaceTrack",!1);return e.showLearnMoreUpsell=e.isFree&&!o,e.showReplaceTrackUpsell=o,e}})},function(e,t,n){e.exports=n(8).extend(n(126),{className:"soundContext g-flex-row-centered",css:n(2473),ModelClass:n(43),defaults:{actionType:"post",dialogSelector:".userAvatarBadge, .soundContext__usernameLink",dialogType:"userBadge",is_promoted:!1,soundType:"sound",target:null,time_to_show:null,caption:null},events:{click:"onClick"},dialogSubviewArgs:function(){return{resource_id:this.getUserAttributes().id||null}},onClick:function(){var e=this.getContextData();this.options.is_promoted&&n(93).trackEvent("sponsorClickThrough",e),n(19).trackClickThrough({target:this.model.getUrn(),context:e})},template:function(){var e=this.options,t=e.is_promoted,i=e.actionType,a=e.time_to_show,l=e.target,s=e.caption,r=this.getUserAttributes(),c=t?"promoted":"organic";return[r&&n(18).subview(n(343),{resource_id:r.id,classicSize:"xsmall",size:"4x",className:"soundContext__userAvatar"}),n(18).el("div",{className:"soundContext__textContainer"},[o(r,l,a,i,c),s&&n(18).el("div",{class:"soundContext__caption sc-font-light sc-text-captions"},n(18).subview(n(974),{content:s,usertext:!0,maxLength:140,splitWordsAtLength:12}))])].filter(Boolean).join("")},getUserAttributes:function(){return this.options.is_promoted?this.getContextData().promoted_by:this.model.attributes}});function o(e,t,o,s,r){var c,u,d,p,m=(u=(c=t).kind,d=c.is_album,p=c.set_type,"track"===u?"track":d?p:"playlist");if("promoted"===r&&e){var h=n(18).reactSubview(n(13).Promoted,{className:"sc-promoted-icon sc-my-0.25x"});return n(18).el("span",{class:"soundContext__line soundContext__promoted"},[l(m,"promotedWithUser",{username:i(e),relativeTime:"",promotedIcon:h,actionTagStart:n(511).getMarkup("span"),actionTagEnd:""})])}if("promoted"===r){var A=n(18).reactSubview(n(13).Promoted,{className:"sc-promoted-icon sc-my-0.25x"});return n(18).el("span",{class:"soundContext__line soundContext__promoted"},[l(m,"promoted",{username:"",relativeTime:"",promotedIcon:A,actionTagStart:"",actionTagEnd:""})])}if("repost"===s){var g=n(18).reactSubview(n(13).Repost);return n(18).el("span",{class:"soundContext__line sc-font-body"},[l(m,"repost",{username:i(e),relativeTime:a(s,o),repostIcon:g,actionTagStart:'',actionTagEnd:""})])}return n(18).el("span",{class:"soundContext__line sc-font-body"},[l(m,"post",{username:i(e),relativeTime:a(s,o),actionTagStart:"",actionTagEnd:""})])}function i(e){return n(161).usernameLinkForTemplate(e,"soundContext__usernameLink sc-link-dark sc-link-primary sc-text-h4")}function a(e,t){return t?n(18).subview(n(341),{timestamp:t,prefix:"repost"===e?"Reposted":"Posted"}):""}function l(e,t,o){var i=o.username,a=o.actionTagStart,l=o.repostIcon,s=o.promotedIcon,r=o.actionTagEnd,c=o.relativeTime;switch(e+"-"+t){case"track-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] a track [[[relativeTime]]]",{username:i,actionTagStart:a,repostIcon:l,actionTagEnd:r,relativeTime:c});case"track-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] a track [[[relativeTime]]]",{username:i,actionTagStart:a,actionTagEnd:r,relativeTime:c});case"track-promoted":return n(2).Lingua.t("Promoted track");case"track-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[promotedIcon]]] promoted[[[actionTagEnd]]] a track",{username:i,actionTagStart:a,promotedIcon:s,actionTagEnd:r});case"playlist-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] a playlist [[[relativeTime]]]",{username:i,actionTagStart:a,repostIcon:l,actionTagEnd:r,relativeTime:c});case"playlist-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] a playlist [[[relativeTime]]]",{username:i,actionTagStart:a,actionTagEnd:r,relativeTime:c});case"playlist-promoted":return n(2).Lingua.t("Promoted playlist");case"playlist-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[promotedIcon]]] promoted[[[actionTagEnd]]] a playlist",{username:i,actionTagStart:a,promotedIcon:s,actionTagEnd:r});case"album-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] an album [[[relativeTime]]]",{username:i,actionTagStart:a,repostIcon:l,actionTagEnd:r,relativeTime:c});case"album-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] an album [[[relativeTime]]]",{username:i,actionTagStart:a,actionTagEnd:r,relativeTime:c});case"album-promoted":return n(2).Lingua.t("Promoted album");case"album-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[promotedIcon]]] promoted[[[actionTagEnd]]] an album",{username:i,actionTagStart:a,promotedIcon:s,actionTagEnd:r});case"ep-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] an EP [[[relativeTime]]]",{username:i,actionTagStart:a,repostIcon:l,actionTagEnd:r,relativeTime:c});case"ep-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] an EP [[[relativeTime]]]",{username:i,actionTagStart:a,actionTagEnd:r,relativeTime:c});case"ep-promoted":return n(2).Lingua.t("Promoted EP");case"ep-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[promotedIcon]]] promoted[[[actionTagEnd]]] an EP",{username:i,actionTagStart:a,promotedIcon:s,actionTagEnd:r});case"single-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] a single [[[relativeTime]]]",{username:i,actionTagStart:a,repostIcon:l,actionTagEnd:r,relativeTime:c});case"single-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] a single [[[relativeTime]]]",{username:i,actionTagStart:a,actionTagEnd:r,relativeTime:c});case"single-promoted":return n(2).Lingua.t("Promoted single");case"single-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[promotedIcon]]] promoted[[[actionTagEnd]]] a single",{username:i,actionTagStart:a,promotedIcon:s,actionTagEnd:r});case"compilation-repost":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[repostIcon]]] reposted[[[actionTagEnd]]] a compilation [[[relativeTime]]]",{username:i,actionTagStart:a,repostIcon:l,actionTagEnd:r,relativeTime:c});case"compilation-post":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] posted[[[actionTagEnd]]] a compilation [[[relativeTime]]]",{username:i,actionTagStart:a,actionTagEnd:r,relativeTime:c});case"compilation-promoted":return n(2).Lingua.t("Promoted compilation");case"compilation-promotedWithUser":return n(2).Lingua.t("[[[username]]] [[[actionTagStart]]] [[[promotedIcon]]] promoted[[[actionTagEnd]]] a compilation",{username:i,actionTagStart:a,promotedIcon:s,actionTagEnd:r})}}},,,function(e,t,n){e.exports=new(n(23))({lastPosition:0,after:{setup:function(){this.listenTo(this.model,"time",o).listenTo(this.model,"seeked",i)}},getPosition:function(){return Math.max(this.model.isPlaying()?1:0,Math.ceil(this.model.progress()*this.canvas.width/this.options.scale))},hasPositionChanged:function(){return this.lastPosition!==this.getPosition()},defaults:{shouldBeDirty:function(){return this.hasPositionChanged()}}});function o(){!this.isDirty&&this.shouldBeDirty()&&this.setDirty(!0)}function i(){this.setDirty(!0)}},,function(e,t,n){var o=n(12),i=n(2524);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},function(e,t,n){var o=n(14);e.exports=(o.default||o).template({1:function(e,t,o,i,a){var l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n '+e.escapeExpression((n(651)||t&&l(t,"$tp")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},null!=t?l(t,"trackCount"):t,"View all tracks","View %d tracks",{name:"$tp",hash:{},data:a,loc:{start:{line:6,column:2},end:{line:6,column:55}}}))+"\n \n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,i){var a,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n \n
\n'+(null!=(a=l(n,"if").call(null!=t?t:e.nullContext||{},null!=t?l(t,"hasMoreTracks"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:4,column:0},end:{line:8,column:7}}}))?a:"")},useData:!0})},function(e,t,n){e.exports=n(8).extend(n(38).withOptions("soundVisuals"),{className:"visuals g-all-transitions-300 g-image-filter-darken-light",css:n(2530),template:n(2532),ModelClass:n(27),requiredAttributes:["visuals"],element2selector:{containers:".visuals__container"},states:{playing:"playing"},defaults:{viewContext:"streamContext"},_currentTransitionId:null,_loadAll:!1,setup:function(e){this.visuals=new(n(762))(null,{resource_id:this.model.id}),this.onCollectionChange=n(1).debounce(this.onCollectionChange,250),this.listenTo(this.model,"play",this.onPlay).listenTo(this.model,"pause",this.onPause).listenTo(this.model,"seeked",this.setImage).listenTo(this.model,"finish",this.onFinish).listenTo(this.model,"time",this.setImageThrottled).listenTo(this.visuals,"add remove reset",this.onCollectionChange),this.trackImpression=n(1).once(this.trackImpression),this.$el.addClass(e.viewContext)},dispose:function(){this.visuals.release(),this.visuals=null},setImage:o,setImageThrottled:n(1).throttle(o,250),getTemplateData:function(e){var t=this.model.currentTime(),o=t>0||this.model.isPlaying(),i=this._loadAll||o;if(0===this.visuals.length)return e;if(e.visuals=(i?this.visuals:[this.visuals.at(0)]).map((function(e){return{id:e.get("id"),entry_time:e.get("entry_time"),failMessage:e.get("failMessage"),background_url:e.get("visual_url").replace(/[()]/g,window.escape)}})),o&&this.visuals.length>1){var a=n(1).sortedIndex(e.visuals,{entry_time:t},(function(e){return e.entry_time}));a>0&&(e.visuals=e.visuals.slice(a).concat(e.visuals.slice(0,a)))}return e},onCollectionChange:function(){this.rerender()},onPlay:function(){this.toggleState("playing",!0),this.visuals.length>1&&!this._loadAll&&(this._loadAll=!0,this.rerender())},onPause:function(){this.toggleState("playing",!1)},onFinish:function(){this.toggleState("playing",!1)},renderDecorate:function(){this.trackImpression(),this._currentTransitionId=null,this.setImage(),this.toggleState("playing",this.model.isPlaying())},trackImpression:function(){n(93).trackEvent("impression",n(1).pick(this.model.get("visuals"),"tracking")),n(19).trackImpression({impression_name:"visuals",originView:this.contextName,context:this.getContextData(),urn:this.model.getUrn(),useAudioFinishHandler:"streamContext"===this.options.viewContext})}});function o(){if(!this.disposed&&this.visuals.length){var e,t,o,i,a=this.model.currentTime(),l=this.visuals;if(l.isLooping())t=Math.floor(a/l.getLoopInterval()%l.length),i=l.at(t).resource_id,o=l.at(t).get("entry_time");else{if(e=n(1).sortedIndex(l.models,{entry_time:a},(function(e){return null!=e.entry_time?e.entry_time:e.get("entry_time")})),t=Math.min(l.length-1,e),(o=l.at(t).get("entry_time"))>a){if((t=Math.min(l.length-1,--e))<0)return this.getElement("containers").filter(".visible").removeClass("visible"),void(this._currentTransitionId=null);o=l.at(t).get("entry_time")}i=l.at(t).resource_id}i!==this._currentTransitionId&&(this.getElement("containers").filter(".visible").removeClass("visible"),this.$(".timestamp-"+o).addClass("visible"),this._currentTransitionId=i)}}},,function(e,t,n){e.exports=new(n(23))({requirePrototype:n(8).prototype,defaults:{shouldListenToRestore:function(){return!0},restorableModel:function(){return this.model}},before:{setup:function(){this.restoreSoundStore=this.addDataSource(new(n(744)))}},after:{setup:function(){0},renderDecorate:function(){o.call(this),this.shouldListenToRestore()&&this.listenTo(this.restoreSoundStore,"restoreToSound",o)},teardown:function(){this.shouldListenToRestore()&&this.stopListening(this.restoreSoundStore,"restoreToSound")}}});function o(){var e=this.restoreSoundStore.get("restoreToSound"),t=this.restorableModel();e===t.resource_type+t.resource_id&&(this.restoreSoundStore.set("restoreToSound",null,{silent:!0}),this.whenInserted().done(this.scrollIntoView.bind(this,{position:"top"})))}},,function(e,t,n){e.exports={defaultButtons:{global:[n(321),n(322),n(628),n(889),n(323)],china:[n(321),n(322),n(628),n(890),n(323)],russia:[n(321),n(322),n(628),n(891),n(323)]},systemPlaylistButtons:{global:[n(321),n(322),n(889),n(323)],china:[n(321),n(322),n(890),n(323)],russia:[n(321),n(322),n(891),n(323)]}}},,function(e,t,n){e.exports=n(203).extend({defaults:{popupSize:[665,300],serviceKey:"pinterest",serviceName:"Pinterest",serviceBaseURL:"http://pinterest.com/pin/create/button/",icon_only:!0},icon:n(13).Social.PinterestLogo,getHrefData:function(e){var t,o=this.model.get("title"),i=n(70).urlFrom(this.model.attributes,200);if(this.isAudible){var a,l,s=null==(a=null!=(l=this.model.get("made_for"))?l:this.model.get("user"))?void 0:a.username;t=n(2).Lingua.t("[[title]] by [[username]] on SoundCloud",{title:o,username:s})}else{var r=this.model.get("username")||this.model.get("name");t=n(2).Lingua.t("Visit [[username]] on SoundCloud",{username:r})}return{url:null!=e?e:this.getShareURL(),media:i,description:t.toString(),is_video:"true"}}})},function(e,t,n){e.exports=n(203).extend({defaults:{popupSize:[450,450],serviceKey:"weibo",serviceName:"Weibo",serviceBaseURL:"http://service.weibo.com/share/share.php"},getHrefData:function(e){return{url:null!=e?e:this.getShareURL()}}})},function(e,t,n){e.exports=n(203).extend({defaults:{popupSize:[645,450],serviceKey:"vkontakte",serviceName:"VK",serviceBaseURL:"http://vkontakte.ru/share.php"},getHrefData:function(e){return{url:null!=e?e:this.getShareURL()}}})},,,,,,,,,,,,,function(e,t,n){var o=n(2).Lingua.t("Skip to previous"),i=n(2).Lingua.t("Skip to next");e.exports=n(8).extend({className:"skipControl sc-ir",css:n(2635),tagName:"button",defaults:{type:"previous"},states:{disabled:function(e){this.$el.toggleClass("disabled").attr("tabindex",e?"-1":"")}},events:{click:"onClick"},setup:function(e){var t=e.type;this.$el.addClass("skipControl__"+t),"next"===t&&this.listenTo(n(20),"state:hasNext",this.update),this.listenTo(n(20),"change:currentSound",this.update).listenTo(n(20),"state:globalPlayLock",this.update).listenTo(n(51),n(85).CHANGE_AD_SKIPPABILITY,this.update).listenTo(n(11),"audio:play",this.update)},template:function(){var e="previous"===this.options.type?{labelText:o,icon:n(13).PlaybackPrevious}:{labelText:i,icon:n(13).PlaybackNext},t=e.labelText,a=e.icon;return n(18).children([n(18).reactSubview(a),t])},renderDecorate:function(){this.update()},onClick:function(){if(!this.getState("disabled")){var e={userInitiated:!0};"previous"===this.options.type?n(20).playPrev(e):n(20).playNext(e)}},update:function(){this.toggleState("disabled",a.call(this))}});function a(){return("next"!==this.options.type||!n(51).isAdBreakActive()||!n(51).isAllowedToSkipCurrentAd())&&(!!n(20).getState("globalPlayLock")||"next"===this.options.type&&!n(20).hasNextSound())}},,function(e,t,n){(function(t){e.exports=n(8).extend({className:"spamWarning",ModelClass:n(262),css:n(2684),template:n(2686),events:{"click .spamWarning__acknowledge:not(.disabled)":function(e){e.preventDefault(),o.call(this)}},element2selector:{button:".spamWarning__acknowledge"},states:{waiting:function(e){this.getElement("button").toggleClass("disabled",e)}},getTemplateData:function(e){var t,o,i,a,l=e.spam_warning,s=l.action_type,r=l.expires_at,c=r&&n(7).LinguaLib.dateTimeHelper.toRelativeTime(new Date(r)).toLowerCase(),u=n(31).getRoute("pages","terms-of-use");switch(s){case"comment":case"comment_own_track":t=n(2).Lingua.t("We’ve noticed a high volume of commenting coming from your account and we would like to ask that you slow down."),o=n(2).Lingua.t('Please note if you keep getting these warnings, your commenting abilities will be blocked as outlined in our Terms of Use.',{termsLink:u}),i=n(2).Lingua.t("We have temporarily blocked your commenting facility because your account has previously gotten this warning many times."),a=n(2).Lingua.t("You can continue commenting again [[unblockTime]]",{unblockTime:c});break;case"message_initial":case"message_reply":t=n(2).Lingua.t("We’ve noticed a high volume of messaging coming from your account and we would like to ask that you slow down."),o=n(2).Lingua.t('Please note if you keep getting these warnings, your messaging abilities will be blocked as outlined in our Terms of Use.',{termsLink:u}),i=n(2).Lingua.t("We have temporarily blocked your messaging facility because your account has previously gotten this warning many times."),a=n(2).Lingua.t("You can continue messaging again [[unblockTime]]",{unblockTime:c});break;case"user_follow":t=n(2).Lingua.t("We’ve noticed a high volume of following coming from your account and we would like to ask that you slow down."),o=n(2).Lingua.t('Please note if you keep getting these warnings, your following abilities will be blocked as outlined in our Terms of Use.',{termsLink:u}),i=n(2).Lingua.t("We have temporarily blocked your following facility because your account has previously gotten this warning many times."),a=n(2).Lingua.t("You can continue following again [[unblockTime]]",{unblockTime:c});break;case"track_like":case"playlist_like":t=n(2).Lingua.t("We’ve noticed a high volume of liking coming from your account and we would like to ask that you slow down."),o=n(2).Lingua.t('Please note if you keep getting these warnings, your liking abilities will be blocked as outlined in our Terms of Use.',{termsLink:u}),i=n(2).Lingua.t("We have temporarily blocked your liking facility because your account has previously gotten this warning many times."),a=n(2).Lingua.t("You can continue liking again [[unblockTime]]",{unblockTime:c});break;case"track_repost":case"playlist_repost":t=n(2).Lingua.t("We’ve noticed a high volume of reposting coming from your account and we would like to ask that you slow down."),o=n(2).Lingua.t('Please note if you keep getting these warnings, your reposting abilities will be blocked as outlined in our Terms of Use.',{termsLink:u}),i=n(2).Lingua.t("We have temporarily blocked your reposting facility because your account has previously gotten this warning many times."),a=n(2).Lingua.t("You can continue reposting again [[unblockTime]]",{unblockTime:c});break;default:var d=s.replace(/_/," ");t=new(n(14).SafeString)("We’ve noticed a high volume of "+d+" coming from your account and we would like to ask that you slow down."),o=new(n(14).SafeString)("Please note if you keep getting these warnings, your "+d+' abilities will be blocked as outlined in our Terms of Use.'),i=new(n(14).SafeString)("We have temporarily blocked your "+d+" facility because your account has previously gotten this warning many times."),a=new(n(14).SafeString)("You can continue "+d+" again "+c)}e.notice_msg=t,e.warning_msg=o,e.blocked_msg=i,e.unblock_msg=a,e.can_ack=e.spam_warning.can_ack}});function o(){var e=this;this.toggleState("waiting",!0);var o=this.model.get("spam_warning").urn,i=n(44).getUrlForEndpoint("mySpamWarningsAck",{urn:o});t.ajax({type:"PUT",url:i}).then((function(){e.bubble("spam-warning:acknowledged")}),(function(){e.toggleState("waiting",!1)}))}}).call(this,n(25))},,,,,function(e,t,n){var o=n(12),i=n(2736);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},,function(e,t,n){var o=n(12),i=n(2750);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},function(e,t,n){function o(){return(o=Object.assign||function(e){for(var t=1;t
"),t}},after:{renderDecorate:function(){var e=this.getScrollableWrapper();e&&this.setupScrollable(this.getListContainer(),e,n(1).assign({},o,this.getScrollableOptions()))},onAdd:function(){i.call(this)},onRemove:function(){i.call(this)}}});function i(){n(106).MutationObserver&&this.onDOMChanges()}var a={addThrobber:function(){if(this.options.showThrobber&&this.ThrobberView){var e=this.subviews.throbber||this.addSubview(new this.ThrobberView,"throbber").render();this.appendDOMElement(e.el)}},removeThrobber:function(){var e=this.subviews.throbber;e&&(e._dispose(),this.removeSubview(e))},appendDOMElement:function(e){(this.getScrollableWrapper()||this.$el)[this.options.inverted?"prepend":"append"](e)}},l={getScrollableContainer:function(e){return this.options.fullPageList?e():this._listElement&&this._listElement.parent()}}},,,,,,,,,,,function(e,t,n){function o(){return(o=Object.assign||function(e){for(var t=1;tu,e.timeClosestToQuota=u>c,e.reachedQuota=m,e.stretchedVersion=this.options.stretchedVersion,e.tcode=this.getUpsellRef();var _=n(97).isIE11,C=o?"0%":r+"%";return e.usedPercentStyle=new(n(14).SafeString)(_?"width: "+C:"clip-path: polygon(0 0, "+C+" 0%, "+C+" 100%, 0% 100%)"),e.chevronDownIcon=n(13).ChevronDown,e.ctaText=n(2).Lingua.t("Try [[plan]]",{plan:t}),e},renderDecorate:function(){var e=this;o&&setTimeout((function(){if(!e.disposed){var t=n(234).getQuotaInfo(e.model).percentageUsed,o=e.$(".quotaMeter__minutesUsed"),i=t+"%";n(97).isIE11?o.width(i):o.css("clip-path","polygon(0 0, "+i+" 0%, "+i+" 100%, 0% 100%)")}}),2e3),o=!1},getUpsellRef:function(){return this.options.ref}})},,,,function(e,t,n){e.exports=n(159).extend(n(399),{css:n(2800),defaults:{Collection:null,collectionArgs:null,getRestoreUrl:null,highlight:!1,CheckboxForm:null,compact:!1,show_ministats:!0,show_action_buttons:!0,show_owner_buttons:!1,show_private:!1,show_audible_attributes:!1,show_duration:!1,show_upload_time:!1,allowTrackFallback:!0,primary_actions:1,overflow_minimum:2,noFollow:!1},states:{compact:"compact"},className:"soundBadgeList",listClassName:"sc-list-nostyle sc-clearfix",itemClassName:"soundBadgeList__item",Subview:n(414).default,setup:function(e){this.collection=new e.Collection(null,e.collectionArgs),e.getRestoreUrl&&(this.getRestoreUrl=e.getRestoreUrl),this.toggleState("compact",e.compact)},getSubviewArgs:function(e){var t=n(159).prototype.getSubviewArgs.apply(this,arguments),i=this.options,a=o(e),l=a.kind,s=a.id;return n(1).assign(t,{resource_id:s,resource_type:"track"===l?"sound":"playlist"},n(1).pick(i,"CheckboxForm","compact","show_ministats","show_action_buttons","show_owner_buttons","show_private","show_audible_attributes","show_duration","show_upload_time","allowTrackFallback","noFollow","primary_actions","overflow_minimum"))}});function o(e){var t=e.get("kind"),n=e.id;return t||(t="sound"===e.resource_type?"track":"playlist"),{id:n,kind:t}}},function(e,t,n){var o=new(n(47))("already-seen");e.exports=n(150).default.extend({defaults:{userName:"",audibleName:""},Subview:n(2806),moduleClassName:"mobileApps",moreText:n(2).Lingua.t("Dismiss"),isDismissable:!0,dismissIcon:function(){return n(18).reactSubview(n(13).Close,{className:"sidebarHeader__more"})},title:n(2).Lingua.t("Go mobile"),css:[n(911),n(2811)],events:{"click .mobileApps__dismiss":"onClickDismiss"},element2selector:n(1).defaults({dismiss:".sidebarHeader__more"},n(150).default.prototype.element2selector),viewLocation:null,setup:function(){this.viewLocation=this.options.userName?"user":this.options.audibleName?"audible":"stream",this.subviewArgs={abtest_identifier:this.title,view_location:this.viewLocation},o.get("mobile-apps-dismissed")&&this.hide()},renderDecorate:function(){n(150).default.prototype.renderDecorate.call(this),this.getElement("dismiss").addClass("mobileApps__dismiss sc-ir")},createSubview:function(){o.get("mobile-apps-dismissed")||n(150).default.prototype.createSubview.call(this)},onClickDismiss:function(){o.set("mobile-apps-dismissed",1),this.hide(),n(19).trackV0Click(["go_mobile","dismiss",this.viewLocation,this.title])}})},,,,,,,,,function(e,t,n){e.exports=n(187).extend({className:"tokenInput tagInput",template:n(1785),css:[n(599),n(1786)],defaults:{allowFreeInputTokens:!0,placeholder:n(2).Lingua.t("Add tags"),tokenClassName:"tagInput__token sc-mr-1x sc-pl-1x"},autoCorrectTags:[{regex:/^\s*hip[\-\s]*hop\s*$/,correctTo:"Hip Hop"},{regex:/^\s*#*\s*/,correctTo:""}],events:n(1).defaults({"paste .tokenInput__input":"onPaste","click .tagInput__token":"onTokenRemoveClick"},n(187).prototype.events),MenuContentView:n(1788),menuContentViewArgs:function(){var e=this.form.getAudible&&this.form.getAudible();return{urn:e&&e.getUrn(),context:this.getFieldValue()}},menuOffset:"0 4",setup:function(){n(187).prototype.setup.apply(this,arguments),this.defaultSelectedItemIndex=0},addToken:function(e){var t,o;for(o=this.autoCorrectTags.length;o--;)t=this.autoCorrectTags[o],e=e.replace(t.regex,t.correctTo);e=e.substring(0,255),n(187).prototype.addToken.call(this,e)},getFieldValue:function(){var e=n(187).prototype.getFieldValue.call(this);return"string"==typeof e?n(340).parse(e,{includeMachineTags:!0}):e},getDisplayValue:n(1).identity,getRelativeElement:function(){return this.getElement("control")},cleanUserText:n(1).identity,getMenuWidth:function(){return"auto"},onPaste:function(e){var t;""===e.target.value&&(t=e.originalEvent.clipboardData.getData("Text"),n(340).parse(t).forEach(this.addToken,this),e.preventDefault())}})},,,,,,,function(e,t,n){(function(t){function o(){return(o=Object.assign||function(e){for(var t=1;t'},initialize:function(){var e,t=((e={})[n(299).TOGGLE]="onOverlayButtonToggle",e);this.bubbleEvents=n(1).defaults(t,this.bubbleEvents),n(8).prototype.initialize.apply(this,arguments)},setup:function(e){this.listenTo(this.model,"play pause",a).listenTo(this.model,"change:playable",l)},renderDecorate:function(){a.call(this)},getTemplateData:function(e){var t=this.model,a=t.playlist||t.systemPlaylist,l=!n(98).isSoundInteractive(t,this._product),s=t.getDisplayArtist();return o({},e,{showBlockedMsg:l},l&&i.call(this,t),{trackNumber:this.options.track_number_override||a&&a.getSoundIndex(t)+1,isPrivate:t.isPrivate(),statsStyleVariant:r.call(this,t),geoLockIcon:n(13).GeoLock,privateIcon:n(13).Private,privateIconOptions:{style:{display:"inline-block",width:"16px",height:"16px","vertical-align":"text-bottom"}},playIcon:n(13).Play,playIconOptions:{style:{display:"inline-block",width:"16px",height:"16px","vertical-align":"top"}},artistName:s})},onHover:function(e){this.toggleState("hover",!this.getState("disabled")&&"mouseenter"===e.type)},onDragHandleMouse:function(e){this.toggleState("dragging","mousedown"===e.type)},onClick:function(e){if(t(e.target).closest("a,button,input,.trackItem__dragHandle",".trackItem").length)return!0;this.getState("playable")&&this.toggleAudible(this.model,{userInitiated:!0})},onOverlayButtonToggle:function(e){if(e.data.$el.closest(".trackItem").is(this.el)){var t=e.data.isOpened;this.toggleState("removing",t).toggleState("hover",t,!0)}},onContextRequest:function(e){e.data.listItem=this}});function i(e){return n(98).isSoundBlocked(e,this._product)?{blockedMsg:n(82).getShortBlockMessage(),isGeoBlocked:!0}:e.isProcessing()?{blockedMsg:n(2).Lingua.t("Processing…")}:void 0}function a(){this.disposed||this.toggleState("active",this.model.isPlaying()).toggleState("disabled",!n(98).isSoundInteractive(this.model,this._product)).toggleState("interactive",n(98).isSoundInteractive(this.model,this._product)).toggleState("playable",this.model.isPlayable())}function l(){a.call(this),this.rerender()}function s(e){n(19).trackClickThrough({context:this.getContextData(),target:e})}function r(e){return n(98).isSoundInteractive(e,this._product)&&!e.isPlayable()?"sc-ministats-light":""}}).call(this,n(25))},,function(e,t,n){e.exports=n(8).extend(n(413),{defaults:{size:"medium"},className:"sc-button-addtoset",icon:n(13).AddToPlaylist,buttonLabels:{default:n(2).Lingua.t("Add to playlist",null,{context:"indefinite"})},ModelClass:n(112),ModalClass:n(460),getModalArgs:function(){return{subviewArgs:{soundIds:this.model.getSoundsCollection().pluck("id"),defaultTitle:this.model.get("title"),startingTab:"create"}}},requiresLogin:function(){return!0},onModalOpen:function(){n(19).trackV1Click({click_name:"track_to_playlist::prompt",query_urn:null})}})},,,,,,,,,,,,,function(e,t,n){e.exports=n(8).extend(n(298),{className:"reportUserSpam",css:n(1586),template:n(1588),ModelClass:n(43),requiredAttributes:["username"],onSubmit:function(){var e=this;n(50).block(this.model.id,!0,!0,!0).then((function(){return n(11).trigger("user:blocked",{report:!0,userData:e.model.attributes})}))}})},,function(e,t,n){"use strict";n.r(t),n.d(t,"InlinePlanPicker",(function(){return p}));var o=n(73),i=n.n(o),a=n(8),l=n.n(a),s=n(289),r=n(88),c=(n(291),n(227),n(473)),u=n(89),d=n.n(u),p=l.a.extend(i.a,r.WithStatsig,c.default,d.a.withOptions({type:"pro"}),{defaults:{type:void 0,tcode:void 0},modal:null,onClick:function(){m.call(this)},dispose:function(){h.call(this)}});function m(){this.modal||(this.modal=Object(s.createPlanPickerModal)(this.options.type,this.getExperimentValue,this.options.tcode)),this.modal.open()}function h(){this.modal&&(this.modal.dispose(),this.modal=null)}t.default=p},,,,,,,,,,,,,,function(e,t,n){e.exports=n(48).extend({template:n(1780),css:n(1781),defaults:{validateOn:"blur",label:n(2).Lingua.t("Permalink"),permalinkType:"sound",size:"small"},states:n(1).defaults({generating:"generating",editing:function(e){var t=this.getElement("control");a.call(this),e&&t.select()}},n(48).prototype.states),element2selector:n(1).defaults({editButton:".permalinkTextfield__editButton",prefixText:".permalinkTextfield__prefixText"},n(48).prototype.element2selector),events:n(1).defaults({"click .permalinkTextfield__inputWrapper":"onWrapperClick","blur .permalinkTextfield__input":"onInputBlur","keydown .permalinkTextfield__input":"onInputKeydown"},n(48).prototype.events),className:"textfield permalinkTextfield",setup:function(){n(48).prototype.setup.apply(this,arguments),this.listenTo(n(99),"resize:x:debounced",a).listenTo(this.form,"generatingPermalink",i)},renderDecorate:function(){o.call(this,this.options.size),this.whenInserted().done(a.bind(this)),n(48).prototype.renderDecorate.apply(this,arguments)},getTemplateData:function(e){var t=n(6).get("me").get("permalink")+"/",o=this.options.permalinkType;return e=n(48).prototype.getTemplateData.call(this,e)||e,n(1).assign(e,{prefix:"sound"===o?t:"playlist"===o?t+"sets/":""})},onInputKeydown:function(e){e.keyCode===n(67).ESC&&(this.getElement("control").blur(),this.getElement("editButton").focus())},onInputBlur:function(){this.toggleState("editing",!this.isValid())},onValidationChange:function(e){n(48).prototype.onValidationChange.apply(this,arguments),this.toggleState("editing",!e.isValid)},onWrapperClick:function(){this.toggleState("editing",!0)}});function o(e){this.getElement("prefixText").toggleClass("sc-type-small sc-text-body","medium"===e),this.$el.addClass(e),this.getElement("editButton").addClass("sc-button-"+e),this.getElement("control").addClass("sc-input-"+e)}function i(e){this.toggleState("generating",e)}function a(){var e=this.getElement("prefixText").width();this.getElement("validation").css({marginLeft:"calc("+e+"px + var(--spacing-2x, 0px))"})}},,function(e,t,n){e.exports=n(1807)},function(e,t,n){e.exports=n(8).extend(n(120),{tagName:"span",className:"sc-license-icon",defaults:{light:!1},template:function(){return""},renderDecorate:function(){o.call(this)},onFieldChange:function(){o.call(this)}});function o(){var e=this.getFieldValue();this.$el.removeClass();var t=e.split("-").slice(1),n=this.addSubview(new i({icons:t}));this.$el.html(n.render().el),e&&this.$el.addClass("sc-license-icon").toggleClass("sc-license-icon-white",this.options.light).addClass("sc-license-icon-"+e)}var i=n(8).extend({defaults:{icons:["by"]},template:function(){var e=this.options.icons;return n(18).reactSubview(n(1821).default,{icons:e})}})},,function(e,t,n){function o(){var e=this.model.get("fileUpload"),t=this.subviews.status;e&&(t&&a.call(this,t),i.call(this,e))}function i(e){var t=this.options,o=this.addSubview(new(n(846))(n(1).assign({},n(1).pick(t,Object.keys(this.defaults)),{resource_id:e.resource_id,resource_type:e.resource_type})),"status");this.$el.append(o.render().el)}function a(e){e._dispose(),this.removeSubview(e)}e.exports=n(8).extend({className:"uploadStatusWrapper",defaults:{showCancelButton:!1,showText:!0,showProgress:!0,cancelText:n(2).Lingua.t("Cancel upload")},ModelClass:n(128),template:function(){return""},setup:function(){this.listenTo(this.model,"change:fileUpload",o)},renderDecorate:function(){o.call(this)}})},,function(e,t,n){e.exports=n(72).extend(n(697),{className:"uploadTrackList",defaults:{maxDisplay:0,readOnly:!1},Subview:n(1946),listClassName:"uploadTrackList__list sc-list-nostyle",itemClassName:"uploadTrackList__item sc-border-light-bottom sc-clearfix sc-my-3x",css:n(1950),editableObject:null,listSelector:".uploadTrackList__list",listItemSelector:".uploadTrackList__item",dragHandleSelector:".compactUpload__dragHandle",setup:function(e){var t=n(444).hashFn({id:e.resource_id}),o=n(444).instances.get(t);this.editableObject=o,this.subviewArgs={readOnly:e.readOnly},this.collection=o.getSoundUploadsCollection(),this.collection.hold()},renderDecorate:function(){n(72).prototype.renderDecorate.apply(this,arguments),this.options.readOnly||this.reinitializeSorting()},onRemove:function(e){var t=this,n=this.getListItemView(e);n&&n.remove().done((function(){t.getSubviewWrapper(n).detach(),t.removeSubview(n)}))}})},,function(e,t,n){e.exports=n(8).extend(n(372),n(298),{template:n(1989),css:n(1990),className:"userAudibleSearch sc-border-box",inputSelector:".userAudibleSearch__input",defaults:{publicOnly:!0,includePlaylists:!0,includeSystemPlaylists:!1,numOfSearchResults:5,customUserAudiblesFilter:null,onItemSelected:null,onClose:null,placeholder:n(2).Lingua.t("Select a track or playlist from your profile")},showAllItems:!0,MenuContentView:n(1992),setup:function(e){var t=e.numOfSearchResults,o=e.publicOnly,i=e.includePlaylists,a=e.includeSystemPlaylists,l=e.customUserAudiblesFilter,s=n(6).get("me").id;this.menuContentViewArgs={userId:s,numOfSearchResults:t,publicOnly:o,includePlaylists:i,includeSystemPlaylists:a,customUserAudiblesFilter:l}},onItemSelected:function(e){var t=this.options.onItemSelected;this.trigger("onItemSelected",e),this.emptyInput(),n(1).isFunction(t)&&t(e)},onClose:function(){var e=this.options.onClose;this.trigger("onClose"),n(1).isFunction(e)&&e()}})},function(e,t,n){e.exports=n(8).extend({className:"monetizationReminder sc-type-small sc-text-body sc-text-secondary",template:function(){var e=n(18).el("strong",{class:"sc-text-h4"},n(2).Lingua.t("Reminder:")),t=n(130).isPremierVIPMember()?n(2).Lingua.t("SoundCloud Premier monetization is only available for your own original music. Covers, remixes, mixes, DJ sets, audio recordings or podcasts are not monetizable at this time."):n(130).isPremierMonetizationMember()?n(2).Lingua.t("SoundCloud Premier monetization is only available for your own original music. Covers, remixes, mixes, DJ sets, audio recordings or podcasts are not monetizable at this time. If you attempt to monetize content that includes unlicensed samples, your track will be removed from SoundCloud."):null;return t?[e,t].join(" "):null}})},,,,,,function(e,t,n){e.exports=n(371).extend({className:"webAuthContainer",template:n(2699),defaults:{startStep:n(1018).default,getIframeElement:function(){return n(204).getPreloadedIframeWrapper().firstChild},iframeSrcAvailable:function(e){n(204).getPreloadedIframeWrapper().firstChild.src=e},isVisible:!1,resetTop:!1,handleIframeResize:function(e){var t=e.height,n=this.options.getIframeElement.call(this);n&&(n.height=t);var o=document.querySelector(".webAuthContainer__spacer");o&&(o.style.height=t+"px")},variant:"stationary"},setup:function(){n(371).prototype.setup.apply(this)},getTemplateData:function(){var e=n(204).getPreloadedIframeWrapper(this.options.isVisible);e.scrolling="no",e.marginWidth="0",e.marginHeight="0",e.height="500px",e.width="400px",this.options.resetTop&&(e.style.top=0);var t=n(2700).getVariantStyle(this.options.variant);for(var o in t)e.style[o]=t[o]},hideDialog:function(e){var t=(void 0===e?{}:e).immediate,o=void 0!==t&&t,i=n(204).getPreloadedIframeWrapper();o&&i.classList.add("m-immediate"),i.classList.add("hidden");var a=i.firstChild;n(252).getAuthIframeSrc({endpoint:"web-auth",isVisible:!1}).then((function(e){a.src=e}))},showDialog:function(){var e=this,t=n(204).getPreloadedIframeWrapper();n(11).on("signin:attention",(function(){e.attention()})),t.classList.remove("m-immediate"),t.classList.remove("hidden");var o=t.firstChild,i=this.options.loginOptions.signup?"signup":"signin";n(252).getAuthIframeSrc({endpoint:"web-auth",errorCode:null,intent:i,isVisible:!0}).then((function(e){o.src=e}))},removeIframe:function(){n(204).getPreloadedIframeWrapper().remove()},alignToContainer:function(e){var t=e.getBoundingClientRect();n(204).getPreloadedIframeWrapper().style.top=t.top-76-25+"px"},attention:function(){var e=n(204).getPreloadedIframeWrapper();e.classList.add("m-attention"),setTimeout((function(){e.classList.remove("m-attention")}),500)}})},,,,,,,function(e,t,n){e.exports=n(149).extend({className:"sc-button-more",icon:n(13).Ellipsis,defaults:{overlayType:"dropdown",overlayOptions:{anchor:"left top",relativeElementAnchor:"left bottom"},cornerStyle:"square"},buttonLabels:{default:n(2).Lingua.t("More")},getContentViewArgs:function(){var e=this.options,t=e.contentViewArgs,o=e.cornerStyle;return n(1).defaults({cornerStyle:o},t)}})},function(e,t,n){"use strict";n.r(t);n(115);var o=n(2),i=n(38),a=n.n(i),l=n(150),s=n(963),r=n.n(s),c=n(198),u=n(127),d=n(15),p=n.n(d);function m(){return(m=Object.assign||function(e){for(var t=1;t"},trackItemNavigation:function(e){var t=e.data,n=this.getTrackingUiComponent();b.a.tracking.track("Sidebar Module Opened",{ui_component_name:n.ui_component_name,object_urn:t.object_urn})},onComponentViewed:function(){var e=this.getTrackingUiComponent(),t=this.getContextData();b.a.tracking.track("UI Component Viewed",{ui_component_name:e.ui_component_name,ui_component_urn:e.ui_component_urn,ui_component_position:t.sidebar_module.position+1})}}));t.default=x},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var o=n(4),i=n.n(o),a=n(5),l=n.n(a),s=n(56),r=n.n(s),c=n(927),u=n.n(c),d=l()(i.a),p=r()(u.a);d.push([e.i,".modal{position:fixed;top:0;left:0;width:100%;height:100%;opacity:0;overflow-y:auto;box-sizing:border-box}.light .modal__modal{background-color:#fff;background-color:var(--white-color)}.dark .modal__modal{background-color:#121212;background-color:var(--black-color)}.modal.modalWhiteout{background-color:rgba(18,18,18,.4);background-color:var(--overlay-default-color)}.modal.modalPureWhite{background-color:hsla(0,0%,100%,.95);background-color:rgba(var(--white-rgb),.95)}.modal.modalDarken{background-color:rgba(18,18,18,.5);background-color:rgba(var(--black-rgb),.5)}.modal.showBackground{opacity:1}.modal__header{position:absolute;top:76px}.modal__header,.modal__modal{transition:transform .3s cubic-bezier(.13,1.07,.5,1.01),visibility 0s;transform:translateZ(0);visibility:visible}.modal.invisible .modal__header,.modal.invisible .modal__modal{transition:transform .3s cubic-bezier(.98,-.15,.9,.6),visibility 0s .3s;transform:translateY(-1000px);visibility:hidden}.modal__header.hovering{top:0!important;position:fixed}.modal__modal{padding:16px;padding:var(--spacing-2x);margin:76px 0 30px;position:absolute;top:0;border:1px solid rgba(18,18,18,.15);border:1px solid rgba(var(--primary-rgb),.15);border-radius:4px;background-color:#fff;background-color:var(--background-surface-color)}.modal__modal.noEntryTransition{transition:none}.modal.fullHeight .modal__modal{margin-top:30px}.modal.fullHeight .modal__header{top:30px}.modal__content{position:relative;height:100%}.modal__closeButton{position:absolute;top:40px;top:var(--spacing-5x);right:40px;right:var(--spacing-5x);width:32px;width:var(--spacing-4x);height:32px;height:var(--spacing-4x);text-indent:20px;border-radius:50%;border:0;overflow:hidden}.modal.modalDarken>.modal__closeButton{background:url("+p+") 50% no-repeat}.modal__title{margin:0;padding-bottom:0}.modal__titleContent{padding-bottom:12px}.modal__titleText{margin:0;padding:0;border:none}@media print{.modal__modal{position:unset;width:680px!important}}","",{version:3,sources:["webpack://./app/lib/views/modal.css"],names:[],mappings:"AAAA,OAAO,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,eAAe,CAAC,qBAAqB,CAAC,qBAAqB,qBAAqB,CAAC,mCAAmC,CAAC,oBAAoB,wBAAwB,CAAC,mCAAmC,CAAC,qBAAqB,kCAAkC,CAAC,6CAA6C,CAAC,sBAAsB,oCAAoC,CAAC,2CAA2C,CAAC,mBAAmB,kCAAkC,CAAC,0CAA0C,CAAC,sBAAsB,SAAS,CAAC,eAAe,iBAAiB,CAAC,QAAQ,CAAC,6BAA6B,qEAAqE,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,+DAA+D,uEAAuE,CAAC,6BAA6B,CAAC,iBAAiB,CAAC,wBAAwB,eAAe,CAAC,cAAc,CAAC,cAAc,YAAY,CAAC,yBAAyB,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,KAAK,CAAC,mCAAmC,CAAC,6CAA6C,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,gDAAgD,CAAC,gCAAgC,eAAe,CAAC,gCAAgC,eAAe,CAAC,iCAAiC,QAAQ,CAAC,gBAAgB,iBAAiB,CAAC,WAAW,CAAC,oBAAoB,iBAAiB,CAAC,QAAQ,CAAC,qBAAqB,CAAC,UAAU,CAAC,uBAAuB,CAAC,UAAU,CAAC,uBAAuB,CAAC,WAAW,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,QAAQ,CAAC,eAAe,CAAC,uCAAuC,gEAAkE,CAAC,cAAc,QAAQ,CAAC,gBAAgB,CAAC,qBAAqB,mBAAmB,CAAC,kBAAkB,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,aAAa,cAAc,cAAc,CAAC,qBAAqB,CAAC",sourcesContent:[".modal{position:fixed;top:0;left:0;width:100%;height:100%;opacity:0;overflow-y:auto;box-sizing:border-box}.light .modal__modal{background-color:#fff;background-color:var(--white-color)}.dark .modal__modal{background-color:#121212;background-color:var(--black-color)}.modal.modalWhiteout{background-color:rgba(18,18,18,.4);background-color:var(--overlay-default-color)}.modal.modalPureWhite{background-color:hsla(0,0%,100%,.95);background-color:rgba(var(--white-rgb),.95)}.modal.modalDarken{background-color:rgba(18,18,18,.5);background-color:rgba(var(--black-rgb),.5)}.modal.showBackground{opacity:1}.modal__header{position:absolute;top:76px}.modal__header,.modal__modal{transition:transform .3s cubic-bezier(.13,1.07,.5,1.01),visibility 0s;transform:translateZ(0);visibility:visible}.modal.invisible .modal__header,.modal.invisible .modal__modal{transition:transform .3s cubic-bezier(.98,-.15,.9,.6),visibility 0s .3s;transform:translateY(-1000px);visibility:hidden}.modal__header.hovering{top:0!important;position:fixed}.modal__modal{padding:16px;padding:var(--spacing-2x);margin:76px 0 30px;position:absolute;top:0;border:1px solid rgba(18,18,18,.15);border:1px solid rgba(var(--primary-rgb),.15);border-radius:4px;background-color:#fff;background-color:var(--background-surface-color)}.modal__modal.noEntryTransition{transition:none}.modal.fullHeight .modal__modal{margin-top:30px}.modal.fullHeight .modal__header{top:30px}.modal__content{position:relative;height:100%}.modal__closeButton{position:absolute;top:40px;top:var(--spacing-5x);right:40px;right:var(--spacing-5x);width:32px;width:var(--spacing-4x);height:32px;height:var(--spacing-4x);text-indent:20px;border-radius:50%;border:0;overflow:hidden}.modal.modalDarken>.modal__closeButton{background:url(~assets/images/close-modal-light.svg) 50% no-repeat}.modal__title{margin:0;padding-bottom:0}.modal__titleContent{padding-bottom:12px}.modal__titleText{margin:0;padding:0;border:none}@media print{.modal__modal{position:unset;width:680px!important}}"],sourceRoot:""}]),t.default=d},function(e,t,n){var o=n(14);e.exports=(o.default||o).template({1:function(e,t,n,o,i){return'
'+r((n(3)||t&&c(t,"$t")||s).call(l,"Blocking means that [[username]] will no longer be able to",{name:"$t",hash:{username:null!=t?c(t,"username"):t},data:a,loc:{start:{line:3,column:41},end:{line:3,column:136}}}))+'
"+r((n(3)||t&&c(t,"$t")||s).call(l,"like your tracks,",{name:"$t",hash:{},data:a,loc:{start:{line:6,column:6},end:{line:6,column:32}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||s).call(l,"repost your tracks,",{name:"$t",hash:{},data:a,loc:{start:{line:7,column:6},end:{line:7,column:34}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||s).call(l,"send you messages,",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:6},end:{line:8,column:33}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||s).call(l,"share tracks with you,",{name:"$t",hash:{},data:a,loc:{start:{line:9,column:6},end:{line:9,column:37}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||s).call(l,"post new comments on your tracks, or",{name:"$t",hash:{},data:a,loc:{start:{line:10,column:6},end:{line:10,column:51}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||s).call(l,"send you new stream or email notifications.",{name:"$t",hash:{},data:a,loc:{start:{line:11,column:6},end:{line:11,column:58}}}))+'
\n \n'},3:function(e,t,n,o,i){return' Reported accounts are reviewed by a specialist team who take action if the account’s content or activity\n violates our Guidelines\n or Terms. Repeated violation or serious breaches\n can result in the permanent deletion of accounts.\n'},compiler:[8,">= 4.3.0"],main:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(l=u(o,"if").call(s,null!=(l=null!=t?u(t,"_options"):t)?u(l,"standalone"):l,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:0},end:{line:4,column:7}}}))?l:"")+'\n
'+r((n(3)||t&&c(t,"$t")||s).call(l,"Reporting [[username]] for spam:",{name:"$t",hash:{username:null!=t?c(t,"username"):t},data:a,loc:{start:{line:3,column:41},end:{line:3,column:100}}}))+'
\n\n
\n
'+r((n(3)||t&&c(t,"$t")||s).call(l,"Removes their comments, reposts and likes from your tracks and playlists",{name:"$t",hash:{},data:a,loc:{start:{line:6,column:6},end:{line:6,column:87}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||s).call(l,"Blocks them from interacting with you",{name:"$t",hash:{},data:a,loc:{start:{line:7,column:6},end:{line:7,column:52}}}))+"
\n
"+r((n(3)||t&&c(t,"$t")||s).call(l,"Sends SoundCloud a spam report",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:6},end:{line:8,column:45}}}))+'
'+c((n(3)||t&&u(t,"$t")||r).call(s,"For best results, upload images of at least 1000x1000 pixels. 2MB file-size limit.",{name:"$t",hash:{},data:a,loc:{start:{line:2,column:47},end:{line:2,column:138}}}))+'
'+r((n(3)||t&&c(t,"$t")||s).call(l,"Pick a file version that you want to download. Only you can see this.",{name:"$t",hash:{},data:a,loc:{start:{line:1,column:90},end:{line:1,column:168}}}))+'
\n '+c((n(3)||t&&u(t,"$t")||r).call(s,"Are you sure? It would mean no money!",{name:"$t",hash:{},data:a,loc:{start:{line:16,column:10},end:{line:16,column:56}}}))+'\n
\n"},useData:!0})},function(e,t,n){var o=n(12),i=n(2389);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},function(e,t,n){"use strict";n.r(t);var o=n(4),i=n.n(o),a=n(5),l=n.n(a)()(i.a);l.push([e.i,'.trackMonetizationBanner{background:#f3f3f3;background:var(--highlight-color);border:1px solid rgba(18,18,18,.15);border:1px solid rgba(var(--primary-rgb),.15);border-radius:4px}.trackMonetizationBanner.m-hidden{display:none}.trackMonetizationBanner__rowContent{flex:1}.trackMonetizationBanner__row{text-align:center}.trackMonetizationBanner.m-bye-visible .trackMonetizationBanner__hi,.trackMonetizationBanner:not(.m-bye-visible) .trackMonetizationBanner__bye{display:none}.trackMonetizationBanner__closeIcon{width:22px;height:22px;cursor:pointer;color:#666;color:var(--font-secondary-color)}.trackMonetizationBanner__buyLinks{display:inline-block;padding:0;list-style:none;line-height:10px;margin:0 0 0 5px}.trackMonetizationBanner__buyLinks>li{float:left}.trackMonetizationBanner__buyLinks>li:not(:last-child):after{content:"•";margin:0 5px 0 0}.trackMonetizationBanner a{text-decoration:underline;font-weight:400}',"",{version:3,sources:["webpack://./app/views/track-monetization/banner.css"],names:[],mappings:"AAAA,yBAAyB,kBAAkB,CAAC,iCAAiC,CAAC,mCAAmC,CAAC,6CAA6C,CAAC,iBAAiB,CAAC,kCAAkC,YAAY,CAAC,qCAAqC,MAAM,CAAC,8BAA8B,iBAAiB,CAAC,+IAA+I,YAAY,CAAC,oCAAoC,UAAU,CAAC,WAAW,CAAC,cAAc,CAAC,UAAU,CAAC,iCAAiC,CAAC,mCAAmC,oBAAoB,CAAC,SAAS,CAAC,eAAe,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,sCAAsC,UAAU,CAAC,6DAA6D,WAAW,CAAC,gBAAgB,CAAC,2BAA2B,yBAAyB,CAAC,eAAe",sourcesContent:['.trackMonetizationBanner{background:#f3f3f3;background:var(--highlight-color);border:1px solid rgba(18,18,18,.15);border:1px solid rgba(var(--primary-rgb),.15);border-radius:4px}.trackMonetizationBanner.m-hidden{display:none}.trackMonetizationBanner__rowContent{flex:1}.trackMonetizationBanner__row{text-align:center}.trackMonetizationBanner.m-bye-visible .trackMonetizationBanner__hi,.trackMonetizationBanner:not(.m-bye-visible) .trackMonetizationBanner__bye{display:none}.trackMonetizationBanner__closeIcon{width:22px;height:22px;cursor:pointer;color:#666;color:var(--font-secondary-color)}.trackMonetizationBanner__buyLinks{display:inline-block;padding:0;list-style:none;line-height:10px;margin:0 0 0 5px}.trackMonetizationBanner__buyLinks>li{float:left}.trackMonetizationBanner__buyLinks>li:not(:last-child):after{content:"•";margin:0 5px 0 0}.trackMonetizationBanner a{text-decoration:underline;font-weight:400}'],sourceRoot:""}]),t.default=l},function(e,t,n){var o=new(n(47))("has-dismissed");e.exports={viewClass:n(8).extend(n(38).withOptions("quota-upsell-banner"),n(89).withOptions({type:"pro"}),{template:n(2391),setup:function(){this.model=n(6).get("me"),this.model.hold()},getTemplateData:function(e){var t=n(234).getQuotaInfo(this.model),o=t.percentageUsed,a=t.isOverQuota,l=n(64).getCreatorLink({tcode:this.getUpsellRef()}),s=l.link,r=l.target,c=a?n(2).Lingua.t("You've reached your plan's upload limit."):n(2).Lingua.t("You've almost reached your plan's upload limit."),u=n(234).getUpgradeCreatorLinkText(s,r,"quotaUpsellBanner__link");return e.text=c+" "+u,e.onDismiss=function(){return i(o),void n(19).trackV1Click({click_name:"quota-upsell-banner::dismiss"})},e.onInteraction=function(){i(o)},e},getUpsellRef:function(){return this.model.isOverQuota()?"t355":"t354"}}),shouldShowBanner:function(){var e=n(6).get("me");return e.getOrFetch(["quota"]).then((function(){var t,a=n(234).getQuotaInfo(e),l=a.percentageUsed,s=a.isOverQuota;return(l>=90||s)&&function(e){var t,n=null==(t=o.get("quota-upsell-banner"))?void 0:t.percentage,a=n>0;n&&en}(l)&&(t=n(6).get("router").getLayoutInfo(),n(1).contains(["discover","stream","user"],null==t?void 0:t.layoutName))}))}};function i(e){o.set("quota-upsell-banner",{percentage:e})}},function(e,t,n){var o=n(14);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,i,a){var l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((n(9)||t&&l(t,"$view")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},n(87),{name:"$view",hash:{onInteraction:null!=t?l(t,"onInteraction"):t,onDismiss:null!=t?l(t,"onDismiss"):t,text:null!=t?l(t,"text"):t,kind:"alert_heavy"},data:a,loc:{start:{line:1,column:0},end:{line:1,column:106}}}))},useData:!0})},function(e,t,n){(function(t){function o(){return(o=Object.assign||function(e){for(var t=1;t-1?(o=e.get("track").id,i="sound"):(o=e.get("playlist").id,i="playlist"),s=a.indexOf("repost")>-1?"repost":"like",n(50)[s](o,i,!0,l);break;case"affiliation":n(50).follow(r,!0,l)}}))},fetchNotification:function(e){var t=n(10).defer(),o=n(578).getNewInstance([],{limit:1,offset:null});return o.baseUrl=n(32).modify(o.baseUrl,{query:{cursor:e}}),o.fetch().always((function(){o.release()})).done((function(){t.resolve(o.at(0))})).fail(t.reject),t},displayActivity:function(e){var t,o=e.get("type"),i=e.get(o.replace(/-.*/,"")),a=e.get("user")||i.user||{},l=a.username,s=i.title,c={title:" ",image:a.avatar_url,url:a.permalink_url.replace(/^https?:\/\/.*?\//,"/")};switch(o){case"track-like":case"favoriting":case"playlist-like":c.text=n(2).Lingua.t("[[username]] liked [[objectTitle]]",{username:l,objectTitle:s});break;case"track-repost":case"playlist-repost":c.text=n(2).Lingua.t("[[username]] reposted [[objectTitle]]",{username:l,objectTitle:s});break;case"comment":c.text=n(2).Lingua.t("[[username]] commented on [[objectTitle]]",{username:l,objectTitle:i.track.title}),c.url=n(32).modify(i.track.permalink_url,{path:n(32).parse(i.track.permalink_url).path+="/comment-"+i.id}).replace(/^https?:\/\/.*?\//,"/");break;case"affiliation":c.text=n(2).Lingua.t("[[username]] followed you",{username:l});break;case"track":c.text=n(2).Lingua.t("[[username]] mentioned you on a track",{username:l});break;case"playlist":c.text=n(2).Lingua.t("[[username]] mentioned you on a playlist",{username:l})}c.text=c.text.substr(0,74)+(c.text.length>75?"…":""),r(c).on("click",(t=c.url,function(e){e.preventDefault(),n(6).get("router").navigate(t,!0)})).addClass("sc-selection-disabled")},displayError:function(e,t){var o,a,l,s,c,u=null==t?void 0:t.action;switch(e){case"action":if(429===(o=t.xhr.status))return;"follow"===u?403===o?a=n(2).Lingua.t("Something went wrong when trying to perform this action."):422===o&&(s="https://help.soundcloud.com/hc/articles/115003446787",c=n(2).Lingua.t("Learn more"),a=n(2).Lingua.t("You have reached the limit of accounts that you can follow.")):"upload_image"===u?a=n(2).Lingua.t("Error uploading image."):"switch_locale"===u&&(a=n(2).Lingua.t("Something went wrong when switching languages. Please try again later.")),u&&!a&&(a=n(2).Lingua.t("Something went wrong when trying to perform this action.")),l=u;break;case"upload":t.type===n(232).ErrorTypes.FILE_SIZE_TOO_SMALL?(a=n(2).Lingua.tp("%d of your files is too small.","%d of your files are too small.",t.count),s=i,c=n(2).Lingua.t("Read about our supported file sizes.")):t.type===n(232).ErrorTypes.FILE_SIZE_TOO_LARGE?(a=n(2).Lingua.tp("%d of your files is too large.","%d of your files are too large.",t.count),s=i,c=n(2).Lingua.t("Read about our supported file sizes.")):t.type===n(232).ErrorTypes.FILE_TYPE_UNSUPPORTED&&(a=n(2).Lingua.tp("%d of your files is not supported.","%d of your files are not supported.",t.count),s=i,c=n(2).Lingua.t("Read about our supported file types.")),l=t.type;break;case"crossfade-upload":a=n(2).Lingua.t("Something went wrong while uploading your track(s)."),s=n(31).getRoute("upload"),c=n(2).Lingua.t("Please try again.")}a&&r({text:a+(c?' "+c+"":""),class_name:"error "+[e,l].join("-")})}});function a(){var e=n(6).get("router").getLayoutInfo();if("upload"!==(null==e?void 0:e.layoutName)){var t=n(64).getCreatorLink({tcode:"t957"}),o=t.link,i=t.target,a=n(2).Lingua.t('One or more uploads failed because you have exceeded your upload quota. Upgrade to increase your upload time',{link:o,target:i});u("overquota",{text:a,class_name:"error",time:1e4})}}var l=function(e){var t=e.find(".gritter-top")[0],o=e.find(".gritter-close")[0];n(178).render(n(0).createElement(n(13).Close,null),o),e.hasClass("big-success")&&n(178).render(n(0).createElement(n(13).Success,null),t),e.hasClass("error")&&n(178).render(n(0).createElement(n(13).Error,null),t)},s=function(e){var t=e.find(".gritter-top")[0],o=e.find(".gritter-close")[0];n(178).unmountComponentAtNode(o),(e.hasClass("big-success")||e.hasClass("error"))&&n(178).unmountComponentAtNode(t)};function r(e){e.after_close=s;var n=t.gritter.add(e),o=t("#gritter-item-"+n);l(o);var i=e.imageHref;if(i){var a='';o.find(".gritter-image").wrap(a)}return o}var c,u=(c=Object.create(null),function(e,o){var i=!function(e){return!!c[e]&&t("#gritter-item-"+c[e]).length>0}(e);i&&(o.after_close=s,c[e]=t.gritter.add(o));var a=t("#gritter-item-"+c[e]);return l(a),i||function(e,t){var n=t.text,o=t.title;e.find(".gritter-title").html((o||"").toString()),e.find("p").html((n||"").toString())}(a,n(1).pick(o,"text","title")),a});function d(e){return r({text:e,image:n(6).get("me").get("avatar_url"),class_name:"no-title"})}function p(e){var t=e.debounceTime,o=e.groupBy,i=void 0===o?function(){return""}:o,a=e.reducer,l=e.onCreate,s=void 0===l?n(1).noop:l,c=[],u=n(1).debounce((function(){n(1).chain(c).groupBy(i).mapObject(a).map(r).forEach(s),c.length=0}),t);return function(e){c.push(e),u()}}function m(){var e=this.attr("id").replace(/^.*-(\d+)$/,"$1");t.gritter.remove(e)}function h(e){f(e,"like")}function A(e){f(e,"repost")}var g=function(e){return n(31).getRoute("youNetwork",null,e)};function f(e,t){var o,i;if(e.state){var a="repost"===t,l="sound"===e.targetType,s="playlist"===e.targetType,c="system-playlist"===e.targetType,u=null==(o=e.targetModel)||null==o.isAlbum?void 0:o.isAlbum(),d=null==(i=e.targetModel)||null==i.isStation?void 0:i.isStation(),p=a?n(31).getRoute("feed"):l?g("likes"):u?g("albums"):d?g("stations"):s||c?g("sets"):void 0,m=new(n(60))({id:e.target,resource_type:e.targetType});m.release();var h={repost:n(2).Lingua.t("[[[pStart]]]was reposted to [[[linkStart]]]the feed[[[linkEnd]]].[[[pEnd]]]",{pStart:"
",pEnd:"
",linkStart:'',linkEnd:""}),save:n(2).Lingua.t("[[[pStart]]]was saved to [[[linkStart]]]your Library[[[linkEnd]]].[[[pEnd]]]",{pStart:"
",pEnd:"
",linkStart:'',linkEnd:""})};return r({title:oe(m.get("title")),text:h[a?"repost":"save"],image:n(70).urlFrom(m.attributes,50),class_name:"oneLine"})}}function _(e){var t=new(n(60))({id:e.target,resource_type:e.targetType}),o=r({title:oe(t.get("title")),text:n(2).Lingua.t("caption was added to your repost."),image:n(70).urlFrom(t.attributes,50),class_name:"oneLine"});return t.release(),o}function C(e){return this.displayError("action",o({action:"repost_caption:add"},e))}function v(){r({class_name:"big-success",text:n(2).Lingua.t("Link has been copied to the clipboard!")})}function y(){r({class_name:"error",text:n(2).Lingua.t("Failed to copy the link to the clipboard.")})}function b(e){var t=e.report,o=e.userData,i=o.username;return r({text:t?n(2).Lingua.t("You’ve blocked and reported [[username]] as spam.",{username:i}):n(2).Lingua.t("You’ve blocked [[username]].",{username:i}),image:n(70).urlFrom(o,50),class_name:"no-title"})}var x,w=(x=p({debounceTime:50,groupBy:"playlistId",reducer:function(e){var t=e[0],o=e.slice(1),i=!o.length,a=t.href,l=t.playlistTitle,s=i?n(2).Lingua.t("[[[pStart]]]was added to [[[linkStart]]][[playlistTitle]][[[linkEnd]]].[[[pEnd]]]",{playlistTitle:l,pStart:"
",pEnd:"
",linkStart:'',linkEnd:""}):n(2).Lingua.tp("[[[pStart]]]and %d other track were added to [[[linkStart]]][[playlistTitle]][[[linkEnd]]].[[[pEnd]]]","[[[pStart]]]and %d other tracks were added to [[[linkStart]]][[playlistTitle]][[[linkEnd]]].[[[pEnd]]]",o.length,{playlistTitle:l,pStart:"
",pEnd:"
",linkStart:'',linkEnd:""});return{title:t.soundTitle,text:s,image:t.image,class_name:i?"oneLine":""}}}),function(e){if(e.state&&e.target){var t=new(n(60))({id:e.target,resource_type:e.targetType}),o=e.object,i=n(31).getRoute("playlist",t);t.release(),x({playlistId:t.id,soundTitle:oe(o.get("title")),playlistTitle:t.get("title"),href:i,image:n(70).urlFrom(o.attributes,50)})}}),k=function(){var e=p({debounceTime:50,reducer:function(e){var t=e[0],o=e.slice(1),i=!o.length,a=i?n(2).Lingua.t("[[[pStart]]]was added to [[[linkStart]]]Next up[[[linkEnd]]].[[[pEnd]]]",{pStart:"
",pEnd:"
",linkStart:'',linkEnd:""}):n(2).Lingua.tp("[[[pStart]]]and %d other track were added to [[[linkStart]]]Next up[[[linkEnd]]].[[[pEnd]]]","[[[pStart]]]and %d other tracks were added to [[[linkStart]]]Next up[[[linkEnd]]].[[[pEnd]]]",o.length,{pStart:"
",pEnd:"
",linkStart:'',linkEnd:""});return{title:t.soundTitle,text:a,image:t.image,class_name:i?"oneLine":""}},onCreate:function(e){e.get(0).addEventListener("mouseup",(function(e){t(e.target).closest(".gritter-close").length||(e.preventDefault(),n(280).show())}))}});return function(t){t.explicit&&!n(280).isVisible()&&e({soundTitle:oe(t.sound.get("title")||""),image:n(70).urlFrom(t.sound.attributes,50)})}}();function B(){return u("no-flash",{title:n(2).Lingua.t("You need Adobe Flash Player to play this track."),text:n(2).Lingua.t('Please install Flash and reload the page.',{href:"http://get.adobe.com/flashplayer"}),sticky:!0,class_name:"error"})}function S(){return u("no-streams",{text:n(2).Lingua.t("This track can’t be played right now. Please try again later."),class_name:"error"})}function T(){var e=u("no-network",{text:n(2).Lingua.t("Your network connection seems to be disabled. Please check and retry."),class_name:"error",sticky:!0});return this.listenToOnce(n(11),"error:audio_connection_recovered",m.bind(e)),e}function P(){return u("audio-problem",{text:n(2).Lingua.t("There was a problem playing this track."),class_name:"error"})}function O(){var e=u("flash-block",{text:n(2).Lingua.t("It looks like you have a Flash blocker enabled. Please disable the Flash blocker to hear this track."),class_name:"error",sticky:!0});this.listenToOnce(n(11),"audio:flash_unblock",m.bind(e))}function I(e){return r({title:"Oops!",text:e||"Something went wrong with that request.",class_name:"error"})}function M(e){return r({text:e,class_name:"error"})}function E(){r({text:n(2).Lingua.t("Unable to save comment."),class_name:"error"})}function D(e){u("geoblocked",{text:n(2).Lingua.t("Sorry, “[[trackTitle]]” is not available in your country.",{trackTitle:e.sound.get("title")}),class_name:"error",time:1e4})}function $(){r({text:n(2).Lingua.t('It looks like you have a browser extension installed to enable downloads for all tracks on SoundCloud. This is discouraged by the community, and we feel it’s up to the creator whether or not their track is available for download. Please switch off this extension to continue using our download feature. For more information about downloads, refer to the help center article.',{link:"https://help.soundcloud.com/hc/articles/115003448787"}),sticky:!0,class_name:"error"})}function L(){return d(n(2).Lingua.t("Your notifications preferences have been updated successfully."))}function U(){return d(n(2).Lingua.t("Your settings have been updated successfully."))}function q(){return d(n(2).Lingua.t("Your profile has been updated successfully."))}function z(){return r({class_name:"big-success",text:n(2).Lingua.t("Your primary email address has been changed.")})}function R(){return r({class_name:"error",text:n(2).Lingua.t("Something went wrong changing your primary email address. Please try again.")})}function N(e){return d(n(2).Lingua.t("An email to [[email]] was sent.",{email:e}))}function W(e){return r({text:n(2).Lingua.t("Your track has been updated successfully."),image:e.getImageUrl(50),imageHref:n(31).getRoute("listen",e),class_name:"no-title"})}function V(e){return r({text:n(2).Lingua.t("Your monetization request has been submitted and will be reviewed within 24 hours."),class_name:"big-success"})}function j(e){return r({text:n(2).Lingua.t("Your playlist has been updated successfully."),image:n(70).urlFrom(e,50),imageHref:n(31).getRoute("playlist",e),class_name:"no-title"})}function F(e){return r({image:n(70).urlFrom(e,50),text:"playlist"===e.resource_type?n(2).Lingua.t("Your playlist will be deleted shortly."):n(2).Lingua.t("Your track will be deleted shortly."),class_name:"no-title"})}function H(e){var t,o=e.soundSaves[0];if(!o)return null;var i=o.sound.get("title"),a=n(2).Lingua.tp("has been updated","have been updated",e.soundSaves.length);if(1===e.soundSaves.length)t=n(138).usertextOneline(i,{links:!1,maxLength:30});else{var l=e.soundSaves.length-1;t=n(2).Lingua.tp("[[[trackTitle]]] and %d more track","[[[trackTitle]]] and %d more tracks",l,{trackTitle:n(138).usertextOneline(i,{links:!1,maxLength:12})})}return r({title:t,text:a,class_name:"big-success"})}function Y(e){null!=e&&e.showSuccessMessage&&r({text:n(2).Lingua.t("Your message to [[username]] was sent successfully",{username:e.recipient.username}),image:e.recipient.avatar_url,class_name:"no-title"})}function G(e){var t,o=null==(t=e.recipient)?void 0:t.username,i={default:n(2).Lingua.t("Unable to send message. Please retry."),forbidden:n(2).Lingua.t("Unable to send message to this user."),emailnotconfirmed:n(2).Lingua.t('You need to confirm your email address before sending messages. Check email settings.',{href:n(31).getRoute("settings")}),ratelimit:n(2).Lingua.t("Please wait a moment to send your message"),privacy:n(2).Lingua.t("Unable to send message, [[username]] only accepts messages from people that they follow.",{username:o}),receiverdoesntexist:n(2).Lingua.t("You cannot send this message. [[username]] has been deleted.",{username:o})}[e.errorCode];i&&r({text:i,class_name:"error"})}function Q(e){var t=e.plan,o=n(26).mapStringToProductId(t),i=n(36).getProductNameInstance().getNameVariants(o).short;r({class_name:"big-success",text:n(2).Lingua.t("You have reactivated your [[subscriptionPlan]] subscription!",{subscriptionPlan:i})})}function K(e){var t=e.plan,o=n(26).mapStringToProductId(t),i=n(36).getProductNameInstance().getNameVariants(o).short;r({class_name:"big-success",text:n(2).Lingua.t("Your downgrade has been cancelled, you will stay on [[subscriptionPlan]]",{subscriptionPlan:i})})}function X(){r({class_name:"error",text:n(2).Lingua.t("Something went wrong and your subscription hasn't changed. Try again.")})}function J(e){var t=e.plan,o=n(26).mapStringToProductId(t),i=n(36).getProductNameInstance().getNameVariants(o).short;r({class_name:"big-success",text:n(2).Lingua.t("You have cancelled your [[subscriptionPlan]] subscription!",{subscriptionPlan:i})})}function Z(){r({class_name:"error",text:n(2).Lingua.t("Something went wrong. Please try again.")})}function ee(){return d(n(2).Lingua.t("You successfully saved your new payment method."))}function te(){r({class_name:"error",text:n(2).Lingua.t("Something went wrong. Please try again.")})}function ne(){var e=u("trinity-stop",{class_name:"error",text:n(2).Lingua.t("Paused because you started playing on another device."),sticky:!0});return this.listenToOnce(n(11),"audio:play",m.bind(e)),e}function oe(e){return n(14).Utils.escapeExpression(e)}function ie(){r({class_name:"error",text:n(2).Lingua.t("Promotional offer unavailable.")})}function ae(){r({class_name:"error",text:n(2).Lingua.t("This promotion is available to new SoundCloud Go+ users only.")})}function le(){r({class_name:"error",text:n(2).Lingua.t("Something went wrong. Please try again.")})}function se(){r({class_name:"big-success",text:n(2).Lingua.t("Comment added")})}function re(){r({class_name:"error",text:n(2).Lingua.t("Something went wrong. Please try again.")})}function ce(){r({class_name:"big-success",text:n(2).Lingua.t("You picked [[planName]]. Great choice! Now back to uploading.",{planName:n(36).getProductNameInstance().getNameVariants(n(26).ProductId.CREATOR_SUBSCRIPTION_FREE).short})})}function ue(){r({class_name:"big-success",text:n(2).Lingua.t("You're In: Welcome to [[planName]].",{planName:n(36).getProductNameInstance().getNameVariants(n(26).ProductId.CREATOR_SUBSCRIPTION_3).short})})}function de(){r({class_name:"big-success",text:n(2).Lingua.t("You're In: Welcome to [[planName]].",{planName:n(36).getProductNameInstance().getNameVariants(n(26).ProductId.CREATOR_SUBSCRIPTION_4).short})})}function pe(e){r({class_name:"big-success",text:n(2).Lingua.t("Your subscription will be downgraded to [[planName]] on [[startDate]]",{planName:n(36).getProductNameInstance().getNameVariants(n(26).ProductId.CREATOR_SUBSCRIPTION_4).short,startDate:n(7).LinguaLib.dateTimeHelper.format(new Date(e),"readable")})})}var me={true:n(2).Lingua.t("This playlist is now public."),false:n(2).Lingua.t("This playlist is now private.")};function he(e){return u("system-playlist:privacy",{title:oe(e.get("title")),text:me[e.get("is_public")],image:n(70).urlFrom(e,50),imageHref:n(31).getRoute("systemPlaylist",e),class_name:"oneLine"})}}).call(this,n(25))},function(e,t,n){var o=n(12),i=n(2394);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},function(e,t,n){"use strict";n.r(t);var o=n(4),i=n.n(o),a=n(5),l=n.n(a)()(i.a);l.push([e.i,"#gritter-notice-wrapper{position:fixed;top:60px;right:30px;width:301px;z-index:9999}#gritter-notice-wrapper.top-left{left:20px;right:auto}#gritter-notice-wrapper.bottom-right{top:auto;left:auto;bottom:20px;right:20px}#gritter-notice-wrapper.bottom-left{top:auto;right:auto;bottom:20px;left:20px}.gritter-item-wrapper{box-sizing:border-box;position:relative;margin:0 0 10px;width:300px;color:#121212;color:var(--font-primary-color);background-color:#f3f3f3;background-color:var(--highlight-color);border-radius:4px;border:1px solid rgba(18,18,18,.15);border:1px solid rgba(var(--primary-rgb),.15);padding:8px;padding:var(--spacing-1x);display:flex}.gritter-item{overflow:hidden;cursor:pointer;display:flex;align-items:center}.gritter-item p{margin:0}.oneLine .gritter-item p,.oneLine .gritter-title{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-height:23px}.gritter-title{font-weight:700}.gritter-image{width:48px;height:48px;border-radius:3px}.gritter-with-image{margin-left:16px;margin-left:var(--spacing-2x);max-width:224px}.gritter-image-wrapper{display:block}.gritter-close{display:none;position:absolute;top:8px;top:var(--spacing-1x);right:8px;right:var(--spacing-1x);width:16px;height:16px;font-size:0;cursor:pointer;color:#666;color:var(--secondary-color)}.gritter-item-wrapper.error{min-height:36px}.error .gritter-item{cursor:default}.error .gritter-item p,.no-title .gritter-item p{max-height:none}.error .gritter-top,.gritter-item-wrapper.big-success .gritter-top{height:16px;width:16px;margin:2px 8px 0;margin:var(--spacing-0_25x) var(--spacing-1x) 0}.big-success .gritter-item,.error .gritter-item{margin-left:8px;margin-left:var(--spacing-1x)}.gritter-without-image{max-width:224px}@media (max-width:1079px){#gritter-notice-wrapper{right:20px}}","",{version:3,sources:["webpack://./app/views/notifications/bubbles.css"],names:[],mappings:"AAAA,wBAAwB,cAAc,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,YAAY,CAAC,iCAAiC,SAAS,CAAC,UAAU,CAAC,qCAAqC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC,UAAU,CAAC,oCAAoC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,sBAAsB,qBAAqB,CAAC,iBAAiB,CAAC,eAAe,CAAC,WAAW,CAAC,aAAa,CAAC,+BAA+B,CAAC,wBAAwB,CAAC,uCAAuC,CAAC,iBAAiB,CAAC,mCAAmC,CAAC,6CAA6C,CAAC,WAAW,CAAC,yBAAyB,CAAC,YAAY,CAAC,cAAc,eAAe,CAAC,cAAc,CAAC,YAAY,CAAC,kBAAkB,CAAC,gBAAgB,QAAQ,CAAC,iDAAiD,aAAa,CAAC,eAAe,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,eAAe,CAAC,eAAe,eAAe,CAAC,eAAe,UAAU,CAAC,WAAW,CAAC,iBAAiB,CAAC,oBAAoB,gBAAgB,CAAC,6BAA6B,CAAC,eAAe,CAAC,uBAAuB,aAAa,CAAC,eAAe,YAAY,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,SAAS,CAAC,uBAAuB,CAAC,UAAU,CAAC,WAAW,CAAC,WAAW,CAAC,cAAc,CAAC,UAAU,CAAC,4BAA4B,CAAC,4BAA4B,eAAe,CAAC,qBAAqB,cAAc,CAAC,iDAAiD,eAAe,CAAC,mEAAmE,WAAW,CAAC,UAAU,CAAC,gBAAgB,CAAC,+CAA+C,CAAC,gDAAgD,eAAe,CAAC,6BAA6B,CAAC,uBAAuB,eAAe,CAAC,0BAA0B,wBAAwB,UAAU,CAAC",sourcesContent:["#gritter-notice-wrapper{position:fixed;top:60px;right:30px;width:301px;z-index:9999}#gritter-notice-wrapper.top-left{left:20px;right:auto}#gritter-notice-wrapper.bottom-right{top:auto;left:auto;bottom:20px;right:20px}#gritter-notice-wrapper.bottom-left{top:auto;right:auto;bottom:20px;left:20px}.gritter-item-wrapper{box-sizing:border-box;position:relative;margin:0 0 10px;width:300px;color:#121212;color:var(--font-primary-color);background-color:#f3f3f3;background-color:var(--highlight-color);border-radius:4px;border:1px solid rgba(18,18,18,.15);border:1px solid rgba(var(--primary-rgb),.15);padding:8px;padding:var(--spacing-1x);display:flex}.gritter-item{overflow:hidden;cursor:pointer;display:flex;align-items:center}.gritter-item p{margin:0}.oneLine .gritter-item p,.oneLine .gritter-title{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-height:23px}.gritter-title{font-weight:700}.gritter-image{width:48px;height:48px;border-radius:3px}.gritter-with-image{margin-left:16px;margin-left:var(--spacing-2x);max-width:224px}.gritter-image-wrapper{display:block}.gritter-close{display:none;position:absolute;top:8px;top:var(--spacing-1x);right:8px;right:var(--spacing-1x);width:16px;height:16px;font-size:0;cursor:pointer;color:#666;color:var(--secondary-color)}.gritter-item-wrapper.error{min-height:36px}.error .gritter-item{cursor:default}.error .gritter-item p,.no-title .gritter-item p{max-height:none}.error .gritter-top,.gritter-item-wrapper.big-success .gritter-top{height:16px;width:16px;margin:2px 8px 0;margin:var(--spacing-0_25x) var(--spacing-1x) 0}.big-success .gritter-item,.error .gritter-item{margin-left:8px;margin-left:var(--spacing-1x)}.gritter-without-image{max-width:224px}@media (max-width:1079px){#gritter-notice-wrapper{right:20px}}"],sourceRoot:""}]),t.default=l},function(e,t,n){"use strict";n.r(t);var o=n(6),i=n.n(o),a=n(51),l=n.n(a),s=n(154),r=n.n(s),c=(n(115),n(11)),u=n.n(c),d=n(38),p=n.n(d),m=n(198),h=n(20),A=n.n(h),g=n(8),f=n.n(g),_=n(97),C=n.n(_),v=n(85),y=n.n(v),b=n(88),x=n(205);function w(){return(w=Object.assign||function(e){for(var t=1;t0),this.listenToOnce(e,"add reset",P)},getTemplateData:function(e){return w({},e,{showVolume:!C.a.ios,showQualityIndicator:i.a.get("features").has("show_quality")||i.a.get("features").has("internal_qa"),upsellStyling:this.getExperimentValue("v2_audio_ads_upsell_styling","enabled",!1)})},renderDecorate:function(){var e=this;r.a.getInstance().then((function(t){t.isAvailable()&&e.toggleState("googleCastActive",!0),e.listenTo(u.a,"googleCast:available",(function(){e.toggleState("googleCastActive",!0)})),e.listenTo(u.a,"googleCast:unavailable",(function(){e.toggleState("googleCastActive",!1)}))}))}});function B(){this.toggleState("visible",!0)}function S(){this.toggleState("visible",!0)}function T(e){this.toggleState("queueVisible",e)}function P(){this.toggleState("visible",!0)}t.default=k},function(e,t,n){var o=n(14);e.exports=(o.default||o).template({1:function(e,t,o,i,a){var l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+c((n(3)||t&&u(t,"$t")||r).call(s,"Use shift and the arrow up and down keys to change the volume.",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:54},end:{line:8,column:125}}}))+'
\n '+u((n(3)||t&&d(t,"$t")||c).call(r,"Ad",{name:"$t",hash:{_comment:"Label to indicate that an advertisement is playing. Short for 'Advertisement'."},data:a,loc:{start:{line:5,column:14},end:{line:5,column:115}}}))+""+(null!=(l=d(o,"if").call(r,null!=t?d(t,"showAdSessionProgress"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:6,column:8},end:{line:14,column:15}}}))?l:"")+"
\n '+r((n(29)||t&&c(t,"$react-view")||s).call(l,null!=t?c(t,"userIcon"):t,{name:"$react-view",hash:{className:"whyAdsDsa__configListIcon"},data:a,loc:{start:{line:16,column:10},end:{line:16,column:73}}}))+"\n "+r((n(3)||t&&c(t,"$t")||s).call(l,"Age: [[age]] or older",{name:"$t",hash:{_comment:"List item in 'Why ads?' modal. [[age]] is a number.",age:null!=t?c(t,"age"):t},data:a,loc:{start:{line:17,column:8},end:{line:20,column:10}}}))+"\n
\n '+r((n(29)||t&&c(t,"$react-view")||s).call(l,null!=t?c(t,"locationIcon"):t,{name:"$react-view",hash:{className:"whyAdsDsa__configListIcon"},data:a,loc:{start:{line:25,column:8},end:{line:25,column:75}}}))+"\n "+r((n(3)||t&&c(t,"$t")||s).call(l,"Region: [[region]]",{name:"$t",hash:{_comment:"List item in 'Why ads?' modal. [[region]] is a string.",region:null!=t?c(t,"region"):t},data:a,loc:{start:{line:26,column:8},end:{line:29,column:10}}}))+"\n
\n '+c((n(3)||t&&u(t,"$t")||r).call(s,"Why am I seeing this ad?",{name:"$t",hash:{},data:a,loc:{start:{line:2,column:2},end:{line:2,column:35}}}))+'\n
\n\n\n
\n '+c((n(3)||t&&u(t,"$t")||r).call(s,"This [[[advertiser]]] ad has been directed to your profile based on the following information:",{name:"$t",hash:{advertiser:(n(296)||t&&u(t,"$concat")||r).call(s,'',null!=t?u(t,"advertiser"):t,"",{name:"$concat",hash:{},data:a,loc:{start:{line:8,column:15},end:{line:9,column:70}}})},data:a,loc:{start:{line:7,column:2},end:{line:10,column:4}}}))+'\n
\n '+c((n(3)||t&&u(t,"$t")||r).call(s,"Looking for more tracks?",{name:"$t",hash:{},data:a,loc:{start:{line:47,column:6},end:{line:47,column:39}}}))+"\n"+(null!=(l=u(o,"if").call(s,null!=t?u(t,"areAllSoundsMine"):t,{name:"if",hash:{},fn:e.program(6,a,0),inverse:e.program(8,a,0),data:a,loc:{start:{line:48,column:6},end:{line:52,column:13}}}))?l:"")+"
\n\n "+c((n(9)||t&&u(t,"$view")||r).call(s,n(2615),{name:"$view",hash:{field:"sounds",resource_id:null!=t?u(t,"_resource_id"):t,Form:n(251)},data:a,loc:{start:{line:55,column:4},end:{line:59,column:6}}}))+"\n \n"},6:function(e,t,o,i,a){var l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((n(3)||t&&l(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Add some of your own.",{name:"$t",hash:{},data:a,loc:{start:{line:49,column:8},end:{line:49,column:38}}}))+"\n"},8:function(e,t,o,i,a){var l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((n(3)||t&&l(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Add some from your likes.",{name:"$t",hash:{},data:a,loc:{start:{line:51,column:8},end:{line:51,column:42}}}))+"\n"},compiler:[8,">= 4.3.0"],main:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n'+(null!=(l=r(o,"if").call(s,null!=t?r(t,"playlist"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.program(3,a,0),data:a,loc:{start:{line:2,column:2},end:{line:35,column:9}}}))?l:"")+" "+e.escapeExpression((n(9)||t&&r(t,"$view")||e.hooks.helperMissing).call(s,n(2622),{name:"$view",hash:{isSaved:null!=t?r(t,"isSaved"):t,field:"sounds",resource_id:null!=t?r(t,"_resource_id"):t,Form:n(251)},data:a,loc:{start:{line:36,column:2},end:{line:41,column:4}}}))+"\n\n\n"+(null!=(l=r(o,"if").call(s,null!=t?r(t,"showSuggestions"):t,{name:"if",hash:{},fn:e.program(5,a,0),inverse:e.noop,data:a,loc:{start:{line:44,column:0},end:{line:61,column:7}}}))?l:"")},useData:!0})},function(e,t,n){var o=n(14);e.exports=(o.default||o).template({1:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n '+c((n(3)||t&&u(t,"$t")||r).call(s,"Replace your master track and keep your plays, likes, and comments.",{name:"$t",hash:{},data:a,loc:{start:{line:16,column:12},end:{line:16,column:88}}}))+'\n
'+c((n(3)||t&&u(t,"$t")||r).call(s,"Delete this track and lose your plays, likes, and comments forever.",{name:"$t",hash:{},data:a,loc:{start:{line:32,column:74},end:{line:32,column:150}}}))+'
\n
\n \n \n
\n
\n
\n"},2:function(e,t,n,o,i){return" [[[planName]]] artists can [[[spanStart]]]replace their files[[[spanEnd]]] and keep their stats\n"},4:function(e,t,n,o,i){return" Available to [[[planName]]] subscribers\n"},6:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+c((n(3)||t&&u(t,"$t")||r).call(s,"Permanently delete this track?",{name:"$t",hash:{},data:a,loc:{start:{line:40,column:53},end:{line:40,column:92}}}))+'
\n
\n
\n
'+c((n(3)||t&&u(t,"$t")||r).call(s,"Removing this track is irreversible. You will lose all the plays, likes and comments for this track with no way to get them back.",{name:"$t",hash:{},data:a,loc:{start:{line:43,column:74},end:{line:43,column:212}}}))+'
\n"},8:function(e,t,n,o,i){return" Never have to delete a track again. Unlock limitless upload time and the ability to replace tracks with a [[[planName]]] plan.\n"},compiler:[8,">= 4.3.0"],main:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n '+e.escapeExpression((n(9)||t&&r(t,"$view")||e.hooks.helperMissing).call(s,n(493),{name:"$view",hash:{hide_footer:!0,hide_comments:!0,hide_genre:!0,hide_actions:!0,resource_type:null!=t?r(t,"_resource_type"):t,resource_id:null!=t?r(t,"_resource_id"):t},data:a,loc:{start:{line:2,column:2},end:{line:2,column:155}}}))+'\n\n\n\n'+(null!=(l=r(o,"if").call(s,null!=t?r(t,"showReplaceTrackUpsell"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.program(6,a,0),data:a,loc:{start:{line:6,column:2},end:{line:66,column:9}}}))?l:"")+"\n"},useData:!0})},function(e,t,n){var o=n(14);e.exports=(o.default||o).template({1:function(e,t,o,i,a){var l,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+e.escapeExpression((n(9)||t&&s(t,"$view")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},n(876),{name:"$view",hash:{caption:null!=t?s(t,"caption"):t,target:null!=t?s(t,"model"):t,time_to_show:null!=t?s(t,"time_to_show"):t,is_promoted:null!=(l=null!=t?s(t,"_options"):t)?s(l,"is_promoted"):l,soundType:null!=(l=null!=t?s(t,"model"):t)?s(l,"_resource_type"):l,actionType:null!=(l=null!=t?s(t,"_options"):t)?s(l,"actionType"):l,resource_id:null!=t?s(t,"actor"):t},data:a,loc:{start:{line:2,column:2},end:{line:11,column:4}}}))+"\n"},3:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+e.escapeExpression((n(3)||t&&l(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"This playlist has no tracks yet",{name:"$t",hash:{},data:a,loc:{start:{line:3,column:65},end:{line:3,column:105}}}))+"
\n '+r((n(3)||t&&c(t,"$t")||s).call(l,"Anyone will be able to find and view this playlist.",{name:"$t",hash:{},data:a,loc:{start:{line:5,column:6},end:{line:5,column:66}}}))+'\n
\n
\n
'+r((n(3)||t&&c(t,"$t")||s).call(l,"Share a public link",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:57},end:{line:8,column:85}}}))+"
\n"},useData:!0})},function(e,t,n){var o=n(12),i=n(2558);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},function(e,t,n){"use strict";n.r(t);var o=n(4),i=n.n(o),a=n(5),l=n.n(a)()(i.a);l.push([e.i,".socialButtonsPanel__shareButton{float:left}.socialButtonsPanel__shareButton:last-child{margin-right:0}","",{version:3,sources:["webpack://./app/views/share/social-buttons.css"],names:[],mappings:"AAAA,iCAAiC,UAAU,CAAC,4CAA4C,cAAc",sourcesContent:[".socialButtonsPanel__shareButton{float:left}.socialButtonsPanel__shareButton:last-child{margin-right:0}"],sourceRoot:""}]),t.default=l},function(e,t,n){var o=n(14);e.exports=(o.default||o).template({1:function(e,t,o,i,a){var l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,r=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n '+e.escapeExpression((n(9)||t&&r(t,"$view")||s).call(l,n(170),{name:"$view",hash:{className:"shareLink__from",label:(n(3)||t&&r(t,"$t")||s).call(l,"at",{name:"$t",hash:{_comment:"share a position of a track (Eye of the Tiger 'at' 01:20min)"},data:a,loc:{start:{line:7,column:10},end:{line:7,column:91}}}),name:"share_from"},data:a,loc:{start:{line:5,column:2},end:{line:9,column:4}}}))+"\n"},3:function(e,t,o,i,a){var l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,r=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" "+r((n(9)||t&&c(t,"$view")||s).call(l,n(170),{name:"$view",hash:{checked:null!=t?c(t,"_value"):t,inputClassName:"shareLink__shortenLink__control",className:"shareLink__shortenLink",label:(n(3)||t&&c(t,"$t")||s).call(l,"Shorten link",{name:"$t",hash:{_comment:"shorten the shared link"},data:a,loc:{start:{line:14,column:10},end:{line:14,column:64}}}),name:"shorten_link"},data:a,loc:{start:{line:12,column:2},end:{line:18,column:4}}}))+'\n
\n '+r((n(3)||t&&c(t,"$t")||s).call(l,"Something went wrong. Please try again.",{name:"$t",hash:{},data:a,loc:{start:{line:20,column:4},end:{line:20,column:52}}}))+"\n
'+r((n(3)||t&&c(t,"$t")||s).call(l,"This [[audibleType]] is set to private and can only be shared using the secret link above. You can reset the secret link if you want to revoke access.",{name:"$t",hash:{audibleType:null!=t?c(t,"audibleType"):t},data:a,loc:{start:{line:6,column:75},end:{line:6,column:262}}}))+'
\n
'+r((n(3)||t&&c(t,"$t")||s).call(l,"Are you sure you want to reset this link? It will not be possible to access this [[audibleType]] from any existing shares.",{name:"$t",hash:{audibleType:null!=t?c(t,"audibleType"):t},data:a,loc:{start:{line:7,column:88},end:{line:7,column:248}}}))+'
\n
'+r((n(3)||t&&c(t,"$t")||s).call(l,"There was a problem resetting the link. Please try again later.",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:74},end:{line:8,column:146}}}))+'
\n
\n \n
\n \n \n
\n
\n
'+r((n(3)||t&&c(t,"$t")||s).call(l,"The secret link has been successfully reset.",{name:"$t",hash:{},data:a,loc:{start:{line:16,column:58},end:{line:16,column:111}}}))+"
\n"},useData:!0})},function(e,t,n){(function(t){var o=new(n(47))("widget-preferences"),i={color:"#ff5500",inverse:!1,auto_play:!1,hide_related:!1,show_comments:!0,show_user:!0,show_reposts:!1,show_teaser:!0,height:300},a=["300","450","600"],l=[{type:"light",text:n(2).Lingua.t("light")},{type:"dark",text:n(2).Lingua.t("dark")}],s=["visual","html5","html5_mini"];e.exports=n(8).extend(n(145),n(126),{template:n(2573),css:n(2582),className:"widgetCustomization",element2selector:{options:".widgetCustomization__option",players:".widgetCustomization__player",playerContainer:".widgetCustomization__players","visual-player":'[data-sc-player-type="visual"]',"html5-player":'[data-sc-player-type="html5"]',"html5_mini-player":'[data-sc-player-type="html5_mini"]',"widget-code-input":".widgetCustomization__widgetCode"},events:{'click input[type="text"]':function(e){t(e.target).select()},"change .widgetCustomization__backgroundStyle":function(e){this.inverseWidgetColor(e.target.value)},"change .widgetCustomization__height":function(e){this.widgetParams.height=e.target.value,o.set("height",this.widgetParams.height),this.setDirty(!0),this.insertIframe()},"copy .widgetCustomization__widgetCode":function(){this.logCopyOnce()}},bubbleEvents:{"checkbox:change":function(e){var t=e.data,n=t.name;this.widgetParams[n]=t.checked,"auto_play"!==n&&this.setDirty(!0);"hide_related"===n&&(this.widgetParams[n]=!t.checked);o.set(n,this.widgetParams[n]),this.insertIframe()},"color:change":function(e){var t=e.data;this.widgetParams.color=t,o.set("color",t),this.setDirty(!0),this.insertIframe()}},defaults:{type:"visual",share_type:null,dialogType:"genericProUpsell",dialogSelector:".widgetCustomization__upsell .widgetCustomization__checkbox"},dialogArgs:function(){var e=this.options.dialogSelector;return{togglerEl:this.$(e),subviewArgs:{text:n(2).Lingua.t("Unlock more control with [[planName]].",{planName:n(36).getProductNameInstance().getNameVariants(n(26).ProductId.CREATOR_SUBSCRIPTION_3).short}),buttonText:n(2).Lingua.t("Try [[planName]]",{planName:n(36).getProductNameInstance().getNameVariants(n(26).ProductId.CREATOR_SUBSCRIPTION_3).short}),tcode:"t230"}}},setup:function(e){this.widgetType=e.type,this.isDirty={},s.forEach((function(e){this.isDirty[e]=!0}),this);var t=Object.keys(i).reduce((function(e,t){var i,a=o.get(t);return void 0!==a?n(1).assign(e,((i={})[t]=a,i)):e}),{});this.widgetParams=n(1).assign({},i,t),this.$el.addClass("type-"+e.resource_type),this.insertIframe=n(1).debounce(r,500)},setWidgetType:function(e){this.widgetType=e,this.togglePlayer(),this.toggleOptions(),this.insertIframe()},getTemplateData:function(e){var t=this;return e.heights=a.map((function(e){return{height:e,active:e===t.widgetParams.height,displayValue:e+"px"}})),e.backgrounds=l.map((function(e){return n(1).assign({},e,{active:t.widgetParams.inverse?"dark"===e.type:"light"===e.type})})),e.showUpsell=!n(6).get("features").has("widget_options"),e.disableExtraOptions=e.showUpsell,e.isUserWidget=this.isUser,e.isSoundWidget="sound"===this.options.resource_type,e.isPlaylistWidget="playlist"===this.options.resource_type,e.widgetParams=this.widgetParams,e.showRecommendations=!this.widgetParams.hide_related,e.showTeaser=this.widgetParams.show_teaser,e.artworkUrl=n(385).urlFrom(this.model,null,null,!0),e.cookieCopy=n(2).Lingua.t("This player uses cookies in accordance with our [[[linkStart]]]Cookies policy[[[linkEnd]]]. We may collect usage data for analytics purposes. It is your responsibility to disclose this to visitors of any site where you embed the player.",{linkStart:'',linkEnd:""}),e},renderDecorate:function(){var e=this;this.togglePlayer(),this.toggleOptions(),this.insertIframe(),n(892).makeReadOnly(this.getElement("widget-code-input")),this.logCopyOnce=n(1).once((function(){n(19).trackShareClick({click_target:c(e.widgetType),context:{scope:[e.widgetType]}})}))},setDirty:function(e){e?n(1).each(this.isDirty,(function(e,t,n){n[t]=!0})):this.isDirty[this.widgetType]=!1},togglePlayer:function(){var e=this.widgetType;this.getElement("players").toggleClass("sc-hidden",!0),this.getElement(e+"-player").toggleClass("sc-hidden",!1),this.getElement("playerContainer").removeClass(s.join(" ")).addClass(e)},toggleOptions:function(){this.getElement("options").toggleClass("sc-hidden",!0).filter('[data-sc-available~="'+this.widgetType+'"]').toggleClass("sc-hidden",!1)},inverseWidgetColor:function(e){var t="dark"===e;this.widgetParams.inverse=t,o.set("inverse",t),this.setDirty(!0),this.insertIframe()}});function r(){if(!this.disposed){var e=this.model.getShareAttributes({type:this.options.share_type}),o=this.widgetType,i=this.widgetParams,a="visual"===o?i.height:void 0,l=this.getElement("widget-code-input"),s=this.getElement("html5_mini-player"),r={type:o,params:i,height:a},c=n(1).assign({},r);c.params=n(1).assign({},r.params,{auto_play:!1});var u=n(894)(e,r),d=t(n(894)(e,n(1).assign({},c)));this.isDirty[o]&&(this.getElement(o+"-player").html(d),this.setDirty(!1),"html5_mini"===o&&(s.removeClass("miniLoaded sc-background-darkgrey sc-background-light"),d.one("load",(function(){s.addClass("miniLoaded"),s.toggleClass("sc-background-darkgrey",i.inverse),s.toggleClass("sc-background-light",!i.inverse)})))),l.val(u)}}function c(e){switch(e){case"visual":return"visual_embed";case"html5":return"html5_embed";case"html5_mini":return"html5_mini_embed"}}}).call(this,n(25))},function(e,t,n){var o=n(14);e.exports=(o.default||o).template({1:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n"},3:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n"},5:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+u((n(3)||t&&d(t,"$t")||c).call(r,"Code",{name:"$t",hash:{_comment:"A code for the SoundCloud embed that you can share"},data:a,loc:{start:{line:1,column:49},end:{line:1,column:124}}}))+'
'+u((n(3)||t&&d(t,"$t")||c).call(r,"Options",{name:"$t",hash:{_comment:"Options for configuring the SoundCloud embed"},data:a,loc:{start:{line:7,column:58},end:{line:7,column:130}}}))+'
\n \n\n \n \x3c!-- The color picker library will automatically set the background color of an element in its container, so we add a hidden one since we do not need that behaviour --\x3e\n \n
\n '+e.escapeExpression((n(3)||t&&l(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Report track for",{name:"$t",hash:{_comment:'This is a phrase that gets completed by other words like "Report track for Private violation"'},data:a,loc:{start:{line:3,column:4},end:{line:3,column:136}}}))+'\n
\n"},7:function(e,t,n,o,i){return' Reported tracks are reviewed by a specialist team who take action if the content violates our\n Guidelines\n or Terms. Repeated violation or serious breaches can result\n in the permanent deletion of accounts.\n'},compiler:[8,">= 4.3.0"],main:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(l=c(o,"if").call(s,null!=(l=null!=t?c(t,"_options"):t)?c(l,"standalone"):l,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:0},end:{line:6,column:7}}}))?l:"")+"\n"+(null!=(l=c(o,"if").call(s,null!=t?c(t,"ownsTrack"):t,{name:"if",hash:{},fn:e.program(3,a,0),inverse:e.program(5,a,0),data:a,loc:{start:{line:8,column:0},end:{line:23,column:7}}}))?l:"")+'\n
\n '+c((n(9)||t&&u(t,"$view")||r).call(s,n(390),{name:"$view",hash:{title:(n(3)||t&&u(t,"$t")||r).call(s,"What do you want to report?",{name:"$t",hash:{},data:a,loc:{start:{line:11,column:10},end:{line:11,column:44}}}),direction:"vertical",selectedValue:null!=t?u(t,"initialValue"):t,radioButtons:null!=t?u(t,"radioButtons"):t,name:"report-type"},data:a,loc:{start:{line:6,column:2},end:{line:12,column:4}}}))+'\n
\n\n
\n
'+c((n(3)||t&&u(t,"$t")||r).call(s,"Reason for this report",{name:"$t",hash:{},data:a,loc:{start:{line:16,column:80},end:{line:16,column:111}}}))+'
\n '+e.escapeExpression((n(3)||t&&l(t,"$t")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"Report caption for",{name:"$t",hash:{_comment:'This is a phrase that gets completed by other words like "Report caption for Private violation"'},data:a,loc:{start:{line:3,column:4},end:{line:3,column:140}}}))+'\n
\n \n'},3:function(e,t,n,o,i){return' Reported captions are reviewed by a specialist team who take action if the content violates our\n Guidelines\n or Terms. Repeated violation or serious breaches can result\n in the permanent deletion of accounts.\n'},compiler:[8,">= 4.3.0"],main:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(l=u(o,"if").call(s,null!=(l=null!=t?u(t,"_options"):t)?u(l,"standalone"):l,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:0},end:{line:6,column:7}}}))?l:"")+'\n
\n '+r((n(3)||t&&c(t,"$t")||s).call(l,"Hear related tracks based on what’s playing now.",{name:"$t",hash:{_comment:"Instead of a space, put ' ' between the last two words"},data:a,loc:{start:{line:8,column:8},end:{line:8,column:141}}}))+'\n
\n '+c((n(3)||t&&u(t,"$t")||r).call(s,"Casting to [[[castDeviceName]]]",{name:"$t",hash:{castDeviceName:null!=t?u(t,"castDeviceName"):t},data:a,loc:{start:{line:23,column:8},end:{line:23,column:78}}}))+'\n
\n
\n '+c((n(3)||t&&u(t,"$t")||r).call(s,"Hear related tracks based on what’s playing now.",{name:"$t",hash:{_comment:"Instead of a space, put ' ' between the last two words"},data:a,loc:{start:{line:26,column:8},end:{line:26,column:141}}}))+"\n
\n"},useData:!0})},function(e,t,n){var o=n(12),i=n(2679);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var a={insert:"head",singleton:!1},l=(o(i,a),i.locals?i.locals:{});e.exports=l},function(e,t,n){"use strict";n.r(t);var o=n(4),i=n.n(o),a=n(5),l=n.n(a)()(i.a);l.push([e.i,".confirmationModal__buttons{float:right}","",{version:3,sources:["webpack://./app/views/modals/confirmation.css"],names:[],mappings:"AAAA,4BAA4B,WAAW",sourcesContent:[".confirmationModal__buttons{float:right}"],sourceRoot:""}]),t.default=l},,function(e,t,n){e.exports=n(8).extend({template:n(2682),className:"deniedSignup"})},function(e,t,n){var o=n(14);e.exports=(o.default||o).template({1:function(e,t,n,o,i){return' Our robots think this signup looks too much like spam. If you believe this to be a mistake, refer to the help center article.\n'},compiler:[8,">= 4.3.0"],main:function(e,t,o,i,a){var l,s=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
'+e.escapeExpression((n(3)||t&&c(t,"$t")||r).call(s,"We couldn’t sign you up",{name:"$t",hash:{},data:a,loc:{start:{line:1,column:29},end:{line:1,column:61}}}))+'
\n"},2:function(e,t,n,o,i){return' If your account is performing many more actions when compared to most others, it loses the human touch. You can\n find out more about this policy in our help center.\n'},4:function(e,t,n,o,i){return' Remember that there is a fine line between promoting yourself and bombarding other users with notifications. We\n want our community to remain a genuine, positive place for members to interact, so remember to stick to our\n Community Guidelines.\n'},6:function(e,t,o,i,a){var l,s,r,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]},p="
\n"},7:function(e,t,n,o,i){return" As mentioned in our Terms of use, a high volume of similar actions from an account in a short period of time will\n be considered a violation of our anti-spam policies. As these actions aim to unfairly boost popularity within the\n community, they are forbidden on our platform.\n"},9:function(e,t,n,o,i){return' If you want some tips on how to better promote yourself, and get heard, refer to the page about\n community building.\n If you have been blocked and want to understand more, refer to the page\n What have I been blocked for?.\n'},11:function(e,t,o,i,a){var l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n "+c("function"==typeof(l=null!=(l=u(o,"unblock_msg")||(null!=t?u(t,"unblock_msg"):t))?l:r)?l.call(s,{name:"unblock_msg",hash:{},data:a,loc:{start:{line:45,column:4},end:{line:45,column:19}}}):l)+"\n "+c((n(3)||t&&u(t,"$t")||r).call(s,"The more you hit these limits, the longer the block will last.",{name:"$t",hash:{},data:a,loc:{start:{line:46,column:4},end:{line:46,column:75}}}))+"\n
\n
"+c((n(3)||t&&u(t,"$t")||r).call(s,"We appreciate your understanding.",{name:"$t",hash:{},data:a,loc:{start:{line:48,column:5},end:{line:48,column:47}}}))+"
"+r((n(3)||t&&c(t,"$t")||s).call(l,"Only users [[requiredAge]] years and older are allowed to follow this profile.",{name:"$t",hash:{requiredAge:null!=t?c(t,"requiredAge"):t},data:a,loc:{start:{line:3,column:5},end:{line:3,column:116}}}))+'
'+r((n(3)||t&&c(t,"$t")||s).call(l,"Please verify your age",{name:"$t",hash:{},data:a,loc:{start:{line:8,column:31},end:{line:8,column:62}}}))+"
\n\n
"+r((n(3)||t&&c(t,"$t")||s).call(l,'[[username]] has determined that some of its content may be inappropriate for users under a certain age. To follow this profile, please confirm you’re of the required age.',{name:"$t",hash:{username:null!=t?c(t,"followeeUsername"):t},data:a,loc:{start:{line:10,column:5},end:{line:10,column:269}}}))+"
\n\n
"+r((n(3)||t&&c(t,"$t")||s).call(l,"This information will be saved on your profile.",{name:"$t",hash:{},data:a,loc:{start:{line:12,column:5},end:{line:12,column:61}}}))+'
'+c((n(3)||t&&u(t,"$t")||r).call(s,"Hear more – sign up for SoundCloud",{name:"$t",hash:{},data:a,loc:{start:{line:19,column:7},end:{line:19,column:56}}}))+"
\n
\n
"+c((n(3)||t&&u(t,"$t")||r).call(s,"Save and share this and other favorites",{name:"$t",hash:{},data:a,loc:{start:{line:21,column:10},end:{line:21,column:58}}}))+"
\n
"+c((n(3)||t&&u(t,"$t")||r).call(s,"Create and share playlists",{name:"$t",hash:{},data:a,loc:{start:{line:22,column:10},end:{line:22,column:45}}}))+"
\n
"+c((n(3)||t&&u(t,"$t")||r).call(s,"Be the first to hear what [[username]] posts next",{name:"$t",hash:{username:null!=(l=null!=t?u(t,"user"):t)?u(l,"username"):l},data:a,loc:{start:{line:23,column:10},end:{line:23,column:91}}}))+'