mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 14:46:26 +00:00
1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[11,8],{124:function(e,t,a){"use strict";a.r(t);var n=a(0),r=a.n(n),l=a(201),i=a(190),c=a(186),o=a(188),s=a(189);var m=function(e){var t=e.metadata;return r.a.createElement("nav",{className:"pagination-nav"},r.a.createElement("div",{className:"pagination-nav__item"},t.previous&&r.a.createElement(s.a,{className:"pagination-nav__link",to:t.previous.permalink},r.a.createElement("div",{className:"pagination-nav__sublabel"},"Previous"),r.a.createElement("div",{className:"pagination-nav__label"},"\xab ",t.previous.title))),r.a.createElement("div",{className:"pagination-nav__item pagination-nav__item--next"},t.next&&r.a.createElement(s.a,{className:"pagination-nav__link",to:t.next.permalink},r.a.createElement("div",{className:"pagination-nav__sublabel"},"Next"),r.a.createElement("div",{className:"pagination-nav__label"},t.next.title," \xbb"))))};var u=function(e,t,a){var r=Object(n.useState)(void 0),l=r[0],i=r[1];Object(n.useEffect)((function(){var n=[],r=[];function c(){var c=function(){var e=0,t=null;for(n=document.getElementsByClassName("anchor");e<n.length&&!t;){var r=n[e],l=r.getBoundingClientRect().top;l>=0&&l<=a&&(t=r),e+=1}return t}();if(c){var o=0,s=!1;for(r=document.getElementsByClassName(e);o<r.length&&!s;){var m=r[o],u=m.href,d=decodeURIComponent(u.substring(u.indexOf("#")+1));c.id===d&&(l&&l.classList.remove(t),m.classList.add(t),i(m),s=!0),o+=1}}}return document.addEventListener("scroll",c),document.addEventListener("resize",c),c(),function(){document.removeEventListener("scroll",c),document.removeEventListener("resize",c)}}))},d=a(187),f=a.n(d),v=a(125),p=a.n(v);function b(e){var t=e.headings;return u("table-of-contents__link","table-of-contents__link--active",100),r.a.createElement("div",{className:"col col--3"},r.a.createElement("div",{className:p.a.tableOfContents},r.a.createElement(h,{headings:t})))}function h(e){var t=e.headings,a=e.isChild;return t.length?r.a.createElement("ul",{className:a?"":"table-of-contents table-of-contents__left-border"},t.map((function(e){return r.a.createElement("li",{key:e.id},r.a.createElement("a",{href:"#"+e.id,className:"table-of-contents__link",dangerouslySetInnerHTML:{__html:e.value}}),r.a.createElement(h,{isChild:!0,headings:e.children}))}))):null}t.default=function(e){var t,a=Object(c.a)().siteConfig,n=void 0===a?{}:a,s=n.url,u=n.title,d=e.content,v=d.metadata,h=v.description,g=v.title,E=v.permalink,y=v.editUrl,O=v.lastUpdatedAt,N=v.lastUpdatedBy,_=v.version,k=d.frontMatter,w=k.image,j=k.keywords,C=k.hide_title,x=k.hide_table_of_contents,P=g?g+" | "+u:u,I=s+Object(o.a)(w);return Object(i.a)(w)||(I=w),r.a.createElement(r.a.Fragment,null,r.a.createElement(l.a,null,r.a.createElement("title",null,P),r.a.createElement("meta",{property:"og:title",content:P}),h&&r.a.createElement("meta",{name:"description",content:h}),h&&r.a.createElement("meta",{property:"og:description",content:h}),j&&j.length&&r.a.createElement("meta",{name:"keywords",content:j.join(",")}),w&&r.a.createElement("meta",{property:"og:image",content:I}),w&&r.a.createElement("meta",{property:"twitter:image",content:I}),w&&r.a.createElement("meta",{name:"twitter:image:alt",content:"Image for "+g}),E&&r.a.createElement("meta",{property:"og:url",content:s+E}),E&&r.a.createElement("link",{rel:"canonical",href:s+E})),r.a.createElement("div",{className:f()("container padding-vert--lg",p.a.docItemWrapper)},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:f()("col",(t={},t[p.a.docItemCol]=!x,t))},r.a.createElement("div",{className:p.a.docItemContainer},r.a.createElement("article",null,_&&r.a.createElement("div",null,r.a.createElement("span",{className:"badge badge--secondary"},"Version: ",_)),!C&&r.a.createElement("header",null,r.a.createElement("h1",{className:p.a.docTitle},g)),r.a.createElement("div",{className:"markdown"},r.a.createElement(d,null))),(y||O||N)&&r.a.createElement("div",{className:"margin-vert--xl"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col"},y&&r.a.createElement("a",{href:y,target:"_blank",rel:"noreferrer noopener"},r.a.createElement("svg",{fill:"currentColor",height:"1.2em",width:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 40 40",style:{marginRight:"0.3em",verticalAlign:"sub"}},r.a.createElement("g",null,r.a.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"}))),"Edit this page")),(O||N)&&r.a.createElement("div",{className:"col text--right"},r.a.createElement("em",null,r.a.createElement("small",null,"Last updated"," ",O&&r.a.createElement(r.a.Fragment,null,"on"," ",r.a.createElement("time",{dateTime:new Date(1e3*O).toISOString(),className:p.a.docLastUpdatedAt},new Date(1e3*O).toLocaleDateString()),N&&" "),N&&r.a.createElement(r.a.Fragment,null,"by ",r.a.createElement("strong",null,N)),!1))))),r.a.createElement("div",{className:"margin-vert--lg"},r.a.createElement(m,{metadata:v})))),!x&&d.rightToc&&r.a.createElement(b,{headings:d.rightToc}))))}},183:function(e,t,a){"use strict";a.r(t);a(27),a(19),a(20),a(54),a(232);var n=a(0),r=a.n(n),l=a(185),i=a(186),c=a(61),o=a(198),s=a(124),m=a(2),u=a(9),d=a(187),f=a.n(d),v=a(212),p=a(217),b=a(218),h=a(216),g=a(189),E=a(190),y=a(138),O=a.n(y);function N(e){var t=e.item,a=e.onItemClick,l=e.collapsible,i=e.activePath,c=Object(u.a)(e,["item","onItemClick","collapsible","activePath"]),o=t.items,s=t.href,d=t.label,v=t.type,p=Object(n.useState)(t.collapsed),b=p[0],h=p[1],y=Object(n.useState)(null),O=y[0],_=y[1];t.collapsed!==O&&(_(t.collapsed),h(t.collapsed));var k=Object(n.useCallback)((function(e){e.preventDefault(),e.target.blur(),h((function(e){return!e}))}));switch(v){case"category":return o.length>0&&r.a.createElement("li",{className:f()("menu__list-item",{"menu__list-item--collapsed":b}),key:d},r.a.createElement("a",Object(m.a)({className:f()("menu__link",{"menu__link--sublist":l,"menu__link--active":l&&!t.collapsed}),href:"#!",onClick:l?k:void 0},c),d),r.a.createElement("ul",{className:"menu__list"},o.map((function(e){return r.a.createElement(N,{tabIndex:b?"-1":"0",key:e.label,item:e,onItemClick:a,collapsible:l,activePath:i})}))));case"link":default:return r.a.createElement("li",{className:"menu__list-item",key:d},r.a.createElement(g.a,Object(m.a)({className:f()("menu__link",{"menu__link--active":s===i}),to:s},Object(E.a)(s)?{isNavLink:!0,exact:!0,onClick:a}:{target:"_blank",rel:"noreferrer noopener"},c),d))}}var _=function(e){var t,a,l=Object(n.useState)(!1),c=l[0],o=l[1],s=Object(i.a)(),u=s.siteConfig,d=(u=void 0===u?{}:u).themeConfig.navbar,E=(d=void 0===d?{}:d).title,y=d.hideOnScroll,_=void 0!==y&&y,k=s.isClient,w=Object(b.a)(),j=w.logoLink,C=w.logoLinkProps,x=w.logoImageUrl,P=w.logoAlt,I=Object(v.a)().isAnnouncementBarClosed,S=Object(h.a)().scrollY,M=e.docsSidebars,L=e.path,A=e.sidebar,T=e.sidebarCollapsible;if(Object(p.a)(c),!A)return null;var D=M[A];if(!D)throw new Error('Cannot find the sidebar "'+A+'" in the sidebar config!');return T&&D.forEach((function(e){return function e(t,a){var n=t.items,r=t.href;switch(t.type){case"category":var l=n.map((function(t){return e(t,a)})).filter((function(e){return e})).length>0;return t.collapsed=!l,l;case"link":default:return r===a}}(e,L)})),r.a.createElement("div",{className:f()(O.a.sidebar,(t={},t[O.a.sidebarWithHideableNavbar]=_,t))},_&&r.a.createElement(g.a,Object(m.a)({tabIndex:"-1",className:O.a.sidebarLogo,to:j},C),null!=x&&r.a.createElement("img",{key:k,src:x,alt:P}),null!=E&&r.a.createElement("strong",null,E)),r.a.createElement("div",{className:f()("menu","menu--responsive",O.a.menu,(a={"menu--show":c},a[O.a.menuWithAnnouncementBar]=!I&&0===S,a))},r.a.createElement("button",{"aria-label":c?"Close Menu":"Open Menu","aria-haspopup":"true",className:"button button--secondary button--sm menu__button",type:"button",onClick:function(){o(!c)}},c?r.a.createElement("span",{className:f()(O.a.sidebarMenuIcon,O.a.sidebarMenuCloseIcon)},"\xd7"):r.a.createElement("svg",{"aria-label":"Menu",className:O.a.sidebarMenuIcon,xmlns:"http://www.w3.org/2000/svg",height:24,width:24,viewBox:"0 0 32 32",role:"img",focusable:"false"},r.a.createElement("title",null,"Menu"),r.a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))),r.a.createElement("ul",{className:"menu__list"},D.map((function(e){return r.a.createElement(N,{key:e.label,item:e,onItemClick:function(e){e.target.blur(),o(!1)},collapsible:T,activePath:L})})))))},k=a(199),w=(a(140),a(141)),j=a.n(w),C=function(e){return function(t){var a,n=t.id,l=Object(u.a)(t,["id"]),c=Object(i.a)().siteConfig,o=(c=void 0===c?{}:c).themeConfig,s=(o=void 0===o?{}:o).navbar,m=(s=void 0===s?{}:s).hideOnScroll,d=void 0!==m&&m;return n?r.a.createElement(e,l,r.a.createElement("a",{"aria-hidden":"true",tabIndex:"-1",className:f()("anchor",(a={},a[j.a.enhancedAnchor]=!d,a)),id:n}),l.children,r.a.createElement("a",{"aria-hidden":"true",tabIndex:"-1",className:"hash-link",href:"#"+n,title:"Direct link to heading"},"#")):r.a.createElement(e,l)}},x=a(142),P=a.n(x),I={code:function(e){var t=e.children;return"string"==typeof t?r.a.createElement(k.a,e):t},a:function(e){return/\.[^./]+$/.test(e.href)?r.a.createElement("a",e):r.a.createElement(g.a,e)},pre:function(e){return r.a.createElement("div",Object(m.a)({className:P.a.mdxCodeBlock},e))},h1:C("h1"),h2:C("h2"),h3:C("h3"),h4:C("h4"),h5:C("h5"),h6:C("h6")},S=a(210),M=a(215),L=a(143),A=a.n(L);t.default=function(e){var t=e.route,a=e.docsMetadata,n=e.location,m=e.content,u=a.permalinkToSidebar,d=a.docsSidebars,f=a.version,v=a.isHomePage,p=a.homePagePath,b=v?{}:t.routes.find((function(e){return Object(M.a)(n.pathname,e)}))||{},h=v?m.metadata.sidebar:u[b.path],g=Object(i.a)(),E=g.siteConfig,y=(E=void 0===E?{}:E).themeConfig,O=(y=void 0===y?{}:y).sidebarCollapsible,N=void 0===O||O,k=g.isClient;return v||0!==Object.keys(b).length?r.a.createElement(o.a,{version:f,key:k},r.a.createElement("div",{className:A.a.docPage},h&&r.a.createElement("div",{className:A.a.docSidebarContainer},r.a.createElement(_,{docsSidebars:d,path:v?p:b.path,sidebar:h,sidebarCollapsible:N})),r.a.createElement("main",{className:A.a.docMainContainer},r.a.createElement(l.a,{components:I},v?r.a.createElement(s.default,{content:m}):Object(c.a)(t.routes))))):r.a.createElement(S.default,e)}},185:function(e,t,a){"use strict";a.d(t,"a",(function(){return u})),a.d(t,"b",(function(){return v}));var n=a(0),r=a.n(n);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function o(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)a=l[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var s=r.a.createContext({}),m=function(e){var t=r.a.useContext(s),a=t;return e&&(a="function"==typeof e?e(t):c({},t,{},e)),a},u=function(e){var t=m(e.components);return r.a.createElement(s.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.a.createElement(r.a.Fragment,{},t)}},f=Object(n.forwardRef)((function(e,t){var a=e.components,n=e.mdxType,l=e.originalType,i=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),u=m(a),f=n,v=u["".concat(i,".").concat(f)]||u[f]||d[f]||l;return a?r.a.createElement(v,c({ref:t},s,{components:a})):r.a.createElement(v,c({ref:t},s))}));function v(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var l=a.length,i=new Array(l);i[0]=f;var c={};for(var o in t)hasOwnProperty.call(t,o)&&(c[o]=t[o]);c.originalType=e,c.mdxType="string"==typeof e?e:n,i[1]=c;for(var s=2;s<l;s++)i[s]=a[s];return r.a.createElement.apply(null,i)}return r.a.createElement.apply(null,a)}f.displayName="MDXCreateElement"},210:function(e,t,a){"use strict";a.r(t);var n=a(0),r=a.n(n),l=a(198);t.default=function(){return r.a.createElement(l.a,{title:"Page Not Found"},r.a.createElement("div",{className:"container margin-vert--xl"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col col--6 col--offset-3"},r.a.createElement("h1",{className:"hero__title"},"Page Not Found"),r.a.createElement("p",null,"We could not find what you were looking for."),r.a.createElement("p",null,"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))}},232:function(e,t,a){"use strict";var n=a(17),r=a(233)(5),l=!0;"find"in[]&&Array(1).find((function(){l=!1})),n(n.P+n.F*l,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a(77)("find")},233:function(e,t,a){var n=a(26),r=a(78),l=a(49),i=a(35),c=a(234);e.exports=function(e,t){var a=1==e,o=2==e,s=3==e,m=4==e,u=6==e,d=5==e||u,f=t||c;return function(t,c,v){for(var p,b,h=l(t),g=r(h),E=n(c,v,3),y=i(g.length),O=0,N=a?f(t,y):o?f(t,0):void 0;y>O;O++)if((d||O in g)&&(b=E(p=g[O],O,h),e))if(a)N[O]=b;else if(b)switch(e){case 3:return!0;case 5:return p;case 6:return O;case 2:N.push(p)}else if(m)return!1;return u?-1:s||m?m:N}}},234:function(e,t,a){var n=a(235);e.exports=function(e,t){return new(n(e))(t)}},235:function(e,t,a){var n=a(11),r=a(214),l=a(3)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),n(t)&&null===(t=t[l])&&(t=void 0)),void 0===t?Array:t}}}]); |