(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5786],{14435:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(37876);n(14232);var a=n(43442);let r=[["end-user-agreement","3-terms_and_conditions_of_use"],["intellectual-property-policy","3-intellectual-property-policy"],["privacy-policy","3-privacy_policy"],["user-guidelines","user_guidelines"],["premium-promotional-offer-terms","premium_offer_terms"]],s=[["end-user-agreement","3-terms_and_conditions_of_use"],["intellectual-property-policy","3-intellectual-property-policy"],["privacy-policy","3-privacy_policy"],["user-guidelines","user_guidelines"],["paid-subscription-terms","3-paid-subscription-terms"]],l={...["au","be-fr","be-nl","ca-en","ca-fr","ch-de","ch-fr","dk-da","dk-en","fr","ie","li","nl","nl-en","nz","se","uk","us","es","es-ca","pt-pt","pt-en","it"].reduce((e,t)=>({...e,[t]:s}),{}),jp:[...r,["licensing-info","3-licensing_info"],["specified-commercial-transactions","3-specified_commercial_transactions"]],"za-en":[...r,["paia-manual","3-paia-manual","https://wwwlegal.spotifycdn.com/pdfs/Spotify_Promotion%20of%20Access%20to%20Information%20Act%20-%20Manual_May%202023.pdf"]],"za-zu":[...r,["paia-manual","3-paia-manual","https://wwwlegal.spotifycdn.com/pdfs/Spotify_Promotion%20of%20Access%20to%20Information%20Act%20-%20Manual_May%202023.pdf"]]},o=e=>{let{locale:t,selectedType:n}=e,{t:s}=(0,a.B)(),o=r;return t in l&&(o=l[t]),(0,i.jsx)("div",{className:"subnav-main",children:(0,i.jsx)("nav",{className:"nav-sub","aria-label":"Primary",children:(0,i.jsxs)("ul",{children:[(0,i.jsx)("li",{className:"nav-item nav-item-heading",children:(0,i.jsx)("span",{children:s("3-legal")})}),o.map(e=>{let[a,r,l]=e;return(0,i.jsx)("li",{className:`nav-item ${a===n?"is-selected":""}`,"aria-current":a===n?"page":"false",role:"tab",children:(0,i.jsx)("a",{href:l||`/${t}/legal/${a}/`,className:"nav-link",children:s(r)})},a)})]})})})}},27852:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>m,default:()=>f});var i=n(37876);n(14232);var a=n(11944),r=n(23742),s=n(77328),l=n.n(s),o=n(14435),c=n(83374),p=n(43442),d=n(83693);let u=e=>{let t=e.target;if(t instanceof HTMLAnchorElement&&"#optanon-toggle-info-display"===t.getAttribute("href")){try{Optanon.ToggleInfoDisplay()}catch(e){}e.preventDefault()}};var m=!0;let f=e=>{let{locale:t,document:n,type:s,format:m,masthead:{header:f,footer:_},forcePlainPage:h}=e,{t:y}=(0,p.B)();return"html"!==m||h?(0,i.jsx)("div",{className:`${h?"plain":m}-format`,role:"main",dangerouslySetInnerHTML:{__html:a.sanitize(n)}}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l(),{children:(0,i.jsx)("title",{children:`${y((0,c.Ax)(s))} - Spotify`})}),(0,i.jsx)(r.Y,{...f,fixed:!1,transparent:!1}),(0,i.jsxs)("main",{className:"container html-format",onClick:u,onKeyDown:u,role:"presentation",children:[(0,i.jsx)(o.A,{locale:t,selectedType:s}),(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:a.sanitize(n)}})]}),(0,i.jsx)(r.w,{..._}),(0,i.jsx)(d.A,{})]})}},38696:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/legal/[type]/[format]",function(){return n(27852)}])},43442:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});var i=n(14232),a=n(9813);let r=()=>(0,i.useContext)(a.x)},83693:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(37876),a=n(14232),r=n(23096);let s=n(21626).Ay.div.withConfig({componentId:"sc-95eb59dc-0"})(["width:48px;height:48px;position:fixed;bottom:2.5em;right:2.5em;display:none;cursor:pointer;background-color:#1abc54;border-radius:50%;",""],e=>e.position&&"display: block;"),l=()=>{let[e,t]=(0,a.useState)(!1),n=()=>{window.scrollTo({top:0,behavior:"smooth"}),t(!1)},l=()=>{window.scrollY>100?e||t(!0):e&&t(!1)};return(0,a.useEffect)(()=>(window.addEventListener("scroll",l),()=>window.removeEventListener("scroll",l))),(0,i.jsx)("div",{className:"scrolltotop-container",children:(0,i.jsx)(s,{"data-testid":"scroll-to-top-inner",position:e,onClick:n,onKeyDown:n,role:"presentation","aria-label":"Return to top of page button",tabIndex:0,children:(0,i.jsx)(r.X,{size:"xlarge","aria-label":"IconUp"})})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[567,8263,3432,636,6593,8792],()=>t(38696)),_N_E=e.O()}]);