"use strict";(self.webpackChunkspotify_api_docs=self.webpackChunkspotify_api_docs||[]).push([[7918],{3905:function(e,t,n){n.d(t,{Zo:function(){return m},kt:function(){return v}});var a=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var o=a.createContext({}),s=function(e){var t=a.useContext(o),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},m=function(e){var t=s(e.components);return a.createElement(o.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,l=e.originalType,o=e.parentName,m=c(e,["components","mdxType","originalType","parentName"]),u=s(n),v=r,p=u["".concat(o,".").concat(v)]||u[v]||d[v]||l;return n?a.createElement(p,i(i({ref:t},m),{},{components:n})):a.createElement(p,i({ref:t},m))}));function v(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var l=n.length,i=new Array(l);i[0]=u;var c={};for(var o in t)hasOwnProperty.call(t,o)&&(c[o]=t[o]);c.originalType=e,c.mdxType="string"==typeof e?e:r,i[1]=c;for(var s=2;s0,m=!!(n||l||c);return s||m?a.createElement("footer",{className:(0,r.Z)(v.k.docs.docFooter,"docusaurus-mt-lg")},s&&a.createElement(B,{tags:o}),m&&a.createElement(P,{editUrl:n,lastUpdatedAt:l,lastUpdatedBy:c,formattedLastUpdatedAt:i})):null}function j(e){var t=e.toc,n=e.className,r=e.linkClassName,l=e.isChild;return t.length?a.createElement("ul",{className:l?void 0:n},t.map((function(e){return a.createElement("li",{key:e.id},a.createElement("a",{href:"#"+e.id,className:null!=r?r:void 0,dangerouslySetInnerHTML:{__html:e.value}}),a.createElement(j,{isChild:!0,toc:e.children,className:n,linkClassName:r}))}))):null}var V=a.memo(j),R=n(6668),z=["parentIndex"];function F(e){var t=e.map((function(e){return Object.assign({},e,{parentIndex:-1,children:[]})})),n=Array(7).fill(-1);t.forEach((function(e,t){var a=n.slice(2,e.level);e.parentIndex=Math.max.apply(Math,a),n[e.level]=t}));var a=[];return t.forEach((function(e){var n=e.parentIndex,r=(0,_.Z)(e,z);n>=0?t[n].children.push(r):a.push(r)})),a}function q(e){var t=e.toc,n=e.minHeadingLevel,a=e.maxHeadingLevel;return t.flatMap((function(e){var t=q({toc:e.children,minHeadingLevel:n,maxHeadingLevel:a});return function(e){return e.level>=n&&e.level<=a}(e)?[Object.assign({},e,{children:t})]:t}))}function X(e){var t=e.getBoundingClientRect();return t.top===t.bottom?X(e.parentNode):t}function J(e,t){var n,a,r=t.anchorTopOffset,l=e.find((function(e){return X(e).top>=r}));return l?function(e){return e.top>0&&e.bottom1&&e.preventDefault()},onClick:function(e){e.stopPropagation();var t=e.target;Be(t)&&Pe(t,c.current)&&(e.preventDefault(),s?(m(!1),v(!0)):m(!0))}}),t||a.createElement("summary",null,"Details"),a.createElement(te.z,{lazy:!1,collapsed:s,disableSSRStyle:!0,onCollapseTransitionEnd:function(e){m(e),v(!e)}},a.createElement("div",{className:Se},n)))}var je="details_BAp3";function Ve(e){var t=Object.assign({},e);return a.createElement(De,(0,l.Z)({},t,{className:(0,r.Z)("alert alert--info",je,t.className)}))}function Re(e){return a.createElement(ve,e)}var ze="img_E7b_";var Fe={head:function(e){var t=a.Children.map(e.children,(function(e){return function(e){var t,n;if(null!=e&&null!=(t=e.props)&&t.mdxType&&null!=e&&null!=(n=e.props)&&n.originalType){var r=e.props,l=(r.mdxType,r.originalType,(0,_.Z)(r,we));return a.createElement(e.props.originalType,l)}return e}(e)}));return a.createElement(Oe.Z,e,t)},code:function(e){var t=["a","b","big","i","span","em","strong","sup","sub","small"];return a.Children.toArray(e.children).every((function(e){return"string"==typeof e&&!e.includes("\n")||(0,a.isValidElement)(e)&&t.includes(e.props.mdxType)}))?a.createElement("code",e):a.createElement(He.Z,e)},a:function(e){return a.createElement(c.Z,e)},pre:function(e){var t;return a.createElement(He.Z,(0,a.isValidElement)(e.children)&&"code"===e.children.props.originalType?null==(t=e.children)?void 0:t.props:Object.assign({},e))},details:function(e){var t=a.Children.toArray(e.children),n=t.find((function(e){var t;return"summary"===(null==e||null==(t=e.props)?void 0:t.mdxType)})),r=a.createElement(a.Fragment,null,t.filter((function(e){return e!==n})));return a.createElement(Ve,(0,l.Z)({},e,{summary:n}),r)},ul:function(e){return a.createElement("ul",(0,l.Z)({},e,{className:(t=e.className,(0,r.Z)(t,(null==t?void 0:t.includes("contains-task-list"))&&"clean-list"))}));var t},img:function(e){return a.createElement("img",(0,l.Z)({loading:"lazy"},e,{className:(t=e.className,(0,r.Z)(t,ze))}));var t},h1:function(e){return a.createElement(Re,(0,l.Z)({as:"h1"},e))},h2:function(e){return a.createElement(Re,(0,l.Z)({as:"h2"},e))},h3:function(e){return a.createElement(Re,(0,l.Z)({as:"h3"},e))},h4:function(e){return a.createElement(Re,(0,l.Z)({as:"h4"},e))},h5:function(e){return a.createElement(Re,(0,l.Z)({as:"h5"},e))},h6:function(e){return a.createElement(Re,(0,l.Z)({as:"h6"},e))}};function qe(e){var t=e.children;return a.createElement(xe.Zo,{components:Fe},t)}function Xe(e){var t,n=e.content,r=n.metadata,l=n.frontMatter,i=n.assets,c=l.keywords,o=r.description,s=r.title,m=null!=(t=i.image)?t:l.image;return a.createElement(be.d,{title:s,description:o,keywords:c,image:m})}function Je(e){var t=e.content,n=t.metadata,l=t.frontMatter,i=l.hide_title,c=l.hide_table_of_contents,o=l.toc_min_heading_level,m=l.toc_max_heading_level,d=n.title,u=!i&&void 0===t.contentTitle,p=(0,ge.i)(),f=!c&&t.toc&&t.toc.length>0,h=f&&("desktop"===p||"ssr"===p);return a.createElement("div",{className:"row"},a.createElement("div",{className:(0,r.Z)("col",!c&&fe)},a.createElement(E,null),a.createElement("div",{className:pe},a.createElement("article",null,a.createElement(Ce,null),a.createElement(N,null),f&&a.createElement(se,{toc:t.toc,minHeadingLevel:o,maxHeadingLevel:m,className:(0,r.Z)(v.k.docs.docTocMobile,he)}),a.createElement("div",{className:(0,r.Z)(v.k.docs.docMarkdown,"markdown")},u&&a.createElement("header",null,a.createElement(ve,{as:"h1"},d)),a.createElement(qe,null,a.createElement(t,null))),a.createElement(D,e)),a.createElement(s,{previous:n.previous,next:n.next}))),h&&a.createElement("div",{className:"col col--3"},a.createElement(ee,{toc:t.toc,minHeadingLevel:o,maxHeadingLevel:m,className:v.k.docs.docTocDesktop})))}function Qe(e){var t="docs-doc-id-"+e.content.metadata.unversionedId;return a.createElement(be.FG,{className:t},a.createElement(Xe,e),a.createElement(Je,e))}},4477:function(e,t,n){n.d(t,{E:function(){return c},q:function(){return i}});var a=n(7294),r=n(9688),l=a.createContext(null);function i(e){var t=e.children,n=e.version;return a.createElement(l.Provider,{value:n},t)}function c(){var e=(0,a.useContext)(l);if(null===e)throw new r.i6("DocsVersionProvider");return e}}}]);