@mibmo/jellyfin-tizen 10.11.0 → 10.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/LICENSE +373 -0
  2. package/package.json +1 -1
  3. package/tizen-adapter.js +1 -1
  4. package/www/24468.096bec826cf0404cdaa3.chunk.js +1 -0
  5. package/www/{4113.12576845930ab6331447.chunk.js → 4113.83b0350d733cb0566fab.chunk.js} +1 -1
  6. package/www/99883.5844681b34492722e137.chunk.js +1 -0
  7. package/www/{backups.292eca94f13ea5bb0e78.chunk.js → backups.fe49fae27db0ff6cb33d.chunk.js} +1 -1
  8. package/www/{homevideos.3f284a07bf310dc59f2a.chunk.js → homevideos.6eb642fb97120c09757c.chunk.js} +1 -1
  9. package/www/htmlVideoPlayer-plugin.f37fbfc78b8a9cbf8f41.chunk.js +2 -0
  10. package/www/{index.063e156faf3206f4bae1.chunk.js → index.935caa32a3540f84db29.chunk.js} +1 -1
  11. package/www/index.html +1 -1
  12. package/www/{livetv.cdf5926c347a6d1cc6fb.chunk.js → livetv.f0d1908d9f07ce6b47e5.chunk.js} +1 -1
  13. package/www/{main.jellyfin.0196d1aa92641204d3e6.css → main.jellyfin.28c121270fe02d9f8014.css} +1 -1
  14. package/www/main.jellyfin.bundle.js +1 -1
  15. package/www/{movies.28b0eeb1c6a2066dd633.chunk.js → movies.4106553c773ffeda5bc3.chunk.js} +1 -1
  16. package/www/{music.6076bd9d6e38426ea341.chunk.js → music.c9283625aa8ef4ae59d4.chunk.js} +1 -1
  17. package/www/node_modules.@jellyfin.sdk.bundle.js +1 -1
  18. package/www/node_modules.axios.bundle.js +1 -1
  19. package/www/runtime.bundle.js +1 -1
  20. package/www/{shows.10497d861949012254f2.chunk.js → shows.31c9e0251166d4c44439.chunk.js} +1 -1
  21. package/www/{syncPlay-plugin.deda95c9d1bfd1d4c523.chunk.js → syncPlay-plugin.f532382eb6cd87a2687a.chunk.js} +1 -1
  22. package/www/{syncPlay-ui-players-HtmlAudioPlayer.507a8fd024149328704a.chunk.js → syncPlay-ui-players-HtmlAudioPlayer.3de6fd4a4fce53fe49dd.chunk.js} +1 -1
  23. package/www/{syncPlay-ui-players-HtmlVideoPlayer.c0ca132c5f118c9e8d99.chunk.js → syncPlay-ui-players-HtmlVideoPlayer.9f6ea856bc1c5b5aeb09.chunk.js} +1 -1
  24. package/www/{syncPlay-ui-settings-editor-html.00709e3534fb1bda1bd2.chunk.js → syncPlay-ui-settings-editor-html.596e49f135d17d457a2e.chunk.js} +1 -1
  25. package/www/24468.c97dc4915ec288b66ec8.chunk.js +0 -1
  26. package/www/76719.ed2bd85278dc85cdf20c.chunk.js +0 -1
  27. package/www/htmlVideoPlayer-plugin.01ca8734872ddd916185.chunk.js +0 -2
  28. /package/www/{htmlVideoPlayer-plugin.01ca8734872ddd916185.chunk.js.LICENSE.txt → htmlVideoPlayer-plugin.f37fbfc78b8a9cbf8f41.chunk.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see node_modules.@jellyfin.sdk.bundle.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[45642],{1164:function(e,t,n){n.d(t,{i:function(){return r}});var r={FileSystem:"FileSystem",Remote:"Remote",Virtual:"Virtual",Offline:"Offline"}},2097:function(e,t,n){n.d(t,{N:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{cancelPackageInstallation:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("cancelPackageInstallation","packageId",n),i="/Packages/Installing/{packageId}".replace("{".concat("packageId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),getPackageInfo:(u=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getPackageInfo","name",n),u="/Packages/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.assemblyGuid=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return u.apply(this,arguments)}),getPackages:(i=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Packages",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return i.apply(this,arguments)}),getRepositories:(r=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Repositories",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return r.apply(this,arguments)}),installPackage:(n=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("installPackage","name",n),c="/Packages/Installed/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==r&&(h.assemblyGuid=r),void 0!==i&&(h.version=i),void 0!==u&&(h.repositoryUrl=u),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,r,o){return n.apply(this,arguments)}),setRepositories:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("setRepositories","repositoryInfo",n),i=new URL("/Repositories",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,u,a}(e);return{cancelPackageInstallation:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.cancelPackageInstallation(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PackageApi.cancelPackageInstallation"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPackageInfo:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPackageInfo(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PackageApi.getPackageInfo"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPackages:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPackages(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["PackageApi.getPackages"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getRepositories:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getRepositories(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["PackageApi.getRepositories"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},installPackage:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.installPackage(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["PackageApi.installPackage"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},setRepositories:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.setRepositories(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PackageApi.setRepositories"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"cancelPackageInstallation",value:function(e,t){var n=this;return b(this.configuration).cancelPackageInstallation(e.packageId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPackageInfo",value:function(e,t){var n=this;return b(this.configuration).getPackageInfo(e.name,e.assemblyGuid,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPackages",value:function(e){var t=this;return b(this.configuration).getPackages(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getRepositories",value:function(e){var t=this;return b(this.configuration).getRepositories(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"installPackage",value:function(e,t){var n=this;return b(this.configuration).installPackage(e.name,e.assemblyGuid,e.version,e.repositoryUrl,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"setRepositories",value:function(e,t){var n=this;return b(this.configuration).setRepositories(e.repositoryInfo,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},6460:function(e,t,n){n.d(t,{u:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{syncPlayBuffering:(j=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayBuffering","bufferRequestDto",n),i=new URL("/SyncPlay/Buffering",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return j.apply(this,arguments)}),syncPlayCreateGroup:(T=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayCreateGroup","newGroupRequestDto",n),i=new URL("/SyncPlay/New",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return T.apply(this,arguments)}),syncPlayGetGroup:(S=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("syncPlayGetGroup","id",n),i="/SyncPlay/{id}".replace("{".concat("id","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return S.apply(this,arguments)}),syncPlayGetGroups:(O=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/SyncPlay/List",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return O.apply(this,arguments)}),syncPlayJoinGroup:(P=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayJoinGroup","joinGroupRequestDto",n),i=new URL("/SyncPlay/Join",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return P.apply(this,arguments)}),syncPlayLeaveGroup:(I=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/SyncPlay/Leave",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return I.apply(this,arguments)}),syncPlayMovePlaylistItem:(w=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayMovePlaylistItem","movePlaylistItemRequestDto",n),i=new URL("/SyncPlay/MovePlaylistItem",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return w.apply(this,arguments)}),syncPlayNextItem:(b=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayNextItem","nextItemRequestDto",n),i=new URL("/SyncPlay/NextItem",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return b.apply(this,arguments)}),syncPlayPause:(m=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/SyncPlay/Pause",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return m.apply(this,arguments)}),syncPlayPing:(y=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayPing","pingRequestDto",n),i=new URL("/SyncPlay/Ping",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return y.apply(this,arguments)}),syncPlayPreviousItem:(h=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayPreviousItem","previousItemRequestDto",n),i=new URL("/SyncPlay/PreviousItem",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return h.apply(this,arguments)}),syncPlayQueue:(v=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayQueue","queueRequestDto",n),i=new URL("/SyncPlay/Queue",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return v.apply(this,arguments)}),syncPlayReady:(f=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayReady","readyRequestDto",n),i=new URL("/SyncPlay/Ready",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return f.apply(this,arguments)}),syncPlayRemoveFromPlaylist:(l=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayRemoveFromPlaylist","removeFromPlaylistRequestDto",n),i=new URL("/SyncPlay/RemoveFromPlaylist",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return l.apply(this,arguments)}),syncPlaySeek:(s=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySeek","seekRequestDto",n),i=new URL("/SyncPlay/Seek",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return s.apply(this,arguments)}),syncPlaySetIgnoreWait:(c=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySetIgnoreWait","ignoreWaitRequestDto",n),i=new URL("/SyncPlay/SetIgnoreWait",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return c.apply(this,arguments)}),syncPlaySetNewQueue:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySetNewQueue","playRequestDto",n),i=new URL("/SyncPlay/SetNewQueue",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return a.apply(this,arguments)}),syncPlaySetPlaylistItem:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySetPlaylistItem","setPlaylistItemRequestDto",n),i=new URL("/SyncPlay/SetPlaylistItem",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return u.apply(this,arguments)}),syncPlaySetRepeatMode:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySetRepeatMode","setRepeatModeRequestDto",n),i=new URL("/SyncPlay/SetRepeatMode",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),syncPlaySetShuffleMode:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySetShuffleMode","setShuffleModeRequestDto",n),i=new URL("/SyncPlay/SetShuffleMode",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),syncPlayStop:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/SyncPlay/Stop",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return n.apply(this,arguments)}),syncPlayUnpause:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/SyncPlay/Unpause",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m,b,w,I,P,O,S,T,j}(e);return{syncPlayBuffering:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayBuffering(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayBuffering"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayCreateGroup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayCreateGroup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayCreateGroup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayGetGroup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayGetGroup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayGetGroup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayGetGroups:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayGetGroups(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayGetGroups"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayJoinGroup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayJoinGroup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayJoinGroup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayLeaveGroup:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayLeaveGroup(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayLeaveGroup"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayMovePlaylistItem:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayMovePlaylistItem(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayMovePlaylistItem"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayNextItem:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayNextItem(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayNextItem"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayPause:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayPause(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayPause"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayPing:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayPing(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayPing"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayPreviousItem:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayPreviousItem(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayPreviousItem"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayQueue:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayQueue(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayQueue"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayReady:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayReady(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayReady"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayRemoveFromPlaylist:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayRemoveFromPlaylist(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayRemoveFromPlaylist"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySeek:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySeek(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySeek"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySetIgnoreWait:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySetIgnoreWait(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetIgnoreWait"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySetNewQueue:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySetNewQueue(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetNewQueue"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySetPlaylistItem:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySetPlaylistItem(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetPlaylistItem"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySetRepeatMode:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySetRepeatMode(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetRepeatMode"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySetShuffleMode:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySetShuffleMode(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetShuffleMode"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayStop:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayStop(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayStop"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayUnpause:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayUnpause(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayUnpause"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"syncPlayBuffering",value:function(e,t){var n=this;return b(this.configuration).syncPlayBuffering(e.bufferRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayCreateGroup",value:function(e,t){var n=this;return b(this.configuration).syncPlayCreateGroup(e.newGroupRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayGetGroup",value:function(e,t){var n=this;return b(this.configuration).syncPlayGetGroup(e.id,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayGetGroups",value:function(e){var t=this;return b(this.configuration).syncPlayGetGroups(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"syncPlayJoinGroup",value:function(e,t){var n=this;return b(this.configuration).syncPlayJoinGroup(e.joinGroupRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayLeaveGroup",value:function(e){var t=this;return b(this.configuration).syncPlayLeaveGroup(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"syncPlayMovePlaylistItem",value:function(e,t){var n=this;return b(this.configuration).syncPlayMovePlaylistItem(e.movePlaylistItemRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayNextItem",value:function(e,t){var n=this;return b(this.configuration).syncPlayNextItem(e.nextItemRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayPause",value:function(e){var t=this;return b(this.configuration).syncPlayPause(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"syncPlayPing",value:function(e,t){var n=this;return b(this.configuration).syncPlayPing(e.pingRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayPreviousItem",value:function(e,t){var n=this;return b(this.configuration).syncPlayPreviousItem(e.previousItemRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayQueue",value:function(e,t){var n=this;return b(this.configuration).syncPlayQueue(e.queueRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayReady",value:function(e,t){var n=this;return b(this.configuration).syncPlayReady(e.readyRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayRemoveFromPlaylist",value:function(e,t){var n=this;return b(this.configuration).syncPlayRemoveFromPlaylist(e.removeFromPlaylistRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySeek",value:function(e,t){var n=this;return b(this.configuration).syncPlaySeek(e.seekRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySetIgnoreWait",value:function(e,t){var n=this;return b(this.configuration).syncPlaySetIgnoreWait(e.ignoreWaitRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySetNewQueue",value:function(e,t){var n=this;return b(this.configuration).syncPlaySetNewQueue(e.playRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySetPlaylistItem",value:function(e,t){var n=this;return b(this.configuration).syncPlaySetPlaylistItem(e.setPlaylistItemRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySetRepeatMode",value:function(e,t){var n=this;return b(this.configuration).syncPlaySetRepeatMode(e.setRepeatModeRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySetShuffleMode",value:function(e,t){var n=this;return b(this.configuration).syncPlaySetShuffleMode(e.setShuffleModeRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayStop",value:function(e){var t=this;return b(this.configuration).syncPlayStop(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"syncPlayUnpause",value:function(e){var t=this;return b(this.configuration).syncPlayUnpause(e).then((function(e){return e(t.axios,t.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},10104:function(e,t,n){n.d(t,{$:function(){return r}});var r={Trace:"Trace",Debug:"Debug",Information:"Information",Warning:"Warning",Error:"Error",Critical:"Critical",None:"None"}},10749:function(e,t,n){n.d(t,{Y:function(){return r}});var r={ForceKeepAlive:"ForceKeepAlive",GeneralCommand:"GeneralCommand",UserDataChanged:"UserDataChanged",Sessions:"Sessions",Play:"Play",SyncPlayCommand:"SyncPlayCommand",SyncPlayGroupUpdate:"SyncPlayGroupUpdate",Playstate:"Playstate",RestartRequired:"RestartRequired",ServerShuttingDown:"ServerShuttingDown",ServerRestarting:"ServerRestarting",LibraryChanged:"LibraryChanged",UserDeleted:"UserDeleted",UserUpdated:"UserUpdated",SeriesTimerCreated:"SeriesTimerCreated",TimerCreated:"TimerCreated",SeriesTimerCancelled:"SeriesTimerCancelled",TimerCancelled:"TimerCancelled",RefreshProgress:"RefreshProgress",ScheduledTaskEnded:"ScheduledTaskEnded",PackageInstallationCancelled:"PackageInstallationCancelled",PackageInstallationFailed:"PackageInstallationFailed",PackageInstallationCompleted:"PackageInstallationCompleted",PackageInstalling:"PackageInstalling",PackageUninstalled:"PackageUninstalled",ActivityLogEntry:"ActivityLogEntry",ScheduledTasksInfo:"ScheduledTasksInfo",ActivityLogEntryStart:"ActivityLogEntryStart",ActivityLogEntryStop:"ActivityLogEntryStop",SessionsStart:"SessionsStart",SessionsStop:"SessionsStop",ScheduledTasksInfoStart:"ScheduledTasksInfoStart",ScheduledTasksInfoStop:"ScheduledTasksInfoStop",KeepAlive:"KeepAlive"}},11444:function(e,t,n){n.d(t,{D:function(){return r}});var r={AggregateFolder:"AggregateFolder",Audio:"Audio",AudioBook:"AudioBook",BasePluginFolder:"BasePluginFolder",Book:"Book",BoxSet:"BoxSet",Channel:"Channel",ChannelFolderItem:"ChannelFolderItem",CollectionFolder:"CollectionFolder",Episode:"Episode",Folder:"Folder",Genre:"Genre",ManualPlaylistsFolder:"ManualPlaylistsFolder",Movie:"Movie",LiveTvChannel:"LiveTvChannel",LiveTvProgram:"LiveTvProgram",MusicAlbum:"MusicAlbum",MusicArtist:"MusicArtist",MusicGenre:"MusicGenre",MusicVideo:"MusicVideo",Person:"Person",Photo:"Photo",PhotoAlbum:"PhotoAlbum",Playlist:"Playlist",PlaylistsFolder:"PlaylistsFolder",Program:"Program",Recording:"Recording",Season:"Season",Series:"Series",Studio:"Studio",Trailer:"Trailer",TvChannel:"TvChannel",TvProgram:"TvProgram",UserRootFolder:"UserRootFolder",UserView:"UserView",Video:"Video",Year:"Year"}},14313:function(e,t,n){n.d(t,{o:function(){return r}});var r={Sunday:"Sunday",Monday:"Monday",Tuesday:"Tuesday",Wednesday:"Wednesday",Thursday:"Thursday",Friday:"Friday",Saturday:"Saturday"}},15122:function(e,t,n){n.d(t,{V:function(){return r}});var r={NotAllowed:"NotAllowed",NoCompatibleStream:"NoCompatibleStream",RateLimitExceeded:"RateLimitExceeded"}},18697:function(e,t,n){n.d(t,{p:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getPerson:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getPerson","name",n),u="/Persons/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getPersons:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m){var g,b,w,I,P,O,S,T=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return g=T.length>13&&void 0!==T[13]?T[13]:{},b=new URL("/Persons",o.fY),e&&(w=e.baseOptions),I=p(p({method:"GET"},w),g),P={},O={},t.n=1,(0,o.YS)(P,"Authorization",e);case 1:return void 0!==n&&(O.limit=n),void 0!==r&&(O.searchTerm=r),i&&(O.fields=i),u&&(O.filters=u),void 0!==a&&(O.isFavorite=a),void 0!==c&&(O.enableUserData=c),void 0!==s&&(O.imageTypeLimit=s),l&&(O.enableImageTypes=l),f&&(O.excludePersonTypes=f),v&&(O.personTypes=v),void 0!==h&&(O.appearsInItemId=h),void 0!==y&&(O.userId=y),void 0!==m&&(O.enableImages=m),(0,o.rZ)(b,O),S=w&&w.headers?w.headers:{},I.headers=p(p(p({},P),S),g.headers),t.a(2,{url:(0,o.uD)(b),options:I})}}),t)}))),function(e,n,r,o,i,u,a,c,s,l,d,f,v){return t.apply(this,arguments)})};var t,n}(e);return{getPerson:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPerson(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PersonsApi.getPerson"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPersons:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w){return g(d().m((function g(){var I,P,O,S,T,j;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getPersons(n,u,a,c,s,l,f,v,p,h,y,m,b,w);case 1:return S=d.v,T=null!==(I=null==e?void 0:e.serverIndex)&&void 0!==I?I:0,j=null===(O=null===(P=i.z9["PersonsApi.getPersons"])||void 0===P?void 0:P[T])||void 0===O?void 0:O.url,d.a(2,(function(t,n){return(0,o.yZ)(S,r.A,i.o2,e)(t,j||n)}))}}),g)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getPerson",value:function(e,t){var n=this;return b(this.configuration).getPerson(e.name,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPersons",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getPersons(t.limit,t.searchTerm,t.fields,t.filters,t.isFavorite,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.excludePersonTypes,t.personTypes,t.appearsInItemId,t.userId,t.enableImages,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},18879:function(e,t,n){n.d(t,{q:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{authenticateUserByName:(m=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("authenticateUserByName","authenticateUserByName",n),i=new URL("/Users/AuthenticateByName",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),s={},(c={})["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return m.apply(this,arguments)}),authenticateWithQuickConnect:(y=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("authenticateWithQuickConnect","quickConnectDto",n),i=new URL("/Users/AuthenticateWithQuickConnect",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),s={},(c={})["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return y.apply(this,arguments)}),createUserByName:(h=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("createUserByName","createUserByName",n),i=new URL("/Users/New",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return h.apply(this,arguments)}),deleteUser:(v=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("deleteUser","userId",n),i="/Users/{userId}".replace("{".concat("userId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return v.apply(this,arguments)}),forgotPassword:(f=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("forgotPassword","forgotPasswordDto",n),i=new URL("/Users/ForgotPassword",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),s={},(c={})["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return f.apply(this,arguments)}),forgotPasswordPin:(l=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("forgotPasswordPin","forgotPasswordPinDto",n),i=new URL("/Users/ForgotPassword/Pin",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),s={},(c={})["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return l.apply(this,arguments)}),getCurrentUser:(s=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Users/Me",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return s.apply(this,arguments)}),getPublicUsers:(c=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Users/Public",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return c.apply(this,arguments)}),getUserById:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getUserById","userId",n),i="/Users/{userId}".replace("{".concat("userId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),getUsers:(u=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Users",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.isHidden=n),void 0!==r&&(l.isDisabled=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return u.apply(this,arguments)}),updateUser:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("updateUser","userDto",n),u=new URL("/Users",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.userId=r),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),updateUserConfiguration:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("updateUserConfiguration","userConfiguration",n),u=new URL("/Users/Configuration",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.userId=r),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return r.apply(this,arguments)}),updateUserPassword:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("updateUserPassword","updateUserPassword",n),u=new URL("/Users/Password",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.userId=r),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updateUserPolicy:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updateUserPolicy","userId",n),(0,o.WC)("updateUserPolicy","userPolicy",r),u="/Users/{userId}/Policy".replace("{".concat("userId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m}(e);return{authenticateUserByName:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.authenticateUserByName(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.authenticateUserByName"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},authenticateWithQuickConnect:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.authenticateWithQuickConnect(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.authenticateWithQuickConnect"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},createUserByName:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.createUserByName(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.createUserByName"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteUser:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteUser(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.deleteUser"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},forgotPassword:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.forgotPassword(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.forgotPassword"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},forgotPasswordPin:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.forgotPasswordPin(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.forgotPasswordPin"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getCurrentUser:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getCurrentUser(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["UserApi.getCurrentUser"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPublicUsers:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPublicUsers(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["UserApi.getPublicUsers"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getUserById:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getUserById(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.getUserById"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getUsers:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getUsers(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserApi.getUsers"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUser:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUser(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserApi.updateUser"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserConfiguration:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUserConfiguration(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserApi.updateUserConfiguration"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserPassword:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUserPassword(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserApi.updateUserPassword"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserPolicy:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUserPolicy(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserApi.updateUserPolicy"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"authenticateUserByName",value:function(e,t){var n=this;return b(this.configuration).authenticateUserByName(e.authenticateUserByName,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"authenticateWithQuickConnect",value:function(e,t){var n=this;return b(this.configuration).authenticateWithQuickConnect(e.quickConnectDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"createUserByName",value:function(e,t){var n=this;return b(this.configuration).createUserByName(e.createUserByName,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"deleteUser",value:function(e,t){var n=this;return b(this.configuration).deleteUser(e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"forgotPassword",value:function(e,t){var n=this;return b(this.configuration).forgotPassword(e.forgotPasswordDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"forgotPasswordPin",value:function(e,t){var n=this;return b(this.configuration).forgotPasswordPin(e.forgotPasswordPinDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getCurrentUser",value:function(e){var t=this;return b(this.configuration).getCurrentUser(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getPublicUsers",value:function(e){var t=this;return b(this.configuration).getPublicUsers(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getUserById",value:function(e,t){var n=this;return b(this.configuration).getUserById(e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getUsers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getUsers(t.isHidden,t.isDisabled,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"updateUser",value:function(e,t){var n=this;return b(this.configuration).updateUser(e.userDto,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateUserConfiguration",value:function(e,t){var n=this;return b(this.configuration).updateUserConfiguration(e.userConfiguration,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateUserPassword",value:function(e,t){var n=this;return b(this.configuration).updateUserPassword(e.updateUserPassword,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateUserPolicy",value:function(e,t){var n=this;return b(this.configuration).updateUserPolicy(e.userId,e.userPolicy,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},19010:function(e,t,n){n.d(t,{Np:function(){return y},WC:function(){return f},YS:function(){return v},fY:function(){return d},rZ:function(){return h},uD:function(){return m},yZ:function(){return g}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(24776),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(95021),n(73687),n(83994),n(97456),n(23630),n(82367),n(99102);var r=n(42934);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return(t=function(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,l=Object.create(c.prototype);return s(l,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),l}var u={};function a(){}function l(){}function d(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(s(t={},r,(function(){return this})),t),v=d.prototype=a.prototype=Object.create(f);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,s(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return l.prototype=d,s(v,"constructor",d),s(d,"constructor",l),l.displayName="GeneratorFunction",s(d,o,"GeneratorFunction"),s(v),s(v,o,"Generator"),s(v,r,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),(c=function(){return{w:i,m:p}})()}function s(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}s=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){s(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},s(e,t,n,r)}function l(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}var d="https://example.com",f=function(e,t,n){if(null==n)throw new r.Q0(t,"Required parameter ".concat(t," was null or undefined when calling ").concat(e,"."))},v=function(){var e,t=(e=c().m((function e(t,n,r){var o,i;return c().w((function(e){for(;;)switch(e.n){case 0:if(!r||!r.apiKey){e.n=5;break}if("function"!=typeof r.apiKey){e.n=2;break}return e.n=1,r.apiKey(n);case 1:i=e.v,e.n=4;break;case 2:return e.n=3,r.apiKey;case 3:i=e.v;case 4:o=i,t[n]=o;case 5:return e.a(2)}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){l(i,r,o,u,a,"next",e)}function a(e){l(i,r,o,u,a,"throw",e)}u(void 0)}))});return function(e,n,r){return t.apply(this,arguments)}}();function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";null!=t&&("object"===a(t)?Array.isArray(t)?t.forEach((function(t){return p(e,t,n)})):Object.keys(t).forEach((function(r){return p(e,t[r],"".concat(n).concat(""!==n?".":"").concat(r))})):e.has(n)?e.append(n,t):e.set(n,t))}var h=function(e){for(var t=new URLSearchParams(e.search),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];p(t,r),e.search=t.toString()},y=function(e,t,n){var r="string"!=typeof e;return(r&&n&&n.isJsonMime?n.isJsonMime(t.headers["Content-Type"]):r)?JSON.stringify(void 0!==e?e:{}):e||""},m=function(e){return e.pathname+e.search+e.hash},g=function(e,t,n,r){return function(){var o,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,c=i(i({},e.options),{},{url:(u.defaults.baseURL?"":null!==(o=null==r?void 0:r.basePath)&&void 0!==o?o:a)+e.url});return u.request(c)}}},19437:function(e,t,n){n.d(t,{_:function(){return r}});var r={Normal:"Normal",Idle:"Idle",High:"High",RealTime:"RealTime",BelowNormal:"BelowNormal",AboveNormal:"AboveNormal"}},23044:function(e,t,n){n.d(t,{n:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getItemUserData:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getItemUserData","itemId",n),u="/UserItems/{itemId}/UserData".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),getItems:(r=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ue,ae,ce,se,le,de,fe,ve,pe,he,ye,me,ge,be,we,Ie,Pe,Oe,Se,Te,je,xe,Ce,Ae,Re,ke,Ue,Le,De,Ee,Ge){var Ze,ze,Ye,_e,We,Fe,Be,Me=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return Ze=Me.length>86&&void 0!==Me[86]?Me[86]:{},ze=new URL("/Items",o.fY),e&&(Ye=e.baseOptions),_e=p(p({method:"GET"},Ye),Ze),We={},Fe={},t.n=1,(0,o.YS)(We,"Authorization",e);case 1:return void 0!==n&&(Fe.userId=n),void 0!==r&&(Fe.maxOfficialRating=r),void 0!==i&&(Fe.hasThemeSong=i),void 0!==u&&(Fe.hasThemeVideo=u),void 0!==a&&(Fe.hasSubtitles=a),void 0!==c&&(Fe.hasSpecialFeature=c),void 0!==s&&(Fe.hasTrailer=s),void 0!==l&&(Fe.adjacentTo=l),void 0!==f&&(Fe.indexNumber=f),void 0!==v&&(Fe.parentIndexNumber=v),void 0!==h&&(Fe.hasParentalRating=h),void 0!==y&&(Fe.isHd=y),void 0!==m&&(Fe.is4K=m),g&&(Fe.locationTypes=g),b&&(Fe.excludeLocationTypes=b),void 0!==w&&(Fe.isMissing=w),void 0!==I&&(Fe.isUnaired=I),void 0!==P&&(Fe.minCommunityRating=P),void 0!==O&&(Fe.minCriticRating=O),void 0!==S&&(Fe.minPremiereDate=S instanceof Date?S.toISOString():S),void 0!==T&&(Fe.minDateLastSaved=T instanceof Date?T.toISOString():T),void 0!==j&&(Fe.minDateLastSavedForUser=j instanceof Date?j.toISOString():j),void 0!==x&&(Fe.maxPremiereDate=x instanceof Date?x.toISOString():x),void 0!==C&&(Fe.hasOverview=C),void 0!==A&&(Fe.hasImdbId=A),void 0!==R&&(Fe.hasTmdbId=R),void 0!==k&&(Fe.hasTvdbId=k),void 0!==U&&(Fe.isMovie=U),void 0!==L&&(Fe.isSeries=L),void 0!==D&&(Fe.isNews=D),void 0!==E&&(Fe.isKids=E),void 0!==G&&(Fe.isSports=G),Z&&(Fe.excludeItemIds=Z),void 0!==z&&(Fe.startIndex=z),void 0!==Y&&(Fe.limit=Y),void 0!==_&&(Fe.recursive=_),void 0!==W&&(Fe.searchTerm=W),F&&(Fe.sortOrder=F),void 0!==B&&(Fe.parentId=B),M&&(Fe.fields=M),N&&(Fe.excludeItemTypes=N),H&&(Fe.includeItemTypes=H),V&&(Fe.filters=V),void 0!==q&&(Fe.isFavorite=q),Q&&(Fe.mediaTypes=Q),K&&(Fe.imageTypes=K),J&&(Fe.sortBy=J),void 0!==$&&(Fe.isPlayed=$),X&&(Fe.genres=X),ee&&(Fe.officialRatings=ee),te&&(Fe.tags=te),ne&&(Fe.years=ne),void 0!==re&&(Fe.enableUserData=re),void 0!==oe&&(Fe.imageTypeLimit=oe),ie&&(Fe.enableImageTypes=ie),void 0!==ue&&(Fe.person=ue),ae&&(Fe.personIds=ae),ce&&(Fe.personTypes=ce),se&&(Fe.studios=se),le&&(Fe.artists=le),de&&(Fe.excludeArtistIds=de),fe&&(Fe.artistIds=fe),ve&&(Fe.albumArtistIds=ve),pe&&(Fe.contributingArtistIds=pe),he&&(Fe.albums=he),ye&&(Fe.albumIds=ye),me&&(Fe.ids=me),ge&&(Fe.videoTypes=ge),void 0!==be&&(Fe.minOfficialRating=be),void 0!==we&&(Fe.isLocked=we),void 0!==Ie&&(Fe.isPlaceHolder=Ie),void 0!==Pe&&(Fe.hasOfficialRating=Pe),void 0!==Oe&&(Fe.collapseBoxSetItems=Oe),void 0!==Se&&(Fe.minWidth=Se),void 0!==Te&&(Fe.minHeight=Te),void 0!==je&&(Fe.maxWidth=je),void 0!==xe&&(Fe.maxHeight=xe),void 0!==Ce&&(Fe.is3D=Ce),Ae&&(Fe.seriesStatus=Ae),void 0!==Re&&(Fe.nameStartsWithOrGreater=Re),void 0!==ke&&(Fe.nameStartsWith=ke),void 0!==Ue&&(Fe.nameLessThan=Ue),Le&&(Fe.studioIds=Le),De&&(Fe.genreIds=De),void 0!==Ee&&(Fe.enableTotalRecordCount=Ee),void 0!==Ge&&(Fe.enableImages=Ge),(0,o.rZ)(ze,Fe),Be=Ye&&Ye.headers?Ye.headers:{},_e.headers=p(p(p({},We),Be),Ze.headers),t.a(2,{url:(0,o.uD)(ze),options:_e})}}),t)}))),function(e,t,n,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ue,ae,ce,se,le,de,fe,ve,pe,he,ye,me,ge,be,we,Ie,Pe,Oe,Se,Te,je,xe,Ce,Ae,Re,ke,Ue){return r.apply(this,arguments)}),getResumeItems:(n=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b){var w,I,P,O,S,T,j,x=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return w=x.length>15&&void 0!==x[15]?x[15]:{},I=new URL("/UserItems/Resume",o.fY),e&&(P=e.baseOptions),O=p(p({method:"GET"},P),w),S={},T={},t.n=1,(0,o.YS)(S,"Authorization",e);case 1:return void 0!==n&&(T.userId=n),void 0!==r&&(T.startIndex=r),void 0!==i&&(T.limit=i),void 0!==u&&(T.searchTerm=u),void 0!==a&&(T.parentId=a),c&&(T.fields=c),s&&(T.mediaTypes=s),void 0!==l&&(T.enableUserData=l),void 0!==f&&(T.imageTypeLimit=f),v&&(T.enableImageTypes=v),h&&(T.excludeItemTypes=h),y&&(T.includeItemTypes=y),void 0!==m&&(T.enableTotalRecordCount=m),void 0!==g&&(T.enableImages=g),void 0!==b&&(T.excludeActiveSessions=b),(0,o.rZ)(I,T),j=P&&P.headers?P.headers:{},O.headers=p(p(p({},S),j),w.headers),t.a(2,{url:(0,o.uD)(I),options:O})}}),t)}))),function(e,t,r,o,i,u,a,c,s,l,d,f,v,p,h){return n.apply(this,arguments)}),updateItemUserData:(t=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("updateItemUserData","itemId",n),(0,o.WC)("updateItemUserData","updateUserItemDataDto",r),a="/UserItems/{itemId}/UserData".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==i&&(v.userId=i),f["Content-Type"]="application/json",(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),l.data=(0,o.Np)(r,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r){return t.apply(this,arguments)})};var t,n,r,i}(e);return{getItemUserData:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getItemUserData(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ItemsApi.getItemUserData"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getItems:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ue,ae,ce,se,le,de,fe,ve,pe,he,ye,me,ge,be,we,Ie,Pe,Oe,Se,Te,je,xe,Ce,Ae,Re,ke,Ue,Le,De,Ee,Ge,Ze,ze,Ye){return g(d().m((function g(){var _e,We,Fe,Be,Me,Ne;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getItems(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ue,ae,ce,se,le,de,fe,ve,pe,he,ye,me,ge,be,we,Ie,Pe,Oe,Se,Te,je,xe,Ce,Ae,Re,ke,Ue,Le,De,Ee,Ge,Ze,ze,Ye);case 1:return Be=d.v,Me=null!==(_e=null==e?void 0:e.serverIndex)&&void 0!==_e?_e:0,Ne=null===(Fe=null===(We=i.z9["ItemsApi.getItems"])||void 0===We?void 0:We[Me])||void 0===Fe?void 0:Fe.url,d.a(2,(function(t,n){return(0,o.yZ)(Be,r.A,i.o2,e)(t,Ne||n)}))}}),g)})))()},getResumeItems:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P){return g(d().m((function g(){var O,S,T,j,x,C;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getResumeItems(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P);case 1:return j=d.v,x=null!==(O=null==e?void 0:e.serverIndex)&&void 0!==O?O:0,C=null===(T=null===(S=i.z9["ItemsApi.getResumeItems"])||void 0===S?void 0:S[x])||void 0===T?void 0:T.url,d.a(2,(function(t,n){return(0,o.yZ)(j,r.A,i.o2,e)(t,C||n)}))}}),g)})))()},updateItemUserData:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.updateItemUserData(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ItemsApi.updateItemUserData"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getItemUserData",value:function(e,t){var n=this;return b(this.configuration).getItemUserData(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItems",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getItems(t.userId,t.maxOfficialRating,t.hasThemeSong,t.hasThemeVideo,t.hasSubtitles,t.hasSpecialFeature,t.hasTrailer,t.adjacentTo,t.indexNumber,t.parentIndexNumber,t.hasParentalRating,t.isHd,t.is4K,t.locationTypes,t.excludeLocationTypes,t.isMissing,t.isUnaired,t.minCommunityRating,t.minCriticRating,t.minPremiereDate,t.minDateLastSaved,t.minDateLastSavedForUser,t.maxPremiereDate,t.hasOverview,t.hasImdbId,t.hasTmdbId,t.hasTvdbId,t.isMovie,t.isSeries,t.isNews,t.isKids,t.isSports,t.excludeItemIds,t.startIndex,t.limit,t.recursive,t.searchTerm,t.sortOrder,t.parentId,t.fields,t.excludeItemTypes,t.includeItemTypes,t.filters,t.isFavorite,t.mediaTypes,t.imageTypes,t.sortBy,t.isPlayed,t.genres,t.officialRatings,t.tags,t.years,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.person,t.personIds,t.personTypes,t.studios,t.artists,t.excludeArtistIds,t.artistIds,t.albumArtistIds,t.contributingArtistIds,t.albums,t.albumIds,t.ids,t.videoTypes,t.minOfficialRating,t.isLocked,t.isPlaceHolder,t.hasOfficialRating,t.collapseBoxSetItems,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight,t.is3D,t.seriesStatus,t.nameStartsWithOrGreater,t.nameStartsWith,t.nameLessThan,t.studioIds,t.genreIds,t.enableTotalRecordCount,t.enableImages,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getResumeItems",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getResumeItems(t.userId,t.startIndex,t.limit,t.searchTerm,t.parentId,t.fields,t.mediaTypes,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.excludeItemTypes,t.includeItemTypes,t.enableTotalRecordCount,t.enableImages,t.excludeActiveSessions,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"updateItemUserData",value:function(e,t){var n=this;return b(this.configuration).updateItemUserData(e.itemId,e.updateUserItemDataDto,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},24034:function(e,t,n){n.d(t,{O:function(){return r}});var r={DailyTrigger:"DailyTrigger",WeeklyTrigger:"WeeklyTrigger",IntervalTrigger:"IntervalTrigger",StartupTrigger:"StartupTrigger"}},24698:function(e,t,n){n.d(t,{A:function(){return w}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,f=[{key:"getLogEntries",value:function(){var e,t,n=this,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;return(e=this.configuration,t=function(e){return{getLogEntries:(t=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/System/ActivityLog/Entries",o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.startIndex=n),void 0!==r&&(v.limit=r),void 0!==i&&(v.minDate=i instanceof Date?i.toISOString():i),void 0!==u&&(v.hasUserId=u),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r,o){return t.apply(this,arguments)})};var t}(e),{getLogEntries:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getLogEntries(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["ActivityLogApi.getLogEntries"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()}}).getLogEntries(u.startIndex,u.limit,u.minDate,u.hasUserId,a).then((function(e){return e(n.axios,n.basePath)}))}}],f&&a(n.prototype,f),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,f}(i.yi);function w(e){return new b(e.configuration,void 0,e.axiosInstance)}},25334:function(e,t,n){n.d(t,{q:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{markPlayedItem:(l=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("markPlayedItem","itemId",n),a="/UserPlayedItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==r&&(v.userId=r),void 0!==i&&(v.datePlayed=i instanceof Date?i.toISOString():i),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return l.apply(this,arguments)}),markUnplayedItem:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("markUnplayedItem","itemId",n),u="/UserPlayedItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return s.apply(this,arguments)}),onPlaybackProgress:(c=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y){var m,g,b,w,I,P,O,S,T=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return m=T.length>12&&void 0!==T[12]?T[12]:{},(0,o.WC)("onPlaybackProgress","itemId",n),g="/PlayingItems/{itemId}/Progress".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),b=new URL(g,o.fY),e&&(w=e.baseOptions),I=p(p({method:"POST"},w),m),P={},O={},t.n=1,(0,o.YS)(P,"Authorization",e);case 1:return void 0!==r&&(O.mediaSourceId=r),void 0!==i&&(O.positionTicks=i),void 0!==u&&(O.audioStreamIndex=u),void 0!==a&&(O.subtitleStreamIndex=a),void 0!==c&&(O.volumeLevel=c),void 0!==s&&(O.playMethod=s),void 0!==l&&(O.liveStreamId=l),void 0!==f&&(O.playSessionId=f),void 0!==v&&(O.repeatMode=v),void 0!==h&&(O.isPaused=h),void 0!==y&&(O.isMuted=y),(0,o.rZ)(b,O),S=w&&w.headers?w.headers:{},I.headers=p(p(p({},P),S),m.headers),t.a(2,{url:(0,o.uD)(b),options:I})}}),t)}))),function(e,t,n,r,o,i,u,a,s,l,d,f){return c.apply(this,arguments)}),onPlaybackStart:(a=g(d().m((function t(n,r,i,u,a,c,s,l){var f,v,h,y,m,g,b,w,I=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return f=I.length>8&&void 0!==I[8]?I[8]:{},(0,o.WC)("onPlaybackStart","itemId",n),v="/PlayingItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),h=new URL(v,o.fY),e&&(y=e.baseOptions),m=p(p({method:"POST"},y),f),g={},b={},t.n=1,(0,o.YS)(g,"Authorization",e);case 1:return void 0!==r&&(b.mediaSourceId=r),void 0!==i&&(b.audioStreamIndex=i),void 0!==u&&(b.subtitleStreamIndex=u),void 0!==a&&(b.playMethod=a),void 0!==c&&(b.liveStreamId=c),void 0!==s&&(b.playSessionId=s),void 0!==l&&(b.canSeek=l),(0,o.rZ)(h,b),w=y&&y.headers?y.headers:{},m.headers=p(p(p({},g),w),f.headers),t.a(2,{url:(0,o.uD)(h),options:m})}}),t)}))),function(e,t,n,r,o,i,u,c){return a.apply(this,arguments)}),onPlaybackStopped:(u=g(d().m((function t(n,r,i,u,a,c){var s,l,f,v,h,y,m,g,b=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return s=b.length>6&&void 0!==b[6]?b[6]:{},(0,o.WC)("onPlaybackStopped","itemId",n),l="/PlayingItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),f=new URL(l,o.fY),e&&(v=e.baseOptions),h=p(p({method:"DELETE"},v),s),y={},m={},t.n=1,(0,o.YS)(y,"Authorization",e);case 1:return void 0!==r&&(m.mediaSourceId=r),void 0!==i&&(m.nextMediaType=i),void 0!==u&&(m.positionTicks=u),void 0!==a&&(m.liveStreamId=a),void 0!==c&&(m.playSessionId=c),(0,o.rZ)(f,m),g=v&&v.headers?v.headers:{},h.headers=p(p(p({},y),g),s.headers),t.a(2,{url:(0,o.uD)(f),options:h})}}),t)}))),function(e,t,n,r,o,i){return u.apply(this,arguments)}),pingPlaybackSession:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("pingPlaybackSession","playSessionId",n),i=new URL("/Sessions/Playing/Ping",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.playSessionId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),reportPlaybackProgress:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Sessions/Playing/Progress",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),reportPlaybackStart:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Sessions/Playing",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),reportPlaybackStopped:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Sessions/Playing/Stopped",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l}(e);return{markPlayedItem:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.markPlayedItem(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["PlaystateApi.markPlayedItem"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},markUnplayedItem:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.markUnplayedItem(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PlaystateApi.markUnplayedItem"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},onPlaybackProgress:function(n,u,a,c,s,l,f,v,p,h,y,m,b){return g(d().m((function g(){var w,I,P,O,S,T;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.onPlaybackProgress(n,u,a,c,s,l,f,v,p,h,y,m,b);case 1:return O=d.v,S=null!==(w=null==e?void 0:e.serverIndex)&&void 0!==w?w:0,T=null===(P=null===(I=i.z9["PlaystateApi.onPlaybackProgress"])||void 0===I?void 0:I[S])||void 0===P?void 0:P.url,d.a(2,(function(t,n){return(0,o.yZ)(O,r.A,i.o2,e)(t,T||n)}))}}),g)})))()},onPlaybackStart:function(n,u,a,c,s,l,f,v,p){return g(d().m((function h(){var y,m,g,b,w,I;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.onPlaybackStart(n,u,a,c,s,l,f,v,p);case 1:return b=d.v,w=null!==(y=null==e?void 0:e.serverIndex)&&void 0!==y?y:0,I=null===(g=null===(m=i.z9["PlaystateApi.onPlaybackStart"])||void 0===m?void 0:m[w])||void 0===g?void 0:g.url,d.a(2,(function(t,n){return(0,o.yZ)(b,r.A,i.o2,e)(t,I||n)}))}}),h)})))()},onPlaybackStopped:function(n,u,a,c,s,l,f){return g(d().m((function v(){var p,h,y,m,g,b;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.onPlaybackStopped(n,u,a,c,s,l,f);case 1:return m=d.v,g=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,b=null===(y=null===(h=i.z9["PlaystateApi.onPlaybackStopped"])||void 0===h?void 0:h[g])||void 0===y?void 0:y.url,d.a(2,(function(t,n){return(0,o.yZ)(m,r.A,i.o2,e)(t,b||n)}))}}),v)})))()},pingPlaybackSession:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.pingPlaybackSession(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaystateApi.pingPlaybackSession"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},reportPlaybackProgress:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.reportPlaybackProgress(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaystateApi.reportPlaybackProgress"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},reportPlaybackStart:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.reportPlaybackStart(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaystateApi.reportPlaybackStart"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},reportPlaybackStopped:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.reportPlaybackStopped(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaystateApi.reportPlaybackStopped"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"markPlayedItem",value:function(e,t){var n=this;return b(this.configuration).markPlayedItem(e.itemId,e.userId,e.datePlayed,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"markUnplayedItem",value:function(e,t){var n=this;return b(this.configuration).markUnplayedItem(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"onPlaybackProgress",value:function(e,t){var n=this;return b(this.configuration).onPlaybackProgress(e.itemId,e.mediaSourceId,e.positionTicks,e.audioStreamIndex,e.subtitleStreamIndex,e.volumeLevel,e.playMethod,e.liveStreamId,e.playSessionId,e.repeatMode,e.isPaused,e.isMuted,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"onPlaybackStart",value:function(e,t){var n=this;return b(this.configuration).onPlaybackStart(e.itemId,e.mediaSourceId,e.audioStreamIndex,e.subtitleStreamIndex,e.playMethod,e.liveStreamId,e.playSessionId,e.canSeek,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"onPlaybackStopped",value:function(e,t){var n=this;return b(this.configuration).onPlaybackStopped(e.itemId,e.mediaSourceId,e.nextMediaType,e.positionTicks,e.liveStreamId,e.playSessionId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"pingPlaybackSession",value:function(e,t){var n=this;return b(this.configuration).pingPlaybackSession(e.playSessionId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"reportPlaybackProgress",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).reportPlaybackProgress(t.playbackProgressInfo,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"reportPlaybackStart",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).reportPlaybackStart(t.playbackStartInfo,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"reportPlaybackStopped",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).reportPlaybackStopped(t.playbackStopInfo,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},28850:function(e,t,n){n.d(t,{m:function(){return r}});var r={MatchSource:"MatchSource",P144:"P144",P240:"P240",P360:"P360",P480:"P480",P720:"P720",P1080:"P1080",P1440:"P1440",P2160:"P2160"}},31110:function(e,t,n){n.d(t,{u:function(){return r}});var r={Active:"Active",Restart:"Restart",Deleted:"Deleted",Superseded:"Superseded",Superceded:"Superceded",Malfunctioned:"Malfunctioned",NotSupported:"NotSupported",Disabled:"Disabled"}},35310:function(e,t,n){n.d(t,{M:function(){return r}});var r={VideoFile:"VideoFile",Iso:"Iso",Dvd:"Dvd",BluRay:"BluRay"}},36657:function(e,t,n){n.d(t,{d:function(){return r}});var r={Movie:"Movie",Trailer:"Trailer",Series:"Series",Music:"Music",Book:"Book",LiveTvChannel:"LiveTvChannel",LiveTvProgram:"LiveTvProgram",ChannelContent:"ChannelContent",Other:"Other"}},36873:function(e,t,n){n.d(t,{z:function(){return r}});var r={AirTime:"AirTime",CanDelete:"CanDelete",CanDownload:"CanDownload",ChannelInfo:"ChannelInfo",Chapters:"Chapters",Trickplay:"Trickplay",ChildCount:"ChildCount",CumulativeRunTimeTicks:"CumulativeRunTimeTicks",CustomRating:"CustomRating",DateCreated:"DateCreated",DateLastMediaAdded:"DateLastMediaAdded",DisplayPreferencesId:"DisplayPreferencesId",Etag:"Etag",ExternalUrls:"ExternalUrls",Genres:"Genres",ItemCounts:"ItemCounts",MediaSourceCount:"MediaSourceCount",MediaSources:"MediaSources",OriginalTitle:"OriginalTitle",Overview:"Overview",ParentId:"ParentId",Path:"Path",People:"People",PlayAccess:"PlayAccess",ProductionLocations:"ProductionLocations",ProviderIds:"ProviderIds",PrimaryImageAspectRatio:"PrimaryImageAspectRatio",RecursiveItemCount:"RecursiveItemCount",Settings:"Settings",SeriesStudio:"SeriesStudio",SortName:"SortName",SpecialEpisodeNumbers:"SpecialEpisodeNumbers",Studios:"Studios",Taglines:"Taglines",Tags:"Tags",RemoteTrailers:"RemoteTrailers",MediaStreams:"MediaStreams",SeasonUserData:"SeasonUserData",DateLastRefreshed:"DateLastRefreshed",DateLastSaved:"DateLastSaved",RefreshState:"RefreshState",ChannelImage:"ChannelImage",EnableMediaSourceDisplay:"EnableMediaSourceDisplay",Width:"Width",Height:"Height",ExtraIds:"ExtraIds",LocalTrailerCount:"LocalTrailerCount",IsHd:"IsHD",SpecialFeatureCount:"SpecialFeatureCount"}},37853:function(e,t,n){n.d(t,{pi:function(){return w}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{createBackup:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Backup/Create",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),getBackup:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("getBackup","path",n),i=new URL("/Backup/Manifest",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.path=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),listBackups:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Backup",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return n.apply(this,arguments)}),startRestoreBackup:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("startRestoreBackup","backupRestoreRequestDto",n),i=new URL("/Backup/Restore",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i}(e);return{createBackup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.createBackup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["BackupApi.createBackup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getBackup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getBackup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["BackupApi.getBackup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},listBackups:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.listBackups(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["BackupApi.listBackups"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},startRestoreBackup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.startRestoreBackup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["BackupApi.startRestoreBackup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"createBackup",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).createBackup(t.backupOptionsDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getBackup",value:function(e,t){var n=this;return b(this.configuration).getBackup(e.path,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"listBackups",value:function(e){var t=this;return b(this.configuration).listBackups(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"startRestoreBackup",value:function(e,t){var n=this;return b(this.configuration).startRestoreBackup(e.backupRestoreRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi)},38586:function(e,t,n){n.d(t,{Y:function(){return w}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,f=[{key:"getMovieRecommendations",value:function(){var e,t,n=this,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;return(e=this.configuration,t=function(e){return{getMovieRecommendations:(t=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=m.length>5&&void 0!==m[5]?m[5]:{},s=new URL("/Movies/Recommendations",o.fY),e&&(l=e.baseOptions),f=p(p({method:"GET"},l),c),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==n&&(h.userId=n),void 0!==r&&(h.parentId=r),i&&(h.fields=i),void 0!==u&&(h.categoryLimit=u),void 0!==a&&(h.itemLimit=a),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),c.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,n,r,o,i){return t.apply(this,arguments)})};var t}(e),{getMovieRecommendations:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getMovieRecommendations(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["MoviesApi.getMovieRecommendations"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()}}).getMovieRecommendations(u.userId,u.parentId,u.fields,u.categoryLimit,u.itemLimit,a).then((function(e){return e(n.axios,n.basePath)}))}}],f&&a(n.prototype,f),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,f}(i.yi);function w(e){return new b(e.configuration,void 0,e.axiosInstance)}},39057:function(e,t,n){n.d(t,{g:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getBrandingCss:(r=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Branding/Css",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return r.apply(this,arguments)}),getBrandingCss2:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Branding/Css.css",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return n.apply(this,arguments)}),getBrandingOptions:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Branding/Configuration",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r}(e);return{getBrandingCss:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getBrandingCss(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["BrandingApi.getBrandingCss"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getBrandingCss2:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getBrandingCss2(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["BrandingApi.getBrandingCss2"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getBrandingOptions:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getBrandingOptions(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["BrandingApi.getBrandingOptions"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"getBrandingCss",value:function(e){var t=this;return b(this.configuration).getBrandingCss(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getBrandingCss2",value:function(e){var t=this;return b(this.configuration).getBrandingCss2(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getBrandingOptions",value:function(e){var t=this;return b(this.configuration).getBrandingOptions(e).then((function(e){return e(t.axios,t.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},39914:function(e,t,n){n.d(t,{l:function(){return r}});var r={None:"none",Amf:"amf",Qsv:"qsv",Nvenc:"nvenc",V4l2m2m:"v4l2m2m",Vaapi:"vaapi",Videotoolbox:"videotoolbox",Rkmpp:"rkmpp"}},40806:function(e,t,n){n.d(t,{l:function(){return w}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(f=[{key:"getItemSegments",value:function(e,t){var n,u,a=this;return(n=this.configuration,u=function(e){return{getItemSegments:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getItemSegments","itemId",n),u="/MediaSegments/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return r&&(f.includeSegmentTypes=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t}(n),{getItemSegments:function(e,t,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,u.getItemSegments(e,t,a);case 1:return v=c.v,p=null!==(s=null==n?void 0:n.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["MediaSegmentsApi.getItemSegments"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(e,t){return(0,o.yZ)(v,r.A,i.o2,n)(e,h||t)}))}}),c)})))()}}).getItemSegments(e.itemId,e.includeSegmentTypes,t).then((function(e){return e(a.axios,a.basePath)}))}}])&&a(n.prototype,f),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,f}(i.yi);function w(e){return new b(e.configuration,void 0,e.axiosInstance)}},40948:function(e,t,n){n.d(t,{F:function(){return r}});var r={ContactAdmin:"ContactAdmin",PinCode:"PinCode",InNetworkRequired:"InNetworkRequired"}},41087:function(e,t,n){n.d(t,{w:function(){return r}});var r={Unknown:"Unknown",Commercial:"Commercial",Preview:"Preview",Recap:"Recap",Outro:"Outro",Intro:"Intro"}},41364:function(e,t,n){n.d(t,{a:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getGroupingOptions:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/UserViews/GroupingOptions",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),getUserViews:(t=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/UserViews",o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.userId=n),void 0!==r&&(v.includeExternalContent=r),i&&(v.presetViews=i),void 0!==u&&(v.includeHidden=u),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r,o){return t.apply(this,arguments)})};var t,n}(e);return{getGroupingOptions:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getGroupingOptions(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserViewsApi.getGroupingOptions"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getUserViews:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getUserViews(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["UserViewsApi.getUserViews"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getGroupingOptions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getGroupingOptions(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getUserViews",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getUserViews(t.userId,t.includeExternalContent,t.presetViews,t.includeHidden,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},42934:function(e,t,n){n.d(t,{Q0:function(){return h},o2:function(){return v},yi:function(){return p},z9:function(){return y}}),n(29305),n(32733),n(84701),n(81678),n(84734),n(44962),n(4754),n(58551),n(94),n(36947),n(26437),n(52697),n(78557),n(21359),n(95021),n(73687),n(83994),n(93062),n(82367);var r=n(83202);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e){var t="function"==typeof Map?new Map:void 0;return i=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(u())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&a(o,n.prototype),o}(e,arguments,c(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,e)},i(e)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,d(r.key),r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var v="http://localhost".replace(/\/+$/,""),p=l((function e(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.A;f(this,e),this.basePath=o,this.axios=i,t&&(this.configuration=t,this.basePath=null!==(n=t.basePath)&&void 0!==n?n:o)})),h=function(e){function t(e,n){var r,i,a,s;return f(this,t),(i=this,a=t,s=[n],a=c(a),r=function(e,t){if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(i,u()?Reflect.construct(a,s||[],c(i).constructor):a.apply(i,s))).field=e,r.name="RequiredError",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e),l(t)}(i(Error)),y={}},45182:function(e,t,n){n.d(t,{t:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteLyrics:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("deleteLyrics","itemId",n),i="/Audio/{itemId}/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),downloadRemoteLyrics:(u=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("downloadRemoteLyrics","itemId",n),(0,o.WC)("downloadRemoteLyrics","lyricId",r),u="/Audio/{itemId}/RemoteSearch/Lyrics/{lyricId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("lyricId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return u.apply(this,arguments)}),getLyrics:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getLyrics","itemId",n),i="/Audio/{itemId}/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return i.apply(this,arguments)}),getRemoteLyrics:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getRemoteLyrics","lyricId",n),i="/Providers/Lyrics/{lyricId}".replace("{".concat("lyricId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return r.apply(this,arguments)}),searchRemoteLyrics:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("searchRemoteLyrics","itemId",n),i="/Audio/{itemId}/RemoteSearch/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return n.apply(this,arguments)}),uploadLyrics:(t=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("uploadLyrics","itemId",n),(0,o.WC)("uploadLyrics","fileName",r),a="/Audio/{itemId}/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==r&&(v.fileName=r),f["Content-Type"]="text/plain",(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),l.data=(0,o.Np)(i,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r){return t.apply(this,arguments)})};var t,n,r,i,u,a}(e);return{deleteLyrics:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteLyrics(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LyricsApi.deleteLyrics"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},downloadRemoteLyrics:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.downloadRemoteLyrics(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LyricsApi.downloadRemoteLyrics"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getLyrics:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getLyrics(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LyricsApi.getLyrics"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRemoteLyrics:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRemoteLyrics(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LyricsApi.getRemoteLyrics"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},searchRemoteLyrics:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.searchRemoteLyrics(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LyricsApi.searchRemoteLyrics"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},uploadLyrics:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.uploadLyrics(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["LyricsApi.uploadLyrics"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"deleteLyrics",value:function(e,t){var n=this;return b(this.configuration).deleteLyrics(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"downloadRemoteLyrics",value:function(e,t){var n=this;return b(this.configuration).downloadRemoteLyrics(e.itemId,e.lyricId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getLyrics",value:function(e,t){var n=this;return b(this.configuration).getLyrics(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getRemoteLyrics",value:function(e,t){var n=this;return b(this.configuration).getRemoteLyrics(e.lyricId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"searchRemoteLyrics",value:function(e,t){var n=this;return b(this.configuration).searchRemoteLyrics(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"uploadLyrics",value:function(e,t){var n=this;return b(this.configuration).uploadLyrics(e.itemId,e.fileName,e.body,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},45251:function(e,t,n){n.d(t,{z:function(){return r}});var r={Unknown:"Unknown",Video:"Video",Audio:"Audio",Photo:"Photo",Book:"Book"}},45659:function(e,t,n){n.d(t,{t:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{addListingProvider:(N=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/LiveTv/ListingProviders",o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.pw=n),void 0!==r&&(v.validateListings=r),void 0!==i&&(v.validateLogin=i),f["Content-Type"]="application/json",(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),l.data=(0,o.Np)(u,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n,r){return N.apply(this,arguments)}),addTunerHost:(M=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/TunerHosts",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return M.apply(this,arguments)}),cancelSeriesTimer:(B=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("cancelSeriesTimer","timerId",n),i="/LiveTv/SeriesTimers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return B.apply(this,arguments)}),cancelTimer:(F=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("cancelTimer","timerId",n),i="/LiveTv/Timers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return F.apply(this,arguments)}),createSeriesTimer:(W=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/SeriesTimers",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return W.apply(this,arguments)}),createTimer:(_=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Timers",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return _.apply(this,arguments)}),deleteListingProvider:(Y=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/ListingProviders",o.fY),e&&(u=e.baseOptions),a=p(p({method:"DELETE"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return Y.apply(this,arguments)}),deleteRecording:(z=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("deleteRecording","recordingId",n),i="/LiveTv/Recordings/{recordingId}".replace("{".concat("recordingId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return z.apply(this,arguments)}),deleteTunerHost:(Z=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/TunerHosts",o.fY),e&&(u=e.baseOptions),a=p(p({method:"DELETE"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return Z.apply(this,arguments)}),discoverTuners:(G=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Tuners/Discover",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.newDevicesOnly=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return G.apply(this,arguments)}),discvoverTuners:(E=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Tuners/Discvover",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.newDevicesOnly=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return E.apply(this,arguments)}),getChannel:(D=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getChannel","channelId",n),u="/LiveTv/Channels/{channelId}".replace("{".concat("channelId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return D.apply(this,arguments)}),getChannelMappingOptions:(L=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/ChannelMappingOptions",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.providerId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return L.apply(this,arguments)}),getDefaultListingProvider:(U=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/LiveTv/ListingProviders/Default",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return U.apply(this,arguments)}),getDefaultTimer:(k=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Timers/Defaults",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.programId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return k.apply(this,arguments)}),getGuideInfo:(R=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/LiveTv/GuideInfo",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return R.apply(this,arguments)}),getLineups:(A=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/LiveTv/ListingProviders/Lineups",o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.id=n),void 0!==r&&(v.type=r),void 0!==i&&(v.location=i),void 0!==u&&(v.country=u),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n,r){return A.apply(this,arguments)}),getLiveRecordingFile:(C=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getLiveRecordingFile","recordingId",n),i="/LiveTv/LiveRecordings/{recordingId}/stream".replace("{".concat("recordingId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}),t)}))),function(e){return C.apply(this,arguments)}),getLiveStreamFile:(x=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)if(0===t.n)return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getLiveStreamFile","streamId",n),(0,o.WC)("getLiveStreamFile","container",r),u="/LiveTv/LiveStreamFiles/{streamId}/stream.{container}".replace("{".concat("streamId","}"),encodeURIComponent(String(n))).replace("{".concat("container","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}),t)}))),function(e,t){return x.apply(this,arguments)}),getLiveTvChannels:(j=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O,S,T){var j,x,C,A,R,k,U,L=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return j=L.length>21&&void 0!==L[21]?L[21]:{},x=new URL("/LiveTv/Channels",o.fY),e&&(C=e.baseOptions),A=p(p({method:"GET"},C),j),R={},k={},t.n=1,(0,o.YS)(R,"Authorization",e);case 1:return void 0!==n&&(k.type=n),void 0!==r&&(k.userId=r),void 0!==i&&(k.startIndex=i),void 0!==u&&(k.isMovie=u),void 0!==a&&(k.isSeries=a),void 0!==c&&(k.isNews=c),void 0!==s&&(k.isKids=s),void 0!==l&&(k.isSports=l),void 0!==f&&(k.limit=f),void 0!==v&&(k.isFavorite=v),void 0!==h&&(k.isLiked=h),void 0!==y&&(k.isDisliked=y),void 0!==m&&(k.enableImages=m),void 0!==g&&(k.imageTypeLimit=g),b&&(k.enableImageTypes=b),w&&(k.fields=w),void 0!==I&&(k.enableUserData=I),P&&(k.sortBy=P),void 0!==O&&(k.sortOrder=O),void 0!==S&&(k.enableFavoriteSorting=S),void 0!==T&&(k.addCurrentProgram=T),(0,o.rZ)(x,k),U=C&&C.headers?C.headers:{},A.headers=p(p(p({},R),U),j.headers),t.a(2,{url:(0,o.uD)(x),options:A})}}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g,b,w){return j.apply(this,arguments)}),getLiveTvInfo:(T=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/LiveTv/Info",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return T.apply(this,arguments)}),getLiveTvPrograms:(S=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k){var U,L,D,E,G,Z,z,Y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return U=Y.length>27&&void 0!==Y[27]?Y[27]:{},L=new URL("/LiveTv/Programs",o.fY),e&&(D=e.baseOptions),E=p(p({method:"GET"},D),U),G={},Z={},t.n=1,(0,o.YS)(G,"Authorization",e);case 1:return n&&(Z.channelIds=n),void 0!==r&&(Z.userId=r),void 0!==i&&(Z.minStartDate=i instanceof Date?i.toISOString():i),void 0!==u&&(Z.hasAired=u),void 0!==a&&(Z.isAiring=a),void 0!==c&&(Z.maxStartDate=c instanceof Date?c.toISOString():c),void 0!==s&&(Z.minEndDate=s instanceof Date?s.toISOString():s),void 0!==l&&(Z.maxEndDate=l instanceof Date?l.toISOString():l),void 0!==f&&(Z.isMovie=f),void 0!==v&&(Z.isSeries=v),void 0!==h&&(Z.isNews=h),void 0!==y&&(Z.isKids=y),void 0!==m&&(Z.isSports=m),void 0!==g&&(Z.startIndex=g),void 0!==b&&(Z.limit=b),w&&(Z.sortBy=w),I&&(Z.sortOrder=I),P&&(Z.genres=P),O&&(Z.genreIds=O),void 0!==S&&(Z.enableImages=S),void 0!==T&&(Z.imageTypeLimit=T),j&&(Z.enableImageTypes=j),void 0!==x&&(Z.enableUserData=x),void 0!==C&&(Z.seriesTimerId=C),void 0!==A&&(Z.librarySeriesId=A),R&&(Z.fields=R),void 0!==k&&(Z.enableTotalRecordCount=k),(0,o.rZ)(L,Z),z=D&&D.headers?D.headers:{},E.headers=p(p(p({},G),z),U.headers),t.a(2,{url:(0,o.uD)(L),options:E})}}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g,b,w,I,P,O,T,j,x){return S.apply(this,arguments)}),getProgram:(O=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getProgram","programId",n),u="/LiveTv/Programs/{programId}".replace("{".concat("programId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return O.apply(this,arguments)}),getPrograms:(P=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Programs",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return P.apply(this,arguments)}),getRecommendedPrograms:(I=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return P=A.length>17&&void 0!==A[17]?A[17]:{},O=new URL("/LiveTv/Programs/Recommended",o.fY),e&&(S=e.baseOptions),T=p(p({method:"GET"},S),P),j={},x={},t.n=1,(0,o.YS)(j,"Authorization",e);case 1:return void 0!==n&&(x.userId=n),void 0!==r&&(x.startIndex=r),void 0!==i&&(x.limit=i),void 0!==u&&(x.isAiring=u),void 0!==a&&(x.hasAired=a),void 0!==c&&(x.isSeries=c),void 0!==s&&(x.isMovie=s),void 0!==l&&(x.isNews=l),void 0!==f&&(x.isKids=f),void 0!==v&&(x.isSports=v),void 0!==h&&(x.enableImages=h),void 0!==y&&(x.imageTypeLimit=y),m&&(x.enableImageTypes=m),g&&(x.genreIds=g),b&&(x.fields=b),void 0!==w&&(x.enableUserData=w),void 0!==I&&(x.enableTotalRecordCount=I),(0,o.rZ)(O,x),C=S&&S.headers?S.headers:{},T.headers=p(p(p({},j),C),P.headers),t.a(2,{url:(0,o.uD)(O),options:T})}}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return I.apply(this,arguments)}),getRecording:(w=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getRecording","recordingId",n),u="/LiveTv/Recordings/{recordingId}".replace("{".concat("recordingId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return w.apply(this,arguments)}),getRecordingFolders:(b=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Recordings/Folders",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return b.apply(this,arguments)}),getRecordingGroup:(m=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getRecordingGroup","groupId",n),i="/LiveTv/Recordings/Groups/{groupId}".replace("{".concat("groupId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return m.apply(this,arguments)}),getRecordingGroups:(y=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Recordings/Groups",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return y.apply(this,arguments)}),getRecordings:(h=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O){var S,T,j,x,C,A,R,k=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return S=k.length>19&&void 0!==k[19]?k[19]:{},T=new URL("/LiveTv/Recordings",o.fY),e&&(j=e.baseOptions),x=p(p({method:"GET"},j),S),C={},A={},t.n=1,(0,o.YS)(C,"Authorization",e);case 1:return void 0!==n&&(A.channelId=n),void 0!==r&&(A.userId=r),void 0!==i&&(A.startIndex=i),void 0!==u&&(A.limit=u),void 0!==a&&(A.status=a),void 0!==c&&(A.isInProgress=c),void 0!==s&&(A.seriesTimerId=s),void 0!==l&&(A.enableImages=l),void 0!==f&&(A.imageTypeLimit=f),v&&(A.enableImageTypes=v),h&&(A.fields=h),void 0!==y&&(A.enableUserData=y),void 0!==m&&(A.isMovie=m),void 0!==g&&(A.isSeries=g),void 0!==b&&(A.isKids=b),void 0!==w&&(A.isSports=w),void 0!==I&&(A.isNews=I),void 0!==P&&(A.isLibraryItem=P),void 0!==O&&(A.enableTotalRecordCount=O),(0,o.rZ)(T,A),R=j&&j.headers?j.headers:{},x.headers=p(p(p({},C),R),S.headers),t.a(2,{url:(0,o.uD)(T),options:x})}}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,y,m,g,b){return h.apply(this,arguments)}),getRecordingsSeries:(v=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g){var b,w,I,P,O,S,T,j=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return b=j.length>14&&void 0!==j[14]?j[14]:{},w=new URL("/LiveTv/Recordings/Series",o.fY),e&&(I=e.baseOptions),P=p(p({method:"GET"},I),b),O={},S={},t.n=1,(0,o.YS)(O,"Authorization",e);case 1:return void 0!==n&&(S.channelId=n),void 0!==r&&(S.userId=r),void 0!==i&&(S.groupId=i),void 0!==u&&(S.startIndex=u),void 0!==a&&(S.limit=a),void 0!==c&&(S.status=c),void 0!==s&&(S.isInProgress=s),void 0!==l&&(S.seriesTimerId=l),void 0!==f&&(S.enableImages=f),void 0!==v&&(S.imageTypeLimit=v),h&&(S.enableImageTypes=h),y&&(S.fields=y),void 0!==m&&(S.enableUserData=m),void 0!==g&&(S.enableTotalRecordCount=g),(0,o.rZ)(w,S),T=I&&I.headers?I.headers:{},P.headers=p(p(p({},O),T),b.headers),t.a(2,{url:(0,o.uD)(w),options:P})}}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,p){return v.apply(this,arguments)}),getSchedulesDirectCountries:(f=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/LiveTv/ListingProviders/SchedulesDirect/Countries",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return f.apply(this,arguments)}),getSeriesTimer:(l=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getSeriesTimer","timerId",n),i="/LiveTv/SeriesTimers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return l.apply(this,arguments)}),getSeriesTimers:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/LiveTv/SeriesTimers",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.sortBy=n),void 0!==r&&(l.sortOrder=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return s.apply(this,arguments)}),getTimer:(c=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getTimer","timerId",n),i="/LiveTv/Timers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return c.apply(this,arguments)}),getTimers:(a=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/LiveTv/Timers",o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.channelId=n),void 0!==r&&(v.seriesTimerId=r),void 0!==i&&(v.isActive=i),void 0!==u&&(v.isScheduled=u),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n,r){return a.apply(this,arguments)}),getTunerHostTypes:(u=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/LiveTv/TunerHosts/Types",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return u.apply(this,arguments)}),resetTuner:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("resetTuner","tunerId",n),i="/LiveTv/Tuners/{tunerId}/Reset".replace("{".concat("tunerId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return i.apply(this,arguments)}),setChannelMapping:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("setChannelMapping","setChannelMappingDto",n),i=new URL("/LiveTv/ChannelMappings",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),updateSeriesTimer:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updateSeriesTimer","timerId",n),u="/LiveTv/SeriesTimers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updateTimer:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updateTimer","timerId",n),u="/LiveTv/Timers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W,F,B,M,N}(e);return{addListingProvider:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.addListingProvider(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["LiveTvApi.addListingProvider"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},addTunerHost:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.addTunerHost(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.addTunerHost"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},cancelSeriesTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.cancelSeriesTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.cancelSeriesTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},cancelTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.cancelTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.cancelTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},createSeriesTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.createSeriesTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.createSeriesTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},createTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.createTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.createTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteListingProvider:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteListingProvider(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.deleteListingProvider"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteRecording:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteRecording(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.deleteRecording"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteTunerHost:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteTunerHost(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.deleteTunerHost"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},discoverTuners:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.discoverTuners(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.discoverTuners"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},discvoverTuners:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.discvoverTuners(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.discvoverTuners"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getChannel:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getChannel(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.getChannel"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getChannelMappingOptions:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getChannelMappingOptions(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getChannelMappingOptions"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDefaultListingProvider:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getDefaultListingProvider(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LiveTvApi.getDefaultListingProvider"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getDefaultTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDefaultTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getDefaultTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getGuideInfo:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getGuideInfo(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LiveTvApi.getGuideInfo"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getLineups:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getLineups(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["LiveTvApi.getLineups"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},getLiveRecordingFile:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getLiveRecordingFile(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getLiveRecordingFile"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getLiveStreamFile:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getLiveStreamFile(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.getLiveStreamFile"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getLiveTvChannels:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C){return g(d().m((function g(){var A,R,k,U,L,D;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getLiveTvChannels(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C);case 1:return U=d.v,L=null!==(A=null==e?void 0:e.serverIndex)&&void 0!==A?A:0,D=null===(k=null===(R=i.z9["LiveTvApi.getLiveTvChannels"])||void 0===R?void 0:R[L])||void 0===k?void 0:k.url,d.a(2,(function(t,n){return(0,o.yZ)(U,r.A,i.o2,e)(t,D||n)}))}}),g)})))()},getLiveTvInfo:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getLiveTvInfo(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LiveTvApi.getLiveTvInfo"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getLiveTvPrograms:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D){return g(d().m((function g(){var E,G,Z,z,Y,_;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getLiveTvPrograms(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D);case 1:return z=d.v,Y=null!==(E=null==e?void 0:e.serverIndex)&&void 0!==E?E:0,_=null===(Z=null===(G=i.z9["LiveTvApi.getLiveTvPrograms"])||void 0===G?void 0:G[Y])||void 0===Z?void 0:Z.url,d.a(2,(function(t,n){return(0,o.yZ)(z,r.A,i.o2,e)(t,_||n)}))}}),g)})))()},getProgram:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getProgram(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.getProgram"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPrograms:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPrograms(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getPrograms"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRecommendedPrograms:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getRecommendedPrograms(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["LiveTvApi.getRecommendedPrograms"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getRecording:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getRecording(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.getRecording"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getRecordingFolders:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRecordingFolders(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getRecordingFolders"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRecordingGroup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRecordingGroup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getRecordingGroup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRecordingGroups:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRecordingGroups(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getRecordingGroups"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRecordings:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j){return g(d().m((function g(){var x,C,A,R,k,U;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getRecordings(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j);case 1:return R=d.v,k=null!==(x=null==e?void 0:e.serverIndex)&&void 0!==x?x:0,U=null===(A=null===(C=i.z9["LiveTvApi.getRecordings"])||void 0===C?void 0:C[k])||void 0===A?void 0:A.url,d.a(2,(function(t,n){return(0,o.yZ)(R,r.A,i.o2,e)(t,U||n)}))}}),g)})))()},getRecordingsSeries:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I){return g(d().m((function g(){var P,O,S,T,j,x;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getRecordingsSeries(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I);case 1:return T=d.v,j=null!==(P=null==e?void 0:e.serverIndex)&&void 0!==P?P:0,x=null===(S=null===(O=i.z9["LiveTvApi.getRecordingsSeries"])||void 0===O?void 0:O[j])||void 0===S?void 0:S.url,d.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,x||n)}))}}),g)})))()},getSchedulesDirectCountries:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getSchedulesDirectCountries(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LiveTvApi.getSchedulesDirectCountries"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSeriesTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getSeriesTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getSeriesTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getSeriesTimers:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getSeriesTimers(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.getSeriesTimers"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getTimers:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getTimers(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["LiveTvApi.getTimers"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},getTunerHostTypes:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getTunerHostTypes(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LiveTvApi.getTunerHostTypes"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},resetTuner:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.resetTuner(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.resetTuner"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},setChannelMapping:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.setChannelMapping(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.setChannelMapping"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateSeriesTimer:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateSeriesTimer(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.updateSeriesTimer"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateTimer:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateTimer(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.updateTimer"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"addListingProvider",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).addListingProvider(t.pw,t.validateListings,t.validateLogin,t.listingsProviderInfo,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"addTunerHost",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).addTunerHost(t.tunerHostInfo,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"cancelSeriesTimer",value:function(e,t){var n=this;return b(this.configuration).cancelSeriesTimer(e.timerId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"cancelTimer",value:function(e,t){var n=this;return b(this.configuration).cancelTimer(e.timerId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"createSeriesTimer",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).createSeriesTimer(t.seriesTimerInfoDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"createTimer",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).createTimer(t.timerInfoDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"deleteListingProvider",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).deleteListingProvider(t.id,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"deleteRecording",value:function(e,t){var n=this;return b(this.configuration).deleteRecording(e.recordingId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"deleteTunerHost",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).deleteTunerHost(t.id,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"discoverTuners",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).discoverTuners(t.newDevicesOnly,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"discvoverTuners",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).discvoverTuners(t.newDevicesOnly,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getChannel",value:function(e,t){var n=this;return b(this.configuration).getChannel(e.channelId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getChannelMappingOptions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getChannelMappingOptions(t.providerId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getDefaultListingProvider",value:function(e){var t=this;return b(this.configuration).getDefaultListingProvider(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getDefaultTimer",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getDefaultTimer(t.programId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getGuideInfo",value:function(e){var t=this;return b(this.configuration).getGuideInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getLineups",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getLineups(t.id,t.type,t.location,t.country,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getLiveRecordingFile",value:function(e,t){var n=this;return b(this.configuration).getLiveRecordingFile(e.recordingId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getLiveStreamFile",value:function(e,t){var n=this;return b(this.configuration).getLiveStreamFile(e.streamId,e.container,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getLiveTvChannels",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getLiveTvChannels(t.type,t.userId,t.startIndex,t.isMovie,t.isSeries,t.isNews,t.isKids,t.isSports,t.limit,t.isFavorite,t.isLiked,t.isDisliked,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.fields,t.enableUserData,t.sortBy,t.sortOrder,t.enableFavoriteSorting,t.addCurrentProgram,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getLiveTvInfo",value:function(e){var t=this;return b(this.configuration).getLiveTvInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getLiveTvPrograms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getLiveTvPrograms(t.channelIds,t.userId,t.minStartDate,t.hasAired,t.isAiring,t.maxStartDate,t.minEndDate,t.maxEndDate,t.isMovie,t.isSeries,t.isNews,t.isKids,t.isSports,t.startIndex,t.limit,t.sortBy,t.sortOrder,t.genres,t.genreIds,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.enableUserData,t.seriesTimerId,t.librarySeriesId,t.fields,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getProgram",value:function(e,t){var n=this;return b(this.configuration).getProgram(e.programId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPrograms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getPrograms(t.getProgramsDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getRecommendedPrograms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRecommendedPrograms(t.userId,t.startIndex,t.limit,t.isAiring,t.hasAired,t.isSeries,t.isMovie,t.isNews,t.isKids,t.isSports,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.genreIds,t.fields,t.enableUserData,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getRecording",value:function(e,t){var n=this;return b(this.configuration).getRecording(e.recordingId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getRecordingFolders",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRecordingFolders(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getRecordingGroup",value:function(e,t){var n=this;return b(this.configuration).getRecordingGroup(e.groupId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getRecordingGroups",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRecordingGroups(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getRecordings",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRecordings(t.channelId,t.userId,t.startIndex,t.limit,t.status,t.isInProgress,t.seriesTimerId,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.fields,t.enableUserData,t.isMovie,t.isSeries,t.isKids,t.isSports,t.isNews,t.isLibraryItem,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getRecordingsSeries",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRecordingsSeries(t.channelId,t.userId,t.groupId,t.startIndex,t.limit,t.status,t.isInProgress,t.seriesTimerId,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.fields,t.enableUserData,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getSchedulesDirectCountries",value:function(e){var t=this;return b(this.configuration).getSchedulesDirectCountries(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getSeriesTimer",value:function(e,t){var n=this;return b(this.configuration).getSeriesTimer(e.timerId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSeriesTimers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getSeriesTimers(t.sortBy,t.sortOrder,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getTimer",value:function(e,t){var n=this;return b(this.configuration).getTimer(e.timerId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getTimers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getTimers(t.channelId,t.seriesTimerId,t.isActive,t.isScheduled,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getTunerHostTypes",value:function(e){var t=this;return b(this.configuration).getTunerHostTypes(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"resetTuner",value:function(e,t){var n=this;return b(this.configuration).resetTuner(e.tunerId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"setChannelMapping",value:function(e,t){var n=this;return b(this.configuration).setChannelMapping(e.setChannelMappingDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateSeriesTimer",value:function(e,t){var n=this;return b(this.configuration).updateSeriesTimer(e.timerId,e.seriesTimerInfoDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateTimer",value:function(e,t){var n=this;return b(this.configuration).updateTimer(e.timerId,e.timerInfoDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},46842:function(e,t,n){n.d(t,{v:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getAlbumArtists:(r=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G){var Z,z,Y,_,W,F,B,M=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return Z=M.length>32&&void 0!==M[32]?M[32]:{},z=new URL("/Artists/AlbumArtists",o.fY),e&&(Y=e.baseOptions),_=p(p({method:"GET"},Y),Z),W={},F={},t.n=1,(0,o.YS)(W,"Authorization",e);case 1:return void 0!==n&&(F.minCommunityRating=n),void 0!==r&&(F.startIndex=r),void 0!==i&&(F.limit=i),void 0!==u&&(F.searchTerm=u),void 0!==a&&(F.parentId=a),c&&(F.fields=c),s&&(F.excludeItemTypes=s),l&&(F.includeItemTypes=l),f&&(F.filters=f),void 0!==v&&(F.isFavorite=v),h&&(F.mediaTypes=h),y&&(F.genres=y),m&&(F.genreIds=m),g&&(F.officialRatings=g),b&&(F.tags=b),w&&(F.years=w),void 0!==I&&(F.enableUserData=I),void 0!==P&&(F.imageTypeLimit=P),O&&(F.enableImageTypes=O),void 0!==S&&(F.person=S),T&&(F.personIds=T),j&&(F.personTypes=j),x&&(F.studios=x),C&&(F.studioIds=C),void 0!==A&&(F.userId=A),void 0!==R&&(F.nameStartsWithOrGreater=R),void 0!==k&&(F.nameStartsWith=k),void 0!==U&&(F.nameLessThan=U),L&&(F.sortBy=L),D&&(F.sortOrder=D),void 0!==E&&(F.enableImages=E),void 0!==G&&(F.enableTotalRecordCount=G),(0,o.rZ)(z,F),B=Y&&Y.headers?Y.headers:{},_.headers=p(p(p({},W),B),Z.headers),t.a(2,{url:(0,o.uD)(z),options:_})}}),t)}))),function(e,t,n,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U){return r.apply(this,arguments)}),getArtistByName:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getArtistByName","name",n),u="/Artists/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getArtists:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G){var Z,z,Y,_,W,F,B,M=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return Z=M.length>32&&void 0!==M[32]?M[32]:{},z=new URL("/Artists",o.fY),e&&(Y=e.baseOptions),_=p(p({method:"GET"},Y),Z),W={},F={},t.n=1,(0,o.YS)(W,"Authorization",e);case 1:return void 0!==n&&(F.minCommunityRating=n),void 0!==r&&(F.startIndex=r),void 0!==i&&(F.limit=i),void 0!==u&&(F.searchTerm=u),void 0!==a&&(F.parentId=a),c&&(F.fields=c),s&&(F.excludeItemTypes=s),l&&(F.includeItemTypes=l),f&&(F.filters=f),void 0!==v&&(F.isFavorite=v),h&&(F.mediaTypes=h),y&&(F.genres=y),m&&(F.genreIds=m),g&&(F.officialRatings=g),b&&(F.tags=b),w&&(F.years=w),void 0!==I&&(F.enableUserData=I),void 0!==P&&(F.imageTypeLimit=P),O&&(F.enableImageTypes=O),void 0!==S&&(F.person=S),T&&(F.personIds=T),j&&(F.personTypes=j),x&&(F.studios=x),C&&(F.studioIds=C),void 0!==A&&(F.userId=A),void 0!==R&&(F.nameStartsWithOrGreater=R),void 0!==k&&(F.nameStartsWith=k),void 0!==U&&(F.nameLessThan=U),L&&(F.sortBy=L),D&&(F.sortOrder=D),void 0!==E&&(F.enableImages=E),void 0!==G&&(F.enableTotalRecordCount=G),(0,o.rZ)(z,F),B=Y&&Y.headers?Y.headers:{},_.headers=p(p(p({},W),B),Z.headers),t.a(2,{url:(0,o.uD)(z),options:_})}}),t)}))),function(e,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U){return t.apply(this,arguments)})};var t,n,r}(e);return{getAlbumArtists:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y){return g(d().m((function g(){var _,W,F,B,M,N;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getAlbumArtists(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y);case 1:return B=d.v,M=null!==(_=null==e?void 0:e.serverIndex)&&void 0!==_?_:0,N=null===(F=null===(W=i.z9["ArtistsApi.getAlbumArtists"])||void 0===W?void 0:W[M])||void 0===F?void 0:F.url,d.a(2,(function(t,n){return(0,o.yZ)(B,r.A,i.o2,e)(t,N||n)}))}}),g)})))()},getArtistByName:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getArtistByName(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ArtistsApi.getArtistByName"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getArtists:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y){return g(d().m((function g(){var _,W,F,B,M,N;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getArtists(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y);case 1:return B=d.v,M=null!==(_=null==e?void 0:e.serverIndex)&&void 0!==_?_:0,N=null===(F=null===(W=i.z9["ArtistsApi.getArtists"])||void 0===W?void 0:W[M])||void 0===F?void 0:F.url,d.a(2,(function(t,n){return(0,o.yZ)(B,r.A,i.o2,e)(t,N||n)}))}}),g)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getAlbumArtists",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getAlbumArtists(t.minCommunityRating,t.startIndex,t.limit,t.searchTerm,t.parentId,t.fields,t.excludeItemTypes,t.includeItemTypes,t.filters,t.isFavorite,t.mediaTypes,t.genres,t.genreIds,t.officialRatings,t.tags,t.years,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.person,t.personIds,t.personTypes,t.studios,t.studioIds,t.userId,t.nameStartsWithOrGreater,t.nameStartsWith,t.nameLessThan,t.sortBy,t.sortOrder,t.enableImages,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getArtistByName",value:function(e,t){var n=this;return b(this.configuration).getArtistByName(e.name,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getArtists",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getArtists(t.minCommunityRating,t.startIndex,t.limit,t.searchTerm,t.parentId,t.fields,t.excludeItemTypes,t.includeItemTypes,t.filters,t.isFavorite,t.mediaTypes,t.genres,t.genreIds,t.officialRatings,t.tags,t.years,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.person,t.personIds,t.personTypes,t.studios,t.studioIds,t.userId,t.nameStartsWithOrGreater,t.nameStartsWith,t.nameLessThan,t.sortBy,t.sortOrder,t.enableImages,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},48272:function(e,t,n){n.d(t,{c:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getEndpointInfo:(f=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Endpoint",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return f.apply(this,arguments)}),getLogFile:(l=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("getLogFile","name",n),i=new URL("/System/Logs/Log",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.name=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return l.apply(this,arguments)}),getPingSystem:(s=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Ping",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return s.apply(this,arguments)}),getPublicSystemInfo:(c=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Info/Public",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return c.apply(this,arguments)}),getServerLogs:(a=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Logs",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return a.apply(this,arguments)}),getSystemInfo:(u=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Info",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return u.apply(this,arguments)}),getSystemStorage:(i=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Info/Storage",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return i.apply(this,arguments)}),postPingSystem:(r=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Ping",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return r.apply(this,arguments)}),restartApplication:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Restart",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return n.apply(this,arguments)}),shutdownApplication:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Shutdown",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f}(e);return{getEndpointInfo:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getEndpointInfo(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getEndpointInfo"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getLogFile:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getLogFile(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SystemApi.getLogFile"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPingSystem:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPingSystem(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getPingSystem"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPublicSystemInfo:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPublicSystemInfo(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getPublicSystemInfo"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getServerLogs:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getServerLogs(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getServerLogs"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSystemInfo:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getSystemInfo(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getSystemInfo"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSystemStorage:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getSystemStorage(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getSystemStorage"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},postPingSystem:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.postPingSystem(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.postPingSystem"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},restartApplication:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.restartApplication(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.restartApplication"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},shutdownApplication:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.shutdownApplication(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.shutdownApplication"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"getEndpointInfo",value:function(e){var t=this;return b(this.configuration).getEndpointInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getLogFile",value:function(e,t){var n=this;return b(this.configuration).getLogFile(e.name,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPingSystem",value:function(e){var t=this;return b(this.configuration).getPingSystem(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getPublicSystemInfo",value:function(e){var t=this;return b(this.configuration).getPublicSystemInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getServerLogs",value:function(e){var t=this;return b(this.configuration).getServerLogs(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getSystemInfo",value:function(e){var t=this;return b(this.configuration).getSystemInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getSystemStorage",value:function(e){var t=this;return b(this.configuration).getSystemStorage(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"postPingSystem",value:function(e){var t=this;return b(this.configuration).postPingSystem(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"restartApplication",value:function(e){var t=this;return b(this.configuration).restartApplication(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"shutdownApplication",value:function(e){var t=this;return b(this.configuration).shutdownApplication(e).then((function(e){return e(t.axios,t.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},49805:function(e,t,n){n.d(t,{VC:function(){return o},H:function(){return u},r$:function(){return a},Dl:function(){return c}}),n(24776),n(44962),n(78557),n(73687),n(83994),n(64062),n(46968),n(82367),n(24362),n(76218),n(99102);var r=n(58650);function o(e){return new URL(e.toString())}function i(e){if(e===r.W7)return r.Xp;if(e===r.fg)return r.G4;throw new Error("Unsupported protocol")}function u(e,t){var n=t.port||i(t.protocol);return e.toLowerCase().startsWith("".concat(t.protocol,"//").concat(t.hostname.toLowerCase(),":").concat(n))}function a(e){return!e.port||e.port===i(e.protocol).toString()}function c(e){if(!(null==e?void 0:e.trim()))throw new Error("Input is required");return new URL(function(e){if(e=e.trim(),/^data:/i.test(e))throw new Error("data URLs are not supported");if(/^view-source:/i.test(e))throw new Error("`view-source:` is not supported as it is a non-standard protocol");if(!e.startsWith("//")&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,r.W7)),!/^https?:/i.test(e))throw new Error("only http or https protocols are supported");var t=new URL(e);if(t.hash="",t.pathname){for(var n=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,o=0,i="";;){var u=n.exec(t.pathname);if(!u)break;var a=u[0],c=u.index;i+=t.pathname.slice(o,c).replace(/\/{2,}/g,"/"),i+=a,o=c+a.length}i+=t.pathname.slice(o,t.pathname.length).replace(/\/{2,}/g,"/"),t.pathname=i}if(t.pathname)try{t.pathname=decodeURI(t.pathname)}catch(e){}return t.hostname&&(t.hostname=t.hostname.replace(/\.$/,"")),t.search="",t.pathname=t.pathname.replace(/\/$/,""),t.toString()}(e))}n(89336),n(95021),n(93062),n(97456)},49960:function(e,t,n){n.d(t,{v:function(){return r}});var r={Blocking:"Blocking",NonBlocking:"NonBlocking"}},50117:function(e,t,n){n.d(t,{H:function(){return r}});var r={Sunday:"Sunday",Monday:"Monday",Tuesday:"Tuesday",Wednesday:"Wednesday",Thursday:"Thursday",Friday:"Friday",Saturday:"Saturday",Everyday:"Everyday",Weekday:"Weekday",Weekend:"Weekend"}},50909:function(e,t,n){n.d(t,{D:function(){return r}});var r={Idle:"Idle",Cancelling:"Cancelling",Running:"Running"}},53096:function(e,t,n){n.d(t,{C:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{addItemToPlaylist:(v=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("addItemToPlaylist","playlistId",n),a="/Playlists/{playlistId}/Items".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return r&&(v.ids=r),void 0!==i&&(v.userId=i),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return v.apply(this,arguments)}),createPlaylist:(f=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=m.length>5&&void 0!==m[5]?m[5]:{},s=new URL("/Playlists",o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),c),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==n&&(h.name=n),r&&(h.ids=r),void 0!==i&&(h.userId=i),void 0!==u&&(h.mediaType=u),v["Content-Type"]="application/json",(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),c.headers),f.data=(0,o.Np)(a,f,e),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,r,o){return f.apply(this,arguments)}),getPlaylist:(l=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getPlaylist","playlistId",n),i="/Playlists/{playlistId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return l.apply(this,arguments)}),getPlaylistItems:(s=g(d().m((function t(n,r,i,u,a,c,s,l,f){var v,h,y,m,g,b,w,I,P=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return v=P.length>9&&void 0!==P[9]?P[9]:{},(0,o.WC)("getPlaylistItems","playlistId",n),h="/Playlists/{playlistId}/Items".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),y=new URL(h,o.fY),e&&(m=e.baseOptions),g=p(p({method:"GET"},m),v),b={},w={},t.n=1,(0,o.YS)(b,"Authorization",e);case 1:return void 0!==r&&(w.userId=r),void 0!==i&&(w.startIndex=i),void 0!==u&&(w.limit=u),a&&(w.fields=a),void 0!==c&&(w.enableImages=c),void 0!==s&&(w.enableUserData=s),void 0!==l&&(w.imageTypeLimit=l),f&&(w.enableImageTypes=f),(0,o.rZ)(y,w),I=m&&m.headers?m.headers:{},g.headers=p(p(p({},b),I),v.headers),t.a(2,{url:(0,o.uD)(y),options:g})}}),t)}))),function(e,t,n,r,o,i,u,a,c){return s.apply(this,arguments)}),getPlaylistUser:(c=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getPlaylistUser","playlistId",n),(0,o.WC)("getPlaylistUser","userId",r),u="/Playlists/{playlistId}/Users/{userId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return c.apply(this,arguments)}),getPlaylistUsers:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getPlaylistUsers","playlistId",n),i="/Playlists/{playlistId}/Users".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),moveItem:(u=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("moveItem","playlistId",n),(0,o.WC)("moveItem","itemId",r),(0,o.WC)("moveItem","newIndex",i),a="/Playlists/{playlistId}/Items/{itemId}/Move/{newIndex}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("itemId","}"),encodeURIComponent(String(r))).replace("{".concat("newIndex","}"),encodeURIComponent(String(i))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return u.apply(this,arguments)}),removeItemFromPlaylist:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("removeItemFromPlaylist","playlistId",n),u="/Playlists/{playlistId}/Items".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return r&&(f.entryIds=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),removeUserFromPlaylist:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("removeUserFromPlaylist","playlistId",n),(0,o.WC)("removeUserFromPlaylist","userId",r),u="/Playlists/{playlistId}/Users/{userId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),updatePlaylist:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updatePlaylist","playlistId",n),(0,o.WC)("updatePlaylist","updatePlaylistDto",r),u="/Playlists/{playlistId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updatePlaylistUser:(t=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("updatePlaylistUser","playlistId",n),(0,o.WC)("updatePlaylistUser","userId",r),(0,o.WC)("updatePlaylistUser","updatePlaylistUserDto",i),a="/Playlists/{playlistId}/Users/{userId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return f["Content-Type"]="application/json",(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),l.data=(0,o.Np)(i,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v}(e);return{addItemToPlaylist:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.addItemToPlaylist(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["PlaylistsApi.addItemToPlaylist"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},createPlaylist:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.createPlaylist(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["PlaylistsApi.createPlaylist"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getPlaylist:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPlaylist(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaylistsApi.getPlaylist"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPlaylistItems:function(n,u,a,c,s,l,f,v,p,h){return g(d().m((function y(){var m,g,b,w,I,P;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getPlaylistItems(n,u,a,c,s,l,f,v,p,h);case 1:return w=d.v,I=null!==(m=null==e?void 0:e.serverIndex)&&void 0!==m?m:0,P=null===(b=null===(g=i.z9["PlaylistsApi.getPlaylistItems"])||void 0===g?void 0:g[I])||void 0===b?void 0:b.url,d.a(2,(function(t,n){return(0,o.yZ)(w,r.A,i.o2,e)(t,P||n)}))}}),y)})))()},getPlaylistUser:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPlaylistUser(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PlaylistsApi.getPlaylistUser"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPlaylistUsers:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPlaylistUsers(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaylistsApi.getPlaylistUsers"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},moveItem:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.moveItem(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["PlaylistsApi.moveItem"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},removeItemFromPlaylist:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeItemFromPlaylist(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PlaylistsApi.removeItemFromPlaylist"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},removeUserFromPlaylist:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeUserFromPlaylist(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PlaylistsApi.removeUserFromPlaylist"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updatePlaylist:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updatePlaylist(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PlaylistsApi.updatePlaylist"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updatePlaylistUser:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.updatePlaylistUser(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["PlaylistsApi.updatePlaylistUser"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"addItemToPlaylist",value:function(e,t){var n=this;return b(this.configuration).addItemToPlaylist(e.playlistId,e.ids,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"createPlaylist",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).createPlaylist(t.name,t.ids,t.userId,t.mediaType,t.createPlaylistDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getPlaylist",value:function(e,t){var n=this;return b(this.configuration).getPlaylist(e.playlistId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPlaylistItems",value:function(e,t){var n=this;return b(this.configuration).getPlaylistItems(e.playlistId,e.userId,e.startIndex,e.limit,e.fields,e.enableImages,e.enableUserData,e.imageTypeLimit,e.enableImageTypes,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPlaylistUser",value:function(e,t){var n=this;return b(this.configuration).getPlaylistUser(e.playlistId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPlaylistUsers",value:function(e,t){var n=this;return b(this.configuration).getPlaylistUsers(e.playlistId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"moveItem",value:function(e,t){var n=this;return b(this.configuration).moveItem(e.playlistId,e.itemId,e.newIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"removeItemFromPlaylist",value:function(e,t){var n=this;return b(this.configuration).removeItemFromPlaylist(e.playlistId,e.entryIds,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"removeUserFromPlaylist",value:function(e,t){var n=this;return b(this.configuration).removeUserFromPlaylist(e.playlistId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updatePlaylist",value:function(e,t){var n=this;return b(this.configuration).updatePlaylist(e.playlistId,e.updatePlaylistDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updatePlaylistUser",value:function(e,t){var n=this;return b(this.configuration).updatePlaylistUser(e.playlistId,e.userId,e.updatePlaylistUserDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},53875:function(e,t,n){n.d(t,{g:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getTask:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getTask","taskId",n),i="/ScheduledTasks/{taskId}".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return u.apply(this,arguments)}),getTasks:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/ScheduledTasks",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.isHidden=n),void 0!==r&&(l.isEnabled=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),startTask:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("startTask","taskId",n),i="/ScheduledTasks/Running/{taskId}".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return r.apply(this,arguments)}),stopTask:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("stopTask","taskId",n),i="/ScheduledTasks/Running/{taskId}".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return n.apply(this,arguments)}),updateTask:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updateTask","taskId",n),(0,o.WC)("updateTask","taskTriggerInfo",r),u="/ScheduledTasks/{taskId}/Triggers".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u}(e);return{getTask:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getTask(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ScheduledTasksApi.getTask"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getTasks:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getTasks(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ScheduledTasksApi.getTasks"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},startTask:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.startTask(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ScheduledTasksApi.startTask"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},stopTask:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.stopTask(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ScheduledTasksApi.stopTask"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateTask:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateTask(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ScheduledTasksApi.updateTask"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getTask",value:function(e,t){var n=this;return b(this.configuration).getTask(e.taskId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getTasks",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getTasks(t.isHidden,t.isEnabled,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"startTask",value:function(e,t){var n=this;return b(this.configuration).startTask(e.taskId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"stopTask",value:function(e,t){var n=this;return b(this.configuration).stopTask(e.taskId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateTask",value:function(e,t){var n=this;return b(this.configuration).updateTask(e.taskId,e.taskTriggerInfo,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},55367:function(e,t,n){n.d(t,{p:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{disablePlugin:(l=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("disablePlugin","pluginId",n),(0,o.WC)("disablePlugin","version",r),u="/Plugins/{pluginId}/{version}/Disable".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return l.apply(this,arguments)}),enablePlugin:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("enablePlugin","pluginId",n),(0,o.WC)("enablePlugin","version",r),u="/Plugins/{pluginId}/{version}/Enable".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return s.apply(this,arguments)}),getPluginConfiguration:(c=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getPluginConfiguration","pluginId",n),i="/Plugins/{pluginId}/Configuration".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return c.apply(this,arguments)}),getPluginImage:(a=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getPluginImage","pluginId",n),(0,o.WC)("getPluginImage","version",r),u="/Plugins/{pluginId}/{version}/Image".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return a.apply(this,arguments)}),getPluginManifest:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getPluginManifest","pluginId",n),i="/Plugins/{pluginId}/Manifest".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return u.apply(this,arguments)}),getPlugins:(i=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Plugins",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return i.apply(this,arguments)}),uninstallPlugin:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("uninstallPlugin","pluginId",n),i="/Plugins/{pluginId}".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return r.apply(this,arguments)}),uninstallPluginByVersion:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("uninstallPluginByVersion","pluginId",n),(0,o.WC)("uninstallPluginByVersion","version",r),u="/Plugins/{pluginId}/{version}".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updatePluginConfiguration:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("updatePluginConfiguration","pluginId",n),i="/Plugins/{pluginId}/Configuration".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l}(e);return{disablePlugin:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.disablePlugin(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PluginsApi.disablePlugin"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},enablePlugin:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.enablePlugin(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PluginsApi.enablePlugin"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPluginConfiguration:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPluginConfiguration(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PluginsApi.getPluginConfiguration"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPluginImage:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPluginImage(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PluginsApi.getPluginImage"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPluginManifest:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPluginManifest(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PluginsApi.getPluginManifest"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPlugins:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPlugins(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["PluginsApi.getPlugins"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},uninstallPlugin:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.uninstallPlugin(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PluginsApi.uninstallPlugin"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},uninstallPluginByVersion:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.uninstallPluginByVersion(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PluginsApi.uninstallPluginByVersion"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updatePluginConfiguration:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.updatePluginConfiguration(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PluginsApi.updatePluginConfiguration"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"disablePlugin",value:function(e,t){var n=this;return b(this.configuration).disablePlugin(e.pluginId,e.version,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"enablePlugin",value:function(e,t){var n=this;return b(this.configuration).enablePlugin(e.pluginId,e.version,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPluginConfiguration",value:function(e,t){var n=this;return b(this.configuration).getPluginConfiguration(e.pluginId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPluginImage",value:function(e,t){var n=this;return b(this.configuration).getPluginImage(e.pluginId,e.version,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPluginManifest",value:function(e,t){var n=this;return b(this.configuration).getPluginManifest(e.pluginId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPlugins",value:function(e){var t=this;return b(this.configuration).getPlugins(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"uninstallPlugin",value:function(e,t){var n=this;return b(this.configuration).uninstallPlugin(e.pluginId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"uninstallPluginByVersion",value:function(e,t){var n=this;return b(this.configuration).uninstallPluginByVersion(e.pluginId,e.version,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updatePluginConfiguration",value:function(e,t){var n=this;return b(this.configuration).updatePluginConfiguration(e.pluginId,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},55990:function(e,t,n){n.d(t,{T:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getConfigurationPages:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/web/ConfigurationPages",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.enableInMainMenu=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),getDashboardConfigurationPage:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/web/ConfigurationPage",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},void 0!==n&&(s.name=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return t.apply(this,arguments)})};var t,n}(e);return{getConfigurationPages:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getConfigurationPages(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DashboardApi.getConfigurationPages"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDashboardConfigurationPage:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDashboardConfigurationPage(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DashboardApi.getDashboardConfigurationPage"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getConfigurationPages",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getConfigurationPages(t.enableInMainMenu,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getDashboardConfigurationPage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getDashboardConfigurationPage(t.name,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},58381:function(e,t,n){function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e){var t=e.split(".").map(Number);if(3===t.length&&t.every((function(e){return e>=0})))return t}function u(e,t){var n=i(e),o=i(t);if(!n||!o)throw new TypeError("Version doesn't match a numeric-only semver format");var u=r(n,3),a=u[0],c=u[1],s=u[2],l=r(o,3),d=l[0],f=l[1],v=l[2];return a<d||a===d&&c<f||a===d&&c===f&&s<v}n.d(t,{a:function(){return u}}),n(29305),n(32733),n(84701),n(69892),n(44962),n(86584),n(89336),n(94),n(78557),n(95021),n(73687),n(83994),n(82367)},58650:function(e,t,n){n.d(t,{G4:function(){return u},W7:function(){return r},Xp:function(){return i},fg:function(){return o}});var r="http:",o="https:",i=80,u=443},59225:function(e,t,n){n.d(t,{t:function(){return r}});var r={Stop:"Stop",Pause:"Pause",Unpause:"Unpause",NextTrack:"NextTrack",PreviousTrack:"PreviousTrack",Seek:"Seek",Rewind:"Rewind",FastForward:"FastForward",PlayPause:"PlayPause"}},61364:function(e,t,n){n.d(t,{P:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteUserItemRating:(f=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("deleteUserItemRating","itemId",n),u="/UserItems/{itemId}/Rating".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return f.apply(this,arguments)}),getIntros:(l=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getIntros","itemId",n),u="/Items/{itemId}/Intros".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return l.apply(this,arguments)}),getItem:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getItem","itemId",n),u="/Items/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return s.apply(this,arguments)}),getLatestMedia:(c=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h){var y,m,g,b,w,I,P,O=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return y=O.length>11&&void 0!==O[11]?O[11]:{},m=new URL("/Items/Latest",o.fY),e&&(g=e.baseOptions),b=p(p({method:"GET"},g),y),w={},I={},t.n=1,(0,o.YS)(w,"Authorization",e);case 1:return void 0!==n&&(I.userId=n),void 0!==r&&(I.parentId=r),i&&(I.fields=i),u&&(I.includeItemTypes=u),void 0!==a&&(I.isPlayed=a),void 0!==c&&(I.enableImages=c),void 0!==s&&(I.imageTypeLimit=s),l&&(I.enableImageTypes=l),void 0!==f&&(I.enableUserData=f),void 0!==v&&(I.limit=v),void 0!==h&&(I.groupItems=h),(0,o.rZ)(m,I),P=g&&g.headers?g.headers:{},b.headers=p(p(p({},w),P),y.headers),t.a(2,{url:(0,o.uD)(m),options:b})}}),t)}))),function(e,t,n,r,o,i,u,a,s,l,d){return c.apply(this,arguments)}),getLocalTrailers:(a=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getLocalTrailers","itemId",n),u="/Items/{itemId}/LocalTrailers".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return a.apply(this,arguments)}),getRootFolder:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Items/Root",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return u.apply(this,arguments)}),getSpecialFeatures:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getSpecialFeatures","itemId",n),u="/Items/{itemId}/SpecialFeatures".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),markFavoriteItem:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("markFavoriteItem","itemId",n),u="/UserFavoriteItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),unmarkFavoriteItem:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("unmarkFavoriteItem","itemId",n),u="/UserFavoriteItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updateUserItemRating:(t=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("updateUserItemRating","itemId",n),a="/UserItems/{itemId}/Rating".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==r&&(v.userId=r),void 0!==i&&(v.likes=i),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f}(e);return{deleteUserItemRating:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.deleteUserItemRating(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.deleteUserItemRating"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getIntros:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getIntros(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.getIntros"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getItem:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getItem(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.getItem"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getLatestMedia:function(n,u,a,c,s,l,f,v,p,h,y,m){return g(d().m((function g(){var b,w,I,P,O,S;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getLatestMedia(n,u,a,c,s,l,f,v,p,h,y,m);case 1:return P=d.v,O=null!==(b=null==e?void 0:e.serverIndex)&&void 0!==b?b:0,S=null===(I=null===(w=i.z9["UserLibraryApi.getLatestMedia"])||void 0===w?void 0:w[O])||void 0===I?void 0:I.url,d.a(2,(function(t,n){return(0,o.yZ)(P,r.A,i.o2,e)(t,S||n)}))}}),g)})))()},getLocalTrailers:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getLocalTrailers(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.getLocalTrailers"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getRootFolder:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRootFolder(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserLibraryApi.getRootFolder"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getSpecialFeatures:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getSpecialFeatures(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.getSpecialFeatures"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},markFavoriteItem:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.markFavoriteItem(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.markFavoriteItem"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},unmarkFavoriteItem:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.unmarkFavoriteItem(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.unmarkFavoriteItem"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserItemRating:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.updateUserItemRating(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["UserLibraryApi.updateUserItemRating"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"deleteUserItemRating",value:function(e,t){var n=this;return b(this.configuration).deleteUserItemRating(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getIntros",value:function(e,t){var n=this;return b(this.configuration).getIntros(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItem",value:function(e,t){var n=this;return b(this.configuration).getItem(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getLatestMedia",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getLatestMedia(t.userId,t.parentId,t.fields,t.includeItemTypes,t.isPlayed,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.enableUserData,t.limit,t.groupItems,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getLocalTrailers",value:function(e,t){var n=this;return b(this.configuration).getLocalTrailers(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getRootFolder",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRootFolder(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getSpecialFeatures",value:function(e,t){var n=this;return b(this.configuration).getSpecialFeatures(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"markFavoriteItem",value:function(e,t){var n=this;return b(this.configuration).markFavoriteItem(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"unmarkFavoriteItem",value:function(e,t){var n=this;return b(this.configuration).unmarkFavoriteItem(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateUserItemRating",value:function(e,t){var n=this;return b(this.configuration).updateUserItemRating(e.itemId,e.userId,e.likes,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},61432:function(e,t,n){n.d(t,{v:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{addUserToSession:(w=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("addUserToSession","sessionId",n),(0,o.WC)("addUserToSession","userId",r),u="/Sessions/{sessionId}/User/{userId}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return w.apply(this,arguments)}),displayContent:(b=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("displayContent","sessionId",n),(0,o.WC)("displayContent","itemType",r),(0,o.WC)("displayContent","itemId",i),(0,o.WC)("displayContent","itemName",u),c="/Sessions/{sessionId}/Viewing".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==r&&(h.itemType=r),void 0!==i&&(h.itemId=i),void 0!==u&&(h.itemName=u),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,r){return b.apply(this,arguments)}),getAuthProviders:(m=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Auth/Providers",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return m.apply(this,arguments)}),getPasswordResetProviders:(y=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Auth/PasswordResetProviders",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return y.apply(this,arguments)}),getSessions:(h=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=h.length>3&&void 0!==h[3]?h[3]:{},a=new URL("/Sessions",o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),u),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==n&&(f.controllableByUserId=n),void 0!==r&&(f.deviceId=r),void 0!==i&&(f.activeWithinSeconds=i),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),u.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t,n){return h.apply(this,arguments)}),play:(v=g(d().m((function t(n,r,i,u,a,c,s,l){var f,v,h,y,m,g,b,w,I=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return f=I.length>8&&void 0!==I[8]?I[8]:{},(0,o.WC)("play","sessionId",n),(0,o.WC)("play","playCommand",r),(0,o.WC)("play","itemIds",i),v="/Sessions/{sessionId}/Playing".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),h=new URL(v,o.fY),e&&(y=e.baseOptions),m=p(p({method:"POST"},y),f),g={},b={},t.n=1,(0,o.YS)(g,"Authorization",e);case 1:return void 0!==r&&(b.playCommand=r),i&&(b.itemIds=i),void 0!==u&&(b.startPositionTicks=u),void 0!==a&&(b.mediaSourceId=a),void 0!==c&&(b.audioStreamIndex=c),void 0!==s&&(b.subtitleStreamIndex=s),void 0!==l&&(b.startIndex=l),(0,o.rZ)(h,b),w=y&&y.headers?y.headers:{},m.headers=p(p(p({},g),w),f.headers),t.a(2,{url:(0,o.uD)(h),options:m})}}),t)}))),function(e,t,n,r,o,i,u,a){return v.apply(this,arguments)}),postCapabilities:(f=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=m.length>5&&void 0!==m[5]?m[5]:{},s=new URL("/Sessions/Capabilities",o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),c),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==n&&(h.id=n),r&&(h.playableMediaTypes=r),i&&(h.supportedCommands=i),void 0!==u&&(h.supportsMediaControl=u),void 0!==a&&(h.supportsPersistentIdentifier=a),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),c.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,r,o){return f.apply(this,arguments)}),postFullCapabilities:(l=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("postFullCapabilities","clientCapabilitiesDto",n),u=new URL("/Sessions/Capabilities/Full",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.id=r),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return l.apply(this,arguments)}),removeUserFromSession:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("removeUserFromSession","sessionId",n),(0,o.WC)("removeUserFromSession","userId",r),u="/Sessions/{sessionId}/User/{userId}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return s.apply(this,arguments)}),reportSessionEnded:(c=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Sessions/Logout",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return c.apply(this,arguments)}),reportViewing:(a=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("reportViewing","itemId",n),u=new URL("/Sessions/Viewing",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.sessionId=r),void 0!==n&&(l.itemId=n),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return a.apply(this,arguments)}),sendFullGeneralCommand:(u=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("sendFullGeneralCommand","sessionId",n),(0,o.WC)("sendFullGeneralCommand","generalCommand",r),u="/Sessions/{sessionId}/Command".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return u.apply(this,arguments)}),sendGeneralCommand:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("sendGeneralCommand","sessionId",n),(0,o.WC)("sendGeneralCommand","command",r),u="/Sessions/{sessionId}/Command/{command}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("command","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),sendMessageCommand:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("sendMessageCommand","sessionId",n),(0,o.WC)("sendMessageCommand","messageCommand",r),u="/Sessions/{sessionId}/Message".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),sendPlaystateCommand:(n=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("sendPlaystateCommand","sessionId",n),(0,o.WC)("sendPlaystateCommand","command",r),c="/Sessions/{sessionId}/Playing/{command}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("command","}"),encodeURIComponent(String(r))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==i&&(h.seekPositionTicks=i),void 0!==u&&(h.controllingUserId=u),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,r,o){return n.apply(this,arguments)}),sendSystemCommand:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("sendSystemCommand","sessionId",n),(0,o.WC)("sendSystemCommand","command",r),u="/Sessions/{sessionId}/System/{command}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("command","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m,b,w}(e);return{addUserToSession:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.addUserToSession(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.addUserToSession"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},displayContent:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.displayContent(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["SessionApi.displayContent"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},getAuthProviders:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getAuthProviders(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SessionApi.getAuthProviders"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPasswordResetProviders:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPasswordResetProviders(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SessionApi.getPasswordResetProviders"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSessions:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.getSessions(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["SessionApi.getSessions"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},play:function(n,u,a,c,s,l,f,v,p){return g(d().m((function h(){var y,m,g,b,w,I;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.play(n,u,a,c,s,l,f,v,p);case 1:return b=d.v,w=null!==(y=null==e?void 0:e.serverIndex)&&void 0!==y?y:0,I=null===(g=null===(m=i.z9["SessionApi.play"])||void 0===m?void 0:m[w])||void 0===g?void 0:g.url,d.a(2,(function(t,n){return(0,o.yZ)(b,r.A,i.o2,e)(t,I||n)}))}}),h)})))()},postCapabilities:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.postCapabilities(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["SessionApi.postCapabilities"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},postFullCapabilities:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postFullCapabilities(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.postFullCapabilities"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},removeUserFromSession:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeUserFromSession(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.removeUserFromSession"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},reportSessionEnded:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.reportSessionEnded(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SessionApi.reportSessionEnded"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},reportViewing:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.reportViewing(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.reportViewing"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendFullGeneralCommand:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendFullGeneralCommand(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.sendFullGeneralCommand"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendGeneralCommand:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendGeneralCommand(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.sendGeneralCommand"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendMessageCommand:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendMessageCommand(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.sendMessageCommand"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendPlaystateCommand:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.sendPlaystateCommand(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["SessionApi.sendPlaystateCommand"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},sendSystemCommand:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendSystemCommand(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.sendSystemCommand"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"addUserToSession",value:function(e,t){var n=this;return b(this.configuration).addUserToSession(e.sessionId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"displayContent",value:function(e,t){var n=this;return b(this.configuration).displayContent(e.sessionId,e.itemType,e.itemId,e.itemName,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getAuthProviders",value:function(e){var t=this;return b(this.configuration).getAuthProviders(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getPasswordResetProviders",value:function(e){var t=this;return b(this.configuration).getPasswordResetProviders(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getSessions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getSessions(t.controllableByUserId,t.deviceId,t.activeWithinSeconds,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"play",value:function(e,t){var n=this;return b(this.configuration).play(e.sessionId,e.playCommand,e.itemIds,e.startPositionTicks,e.mediaSourceId,e.audioStreamIndex,e.subtitleStreamIndex,e.startIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"postCapabilities",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postCapabilities(t.id,t.playableMediaTypes,t.supportedCommands,t.supportsMediaControl,t.supportsPersistentIdentifier,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"postFullCapabilities",value:function(e,t){var n=this;return b(this.configuration).postFullCapabilities(e.clientCapabilitiesDto,e.id,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"removeUserFromSession",value:function(e,t){var n=this;return b(this.configuration).removeUserFromSession(e.sessionId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"reportSessionEnded",value:function(e){var t=this;return b(this.configuration).reportSessionEnded(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"reportViewing",value:function(e,t){var n=this;return b(this.configuration).reportViewing(e.itemId,e.sessionId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"sendFullGeneralCommand",value:function(e,t){var n=this;return b(this.configuration).sendFullGeneralCommand(e.sessionId,e.generalCommand,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"sendGeneralCommand",value:function(e,t){var n=this;return b(this.configuration).sendGeneralCommand(e.sessionId,e.command,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"sendMessageCommand",value:function(e,t){var n=this;return b(this.configuration).sendMessageCommand(e.sessionId,e.messageCommand,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"sendPlaystateCommand",value:function(e,t){var n=this;return b(this.configuration).sendPlaystateCommand(e.sessionId,e.command,e.seekPositionTicks,e.controllingUserId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"sendSystemCommand",value:function(e,t){var n=this;return b(this.configuration).sendSystemCommand(e.sessionId,e.command,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},63972:function(e,t,n){n.d(t,{u:function(){return p},j:function(){return h}}),n(29305),n(32733),n(84701),n(81678),n(44962),n(89336),n(4754),n(94),n(36947),n(78557),n(50987),n(83994),n(82367);var r=n(83202);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function u(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}n(646),n(95021),n(73687);var a=function(){return e=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.apiKey=t.apiKey,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.serverIndex=t.serverIndex,this.baseOptions=t.baseOptions,this.formDataCtor=t.formDataCtor},(t=[{key:"isJsonMime",value:function(e){var t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}])&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),c=n(68777),s=n(61432),l=n(18879);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function v(e){var t=function(e){if("object"!=d(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:t+""}var p="Authorization",h=function(){return e=function e(t,n,o){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.A;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.basePath=t.endsWith("/")?t.slice(0,-1):t,this.clientInfo=n,this.deviceInfo=o,this.accessToken=i,this.axiosInstance=u},t=[{key:"configuration",get:function(){return new a({basePath:this.basePath,apiKey:this.authorizationHeader})}},{key:"authenticateUserByName",value:function(e,t){var n,r,o,i=this;return(0,l.q)(this).authenticateUserByName({authenticateUserByName:{Username:e,Pw:t}},{headers:(n={},r=p,o=this.authorizationHeader,(r=v(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)}).then((function(e){return i.accessToken=e.data.AccessToken||"",e}))}},{key:"getUri",value:function(e,t){return this.axiosInstance.getUri({baseURL:this.basePath,url:e,params:t})}},{key:"logout",value:function(){var e=this;return(0,s.v)(this).reportSessionEnded().then((function(t){return e.accessToken="",t}))}},{key:"authorizationHeader",get:function(){return(0,c.X)(this.clientInfo,this.deviceInfo,this.accessToken)}}],t&&f(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},64680:function(e,t,n){n.d(t,{y:function(){return r}});var r={Primary:"Primary",Art:"Art",Backdrop:"Backdrop",Banner:"Banner",Logo:"Logo",Thumb:"Thumb",Disc:"Disc",Box:"Box",Screenshot:"Screenshot",Menu:"Menu",Chapter:"Chapter",BoxRear:"BoxRear",Profile:"Profile"}},64788:function(e,t,n){n.d(t,{C:function(){return U}}),n(29305),n(32733),n(84701),n(81678),n(24776),n(14382),n(44962),n(4754),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(21359),n(83994),n(23630),n(82367),n(2623),n(10849),n(70389),n(90076),n(95021),n(93062),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteCustomSplashscreen:(W=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Branding/Splashscreen",o.fY),e&&(i=e.baseOptions),u=p(p({method:"DELETE"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return W.apply(this,arguments)}),deleteItemImage:(_=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("deleteItemImage","itemId",n),(0,o.WC)("deleteItemImage","imageType",r),a="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"DELETE"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==i&&(v.imageIndex=i),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return _.apply(this,arguments)}),deleteItemImageByIndex:(Y=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("deleteItemImageByIndex","itemId",n),(0,o.WC)("deleteItemImageByIndex","imageType",r),(0,o.WC)("deleteItemImageByIndex","imageIndex",i),a="/Items/{itemId}/Images/{imageType}/{imageIndex}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"DELETE"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return Y.apply(this,arguments)}),deleteUserImage:(z=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/UserImage",o.fY),e&&(u=e.baseOptions),a=p(p({method:"DELETE"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return z.apply(this,arguments)}),getArtistImage:(Z=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getArtistImage","name",n),(0,o.WC)("getArtistImage","imageType",r),(0,o.WC)("getArtistImage","imageIndex",i),O="/Artists/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return Z.apply(this,arguments)}),getGenreImage:(G=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getGenreImage","name",n),(0,o.WC)("getGenreImage","imageType",r),O="/Genres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return G.apply(this,arguments)}),getGenreImageByIndex:(E=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getGenreImageByIndex","name",n),(0,o.WC)("getGenreImageByIndex","imageType",r),(0,o.WC)("getGenreImageByIndex","imageIndex",i),O="/Genres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return E.apply(this,arguments)}),getItemImage:(D=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getItemImage","itemId",n),(0,o.WC)("getItemImage","imageType",r),O="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==i&&(C.maxWidth=i),void 0!==u&&(C.maxHeight=u),void 0!==a&&(C.width=a),void 0!==c&&(C.height=c),void 0!==s&&(C.quality=s),void 0!==l&&(C.fillWidth=l),void 0!==f&&(C.fillHeight=f),void 0!==v&&(C.tag=v),void 0!==h&&(C.format=h),void 0!==y&&(C.percentPlayed=y),void 0!==m&&(C.unplayedCount=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return D.apply(this,arguments)}),getItemImage2:(L=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getItemImage2","itemId",n),(0,o.WC)("getItemImage2","imageType",r),(0,o.WC)("getItemImage2","maxWidth",i),(0,o.WC)("getItemImage2","maxHeight",u),(0,o.WC)("getItemImage2","tag",a),(0,o.WC)("getItemImage2","format",c),(0,o.WC)("getItemImage2","percentPlayed",s),(0,o.WC)("getItemImage2","unplayedCount",l),(0,o.WC)("getItemImage2","imageIndex",f),O="/Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("maxWidth","}"),encodeURIComponent(String(i))).replace("{".concat("maxHeight","}"),encodeURIComponent(String(u))).replace("{".concat("tag","}"),encodeURIComponent(String(a))).replace("{".concat("format","}"),encodeURIComponent(String(c))).replace("{".concat("percentPlayed","}"),encodeURIComponent(String(s))).replace("{".concat("unplayedCount","}"),encodeURIComponent(String(l))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(f))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return L.apply(this,arguments)}),getItemImageByIndex:(U=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getItemImageByIndex","itemId",n),(0,o.WC)("getItemImageByIndex","imageType",r),(0,o.WC)("getItemImageByIndex","imageIndex",i),O="/Items/{itemId}/Images/{imageType}/{imageIndex}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.maxWidth=u),void 0!==a&&(C.maxHeight=a),void 0!==c&&(C.width=c),void 0!==s&&(C.height=s),void 0!==l&&(C.quality=l),void 0!==f&&(C.fillWidth=f),void 0!==v&&(C.fillHeight=v),void 0!==h&&(C.tag=h),void 0!==y&&(C.format=y),void 0!==m&&(C.percentPlayed=m),void 0!==g&&(C.unplayedCount=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return U.apply(this,arguments)}),getItemImageInfos:(k=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getItemImageInfos","itemId",n),i="/Items/{itemId}/Images".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return k.apply(this,arguments)}),getMusicGenreImage:(R=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getMusicGenreImage","name",n),(0,o.WC)("getMusicGenreImage","imageType",r),O="/MusicGenres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return R.apply(this,arguments)}),getMusicGenreImageByIndex:(A=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getMusicGenreImageByIndex","name",n),(0,o.WC)("getMusicGenreImageByIndex","imageType",r),(0,o.WC)("getMusicGenreImageByIndex","imageIndex",i),O="/MusicGenres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return A.apply(this,arguments)}),getPersonImage:(C=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getPersonImage","name",n),(0,o.WC)("getPersonImage","imageType",r),O="/Persons/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return C.apply(this,arguments)}),getPersonImageByIndex:(x=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getPersonImageByIndex","name",n),(0,o.WC)("getPersonImageByIndex","imageType",r),(0,o.WC)("getPersonImageByIndex","imageIndex",i),O="/Persons/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return x.apply(this,arguments)}),getSplashscreen:(j=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)if(0===t.n)return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Branding/Splashscreen",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},void 0!==n&&(l.tag=n),void 0!==r&&(l.format=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}),t)}))),function(e,t){return j.apply(this,arguments)}),getStudioImage:(T=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getStudioImage","name",n),(0,o.WC)("getStudioImage","imageType",r),O="/Studios/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return T.apply(this,arguments)}),getStudioImageByIndex:(S=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getStudioImageByIndex","name",n),(0,o.WC)("getStudioImageByIndex","imageType",r),(0,o.WC)("getStudioImageByIndex","imageIndex",i),O="/Studios/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return S.apply(this,arguments)}),getUserImage:(O=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)if(0===t.n)return u=h.length>3&&void 0!==h[3]?h[3]:{},a=new URL("/UserImage",o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),u),l={},f={},void 0!==n&&(f.userId=n),void 0!==r&&(f.tag=r),void 0!==i&&(f.format=i),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),u.headers),t.a(2,{url:(0,o.uD)(a),options:s})}),t)}))),function(e,t,n){return O.apply(this,arguments)}),headArtistImage:(P=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headArtistImage","name",n),(0,o.WC)("headArtistImage","imageType",r),(0,o.WC)("headArtistImage","imageIndex",i),O="/Artists/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return P.apply(this,arguments)}),headGenreImage:(I=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headGenreImage","name",n),(0,o.WC)("headGenreImage","imageType",r),O="/Genres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return I.apply(this,arguments)}),headGenreImageByIndex:(w=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headGenreImageByIndex","name",n),(0,o.WC)("headGenreImageByIndex","imageType",r),(0,o.WC)("headGenreImageByIndex","imageIndex",i),O="/Genres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return w.apply(this,arguments)}),headItemImage:(b=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headItemImage","itemId",n),(0,o.WC)("headItemImage","imageType",r),O="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==i&&(C.maxWidth=i),void 0!==u&&(C.maxHeight=u),void 0!==a&&(C.width=a),void 0!==c&&(C.height=c),void 0!==s&&(C.quality=s),void 0!==l&&(C.fillWidth=l),void 0!==f&&(C.fillHeight=f),void 0!==v&&(C.tag=v),void 0!==h&&(C.format=h),void 0!==y&&(C.percentPlayed=y),void 0!==m&&(C.unplayedCount=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return b.apply(this,arguments)}),headItemImage2:(m=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headItemImage2","itemId",n),(0,o.WC)("headItemImage2","imageType",r),(0,o.WC)("headItemImage2","maxWidth",i),(0,o.WC)("headItemImage2","maxHeight",u),(0,o.WC)("headItemImage2","tag",a),(0,o.WC)("headItemImage2","format",c),(0,o.WC)("headItemImage2","percentPlayed",s),(0,o.WC)("headItemImage2","unplayedCount",l),(0,o.WC)("headItemImage2","imageIndex",f),O="/Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("maxWidth","}"),encodeURIComponent(String(i))).replace("{".concat("maxHeight","}"),encodeURIComponent(String(u))).replace("{".concat("tag","}"),encodeURIComponent(String(a))).replace("{".concat("format","}"),encodeURIComponent(String(c))).replace("{".concat("percentPlayed","}"),encodeURIComponent(String(s))).replace("{".concat("unplayedCount","}"),encodeURIComponent(String(l))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(f))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return m.apply(this,arguments)}),headItemImageByIndex:(y=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headItemImageByIndex","itemId",n),(0,o.WC)("headItemImageByIndex","imageType",r),(0,o.WC)("headItemImageByIndex","imageIndex",i),O="/Items/{itemId}/Images/{imageType}/{imageIndex}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.maxWidth=u),void 0!==a&&(C.maxHeight=a),void 0!==c&&(C.width=c),void 0!==s&&(C.height=s),void 0!==l&&(C.quality=l),void 0!==f&&(C.fillWidth=f),void 0!==v&&(C.fillHeight=v),void 0!==h&&(C.tag=h),void 0!==y&&(C.format=y),void 0!==m&&(C.percentPlayed=m),void 0!==g&&(C.unplayedCount=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,m){return y.apply(this,arguments)}),headMusicGenreImage:(h=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headMusicGenreImage","name",n),(0,o.WC)("headMusicGenreImage","imageType",r),O="/MusicGenres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,y,m){return h.apply(this,arguments)}),headMusicGenreImageByIndex:(v=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headMusicGenreImageByIndex","name",n),(0,o.WC)("headMusicGenreImageByIndex","imageType",r),(0,o.WC)("headMusicGenreImageByIndex","imageIndex",i),O="/MusicGenres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,p,h,y,m){return v.apply(this,arguments)}),headPersonImage:(f=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headPersonImage","name",n),(0,o.WC)("headPersonImage","imageType",r),O="/Persons/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,v,p,h,y,m){return f.apply(this,arguments)}),headPersonImageByIndex:(l=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headPersonImageByIndex","name",n),(0,o.WC)("headPersonImageByIndex","imageType",r),(0,o.WC)("headPersonImageByIndex","imageIndex",i),O="/Persons/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,d,f,v,p,h,y,m){return l.apply(this,arguments)}),headStudioImage:(s=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headStudioImage","name",n),(0,o.WC)("headStudioImage","imageType",r),O="/Studios/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,l,d,f,v,p,h,y,m){return s.apply(this,arguments)}),headStudioImageByIndex:(c=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headStudioImageByIndex","name",n),(0,o.WC)("headStudioImageByIndex","imageType",r),(0,o.WC)("headStudioImageByIndex","imageIndex",i),O="/Studios/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,s,l,d,f,v,p,h,y,m){return c.apply(this,arguments)}),headUserImage:(a=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)if(0===t.n)return u=h.length>3&&void 0!==h[3]?h[3]:{},a=new URL("/UserImage",o.fY),e&&(c=e.baseOptions),s=p(p({method:"HEAD"},c),u),l={},f={},void 0!==n&&(f.userId=n),void 0!==r&&(f.tag=r),void 0!==i&&(f.format=i),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),u.headers),t.a(2,{url:(0,o.uD)(a),options:s})}),t)}))),function(e,t,n){return a.apply(this,arguments)}),postUserImage:(u=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/UserImage",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.userId=n),s["Content-Type"]="image/*",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(r,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return u.apply(this,arguments)}),setItemImage:(i=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("setItemImage","itemId",n),(0,o.WC)("setItemImage","imageType",r),a="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return f["Content-Type"]="image/*",(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),l.data=(0,o.Np)(i,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return i.apply(this,arguments)}),setItemImageByIndex:(r=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("setItemImageByIndex","itemId",n),(0,o.WC)("setItemImageByIndex","imageType",r),(0,o.WC)("setItemImageByIndex","imageIndex",i),c="/Items/{itemId}/Images/{imageType}/{imageIndex}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return v["Content-Type"]="image/*",(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),f.data=(0,o.Np)(u,f,e),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,o){return r.apply(this,arguments)}),updateItemImageIndex:(n=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("updateItemImageIndex","itemId",n),(0,o.WC)("updateItemImageIndex","imageType",r),(0,o.WC)("updateItemImageIndex","imageIndex",i),(0,o.WC)("updateItemImageIndex","newIndex",u),c="/Items/{itemId}/Images/{imageType}/{imageIndex}/Index".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==u&&(h.newIndex=u),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,r,o){return n.apply(this,arguments)}),uploadCustomSplashscreen:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Branding/Splashscreen",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="image/*",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W}(e);return{deleteCustomSplashscreen:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteCustomSplashscreen(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["ImageApi.deleteCustomSplashscreen"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},deleteItemImage:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.deleteItemImage(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ImageApi.deleteItemImage"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},deleteItemImageByIndex:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.deleteItemImageByIndex(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ImageApi.deleteItemImageByIndex"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},deleteUserImage:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteUserImage(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ImageApi.deleteUserImage"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getArtistImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getArtistImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getArtistImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getGenreImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getGenreImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getGenreImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getGenreImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getGenreImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getGenreImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getItemImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getItemImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getItemImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getItemImage2:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getItemImage2(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getItemImage2"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getItemImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getItemImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getItemImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getItemImageInfos:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getItemImageInfos(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ImageApi.getItemImageInfos"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getMusicGenreImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getMusicGenreImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getMusicGenreImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getMusicGenreImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getMusicGenreImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getMusicGenreImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getPersonImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getPersonImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getPersonImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getPersonImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getPersonImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getPersonImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getSplashscreen:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getSplashscreen(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ImageApi.getSplashscreen"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getStudioImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getStudioImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getStudioImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getStudioImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getStudioImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getStudioImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getUserImage:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.getUserImage(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ImageApi.getUserImage"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},headArtistImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headArtistImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headArtistImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headGenreImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headGenreImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headGenreImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headGenreImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headGenreImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headGenreImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headItemImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headItemImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headItemImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headItemImage2:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headItemImage2(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headItemImage2"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headItemImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headItemImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headItemImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headMusicGenreImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headMusicGenreImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headMusicGenreImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headMusicGenreImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headMusicGenreImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headMusicGenreImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headPersonImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headPersonImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headPersonImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headPersonImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headPersonImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headPersonImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headStudioImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headStudioImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headStudioImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headStudioImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headStudioImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headStudioImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headUserImage:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.headUserImage(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ImageApi.headUserImage"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},postUserImage:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postUserImage(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ImageApi.postUserImage"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},setItemImage:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.setItemImage(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ImageApi.setItemImage"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},setItemImageByIndex:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.setItemImageByIndex(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["ImageApi.setItemImageByIndex"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},updateItemImageIndex:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.updateItemImageIndex(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["ImageApi.updateItemImageIndex"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},uploadCustomSplashscreen:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.uploadCustomSplashscreen(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ImageApi.uploadCustomSplashscreen"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"deleteCustomSplashscreen",value:function(e){var t=this;return b(this.configuration).deleteCustomSplashscreen(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"deleteItemImage",value:function(e,t){var n=this;return b(this.configuration).deleteItemImage(e.itemId,e.imageType,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"deleteItemImageByIndex",value:function(e,t){var n=this;return b(this.configuration).deleteItemImageByIndex(e.itemId,e.imageType,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"deleteUserImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).deleteUserImage(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getArtistImage",value:function(e,t){var n=this;return b(this.configuration).getArtistImage(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getGenreImage",value:function(e,t){var n=this;return b(this.configuration).getGenreImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getGenreImageByIndex",value:function(e,t){var n=this;return b(this.configuration).getGenreImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemImage",value:function(e,t){var n=this;return b(this.configuration).getItemImage(e.itemId,e.imageType,e.maxWidth,e.maxHeight,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemImage2",value:function(e,t){var n=this;return b(this.configuration).getItemImage2(e.itemId,e.imageType,e.maxWidth,e.maxHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.imageIndex,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemImageByIndex",value:function(e,t){var n=this;return b(this.configuration).getItemImageByIndex(e.itemId,e.imageType,e.imageIndex,e.maxWidth,e.maxHeight,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemImageInfos",value:function(e,t){var n=this;return b(this.configuration).getItemImageInfos(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getMusicGenreImage",value:function(e,t){var n=this;return b(this.configuration).getMusicGenreImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getMusicGenreImageByIndex",value:function(e,t){var n=this;return b(this.configuration).getMusicGenreImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPersonImage",value:function(e,t){var n=this;return b(this.configuration).getPersonImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPersonImageByIndex",value:function(e,t){var n=this;return b(this.configuration).getPersonImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSplashscreen",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getSplashscreen(t.tag,t.format,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getStudioImage",value:function(e,t){var n=this;return b(this.configuration).getStudioImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getStudioImageByIndex",value:function(e,t){var n=this;return b(this.configuration).getStudioImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getUserImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getUserImage(t.userId,t.tag,t.format,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"headArtistImage",value:function(e,t){var n=this;return b(this.configuration).headArtistImage(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headGenreImage",value:function(e,t){var n=this;return b(this.configuration).headGenreImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headGenreImageByIndex",value:function(e,t){var n=this;return b(this.configuration).headGenreImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headItemImage",value:function(e,t){var n=this;return b(this.configuration).headItemImage(e.itemId,e.imageType,e.maxWidth,e.maxHeight,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headItemImage2",value:function(e,t){var n=this;return b(this.configuration).headItemImage2(e.itemId,e.imageType,e.maxWidth,e.maxHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.imageIndex,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headItemImageByIndex",value:function(e,t){var n=this;return b(this.configuration).headItemImageByIndex(e.itemId,e.imageType,e.imageIndex,e.maxWidth,e.maxHeight,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headMusicGenreImage",value:function(e,t){var n=this;return b(this.configuration).headMusicGenreImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headMusicGenreImageByIndex",value:function(e,t){var n=this;return b(this.configuration).headMusicGenreImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headPersonImage",value:function(e,t){var n=this;return b(this.configuration).headPersonImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headPersonImageByIndex",value:function(e,t){var n=this;return b(this.configuration).headPersonImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headStudioImage",value:function(e,t){var n=this;return b(this.configuration).headStudioImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headStudioImageByIndex",value:function(e,t){var n=this;return b(this.configuration).headStudioImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headUserImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).headUserImage(t.userId,t.tag,t.format,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"postUserImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postUserImage(t.userId,t.body,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"setItemImage",value:function(e,t){var n=this;return b(this.configuration).setItemImage(e.itemId,e.imageType,e.body,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"setItemImageByIndex",value:function(e,t){var n=this;return b(this.configuration).setItemImageByIndex(e.itemId,e.imageType,e.imageIndex,e.body,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateItemImageIndex",value:function(e,t){var n=this;return b(this.configuration).updateItemImageIndex(e.itemId,e.imageType,e.imageIndex,e.newIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"uploadCustomSplashscreen",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).uploadCustomSplashscreen(t.body,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi),I=n(64680);function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return(t=x(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,x(r.key),r)}}function x(e){var t=function(e){if("object"!=P(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=P(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==P(t)?t:t+""}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(C=function(){return!!e})()}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function R(e,t){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},R(e,t)}var k=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=A(t),function(e,t){if(t&&("object"==P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,C()?Reflect.construct(t,n||[],A(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(t,e),n=t,r=[{key:"getItemImageUrlById",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.y.Primary,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.axios.getUri({baseURL:null===(t=this.configuration)||void 0===t?void 0:t.basePath,url:"/Items/".concat(e,"/Images/").concat(n),params:r})}},{key:"getItemImageUrl",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.y.Primary,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e?void 0:e.Id)return this.getItemImageUrlById(e.Id,r,S(S({},o),{},{tag:null!==(t=o.tag)&&void 0!==t?t:null===(n=e.ImageTags)||void 0===n?void 0:n[r]}))}},{key:"getItemBackdropImageUrls",value:function(e){var t,n,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[],u=null==e?void 0:e.Id;if(!u)return i;if(null===(t=e.BackdropImageTags)||void 0===t||t.forEach((function(e){var t=r.getItemImageUrlById(u,I.y.Backdrop,S(S({},o),{},{tag:e}));i.push(t)})),i.length>0)return i;var a=e.ParentBackdropItemId;return a&&(null===(n=e.ParentBackdropImageTags)||void 0===n||n.forEach((function(e){var t=r.getItemImageUrlById(a,I.y.Backdrop,S(S({},o),{},{tag:e}));i.push(t)}))),i}},{key:"getSplashscreenImageUrl",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.axios.getUri({baseURL:null===(e=this.configuration)||void 0===e?void 0:e.basePath,url:"/Branding/Splashscreen",params:t})}},{key:"getUserImageUrl",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e?void 0:e.Id)return this.axios.getUri({baseURL:null===(t=this.configuration)||void 0===t?void 0:t.basePath,url:"/Users/".concat(e.Id,"/Images/Primary"),params:S(S({},n),{},{tag:e.PrimaryImageTag})})}}],r&&j(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(w);function U(e){return new k(e.configuration,void 0,e.axiosInstance)}},65369:function(e,t,n){n.d(t,{X:function(){return r}});var r={Unknown:"unknown",Movies:"movies",Tvshows:"tvshows",Music:"music",Musicvideos:"musicvideos",Trailers:"trailers",Homevideos:"homevideos",Boxsets:"boxsets",Books:"books",Photos:"photos",Livetv:"livetv",Playlists:"playlists",Folders:"folders"}},68136:function(e,t,n){n.d(t,{r:function(){return r}});var r={CreateAndJoinGroups:"CreateAndJoinGroups",JoinGroups:"JoinGroups",None:"None"}},68304:function(e,t,n){n.d(t,{m:function(){return r}});var r={Continuing:"Continuing",Ended:"Ended",Unreleased:"Unreleased"}},68777:function(e,t,n){function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return['MediaBrowser Client="'.concat(encodeURIComponent(e.name),'"'),'Device="'.concat(encodeURIComponent(t.name),'"'),'DeviceId="'.concat(encodeURIComponent(t.id),'"'),'Version="'.concat(encodeURIComponent(e.version),'"'),'Token="'.concat(encodeURIComponent(n),'"')].join(", ")}n.d(t,{X:function(){return r}})},69607:function(e,t,n){n.d(t,{G:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getStudio:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getStudio","name",n),u="/Studios/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getStudios:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return P=A.length>17&&void 0!==A[17]?A[17]:{},O=new URL("/Studios",o.fY),e&&(S=e.baseOptions),T=p(p({method:"GET"},S),P),j={},x={},t.n=1,(0,o.YS)(j,"Authorization",e);case 1:return void 0!==n&&(x.startIndex=n),void 0!==r&&(x.limit=r),void 0!==i&&(x.searchTerm=i),void 0!==u&&(x.parentId=u),a&&(x.fields=a),c&&(x.excludeItemTypes=c),s&&(x.includeItemTypes=s),void 0!==l&&(x.isFavorite=l),void 0!==f&&(x.enableUserData=f),void 0!==v&&(x.imageTypeLimit=v),h&&(x.enableImageTypes=h),void 0!==y&&(x.userId=y),void 0!==m&&(x.nameStartsWithOrGreater=m),void 0!==g&&(x.nameStartsWith=g),void 0!==b&&(x.nameLessThan=b),void 0!==w&&(x.enableImages=w),void 0!==I&&(x.enableTotalRecordCount=I),(0,o.rZ)(O,x),C=S&&S.headers?S.headers:{},T.headers=p(p(p({},j),C),P.headers),t.a(2,{url:(0,o.uD)(O),options:T})}}),t)}))),function(e,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y,m){return t.apply(this,arguments)})};var t,n}(e);return{getStudio:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getStudio(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["StudiosApi.getStudio"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getStudios:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getStudios(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["StudiosApi.getStudios"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getStudio",value:function(e,t){var n=this;return b(this.configuration).getStudio(e.name,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getStudios",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getStudios(t.startIndex,t.limit,t.searchTerm,t.parentId,t.fields,t.excludeItemTypes,t.includeItemTypes,t.isFavorite,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.userId,t.nameStartsWithOrGreater,t.nameStartsWith,t.nameLessThan,t.enableImages,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},70658:function(e,t,n){n.d(t,{_:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{createKey:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("createKey","app",n),i=new URL("/Auth/Keys",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.app=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),getKeys:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Auth/Keys",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return n.apply(this,arguments)}),revokeKey:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("revokeKey","key",n),i="/Auth/Keys/{key}".replace("{".concat("key","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r}(e);return{createKey:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.createKey(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ApiKeyApi.createKey"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getKeys:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getKeys(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["ApiKeyApi.getKeys"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},revokeKey:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.revokeKey(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ApiKeyApi.revokeKey"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"createKey",value:function(e,t){var n=this;return b(this.configuration).createKey(e.app,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getKeys",value:function(e){var t=this;return b(this.configuration).getKeys(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"revokeKey",value:function(e,t){var n=this;return b(this.configuration).revokeKey(e.key,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},71857:function(e,t,n){n.d(t,{Q:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteItem:(A=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("deleteItem","itemId",n),i="/Items/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return A.apply(this,arguments)}),deleteItems:(C=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Items",o.fY),e&&(u=e.baseOptions),a=p(p({method:"DELETE"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return n&&(s.ids=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return C.apply(this,arguments)}),getAncestors:(x=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getAncestors","itemId",n),u="/Items/{itemId}/Ancestors".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return x.apply(this,arguments)}),getCriticReviews:(j=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getCriticReviews","itemId",n),i="/Items/{itemId}/CriticReviews".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return j.apply(this,arguments)}),getDownload:(T=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getDownload","itemId",n),i="/Items/{itemId}/Download".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return T.apply(this,arguments)}),getFile:(S=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getFile","itemId",n),i="/Items/{itemId}/File".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return S.apply(this,arguments)}),getItemCounts:(O=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Items/Counts",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.userId=n),void 0!==r&&(l.isFavorite=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return O.apply(this,arguments)}),getLibraryOptionsInfo:(P=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Libraries/AvailableOptions",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.libraryContentType=n),void 0!==r&&(l.isNewLibrary=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return P.apply(this,arguments)}),getMediaFolders:(I=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Library/MediaFolders",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.isHidden=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return I.apply(this,arguments)}),getPhysicalPaths:(w=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Library/PhysicalPaths",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return w.apply(this,arguments)}),getSimilarAlbums:(b=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarAlbums","itemId",n),s="/Albums/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return b.apply(this,arguments)}),getSimilarArtists:(m=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarArtists","itemId",n),s="/Artists/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return m.apply(this,arguments)}),getSimilarItems:(y=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarItems","itemId",n),s="/Items/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return y.apply(this,arguments)}),getSimilarMovies:(h=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarMovies","itemId",n),s="/Movies/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return h.apply(this,arguments)}),getSimilarShows:(v=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarShows","itemId",n),s="/Shows/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return v.apply(this,arguments)}),getSimilarTrailers:(f=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarTrailers","itemId",n),s="/Trailers/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return f.apply(this,arguments)}),getThemeMedia:(l=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getThemeMedia","itemId",n),s="/Items/{itemId}/ThemeMedia".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return void 0!==r&&(y.userId=r),void 0!==i&&(y.inheritFromParent=i),u&&(y.sortBy=u),a&&(y.sortOrder=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return l.apply(this,arguments)}),getThemeSongs:(s=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getThemeSongs","itemId",n),s="/Items/{itemId}/ThemeSongs".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return void 0!==r&&(y.userId=r),void 0!==i&&(y.inheritFromParent=i),u&&(y.sortBy=u),a&&(y.sortOrder=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return s.apply(this,arguments)}),getThemeVideos:(c=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getThemeVideos","itemId",n),s="/Items/{itemId}/ThemeVideos".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return void 0!==r&&(y.userId=r),void 0!==i&&(y.inheritFromParent=i),u&&(y.sortBy=u),a&&(y.sortOrder=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return c.apply(this,arguments)}),postAddedMovies:(a=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Library/Movies/Added",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.tmdbId=n),void 0!==r&&(l.imdbId=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return a.apply(this,arguments)}),postAddedSeries:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Library/Series/Added",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.tvdbId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return u.apply(this,arguments)}),postUpdatedMedia:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("postUpdatedMedia","mediaUpdateInfoDto",n),i=new URL("/Library/Media/Updated",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),postUpdatedMovies:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Library/Movies/Updated",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.tmdbId=n),void 0!==r&&(l.imdbId=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return r.apply(this,arguments)}),postUpdatedSeries:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Library/Series/Updated",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.tvdbId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),refreshLibrary:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Library/Refresh",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m,b,w,I,P,O,S,T,j,x,C,A}(e);return{deleteItem:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteItem(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.deleteItem"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteItems:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteItems(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.deleteItems"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getAncestors:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getAncestors(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryApi.getAncestors"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getCriticReviews:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getCriticReviews(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.getCriticReviews"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDownload:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDownload(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.getDownload"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getFile:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getFile(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.getFile"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getItemCounts:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getItemCounts(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryApi.getItemCounts"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getLibraryOptionsInfo:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getLibraryOptionsInfo(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryApi.getLibraryOptionsInfo"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getMediaFolders:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getMediaFolders(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.getMediaFolders"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPhysicalPaths:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPhysicalPaths(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LibraryApi.getPhysicalPaths"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSimilarAlbums:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarAlbums(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarAlbums"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getSimilarArtists:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarArtists(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarArtists"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getSimilarItems:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarItems(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarItems"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getSimilarMovies:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarMovies(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarMovies"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getSimilarShows:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarShows(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarShows"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getSimilarTrailers:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarTrailers(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarTrailers"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getThemeMedia:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getThemeMedia(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getThemeMedia"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getThemeSongs:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getThemeSongs(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getThemeSongs"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getThemeVideos:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getThemeVideos(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getThemeVideos"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},postAddedMovies:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postAddedMovies(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryApi.postAddedMovies"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},postAddedSeries:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.postAddedSeries(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.postAddedSeries"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},postUpdatedMedia:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.postUpdatedMedia(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.postUpdatedMedia"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},postUpdatedMovies:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postUpdatedMovies(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryApi.postUpdatedMovies"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},postUpdatedSeries:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.postUpdatedSeries(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.postUpdatedSeries"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},refreshLibrary:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.refreshLibrary(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LibraryApi.refreshLibrary"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"deleteItem",value:function(e,t){var n=this;return b(this.configuration).deleteItem(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"deleteItems",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).deleteItems(t.ids,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getAncestors",value:function(e,t){var n=this;return b(this.configuration).getAncestors(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getCriticReviews",value:function(e,t){var n=this;return b(this.configuration).getCriticReviews(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getDownload",value:function(e,t){var n=this;return b(this.configuration).getDownload(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getFile",value:function(e,t){var n=this;return b(this.configuration).getFile(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemCounts",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getItemCounts(t.userId,t.isFavorite,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getLibraryOptionsInfo",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getLibraryOptionsInfo(t.libraryContentType,t.isNewLibrary,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getMediaFolders",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getMediaFolders(t.isHidden,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getPhysicalPaths",value:function(e){var t=this;return b(this.configuration).getPhysicalPaths(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getSimilarAlbums",value:function(e,t){var n=this;return b(this.configuration).getSimilarAlbums(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSimilarArtists",value:function(e,t){var n=this;return b(this.configuration).getSimilarArtists(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSimilarItems",value:function(e,t){var n=this;return b(this.configuration).getSimilarItems(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSimilarMovies",value:function(e,t){var n=this;return b(this.configuration).getSimilarMovies(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSimilarShows",value:function(e,t){var n=this;return b(this.configuration).getSimilarShows(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSimilarTrailers",value:function(e,t){var n=this;return b(this.configuration).getSimilarTrailers(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getThemeMedia",value:function(e,t){var n=this;return b(this.configuration).getThemeMedia(e.itemId,e.userId,e.inheritFromParent,e.sortBy,e.sortOrder,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getThemeSongs",value:function(e,t){var n=this;return b(this.configuration).getThemeSongs(e.itemId,e.userId,e.inheritFromParent,e.sortBy,e.sortOrder,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getThemeVideos",value:function(e,t){var n=this;return b(this.configuration).getThemeVideos(e.itemId,e.userId,e.inheritFromParent,e.sortBy,e.sortOrder,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"postAddedMovies",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postAddedMovies(t.tmdbId,t.imdbId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"postAddedSeries",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postAddedSeries(t.tvdbId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"postUpdatedMedia",value:function(e,t){var n=this;return b(this.configuration).postUpdatedMedia(e.mediaUpdateInfoDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"postUpdatedMovies",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postUpdatedMovies(t.tmdbId,t.imdbId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"postUpdatedSeries",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postUpdatedSeries(t.tvdbId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"refreshLibrary",value:function(e){var t=this;return b(this.configuration).refreshLibrary(e).then((function(e){return e(t.axios,t.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},73275:function(e,t,n){var r;n.d(t,{EX:function(){return q}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(69703),n(44962),n(4754),n(10849),n(70389),n(94),n(36947),n(26437),n(52697),n(78557),n(90076),n(83994),n(82367),function(e){e[e.GREAT=2]="GREAT",e[e.GOOD=1]="GOOD",e[e.OK=0]="OK",e[e.BAD=-1]="BAD"}(r||(r={}));var o=n(78880);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function u(e,t,n){return t=c(t),function(e,t){if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,n||[],c(e).constructor):t.apply(e,n))}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n(14382),n(69892),n(86584),n(89336),n(95021),n(73687),n(21359);var h=f((function e(){p(this,e)})),y=function(e){function t(e){var n;return p(this,t),(n=u(this,t)).productName=e,n}return s(t,e),f(t)}(h),m=function(e){function t(e){var n;return p(this,t),(n=u(this,t)).responseTime=e,n}return s(t,e),f(t)}(h),g=function(e){function t(e){var n;return p(this,t),(n=u(this,t)).error=e,n}return s(t,e),f(t)}(h),b=function(e){function t(){return p(this,t),u(this,t,arguments)}return s(t,e),f(t)}(h),w=function(e){function t(e){var n;return p(this,t),(n=u(this,t)).version=e,n}return s(t,e),f(t)}(h),I=function(e){function t(e){var n;return p(this,t),(n=u(this,t)).version=e,n}return s(t,e),f(t)}(h),P=n(48272),O=n(58381),S=n(87082);function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function j(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return x(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(x(t={},r,(function(){return this})),t),d=s.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,x(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return c.prototype=s,x(d,"constructor",s),x(s,"constructor",c),c.displayName="GeneratorFunction",x(s,o,"GeneratorFunction"),x(d),x(d,o,"Generator"),x(d,r,(function(){return this})),x(d,"toString",(function(){return"[object Generator]"})),(j=function(){return{w:i,m:f}})()}function x(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}x=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){x(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},x(e,t,n,r)}function C(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){C(i,r,o,u,a,"next",e)}function a(e){C(i,r,o,u,a,"throw",e)}u(void 0)}))}}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,k(r.key),r)}}function k(e){var t=function(e){if("object"!=T(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=T(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==T(t)?t:t+""}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function L(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.GREAT;return e.length>0?Math.min.apply(Math,function(e){if(Array.isArray(e))return U(e)}(t=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return U(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?U(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):n}function D(e){var t,n,o,i=[],u=[];!(null===(t=e.response)||void 0===t?void 0:t.data)||e.error?(i.push(new g(e.error)),u.push(r.BAD)):"Jellyfin Server"!==e.response.data.ProductName&&(i.push(new y(e.response.data.ProductName)),u.push(r.BAD));var a=null===(n=e.response)||void 0===n?void 0:n.data.Version;try{a?(0,O.a)(a,S.U)?(i.push(new I(a)),u.push(r.OK)):(0,O.a)(a,S.m)&&(i.push(new w(a)),u.push(r.GOOD)):(i.push(new b),u.push(r.BAD))}catch(e){e instanceof TypeError&&(i.push(new b),u.push(r.BAD))}return e.responseTime>3e3&&(i.push(new m(e.responseTime)),u.push(r.GOOD)),{address:e.address,responseTime:e.responseTime,score:L(u),issues:i,systemInfo:null===(o=e.response)||void 0===o?void 0:o.data}}var E=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.jellyfin=t},t=[{key:"fetchRecommendedServerInfo",value:(o=A(j().m((function e(t){var n,r;return j().w((function(e){for(;;)if(0===e.n)return n=this.jellyfin.createApi(t),r=Date.now(),e.a(2,(0,P.c)(n).getPublicSystemInfo({timeout:5e3}).then((function(e){return{address:t,response:e,responseTime:Date.now()-r}})).catch((function(e){return{address:t,error:e,responseTime:Date.now()-r}})).then((function(e){return D(e)})))}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"discover",value:(n=A(j().m((function e(t){var n,o=this,i=arguments;return j().w((function(e){for(;;)switch(e.n){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:r.BAD,e.n=1,Promise.all(t.map((function(e){return o.fetchRecommendedServerInfo(e)})));case 1:return e.a(2,e.v.filter((function(e){return e.score>=n})))}}),e)}))),function(e){return n.apply(this,arguments)})}],t&&R(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,o}();function G(e){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G(e)}function Z(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return z(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(z(t={},r,(function(){return this})),t),d=s.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,z(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return c.prototype=s,z(d,"constructor",s),z(s,"constructor",c),c.displayName="GeneratorFunction",z(s,o,"GeneratorFunction"),z(d),z(d,o,"Generator"),z(d,r,(function(){return this})),z(d,"toString",(function(){return"[object Generator]"})),(Z=function(){return{w:i,m:f}})()}function z(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}z=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){z(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},z(e,t,n,r)}function Y(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function _(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){Y(i,r,o,u,a,"next",e)}function a(e){Y(i,r,o,u,a,"throw",e)}u(void 0)}))}}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,F(r.key),r)}}function F(e){var t=function(e){if("object"!=G(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=G(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==G(t)?t:t+""}var B=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.jellyfin=t,this.recommendedServerDiscovery=new E(this.jellyfin)},t=[{key:"findBestServer",value:function(e){var t=e.find((function(e){return e.score===r.GREAT}));return t||(t=e.find((function(e){return e.score===r.GOOD}))),t||(t=e.find((function(e){return e.score===r.OK}))),t}},{key:"getAddressCandidates",value:function(e){return(0,o.dn)(e)}},{key:"getRecommendedServers",value:(i=_(Z().m((function e(t,n){return Z().w((function(e){for(;;)if(0===e.n)return e.a(2,this.recommendedServerDiscovery.discover(t,n))}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"getRecommendedServerCandidates",value:(n=_(Z().m((function e(t,n){return Z().w((function(e){for(;;)if(0===e.n)return e.a(2,this.getRecommendedServers(this.getAddressCandidates(t),n))}),e,this)}))),function(e,t){return n.apply(this,arguments)})}],t&&W(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,i}(),M=(n(97138),n(63972));function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,V(r.key),r)}}function V(e){var t=function(e){if("object"!=N(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=N(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==N(t)?t:t+""}var q=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clientInfo=t.clientInfo,this.deviceInfo=t.deviceInfo,this.discovery=new B(this)},(t=[{key:"createApi",value:function(e,t,n){return new M.j(e,this.clientInfo,this.deviceInfo,t,n)}}])&&H(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},73392:function(e,t,n){n.d(t,{r:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getEpisodes:(i=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b){var w,I,P,O,S,T,j,x,C=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return w=C.length>15&&void 0!==C[15]?C[15]:{},(0,o.WC)("getEpisodes","seriesId",n),I="/Shows/{seriesId}/Episodes".replace("{".concat("seriesId","}"),encodeURIComponent(String(n))),P=new URL(I,o.fY),e&&(O=e.baseOptions),S=p(p({method:"GET"},O),w),T={},j={},t.n=1,(0,o.YS)(T,"Authorization",e);case 1:return void 0!==r&&(j.userId=r),i&&(j.fields=i),void 0!==u&&(j.season=u),void 0!==a&&(j.seasonId=a),void 0!==c&&(j.isMissing=c),void 0!==s&&(j.adjacentTo=s),void 0!==l&&(j.startItemId=l),void 0!==f&&(j.startIndex=f),void 0!==v&&(j.limit=v),void 0!==h&&(j.enableImages=h),void 0!==y&&(j.imageTypeLimit=y),m&&(j.enableImageTypes=m),void 0!==g&&(j.enableUserData=g),void 0!==b&&(j.sortBy=b),(0,o.rZ)(P,j),x=O&&O.headers?O.headers:{},S.headers=p(p(p({},T),x),w.headers),t.a(2,{url:(0,o.uD)(P),options:S})}}),t)}))),function(e,t,n,r,o,u,a,c,s,l,d,f,v,p,h){return i.apply(this,arguments)}),getNextUp:(r=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b){var w,I,P,O,S,T,j,x=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return w=x.length>15&&void 0!==x[15]?x[15]:{},I=new URL("/Shows/NextUp",o.fY),e&&(P=e.baseOptions),O=p(p({method:"GET"},P),w),S={},T={},t.n=1,(0,o.YS)(S,"Authorization",e);case 1:return void 0!==n&&(T.userId=n),void 0!==r&&(T.startIndex=r),void 0!==i&&(T.limit=i),u&&(T.fields=u),void 0!==a&&(T.seriesId=a),void 0!==c&&(T.parentId=c),void 0!==s&&(T.enableImages=s),void 0!==l&&(T.imageTypeLimit=l),f&&(T.enableImageTypes=f),void 0!==v&&(T.enableUserData=v),void 0!==h&&(T.nextUpDateCutoff=h instanceof Date?h.toISOString():h),void 0!==y&&(T.enableTotalRecordCount=y),void 0!==m&&(T.disableFirstEpisode=m),void 0!==g&&(T.enableResumable=g),void 0!==b&&(T.enableRewatching=b),(0,o.rZ)(I,T),j=P&&P.headers?P.headers:{},O.headers=p(p(p({},S),j),w.headers),t.a(2,{url:(0,o.uD)(I),options:O})}}),t)}))),function(e,t,n,o,i,u,a,c,s,l,d,f,v,p,h){return r.apply(this,arguments)}),getSeasons:(n=g(d().m((function t(n,r,i,u,a,c,s,l,f,v){var h,y,m,g,b,w,I,P,O=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return h=O.length>10&&void 0!==O[10]?O[10]:{},(0,o.WC)("getSeasons","seriesId",n),y="/Shows/{seriesId}/Seasons".replace("{".concat("seriesId","}"),encodeURIComponent(String(n))),m=new URL(y,o.fY),e&&(g=e.baseOptions),b=p(p({method:"GET"},g),h),w={},I={},t.n=1,(0,o.YS)(w,"Authorization",e);case 1:return void 0!==r&&(I.userId=r),i&&(I.fields=i),void 0!==u&&(I.isSpecialSeason=u),void 0!==a&&(I.isMissing=a),void 0!==c&&(I.adjacentTo=c),void 0!==s&&(I.enableImages=s),void 0!==l&&(I.imageTypeLimit=l),f&&(I.enableImageTypes=f),void 0!==v&&(I.enableUserData=v),(0,o.rZ)(m,I),P=g&&g.headers?g.headers:{},b.headers=p(p(p({},w),P),h.headers),t.a(2,{url:(0,o.uD)(m),options:b})}}),t)}))),function(e,t,r,o,i,u,a,c,s,l){return n.apply(this,arguments)}),getUpcomingEpisodes:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f){var v,h,y,m,g,b,w,I=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return v=I.length>9&&void 0!==I[9]?I[9]:{},h=new URL("/Shows/Upcoming",o.fY),e&&(y=e.baseOptions),m=p(p({method:"GET"},y),v),g={},b={},t.n=1,(0,o.YS)(g,"Authorization",e);case 1:return void 0!==n&&(b.userId=n),void 0!==r&&(b.startIndex=r),void 0!==i&&(b.limit=i),u&&(b.fields=u),void 0!==a&&(b.parentId=a),void 0!==c&&(b.enableImages=c),void 0!==s&&(b.imageTypeLimit=s),l&&(b.enableImageTypes=l),void 0!==f&&(b.enableUserData=f),(0,o.rZ)(h,b),w=y&&y.headers?y.headers:{},m.headers=p(p(p({},g),w),v.headers),t.a(2,{url:(0,o.uD)(h),options:m})}}),t)}))),function(e,n,r,o,i,u,a,c,s){return t.apply(this,arguments)})};var t,n,r,i}(e);return{getEpisodes:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P){return g(d().m((function g(){var O,S,T,j,x,C;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getEpisodes(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P);case 1:return j=d.v,x=null!==(O=null==e?void 0:e.serverIndex)&&void 0!==O?O:0,C=null===(T=null===(S=i.z9["TvShowsApi.getEpisodes"])||void 0===S?void 0:S[x])||void 0===T?void 0:T.url,d.a(2,(function(t,n){return(0,o.yZ)(j,r.A,i.o2,e)(t,C||n)}))}}),g)})))()},getNextUp:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P){return g(d().m((function g(){var O,S,T,j,x,C;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getNextUp(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P);case 1:return j=d.v,x=null!==(O=null==e?void 0:e.serverIndex)&&void 0!==O?O:0,C=null===(T=null===(S=i.z9["TvShowsApi.getNextUp"])||void 0===S?void 0:S[x])||void 0===T?void 0:T.url,d.a(2,(function(t,n){return(0,o.yZ)(j,r.A,i.o2,e)(t,C||n)}))}}),g)})))()},getSeasons:function(n,u,a,c,s,l,f,v,p,h,y){return g(d().m((function m(){var g,b,w,I,P,O;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSeasons(n,u,a,c,s,l,f,v,p,h,y);case 1:return I=d.v,P=null!==(g=null==e?void 0:e.serverIndex)&&void 0!==g?g:0,O=null===(w=null===(b=i.z9["TvShowsApi.getSeasons"])||void 0===b?void 0:b[P])||void 0===w?void 0:w.url,d.a(2,(function(t,n){return(0,o.yZ)(I,r.A,i.o2,e)(t,O||n)}))}}),m)})))()},getUpcomingEpisodes:function(n,u,a,c,s,l,f,v,p,h){return g(d().m((function y(){var m,g,b,w,I,P;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getUpcomingEpisodes(n,u,a,c,s,l,f,v,p,h);case 1:return w=d.v,I=null!==(m=null==e?void 0:e.serverIndex)&&void 0!==m?m:0,P=null===(b=null===(g=i.z9["TvShowsApi.getUpcomingEpisodes"])||void 0===g?void 0:g[I])||void 0===b?void 0:b.url,d.a(2,(function(t,n){return(0,o.yZ)(w,r.A,i.o2,e)(t,P||n)}))}}),y)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getEpisodes",value:function(e,t){var n=this;return b(this.configuration).getEpisodes(e.seriesId,e.userId,e.fields,e.season,e.seasonId,e.isMissing,e.adjacentTo,e.startItemId,e.startIndex,e.limit,e.enableImages,e.imageTypeLimit,e.enableImageTypes,e.enableUserData,e.sortBy,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getNextUp",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getNextUp(t.userId,t.startIndex,t.limit,t.fields,t.seriesId,t.parentId,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.enableUserData,t.nextUpDateCutoff,t.enableTotalRecordCount,t.disableFirstEpisode,t.enableResumable,t.enableRewatching,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getSeasons",value:function(e,t){var n=this;return b(this.configuration).getSeasons(e.seriesId,e.userId,e.fields,e.isSpecialSeason,e.isMissing,e.adjacentTo,e.enableImages,e.imageTypeLimit,e.enableImageTypes,e.enableUserData,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getUpcomingEpisodes",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getUpcomingEpisodes(t.userId,t.startIndex,t.limit,t.fields,t.parentId,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.enableUserData,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},73921:function(e,t,n){n.d(t,{x:function(){return r}});var r={Ascending:"Ascending",Descending:"Descending"}},74180:function(e,t,n){n.d(t,{n:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{closeLiveStream:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("closeLiveStream","liveStreamId",n),i=new URL("/LiveStreams/Close",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.liveStreamId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return u.apply(this,arguments)}),getBitrateTestBytes:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Playback/BitrateTest",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.size=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),getPlaybackInfo:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getPlaybackInfo","itemId",n),u="/Items/{itemId}/PlaybackInfo".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),getPostedPlaybackInfo:(n=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w){var I,P,O,S,T,j,x,C,A=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return I=A.length>16&&void 0!==A[16]?A[16]:{},(0,o.WC)("getPostedPlaybackInfo","itemId",n),P="/Items/{itemId}/PlaybackInfo".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),O=new URL(P,o.fY),e&&(S=e.baseOptions),T=p(p({method:"POST"},S),I),j={},x={},t.n=1,(0,o.YS)(j,"Authorization",e);case 1:return void 0!==r&&(x.userId=r),void 0!==i&&(x.maxStreamingBitrate=i),void 0!==u&&(x.startTimeTicks=u),void 0!==a&&(x.audioStreamIndex=a),void 0!==c&&(x.subtitleStreamIndex=c),void 0!==s&&(x.maxAudioChannels=s),void 0!==l&&(x.mediaSourceId=l),void 0!==f&&(x.liveStreamId=f),void 0!==v&&(x.autoOpenLiveStream=v),void 0!==h&&(x.enableDirectPlay=h),void 0!==y&&(x.enableDirectStream=y),void 0!==m&&(x.enableTranscoding=m),void 0!==g&&(x.allowVideoStreamCopy=g),void 0!==b&&(x.allowAudioStreamCopy=b),j["Content-Type"]="application/json",(0,o.rZ)(O,x),C=S&&S.headers?S.headers:{},T.headers=p(p(p({},j),C),I.headers),T.data=(0,o.Np)(w,T,e),t.a(2,{url:(0,o.uD)(O),options:T})}}),t)}))),function(e,t,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return n.apply(this,arguments)}),openLiveStream:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m){var g,b,w,I,P,O,S,T=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return g=T.length>13&&void 0!==T[13]?T[13]:{},b=new URL("/LiveStreams/Open",o.fY),e&&(w=e.baseOptions),I=p(p({method:"POST"},w),g),P={},O={},t.n=1,(0,o.YS)(P,"Authorization",e);case 1:return void 0!==n&&(O.openToken=n),void 0!==r&&(O.userId=r),void 0!==i&&(O.playSessionId=i),void 0!==u&&(O.maxStreamingBitrate=u),void 0!==a&&(O.startTimeTicks=a),void 0!==c&&(O.audioStreamIndex=c),void 0!==s&&(O.subtitleStreamIndex=s),void 0!==l&&(O.maxAudioChannels=l),void 0!==f&&(O.itemId=f),void 0!==v&&(O.enableDirectPlay=v),void 0!==h&&(O.enableDirectStream=h),void 0!==y&&(O.alwaysBurnInSubtitleWhenTranscoding=y),P["Content-Type"]="application/json",(0,o.rZ)(b,O),S=w&&w.headers?w.headers:{},I.headers=p(p(p({},P),S),g.headers),I.data=(0,o.Np)(m,I,e),t.a(2,{url:(0,o.uD)(b),options:I})}}),t)}))),function(e,n,r,o,i,u,a,c,s,l,d,f,v){return t.apply(this,arguments)})};var t,n,r,i,u}(e);return{closeLiveStream:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.closeLiveStream(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["MediaInfoApi.closeLiveStream"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getBitrateTestBytes:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getBitrateTestBytes(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["MediaInfoApi.getBitrateTestBytes"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPlaybackInfo:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPlaybackInfo(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["MediaInfoApi.getPlaybackInfo"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPostedPlaybackInfo:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O){return g(d().m((function g(){var S,T,j,x,C,A;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getPostedPlaybackInfo(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O);case 1:return x=d.v,C=null!==(S=null==e?void 0:e.serverIndex)&&void 0!==S?S:0,A=null===(j=null===(T=i.z9["MediaInfoApi.getPostedPlaybackInfo"])||void 0===T?void 0:T[C])||void 0===j?void 0:j.url,d.a(2,(function(t,n){return(0,o.yZ)(x,r.A,i.o2,e)(t,A||n)}))}}),g)})))()},openLiveStream:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w){return g(d().m((function g(){var I,P,O,S,T,j;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.openLiveStream(n,u,a,c,s,l,f,v,p,h,y,m,b,w);case 1:return S=d.v,T=null!==(I=null==e?void 0:e.serverIndex)&&void 0!==I?I:0,j=null===(O=null===(P=i.z9["MediaInfoApi.openLiveStream"])||void 0===P?void 0:P[T])||void 0===O?void 0:O.url,d.a(2,(function(t,n){return(0,o.yZ)(S,r.A,i.o2,e)(t,j||n)}))}}),g)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"closeLiveStream",value:function(e,t){var n=this;return b(this.configuration).closeLiveStream(e.liveStreamId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getBitrateTestBytes",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getBitrateTestBytes(t.size,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getPlaybackInfo",value:function(e,t){var n=this;return b(this.configuration).getPlaybackInfo(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPostedPlaybackInfo",value:function(e,t){var n=this;return b(this.configuration).getPostedPlaybackInfo(e.itemId,e.userId,e.maxStreamingBitrate,e.startTimeTicks,e.audioStreamIndex,e.subtitleStreamIndex,e.maxAudioChannels,e.mediaSourceId,e.liveStreamId,e.autoOpenLiveStream,e.enableDirectPlay,e.enableDirectStream,e.enableTranscoding,e.allowVideoStreamCopy,e.allowAudioStreamCopy,e.playbackInfoDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"openLiveStream",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).openLiveStream(t.openToken,t.userId,t.playSessionId,t.maxStreamingBitrate,t.startTimeTicks,t.audioStreamIndex,t.subtitleStreamIndex,t.maxAudioChannels,t.itemId,t.enableDirectPlay,t.enableDirectStream,t.alwaysBurnInSubtitleWhenTranscoding,t.openLiveStreamDto,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},77612:function(e,t,n){n.d(t,{B:function(){return r}});var r={Default:"Default",AiredEpisodeOrder:"AiredEpisodeOrder",Album:"Album",AlbumArtist:"AlbumArtist",Artist:"Artist",DateCreated:"DateCreated",OfficialRating:"OfficialRating",DatePlayed:"DatePlayed",PremiereDate:"PremiereDate",StartDate:"StartDate",SortName:"SortName",Name:"Name",Random:"Random",Runtime:"Runtime",CommunityRating:"CommunityRating",ProductionYear:"ProductionYear",PlayCount:"PlayCount",CriticRating:"CriticRating",IsFolder:"IsFolder",IsUnplayed:"IsUnplayed",IsPlayed:"IsPlayed",SeriesSortName:"SeriesSortName",VideoBitRate:"VideoBitRate",AirTime:"AirTime",Studio:"Studio",IsFavoriteOrLiked:"IsFavoriteOrLiked",DateLastContentAdded:"DateLastContentAdded",SeriesDatePlayed:"SeriesDatePlayed",ParentIndexNumber:"ParentIndexNumber",IndexNumber:"IndexNumber"}},78880:function(e,t,n){n.d(t,{dn:function(){return c}}),n(14382),n(86584),n(26448),n(78557),n(73687),n(23630);var r=n(49805),o=n(58650),i=8096,u=8920;function a(e){var t=0;return e.protocol===o.fg?t+=5:t-=5,e.port===i.toString()?t+=2:e.port===u.toString()&&(t-=1),(0,r.r$)(e)&&(t+=3),t}function c(e){var t=[];try{var n=(0,r.Dl)(e);if((0,r.H)(e,n))return[n.toString()];if(t.push(n),n.protocol===o.W7){var c=(0,r.VC)(n);c.protocol=o.fg,t.push(c)}return t.filter(r.r$).forEach((function(e){if(e.protocol===o.W7){var n=(0,r.VC)(e);n.port=i.toString(),t.push(n)}else if(e.protocol===o.fg){var a=(0,r.VC)(e);a.port=i.toString(),t.push(a),(a=(0,r.VC)(e)).port=u.toString(),t.push(a)}})),t.sort((function(e,t){return a(t)-a(e)})),t.map((function(e){return e.toString()}))}catch(e){return console.warn(e),[]}}},79096:function(e,t,n){n.d(t,{S:function(){return r}});var r={Unknown:"Unknown",Actor:"Actor",Director:"Director",Composer:"Composer",Writer:"Writer",GuestStar:"GuestStar",Producer:"Producer",Conductor:"Conductor",Lyricist:"Lyricist",Arranger:"Arranger",Engineer:"Engineer",Mixer:"Mixer",Remixer:"Remixer",Creator:"Creator",Artist:"Artist",AlbumArtist:"AlbumArtist",Author:"Author",Illustrator:"Illustrator",Penciller:"Penciller",Inker:"Inker",Colorist:"Colorist",Letterer:"Letterer",CoverArtist:"CoverArtist",Editor:"Editor",Translator:"Translator"}},80270:function(e,t,n){n.d(t,{$:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getGenre:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getGenre","genreName",n),u="/Genres/{genreName}".replace("{".concat("genreName","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getGenres:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P){var O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return O=R.length>18&&void 0!==R[18]?R[18]:{},S=new URL("/Genres",o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),O),x={},C={},t.n=1,(0,o.YS)(x,"Authorization",e);case 1:return void 0!==n&&(C.startIndex=n),void 0!==r&&(C.limit=r),void 0!==i&&(C.searchTerm=i),void 0!==u&&(C.parentId=u),a&&(C.fields=a),c&&(C.excludeItemTypes=c),s&&(C.includeItemTypes=s),void 0!==l&&(C.isFavorite=l),void 0!==f&&(C.imageTypeLimit=f),v&&(C.enableImageTypes=v),void 0!==h&&(C.userId=h),void 0!==y&&(C.nameStartsWithOrGreater=y),void 0!==m&&(C.nameStartsWith=m),void 0!==g&&(C.nameLessThan=g),b&&(C.sortBy=b),w&&(C.sortOrder=w),void 0!==I&&(C.enableImages=I),void 0!==P&&(C.enableTotalRecordCount=P),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),O.headers),t.a(2,{url:(0,o.uD)(S),options:j})}}),t)}))),function(e,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g){return t.apply(this,arguments)})};var t,n}(e);return{getGenre:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getGenre(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["GenresApi.getGenre"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getGenres:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T){return g(d().m((function g(){var j,x,C,A,R,k;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getGenres(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T);case 1:return A=d.v,R=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(C=null===(x=i.z9["GenresApi.getGenres"])||void 0===x?void 0:x[R])||void 0===C?void 0:C.url,d.a(2,(function(t,n){return(0,o.yZ)(A,r.A,i.o2,e)(t,k||n)}))}}),g)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getGenre",value:function(e,t){var n=this;return b(this.configuration).getGenre(e.genreName,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getGenres",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getGenres(t.startIndex,t.limit,t.searchTerm,t.parentId,t.fields,t.excludeItemTypes,t.includeItemTypes,t.isFavorite,t.imageTypeLimit,t.enableImageTypes,t.userId,t.nameStartsWithOrGreater,t.nameStartsWith,t.nameLessThan,t.sortBy,t.sortOrder,t.enableImages,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},81098:function(e,t,n){n.d(t,{g:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteDevice:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("deleteDevice","id",n),i=new URL("/Devices",o.fY),e&&(u=e.baseOptions),a=p(p({method:"DELETE"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return u.apply(this,arguments)}),getDeviceInfo:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("getDeviceInfo","id",n),i=new URL("/Devices/Info",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),getDeviceOptions:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("getDeviceOptions","id",n),i=new URL("/Devices/Options",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),getDevices:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Devices",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),updateDeviceOptions:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("updateDeviceOptions","id",n),(0,o.WC)("updateDeviceOptions","deviceOptionsDto",r),u=new URL("/Devices/Options",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.id=n),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(r,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u}(e);return{deleteDevice:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteDevice(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DevicesApi.deleteDevice"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDeviceInfo:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDeviceInfo(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DevicesApi.getDeviceInfo"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDeviceOptions:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDeviceOptions(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DevicesApi.getDeviceOptions"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDevices:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDevices(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DevicesApi.getDevices"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateDeviceOptions:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateDeviceOptions(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["DevicesApi.updateDeviceOptions"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"deleteDevice",value:function(e,t){var n=this;return b(this.configuration).deleteDevice(e.id,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getDeviceInfo",value:function(e,t){var n=this;return b(this.configuration).getDeviceInfo(e.id,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getDeviceOptions",value:function(e,t){var n=this;return b(this.configuration).getDeviceOptions(e.id,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getDevices",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getDevices(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"updateDeviceOptions",value:function(e,t){var n=this;return b(this.configuration).updateDeviceOptions(e.id,e.deviceOptionsDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},81273:function(e,t,n){n.d(t,{L:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteSubtitle:(f=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("deleteSubtitle","itemId",n),(0,o.WC)("deleteSubtitle","index",r),u="/Videos/{itemId}/Subtitles/{index}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("index","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return f.apply(this,arguments)}),downloadRemoteSubtitles:(l=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("downloadRemoteSubtitles","itemId",n),(0,o.WC)("downloadRemoteSubtitles","subtitleId",r),u="/Items/{itemId}/RemoteSearch/Subtitles/{subtitleId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("subtitleId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return l.apply(this,arguments)}),getFallbackFont:(s=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getFallbackFont","name",n),i="/FallbackFont/Fonts/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return s.apply(this,arguments)}),getFallbackFontList:(c=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/FallbackFont/Fonts",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return c.apply(this,arguments)}),getRemoteSubtitles:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getRemoteSubtitles","subtitleId",n),i="/Providers/Subtitles/Subtitles/{subtitleId}".replace("{".concat("subtitleId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),getSubtitle:(u=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y){var m,g,b,w,I,P,O,S,T=arguments;return d().w((function(t){for(;;)if(0===t.n)return m=T.length>12&&void 0!==T[12]?T[12]:{},(0,o.WC)("getSubtitle","routeItemId",n),(0,o.WC)("getSubtitle","routeMediaSourceId",r),(0,o.WC)("getSubtitle","routeIndex",i),(0,o.WC)("getSubtitle","routeFormat",u),g="/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}".replace("{".concat("routeItemId","}"),encodeURIComponent(String(n))).replace("{".concat("routeMediaSourceId","}"),encodeURIComponent(String(r))).replace("{".concat("routeIndex","}"),encodeURIComponent(String(i))).replace("{".concat("routeFormat","}"),encodeURIComponent(String(u))),b=new URL(g,o.fY),e&&(w=e.baseOptions),I=p(p({method:"GET"},w),m),P={},O={},void 0!==a&&(O.itemId=a),void 0!==c&&(O.mediaSourceId=c),void 0!==s&&(O.index=s),void 0!==l&&(O.format=l),void 0!==f&&(O.endPositionTicks=f),void 0!==v&&(O.copyTimestamps=v),void 0!==h&&(O.addVttTimeMap=h),void 0!==y&&(O.startPositionTicks=y),(0,o.rZ)(b,O),S=w&&w.headers?w.headers:{},I.headers=p(p(p({},P),S),m.headers),t.a(2,{url:(0,o.uD)(b),options:I})}),t)}))),function(e,t,n,r,o,i,a,c,s,l,d,f){return u.apply(this,arguments)}),getSubtitlePlaylist:(i=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("getSubtitlePlaylist","itemId",n),(0,o.WC)("getSubtitlePlaylist","index",r),(0,o.WC)("getSubtitlePlaylist","mediaSourceId",i),(0,o.WC)("getSubtitlePlaylist","segmentLength",u),c="/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("index","}"),encodeURIComponent(String(r))).replace("{".concat("mediaSourceId","}"),encodeURIComponent(String(i))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"GET"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==u&&(h.segmentLength=u),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,r){return i.apply(this,arguments)}),getSubtitleWithTicks:(r=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m){var g,b,w,I,P,O,S,T,j=arguments;return d().w((function(t){for(;;)if(0===t.n)return g=j.length>13&&void 0!==j[13]?j[13]:{},(0,o.WC)("getSubtitleWithTicks","routeItemId",n),(0,o.WC)("getSubtitleWithTicks","routeMediaSourceId",r),(0,o.WC)("getSubtitleWithTicks","routeIndex",i),(0,o.WC)("getSubtitleWithTicks","routeStartPositionTicks",u),(0,o.WC)("getSubtitleWithTicks","routeFormat",a),b="/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}".replace("{".concat("routeItemId","}"),encodeURIComponent(String(n))).replace("{".concat("routeMediaSourceId","}"),encodeURIComponent(String(r))).replace("{".concat("routeIndex","}"),encodeURIComponent(String(i))).replace("{".concat("routeStartPositionTicks","}"),encodeURIComponent(String(u))).replace("{".concat("routeFormat","}"),encodeURIComponent(String(a))),w=new URL(b,o.fY),e&&(I=e.baseOptions),P=p(p({method:"GET"},I),g),O={},S={},void 0!==c&&(S.itemId=c),void 0!==s&&(S.mediaSourceId=s),void 0!==l&&(S.index=l),void 0!==f&&(S.startPositionTicks=f),void 0!==v&&(S.format=v),void 0!==h&&(S.endPositionTicks=h),void 0!==y&&(S.copyTimestamps=y),void 0!==m&&(S.addVttTimeMap=m),(0,o.rZ)(w,S),T=I&&I.headers?I.headers:{},P.headers=p(p(p({},O),T),g.headers),t.a(2,{url:(0,o.uD)(w),options:P})}),t)}))),function(e,t,n,o,i,u,a,c,s,l,d,f,v){return r.apply(this,arguments)}),searchRemoteSubtitles:(n=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("searchRemoteSubtitles","itemId",n),(0,o.WC)("searchRemoteSubtitles","language",r),a="/Items/{itemId}/RemoteSearch/Subtitles/{language}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("language","}"),encodeURIComponent(String(r))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==i&&(v.isPerfectMatch=i),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,r){return n.apply(this,arguments)}),uploadSubtitle:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("uploadSubtitle","itemId",n),(0,o.WC)("uploadSubtitle","uploadSubtitleDto",r),u="/Videos/{itemId}/Subtitles".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f}(e);return{deleteSubtitle:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.deleteSubtitle(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SubtitleApi.deleteSubtitle"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},downloadRemoteSubtitles:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.downloadRemoteSubtitles(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SubtitleApi.downloadRemoteSubtitles"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getFallbackFont:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getFallbackFont(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SubtitleApi.getFallbackFont"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getFallbackFontList:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getFallbackFontList(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SubtitleApi.getFallbackFontList"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getRemoteSubtitles:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRemoteSubtitles(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SubtitleApi.getRemoteSubtitles"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getSubtitle:function(n,u,a,c,s,l,f,v,p,h,y,m,b){return g(d().m((function g(){var w,I,P,O,S,T;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSubtitle(n,u,a,c,s,l,f,v,p,h,y,m,b);case 1:return O=d.v,S=null!==(w=null==e?void 0:e.serverIndex)&&void 0!==w?w:0,T=null===(P=null===(I=i.z9["SubtitleApi.getSubtitle"])||void 0===I?void 0:I[S])||void 0===P?void 0:P.url,d.a(2,(function(t,n){return(0,o.yZ)(O,r.A,i.o2,e)(t,T||n)}))}}),g)})))()},getSubtitlePlaylist:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getSubtitlePlaylist(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["SubtitleApi.getSubtitlePlaylist"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},getSubtitleWithTicks:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w){return g(d().m((function g(){var I,P,O,S,T,j;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSubtitleWithTicks(n,u,a,c,s,l,f,v,p,h,y,m,b,w);case 1:return S=d.v,T=null!==(I=null==e?void 0:e.serverIndex)&&void 0!==I?I:0,j=null===(O=null===(P=i.z9["SubtitleApi.getSubtitleWithTicks"])||void 0===P?void 0:P[T])||void 0===O?void 0:O.url,d.a(2,(function(t,n){return(0,o.yZ)(S,r.A,i.o2,e)(t,j||n)}))}}),g)})))()},searchRemoteSubtitles:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.searchRemoteSubtitles(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["SubtitleApi.searchRemoteSubtitles"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},uploadSubtitle:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.uploadSubtitle(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SubtitleApi.uploadSubtitle"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"deleteSubtitle",value:function(e,t){var n=this;return b(this.configuration).deleteSubtitle(e.itemId,e.index,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"downloadRemoteSubtitles",value:function(e,t){var n=this;return b(this.configuration).downloadRemoteSubtitles(e.itemId,e.subtitleId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getFallbackFont",value:function(e,t){var n=this;return b(this.configuration).getFallbackFont(e.name,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getFallbackFontList",value:function(e){var t=this;return b(this.configuration).getFallbackFontList(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getRemoteSubtitles",value:function(e,t){var n=this;return b(this.configuration).getRemoteSubtitles(e.subtitleId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSubtitle",value:function(e,t){var n=this;return b(this.configuration).getSubtitle(e.routeItemId,e.routeMediaSourceId,e.routeIndex,e.routeFormat,e.itemId,e.mediaSourceId,e.index,e.format,e.endPositionTicks,e.copyTimestamps,e.addVttTimeMap,e.startPositionTicks,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSubtitlePlaylist",value:function(e,t){var n=this;return b(this.configuration).getSubtitlePlaylist(e.itemId,e.index,e.mediaSourceId,e.segmentLength,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSubtitleWithTicks",value:function(e,t){var n=this;return b(this.configuration).getSubtitleWithTicks(e.routeItemId,e.routeMediaSourceId,e.routeIndex,e.routeStartPositionTicks,e.routeFormat,e.itemId,e.mediaSourceId,e.index,e.startPositionTicks,e.format,e.endPositionTicks,e.copyTimestamps,e.addVttTimeMap,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"searchRemoteSubtitles",value:function(e,t){var n=this;return b(this.configuration).searchRemoteSubtitles(e.itemId,e.language,e.isPerfectMatch,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"uploadSubtitle",value:function(e,t){var n=this;return b(this.configuration).uploadSubtitle(e.itemId,e.uploadSubtitleDto,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},86084:function(e,t,n){n.d(t,{k:function(){return r}});var r={New:"New",InProgress:"InProgress",Completed:"Completed",Cancelled:"Cancelled",ConflictedOk:"ConflictedOk",ConflictedNotOk:"ConflictedNotOk",Error:"Error"}},87082:function(e,t,n){n.d(t,{U:function(){return o},m:function(){return r}});var r="10.11.0",o="10.9.0"},92426:function(e,t,n){n.d(t,{s:function(){return r}});var r={IsFolder:"IsFolder",IsNotFolder:"IsNotFolder",IsUnplayed:"IsUnplayed",IsPlayed:"IsPlayed",IsFavorite:"IsFavorite",IsResumable:"IsResumable",Likes:"Likes",Dislikes:"Dislikes",IsFavoriteOrLikes:"IsFavoriteOrLikes"}},94732:function(e,t,n){n.d(t,{T:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getConfiguration:(a=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Configuration",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return a.apply(this,arguments)}),getDefaultMetadataOptions:(u=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Configuration/MetadataOptions/Default",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return u.apply(this,arguments)}),getNamedConfiguration:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getNamedConfiguration","key",n),i="/System/Configuration/{key}".replace("{".concat("key","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return i.apply(this,arguments)}),updateBrandingConfiguration:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("updateBrandingConfiguration","brandingOptionsDto",n),i=new URL("/System/Configuration/Branding",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),updateConfiguration:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("updateConfiguration","serverConfiguration",n),i=new URL("/System/Configuration",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),updateNamedConfiguration:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updateNamedConfiguration","key",n),(0,o.WC)("updateNamedConfiguration","body",r),u="/System/Configuration/{key}".replace("{".concat("key","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u,a}(e);return{getConfiguration:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getConfiguration(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["ConfigurationApi.getConfiguration"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getDefaultMetadataOptions:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getDefaultMetadataOptions(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["ConfigurationApi.getDefaultMetadataOptions"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getNamedConfiguration:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getNamedConfiguration(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ConfigurationApi.getNamedConfiguration"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateBrandingConfiguration:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.updateBrandingConfiguration(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ConfigurationApi.updateBrandingConfiguration"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateConfiguration:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.updateConfiguration(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ConfigurationApi.updateConfiguration"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateNamedConfiguration:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateNamedConfiguration(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ConfigurationApi.updateNamedConfiguration"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"getConfiguration",value:function(e){var t=this;return b(this.configuration).getConfiguration(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getDefaultMetadataOptions",value:function(e){var t=this;return b(this.configuration).getDefaultMetadataOptions(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getNamedConfiguration",value:function(e,t){var n=this;return b(this.configuration).getNamedConfiguration(e.key,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateBrandingConfiguration",value:function(e,t){var n=this;return b(this.configuration).updateBrandingConfiguration(e.brandingOptionsDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateConfiguration",value:function(e,t){var n=this;return b(this.configuration).updateConfiguration(e.serverConfiguration,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateNamedConfiguration",value:function(e,t){var n=this;return b(this.configuration).updateNamedConfiguration(e.key,e.body,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},96802:function(e,t,n){n.d(t,{k:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{authorizeQuickConnect:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("authorizeQuickConnect","code",n),u=new URL("/QuickConnect/Authorize",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.code=n),void 0!==r&&(l.userId=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),getQuickConnectEnabled:(r=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/QuickConnect/Enabled",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return r.apply(this,arguments)}),getQuickConnectState:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("getQuickConnectState","secret",n),i=new URL("/QuickConnect/Connect",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},void 0!==n&&(s.secret=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return n.apply(this,arguments)}),initiateQuickConnect:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/QuickConnect/Initiate",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i}(e);return{authorizeQuickConnect:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.authorizeQuickConnect(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["QuickConnectApi.authorizeQuickConnect"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getQuickConnectEnabled:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getQuickConnectEnabled(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["QuickConnectApi.getQuickConnectEnabled"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getQuickConnectState:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getQuickConnectState(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["QuickConnectApi.getQuickConnectState"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},initiateQuickConnect:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.initiateQuickConnect(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["QuickConnectApi.initiateQuickConnect"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"authorizeQuickConnect",value:function(e,t){var n=this;return b(this.configuration).authorizeQuickConnect(e.code,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getQuickConnectEnabled",value:function(e){var t=this;return b(this.configuration).getQuickConnectEnabled(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getQuickConnectState",value:function(e,t){var n=this;return b(this.configuration).getQuickConnectState(e.secret,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"initiateQuickConnect",value:function(e){var t=this;return b(this.configuration).initiateQuickConnect(e).then((function(e){return e(t.axios,t.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},97138:function(e,t,n){n.d(t,{XL:function(){return r.X}}),n(78880);var r=n(68777);n(49805),n(58381)},98183:function(e,t,n){n.d(t,{X:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{addMediaPath:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("addMediaPath","mediaPathDto",n),u=new URL("/Library/VirtualFolders/Paths",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.refreshLibrary=r),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return s.apply(this,arguments)}),addVirtualFolder:(c=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=m.length>5&&void 0!==m[5]?m[5]:{},s=new URL("/Library/VirtualFolders",o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),c),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==n&&(h.name=n),void 0!==r&&(h.collectionType=r),i&&(h.paths=i),void 0!==u&&(h.refreshLibrary=u),v["Content-Type"]="application/json",(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),c.headers),f.data=(0,o.Np)(a,f,e),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,r,o){return c.apply(this,arguments)}),getVirtualFolders:(a=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Library/VirtualFolders",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return a.apply(this,arguments)}),removeMediaPath:(u=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=h.length>3&&void 0!==h[3]?h[3]:{},a=new URL("/Library/VirtualFolders/Paths",o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),u),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==n&&(f.name=n),void 0!==r&&(f.path=r),void 0!==i&&(f.refreshLibrary=i),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),u.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t,n){return u.apply(this,arguments)}),removeVirtualFolder:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Library/VirtualFolders",o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.name=n),void 0!==r&&(l.refreshLibrary=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),renameVirtualFolder:(r=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=h.length>3&&void 0!==h[3]?h[3]:{},a=new URL("/Library/VirtualFolders/Name",o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),u),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==n&&(f.name=n),void 0!==r&&(f.newName=r),void 0!==i&&(f.refreshLibrary=i),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),u.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t,n){return r.apply(this,arguments)}),updateLibraryOptions:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Library/VirtualFolders/LibraryOptions",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),updateMediaPath:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("updateMediaPath","updateMediaPathRequestDto",n),i=new URL("/Library/VirtualFolders/Paths/Update",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s}(e);return{addMediaPath:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.addMediaPath(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryStructureApi.addMediaPath"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},addVirtualFolder:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.addVirtualFolder(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryStructureApi.addVirtualFolder"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getVirtualFolders:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getVirtualFolders(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LibraryStructureApi.getVirtualFolders"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},removeMediaPath:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.removeMediaPath(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["LibraryStructureApi.removeMediaPath"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},removeVirtualFolder:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeVirtualFolder(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryStructureApi.removeVirtualFolder"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},renameVirtualFolder:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.renameVirtualFolder(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["LibraryStructureApi.renameVirtualFolder"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},updateLibraryOptions:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.updateLibraryOptions(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryStructureApi.updateLibraryOptions"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateMediaPath:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.updateMediaPath(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryStructureApi.updateMediaPath"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"addMediaPath",value:function(e,t){var n=this;return b(this.configuration).addMediaPath(e.mediaPathDto,e.refreshLibrary,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"addVirtualFolder",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).addVirtualFolder(t.name,t.collectionType,t.paths,t.refreshLibrary,t.addVirtualFolderDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getVirtualFolders",value:function(e){var t=this;return b(this.configuration).getVirtualFolders(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"removeMediaPath",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).removeMediaPath(t.name,t.path,t.refreshLibrary,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"removeVirtualFolder",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).removeVirtualFolder(t.name,t.refreshLibrary,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"renameVirtualFolder",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).renameVirtualFolder(t.name,t.newName,t.refreshLibrary,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"updateLibraryOptions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).updateLibraryOptions(t.updateLibraryOptionsDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"updateMediaPath",value:function(e,t){var n=this;return b(this.configuration).updateMediaPath(e.updateMediaPathRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},98350:function(e,t,n){n.d(t,{f:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getQueryFilters:(n=g(d().m((function t(n,r,i,u,a,c,s,l,f,v){var h,y,m,g,b,w,I,P=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return h=P.length>10&&void 0!==P[10]?P[10]:{},y=new URL("/Items/Filters2",o.fY),e&&(m=e.baseOptions),g=p(p({method:"GET"},m),h),b={},w={},t.n=1,(0,o.YS)(b,"Authorization",e);case 1:return void 0!==n&&(w.userId=n),void 0!==r&&(w.parentId=r),i&&(w.includeItemTypes=i),void 0!==u&&(w.isAiring=u),void 0!==a&&(w.isMovie=a),void 0!==c&&(w.isSports=c),void 0!==s&&(w.isKids=s),void 0!==l&&(w.isNews=l),void 0!==f&&(w.isSeries=f),void 0!==v&&(w.recursive=v),(0,o.rZ)(y,w),I=m&&m.headers?m.headers:{},g.headers=p(p(p({},b),I),h.headers),t.a(2,{url:(0,o.uD)(y),options:g})}}),t)}))),function(e,t,r,o,i,u,a,c,s,l){return n.apply(this,arguments)}),getQueryFiltersLegacy:(t=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/Items/Filters",o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.userId=n),void 0!==r&&(v.parentId=r),i&&(v.includeItemTypes=i),u&&(v.mediaTypes=u),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r,o){return t.apply(this,arguments)})};var t,n}(e);return{getQueryFilters:function(n,u,a,c,s,l,f,v,p,h,y){return g(d().m((function m(){var g,b,w,I,P,O;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getQueryFilters(n,u,a,c,s,l,f,v,p,h,y);case 1:return I=d.v,P=null!==(g=null==e?void 0:e.serverIndex)&&void 0!==g?g:0,O=null===(w=null===(b=i.z9["FilterApi.getQueryFilters"])||void 0===b?void 0:b[P])||void 0===w?void 0:w.url,d.a(2,(function(t,n){return(0,o.yZ)(I,r.A,i.o2,e)(t,O||n)}))}}),m)})))()},getQueryFiltersLegacy:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getQueryFiltersLegacy(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["FilterApi.getQueryFiltersLegacy"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getQueryFilters",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getQueryFilters(t.userId,t.parentId,t.includeItemTypes,t.isAiring,t.isMovie,t.isSports,t.isKids,t.isNews,t.isSeries,t.recursive,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getQueryFiltersLegacy",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getQueryFiltersLegacy(t.userId,t.parentId,t.includeItemTypes,t.mediaTypes,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},98428:function(e,t,n){n.d(t,{A:function(){return r}});var r={SimilarToRecentlyPlayed:"SimilarToRecentlyPlayed",SimilarToLikedItem:"SimilarToLikedItem",HasDirectorFromRecentlyPlayed:"HasDirectorFromRecentlyPlayed",HasActorFromRecentlyPlayed:"HasActorFromRecentlyPlayed",HasLikedDirector:"HasLikedDirector",HasLikedActor:"HasLikedActor"}},99193:function(e,t,n){n.d(t,{S:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getCountries:(i=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Localization/Countries",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return i.apply(this,arguments)}),getCultures:(r=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Localization/Cultures",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return r.apply(this,arguments)}),getLocalizationOptions:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Localization/Options",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return n.apply(this,arguments)}),getParentalRatings:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Localization/ParentalRatings",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i}(e);return{getCountries:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getCountries(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LocalizationApi.getCountries"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getCultures:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getCultures(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LocalizationApi.getCultures"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getLocalizationOptions:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getLocalizationOptions(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LocalizationApi.getLocalizationOptions"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getParentalRatings:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getParentalRatings(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LocalizationApi.getParentalRatings"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"getCountries",value:function(e){var t=this;return b(this.configuration).getCountries(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getCultures",value:function(e){var t=this;return b(this.configuration).getCultures(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getLocalizationOptions",value:function(e){var t=this;return b(this.configuration).getLocalizationOptions(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getParentalRatings",value:function(e){var t=this;return b(this.configuration).getParentalRatings(e).then((function(e){return e(t.axios,t.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}}}]);
2
+ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[45642],{1164:function(e,t,n){n.d(t,{i:function(){return r}});var r={FileSystem:"FileSystem",Remote:"Remote",Virtual:"Virtual",Offline:"Offline"}},2097:function(e,t,n){n.d(t,{N:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{cancelPackageInstallation:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("cancelPackageInstallation","packageId",n),i="/Packages/Installing/{packageId}".replace("{".concat("packageId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),getPackageInfo:(u=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getPackageInfo","name",n),u="/Packages/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.assemblyGuid=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return u.apply(this,arguments)}),getPackages:(i=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Packages",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return i.apply(this,arguments)}),getRepositories:(r=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Repositories",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return r.apply(this,arguments)}),installPackage:(n=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("installPackage","name",n),c="/Packages/Installed/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==r&&(h.assemblyGuid=r),void 0!==i&&(h.version=i),void 0!==u&&(h.repositoryUrl=u),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,r,o){return n.apply(this,arguments)}),setRepositories:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("setRepositories","repositoryInfo",n),i=new URL("/Repositories",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,u,a}(e);return{cancelPackageInstallation:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.cancelPackageInstallation(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PackageApi.cancelPackageInstallation"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPackageInfo:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPackageInfo(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PackageApi.getPackageInfo"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPackages:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPackages(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["PackageApi.getPackages"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getRepositories:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getRepositories(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["PackageApi.getRepositories"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},installPackage:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.installPackage(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["PackageApi.installPackage"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},setRepositories:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.setRepositories(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PackageApi.setRepositories"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"cancelPackageInstallation",value:function(e,t){var n=this;return b(this.configuration).cancelPackageInstallation(e.packageId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPackageInfo",value:function(e,t){var n=this;return b(this.configuration).getPackageInfo(e.name,e.assemblyGuid,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPackages",value:function(e){var t=this;return b(this.configuration).getPackages(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getRepositories",value:function(e){var t=this;return b(this.configuration).getRepositories(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"installPackage",value:function(e,t){var n=this;return b(this.configuration).installPackage(e.name,e.assemblyGuid,e.version,e.repositoryUrl,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"setRepositories",value:function(e,t){var n=this;return b(this.configuration).setRepositories(e.repositoryInfo,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},6460:function(e,t,n){n.d(t,{u:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{syncPlayBuffering:(j=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayBuffering","bufferRequestDto",n),i=new URL("/SyncPlay/Buffering",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return j.apply(this,arguments)}),syncPlayCreateGroup:(T=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayCreateGroup","newGroupRequestDto",n),i=new URL("/SyncPlay/New",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return T.apply(this,arguments)}),syncPlayGetGroup:(S=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("syncPlayGetGroup","id",n),i="/SyncPlay/{id}".replace("{".concat("id","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return S.apply(this,arguments)}),syncPlayGetGroups:(O=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/SyncPlay/List",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return O.apply(this,arguments)}),syncPlayJoinGroup:(P=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayJoinGroup","joinGroupRequestDto",n),i=new URL("/SyncPlay/Join",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return P.apply(this,arguments)}),syncPlayLeaveGroup:(I=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/SyncPlay/Leave",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return I.apply(this,arguments)}),syncPlayMovePlaylistItem:(w=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayMovePlaylistItem","movePlaylistItemRequestDto",n),i=new URL("/SyncPlay/MovePlaylistItem",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return w.apply(this,arguments)}),syncPlayNextItem:(b=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayNextItem","nextItemRequestDto",n),i=new URL("/SyncPlay/NextItem",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return b.apply(this,arguments)}),syncPlayPause:(m=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/SyncPlay/Pause",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return m.apply(this,arguments)}),syncPlayPing:(y=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayPing","pingRequestDto",n),i=new URL("/SyncPlay/Ping",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return y.apply(this,arguments)}),syncPlayPreviousItem:(h=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayPreviousItem","previousItemRequestDto",n),i=new URL("/SyncPlay/PreviousItem",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return h.apply(this,arguments)}),syncPlayQueue:(v=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayQueue","queueRequestDto",n),i=new URL("/SyncPlay/Queue",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return v.apply(this,arguments)}),syncPlayReady:(f=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayReady","readyRequestDto",n),i=new URL("/SyncPlay/Ready",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return f.apply(this,arguments)}),syncPlayRemoveFromPlaylist:(l=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlayRemoveFromPlaylist","removeFromPlaylistRequestDto",n),i=new URL("/SyncPlay/RemoveFromPlaylist",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return l.apply(this,arguments)}),syncPlaySeek:(s=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySeek","seekRequestDto",n),i=new URL("/SyncPlay/Seek",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return s.apply(this,arguments)}),syncPlaySetIgnoreWait:(c=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySetIgnoreWait","ignoreWaitRequestDto",n),i=new URL("/SyncPlay/SetIgnoreWait",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return c.apply(this,arguments)}),syncPlaySetNewQueue:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySetNewQueue","playRequestDto",n),i=new URL("/SyncPlay/SetNewQueue",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return a.apply(this,arguments)}),syncPlaySetPlaylistItem:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySetPlaylistItem","setPlaylistItemRequestDto",n),i=new URL("/SyncPlay/SetPlaylistItem",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return u.apply(this,arguments)}),syncPlaySetRepeatMode:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySetRepeatMode","setRepeatModeRequestDto",n),i=new URL("/SyncPlay/SetRepeatMode",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),syncPlaySetShuffleMode:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("syncPlaySetShuffleMode","setShuffleModeRequestDto",n),i=new URL("/SyncPlay/SetShuffleMode",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),syncPlayStop:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/SyncPlay/Stop",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return n.apply(this,arguments)}),syncPlayUnpause:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/SyncPlay/Unpause",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m,b,w,I,P,O,S,T,j}(e);return{syncPlayBuffering:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayBuffering(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayBuffering"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayCreateGroup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayCreateGroup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayCreateGroup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayGetGroup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayGetGroup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayGetGroup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayGetGroups:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayGetGroups(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayGetGroups"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayJoinGroup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayJoinGroup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayJoinGroup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayLeaveGroup:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayLeaveGroup(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayLeaveGroup"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayMovePlaylistItem:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayMovePlaylistItem(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayMovePlaylistItem"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayNextItem:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayNextItem(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayNextItem"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayPause:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayPause(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayPause"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayPing:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayPing(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayPing"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayPreviousItem:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayPreviousItem(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayPreviousItem"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayQueue:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayQueue(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayQueue"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayReady:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayReady(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayReady"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayRemoveFromPlaylist:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayRemoveFromPlaylist(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayRemoveFromPlaylist"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySeek:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySeek(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySeek"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySetIgnoreWait:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySetIgnoreWait(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetIgnoreWait"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySetNewQueue:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySetNewQueue(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetNewQueue"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySetPlaylistItem:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySetPlaylistItem(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetPlaylistItem"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySetRepeatMode:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySetRepeatMode(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetRepeatMode"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlaySetShuffleMode:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlaySetShuffleMode(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetShuffleMode"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayStop:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayStop(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayStop"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayUnpause:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayUnpause(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayUnpause"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"syncPlayBuffering",value:function(e,t){var n=this;return b(this.configuration).syncPlayBuffering(e.bufferRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayCreateGroup",value:function(e,t){var n=this;return b(this.configuration).syncPlayCreateGroup(e.newGroupRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayGetGroup",value:function(e,t){var n=this;return b(this.configuration).syncPlayGetGroup(e.id,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayGetGroups",value:function(e){var t=this;return b(this.configuration).syncPlayGetGroups(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"syncPlayJoinGroup",value:function(e,t){var n=this;return b(this.configuration).syncPlayJoinGroup(e.joinGroupRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayLeaveGroup",value:function(e){var t=this;return b(this.configuration).syncPlayLeaveGroup(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"syncPlayMovePlaylistItem",value:function(e,t){var n=this;return b(this.configuration).syncPlayMovePlaylistItem(e.movePlaylistItemRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayNextItem",value:function(e,t){var n=this;return b(this.configuration).syncPlayNextItem(e.nextItemRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayPause",value:function(e){var t=this;return b(this.configuration).syncPlayPause(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"syncPlayPing",value:function(e,t){var n=this;return b(this.configuration).syncPlayPing(e.pingRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayPreviousItem",value:function(e,t){var n=this;return b(this.configuration).syncPlayPreviousItem(e.previousItemRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayQueue",value:function(e,t){var n=this;return b(this.configuration).syncPlayQueue(e.queueRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayReady",value:function(e,t){var n=this;return b(this.configuration).syncPlayReady(e.readyRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayRemoveFromPlaylist",value:function(e,t){var n=this;return b(this.configuration).syncPlayRemoveFromPlaylist(e.removeFromPlaylistRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySeek",value:function(e,t){var n=this;return b(this.configuration).syncPlaySeek(e.seekRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySetIgnoreWait",value:function(e,t){var n=this;return b(this.configuration).syncPlaySetIgnoreWait(e.ignoreWaitRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySetNewQueue",value:function(e,t){var n=this;return b(this.configuration).syncPlaySetNewQueue(e.playRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySetPlaylistItem",value:function(e,t){var n=this;return b(this.configuration).syncPlaySetPlaylistItem(e.setPlaylistItemRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySetRepeatMode",value:function(e,t){var n=this;return b(this.configuration).syncPlaySetRepeatMode(e.setRepeatModeRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlaySetShuffleMode",value:function(e,t){var n=this;return b(this.configuration).syncPlaySetShuffleMode(e.setShuffleModeRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"syncPlayStop",value:function(e){var t=this;return b(this.configuration).syncPlayStop(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"syncPlayUnpause",value:function(e){var t=this;return b(this.configuration).syncPlayUnpause(e).then((function(e){return e(t.axios,t.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},10104:function(e,t,n){n.d(t,{$:function(){return r}});var r={Trace:"Trace",Debug:"Debug",Information:"Information",Warning:"Warning",Error:"Error",Critical:"Critical",None:"None"}},10749:function(e,t,n){n.d(t,{Y:function(){return r}});var r={ForceKeepAlive:"ForceKeepAlive",GeneralCommand:"GeneralCommand",UserDataChanged:"UserDataChanged",Sessions:"Sessions",Play:"Play",SyncPlayCommand:"SyncPlayCommand",SyncPlayGroupUpdate:"SyncPlayGroupUpdate",Playstate:"Playstate",RestartRequired:"RestartRequired",ServerShuttingDown:"ServerShuttingDown",ServerRestarting:"ServerRestarting",LibraryChanged:"LibraryChanged",UserDeleted:"UserDeleted",UserUpdated:"UserUpdated",SeriesTimerCreated:"SeriesTimerCreated",TimerCreated:"TimerCreated",SeriesTimerCancelled:"SeriesTimerCancelled",TimerCancelled:"TimerCancelled",RefreshProgress:"RefreshProgress",ScheduledTaskEnded:"ScheduledTaskEnded",PackageInstallationCancelled:"PackageInstallationCancelled",PackageInstallationFailed:"PackageInstallationFailed",PackageInstallationCompleted:"PackageInstallationCompleted",PackageInstalling:"PackageInstalling",PackageUninstalled:"PackageUninstalled",ActivityLogEntry:"ActivityLogEntry",ScheduledTasksInfo:"ScheduledTasksInfo",ActivityLogEntryStart:"ActivityLogEntryStart",ActivityLogEntryStop:"ActivityLogEntryStop",SessionsStart:"SessionsStart",SessionsStop:"SessionsStop",ScheduledTasksInfoStart:"ScheduledTasksInfoStart",ScheduledTasksInfoStop:"ScheduledTasksInfoStop",KeepAlive:"KeepAlive"}},11444:function(e,t,n){n.d(t,{D:function(){return r}});var r={AggregateFolder:"AggregateFolder",Audio:"Audio",AudioBook:"AudioBook",BasePluginFolder:"BasePluginFolder",Book:"Book",BoxSet:"BoxSet",Channel:"Channel",ChannelFolderItem:"ChannelFolderItem",CollectionFolder:"CollectionFolder",Episode:"Episode",Folder:"Folder",Genre:"Genre",ManualPlaylistsFolder:"ManualPlaylistsFolder",Movie:"Movie",LiveTvChannel:"LiveTvChannel",LiveTvProgram:"LiveTvProgram",MusicAlbum:"MusicAlbum",MusicArtist:"MusicArtist",MusicGenre:"MusicGenre",MusicVideo:"MusicVideo",Person:"Person",Photo:"Photo",PhotoAlbum:"PhotoAlbum",Playlist:"Playlist",PlaylistsFolder:"PlaylistsFolder",Program:"Program",Recording:"Recording",Season:"Season",Series:"Series",Studio:"Studio",Trailer:"Trailer",TvChannel:"TvChannel",TvProgram:"TvProgram",UserRootFolder:"UserRootFolder",UserView:"UserView",Video:"Video",Year:"Year"}},14313:function(e,t,n){n.d(t,{o:function(){return r}});var r={Sunday:"Sunday",Monday:"Monday",Tuesday:"Tuesday",Wednesday:"Wednesday",Thursday:"Thursday",Friday:"Friday",Saturday:"Saturday"}},15122:function(e,t,n){n.d(t,{V:function(){return r}});var r={NotAllowed:"NotAllowed",NoCompatibleStream:"NoCompatibleStream",RateLimitExceeded:"RateLimitExceeded"}},18697:function(e,t,n){n.d(t,{p:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getPerson:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getPerson","name",n),u="/Persons/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getPersons:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m){var g,b,w,I,P,O,S,T=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return g=T.length>13&&void 0!==T[13]?T[13]:{},b=new URL("/Persons",o.fY),e&&(w=e.baseOptions),I=p(p({method:"GET"},w),g),P={},O={},t.n=1,(0,o.YS)(P,"Authorization",e);case 1:return void 0!==n&&(O.limit=n),void 0!==r&&(O.searchTerm=r),i&&(O.fields=i),u&&(O.filters=u),void 0!==a&&(O.isFavorite=a),void 0!==c&&(O.enableUserData=c),void 0!==s&&(O.imageTypeLimit=s),l&&(O.enableImageTypes=l),f&&(O.excludePersonTypes=f),v&&(O.personTypes=v),void 0!==h&&(O.appearsInItemId=h),void 0!==y&&(O.userId=y),void 0!==m&&(O.enableImages=m),(0,o.rZ)(b,O),S=w&&w.headers?w.headers:{},I.headers=p(p(p({},P),S),g.headers),t.a(2,{url:(0,o.uD)(b),options:I})}}),t)}))),function(e,n,r,o,i,u,a,c,s,l,d,f,v){return t.apply(this,arguments)})};var t,n}(e);return{getPerson:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPerson(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PersonsApi.getPerson"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPersons:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w){return g(d().m((function g(){var I,P,O,S,T,j;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getPersons(n,u,a,c,s,l,f,v,p,h,y,m,b,w);case 1:return S=d.v,T=null!==(I=null==e?void 0:e.serverIndex)&&void 0!==I?I:0,j=null===(O=null===(P=i.z9["PersonsApi.getPersons"])||void 0===P?void 0:P[T])||void 0===O?void 0:O.url,d.a(2,(function(t,n){return(0,o.yZ)(S,r.A,i.o2,e)(t,j||n)}))}}),g)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getPerson",value:function(e,t){var n=this;return b(this.configuration).getPerson(e.name,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPersons",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getPersons(t.limit,t.searchTerm,t.fields,t.filters,t.isFavorite,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.excludePersonTypes,t.personTypes,t.appearsInItemId,t.userId,t.enableImages,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},18879:function(e,t,n){n.d(t,{q:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{authenticateUserByName:(m=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("authenticateUserByName","authenticateUserByName",n),i=new URL("/Users/AuthenticateByName",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),s={},(c={})["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return m.apply(this,arguments)}),authenticateWithQuickConnect:(y=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("authenticateWithQuickConnect","quickConnectDto",n),i=new URL("/Users/AuthenticateWithQuickConnect",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),s={},(c={})["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return y.apply(this,arguments)}),createUserByName:(h=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("createUserByName","createUserByName",n),i=new URL("/Users/New",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return h.apply(this,arguments)}),deleteUser:(v=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("deleteUser","userId",n),i="/Users/{userId}".replace("{".concat("userId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return v.apply(this,arguments)}),forgotPassword:(f=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("forgotPassword","forgotPasswordDto",n),i=new URL("/Users/ForgotPassword",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),s={},(c={})["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return f.apply(this,arguments)}),forgotPasswordPin:(l=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("forgotPasswordPin","forgotPasswordPinDto",n),i=new URL("/Users/ForgotPassword/Pin",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),s={},(c={})["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return l.apply(this,arguments)}),getCurrentUser:(s=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Users/Me",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return s.apply(this,arguments)}),getPublicUsers:(c=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Users/Public",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return c.apply(this,arguments)}),getUserById:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getUserById","userId",n),i="/Users/{userId}".replace("{".concat("userId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),getUsers:(u=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Users",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.isHidden=n),void 0!==r&&(l.isDisabled=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return u.apply(this,arguments)}),updateUser:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("updateUser","userDto",n),u=new URL("/Users",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.userId=r),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),updateUserConfiguration:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("updateUserConfiguration","userConfiguration",n),u=new URL("/Users/Configuration",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.userId=r),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return r.apply(this,arguments)}),updateUserPassword:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("updateUserPassword","updateUserPassword",n),u=new URL("/Users/Password",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.userId=r),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updateUserPolicy:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updateUserPolicy","userId",n),(0,o.WC)("updateUserPolicy","userPolicy",r),u="/Users/{userId}/Policy".replace("{".concat("userId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m}(e);return{authenticateUserByName:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.authenticateUserByName(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.authenticateUserByName"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},authenticateWithQuickConnect:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.authenticateWithQuickConnect(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.authenticateWithQuickConnect"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},createUserByName:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.createUserByName(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.createUserByName"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteUser:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteUser(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.deleteUser"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},forgotPassword:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.forgotPassword(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.forgotPassword"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},forgotPasswordPin:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.forgotPasswordPin(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.forgotPasswordPin"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getCurrentUser:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getCurrentUser(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["UserApi.getCurrentUser"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPublicUsers:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPublicUsers(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["UserApi.getPublicUsers"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getUserById:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getUserById(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserApi.getUserById"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getUsers:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getUsers(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserApi.getUsers"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUser:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUser(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserApi.updateUser"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserConfiguration:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUserConfiguration(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserApi.updateUserConfiguration"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserPassword:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUserPassword(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserApi.updateUserPassword"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserPolicy:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUserPolicy(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserApi.updateUserPolicy"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"authenticateUserByName",value:function(e,t){var n=this;return b(this.configuration).authenticateUserByName(e.authenticateUserByName,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"authenticateWithQuickConnect",value:function(e,t){var n=this;return b(this.configuration).authenticateWithQuickConnect(e.quickConnectDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"createUserByName",value:function(e,t){var n=this;return b(this.configuration).createUserByName(e.createUserByName,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"deleteUser",value:function(e,t){var n=this;return b(this.configuration).deleteUser(e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"forgotPassword",value:function(e,t){var n=this;return b(this.configuration).forgotPassword(e.forgotPasswordDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"forgotPasswordPin",value:function(e,t){var n=this;return b(this.configuration).forgotPasswordPin(e.forgotPasswordPinDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getCurrentUser",value:function(e){var t=this;return b(this.configuration).getCurrentUser(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getPublicUsers",value:function(e){var t=this;return b(this.configuration).getPublicUsers(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getUserById",value:function(e,t){var n=this;return b(this.configuration).getUserById(e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getUsers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getUsers(t.isHidden,t.isDisabled,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"updateUser",value:function(e,t){var n=this;return b(this.configuration).updateUser(e.userDto,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateUserConfiguration",value:function(e,t){var n=this;return b(this.configuration).updateUserConfiguration(e.userConfiguration,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateUserPassword",value:function(e,t){var n=this;return b(this.configuration).updateUserPassword(e.updateUserPassword,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateUserPolicy",value:function(e,t){var n=this;return b(this.configuration).updateUserPolicy(e.userId,e.userPolicy,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},19010:function(e,t,n){n.d(t,{Np:function(){return y},WC:function(){return f},YS:function(){return v},fY:function(){return d},rZ:function(){return h},uD:function(){return m},yZ:function(){return g}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(24776),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(95021),n(73687),n(83994),n(97456),n(23630),n(82367),n(99102);var r=n(42934);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return(t=function(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function c(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,l=Object.create(c.prototype);return s(l,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),l}var u={};function a(){}function l(){}function d(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(s(t={},r,(function(){return this})),t),v=d.prototype=a.prototype=Object.create(f);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,s(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return l.prototype=d,s(v,"constructor",d),s(d,"constructor",l),l.displayName="GeneratorFunction",s(d,o,"GeneratorFunction"),s(v),s(v,o,"Generator"),s(v,r,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),(c=function(){return{w:i,m:p}})()}function s(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}s=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){s(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},s(e,t,n,r)}function l(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}var d="https://example.com",f=function(e,t,n){if(null==n)throw new r.Q0(t,"Required parameter ".concat(t," was null or undefined when calling ").concat(e,"."))},v=function(){var e,t=(e=c().m((function e(t,n,r){var o,i;return c().w((function(e){for(;;)switch(e.n){case 0:if(!r||!r.apiKey){e.n=5;break}if("function"!=typeof r.apiKey){e.n=2;break}return e.n=1,r.apiKey(n);case 1:i=e.v,e.n=4;break;case 2:return e.n=3,r.apiKey;case 3:i=e.v;case 4:o=i,t[n]=o;case 5:return e.a(2)}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){l(i,r,o,u,a,"next",e)}function a(e){l(i,r,o,u,a,"throw",e)}u(void 0)}))});return function(e,n,r){return t.apply(this,arguments)}}();function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";null!=t&&("object"===a(t)?Array.isArray(t)?t.forEach((function(t){return p(e,t,n)})):Object.keys(t).forEach((function(r){return p(e,t[r],"".concat(n).concat(""!==n?".":"").concat(r))})):e.has(n)?e.append(n,t):e.set(n,t))}var h=function(e){for(var t=new URLSearchParams(e.search),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];p(t,r),e.search=t.toString()},y=function(e,t,n){var r="string"!=typeof e;return(r&&n&&n.isJsonMime?n.isJsonMime(t.headers["Content-Type"]):r)?JSON.stringify(void 0!==e?e:{}):e||""},m=function(e){return e.pathname+e.search+e.hash},g=function(e,t,n,r){return function(){var o,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,c=i(i({},e.options),{},{url:(u.defaults.baseURL?"":null!==(o=null==r?void 0:r.basePath)&&void 0!==o?o:a)+e.url});return u.request(c)}}},19437:function(e,t,n){n.d(t,{_:function(){return r}});var r={Normal:"Normal",Idle:"Idle",High:"High",RealTime:"RealTime",BelowNormal:"BelowNormal",AboveNormal:"AboveNormal"}},23044:function(e,t,n){n.d(t,{n:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getItemUserData:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getItemUserData","itemId",n),u="/UserItems/{itemId}/UserData".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),getItems:(r=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ue,ae,ce,se,le,de,fe,ve,pe,he,ye,me,ge,be,we,Ie,Pe,Oe,Se,Te,je,xe,Ce,Ae,Re,ke,Ue,Le,De,Ee,Ge){var Ze,ze,Ye,_e,We,Fe,Be,Me=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return Ze=Me.length>86&&void 0!==Me[86]?Me[86]:{},ze=new URL("/Items",o.fY),e&&(Ye=e.baseOptions),_e=p(p({method:"GET"},Ye),Ze),We={},Fe={},t.n=1,(0,o.YS)(We,"Authorization",e);case 1:return void 0!==n&&(Fe.userId=n),void 0!==r&&(Fe.maxOfficialRating=r),void 0!==i&&(Fe.hasThemeSong=i),void 0!==u&&(Fe.hasThemeVideo=u),void 0!==a&&(Fe.hasSubtitles=a),void 0!==c&&(Fe.hasSpecialFeature=c),void 0!==s&&(Fe.hasTrailer=s),void 0!==l&&(Fe.adjacentTo=l),void 0!==f&&(Fe.indexNumber=f),void 0!==v&&(Fe.parentIndexNumber=v),void 0!==h&&(Fe.hasParentalRating=h),void 0!==y&&(Fe.isHd=y),void 0!==m&&(Fe.is4K=m),g&&(Fe.locationTypes=g),b&&(Fe.excludeLocationTypes=b),void 0!==w&&(Fe.isMissing=w),void 0!==I&&(Fe.isUnaired=I),void 0!==P&&(Fe.minCommunityRating=P),void 0!==O&&(Fe.minCriticRating=O),void 0!==S&&(Fe.minPremiereDate=S instanceof Date?S.toISOString():S),void 0!==T&&(Fe.minDateLastSaved=T instanceof Date?T.toISOString():T),void 0!==j&&(Fe.minDateLastSavedForUser=j instanceof Date?j.toISOString():j),void 0!==x&&(Fe.maxPremiereDate=x instanceof Date?x.toISOString():x),void 0!==C&&(Fe.hasOverview=C),void 0!==A&&(Fe.hasImdbId=A),void 0!==R&&(Fe.hasTmdbId=R),void 0!==k&&(Fe.hasTvdbId=k),void 0!==U&&(Fe.isMovie=U),void 0!==L&&(Fe.isSeries=L),void 0!==D&&(Fe.isNews=D),void 0!==E&&(Fe.isKids=E),void 0!==G&&(Fe.isSports=G),Z&&(Fe.excludeItemIds=Z),void 0!==z&&(Fe.startIndex=z),void 0!==Y&&(Fe.limit=Y),void 0!==_&&(Fe.recursive=_),void 0!==W&&(Fe.searchTerm=W),F&&(Fe.sortOrder=F),void 0!==B&&(Fe.parentId=B),M&&(Fe.fields=M),N&&(Fe.excludeItemTypes=N),H&&(Fe.includeItemTypes=H),V&&(Fe.filters=V),void 0!==q&&(Fe.isFavorite=q),Q&&(Fe.mediaTypes=Q),K&&(Fe.imageTypes=K),J&&(Fe.sortBy=J),void 0!==$&&(Fe.isPlayed=$),X&&(Fe.genres=X),ee&&(Fe.officialRatings=ee),te&&(Fe.tags=te),ne&&(Fe.years=ne),void 0!==re&&(Fe.enableUserData=re),void 0!==oe&&(Fe.imageTypeLimit=oe),ie&&(Fe.enableImageTypes=ie),void 0!==ue&&(Fe.person=ue),ae&&(Fe.personIds=ae),ce&&(Fe.personTypes=ce),se&&(Fe.studios=se),le&&(Fe.artists=le),de&&(Fe.excludeArtistIds=de),fe&&(Fe.artistIds=fe),ve&&(Fe.albumArtistIds=ve),pe&&(Fe.contributingArtistIds=pe),he&&(Fe.albums=he),ye&&(Fe.albumIds=ye),me&&(Fe.ids=me),ge&&(Fe.videoTypes=ge),void 0!==be&&(Fe.minOfficialRating=be),void 0!==we&&(Fe.isLocked=we),void 0!==Ie&&(Fe.isPlaceHolder=Ie),void 0!==Pe&&(Fe.hasOfficialRating=Pe),void 0!==Oe&&(Fe.collapseBoxSetItems=Oe),void 0!==Se&&(Fe.minWidth=Se),void 0!==Te&&(Fe.minHeight=Te),void 0!==je&&(Fe.maxWidth=je),void 0!==xe&&(Fe.maxHeight=xe),void 0!==Ce&&(Fe.is3D=Ce),Ae&&(Fe.seriesStatus=Ae),void 0!==Re&&(Fe.nameStartsWithOrGreater=Re),void 0!==ke&&(Fe.nameStartsWith=ke),void 0!==Ue&&(Fe.nameLessThan=Ue),Le&&(Fe.studioIds=Le),De&&(Fe.genreIds=De),void 0!==Ee&&(Fe.enableTotalRecordCount=Ee),void 0!==Ge&&(Fe.enableImages=Ge),(0,o.rZ)(ze,Fe),Be=Ye&&Ye.headers?Ye.headers:{},_e.headers=p(p(p({},We),Be),Ze.headers),t.a(2,{url:(0,o.uD)(ze),options:_e})}}),t)}))),function(e,t,n,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ue,ae,ce,se,le,de,fe,ve,pe,he,ye,me,ge,be,we,Ie,Pe,Oe,Se,Te,je,xe,Ce,Ae,Re,ke,Ue){return r.apply(this,arguments)}),getResumeItems:(n=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b){var w,I,P,O,S,T,j,x=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return w=x.length>15&&void 0!==x[15]?x[15]:{},I=new URL("/UserItems/Resume",o.fY),e&&(P=e.baseOptions),O=p(p({method:"GET"},P),w),S={},T={},t.n=1,(0,o.YS)(S,"Authorization",e);case 1:return void 0!==n&&(T.userId=n),void 0!==r&&(T.startIndex=r),void 0!==i&&(T.limit=i),void 0!==u&&(T.searchTerm=u),void 0!==a&&(T.parentId=a),c&&(T.fields=c),s&&(T.mediaTypes=s),void 0!==l&&(T.enableUserData=l),void 0!==f&&(T.imageTypeLimit=f),v&&(T.enableImageTypes=v),h&&(T.excludeItemTypes=h),y&&(T.includeItemTypes=y),void 0!==m&&(T.enableTotalRecordCount=m),void 0!==g&&(T.enableImages=g),void 0!==b&&(T.excludeActiveSessions=b),(0,o.rZ)(I,T),j=P&&P.headers?P.headers:{},O.headers=p(p(p({},S),j),w.headers),t.a(2,{url:(0,o.uD)(I),options:O})}}),t)}))),function(e,t,r,o,i,u,a,c,s,l,d,f,v,p,h){return n.apply(this,arguments)}),updateItemUserData:(t=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("updateItemUserData","itemId",n),(0,o.WC)("updateItemUserData","updateUserItemDataDto",r),a="/UserItems/{itemId}/UserData".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==i&&(v.userId=i),f["Content-Type"]="application/json",(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),l.data=(0,o.Np)(r,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r){return t.apply(this,arguments)})};var t,n,r,i}(e);return{getItemUserData:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getItemUserData(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ItemsApi.getItemUserData"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getItems:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ue,ae,ce,se,le,de,fe,ve,pe,he,ye,me,ge,be,we,Ie,Pe,Oe,Se,Te,je,xe,Ce,Ae,Re,ke,Ue,Le,De,Ee,Ge,Ze,ze,Ye){return g(d().m((function g(){var _e,We,Fe,Be,Me,Ne;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getItems(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ue,ae,ce,se,le,de,fe,ve,pe,he,ye,me,ge,be,we,Ie,Pe,Oe,Se,Te,je,xe,Ce,Ae,Re,ke,Ue,Le,De,Ee,Ge,Ze,ze,Ye);case 1:return Be=d.v,Me=null!==(_e=null==e?void 0:e.serverIndex)&&void 0!==_e?_e:0,Ne=null===(Fe=null===(We=i.z9["ItemsApi.getItems"])||void 0===We?void 0:We[Me])||void 0===Fe?void 0:Fe.url,d.a(2,(function(t,n){return(0,o.yZ)(Be,r.A,i.o2,e)(t,Ne||n)}))}}),g)})))()},getResumeItems:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P){return g(d().m((function g(){var O,S,T,j,x,C;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getResumeItems(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P);case 1:return j=d.v,x=null!==(O=null==e?void 0:e.serverIndex)&&void 0!==O?O:0,C=null===(T=null===(S=i.z9["ItemsApi.getResumeItems"])||void 0===S?void 0:S[x])||void 0===T?void 0:T.url,d.a(2,(function(t,n){return(0,o.yZ)(j,r.A,i.o2,e)(t,C||n)}))}}),g)})))()},updateItemUserData:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.updateItemUserData(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ItemsApi.updateItemUserData"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getItemUserData",value:function(e,t){var n=this;return b(this.configuration).getItemUserData(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItems",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getItems(t.userId,t.maxOfficialRating,t.hasThemeSong,t.hasThemeVideo,t.hasSubtitles,t.hasSpecialFeature,t.hasTrailer,t.adjacentTo,t.indexNumber,t.parentIndexNumber,t.hasParentalRating,t.isHd,t.is4K,t.locationTypes,t.excludeLocationTypes,t.isMissing,t.isUnaired,t.minCommunityRating,t.minCriticRating,t.minPremiereDate,t.minDateLastSaved,t.minDateLastSavedForUser,t.maxPremiereDate,t.hasOverview,t.hasImdbId,t.hasTmdbId,t.hasTvdbId,t.isMovie,t.isSeries,t.isNews,t.isKids,t.isSports,t.excludeItemIds,t.startIndex,t.limit,t.recursive,t.searchTerm,t.sortOrder,t.parentId,t.fields,t.excludeItemTypes,t.includeItemTypes,t.filters,t.isFavorite,t.mediaTypes,t.imageTypes,t.sortBy,t.isPlayed,t.genres,t.officialRatings,t.tags,t.years,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.person,t.personIds,t.personTypes,t.studios,t.artists,t.excludeArtistIds,t.artistIds,t.albumArtistIds,t.contributingArtistIds,t.albums,t.albumIds,t.ids,t.videoTypes,t.minOfficialRating,t.isLocked,t.isPlaceHolder,t.hasOfficialRating,t.collapseBoxSetItems,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight,t.is3D,t.seriesStatus,t.nameStartsWithOrGreater,t.nameStartsWith,t.nameLessThan,t.studioIds,t.genreIds,t.enableTotalRecordCount,t.enableImages,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getResumeItems",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getResumeItems(t.userId,t.startIndex,t.limit,t.searchTerm,t.parentId,t.fields,t.mediaTypes,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.excludeItemTypes,t.includeItemTypes,t.enableTotalRecordCount,t.enableImages,t.excludeActiveSessions,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"updateItemUserData",value:function(e,t){var n=this;return b(this.configuration).updateItemUserData(e.itemId,e.updateUserItemDataDto,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},24034:function(e,t,n){n.d(t,{O:function(){return r}});var r={DailyTrigger:"DailyTrigger",WeeklyTrigger:"WeeklyTrigger",IntervalTrigger:"IntervalTrigger",StartupTrigger:"StartupTrigger"}},24698:function(e,t,n){n.d(t,{A:function(){return w}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,f=[{key:"getLogEntries",value:function(){var e,t,n=this,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;return(e=this.configuration,t=function(e){return{getLogEntries:(t=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/System/ActivityLog/Entries",o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.startIndex=n),void 0!==r&&(v.limit=r),void 0!==i&&(v.minDate=i instanceof Date?i.toISOString():i),void 0!==u&&(v.hasUserId=u),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r,o){return t.apply(this,arguments)})};var t}(e),{getLogEntries:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getLogEntries(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["ActivityLogApi.getLogEntries"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()}}).getLogEntries(u.startIndex,u.limit,u.minDate,u.hasUserId,a).then((function(e){return e(n.axios,n.basePath)}))}}],f&&a(n.prototype,f),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,f}(i.yi);function w(e){return new b(e.configuration,void 0,e.axiosInstance)}},25334:function(e,t,n){n.d(t,{q:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{markPlayedItem:(l=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("markPlayedItem","itemId",n),a="/UserPlayedItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==r&&(v.userId=r),void 0!==i&&(v.datePlayed=i instanceof Date?i.toISOString():i),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return l.apply(this,arguments)}),markUnplayedItem:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("markUnplayedItem","itemId",n),u="/UserPlayedItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return s.apply(this,arguments)}),onPlaybackProgress:(c=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y){var m,g,b,w,I,P,O,S,T=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return m=T.length>12&&void 0!==T[12]?T[12]:{},(0,o.WC)("onPlaybackProgress","itemId",n),g="/PlayingItems/{itemId}/Progress".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),b=new URL(g,o.fY),e&&(w=e.baseOptions),I=p(p({method:"POST"},w),m),P={},O={},t.n=1,(0,o.YS)(P,"Authorization",e);case 1:return void 0!==r&&(O.mediaSourceId=r),void 0!==i&&(O.positionTicks=i),void 0!==u&&(O.audioStreamIndex=u),void 0!==a&&(O.subtitleStreamIndex=a),void 0!==c&&(O.volumeLevel=c),void 0!==s&&(O.playMethod=s),void 0!==l&&(O.liveStreamId=l),void 0!==f&&(O.playSessionId=f),void 0!==v&&(O.repeatMode=v),void 0!==h&&(O.isPaused=h),void 0!==y&&(O.isMuted=y),(0,o.rZ)(b,O),S=w&&w.headers?w.headers:{},I.headers=p(p(p({},P),S),m.headers),t.a(2,{url:(0,o.uD)(b),options:I})}}),t)}))),function(e,t,n,r,o,i,u,a,s,l,d,f){return c.apply(this,arguments)}),onPlaybackStart:(a=g(d().m((function t(n,r,i,u,a,c,s,l){var f,v,h,y,m,g,b,w,I=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return f=I.length>8&&void 0!==I[8]?I[8]:{},(0,o.WC)("onPlaybackStart","itemId",n),v="/PlayingItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),h=new URL(v,o.fY),e&&(y=e.baseOptions),m=p(p({method:"POST"},y),f),g={},b={},t.n=1,(0,o.YS)(g,"Authorization",e);case 1:return void 0!==r&&(b.mediaSourceId=r),void 0!==i&&(b.audioStreamIndex=i),void 0!==u&&(b.subtitleStreamIndex=u),void 0!==a&&(b.playMethod=a),void 0!==c&&(b.liveStreamId=c),void 0!==s&&(b.playSessionId=s),void 0!==l&&(b.canSeek=l),(0,o.rZ)(h,b),w=y&&y.headers?y.headers:{},m.headers=p(p(p({},g),w),f.headers),t.a(2,{url:(0,o.uD)(h),options:m})}}),t)}))),function(e,t,n,r,o,i,u,c){return a.apply(this,arguments)}),onPlaybackStopped:(u=g(d().m((function t(n,r,i,u,a,c){var s,l,f,v,h,y,m,g,b=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return s=b.length>6&&void 0!==b[6]?b[6]:{},(0,o.WC)("onPlaybackStopped","itemId",n),l="/PlayingItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),f=new URL(l,o.fY),e&&(v=e.baseOptions),h=p(p({method:"DELETE"},v),s),y={},m={},t.n=1,(0,o.YS)(y,"Authorization",e);case 1:return void 0!==r&&(m.mediaSourceId=r),void 0!==i&&(m.nextMediaType=i),void 0!==u&&(m.positionTicks=u),void 0!==a&&(m.liveStreamId=a),void 0!==c&&(m.playSessionId=c),(0,o.rZ)(f,m),g=v&&v.headers?v.headers:{},h.headers=p(p(p({},y),g),s.headers),t.a(2,{url:(0,o.uD)(f),options:h})}}),t)}))),function(e,t,n,r,o,i){return u.apply(this,arguments)}),pingPlaybackSession:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("pingPlaybackSession","playSessionId",n),i=new URL("/Sessions/Playing/Ping",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.playSessionId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),reportPlaybackProgress:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Sessions/Playing/Progress",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),reportPlaybackStart:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Sessions/Playing",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),reportPlaybackStopped:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Sessions/Playing/Stopped",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l}(e);return{markPlayedItem:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.markPlayedItem(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["PlaystateApi.markPlayedItem"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},markUnplayedItem:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.markUnplayedItem(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PlaystateApi.markUnplayedItem"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},onPlaybackProgress:function(n,u,a,c,s,l,f,v,p,h,y,m,b){return g(d().m((function g(){var w,I,P,O,S,T;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.onPlaybackProgress(n,u,a,c,s,l,f,v,p,h,y,m,b);case 1:return O=d.v,S=null!==(w=null==e?void 0:e.serverIndex)&&void 0!==w?w:0,T=null===(P=null===(I=i.z9["PlaystateApi.onPlaybackProgress"])||void 0===I?void 0:I[S])||void 0===P?void 0:P.url,d.a(2,(function(t,n){return(0,o.yZ)(O,r.A,i.o2,e)(t,T||n)}))}}),g)})))()},onPlaybackStart:function(n,u,a,c,s,l,f,v,p){return g(d().m((function h(){var y,m,g,b,w,I;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.onPlaybackStart(n,u,a,c,s,l,f,v,p);case 1:return b=d.v,w=null!==(y=null==e?void 0:e.serverIndex)&&void 0!==y?y:0,I=null===(g=null===(m=i.z9["PlaystateApi.onPlaybackStart"])||void 0===m?void 0:m[w])||void 0===g?void 0:g.url,d.a(2,(function(t,n){return(0,o.yZ)(b,r.A,i.o2,e)(t,I||n)}))}}),h)})))()},onPlaybackStopped:function(n,u,a,c,s,l,f){return g(d().m((function v(){var p,h,y,m,g,b;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.onPlaybackStopped(n,u,a,c,s,l,f);case 1:return m=d.v,g=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,b=null===(y=null===(h=i.z9["PlaystateApi.onPlaybackStopped"])||void 0===h?void 0:h[g])||void 0===y?void 0:y.url,d.a(2,(function(t,n){return(0,o.yZ)(m,r.A,i.o2,e)(t,b||n)}))}}),v)})))()},pingPlaybackSession:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.pingPlaybackSession(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaystateApi.pingPlaybackSession"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},reportPlaybackProgress:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.reportPlaybackProgress(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaystateApi.reportPlaybackProgress"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},reportPlaybackStart:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.reportPlaybackStart(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaystateApi.reportPlaybackStart"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},reportPlaybackStopped:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.reportPlaybackStopped(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaystateApi.reportPlaybackStopped"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"markPlayedItem",value:function(e,t){var n=this;return b(this.configuration).markPlayedItem(e.itemId,e.userId,e.datePlayed,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"markUnplayedItem",value:function(e,t){var n=this;return b(this.configuration).markUnplayedItem(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"onPlaybackProgress",value:function(e,t){var n=this;return b(this.configuration).onPlaybackProgress(e.itemId,e.mediaSourceId,e.positionTicks,e.audioStreamIndex,e.subtitleStreamIndex,e.volumeLevel,e.playMethod,e.liveStreamId,e.playSessionId,e.repeatMode,e.isPaused,e.isMuted,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"onPlaybackStart",value:function(e,t){var n=this;return b(this.configuration).onPlaybackStart(e.itemId,e.mediaSourceId,e.audioStreamIndex,e.subtitleStreamIndex,e.playMethod,e.liveStreamId,e.playSessionId,e.canSeek,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"onPlaybackStopped",value:function(e,t){var n=this;return b(this.configuration).onPlaybackStopped(e.itemId,e.mediaSourceId,e.nextMediaType,e.positionTicks,e.liveStreamId,e.playSessionId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"pingPlaybackSession",value:function(e,t){var n=this;return b(this.configuration).pingPlaybackSession(e.playSessionId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"reportPlaybackProgress",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).reportPlaybackProgress(t.playbackProgressInfo,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"reportPlaybackStart",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).reportPlaybackStart(t.playbackStartInfo,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"reportPlaybackStopped",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).reportPlaybackStopped(t.playbackStopInfo,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},28850:function(e,t,n){n.d(t,{m:function(){return r}});var r={MatchSource:"MatchSource",P144:"P144",P240:"P240",P360:"P360",P480:"P480",P720:"P720",P1080:"P1080",P1440:"P1440",P2160:"P2160"}},31110:function(e,t,n){n.d(t,{u:function(){return r}});var r={Active:"Active",Restart:"Restart",Deleted:"Deleted",Superseded:"Superseded",Superceded:"Superceded",Malfunctioned:"Malfunctioned",NotSupported:"NotSupported",Disabled:"Disabled"}},35310:function(e,t,n){n.d(t,{M:function(){return r}});var r={VideoFile:"VideoFile",Iso:"Iso",Dvd:"Dvd",BluRay:"BluRay"}},36657:function(e,t,n){n.d(t,{d:function(){return r}});var r={Movie:"Movie",Trailer:"Trailer",Series:"Series",Music:"Music",Book:"Book",LiveTvChannel:"LiveTvChannel",LiveTvProgram:"LiveTvProgram",ChannelContent:"ChannelContent",Other:"Other"}},36873:function(e,t,n){n.d(t,{z:function(){return r}});var r={AirTime:"AirTime",CanDelete:"CanDelete",CanDownload:"CanDownload",ChannelInfo:"ChannelInfo",Chapters:"Chapters",Trickplay:"Trickplay",ChildCount:"ChildCount",CumulativeRunTimeTicks:"CumulativeRunTimeTicks",CustomRating:"CustomRating",DateCreated:"DateCreated",DateLastMediaAdded:"DateLastMediaAdded",DisplayPreferencesId:"DisplayPreferencesId",Etag:"Etag",ExternalUrls:"ExternalUrls",Genres:"Genres",ItemCounts:"ItemCounts",MediaSourceCount:"MediaSourceCount",MediaSources:"MediaSources",OriginalTitle:"OriginalTitle",Overview:"Overview",ParentId:"ParentId",Path:"Path",People:"People",PlayAccess:"PlayAccess",ProductionLocations:"ProductionLocations",ProviderIds:"ProviderIds",PrimaryImageAspectRatio:"PrimaryImageAspectRatio",RecursiveItemCount:"RecursiveItemCount",Settings:"Settings",SeriesStudio:"SeriesStudio",SortName:"SortName",SpecialEpisodeNumbers:"SpecialEpisodeNumbers",Studios:"Studios",Taglines:"Taglines",Tags:"Tags",RemoteTrailers:"RemoteTrailers",MediaStreams:"MediaStreams",SeasonUserData:"SeasonUserData",DateLastRefreshed:"DateLastRefreshed",DateLastSaved:"DateLastSaved",RefreshState:"RefreshState",ChannelImage:"ChannelImage",EnableMediaSourceDisplay:"EnableMediaSourceDisplay",Width:"Width",Height:"Height",ExtraIds:"ExtraIds",LocalTrailerCount:"LocalTrailerCount",IsHd:"IsHD",SpecialFeatureCount:"SpecialFeatureCount"}},37853:function(e,t,n){n.d(t,{pi:function(){return w}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{createBackup:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Backup/Create",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),getBackup:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("getBackup","path",n),i=new URL("/Backup/Manifest",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.path=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),listBackups:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Backup",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return n.apply(this,arguments)}),startRestoreBackup:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("startRestoreBackup","backupRestoreRequestDto",n),i=new URL("/Backup/Restore",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i}(e);return{createBackup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.createBackup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["BackupApi.createBackup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getBackup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getBackup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["BackupApi.getBackup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},listBackups:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.listBackups(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["BackupApi.listBackups"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},startRestoreBackup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.startRestoreBackup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["BackupApi.startRestoreBackup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"createBackup",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).createBackup(t.backupOptionsDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getBackup",value:function(e,t){var n=this;return b(this.configuration).getBackup(e.path,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"listBackups",value:function(e){var t=this;return b(this.configuration).listBackups(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"startRestoreBackup",value:function(e,t){var n=this;return b(this.configuration).startRestoreBackup(e.backupRestoreRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi)},38586:function(e,t,n){n.d(t,{Y:function(){return w}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,f=[{key:"getMovieRecommendations",value:function(){var e,t,n=this,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;return(e=this.configuration,t=function(e){return{getMovieRecommendations:(t=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=m.length>5&&void 0!==m[5]?m[5]:{},s=new URL("/Movies/Recommendations",o.fY),e&&(l=e.baseOptions),f=p(p({method:"GET"},l),c),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==n&&(h.userId=n),void 0!==r&&(h.parentId=r),i&&(h.fields=i),void 0!==u&&(h.categoryLimit=u),void 0!==a&&(h.itemLimit=a),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),c.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,n,r,o,i){return t.apply(this,arguments)})};var t}(e),{getMovieRecommendations:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getMovieRecommendations(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["MoviesApi.getMovieRecommendations"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()}}).getMovieRecommendations(u.userId,u.parentId,u.fields,u.categoryLimit,u.itemLimit,a).then((function(e){return e(n.axios,n.basePath)}))}}],f&&a(n.prototype,f),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,f}(i.yi);function w(e){return new b(e.configuration,void 0,e.axiosInstance)}},39057:function(e,t,n){n.d(t,{g:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getBrandingCss:(r=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Branding/Css",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return r.apply(this,arguments)}),getBrandingCss2:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Branding/Css.css",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return n.apply(this,arguments)}),getBrandingOptions:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Branding/Configuration",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r}(e);return{getBrandingCss:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getBrandingCss(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["BrandingApi.getBrandingCss"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getBrandingCss2:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getBrandingCss2(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["BrandingApi.getBrandingCss2"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getBrandingOptions:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getBrandingOptions(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["BrandingApi.getBrandingOptions"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"getBrandingCss",value:function(e){var t=this;return b(this.configuration).getBrandingCss(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getBrandingCss2",value:function(e){var t=this;return b(this.configuration).getBrandingCss2(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getBrandingOptions",value:function(e){var t=this;return b(this.configuration).getBrandingOptions(e).then((function(e){return e(t.axios,t.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},39914:function(e,t,n){n.d(t,{l:function(){return r}});var r={None:"none",Amf:"amf",Qsv:"qsv",Nvenc:"nvenc",V4l2m2m:"v4l2m2m",Vaapi:"vaapi",Videotoolbox:"videotoolbox",Rkmpp:"rkmpp"}},40806:function(e,t,n){n.d(t,{l:function(){return w}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(f=[{key:"getItemSegments",value:function(e,t){var n,u,a=this;return(n=this.configuration,u=function(e){return{getItemSegments:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getItemSegments","itemId",n),u="/MediaSegments/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return r&&(f.includeSegmentTypes=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t}(n),{getItemSegments:function(e,t,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,u.getItemSegments(e,t,a);case 1:return v=c.v,p=null!==(s=null==n?void 0:n.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["MediaSegmentsApi.getItemSegments"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(e,t){return(0,o.yZ)(v,r.A,i.o2,n)(e,h||t)}))}}),c)})))()}}).getItemSegments(e.itemId,e.includeSegmentTypes,t).then((function(e){return e(a.axios,a.basePath)}))}}])&&a(n.prototype,f),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,f}(i.yi);function w(e){return new b(e.configuration,void 0,e.axiosInstance)}},40948:function(e,t,n){n.d(t,{F:function(){return r}});var r={ContactAdmin:"ContactAdmin",PinCode:"PinCode",InNetworkRequired:"InNetworkRequired"}},41087:function(e,t,n){n.d(t,{w:function(){return r}});var r={Unknown:"Unknown",Commercial:"Commercial",Preview:"Preview",Recap:"Recap",Outro:"Outro",Intro:"Intro"}},41364:function(e,t,n){n.d(t,{a:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getGroupingOptions:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/UserViews/GroupingOptions",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),getUserViews:(t=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/UserViews",o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.userId=n),void 0!==r&&(v.includeExternalContent=r),i&&(v.presetViews=i),void 0!==u&&(v.includeHidden=u),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r,o){return t.apply(this,arguments)})};var t,n}(e);return{getGroupingOptions:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getGroupingOptions(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserViewsApi.getGroupingOptions"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getUserViews:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getUserViews(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["UserViewsApi.getUserViews"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getGroupingOptions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getGroupingOptions(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getUserViews",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getUserViews(t.userId,t.includeExternalContent,t.presetViews,t.includeHidden,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},42934:function(e,t,n){n.d(t,{Q0:function(){return h},o2:function(){return v},yi:function(){return p},z9:function(){return y}}),n(29305),n(32733),n(84701),n(81678),n(84734),n(44962),n(4754),n(58551),n(94),n(36947),n(26437),n(52697),n(78557),n(21359),n(95021),n(73687),n(83994),n(93062),n(82367);var r=n(83202);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e){var t="function"==typeof Map?new Map:void 0;return i=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(u())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&a(o,n.prototype),o}(e,arguments,c(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,e)},i(e)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,d(r.key),r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function d(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var v="http://localhost".replace(/\/+$/,""),p=l((function e(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.A;f(this,e),this.basePath=o,this.axios=i,t&&(this.configuration=t,this.basePath=null!==(n=t.basePath)&&void 0!==n?n:o)})),h=function(e){function t(e,n){var r,i,a,s;return f(this,t),(i=this,a=t,s=[n],a=c(a),r=function(e,t){if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(i,u()?Reflect.construct(a,s||[],c(i).constructor):a.apply(i,s))).field=e,r.name="RequiredError",r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(t,e),l(t)}(i(Error)),y={}},45182:function(e,t,n){n.d(t,{t:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteLyrics:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("deleteLyrics","itemId",n),i="/Audio/{itemId}/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),downloadRemoteLyrics:(u=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("downloadRemoteLyrics","itemId",n),(0,o.WC)("downloadRemoteLyrics","lyricId",r),u="/Audio/{itemId}/RemoteSearch/Lyrics/{lyricId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("lyricId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return u.apply(this,arguments)}),getLyrics:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getLyrics","itemId",n),i="/Audio/{itemId}/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return i.apply(this,arguments)}),getRemoteLyrics:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getRemoteLyrics","lyricId",n),i="/Providers/Lyrics/{lyricId}".replace("{".concat("lyricId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return r.apply(this,arguments)}),searchRemoteLyrics:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("searchRemoteLyrics","itemId",n),i="/Audio/{itemId}/RemoteSearch/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return n.apply(this,arguments)}),uploadLyrics:(t=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("uploadLyrics","itemId",n),(0,o.WC)("uploadLyrics","fileName",r),a="/Audio/{itemId}/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==r&&(v.fileName=r),f["Content-Type"]="text/plain",(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),l.data=(0,o.Np)(i,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r){return t.apply(this,arguments)})};var t,n,r,i,u,a}(e);return{deleteLyrics:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteLyrics(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LyricsApi.deleteLyrics"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},downloadRemoteLyrics:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.downloadRemoteLyrics(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LyricsApi.downloadRemoteLyrics"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getLyrics:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getLyrics(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LyricsApi.getLyrics"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRemoteLyrics:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRemoteLyrics(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LyricsApi.getRemoteLyrics"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},searchRemoteLyrics:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.searchRemoteLyrics(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LyricsApi.searchRemoteLyrics"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},uploadLyrics:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.uploadLyrics(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["LyricsApi.uploadLyrics"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"deleteLyrics",value:function(e,t){var n=this;return b(this.configuration).deleteLyrics(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"downloadRemoteLyrics",value:function(e,t){var n=this;return b(this.configuration).downloadRemoteLyrics(e.itemId,e.lyricId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getLyrics",value:function(e,t){var n=this;return b(this.configuration).getLyrics(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getRemoteLyrics",value:function(e,t){var n=this;return b(this.configuration).getRemoteLyrics(e.lyricId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"searchRemoteLyrics",value:function(e,t){var n=this;return b(this.configuration).searchRemoteLyrics(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"uploadLyrics",value:function(e,t){var n=this;return b(this.configuration).uploadLyrics(e.itemId,e.fileName,e.body,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},45251:function(e,t,n){n.d(t,{z:function(){return r}});var r={Unknown:"Unknown",Video:"Video",Audio:"Audio",Photo:"Photo",Book:"Book"}},45659:function(e,t,n){n.d(t,{t:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{addListingProvider:(N=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/LiveTv/ListingProviders",o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.pw=n),void 0!==r&&(v.validateListings=r),void 0!==i&&(v.validateLogin=i),f["Content-Type"]="application/json",(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),l.data=(0,o.Np)(u,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n,r){return N.apply(this,arguments)}),addTunerHost:(M=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/TunerHosts",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return M.apply(this,arguments)}),cancelSeriesTimer:(B=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("cancelSeriesTimer","timerId",n),i="/LiveTv/SeriesTimers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return B.apply(this,arguments)}),cancelTimer:(F=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("cancelTimer","timerId",n),i="/LiveTv/Timers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return F.apply(this,arguments)}),createSeriesTimer:(W=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/SeriesTimers",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return W.apply(this,arguments)}),createTimer:(_=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Timers",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return _.apply(this,arguments)}),deleteListingProvider:(Y=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/ListingProviders",o.fY),e&&(u=e.baseOptions),a=p(p({method:"DELETE"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return Y.apply(this,arguments)}),deleteRecording:(z=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("deleteRecording","recordingId",n),i="/LiveTv/Recordings/{recordingId}".replace("{".concat("recordingId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return z.apply(this,arguments)}),deleteTunerHost:(Z=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/TunerHosts",o.fY),e&&(u=e.baseOptions),a=p(p({method:"DELETE"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return Z.apply(this,arguments)}),discoverTuners:(G=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Tuners/Discover",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.newDevicesOnly=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return G.apply(this,arguments)}),discvoverTuners:(E=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Tuners/Discvover",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.newDevicesOnly=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return E.apply(this,arguments)}),getChannel:(D=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getChannel","channelId",n),u="/LiveTv/Channels/{channelId}".replace("{".concat("channelId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return D.apply(this,arguments)}),getChannelMappingOptions:(L=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/ChannelMappingOptions",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.providerId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return L.apply(this,arguments)}),getDefaultListingProvider:(U=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/LiveTv/ListingProviders/Default",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return U.apply(this,arguments)}),getDefaultTimer:(k=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Timers/Defaults",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.programId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return k.apply(this,arguments)}),getGuideInfo:(R=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/LiveTv/GuideInfo",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return R.apply(this,arguments)}),getLineups:(A=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/LiveTv/ListingProviders/Lineups",o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.id=n),void 0!==r&&(v.type=r),void 0!==i&&(v.location=i),void 0!==u&&(v.country=u),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n,r){return A.apply(this,arguments)}),getLiveRecordingFile:(C=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getLiveRecordingFile","recordingId",n),i="/LiveTv/LiveRecordings/{recordingId}/stream".replace("{".concat("recordingId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}),t)}))),function(e){return C.apply(this,arguments)}),getLiveStreamFile:(x=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)if(0===t.n)return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getLiveStreamFile","streamId",n),(0,o.WC)("getLiveStreamFile","container",r),u="/LiveTv/LiveStreamFiles/{streamId}/stream.{container}".replace("{".concat("streamId","}"),encodeURIComponent(String(n))).replace("{".concat("container","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}),t)}))),function(e,t){return x.apply(this,arguments)}),getLiveTvChannels:(j=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O,S,T){var j,x,C,A,R,k,U,L=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return j=L.length>21&&void 0!==L[21]?L[21]:{},x=new URL("/LiveTv/Channels",o.fY),e&&(C=e.baseOptions),A=p(p({method:"GET"},C),j),R={},k={},t.n=1,(0,o.YS)(R,"Authorization",e);case 1:return void 0!==n&&(k.type=n),void 0!==r&&(k.userId=r),void 0!==i&&(k.startIndex=i),void 0!==u&&(k.isMovie=u),void 0!==a&&(k.isSeries=a),void 0!==c&&(k.isNews=c),void 0!==s&&(k.isKids=s),void 0!==l&&(k.isSports=l),void 0!==f&&(k.limit=f),void 0!==v&&(k.isFavorite=v),void 0!==h&&(k.isLiked=h),void 0!==y&&(k.isDisliked=y),void 0!==m&&(k.enableImages=m),void 0!==g&&(k.imageTypeLimit=g),b&&(k.enableImageTypes=b),w&&(k.fields=w),void 0!==I&&(k.enableUserData=I),P&&(k.sortBy=P),void 0!==O&&(k.sortOrder=O),void 0!==S&&(k.enableFavoriteSorting=S),void 0!==T&&(k.addCurrentProgram=T),(0,o.rZ)(x,k),U=C&&C.headers?C.headers:{},A.headers=p(p(p({},R),U),j.headers),t.a(2,{url:(0,o.uD)(x),options:A})}}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g,b,w){return j.apply(this,arguments)}),getLiveTvInfo:(T=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/LiveTv/Info",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return T.apply(this,arguments)}),getLiveTvPrograms:(S=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k){var U,L,D,E,G,Z,z,Y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return U=Y.length>27&&void 0!==Y[27]?Y[27]:{},L=new URL("/LiveTv/Programs",o.fY),e&&(D=e.baseOptions),E=p(p({method:"GET"},D),U),G={},Z={},t.n=1,(0,o.YS)(G,"Authorization",e);case 1:return n&&(Z.channelIds=n),void 0!==r&&(Z.userId=r),void 0!==i&&(Z.minStartDate=i instanceof Date?i.toISOString():i),void 0!==u&&(Z.hasAired=u),void 0!==a&&(Z.isAiring=a),void 0!==c&&(Z.maxStartDate=c instanceof Date?c.toISOString():c),void 0!==s&&(Z.minEndDate=s instanceof Date?s.toISOString():s),void 0!==l&&(Z.maxEndDate=l instanceof Date?l.toISOString():l),void 0!==f&&(Z.isMovie=f),void 0!==v&&(Z.isSeries=v),void 0!==h&&(Z.isNews=h),void 0!==y&&(Z.isKids=y),void 0!==m&&(Z.isSports=m),void 0!==g&&(Z.startIndex=g),void 0!==b&&(Z.limit=b),w&&(Z.sortBy=w),I&&(Z.sortOrder=I),P&&(Z.genres=P),O&&(Z.genreIds=O),void 0!==S&&(Z.enableImages=S),void 0!==T&&(Z.imageTypeLimit=T),j&&(Z.enableImageTypes=j),void 0!==x&&(Z.enableUserData=x),void 0!==C&&(Z.seriesTimerId=C),void 0!==A&&(Z.librarySeriesId=A),R&&(Z.fields=R),void 0!==k&&(Z.enableTotalRecordCount=k),(0,o.rZ)(L,Z),z=D&&D.headers?D.headers:{},E.headers=p(p(p({},G),z),U.headers),t.a(2,{url:(0,o.uD)(L),options:E})}}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g,b,w,I,P,O,T,j,x){return S.apply(this,arguments)}),getProgram:(O=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getProgram","programId",n),u="/LiveTv/Programs/{programId}".replace("{".concat("programId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return O.apply(this,arguments)}),getPrograms:(P=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Programs",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return P.apply(this,arguments)}),getRecommendedPrograms:(I=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return P=A.length>17&&void 0!==A[17]?A[17]:{},O=new URL("/LiveTv/Programs/Recommended",o.fY),e&&(S=e.baseOptions),T=p(p({method:"GET"},S),P),j={},x={},t.n=1,(0,o.YS)(j,"Authorization",e);case 1:return void 0!==n&&(x.userId=n),void 0!==r&&(x.startIndex=r),void 0!==i&&(x.limit=i),void 0!==u&&(x.isAiring=u),void 0!==a&&(x.hasAired=a),void 0!==c&&(x.isSeries=c),void 0!==s&&(x.isMovie=s),void 0!==l&&(x.isNews=l),void 0!==f&&(x.isKids=f),void 0!==v&&(x.isSports=v),void 0!==h&&(x.enableImages=h),void 0!==y&&(x.imageTypeLimit=y),m&&(x.enableImageTypes=m),g&&(x.genreIds=g),b&&(x.fields=b),void 0!==w&&(x.enableUserData=w),void 0!==I&&(x.enableTotalRecordCount=I),(0,o.rZ)(O,x),C=S&&S.headers?S.headers:{},T.headers=p(p(p({},j),C),P.headers),t.a(2,{url:(0,o.uD)(O),options:T})}}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return I.apply(this,arguments)}),getRecording:(w=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getRecording","recordingId",n),u="/LiveTv/Recordings/{recordingId}".replace("{".concat("recordingId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return w.apply(this,arguments)}),getRecordingFolders:(b=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Recordings/Folders",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return b.apply(this,arguments)}),getRecordingGroup:(m=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getRecordingGroup","groupId",n),i="/LiveTv/Recordings/Groups/{groupId}".replace("{".concat("groupId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return m.apply(this,arguments)}),getRecordingGroups:(y=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/LiveTv/Recordings/Groups",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return y.apply(this,arguments)}),getRecordings:(h=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O){var S,T,j,x,C,A,R,k=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return S=k.length>19&&void 0!==k[19]?k[19]:{},T=new URL("/LiveTv/Recordings",o.fY),e&&(j=e.baseOptions),x=p(p({method:"GET"},j),S),C={},A={},t.n=1,(0,o.YS)(C,"Authorization",e);case 1:return void 0!==n&&(A.channelId=n),void 0!==r&&(A.userId=r),void 0!==i&&(A.startIndex=i),void 0!==u&&(A.limit=u),void 0!==a&&(A.status=a),void 0!==c&&(A.isInProgress=c),void 0!==s&&(A.seriesTimerId=s),void 0!==l&&(A.enableImages=l),void 0!==f&&(A.imageTypeLimit=f),v&&(A.enableImageTypes=v),h&&(A.fields=h),void 0!==y&&(A.enableUserData=y),void 0!==m&&(A.isMovie=m),void 0!==g&&(A.isSeries=g),void 0!==b&&(A.isKids=b),void 0!==w&&(A.isSports=w),void 0!==I&&(A.isNews=I),void 0!==P&&(A.isLibraryItem=P),void 0!==O&&(A.enableTotalRecordCount=O),(0,o.rZ)(T,A),R=j&&j.headers?j.headers:{},x.headers=p(p(p({},C),R),S.headers),t.a(2,{url:(0,o.uD)(T),options:x})}}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,y,m,g,b){return h.apply(this,arguments)}),getRecordingsSeries:(v=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g){var b,w,I,P,O,S,T,j=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return b=j.length>14&&void 0!==j[14]?j[14]:{},w=new URL("/LiveTv/Recordings/Series",o.fY),e&&(I=e.baseOptions),P=p(p({method:"GET"},I),b),O={},S={},t.n=1,(0,o.YS)(O,"Authorization",e);case 1:return void 0!==n&&(S.channelId=n),void 0!==r&&(S.userId=r),void 0!==i&&(S.groupId=i),void 0!==u&&(S.startIndex=u),void 0!==a&&(S.limit=a),void 0!==c&&(S.status=c),void 0!==s&&(S.isInProgress=s),void 0!==l&&(S.seriesTimerId=l),void 0!==f&&(S.enableImages=f),void 0!==v&&(S.imageTypeLimit=v),h&&(S.enableImageTypes=h),y&&(S.fields=y),void 0!==m&&(S.enableUserData=m),void 0!==g&&(S.enableTotalRecordCount=g),(0,o.rZ)(w,S),T=I&&I.headers?I.headers:{},P.headers=p(p(p({},O),T),b.headers),t.a(2,{url:(0,o.uD)(w),options:P})}}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,p){return v.apply(this,arguments)}),getSchedulesDirectCountries:(f=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/LiveTv/ListingProviders/SchedulesDirect/Countries",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return f.apply(this,arguments)}),getSeriesTimer:(l=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getSeriesTimer","timerId",n),i="/LiveTv/SeriesTimers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return l.apply(this,arguments)}),getSeriesTimers:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/LiveTv/SeriesTimers",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.sortBy=n),void 0!==r&&(l.sortOrder=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return s.apply(this,arguments)}),getTimer:(c=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getTimer","timerId",n),i="/LiveTv/Timers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return c.apply(this,arguments)}),getTimers:(a=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/LiveTv/Timers",o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.channelId=n),void 0!==r&&(v.seriesTimerId=r),void 0!==i&&(v.isActive=i),void 0!==u&&(v.isScheduled=u),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n,r){return a.apply(this,arguments)}),getTunerHostTypes:(u=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/LiveTv/TunerHosts/Types",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return u.apply(this,arguments)}),resetTuner:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("resetTuner","tunerId",n),i="/LiveTv/Tuners/{tunerId}/Reset".replace("{".concat("tunerId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return i.apply(this,arguments)}),setChannelMapping:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("setChannelMapping","setChannelMappingDto",n),i=new URL("/LiveTv/ChannelMappings",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),updateSeriesTimer:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updateSeriesTimer","timerId",n),u="/LiveTv/SeriesTimers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updateTimer:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updateTimer","timerId",n),u="/LiveTv/Timers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W,F,B,M,N}(e);return{addListingProvider:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.addListingProvider(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["LiveTvApi.addListingProvider"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},addTunerHost:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.addTunerHost(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.addTunerHost"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},cancelSeriesTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.cancelSeriesTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.cancelSeriesTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},cancelTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.cancelTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.cancelTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},createSeriesTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.createSeriesTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.createSeriesTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},createTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.createTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.createTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteListingProvider:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteListingProvider(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.deleteListingProvider"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteRecording:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteRecording(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.deleteRecording"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteTunerHost:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteTunerHost(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.deleteTunerHost"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},discoverTuners:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.discoverTuners(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.discoverTuners"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},discvoverTuners:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.discvoverTuners(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.discvoverTuners"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getChannel:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getChannel(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.getChannel"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getChannelMappingOptions:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getChannelMappingOptions(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getChannelMappingOptions"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDefaultListingProvider:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getDefaultListingProvider(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LiveTvApi.getDefaultListingProvider"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getDefaultTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDefaultTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getDefaultTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getGuideInfo:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getGuideInfo(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LiveTvApi.getGuideInfo"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getLineups:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getLineups(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["LiveTvApi.getLineups"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},getLiveRecordingFile:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getLiveRecordingFile(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getLiveRecordingFile"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getLiveStreamFile:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getLiveStreamFile(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.getLiveStreamFile"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getLiveTvChannels:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C){return g(d().m((function g(){var A,R,k,U,L,D;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getLiveTvChannels(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C);case 1:return U=d.v,L=null!==(A=null==e?void 0:e.serverIndex)&&void 0!==A?A:0,D=null===(k=null===(R=i.z9["LiveTvApi.getLiveTvChannels"])||void 0===R?void 0:R[L])||void 0===k?void 0:k.url,d.a(2,(function(t,n){return(0,o.yZ)(U,r.A,i.o2,e)(t,D||n)}))}}),g)})))()},getLiveTvInfo:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getLiveTvInfo(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LiveTvApi.getLiveTvInfo"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getLiveTvPrograms:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D){return g(d().m((function g(){var E,G,Z,z,Y,_;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getLiveTvPrograms(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D);case 1:return z=d.v,Y=null!==(E=null==e?void 0:e.serverIndex)&&void 0!==E?E:0,_=null===(Z=null===(G=i.z9["LiveTvApi.getLiveTvPrograms"])||void 0===G?void 0:G[Y])||void 0===Z?void 0:Z.url,d.a(2,(function(t,n){return(0,o.yZ)(z,r.A,i.o2,e)(t,_||n)}))}}),g)})))()},getProgram:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getProgram(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.getProgram"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPrograms:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPrograms(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getPrograms"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRecommendedPrograms:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getRecommendedPrograms(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["LiveTvApi.getRecommendedPrograms"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getRecording:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getRecording(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.getRecording"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getRecordingFolders:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRecordingFolders(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getRecordingFolders"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRecordingGroup:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRecordingGroup(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getRecordingGroup"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRecordingGroups:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRecordingGroups(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getRecordingGroups"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRecordings:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j){return g(d().m((function g(){var x,C,A,R,k,U;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getRecordings(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j);case 1:return R=d.v,k=null!==(x=null==e?void 0:e.serverIndex)&&void 0!==x?x:0,U=null===(A=null===(C=i.z9["LiveTvApi.getRecordings"])||void 0===C?void 0:C[k])||void 0===A?void 0:A.url,d.a(2,(function(t,n){return(0,o.yZ)(R,r.A,i.o2,e)(t,U||n)}))}}),g)})))()},getRecordingsSeries:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I){return g(d().m((function g(){var P,O,S,T,j,x;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getRecordingsSeries(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I);case 1:return T=d.v,j=null!==(P=null==e?void 0:e.serverIndex)&&void 0!==P?P:0,x=null===(S=null===(O=i.z9["LiveTvApi.getRecordingsSeries"])||void 0===O?void 0:O[j])||void 0===S?void 0:S.url,d.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,x||n)}))}}),g)})))()},getSchedulesDirectCountries:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getSchedulesDirectCountries(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LiveTvApi.getSchedulesDirectCountries"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSeriesTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getSeriesTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getSeriesTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getSeriesTimers:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getSeriesTimers(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.getSeriesTimers"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getTimer:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getTimer(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.getTimer"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getTimers:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getTimers(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["LiveTvApi.getTimers"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},getTunerHostTypes:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getTunerHostTypes(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LiveTvApi.getTunerHostTypes"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},resetTuner:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.resetTuner(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.resetTuner"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},setChannelMapping:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.setChannelMapping(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LiveTvApi.setChannelMapping"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateSeriesTimer:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateSeriesTimer(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.updateSeriesTimer"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateTimer:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateTimer(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LiveTvApi.updateTimer"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"addListingProvider",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).addListingProvider(t.pw,t.validateListings,t.validateLogin,t.listingsProviderInfo,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"addTunerHost",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).addTunerHost(t.tunerHostInfo,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"cancelSeriesTimer",value:function(e,t){var n=this;return b(this.configuration).cancelSeriesTimer(e.timerId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"cancelTimer",value:function(e,t){var n=this;return b(this.configuration).cancelTimer(e.timerId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"createSeriesTimer",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).createSeriesTimer(t.seriesTimerInfoDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"createTimer",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).createTimer(t.timerInfoDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"deleteListingProvider",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).deleteListingProvider(t.id,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"deleteRecording",value:function(e,t){var n=this;return b(this.configuration).deleteRecording(e.recordingId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"deleteTunerHost",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).deleteTunerHost(t.id,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"discoverTuners",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).discoverTuners(t.newDevicesOnly,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"discvoverTuners",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).discvoverTuners(t.newDevicesOnly,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getChannel",value:function(e,t){var n=this;return b(this.configuration).getChannel(e.channelId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getChannelMappingOptions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getChannelMappingOptions(t.providerId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getDefaultListingProvider",value:function(e){var t=this;return b(this.configuration).getDefaultListingProvider(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getDefaultTimer",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getDefaultTimer(t.programId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getGuideInfo",value:function(e){var t=this;return b(this.configuration).getGuideInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getLineups",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getLineups(t.id,t.type,t.location,t.country,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getLiveRecordingFile",value:function(e,t){var n=this;return b(this.configuration).getLiveRecordingFile(e.recordingId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getLiveStreamFile",value:function(e,t){var n=this;return b(this.configuration).getLiveStreamFile(e.streamId,e.container,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getLiveTvChannels",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getLiveTvChannels(t.type,t.userId,t.startIndex,t.isMovie,t.isSeries,t.isNews,t.isKids,t.isSports,t.limit,t.isFavorite,t.isLiked,t.isDisliked,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.fields,t.enableUserData,t.sortBy,t.sortOrder,t.enableFavoriteSorting,t.addCurrentProgram,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getLiveTvInfo",value:function(e){var t=this;return b(this.configuration).getLiveTvInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getLiveTvPrograms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getLiveTvPrograms(t.channelIds,t.userId,t.minStartDate,t.hasAired,t.isAiring,t.maxStartDate,t.minEndDate,t.maxEndDate,t.isMovie,t.isSeries,t.isNews,t.isKids,t.isSports,t.startIndex,t.limit,t.sortBy,t.sortOrder,t.genres,t.genreIds,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.enableUserData,t.seriesTimerId,t.librarySeriesId,t.fields,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getProgram",value:function(e,t){var n=this;return b(this.configuration).getProgram(e.programId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPrograms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getPrograms(t.getProgramsDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getRecommendedPrograms",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRecommendedPrograms(t.userId,t.startIndex,t.limit,t.isAiring,t.hasAired,t.isSeries,t.isMovie,t.isNews,t.isKids,t.isSports,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.genreIds,t.fields,t.enableUserData,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getRecording",value:function(e,t){var n=this;return b(this.configuration).getRecording(e.recordingId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getRecordingFolders",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRecordingFolders(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getRecordingGroup",value:function(e,t){var n=this;return b(this.configuration).getRecordingGroup(e.groupId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getRecordingGroups",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRecordingGroups(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getRecordings",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRecordings(t.channelId,t.userId,t.startIndex,t.limit,t.status,t.isInProgress,t.seriesTimerId,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.fields,t.enableUserData,t.isMovie,t.isSeries,t.isKids,t.isSports,t.isNews,t.isLibraryItem,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getRecordingsSeries",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRecordingsSeries(t.channelId,t.userId,t.groupId,t.startIndex,t.limit,t.status,t.isInProgress,t.seriesTimerId,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.fields,t.enableUserData,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getSchedulesDirectCountries",value:function(e){var t=this;return b(this.configuration).getSchedulesDirectCountries(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getSeriesTimer",value:function(e,t){var n=this;return b(this.configuration).getSeriesTimer(e.timerId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSeriesTimers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getSeriesTimers(t.sortBy,t.sortOrder,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getTimer",value:function(e,t){var n=this;return b(this.configuration).getTimer(e.timerId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getTimers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getTimers(t.channelId,t.seriesTimerId,t.isActive,t.isScheduled,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getTunerHostTypes",value:function(e){var t=this;return b(this.configuration).getTunerHostTypes(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"resetTuner",value:function(e,t){var n=this;return b(this.configuration).resetTuner(e.tunerId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"setChannelMapping",value:function(e,t){var n=this;return b(this.configuration).setChannelMapping(e.setChannelMappingDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateSeriesTimer",value:function(e,t){var n=this;return b(this.configuration).updateSeriesTimer(e.timerId,e.seriesTimerInfoDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateTimer",value:function(e,t){var n=this;return b(this.configuration).updateTimer(e.timerId,e.timerInfoDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},46842:function(e,t,n){n.d(t,{v:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getAlbumArtists:(r=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G){var Z,z,Y,_,W,F,B,M=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return Z=M.length>32&&void 0!==M[32]?M[32]:{},z=new URL("/Artists/AlbumArtists",o.fY),e&&(Y=e.baseOptions),_=p(p({method:"GET"},Y),Z),W={},F={},t.n=1,(0,o.YS)(W,"Authorization",e);case 1:return void 0!==n&&(F.minCommunityRating=n),void 0!==r&&(F.startIndex=r),void 0!==i&&(F.limit=i),void 0!==u&&(F.searchTerm=u),void 0!==a&&(F.parentId=a),c&&(F.fields=c),s&&(F.excludeItemTypes=s),l&&(F.includeItemTypes=l),f&&(F.filters=f),void 0!==v&&(F.isFavorite=v),h&&(F.mediaTypes=h),y&&(F.genres=y),m&&(F.genreIds=m),g&&(F.officialRatings=g),b&&(F.tags=b),w&&(F.years=w),void 0!==I&&(F.enableUserData=I),void 0!==P&&(F.imageTypeLimit=P),O&&(F.enableImageTypes=O),void 0!==S&&(F.person=S),T&&(F.personIds=T),j&&(F.personTypes=j),x&&(F.studios=x),C&&(F.studioIds=C),void 0!==A&&(F.userId=A),void 0!==R&&(F.nameStartsWithOrGreater=R),void 0!==k&&(F.nameStartsWith=k),void 0!==U&&(F.nameLessThan=U),L&&(F.sortBy=L),D&&(F.sortOrder=D),void 0!==E&&(F.enableImages=E),void 0!==G&&(F.enableTotalRecordCount=G),(0,o.rZ)(z,F),B=Y&&Y.headers?Y.headers:{},_.headers=p(p(p({},W),B),Z.headers),t.a(2,{url:(0,o.uD)(z),options:_})}}),t)}))),function(e,t,n,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U){return r.apply(this,arguments)}),getArtistByName:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getArtistByName","name",n),u="/Artists/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getArtists:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G){var Z,z,Y,_,W,F,B,M=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return Z=M.length>32&&void 0!==M[32]?M[32]:{},z=new URL("/Artists",o.fY),e&&(Y=e.baseOptions),_=p(p({method:"GET"},Y),Z),W={},F={},t.n=1,(0,o.YS)(W,"Authorization",e);case 1:return void 0!==n&&(F.minCommunityRating=n),void 0!==r&&(F.startIndex=r),void 0!==i&&(F.limit=i),void 0!==u&&(F.searchTerm=u),void 0!==a&&(F.parentId=a),c&&(F.fields=c),s&&(F.excludeItemTypes=s),l&&(F.includeItemTypes=l),f&&(F.filters=f),void 0!==v&&(F.isFavorite=v),h&&(F.mediaTypes=h),y&&(F.genres=y),m&&(F.genreIds=m),g&&(F.officialRatings=g),b&&(F.tags=b),w&&(F.years=w),void 0!==I&&(F.enableUserData=I),void 0!==P&&(F.imageTypeLimit=P),O&&(F.enableImageTypes=O),void 0!==S&&(F.person=S),T&&(F.personIds=T),j&&(F.personTypes=j),x&&(F.studios=x),C&&(F.studioIds=C),void 0!==A&&(F.userId=A),void 0!==R&&(F.nameStartsWithOrGreater=R),void 0!==k&&(F.nameStartsWith=k),void 0!==U&&(F.nameLessThan=U),L&&(F.sortBy=L),D&&(F.sortOrder=D),void 0!==E&&(F.enableImages=E),void 0!==G&&(F.enableTotalRecordCount=G),(0,o.rZ)(z,F),B=Y&&Y.headers?Y.headers:{},_.headers=p(p(p({},W),B),Z.headers),t.a(2,{url:(0,o.uD)(z),options:_})}}),t)}))),function(e,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g,b,w,I,P,O,S,T,j,x,C,A,R,k,U){return t.apply(this,arguments)})};var t,n,r}(e);return{getAlbumArtists:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y){return g(d().m((function g(){var _,W,F,B,M,N;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getAlbumArtists(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y);case 1:return B=d.v,M=null!==(_=null==e?void 0:e.serverIndex)&&void 0!==_?_:0,N=null===(F=null===(W=i.z9["ArtistsApi.getAlbumArtists"])||void 0===W?void 0:W[M])||void 0===F?void 0:F.url,d.a(2,(function(t,n){return(0,o.yZ)(B,r.A,i.o2,e)(t,N||n)}))}}),g)})))()},getArtistByName:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getArtistByName(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ArtistsApi.getArtistByName"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getArtists:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y){return g(d().m((function g(){var _,W,F,B,M,N;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getArtists(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y);case 1:return B=d.v,M=null!==(_=null==e?void 0:e.serverIndex)&&void 0!==_?_:0,N=null===(F=null===(W=i.z9["ArtistsApi.getArtists"])||void 0===W?void 0:W[M])||void 0===F?void 0:F.url,d.a(2,(function(t,n){return(0,o.yZ)(B,r.A,i.o2,e)(t,N||n)}))}}),g)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getAlbumArtists",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getAlbumArtists(t.minCommunityRating,t.startIndex,t.limit,t.searchTerm,t.parentId,t.fields,t.excludeItemTypes,t.includeItemTypes,t.filters,t.isFavorite,t.mediaTypes,t.genres,t.genreIds,t.officialRatings,t.tags,t.years,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.person,t.personIds,t.personTypes,t.studios,t.studioIds,t.userId,t.nameStartsWithOrGreater,t.nameStartsWith,t.nameLessThan,t.sortBy,t.sortOrder,t.enableImages,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getArtistByName",value:function(e,t){var n=this;return b(this.configuration).getArtistByName(e.name,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getArtists",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getArtists(t.minCommunityRating,t.startIndex,t.limit,t.searchTerm,t.parentId,t.fields,t.excludeItemTypes,t.includeItemTypes,t.filters,t.isFavorite,t.mediaTypes,t.genres,t.genreIds,t.officialRatings,t.tags,t.years,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.person,t.personIds,t.personTypes,t.studios,t.studioIds,t.userId,t.nameStartsWithOrGreater,t.nameStartsWith,t.nameLessThan,t.sortBy,t.sortOrder,t.enableImages,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},48272:function(e,t,n){n.d(t,{c:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getEndpointInfo:(f=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Endpoint",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return f.apply(this,arguments)}),getLogFile:(l=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("getLogFile","name",n),i=new URL("/System/Logs/Log",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.name=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return l.apply(this,arguments)}),getPingSystem:(s=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Ping",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return s.apply(this,arguments)}),getPublicSystemInfo:(c=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Info/Public",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return c.apply(this,arguments)}),getServerLogs:(a=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Logs",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return a.apply(this,arguments)}),getSystemInfo:(u=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Info",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return u.apply(this,arguments)}),getSystemStorage:(i=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Info/Storage",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return i.apply(this,arguments)}),postPingSystem:(r=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Ping",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return r.apply(this,arguments)}),restartApplication:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Restart",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return n.apply(this,arguments)}),shutdownApplication:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Shutdown",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f}(e);return{getEndpointInfo:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getEndpointInfo(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getEndpointInfo"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getLogFile:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getLogFile(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SystemApi.getLogFile"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPingSystem:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPingSystem(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getPingSystem"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPublicSystemInfo:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPublicSystemInfo(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getPublicSystemInfo"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getServerLogs:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getServerLogs(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getServerLogs"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSystemInfo:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getSystemInfo(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getSystemInfo"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSystemStorage:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getSystemStorage(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.getSystemStorage"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},postPingSystem:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.postPingSystem(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.postPingSystem"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},restartApplication:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.restartApplication(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.restartApplication"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},shutdownApplication:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.shutdownApplication(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SystemApi.shutdownApplication"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"getEndpointInfo",value:function(e){var t=this;return b(this.configuration).getEndpointInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getLogFile",value:function(e,t){var n=this;return b(this.configuration).getLogFile(e.name,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPingSystem",value:function(e){var t=this;return b(this.configuration).getPingSystem(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getPublicSystemInfo",value:function(e){var t=this;return b(this.configuration).getPublicSystemInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getServerLogs",value:function(e){var t=this;return b(this.configuration).getServerLogs(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getSystemInfo",value:function(e){var t=this;return b(this.configuration).getSystemInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getSystemStorage",value:function(e){var t=this;return b(this.configuration).getSystemStorage(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"postPingSystem",value:function(e){var t=this;return b(this.configuration).postPingSystem(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"restartApplication",value:function(e){var t=this;return b(this.configuration).restartApplication(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"shutdownApplication",value:function(e){var t=this;return b(this.configuration).shutdownApplication(e).then((function(e){return e(t.axios,t.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},49805:function(e,t,n){n.d(t,{VC:function(){return o},H:function(){return u},r$:function(){return a},Dl:function(){return c}}),n(24776),n(44962),n(78557),n(73687),n(83994),n(64062),n(46968),n(82367),n(24362),n(76218),n(99102);var r=n(58650);function o(e){return new URL(e.toString())}function i(e){if(e===r.W7)return r.Xp;if(e===r.fg)return r.G4;throw new Error("Unsupported protocol")}function u(e,t){var n=t.port||i(t.protocol);return e.toLowerCase().startsWith("".concat(t.protocol,"//").concat(t.hostname.toLowerCase(),":").concat(n))}function a(e){return!e.port||e.port===i(e.protocol).toString()}function c(e){if(!(null==e?void 0:e.trim()))throw new Error("Input is required");return new URL(function(e){if(e=e.trim(),/^data:/i.test(e))throw new Error("data URLs are not supported");if(/^view-source:/i.test(e))throw new Error("`view-source:` is not supported as it is a non-standard protocol");if(!e.startsWith("//")&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,r.W7)),!/^https?:/i.test(e))throw new Error("only http or https protocols are supported");var t=new URL(e);if(t.hash="",t.pathname){for(var n=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,o=0,i="";;){var u=n.exec(t.pathname);if(!u)break;var a=u[0],c=u.index;i+=t.pathname.slice(o,c).replace(/\/{2,}/g,"/"),i+=a,o=c+a.length}i+=t.pathname.slice(o,t.pathname.length).replace(/\/{2,}/g,"/"),t.pathname=i}if(t.pathname)try{t.pathname=decodeURI(t.pathname)}catch(e){}return t.hostname&&(t.hostname=t.hostname.replace(/\.$/,"")),t.search="",t.pathname=t.pathname.replace(/\/$/,""),t.toString()}(e))}n(89336),n(95021),n(93062),n(97456)},49960:function(e,t,n){n.d(t,{v:function(){return r}});var r={Blocking:"Blocking",NonBlocking:"NonBlocking"}},50117:function(e,t,n){n.d(t,{H:function(){return r}});var r={Sunday:"Sunday",Monday:"Monday",Tuesday:"Tuesday",Wednesday:"Wednesday",Thursday:"Thursday",Friday:"Friday",Saturday:"Saturday",Everyday:"Everyday",Weekday:"Weekday",Weekend:"Weekend"}},50909:function(e,t,n){n.d(t,{D:function(){return r}});var r={Idle:"Idle",Cancelling:"Cancelling",Running:"Running"}},53096:function(e,t,n){n.d(t,{C:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{addItemToPlaylist:(v=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("addItemToPlaylist","playlistId",n),a="/Playlists/{playlistId}/Items".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return r&&(v.ids=r),void 0!==i&&(v.userId=i),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return v.apply(this,arguments)}),createPlaylist:(f=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=m.length>5&&void 0!==m[5]?m[5]:{},s=new URL("/Playlists",o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),c),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==n&&(h.name=n),r&&(h.ids=r),void 0!==i&&(h.userId=i),void 0!==u&&(h.mediaType=u),v["Content-Type"]="application/json",(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),c.headers),f.data=(0,o.Np)(a,f,e),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,r,o){return f.apply(this,arguments)}),getPlaylist:(l=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getPlaylist","playlistId",n),i="/Playlists/{playlistId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return l.apply(this,arguments)}),getPlaylistItems:(s=g(d().m((function t(n,r,i,u,a,c,s,l,f){var v,h,y,m,g,b,w,I,P=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return v=P.length>9&&void 0!==P[9]?P[9]:{},(0,o.WC)("getPlaylistItems","playlistId",n),h="/Playlists/{playlistId}/Items".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),y=new URL(h,o.fY),e&&(m=e.baseOptions),g=p(p({method:"GET"},m),v),b={},w={},t.n=1,(0,o.YS)(b,"Authorization",e);case 1:return void 0!==r&&(w.userId=r),void 0!==i&&(w.startIndex=i),void 0!==u&&(w.limit=u),a&&(w.fields=a),void 0!==c&&(w.enableImages=c),void 0!==s&&(w.enableUserData=s),void 0!==l&&(w.imageTypeLimit=l),f&&(w.enableImageTypes=f),(0,o.rZ)(y,w),I=m&&m.headers?m.headers:{},g.headers=p(p(p({},b),I),v.headers),t.a(2,{url:(0,o.uD)(y),options:g})}}),t)}))),function(e,t,n,r,o,i,u,a,c){return s.apply(this,arguments)}),getPlaylistUser:(c=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getPlaylistUser","playlistId",n),(0,o.WC)("getPlaylistUser","userId",r),u="/Playlists/{playlistId}/Users/{userId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return c.apply(this,arguments)}),getPlaylistUsers:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getPlaylistUsers","playlistId",n),i="/Playlists/{playlistId}/Users".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),moveItem:(u=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("moveItem","playlistId",n),(0,o.WC)("moveItem","itemId",r),(0,o.WC)("moveItem","newIndex",i),a="/Playlists/{playlistId}/Items/{itemId}/Move/{newIndex}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("itemId","}"),encodeURIComponent(String(r))).replace("{".concat("newIndex","}"),encodeURIComponent(String(i))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return u.apply(this,arguments)}),removeItemFromPlaylist:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("removeItemFromPlaylist","playlistId",n),u="/Playlists/{playlistId}/Items".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return r&&(f.entryIds=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),removeUserFromPlaylist:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("removeUserFromPlaylist","playlistId",n),(0,o.WC)("removeUserFromPlaylist","userId",r),u="/Playlists/{playlistId}/Users/{userId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),updatePlaylist:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updatePlaylist","playlistId",n),(0,o.WC)("updatePlaylist","updatePlaylistDto",r),u="/Playlists/{playlistId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updatePlaylistUser:(t=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("updatePlaylistUser","playlistId",n),(0,o.WC)("updatePlaylistUser","userId",r),(0,o.WC)("updatePlaylistUser","updatePlaylistUserDto",i),a="/Playlists/{playlistId}/Users/{userId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return f["Content-Type"]="application/json",(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),l.data=(0,o.Np)(i,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v}(e);return{addItemToPlaylist:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.addItemToPlaylist(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["PlaylistsApi.addItemToPlaylist"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},createPlaylist:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.createPlaylist(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["PlaylistsApi.createPlaylist"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getPlaylist:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPlaylist(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaylistsApi.getPlaylist"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPlaylistItems:function(n,u,a,c,s,l,f,v,p,h){return g(d().m((function y(){var m,g,b,w,I,P;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getPlaylistItems(n,u,a,c,s,l,f,v,p,h);case 1:return w=d.v,I=null!==(m=null==e?void 0:e.serverIndex)&&void 0!==m?m:0,P=null===(b=null===(g=i.z9["PlaylistsApi.getPlaylistItems"])||void 0===g?void 0:g[I])||void 0===b?void 0:b.url,d.a(2,(function(t,n){return(0,o.yZ)(w,r.A,i.o2,e)(t,P||n)}))}}),y)})))()},getPlaylistUser:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPlaylistUser(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PlaylistsApi.getPlaylistUser"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPlaylistUsers:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPlaylistUsers(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PlaylistsApi.getPlaylistUsers"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},moveItem:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.moveItem(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["PlaylistsApi.moveItem"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},removeItemFromPlaylist:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeItemFromPlaylist(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PlaylistsApi.removeItemFromPlaylist"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},removeUserFromPlaylist:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeUserFromPlaylist(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PlaylistsApi.removeUserFromPlaylist"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updatePlaylist:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updatePlaylist(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PlaylistsApi.updatePlaylist"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updatePlaylistUser:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.updatePlaylistUser(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["PlaylistsApi.updatePlaylistUser"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"addItemToPlaylist",value:function(e,t){var n=this;return b(this.configuration).addItemToPlaylist(e.playlistId,e.ids,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"createPlaylist",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).createPlaylist(t.name,t.ids,t.userId,t.mediaType,t.createPlaylistDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getPlaylist",value:function(e,t){var n=this;return b(this.configuration).getPlaylist(e.playlistId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPlaylistItems",value:function(e,t){var n=this;return b(this.configuration).getPlaylistItems(e.playlistId,e.userId,e.startIndex,e.limit,e.fields,e.enableImages,e.enableUserData,e.imageTypeLimit,e.enableImageTypes,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPlaylistUser",value:function(e,t){var n=this;return b(this.configuration).getPlaylistUser(e.playlistId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPlaylistUsers",value:function(e,t){var n=this;return b(this.configuration).getPlaylistUsers(e.playlistId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"moveItem",value:function(e,t){var n=this;return b(this.configuration).moveItem(e.playlistId,e.itemId,e.newIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"removeItemFromPlaylist",value:function(e,t){var n=this;return b(this.configuration).removeItemFromPlaylist(e.playlistId,e.entryIds,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"removeUserFromPlaylist",value:function(e,t){var n=this;return b(this.configuration).removeUserFromPlaylist(e.playlistId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updatePlaylist",value:function(e,t){var n=this;return b(this.configuration).updatePlaylist(e.playlistId,e.updatePlaylistDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updatePlaylistUser",value:function(e,t){var n=this;return b(this.configuration).updatePlaylistUser(e.playlistId,e.userId,e.updatePlaylistUserDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},53875:function(e,t,n){n.d(t,{g:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getTask:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getTask","taskId",n),i="/ScheduledTasks/{taskId}".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return u.apply(this,arguments)}),getTasks:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/ScheduledTasks",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.isHidden=n),void 0!==r&&(l.isEnabled=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),startTask:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("startTask","taskId",n),i="/ScheduledTasks/Running/{taskId}".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return r.apply(this,arguments)}),stopTask:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("stopTask","taskId",n),i="/ScheduledTasks/Running/{taskId}".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return n.apply(this,arguments)}),updateTask:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updateTask","taskId",n),(0,o.WC)("updateTask","taskTriggerInfo",r),u="/ScheduledTasks/{taskId}/Triggers".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u}(e);return{getTask:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getTask(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ScheduledTasksApi.getTask"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getTasks:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getTasks(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ScheduledTasksApi.getTasks"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},startTask:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.startTask(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ScheduledTasksApi.startTask"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},stopTask:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.stopTask(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ScheduledTasksApi.stopTask"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateTask:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateTask(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ScheduledTasksApi.updateTask"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getTask",value:function(e,t){var n=this;return b(this.configuration).getTask(e.taskId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getTasks",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getTasks(t.isHidden,t.isEnabled,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"startTask",value:function(e,t){var n=this;return b(this.configuration).startTask(e.taskId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"stopTask",value:function(e,t){var n=this;return b(this.configuration).stopTask(e.taskId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateTask",value:function(e,t){var n=this;return b(this.configuration).updateTask(e.taskId,e.taskTriggerInfo,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},55367:function(e,t,n){n.d(t,{p:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{disablePlugin:(l=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("disablePlugin","pluginId",n),(0,o.WC)("disablePlugin","version",r),u="/Plugins/{pluginId}/{version}/Disable".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return l.apply(this,arguments)}),enablePlugin:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("enablePlugin","pluginId",n),(0,o.WC)("enablePlugin","version",r),u="/Plugins/{pluginId}/{version}/Enable".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return s.apply(this,arguments)}),getPluginConfiguration:(c=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getPluginConfiguration","pluginId",n),i="/Plugins/{pluginId}/Configuration".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return c.apply(this,arguments)}),getPluginImage:(a=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getPluginImage","pluginId",n),(0,o.WC)("getPluginImage","version",r),u="/Plugins/{pluginId}/{version}/Image".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return a.apply(this,arguments)}),getPluginManifest:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getPluginManifest","pluginId",n),i="/Plugins/{pluginId}/Manifest".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return u.apply(this,arguments)}),getPlugins:(i=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Plugins",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return i.apply(this,arguments)}),uninstallPlugin:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("uninstallPlugin","pluginId",n),i="/Plugins/{pluginId}".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return r.apply(this,arguments)}),uninstallPluginByVersion:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("uninstallPluginByVersion","pluginId",n),(0,o.WC)("uninstallPluginByVersion","version",r),u="/Plugins/{pluginId}/{version}".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updatePluginConfiguration:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("updatePluginConfiguration","pluginId",n),i="/Plugins/{pluginId}/Configuration".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l}(e);return{disablePlugin:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.disablePlugin(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PluginsApi.disablePlugin"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},enablePlugin:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.enablePlugin(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PluginsApi.enablePlugin"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPluginConfiguration:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPluginConfiguration(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PluginsApi.getPluginConfiguration"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPluginImage:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPluginImage(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PluginsApi.getPluginImage"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPluginManifest:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPluginManifest(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PluginsApi.getPluginManifest"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPlugins:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPlugins(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["PluginsApi.getPlugins"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},uninstallPlugin:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.uninstallPlugin(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PluginsApi.uninstallPlugin"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},uninstallPluginByVersion:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.uninstallPluginByVersion(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["PluginsApi.uninstallPluginByVersion"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updatePluginConfiguration:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.updatePluginConfiguration(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["PluginsApi.updatePluginConfiguration"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"disablePlugin",value:function(e,t){var n=this;return b(this.configuration).disablePlugin(e.pluginId,e.version,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"enablePlugin",value:function(e,t){var n=this;return b(this.configuration).enablePlugin(e.pluginId,e.version,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPluginConfiguration",value:function(e,t){var n=this;return b(this.configuration).getPluginConfiguration(e.pluginId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPluginImage",value:function(e,t){var n=this;return b(this.configuration).getPluginImage(e.pluginId,e.version,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPluginManifest",value:function(e,t){var n=this;return b(this.configuration).getPluginManifest(e.pluginId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPlugins",value:function(e){var t=this;return b(this.configuration).getPlugins(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"uninstallPlugin",value:function(e,t){var n=this;return b(this.configuration).uninstallPlugin(e.pluginId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"uninstallPluginByVersion",value:function(e,t){var n=this;return b(this.configuration).uninstallPluginByVersion(e.pluginId,e.version,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updatePluginConfiguration",value:function(e,t){var n=this;return b(this.configuration).updatePluginConfiguration(e.pluginId,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},55990:function(e,t,n){n.d(t,{T:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getConfigurationPages:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/web/ConfigurationPages",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.enableInMainMenu=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),getDashboardConfigurationPage:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/web/ConfigurationPage",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},void 0!==n&&(s.name=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return t.apply(this,arguments)})};var t,n}(e);return{getConfigurationPages:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getConfigurationPages(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DashboardApi.getConfigurationPages"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDashboardConfigurationPage:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDashboardConfigurationPage(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DashboardApi.getDashboardConfigurationPage"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getConfigurationPages",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getConfigurationPages(t.enableInMainMenu,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getDashboardConfigurationPage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getDashboardConfigurationPage(t.name,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},58381:function(e,t,n){function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(s)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e){var t=e.split(".").map(Number);if(3===t.length&&t.every((function(e){return e>=0})))return t}function u(e,t){var n=i(e),o=i(t);if(!n||!o)throw new TypeError("Version doesn't match a numeric-only semver format");var u=r(n,3),a=u[0],c=u[1],s=u[2],l=r(o,3),d=l[0],f=l[1],v=l[2];return a<d||a===d&&c<f||a===d&&c===f&&s<v}n.d(t,{a:function(){return u}}),n(29305),n(32733),n(84701),n(69892),n(44962),n(86584),n(89336),n(94),n(78557),n(95021),n(73687),n(83994),n(82367)},58650:function(e,t,n){n.d(t,{G4:function(){return u},W7:function(){return r},Xp:function(){return i},fg:function(){return o}});var r="http:",o="https:",i=80,u=443},59225:function(e,t,n){n.d(t,{t:function(){return r}});var r={Stop:"Stop",Pause:"Pause",Unpause:"Unpause",NextTrack:"NextTrack",PreviousTrack:"PreviousTrack",Seek:"Seek",Rewind:"Rewind",FastForward:"FastForward",PlayPause:"PlayPause"}},61364:function(e,t,n){n.d(t,{P:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteUserItemRating:(f=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("deleteUserItemRating","itemId",n),u="/UserItems/{itemId}/Rating".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return f.apply(this,arguments)}),getIntros:(l=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getIntros","itemId",n),u="/Items/{itemId}/Intros".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return l.apply(this,arguments)}),getItem:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getItem","itemId",n),u="/Items/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return s.apply(this,arguments)}),getLatestMedia:(c=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h){var y,m,g,b,w,I,P,O=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return y=O.length>11&&void 0!==O[11]?O[11]:{},m=new URL("/Items/Latest",o.fY),e&&(g=e.baseOptions),b=p(p({method:"GET"},g),y),w={},I={},t.n=1,(0,o.YS)(w,"Authorization",e);case 1:return void 0!==n&&(I.userId=n),void 0!==r&&(I.parentId=r),i&&(I.fields=i),u&&(I.includeItemTypes=u),void 0!==a&&(I.isPlayed=a),void 0!==c&&(I.enableImages=c),void 0!==s&&(I.imageTypeLimit=s),l&&(I.enableImageTypes=l),void 0!==f&&(I.enableUserData=f),void 0!==v&&(I.limit=v),void 0!==h&&(I.groupItems=h),(0,o.rZ)(m,I),P=g&&g.headers?g.headers:{},b.headers=p(p(p({},w),P),y.headers),t.a(2,{url:(0,o.uD)(m),options:b})}}),t)}))),function(e,t,n,r,o,i,u,a,s,l,d){return c.apply(this,arguments)}),getLocalTrailers:(a=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getLocalTrailers","itemId",n),u="/Items/{itemId}/LocalTrailers".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return a.apply(this,arguments)}),getRootFolder:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Items/Root",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return u.apply(this,arguments)}),getSpecialFeatures:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getSpecialFeatures","itemId",n),u="/Items/{itemId}/SpecialFeatures".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),markFavoriteItem:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("markFavoriteItem","itemId",n),u="/UserFavoriteItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),unmarkFavoriteItem:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("unmarkFavoriteItem","itemId",n),u="/UserFavoriteItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updateUserItemRating:(t=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("updateUserItemRating","itemId",n),a="/UserItems/{itemId}/Rating".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==r&&(v.userId=r),void 0!==i&&(v.likes=i),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f}(e);return{deleteUserItemRating:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.deleteUserItemRating(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.deleteUserItemRating"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getIntros:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getIntros(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.getIntros"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getItem:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getItem(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.getItem"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getLatestMedia:function(n,u,a,c,s,l,f,v,p,h,y,m){return g(d().m((function g(){var b,w,I,P,O,S;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getLatestMedia(n,u,a,c,s,l,f,v,p,h,y,m);case 1:return P=d.v,O=null!==(b=null==e?void 0:e.serverIndex)&&void 0!==b?b:0,S=null===(I=null===(w=i.z9["UserLibraryApi.getLatestMedia"])||void 0===w?void 0:w[O])||void 0===I?void 0:I.url,d.a(2,(function(t,n){return(0,o.yZ)(P,r.A,i.o2,e)(t,S||n)}))}}),g)})))()},getLocalTrailers:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getLocalTrailers(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.getLocalTrailers"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getRootFolder:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRootFolder(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["UserLibraryApi.getRootFolder"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getSpecialFeatures:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getSpecialFeatures(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.getSpecialFeatures"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},markFavoriteItem:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.markFavoriteItem(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.markFavoriteItem"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},unmarkFavoriteItem:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.unmarkFavoriteItem(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["UserLibraryApi.unmarkFavoriteItem"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserItemRating:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.updateUserItemRating(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["UserLibraryApi.updateUserItemRating"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"deleteUserItemRating",value:function(e,t){var n=this;return b(this.configuration).deleteUserItemRating(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getIntros",value:function(e,t){var n=this;return b(this.configuration).getIntros(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItem",value:function(e,t){var n=this;return b(this.configuration).getItem(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getLatestMedia",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getLatestMedia(t.userId,t.parentId,t.fields,t.includeItemTypes,t.isPlayed,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.enableUserData,t.limit,t.groupItems,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getLocalTrailers",value:function(e,t){var n=this;return b(this.configuration).getLocalTrailers(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getRootFolder",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getRootFolder(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getSpecialFeatures",value:function(e,t){var n=this;return b(this.configuration).getSpecialFeatures(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"markFavoriteItem",value:function(e,t){var n=this;return b(this.configuration).markFavoriteItem(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"unmarkFavoriteItem",value:function(e,t){var n=this;return b(this.configuration).unmarkFavoriteItem(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateUserItemRating",value:function(e,t){var n=this;return b(this.configuration).updateUserItemRating(e.itemId,e.userId,e.likes,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},61432:function(e,t,n){n.d(t,{v:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{addUserToSession:(w=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("addUserToSession","sessionId",n),(0,o.WC)("addUserToSession","userId",r),u="/Sessions/{sessionId}/User/{userId}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return w.apply(this,arguments)}),displayContent:(b=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("displayContent","sessionId",n),(0,o.WC)("displayContent","itemType",r),(0,o.WC)("displayContent","itemId",i),(0,o.WC)("displayContent","itemName",u),c="/Sessions/{sessionId}/Viewing".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==r&&(h.itemType=r),void 0!==i&&(h.itemId=i),void 0!==u&&(h.itemName=u),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,r){return b.apply(this,arguments)}),getAuthProviders:(m=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Auth/Providers",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return m.apply(this,arguments)}),getPasswordResetProviders:(y=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Auth/PasswordResetProviders",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return y.apply(this,arguments)}),getSessions:(h=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=h.length>3&&void 0!==h[3]?h[3]:{},a=new URL("/Sessions",o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),u),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==n&&(f.controllableByUserId=n),void 0!==r&&(f.deviceId=r),void 0!==i&&(f.activeWithinSeconds=i),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),u.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t,n){return h.apply(this,arguments)}),play:(v=g(d().m((function t(n,r,i,u,a,c,s,l){var f,v,h,y,m,g,b,w,I=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return f=I.length>8&&void 0!==I[8]?I[8]:{},(0,o.WC)("play","sessionId",n),(0,o.WC)("play","playCommand",r),(0,o.WC)("play","itemIds",i),v="/Sessions/{sessionId}/Playing".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),h=new URL(v,o.fY),e&&(y=e.baseOptions),m=p(p({method:"POST"},y),f),g={},b={},t.n=1,(0,o.YS)(g,"Authorization",e);case 1:return void 0!==r&&(b.playCommand=r),i&&(b.itemIds=i),void 0!==u&&(b.startPositionTicks=u),void 0!==a&&(b.mediaSourceId=a),void 0!==c&&(b.audioStreamIndex=c),void 0!==s&&(b.subtitleStreamIndex=s),void 0!==l&&(b.startIndex=l),(0,o.rZ)(h,b),w=y&&y.headers?y.headers:{},m.headers=p(p(p({},g),w),f.headers),t.a(2,{url:(0,o.uD)(h),options:m})}}),t)}))),function(e,t,n,r,o,i,u,a){return v.apply(this,arguments)}),postCapabilities:(f=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=m.length>5&&void 0!==m[5]?m[5]:{},s=new URL("/Sessions/Capabilities",o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),c),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==n&&(h.id=n),r&&(h.playableMediaTypes=r),i&&(h.supportedCommands=i),void 0!==u&&(h.supportsMediaControl=u),void 0!==a&&(h.supportsPersistentIdentifier=a),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),c.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,r,o){return f.apply(this,arguments)}),postFullCapabilities:(l=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("postFullCapabilities","clientCapabilitiesDto",n),u=new URL("/Sessions/Capabilities/Full",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.id=r),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return l.apply(this,arguments)}),removeUserFromSession:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("removeUserFromSession","sessionId",n),(0,o.WC)("removeUserFromSession","userId",r),u="/Sessions/{sessionId}/User/{userId}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return s.apply(this,arguments)}),reportSessionEnded:(c=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Sessions/Logout",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return c.apply(this,arguments)}),reportViewing:(a=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("reportViewing","itemId",n),u=new URL("/Sessions/Viewing",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.sessionId=r),void 0!==n&&(l.itemId=n),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return a.apply(this,arguments)}),sendFullGeneralCommand:(u=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("sendFullGeneralCommand","sessionId",n),(0,o.WC)("sendFullGeneralCommand","generalCommand",r),u="/Sessions/{sessionId}/Command".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return u.apply(this,arguments)}),sendGeneralCommand:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("sendGeneralCommand","sessionId",n),(0,o.WC)("sendGeneralCommand","command",r),u="/Sessions/{sessionId}/Command/{command}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("command","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),sendMessageCommand:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("sendMessageCommand","sessionId",n),(0,o.WC)("sendMessageCommand","messageCommand",r),u="/Sessions/{sessionId}/Message".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),sendPlaystateCommand:(n=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("sendPlaystateCommand","sessionId",n),(0,o.WC)("sendPlaystateCommand","command",r),c="/Sessions/{sessionId}/Playing/{command}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("command","}"),encodeURIComponent(String(r))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==i&&(h.seekPositionTicks=i),void 0!==u&&(h.controllingUserId=u),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,r,o){return n.apply(this,arguments)}),sendSystemCommand:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("sendSystemCommand","sessionId",n),(0,o.WC)("sendSystemCommand","command",r),u="/Sessions/{sessionId}/System/{command}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("command","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m,b,w}(e);return{addUserToSession:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.addUserToSession(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.addUserToSession"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},displayContent:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.displayContent(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["SessionApi.displayContent"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},getAuthProviders:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getAuthProviders(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SessionApi.getAuthProviders"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPasswordResetProviders:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPasswordResetProviders(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SessionApi.getPasswordResetProviders"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSessions:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.getSessions(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["SessionApi.getSessions"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},play:function(n,u,a,c,s,l,f,v,p){return g(d().m((function h(){var y,m,g,b,w,I;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.play(n,u,a,c,s,l,f,v,p);case 1:return b=d.v,w=null!==(y=null==e?void 0:e.serverIndex)&&void 0!==y?y:0,I=null===(g=null===(m=i.z9["SessionApi.play"])||void 0===m?void 0:m[w])||void 0===g?void 0:g.url,d.a(2,(function(t,n){return(0,o.yZ)(b,r.A,i.o2,e)(t,I||n)}))}}),h)})))()},postCapabilities:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.postCapabilities(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["SessionApi.postCapabilities"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},postFullCapabilities:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postFullCapabilities(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.postFullCapabilities"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},removeUserFromSession:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeUserFromSession(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.removeUserFromSession"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},reportSessionEnded:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.reportSessionEnded(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SessionApi.reportSessionEnded"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},reportViewing:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.reportViewing(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.reportViewing"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendFullGeneralCommand:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendFullGeneralCommand(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.sendFullGeneralCommand"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendGeneralCommand:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendGeneralCommand(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.sendGeneralCommand"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendMessageCommand:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendMessageCommand(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.sendMessageCommand"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendPlaystateCommand:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.sendPlaystateCommand(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["SessionApi.sendPlaystateCommand"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},sendSystemCommand:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendSystemCommand(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SessionApi.sendSystemCommand"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"addUserToSession",value:function(e,t){var n=this;return b(this.configuration).addUserToSession(e.sessionId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"displayContent",value:function(e,t){var n=this;return b(this.configuration).displayContent(e.sessionId,e.itemType,e.itemId,e.itemName,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getAuthProviders",value:function(e){var t=this;return b(this.configuration).getAuthProviders(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getPasswordResetProviders",value:function(e){var t=this;return b(this.configuration).getPasswordResetProviders(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getSessions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getSessions(t.controllableByUserId,t.deviceId,t.activeWithinSeconds,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"play",value:function(e,t){var n=this;return b(this.configuration).play(e.sessionId,e.playCommand,e.itemIds,e.startPositionTicks,e.mediaSourceId,e.audioStreamIndex,e.subtitleStreamIndex,e.startIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"postCapabilities",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postCapabilities(t.id,t.playableMediaTypes,t.supportedCommands,t.supportsMediaControl,t.supportsPersistentIdentifier,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"postFullCapabilities",value:function(e,t){var n=this;return b(this.configuration).postFullCapabilities(e.clientCapabilitiesDto,e.id,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"removeUserFromSession",value:function(e,t){var n=this;return b(this.configuration).removeUserFromSession(e.sessionId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"reportSessionEnded",value:function(e){var t=this;return b(this.configuration).reportSessionEnded(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"reportViewing",value:function(e,t){var n=this;return b(this.configuration).reportViewing(e.itemId,e.sessionId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"sendFullGeneralCommand",value:function(e,t){var n=this;return b(this.configuration).sendFullGeneralCommand(e.sessionId,e.generalCommand,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"sendGeneralCommand",value:function(e,t){var n=this;return b(this.configuration).sendGeneralCommand(e.sessionId,e.command,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"sendMessageCommand",value:function(e,t){var n=this;return b(this.configuration).sendMessageCommand(e.sessionId,e.messageCommand,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"sendPlaystateCommand",value:function(e,t){var n=this;return b(this.configuration).sendPlaystateCommand(e.sessionId,e.command,e.seekPositionTicks,e.controllingUserId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"sendSystemCommand",value:function(e,t){var n=this;return b(this.configuration).sendSystemCommand(e.sessionId,e.command,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},63972:function(e,t,n){n.d(t,{u:function(){return p},j:function(){return h}}),n(29305),n(32733),n(84701),n(81678),n(44962),n(89336),n(4754),n(94),n(36947),n(78557),n(50987),n(83994),n(82367);var r=n(83202);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}function u(e){var t=function(e){if("object"!=o(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(t)?t:t+""}n(646),n(95021),n(73687);var a=function(){return e=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.apiKey=t.apiKey,this.username=t.username,this.password=t.password,this.accessToken=t.accessToken,this.basePath=t.basePath,this.serverIndex=t.serverIndex,this.baseOptions=t.baseOptions,this.formDataCtor=t.formDataCtor},(t=[{key:"isJsonMime",value:function(e){var t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())}}])&&i(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),c=n(68777),s=n(61432),l=n(18879);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function v(e){var t=function(e){if("object"!=d(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==d(t)?t:t+""}var p="Authorization",h=function(){return e=function e(t,n,o){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.A;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.basePath=t.endsWith("/")?t.slice(0,-1):t,this.clientInfo=n,this.deviceInfo=o,this.accessToken=i,this.axiosInstance=u},t=[{key:"configuration",get:function(){return new a({basePath:this.basePath,apiKey:this.authorizationHeader})}},{key:"authenticateUserByName",value:function(e,t){var n,r,o,i=this;return(0,l.q)(this).authenticateUserByName({authenticateUserByName:{Username:e,Pw:t}},{headers:(n={},r=p,o=this.authorizationHeader,(r=v(r))in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n)}).then((function(e){return i.accessToken=e.data.AccessToken||"",e}))}},{key:"getUri",value:function(e,t){return this.axiosInstance.getUri({baseURL:this.basePath,url:e,params:t})}},{key:"logout",value:function(){var e=this;return(0,s.v)(this).reportSessionEnded().then((function(t){return e.accessToken="",t}))}},{key:"authorizationHeader",get:function(){return(0,c.X)(this.clientInfo,this.deviceInfo,this.accessToken)}}],t&&f(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},64680:function(e,t,n){n.d(t,{y:function(){return r}});var r={Primary:"Primary",Art:"Art",Backdrop:"Backdrop",Banner:"Banner",Logo:"Logo",Thumb:"Thumb",Disc:"Disc",Box:"Box",Screenshot:"Screenshot",Menu:"Menu",Chapter:"Chapter",BoxRear:"BoxRear",Profile:"Profile"}},64788:function(e,t,n){n.d(t,{C:function(){return U}}),n(29305),n(32733),n(84701),n(81678),n(24776),n(14382),n(44962),n(4754),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(21359),n(83994),n(23630),n(82367),n(2623),n(10849),n(70389),n(90076),n(95021),n(93062),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteCustomSplashscreen:(W=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Branding/Splashscreen",o.fY),e&&(i=e.baseOptions),u=p(p({method:"DELETE"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return W.apply(this,arguments)}),deleteItemImage:(_=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("deleteItemImage","itemId",n),(0,o.WC)("deleteItemImage","imageType",r),a="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"DELETE"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==i&&(v.imageIndex=i),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return _.apply(this,arguments)}),deleteItemImageByIndex:(Y=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("deleteItemImageByIndex","itemId",n),(0,o.WC)("deleteItemImageByIndex","imageType",r),(0,o.WC)("deleteItemImageByIndex","imageIndex",i),a="/Items/{itemId}/Images/{imageType}/{imageIndex}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"DELETE"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return Y.apply(this,arguments)}),deleteUserImage:(z=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/UserImage",o.fY),e&&(u=e.baseOptions),a=p(p({method:"DELETE"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return z.apply(this,arguments)}),getArtistImage:(Z=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getArtistImage","name",n),(0,o.WC)("getArtistImage","imageType",r),(0,o.WC)("getArtistImage","imageIndex",i),O="/Artists/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return Z.apply(this,arguments)}),getGenreImage:(G=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getGenreImage","name",n),(0,o.WC)("getGenreImage","imageType",r),O="/Genres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return G.apply(this,arguments)}),getGenreImageByIndex:(E=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getGenreImageByIndex","name",n),(0,o.WC)("getGenreImageByIndex","imageType",r),(0,o.WC)("getGenreImageByIndex","imageIndex",i),O="/Genres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return E.apply(this,arguments)}),getItemImage:(D=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getItemImage","itemId",n),(0,o.WC)("getItemImage","imageType",r),O="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==i&&(C.maxWidth=i),void 0!==u&&(C.maxHeight=u),void 0!==a&&(C.width=a),void 0!==c&&(C.height=c),void 0!==s&&(C.quality=s),void 0!==l&&(C.fillWidth=l),void 0!==f&&(C.fillHeight=f),void 0!==v&&(C.tag=v),void 0!==h&&(C.format=h),void 0!==y&&(C.percentPlayed=y),void 0!==m&&(C.unplayedCount=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return D.apply(this,arguments)}),getItemImage2:(L=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getItemImage2","itemId",n),(0,o.WC)("getItemImage2","imageType",r),(0,o.WC)("getItemImage2","maxWidth",i),(0,o.WC)("getItemImage2","maxHeight",u),(0,o.WC)("getItemImage2","tag",a),(0,o.WC)("getItemImage2","format",c),(0,o.WC)("getItemImage2","percentPlayed",s),(0,o.WC)("getItemImage2","unplayedCount",l),(0,o.WC)("getItemImage2","imageIndex",f),O="/Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("maxWidth","}"),encodeURIComponent(String(i))).replace("{".concat("maxHeight","}"),encodeURIComponent(String(u))).replace("{".concat("tag","}"),encodeURIComponent(String(a))).replace("{".concat("format","}"),encodeURIComponent(String(c))).replace("{".concat("percentPlayed","}"),encodeURIComponent(String(s))).replace("{".concat("unplayedCount","}"),encodeURIComponent(String(l))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(f))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return L.apply(this,arguments)}),getItemImageByIndex:(U=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getItemImageByIndex","itemId",n),(0,o.WC)("getItemImageByIndex","imageType",r),(0,o.WC)("getItemImageByIndex","imageIndex",i),O="/Items/{itemId}/Images/{imageType}/{imageIndex}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.maxWidth=u),void 0!==a&&(C.maxHeight=a),void 0!==c&&(C.width=c),void 0!==s&&(C.height=s),void 0!==l&&(C.quality=l),void 0!==f&&(C.fillWidth=f),void 0!==v&&(C.fillHeight=v),void 0!==h&&(C.tag=h),void 0!==y&&(C.format=y),void 0!==m&&(C.percentPlayed=m),void 0!==g&&(C.unplayedCount=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return U.apply(this,arguments)}),getItemImageInfos:(k=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getItemImageInfos","itemId",n),i="/Items/{itemId}/Images".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return k.apply(this,arguments)}),getMusicGenreImage:(R=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getMusicGenreImage","name",n),(0,o.WC)("getMusicGenreImage","imageType",r),O="/MusicGenres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return R.apply(this,arguments)}),getMusicGenreImageByIndex:(A=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getMusicGenreImageByIndex","name",n),(0,o.WC)("getMusicGenreImageByIndex","imageType",r),(0,o.WC)("getMusicGenreImageByIndex","imageIndex",i),O="/MusicGenres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return A.apply(this,arguments)}),getPersonImage:(C=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getPersonImage","name",n),(0,o.WC)("getPersonImage","imageType",r),O="/Persons/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return C.apply(this,arguments)}),getPersonImageByIndex:(x=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getPersonImageByIndex","name",n),(0,o.WC)("getPersonImageByIndex","imageType",r),(0,o.WC)("getPersonImageByIndex","imageIndex",i),O="/Persons/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return x.apply(this,arguments)}),getSplashscreen:(j=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)if(0===t.n)return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Branding/Splashscreen",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},void 0!==n&&(l.tag=n),void 0!==r&&(l.format=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}),t)}))),function(e,t){return j.apply(this,arguments)}),getStudioImage:(T=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getStudioImage","name",n),(0,o.WC)("getStudioImage","imageType",r),O="/Studios/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return T.apply(this,arguments)}),getStudioImageByIndex:(S=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("getStudioImageByIndex","name",n),(0,o.WC)("getStudioImageByIndex","imageType",r),(0,o.WC)("getStudioImageByIndex","imageIndex",i),O="/Studios/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return S.apply(this,arguments)}),getUserImage:(O=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)if(0===t.n)return u=h.length>3&&void 0!==h[3]?h[3]:{},a=new URL("/UserImage",o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),u),l={},f={},void 0!==n&&(f.userId=n),void 0!==r&&(f.tag=r),void 0!==i&&(f.format=i),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),u.headers),t.a(2,{url:(0,o.uD)(a),options:s})}),t)}))),function(e,t,n){return O.apply(this,arguments)}),headArtistImage:(P=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headArtistImage","name",n),(0,o.WC)("headArtistImage","imageType",r),(0,o.WC)("headArtistImage","imageIndex",i),O="/Artists/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return P.apply(this,arguments)}),headGenreImage:(I=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headGenreImage","name",n),(0,o.WC)("headGenreImage","imageType",r),O="/Genres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return I.apply(this,arguments)}),headGenreImageByIndex:(w=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headGenreImageByIndex","name",n),(0,o.WC)("headGenreImageByIndex","imageType",r),(0,o.WC)("headGenreImageByIndex","imageIndex",i),O="/Genres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return w.apply(this,arguments)}),headItemImage:(b=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headItemImage","itemId",n),(0,o.WC)("headItemImage","imageType",r),O="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==i&&(C.maxWidth=i),void 0!==u&&(C.maxHeight=u),void 0!==a&&(C.width=a),void 0!==c&&(C.height=c),void 0!==s&&(C.quality=s),void 0!==l&&(C.fillWidth=l),void 0!==f&&(C.fillHeight=f),void 0!==v&&(C.tag=v),void 0!==h&&(C.format=h),void 0!==y&&(C.percentPlayed=y),void 0!==m&&(C.unplayedCount=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return b.apply(this,arguments)}),headItemImage2:(m=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headItemImage2","itemId",n),(0,o.WC)("headItemImage2","imageType",r),(0,o.WC)("headItemImage2","maxWidth",i),(0,o.WC)("headItemImage2","maxHeight",u),(0,o.WC)("headItemImage2","tag",a),(0,o.WC)("headItemImage2","format",c),(0,o.WC)("headItemImage2","percentPlayed",s),(0,o.WC)("headItemImage2","unplayedCount",l),(0,o.WC)("headItemImage2","imageIndex",f),O="/Items/{itemId}/Images/{imageType}/{imageIndex}/{tag}/{format}/{maxWidth}/{maxHeight}/{percentPlayed}/{unplayedCount}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("maxWidth","}"),encodeURIComponent(String(i))).replace("{".concat("maxHeight","}"),encodeURIComponent(String(u))).replace("{".concat("tag","}"),encodeURIComponent(String(a))).replace("{".concat("format","}"),encodeURIComponent(String(c))).replace("{".concat("percentPlayed","}"),encodeURIComponent(String(s))).replace("{".concat("unplayedCount","}"),encodeURIComponent(String(l))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(f))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return m.apply(this,arguments)}),headItemImageByIndex:(y=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headItemImageByIndex","itemId",n),(0,o.WC)("headItemImageByIndex","imageType",r),(0,o.WC)("headItemImageByIndex","imageIndex",i),O="/Items/{itemId}/Images/{imageType}/{imageIndex}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.maxWidth=u),void 0!==a&&(C.maxHeight=a),void 0!==c&&(C.width=c),void 0!==s&&(C.height=s),void 0!==l&&(C.quality=l),void 0!==f&&(C.fillWidth=f),void 0!==v&&(C.fillHeight=v),void 0!==h&&(C.tag=h),void 0!==y&&(C.format=y),void 0!==m&&(C.percentPlayed=m),void 0!==g&&(C.unplayedCount=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,h,m){return y.apply(this,arguments)}),headMusicGenreImage:(h=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headMusicGenreImage","name",n),(0,o.WC)("headMusicGenreImage","imageType",r),O="/MusicGenres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,v,p,y,m){return h.apply(this,arguments)}),headMusicGenreImageByIndex:(v=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headMusicGenreImageByIndex","name",n),(0,o.WC)("headMusicGenreImageByIndex","imageType",r),(0,o.WC)("headMusicGenreImageByIndex","imageIndex",i),O="/MusicGenres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,f,p,h,y,m){return v.apply(this,arguments)}),headPersonImage:(f=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headPersonImage","name",n),(0,o.WC)("headPersonImage","imageType",r),O="/Persons/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,l,d,v,p,h,y,m){return f.apply(this,arguments)}),headPersonImageByIndex:(l=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headPersonImageByIndex","name",n),(0,o.WC)("headPersonImageByIndex","imageType",r),(0,o.WC)("headPersonImageByIndex","imageIndex",i),O="/Persons/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,s,d,f,v,p,h,y,m){return l.apply(this,arguments)}),headStudioImage:(s=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headStudioImage","name",n),(0,o.WC)("headStudioImage","imageType",r),O="/Studios/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==i&&(C.tag=i),void 0!==u&&(C.format=u),void 0!==a&&(C.maxWidth=a),void 0!==c&&(C.maxHeight=c),void 0!==s&&(C.percentPlayed=s),void 0!==l&&(C.unplayedCount=l),void 0!==f&&(C.width=f),void 0!==v&&(C.height=v),void 0!==h&&(C.quality=h),void 0!==y&&(C.fillWidth=y),void 0!==m&&(C.fillHeight=m),void 0!==g&&(C.blur=g),void 0!==b&&(C.backgroundColor=b),void 0!==w&&(C.foregroundLayer=w),void 0!==I&&(C.imageIndex=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,c,l,d,f,v,p,h,y,m){return s.apply(this,arguments)}),headStudioImageByIndex:(c=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)if(0===t.n)return P=R.length>17&&void 0!==R[17]?R[17]:{},(0,o.WC)("headStudioImageByIndex","name",n),(0,o.WC)("headStudioImageByIndex","imageType",r),(0,o.WC)("headStudioImageByIndex","imageIndex",i),O="/Studios/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),S=new URL(O,o.fY),e&&(T=e.baseOptions),j=p(p({method:"HEAD"},T),P),x={},C={},void 0!==u&&(C.tag=u),void 0!==a&&(C.format=a),void 0!==c&&(C.maxWidth=c),void 0!==s&&(C.maxHeight=s),void 0!==l&&(C.percentPlayed=l),void 0!==f&&(C.unplayedCount=f),void 0!==v&&(C.width=v),void 0!==h&&(C.height=h),void 0!==y&&(C.quality=y),void 0!==m&&(C.fillWidth=m),void 0!==g&&(C.fillHeight=g),void 0!==b&&(C.blur=b),void 0!==w&&(C.backgroundColor=w),void 0!==I&&(C.foregroundLayer=I),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}),t)}))),function(e,t,n,r,o,i,u,a,s,l,d,f,v,p,h,y,m){return c.apply(this,arguments)}),headUserImage:(a=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)if(0===t.n)return u=h.length>3&&void 0!==h[3]?h[3]:{},a=new URL("/UserImage",o.fY),e&&(c=e.baseOptions),s=p(p({method:"HEAD"},c),u),l={},f={},void 0!==n&&(f.userId=n),void 0!==r&&(f.tag=r),void 0!==i&&(f.format=i),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),u.headers),t.a(2,{url:(0,o.uD)(a),options:s})}),t)}))),function(e,t,n){return a.apply(this,arguments)}),postUserImage:(u=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/UserImage",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.userId=n),s["Content-Type"]="image/*",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(r,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return u.apply(this,arguments)}),setItemImage:(i=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("setItemImage","itemId",n),(0,o.WC)("setItemImage","imageType",r),a="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"POST"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return f["Content-Type"]="image/*",(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),l.data=(0,o.Np)(i,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return i.apply(this,arguments)}),setItemImageByIndex:(r=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("setItemImageByIndex","itemId",n),(0,o.WC)("setItemImageByIndex","imageType",r),(0,o.WC)("setItemImageByIndex","imageIndex",i),c="/Items/{itemId}/Images/{imageType}/{imageIndex}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return v["Content-Type"]="image/*",(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),f.data=(0,o.Np)(u,f,e),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,o){return r.apply(this,arguments)}),updateItemImageIndex:(n=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("updateItemImageIndex","itemId",n),(0,o.WC)("updateItemImageIndex","imageType",r),(0,o.WC)("updateItemImageIndex","imageIndex",i),(0,o.WC)("updateItemImageIndex","newIndex",u),c="/Items/{itemId}/Images/{imageType}/{imageIndex}/Index".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(i))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==u&&(h.newIndex=u),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,r,o){return n.apply(this,arguments)}),uploadCustomSplashscreen:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Branding/Splashscreen",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="image/*",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m,b,w,I,P,O,S,T,j,x,C,A,R,k,U,L,D,E,G,Z,z,Y,_,W}(e);return{deleteCustomSplashscreen:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteCustomSplashscreen(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["ImageApi.deleteCustomSplashscreen"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},deleteItemImage:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.deleteItemImage(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ImageApi.deleteItemImage"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},deleteItemImageByIndex:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.deleteItemImageByIndex(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ImageApi.deleteItemImageByIndex"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},deleteUserImage:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteUserImage(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ImageApi.deleteUserImage"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getArtistImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getArtistImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getArtistImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getGenreImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getGenreImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getGenreImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getGenreImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getGenreImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getGenreImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getItemImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getItemImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getItemImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getItemImage2:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getItemImage2(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getItemImage2"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getItemImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getItemImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getItemImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getItemImageInfos:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getItemImageInfos(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ImageApi.getItemImageInfos"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getMusicGenreImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getMusicGenreImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getMusicGenreImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getMusicGenreImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getMusicGenreImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getMusicGenreImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getPersonImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getPersonImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getPersonImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getPersonImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getPersonImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getPersonImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getSplashscreen:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getSplashscreen(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ImageApi.getSplashscreen"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getStudioImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getStudioImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getStudioImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getStudioImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getStudioImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.getStudioImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},getUserImage:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.getUserImage(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ImageApi.getUserImage"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},headArtistImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headArtistImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headArtistImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headGenreImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headGenreImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headGenreImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headGenreImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headGenreImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headGenreImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headItemImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headItemImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headItemImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headItemImage2:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headItemImage2(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headItemImage2"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headItemImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headItemImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headItemImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headMusicGenreImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headMusicGenreImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headMusicGenreImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headMusicGenreImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headMusicGenreImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headMusicGenreImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headPersonImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headPersonImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headPersonImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headPersonImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headPersonImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headPersonImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headStudioImage:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headStudioImage(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headStudioImage"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headStudioImageByIndex:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.headStudioImageByIndex(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["ImageApi.headStudioImageByIndex"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()},headUserImage:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.headUserImage(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ImageApi.headUserImage"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},postUserImage:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postUserImage(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ImageApi.postUserImage"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},setItemImage:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.setItemImage(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["ImageApi.setItemImage"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},setItemImageByIndex:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.setItemImageByIndex(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["ImageApi.setItemImageByIndex"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},updateItemImageIndex:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.updateItemImageIndex(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["ImageApi.updateItemImageIndex"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},uploadCustomSplashscreen:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.uploadCustomSplashscreen(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ImageApi.uploadCustomSplashscreen"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"deleteCustomSplashscreen",value:function(e){var t=this;return b(this.configuration).deleteCustomSplashscreen(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"deleteItemImage",value:function(e,t){var n=this;return b(this.configuration).deleteItemImage(e.itemId,e.imageType,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"deleteItemImageByIndex",value:function(e,t){var n=this;return b(this.configuration).deleteItemImageByIndex(e.itemId,e.imageType,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"deleteUserImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).deleteUserImage(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getArtistImage",value:function(e,t){var n=this;return b(this.configuration).getArtistImage(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getGenreImage",value:function(e,t){var n=this;return b(this.configuration).getGenreImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getGenreImageByIndex",value:function(e,t){var n=this;return b(this.configuration).getGenreImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemImage",value:function(e,t){var n=this;return b(this.configuration).getItemImage(e.itemId,e.imageType,e.maxWidth,e.maxHeight,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemImage2",value:function(e,t){var n=this;return b(this.configuration).getItemImage2(e.itemId,e.imageType,e.maxWidth,e.maxHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.imageIndex,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemImageByIndex",value:function(e,t){var n=this;return b(this.configuration).getItemImageByIndex(e.itemId,e.imageType,e.imageIndex,e.maxWidth,e.maxHeight,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemImageInfos",value:function(e,t){var n=this;return b(this.configuration).getItemImageInfos(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getMusicGenreImage",value:function(e,t){var n=this;return b(this.configuration).getMusicGenreImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getMusicGenreImageByIndex",value:function(e,t){var n=this;return b(this.configuration).getMusicGenreImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPersonImage",value:function(e,t){var n=this;return b(this.configuration).getPersonImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPersonImageByIndex",value:function(e,t){var n=this;return b(this.configuration).getPersonImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSplashscreen",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getSplashscreen(t.tag,t.format,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getStudioImage",value:function(e,t){var n=this;return b(this.configuration).getStudioImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getStudioImageByIndex",value:function(e,t){var n=this;return b(this.configuration).getStudioImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getUserImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getUserImage(t.userId,t.tag,t.format,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"headArtistImage",value:function(e,t){var n=this;return b(this.configuration).headArtistImage(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headGenreImage",value:function(e,t){var n=this;return b(this.configuration).headGenreImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headGenreImageByIndex",value:function(e,t){var n=this;return b(this.configuration).headGenreImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headItemImage",value:function(e,t){var n=this;return b(this.configuration).headItemImage(e.itemId,e.imageType,e.maxWidth,e.maxHeight,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headItemImage2",value:function(e,t){var n=this;return b(this.configuration).headItemImage2(e.itemId,e.imageType,e.maxWidth,e.maxHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.imageIndex,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headItemImageByIndex",value:function(e,t){var n=this;return b(this.configuration).headItemImageByIndex(e.itemId,e.imageType,e.imageIndex,e.maxWidth,e.maxHeight,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.tag,e.format,e.percentPlayed,e.unplayedCount,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headMusicGenreImage",value:function(e,t){var n=this;return b(this.configuration).headMusicGenreImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headMusicGenreImageByIndex",value:function(e,t){var n=this;return b(this.configuration).headMusicGenreImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headPersonImage",value:function(e,t){var n=this;return b(this.configuration).headPersonImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headPersonImageByIndex",value:function(e,t){var n=this;return b(this.configuration).headPersonImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headStudioImage",value:function(e,t){var n=this;return b(this.configuration).headStudioImage(e.name,e.imageType,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,e.imageIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headStudioImageByIndex",value:function(e,t){var n=this;return b(this.configuration).headStudioImageByIndex(e.name,e.imageType,e.imageIndex,e.tag,e.format,e.maxWidth,e.maxHeight,e.percentPlayed,e.unplayedCount,e.width,e.height,e.quality,e.fillWidth,e.fillHeight,e.blur,e.backgroundColor,e.foregroundLayer,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"headUserImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).headUserImage(t.userId,t.tag,t.format,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"postUserImage",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postUserImage(t.userId,t.body,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"setItemImage",value:function(e,t){var n=this;return b(this.configuration).setItemImage(e.itemId,e.imageType,e.body,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"setItemImageByIndex",value:function(e,t){var n=this;return b(this.configuration).setItemImageByIndex(e.itemId,e.imageType,e.imageIndex,e.body,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateItemImageIndex",value:function(e,t){var n=this;return b(this.configuration).updateItemImageIndex(e.itemId,e.imageType,e.imageIndex,e.newIndex,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"uploadCustomSplashscreen",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).uploadCustomSplashscreen(t.body,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi),I=n(64680);function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return(t=x(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,x(r.key),r)}}function x(e){var t=function(e){if("object"!=P(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=P(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==P(t)?t:t+""}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(C=function(){return!!e})()}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function R(e,t){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},R(e,t)}var k=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=A(t),function(e,t){if(t&&("object"==P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,C()?Reflect.construct(t,n||[],A(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(t,e),n=t,r=[{key:"getItemImageUrlById",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.y.Primary,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.axios.getUri({baseURL:null===(t=this.configuration)||void 0===t?void 0:t.basePath,url:"/Items/".concat(e,"/Images/").concat(n),params:r})}},{key:"getItemImageUrl",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I.y.Primary,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e?void 0:e.Id)return this.getItemImageUrlById(e.Id,r,S(S({},o),{},{tag:null!==(t=o.tag)&&void 0!==t?t:null===(n=e.ImageTags)||void 0===n?void 0:n[r]}))}},{key:"getItemBackdropImageUrls",value:function(e){var t,n,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[],u=null==e?void 0:e.Id;if(!u)return i;if(null===(t=e.BackdropImageTags)||void 0===t||t.forEach((function(e){var t=r.getItemImageUrlById(u,I.y.Backdrop,S(S({},o),{},{tag:e}));i.push(t)})),i.length>0)return i;var a=e.ParentBackdropItemId;return a&&(null===(n=e.ParentBackdropImageTags)||void 0===n||n.forEach((function(e){var t=r.getItemImageUrlById(a,I.y.Backdrop,S(S({},o),{},{tag:e}));i.push(t)}))),i}},{key:"getSplashscreenImageUrl",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.axios.getUri({baseURL:null===(e=this.configuration)||void 0===e?void 0:e.basePath,url:"/Branding/Splashscreen",params:t})}},{key:"getUserImageUrl",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e?void 0:e.Id)return this.axios.getUri({baseURL:null===(t=this.configuration)||void 0===t?void 0:t.basePath,url:"/Users/".concat(e.Id,"/Images/Primary"),params:S(S({},n),{},{tag:e.PrimaryImageTag})})}}],r&&j(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(w);function U(e){return new k(e.configuration,void 0,e.axiosInstance)}},65369:function(e,t,n){n.d(t,{X:function(){return r}});var r={Unknown:"unknown",Movies:"movies",Tvshows:"tvshows",Music:"music",Musicvideos:"musicvideos",Trailers:"trailers",Homevideos:"homevideos",Boxsets:"boxsets",Books:"books",Photos:"photos",Livetv:"livetv",Playlists:"playlists",Folders:"folders"}},68136:function(e,t,n){n.d(t,{r:function(){return r}});var r={CreateAndJoinGroups:"CreateAndJoinGroups",JoinGroups:"JoinGroups",None:"None"}},68304:function(e,t,n){n.d(t,{m:function(){return r}});var r={Continuing:"Continuing",Ended:"Ended",Unreleased:"Unreleased"}},68777:function(e,t,n){function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return['MediaBrowser Client="'.concat(encodeURIComponent(e.name),'"'),'Device="'.concat(encodeURIComponent(t.name),'"'),'DeviceId="'.concat(encodeURIComponent(t.id),'"'),'Version="'.concat(encodeURIComponent(e.version),'"'),'Token="'.concat(encodeURIComponent(n),'"')].join(", ")}n.d(t,{X:function(){return r}})},69607:function(e,t,n){n.d(t,{G:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getStudio:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getStudio","name",n),u="/Studios/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getStudios:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I){var P,O,S,T,j,x,C,A=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return P=A.length>17&&void 0!==A[17]?A[17]:{},O=new URL("/Studios",o.fY),e&&(S=e.baseOptions),T=p(p({method:"GET"},S),P),j={},x={},t.n=1,(0,o.YS)(j,"Authorization",e);case 1:return void 0!==n&&(x.startIndex=n),void 0!==r&&(x.limit=r),void 0!==i&&(x.searchTerm=i),void 0!==u&&(x.parentId=u),a&&(x.fields=a),c&&(x.excludeItemTypes=c),s&&(x.includeItemTypes=s),void 0!==l&&(x.isFavorite=l),void 0!==f&&(x.enableUserData=f),void 0!==v&&(x.imageTypeLimit=v),h&&(x.enableImageTypes=h),void 0!==y&&(x.userId=y),void 0!==m&&(x.nameStartsWithOrGreater=m),void 0!==g&&(x.nameStartsWith=g),void 0!==b&&(x.nameLessThan=b),void 0!==w&&(x.enableImages=w),void 0!==I&&(x.enableTotalRecordCount=I),(0,o.rZ)(O,x),C=S&&S.headers?S.headers:{},T.headers=p(p(p({},j),C),P.headers),t.a(2,{url:(0,o.uD)(O),options:T})}}),t)}))),function(e,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y,m){return t.apply(this,arguments)})};var t,n}(e);return{getStudio:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getStudio(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["StudiosApi.getStudio"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getStudios:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S){return g(d().m((function g(){var T,j,x,C,A,R;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getStudios(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S);case 1:return C=d.v,A=null!==(T=null==e?void 0:e.serverIndex)&&void 0!==T?T:0,R=null===(x=null===(j=i.z9["StudiosApi.getStudios"])||void 0===j?void 0:j[A])||void 0===x?void 0:x.url,d.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,R||n)}))}}),g)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getStudio",value:function(e,t){var n=this;return b(this.configuration).getStudio(e.name,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getStudios",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getStudios(t.startIndex,t.limit,t.searchTerm,t.parentId,t.fields,t.excludeItemTypes,t.includeItemTypes,t.isFavorite,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.userId,t.nameStartsWithOrGreater,t.nameStartsWith,t.nameLessThan,t.enableImages,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},70658:function(e,t,n){n.d(t,{_:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{createKey:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("createKey","app",n),i=new URL("/Auth/Keys",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.app=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),getKeys:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Auth/Keys",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return n.apply(this,arguments)}),revokeKey:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("revokeKey","key",n),i="/Auth/Keys/{key}".replace("{".concat("key","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r}(e);return{createKey:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.createKey(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ApiKeyApi.createKey"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getKeys:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getKeys(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["ApiKeyApi.getKeys"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},revokeKey:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.revokeKey(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ApiKeyApi.revokeKey"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"createKey",value:function(e,t){var n=this;return b(this.configuration).createKey(e.app,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getKeys",value:function(e){var t=this;return b(this.configuration).getKeys(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"revokeKey",value:function(e,t){var n=this;return b(this.configuration).revokeKey(e.key,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},71857:function(e,t,n){n.d(t,{Q:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteItem:(A=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("deleteItem","itemId",n),i="/Items/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return A.apply(this,arguments)}),deleteItems:(C=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Items",o.fY),e&&(u=e.baseOptions),a=p(p({method:"DELETE"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return n&&(s.ids=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return C.apply(this,arguments)}),getAncestors:(x=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getAncestors","itemId",n),u="/Items/{itemId}/Ancestors".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return x.apply(this,arguments)}),getCriticReviews:(j=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getCriticReviews","itemId",n),i="/Items/{itemId}/CriticReviews".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return j.apply(this,arguments)}),getDownload:(T=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getDownload","itemId",n),i="/Items/{itemId}/Download".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return T.apply(this,arguments)}),getFile:(S=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getFile","itemId",n),i="/Items/{itemId}/File".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return S.apply(this,arguments)}),getItemCounts:(O=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Items/Counts",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.userId=n),void 0!==r&&(l.isFavorite=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return O.apply(this,arguments)}),getLibraryOptionsInfo:(P=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Libraries/AvailableOptions",o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.libraryContentType=n),void 0!==r&&(l.isNewLibrary=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return P.apply(this,arguments)}),getMediaFolders:(I=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Library/MediaFolders",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.isHidden=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return I.apply(this,arguments)}),getPhysicalPaths:(w=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Library/PhysicalPaths",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return w.apply(this,arguments)}),getSimilarAlbums:(b=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarAlbums","itemId",n),s="/Albums/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return b.apply(this,arguments)}),getSimilarArtists:(m=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarArtists","itemId",n),s="/Artists/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return m.apply(this,arguments)}),getSimilarItems:(y=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarItems","itemId",n),s="/Items/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return y.apply(this,arguments)}),getSimilarMovies:(h=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarMovies","itemId",n),s="/Movies/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return h.apply(this,arguments)}),getSimilarShows:(v=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarShows","itemId",n),s="/Shows/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return v.apply(this,arguments)}),getSimilarTrailers:(f=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getSimilarTrailers","itemId",n),s="/Trailers/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return r&&(y.excludeArtistIds=r),void 0!==i&&(y.userId=i),void 0!==u&&(y.limit=u),a&&(y.fields=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return f.apply(this,arguments)}),getThemeMedia:(l=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getThemeMedia","itemId",n),s="/Items/{itemId}/ThemeMedia".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return void 0!==r&&(y.userId=r),void 0!==i&&(y.inheritFromParent=i),u&&(y.sortBy=u),a&&(y.sortOrder=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return l.apply(this,arguments)}),getThemeSongs:(s=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getThemeSongs","itemId",n),s="/Items/{itemId}/ThemeSongs".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return void 0!==r&&(y.userId=r),void 0!==i&&(y.inheritFromParent=i),u&&(y.sortBy=u),a&&(y.sortOrder=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return s.apply(this,arguments)}),getThemeVideos:(c=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m,g=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=g.length>5&&void 0!==g[5]?g[5]:{},(0,o.WC)("getThemeVideos","itemId",n),s="/Items/{itemId}/ThemeVideos".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,o.fY),e&&(f=e.baseOptions),v=p(p({method:"GET"},f),c),h={},y={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return void 0!==r&&(y.userId=r),void 0!==i&&(y.inheritFromParent=i),u&&(y.sortBy=u),a&&(y.sortOrder=a),(0,o.rZ)(l,y),m=f&&f.headers?f.headers:{},v.headers=p(p(p({},h),m),c.headers),t.a(2,{url:(0,o.uD)(l),options:v})}}),t)}))),function(e,t,n,r,o){return c.apply(this,arguments)}),postAddedMovies:(a=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Library/Movies/Added",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.tmdbId=n),void 0!==r&&(l.imdbId=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return a.apply(this,arguments)}),postAddedSeries:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Library/Series/Added",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.tvdbId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return u.apply(this,arguments)}),postUpdatedMedia:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("postUpdatedMedia","mediaUpdateInfoDto",n),i=new URL("/Library/Media/Updated",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),postUpdatedMovies:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Library/Movies/Updated",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.tmdbId=n),void 0!==r&&(l.imdbId=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return r.apply(this,arguments)}),postUpdatedSeries:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Library/Series/Updated",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.tvdbId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),refreshLibrary:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Library/Refresh",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f,v,h,y,m,b,w,I,P,O,S,T,j,x,C,A}(e);return{deleteItem:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteItem(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.deleteItem"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteItems:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteItems(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.deleteItems"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getAncestors:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getAncestors(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryApi.getAncestors"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getCriticReviews:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getCriticReviews(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.getCriticReviews"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDownload:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDownload(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.getDownload"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getFile:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getFile(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.getFile"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getItemCounts:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getItemCounts(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryApi.getItemCounts"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getLibraryOptionsInfo:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getLibraryOptionsInfo(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryApi.getLibraryOptionsInfo"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getMediaFolders:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getMediaFolders(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.getMediaFolders"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPhysicalPaths:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPhysicalPaths(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LibraryApi.getPhysicalPaths"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSimilarAlbums:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarAlbums(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarAlbums"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getSimilarArtists:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarArtists(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarArtists"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getSimilarItems:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarItems(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarItems"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getSimilarMovies:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarMovies(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarMovies"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getSimilarShows:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarShows(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarShows"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getSimilarTrailers:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSimilarTrailers(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getSimilarTrailers"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getThemeMedia:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getThemeMedia(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getThemeMedia"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getThemeSongs:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getThemeSongs(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getThemeSongs"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getThemeVideos:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getThemeVideos(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryApi.getThemeVideos"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},postAddedMovies:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postAddedMovies(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryApi.postAddedMovies"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},postAddedSeries:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.postAddedSeries(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.postAddedSeries"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},postUpdatedMedia:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.postUpdatedMedia(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.postUpdatedMedia"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},postUpdatedMovies:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postUpdatedMovies(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryApi.postUpdatedMovies"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},postUpdatedSeries:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.postUpdatedSeries(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryApi.postUpdatedSeries"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},refreshLibrary:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.refreshLibrary(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LibraryApi.refreshLibrary"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"deleteItem",value:function(e,t){var n=this;return b(this.configuration).deleteItem(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"deleteItems",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).deleteItems(t.ids,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getAncestors",value:function(e,t){var n=this;return b(this.configuration).getAncestors(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getCriticReviews",value:function(e,t){var n=this;return b(this.configuration).getCriticReviews(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getDownload",value:function(e,t){var n=this;return b(this.configuration).getDownload(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getFile",value:function(e,t){var n=this;return b(this.configuration).getFile(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemCounts",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getItemCounts(t.userId,t.isFavorite,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getLibraryOptionsInfo",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getLibraryOptionsInfo(t.libraryContentType,t.isNewLibrary,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getMediaFolders",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getMediaFolders(t.isHidden,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getPhysicalPaths",value:function(e){var t=this;return b(this.configuration).getPhysicalPaths(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getSimilarAlbums",value:function(e,t){var n=this;return b(this.configuration).getSimilarAlbums(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSimilarArtists",value:function(e,t){var n=this;return b(this.configuration).getSimilarArtists(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSimilarItems",value:function(e,t){var n=this;return b(this.configuration).getSimilarItems(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSimilarMovies",value:function(e,t){var n=this;return b(this.configuration).getSimilarMovies(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSimilarShows",value:function(e,t){var n=this;return b(this.configuration).getSimilarShows(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSimilarTrailers",value:function(e,t){var n=this;return b(this.configuration).getSimilarTrailers(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getThemeMedia",value:function(e,t){var n=this;return b(this.configuration).getThemeMedia(e.itemId,e.userId,e.inheritFromParent,e.sortBy,e.sortOrder,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getThemeSongs",value:function(e,t){var n=this;return b(this.configuration).getThemeSongs(e.itemId,e.userId,e.inheritFromParent,e.sortBy,e.sortOrder,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getThemeVideos",value:function(e,t){var n=this;return b(this.configuration).getThemeVideos(e.itemId,e.userId,e.inheritFromParent,e.sortBy,e.sortOrder,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"postAddedMovies",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postAddedMovies(t.tmdbId,t.imdbId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"postAddedSeries",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postAddedSeries(t.tvdbId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"postUpdatedMedia",value:function(e,t){var n=this;return b(this.configuration).postUpdatedMedia(e.mediaUpdateInfoDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"postUpdatedMovies",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postUpdatedMovies(t.tmdbId,t.imdbId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"postUpdatedSeries",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).postUpdatedSeries(t.tvdbId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"refreshLibrary",value:function(e){var t=this;return b(this.configuration).refreshLibrary(e).then((function(e){return e(t.axios,t.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},73275:function(e,t,n){var r;n.d(t,{EX:function(){return q}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(69703),n(44962),n(4754),n(10849),n(70389),n(94),n(36947),n(26437),n(52697),n(78557),n(90076),n(83994),n(82367),function(e){e[e.GREAT=2]="GREAT",e[e.GOOD=1]="GOOD",e[e.OK=0]="OK",e[e.BAD=-1]="BAD"}(r||(r={}));var o=n(78880);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function u(e,t,n){return t=c(t),function(e,t){if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a()?Reflect.construct(t,n||[],c(e).constructor):t.apply(e,n))}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function v(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n(14382),n(69892),n(86584),n(89336),n(95021),n(73687),n(21359);var h=f((function e(){p(this,e)})),y=function(e){function t(e){var n;return p(this,t),(n=u(this,t)).productName=e,n}return s(t,e),f(t)}(h),m=function(e){function t(e){var n;return p(this,t),(n=u(this,t)).responseTime=e,n}return s(t,e),f(t)}(h),g=function(e){function t(e){var n;return p(this,t),(n=u(this,t)).error=e,n}return s(t,e),f(t)}(h),b=function(e){function t(){return p(this,t),u(this,t,arguments)}return s(t,e),f(t)}(h),w=function(e){function t(e){var n;return p(this,t),(n=u(this,t)).version=e,n}return s(t,e),f(t)}(h),I=function(e){function t(e){var n;return p(this,t),(n=u(this,t)).version=e,n}return s(t,e),f(t)}(h),P=n(48272),O=n(58381),S=n(87082);function T(e){return T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},T(e)}function j(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return x(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(x(t={},r,(function(){return this})),t),d=s.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,x(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return c.prototype=s,x(d,"constructor",s),x(s,"constructor",c),c.displayName="GeneratorFunction",x(s,o,"GeneratorFunction"),x(d),x(d,o,"Generator"),x(d,r,(function(){return this})),x(d,"toString",(function(){return"[object Generator]"})),(j=function(){return{w:i,m:f}})()}function x(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}x=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){x(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},x(e,t,n,r)}function C(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){C(i,r,o,u,a,"next",e)}function a(e){C(i,r,o,u,a,"throw",e)}u(void 0)}))}}function R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,k(r.key),r)}}function k(e){var t=function(e){if("object"!=T(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=T(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==T(t)?t:t+""}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function L(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.GREAT;return e.length>0?Math.min.apply(Math,function(e){if(Array.isArray(e))return U(e)}(t=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return U(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?U(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):n}function D(e){var t,n,o,i=[],u=[];!(null===(t=e.response)||void 0===t?void 0:t.data)||e.error?(i.push(new g(e.error)),u.push(r.BAD)):"Jellyfin Server"!==e.response.data.ProductName&&(i.push(new y(e.response.data.ProductName)),u.push(r.BAD));var a=null===(n=e.response)||void 0===n?void 0:n.data.Version;try{a?(0,O.a)(a,S.U)?(i.push(new I(a)),u.push(r.OK)):(0,O.a)(a,S.m)&&(i.push(new w(a)),u.push(r.GOOD)):(i.push(new b),u.push(r.BAD))}catch(e){e instanceof TypeError&&(i.push(new b),u.push(r.BAD))}return e.responseTime>3e3&&(i.push(new m(e.responseTime)),u.push(r.GOOD)),{address:e.address,responseTime:e.responseTime,score:L(u),issues:i,systemInfo:null===(o=e.response)||void 0===o?void 0:o.data}}var E=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.jellyfin=t},t=[{key:"fetchRecommendedServerInfo",value:(o=A(j().m((function e(t){var n,r;return j().w((function(e){for(;;)if(0===e.n)return n=this.jellyfin.createApi(t),r=Date.now(),e.a(2,(0,P.c)(n).getPublicSystemInfo({timeout:5e3}).then((function(e){return{address:t,response:e,responseTime:Date.now()-r}})).catch((function(e){return{address:t,error:e,responseTime:Date.now()-r}})).then((function(e){return D(e)})))}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"discover",value:(n=A(j().m((function e(t){var n,o=this,i=arguments;return j().w((function(e){for(;;)switch(e.n){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:r.BAD,e.n=1,Promise.all(t.map((function(e){return o.fetchRecommendedServerInfo(e)})));case 1:return e.a(2,e.v.filter((function(e){return e.score>=n})))}}),e)}))),function(e){return n.apply(this,arguments)})}],t&&R(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,o}();function G(e){return G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G(e)}function Z(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return z(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(z(t={},r,(function(){return this})),t),d=s.prototype=a.prototype=Object.create(l);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,z(e,o,"GeneratorFunction")),e.prototype=Object.create(d),e}return c.prototype=s,z(d,"constructor",s),z(s,"constructor",c),c.displayName="GeneratorFunction",z(s,o,"GeneratorFunction"),z(d),z(d,o,"Generator"),z(d,r,(function(){return this})),z(d,"toString",(function(){return"[object Generator]"})),(Z=function(){return{w:i,m:f}})()}function z(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}z=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){z(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},z(e,t,n,r)}function Y(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function _(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){Y(i,r,o,u,a,"next",e)}function a(e){Y(i,r,o,u,a,"throw",e)}u(void 0)}))}}function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,F(r.key),r)}}function F(e){var t=function(e){if("object"!=G(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=G(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==G(t)?t:t+""}var B=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.jellyfin=t,this.recommendedServerDiscovery=new E(this.jellyfin)},t=[{key:"findBestServer",value:function(e){var t=e.find((function(e){return e.score===r.GREAT}));return t||(t=e.find((function(e){return e.score===r.GOOD}))),t||(t=e.find((function(e){return e.score===r.OK}))),t}},{key:"getAddressCandidates",value:function(e){return(0,o.dn)(e)}},{key:"getRecommendedServers",value:(i=_(Z().m((function e(t,n){return Z().w((function(e){for(;;)if(0===e.n)return e.a(2,this.recommendedServerDiscovery.discover(t,n))}),e,this)}))),function(e,t){return i.apply(this,arguments)})},{key:"getRecommendedServerCandidates",value:(n=_(Z().m((function e(t,n){return Z().w((function(e){for(;;)if(0===e.n)return e.a(2,this.getRecommendedServers(this.getAddressCandidates(t),n))}),e,this)}))),function(e,t){return n.apply(this,arguments)})}],t&&W(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,i}(),M=(n(97138),n(63972));function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function H(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,V(r.key),r)}}function V(e){var t=function(e){if("object"!=N(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=N(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==N(t)?t:t+""}var q=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.clientInfo=t.clientInfo,this.deviceInfo=t.deviceInfo,this.discovery=new B(this)},(t=[{key:"createApi",value:function(e,t,n){return new M.j(e,this.clientInfo,this.deviceInfo,t,n)}}])&&H(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},73392:function(e,t,n){n.d(t,{r:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getEpisodes:(i=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b){var w,I,P,O,S,T,j,x,C=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return w=C.length>15&&void 0!==C[15]?C[15]:{},(0,o.WC)("getEpisodes","seriesId",n),I="/Shows/{seriesId}/Episodes".replace("{".concat("seriesId","}"),encodeURIComponent(String(n))),P=new URL(I,o.fY),e&&(O=e.baseOptions),S=p(p({method:"GET"},O),w),T={},j={},t.n=1,(0,o.YS)(T,"Authorization",e);case 1:return void 0!==r&&(j.userId=r),i&&(j.fields=i),void 0!==u&&(j.season=u),void 0!==a&&(j.seasonId=a),void 0!==c&&(j.isMissing=c),void 0!==s&&(j.adjacentTo=s),void 0!==l&&(j.startItemId=l),void 0!==f&&(j.startIndex=f),void 0!==v&&(j.limit=v),void 0!==h&&(j.enableImages=h),void 0!==y&&(j.imageTypeLimit=y),m&&(j.enableImageTypes=m),void 0!==g&&(j.enableUserData=g),void 0!==b&&(j.sortBy=b),(0,o.rZ)(P,j),x=O&&O.headers?O.headers:{},S.headers=p(p(p({},T),x),w.headers),t.a(2,{url:(0,o.uD)(P),options:S})}}),t)}))),function(e,t,n,r,o,u,a,c,s,l,d,f,v,p,h){return i.apply(this,arguments)}),getNextUp:(r=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b){var w,I,P,O,S,T,j,x=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return w=x.length>15&&void 0!==x[15]?x[15]:{},I=new URL("/Shows/NextUp",o.fY),e&&(P=e.baseOptions),O=p(p({method:"GET"},P),w),S={},T={},t.n=1,(0,o.YS)(S,"Authorization",e);case 1:return void 0!==n&&(T.userId=n),void 0!==r&&(T.startIndex=r),void 0!==i&&(T.limit=i),u&&(T.fields=u),void 0!==a&&(T.seriesId=a),void 0!==c&&(T.parentId=c),void 0!==s&&(T.enableImages=s),void 0!==l&&(T.imageTypeLimit=l),f&&(T.enableImageTypes=f),void 0!==v&&(T.enableUserData=v),void 0!==h&&(T.nextUpDateCutoff=h instanceof Date?h.toISOString():h),void 0!==y&&(T.enableTotalRecordCount=y),void 0!==m&&(T.disableFirstEpisode=m),void 0!==g&&(T.enableResumable=g),void 0!==b&&(T.enableRewatching=b),(0,o.rZ)(I,T),j=P&&P.headers?P.headers:{},O.headers=p(p(p({},S),j),w.headers),t.a(2,{url:(0,o.uD)(I),options:O})}}),t)}))),function(e,t,n,o,i,u,a,c,s,l,d,f,v,p,h){return r.apply(this,arguments)}),getSeasons:(n=g(d().m((function t(n,r,i,u,a,c,s,l,f,v){var h,y,m,g,b,w,I,P,O=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return h=O.length>10&&void 0!==O[10]?O[10]:{},(0,o.WC)("getSeasons","seriesId",n),y="/Shows/{seriesId}/Seasons".replace("{".concat("seriesId","}"),encodeURIComponent(String(n))),m=new URL(y,o.fY),e&&(g=e.baseOptions),b=p(p({method:"GET"},g),h),w={},I={},t.n=1,(0,o.YS)(w,"Authorization",e);case 1:return void 0!==r&&(I.userId=r),i&&(I.fields=i),void 0!==u&&(I.isSpecialSeason=u),void 0!==a&&(I.isMissing=a),void 0!==c&&(I.adjacentTo=c),void 0!==s&&(I.enableImages=s),void 0!==l&&(I.imageTypeLimit=l),f&&(I.enableImageTypes=f),void 0!==v&&(I.enableUserData=v),(0,o.rZ)(m,I),P=g&&g.headers?g.headers:{},b.headers=p(p(p({},w),P),h.headers),t.a(2,{url:(0,o.uD)(m),options:b})}}),t)}))),function(e,t,r,o,i,u,a,c,s,l){return n.apply(this,arguments)}),getUpcomingEpisodes:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f){var v,h,y,m,g,b,w,I=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return v=I.length>9&&void 0!==I[9]?I[9]:{},h=new URL("/Shows/Upcoming",o.fY),e&&(y=e.baseOptions),m=p(p({method:"GET"},y),v),g={},b={},t.n=1,(0,o.YS)(g,"Authorization",e);case 1:return void 0!==n&&(b.userId=n),void 0!==r&&(b.startIndex=r),void 0!==i&&(b.limit=i),u&&(b.fields=u),void 0!==a&&(b.parentId=a),void 0!==c&&(b.enableImages=c),void 0!==s&&(b.imageTypeLimit=s),l&&(b.enableImageTypes=l),void 0!==f&&(b.enableUserData=f),(0,o.rZ)(h,b),w=y&&y.headers?y.headers:{},m.headers=p(p(p({},g),w),v.headers),t.a(2,{url:(0,o.uD)(h),options:m})}}),t)}))),function(e,n,r,o,i,u,a,c,s){return t.apply(this,arguments)})};var t,n,r,i}(e);return{getEpisodes:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P){return g(d().m((function g(){var O,S,T,j,x,C;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getEpisodes(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P);case 1:return j=d.v,x=null!==(O=null==e?void 0:e.serverIndex)&&void 0!==O?O:0,C=null===(T=null===(S=i.z9["TvShowsApi.getEpisodes"])||void 0===S?void 0:S[x])||void 0===T?void 0:T.url,d.a(2,(function(t,n){return(0,o.yZ)(j,r.A,i.o2,e)(t,C||n)}))}}),g)})))()},getNextUp:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P){return g(d().m((function g(){var O,S,T,j,x,C;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getNextUp(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P);case 1:return j=d.v,x=null!==(O=null==e?void 0:e.serverIndex)&&void 0!==O?O:0,C=null===(T=null===(S=i.z9["TvShowsApi.getNextUp"])||void 0===S?void 0:S[x])||void 0===T?void 0:T.url,d.a(2,(function(t,n){return(0,o.yZ)(j,r.A,i.o2,e)(t,C||n)}))}}),g)})))()},getSeasons:function(n,u,a,c,s,l,f,v,p,h,y){return g(d().m((function m(){var g,b,w,I,P,O;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSeasons(n,u,a,c,s,l,f,v,p,h,y);case 1:return I=d.v,P=null!==(g=null==e?void 0:e.serverIndex)&&void 0!==g?g:0,O=null===(w=null===(b=i.z9["TvShowsApi.getSeasons"])||void 0===b?void 0:b[P])||void 0===w?void 0:w.url,d.a(2,(function(t,n){return(0,o.yZ)(I,r.A,i.o2,e)(t,O||n)}))}}),m)})))()},getUpcomingEpisodes:function(n,u,a,c,s,l,f,v,p,h){return g(d().m((function y(){var m,g,b,w,I,P;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getUpcomingEpisodes(n,u,a,c,s,l,f,v,p,h);case 1:return w=d.v,I=null!==(m=null==e?void 0:e.serverIndex)&&void 0!==m?m:0,P=null===(b=null===(g=i.z9["TvShowsApi.getUpcomingEpisodes"])||void 0===g?void 0:g[I])||void 0===b?void 0:b.url,d.a(2,(function(t,n){return(0,o.yZ)(w,r.A,i.o2,e)(t,P||n)}))}}),y)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getEpisodes",value:function(e,t){var n=this;return b(this.configuration).getEpisodes(e.seriesId,e.userId,e.fields,e.season,e.seasonId,e.isMissing,e.adjacentTo,e.startItemId,e.startIndex,e.limit,e.enableImages,e.imageTypeLimit,e.enableImageTypes,e.enableUserData,e.sortBy,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getNextUp",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getNextUp(t.userId,t.startIndex,t.limit,t.fields,t.seriesId,t.parentId,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.enableUserData,t.nextUpDateCutoff,t.enableTotalRecordCount,t.disableFirstEpisode,t.enableResumable,t.enableRewatching,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getSeasons",value:function(e,t){var n=this;return b(this.configuration).getSeasons(e.seriesId,e.userId,e.fields,e.isSpecialSeason,e.isMissing,e.adjacentTo,e.enableImages,e.imageTypeLimit,e.enableImageTypes,e.enableUserData,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getUpcomingEpisodes",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getUpcomingEpisodes(t.userId,t.startIndex,t.limit,t.fields,t.parentId,t.enableImages,t.imageTypeLimit,t.enableImageTypes,t.enableUserData,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},73921:function(e,t,n){n.d(t,{x:function(){return r}});var r={Ascending:"Ascending",Descending:"Descending"}},74180:function(e,t,n){n.d(t,{n:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{closeLiveStream:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("closeLiveStream","liveStreamId",n),i=new URL("/LiveStreams/Close",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.liveStreamId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return u.apply(this,arguments)}),getBitrateTestBytes:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Playback/BitrateTest",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.size=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),getPlaybackInfo:(r=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getPlaybackInfo","itemId",n),u="/Items/{itemId}/PlaybackInfo".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),getPostedPlaybackInfo:(n=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w){var I,P,O,S,T,j,x,C,A=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return I=A.length>16&&void 0!==A[16]?A[16]:{},(0,o.WC)("getPostedPlaybackInfo","itemId",n),P="/Items/{itemId}/PlaybackInfo".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),O=new URL(P,o.fY),e&&(S=e.baseOptions),T=p(p({method:"POST"},S),I),j={},x={},t.n=1,(0,o.YS)(j,"Authorization",e);case 1:return void 0!==r&&(x.userId=r),void 0!==i&&(x.maxStreamingBitrate=i),void 0!==u&&(x.startTimeTicks=u),void 0!==a&&(x.audioStreamIndex=a),void 0!==c&&(x.subtitleStreamIndex=c),void 0!==s&&(x.maxAudioChannels=s),void 0!==l&&(x.mediaSourceId=l),void 0!==f&&(x.liveStreamId=f),void 0!==v&&(x.autoOpenLiveStream=v),void 0!==h&&(x.enableDirectPlay=h),void 0!==y&&(x.enableDirectStream=y),void 0!==m&&(x.enableTranscoding=m),void 0!==g&&(x.allowVideoStreamCopy=g),void 0!==b&&(x.allowAudioStreamCopy=b),j["Content-Type"]="application/json",(0,o.rZ)(O,x),C=S&&S.headers?S.headers:{},T.headers=p(p(p({},j),C),I.headers),T.data=(0,o.Np)(w,T,e),t.a(2,{url:(0,o.uD)(O),options:T})}}),t)}))),function(e,t,r,o,i,u,a,c,s,l,d,f,v,p,h,y){return n.apply(this,arguments)}),openLiveStream:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m){var g,b,w,I,P,O,S,T=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return g=T.length>13&&void 0!==T[13]?T[13]:{},b=new URL("/LiveStreams/Open",o.fY),e&&(w=e.baseOptions),I=p(p({method:"POST"},w),g),P={},O={},t.n=1,(0,o.YS)(P,"Authorization",e);case 1:return void 0!==n&&(O.openToken=n),void 0!==r&&(O.userId=r),void 0!==i&&(O.playSessionId=i),void 0!==u&&(O.maxStreamingBitrate=u),void 0!==a&&(O.startTimeTicks=a),void 0!==c&&(O.audioStreamIndex=c),void 0!==s&&(O.subtitleStreamIndex=s),void 0!==l&&(O.maxAudioChannels=l),void 0!==f&&(O.itemId=f),void 0!==v&&(O.enableDirectPlay=v),void 0!==h&&(O.enableDirectStream=h),void 0!==y&&(O.alwaysBurnInSubtitleWhenTranscoding=y),P["Content-Type"]="application/json",(0,o.rZ)(b,O),S=w&&w.headers?w.headers:{},I.headers=p(p(p({},P),S),g.headers),I.data=(0,o.Np)(m,I,e),t.a(2,{url:(0,o.uD)(b),options:I})}}),t)}))),function(e,n,r,o,i,u,a,c,s,l,d,f,v){return t.apply(this,arguments)})};var t,n,r,i,u}(e);return{closeLiveStream:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.closeLiveStream(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["MediaInfoApi.closeLiveStream"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getBitrateTestBytes:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getBitrateTestBytes(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["MediaInfoApi.getBitrateTestBytes"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPlaybackInfo:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPlaybackInfo(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["MediaInfoApi.getPlaybackInfo"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPostedPlaybackInfo:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O){return g(d().m((function g(){var S,T,j,x,C,A;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getPostedPlaybackInfo(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O);case 1:return x=d.v,C=null!==(S=null==e?void 0:e.serverIndex)&&void 0!==S?S:0,A=null===(j=null===(T=i.z9["MediaInfoApi.getPostedPlaybackInfo"])||void 0===T?void 0:T[C])||void 0===j?void 0:j.url,d.a(2,(function(t,n){return(0,o.yZ)(x,r.A,i.o2,e)(t,A||n)}))}}),g)})))()},openLiveStream:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w){return g(d().m((function g(){var I,P,O,S,T,j;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.openLiveStream(n,u,a,c,s,l,f,v,p,h,y,m,b,w);case 1:return S=d.v,T=null!==(I=null==e?void 0:e.serverIndex)&&void 0!==I?I:0,j=null===(O=null===(P=i.z9["MediaInfoApi.openLiveStream"])||void 0===P?void 0:P[T])||void 0===O?void 0:O.url,d.a(2,(function(t,n){return(0,o.yZ)(S,r.A,i.o2,e)(t,j||n)}))}}),g)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"closeLiveStream",value:function(e,t){var n=this;return b(this.configuration).closeLiveStream(e.liveStreamId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getBitrateTestBytes",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getBitrateTestBytes(t.size,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getPlaybackInfo",value:function(e,t){var n=this;return b(this.configuration).getPlaybackInfo(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getPostedPlaybackInfo",value:function(e,t){var n=this;return b(this.configuration).getPostedPlaybackInfo(e.itemId,e.userId,e.maxStreamingBitrate,e.startTimeTicks,e.audioStreamIndex,e.subtitleStreamIndex,e.maxAudioChannels,e.mediaSourceId,e.liveStreamId,e.autoOpenLiveStream,e.enableDirectPlay,e.enableDirectStream,e.enableTranscoding,e.allowVideoStreamCopy,e.allowAudioStreamCopy,e.playbackInfoDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"openLiveStream",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).openLiveStream(t.openToken,t.userId,t.playSessionId,t.maxStreamingBitrate,t.startTimeTicks,t.audioStreamIndex,t.subtitleStreamIndex,t.maxAudioChannels,t.itemId,t.enableDirectPlay,t.enableDirectStream,t.alwaysBurnInSubtitleWhenTranscoding,t.openLiveStreamDto,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},77612:function(e,t,n){n.d(t,{B:function(){return r}});var r={Default:"Default",AiredEpisodeOrder:"AiredEpisodeOrder",Album:"Album",AlbumArtist:"AlbumArtist",Artist:"Artist",DateCreated:"DateCreated",OfficialRating:"OfficialRating",DatePlayed:"DatePlayed",PremiereDate:"PremiereDate",StartDate:"StartDate",SortName:"SortName",Name:"Name",Random:"Random",Runtime:"Runtime",CommunityRating:"CommunityRating",ProductionYear:"ProductionYear",PlayCount:"PlayCount",CriticRating:"CriticRating",IsFolder:"IsFolder",IsUnplayed:"IsUnplayed",IsPlayed:"IsPlayed",SeriesSortName:"SeriesSortName",VideoBitRate:"VideoBitRate",AirTime:"AirTime",Studio:"Studio",IsFavoriteOrLiked:"IsFavoriteOrLiked",DateLastContentAdded:"DateLastContentAdded",SeriesDatePlayed:"SeriesDatePlayed",ParentIndexNumber:"ParentIndexNumber",IndexNumber:"IndexNumber"}},78880:function(e,t,n){n.d(t,{dn:function(){return c}}),n(14382),n(86584),n(26448),n(78557),n(73687),n(23630);var r=n(49805),o=n(58650),i=8096,u=8920;function a(e){var t=0;return e.protocol===o.fg?t+=5:t-=5,e.port===i.toString()?t+=2:e.port===u.toString()&&(t-=1),(0,r.r$)(e)&&(t+=3),t}function c(e){var t=[];try{var n=(0,r.Dl)(e);if((0,r.H)(e,n))return[n.toString()];if(t.push(n),n.protocol===o.W7){var c=(0,r.VC)(n);c.protocol=o.fg,t.push(c)}return t.filter(r.r$).forEach((function(e){if(e.protocol===o.W7){var n=(0,r.VC)(e);n.port=i.toString(),t.push(n)}else if(e.protocol===o.fg){var a=(0,r.VC)(e);a.port=i.toString(),t.push(a),(a=(0,r.VC)(e)).port=u.toString(),t.push(a)}})),t.sort((function(e,t){return a(t)-a(e)})),t.map((function(e){return e.toString()}))}catch(e){return console.warn(e),[]}}},79096:function(e,t,n){n.d(t,{S:function(){return r}});var r={Unknown:"Unknown",Actor:"Actor",Director:"Director",Composer:"Composer",Writer:"Writer",GuestStar:"GuestStar",Producer:"Producer",Conductor:"Conductor",Lyricist:"Lyricist",Arranger:"Arranger",Engineer:"Engineer",Mixer:"Mixer",Remixer:"Remixer",Creator:"Creator",Artist:"Artist",AlbumArtist:"AlbumArtist",Author:"Author",Illustrator:"Illustrator",Penciller:"Penciller",Inker:"Inker",Colorist:"Colorist",Letterer:"Letterer",CoverArtist:"CoverArtist",Editor:"Editor",Translator:"Translator"}},80270:function(e,t,n){n.d(t,{$:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getGenre:(n=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("getGenre","genreName",n),u="/Genres/{genreName}".replace("{".concat("genreName","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"GET"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getGenres:(t=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m,g,b,w,I,P){var O,S,T,j,x,C,A,R=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return O=R.length>18&&void 0!==R[18]?R[18]:{},S=new URL("/Genres",o.fY),e&&(T=e.baseOptions),j=p(p({method:"GET"},T),O),x={},C={},t.n=1,(0,o.YS)(x,"Authorization",e);case 1:return void 0!==n&&(C.startIndex=n),void 0!==r&&(C.limit=r),void 0!==i&&(C.searchTerm=i),void 0!==u&&(C.parentId=u),a&&(C.fields=a),c&&(C.excludeItemTypes=c),s&&(C.includeItemTypes=s),void 0!==l&&(C.isFavorite=l),void 0!==f&&(C.imageTypeLimit=f),v&&(C.enableImageTypes=v),void 0!==h&&(C.userId=h),void 0!==y&&(C.nameStartsWithOrGreater=y),void 0!==m&&(C.nameStartsWith=m),void 0!==g&&(C.nameLessThan=g),b&&(C.sortBy=b),w&&(C.sortOrder=w),void 0!==I&&(C.enableImages=I),void 0!==P&&(C.enableTotalRecordCount=P),(0,o.rZ)(S,C),A=T&&T.headers?T.headers:{},j.headers=p(p(p({},x),A),O.headers),t.a(2,{url:(0,o.uD)(S),options:j})}}),t)}))),function(e,n,r,o,i,u,a,c,s,l,d,f,v,p,h,y,m,g){return t.apply(this,arguments)})};var t,n}(e);return{getGenre:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getGenre(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["GenresApi.getGenre"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getGenres:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T){return g(d().m((function g(){var j,x,C,A,R,k;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getGenres(n,u,a,c,s,l,f,v,p,h,y,m,b,w,I,P,O,S,T);case 1:return A=d.v,R=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(C=null===(x=i.z9["GenresApi.getGenres"])||void 0===x?void 0:x[R])||void 0===C?void 0:C.url,d.a(2,(function(t,n){return(0,o.yZ)(A,r.A,i.o2,e)(t,k||n)}))}}),g)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getGenre",value:function(e,t){var n=this;return b(this.configuration).getGenre(e.genreName,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getGenres",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getGenres(t.startIndex,t.limit,t.searchTerm,t.parentId,t.fields,t.excludeItemTypes,t.includeItemTypes,t.isFavorite,t.imageTypeLimit,t.enableImageTypes,t.userId,t.nameStartsWithOrGreater,t.nameStartsWith,t.nameLessThan,t.sortBy,t.sortOrder,t.enableImages,t.enableTotalRecordCount,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},81098:function(e,t,n){n.d(t,{g:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteDevice:(u=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("deleteDevice","id",n),i=new URL("/Devices",o.fY),e&&(u=e.baseOptions),a=p(p({method:"DELETE"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return u.apply(this,arguments)}),getDeviceInfo:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("getDeviceInfo","id",n),i=new URL("/Devices/Info",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return i.apply(this,arguments)}),getDeviceOptions:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("getDeviceOptions","id",n),i=new URL("/Devices/Options",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),getDevices:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Devices",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),updateDeviceOptions:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("updateDeviceOptions","id",n),(0,o.WC)("updateDeviceOptions","deviceOptionsDto",r),u=new URL("/Devices/Options",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.id=n),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(r,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u}(e);return{deleteDevice:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteDevice(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DevicesApi.deleteDevice"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDeviceInfo:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDeviceInfo(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DevicesApi.getDeviceInfo"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDeviceOptions:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDeviceOptions(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DevicesApi.getDeviceOptions"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDevices:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDevices(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["DevicesApi.getDevices"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateDeviceOptions:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateDeviceOptions(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["DevicesApi.updateDeviceOptions"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"deleteDevice",value:function(e,t){var n=this;return b(this.configuration).deleteDevice(e.id,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getDeviceInfo",value:function(e,t){var n=this;return b(this.configuration).getDeviceInfo(e.id,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getDeviceOptions",value:function(e,t){var n=this;return b(this.configuration).getDeviceOptions(e.id,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getDevices",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getDevices(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"updateDeviceOptions",value:function(e,t){var n=this;return b(this.configuration).updateDeviceOptions(e.id,e.deviceOptionsDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},81273:function(e,t,n){n.d(t,{L:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{deleteSubtitle:(f=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("deleteSubtitle","itemId",n),(0,o.WC)("deleteSubtitle","index",r),u="/Videos/{itemId}/Subtitles/{index}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("index","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return f.apply(this,arguments)}),downloadRemoteSubtitles:(l=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("downloadRemoteSubtitles","itemId",n),(0,o.WC)("downloadRemoteSubtitles","subtitleId",r),u="/Items/{itemId}/RemoteSearch/Subtitles/{subtitleId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("subtitleId","}"),encodeURIComponent(String(r))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t){return l.apply(this,arguments)}),getFallbackFont:(s=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getFallbackFont","name",n),i="/FallbackFont/Fonts/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return s.apply(this,arguments)}),getFallbackFontList:(c=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/FallbackFont/Fonts",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return c.apply(this,arguments)}),getRemoteSubtitles:(a=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getRemoteSubtitles","subtitleId",n),i="/Providers/Subtitles/Subtitles/{subtitleId}".replace("{".concat("subtitleId","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),getSubtitle:(u=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y){var m,g,b,w,I,P,O,S,T=arguments;return d().w((function(t){for(;;)if(0===t.n)return m=T.length>12&&void 0!==T[12]?T[12]:{},(0,o.WC)("getSubtitle","routeItemId",n),(0,o.WC)("getSubtitle","routeMediaSourceId",r),(0,o.WC)("getSubtitle","routeIndex",i),(0,o.WC)("getSubtitle","routeFormat",u),g="/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/Stream.{routeFormat}".replace("{".concat("routeItemId","}"),encodeURIComponent(String(n))).replace("{".concat("routeMediaSourceId","}"),encodeURIComponent(String(r))).replace("{".concat("routeIndex","}"),encodeURIComponent(String(i))).replace("{".concat("routeFormat","}"),encodeURIComponent(String(u))),b=new URL(g,o.fY),e&&(w=e.baseOptions),I=p(p({method:"GET"},w),m),P={},O={},void 0!==a&&(O.itemId=a),void 0!==c&&(O.mediaSourceId=c),void 0!==s&&(O.index=s),void 0!==l&&(O.format=l),void 0!==f&&(O.endPositionTicks=f),void 0!==v&&(O.copyTimestamps=v),void 0!==h&&(O.addVttTimeMap=h),void 0!==y&&(O.startPositionTicks=y),(0,o.rZ)(b,O),S=w&&w.headers?w.headers:{},I.headers=p(p(p({},P),S),m.headers),t.a(2,{url:(0,o.uD)(b),options:I})}),t)}))),function(e,t,n,r,o,i,a,c,s,l,d,f){return u.apply(this,arguments)}),getSubtitlePlaylist:(i=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>4&&void 0!==m[4]?m[4]:{},(0,o.WC)("getSubtitlePlaylist","itemId",n),(0,o.WC)("getSubtitlePlaylist","index",r),(0,o.WC)("getSubtitlePlaylist","mediaSourceId",i),(0,o.WC)("getSubtitlePlaylist","segmentLength",u),c="/Videos/{itemId}/{mediaSourceId}/Subtitles/{index}/subtitles.m3u8".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("index","}"),encodeURIComponent(String(r))).replace("{".concat("mediaSourceId","}"),encodeURIComponent(String(i))),s=new URL(c,o.fY),e&&(l=e.baseOptions),f=p(p({method:"GET"},l),a),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==u&&(h.segmentLength=u),(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),a.headers),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,r){return i.apply(this,arguments)}),getSubtitleWithTicks:(r=g(d().m((function t(n,r,i,u,a,c,s,l,f,v,h,y,m){var g,b,w,I,P,O,S,T,j=arguments;return d().w((function(t){for(;;)if(0===t.n)return g=j.length>13&&void 0!==j[13]?j[13]:{},(0,o.WC)("getSubtitleWithTicks","routeItemId",n),(0,o.WC)("getSubtitleWithTicks","routeMediaSourceId",r),(0,o.WC)("getSubtitleWithTicks","routeIndex",i),(0,o.WC)("getSubtitleWithTicks","routeStartPositionTicks",u),(0,o.WC)("getSubtitleWithTicks","routeFormat",a),b="/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}".replace("{".concat("routeItemId","}"),encodeURIComponent(String(n))).replace("{".concat("routeMediaSourceId","}"),encodeURIComponent(String(r))).replace("{".concat("routeIndex","}"),encodeURIComponent(String(i))).replace("{".concat("routeStartPositionTicks","}"),encodeURIComponent(String(u))).replace("{".concat("routeFormat","}"),encodeURIComponent(String(a))),w=new URL(b,o.fY),e&&(I=e.baseOptions),P=p(p({method:"GET"},I),g),O={},S={},void 0!==c&&(S.itemId=c),void 0!==s&&(S.mediaSourceId=s),void 0!==l&&(S.index=l),void 0!==f&&(S.startPositionTicks=f),void 0!==v&&(S.format=v),void 0!==h&&(S.endPositionTicks=h),void 0!==y&&(S.copyTimestamps=y),void 0!==m&&(S.addVttTimeMap=m),(0,o.rZ)(w,S),T=I&&I.headers?I.headers:{},P.headers=p(p(p({},O),T),g.headers),t.a(2,{url:(0,o.uD)(w),options:P})}),t)}))),function(e,t,n,o,i,u,a,c,s,l,d,f,v){return r.apply(this,arguments)}),searchRemoteSubtitles:(n=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>3&&void 0!==y[3]?y[3]:{},(0,o.WC)("searchRemoteSubtitles","itemId",n),(0,o.WC)("searchRemoteSubtitles","language",r),a="/Items/{itemId}/RemoteSearch/Subtitles/{language}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("language","}"),encodeURIComponent(String(r))),c=new URL(a,o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),u),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==i&&(v.isPerfectMatch=i),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,r){return n.apply(this,arguments)}),uploadSubtitle:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("uploadSubtitle","itemId",n),(0,o.WC)("uploadSubtitle","uploadSubtitleDto",r),u="/Videos/{itemId}/Subtitles".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s,l,f}(e);return{deleteSubtitle:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.deleteSubtitle(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SubtitleApi.deleteSubtitle"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},downloadRemoteSubtitles:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.downloadRemoteSubtitles(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SubtitleApi.downloadRemoteSubtitles"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getFallbackFont:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getFallbackFont(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SubtitleApi.getFallbackFont"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getFallbackFontList:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getFallbackFontList(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["SubtitleApi.getFallbackFontList"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getRemoteSubtitles:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRemoteSubtitles(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["SubtitleApi.getRemoteSubtitles"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getSubtitle:function(n,u,a,c,s,l,f,v,p,h,y,m,b){return g(d().m((function g(){var w,I,P,O,S,T;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSubtitle(n,u,a,c,s,l,f,v,p,h,y,m,b);case 1:return O=d.v,S=null!==(w=null==e?void 0:e.serverIndex)&&void 0!==w?w:0,T=null===(P=null===(I=i.z9["SubtitleApi.getSubtitle"])||void 0===I?void 0:I[S])||void 0===P?void 0:P.url,d.a(2,(function(t,n){return(0,o.yZ)(O,r.A,i.o2,e)(t,T||n)}))}}),g)})))()},getSubtitlePlaylist:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getSubtitlePlaylist(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["SubtitleApi.getSubtitlePlaylist"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()},getSubtitleWithTicks:function(n,u,a,c,s,l,f,v,p,h,y,m,b,w){return g(d().m((function g(){var I,P,O,S,T,j;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getSubtitleWithTicks(n,u,a,c,s,l,f,v,p,h,y,m,b,w);case 1:return S=d.v,T=null!==(I=null==e?void 0:e.serverIndex)&&void 0!==I?I:0,j=null===(O=null===(P=i.z9["SubtitleApi.getSubtitleWithTicks"])||void 0===P?void 0:P[T])||void 0===O?void 0:O.url,d.a(2,(function(t,n){return(0,o.yZ)(S,r.A,i.o2,e)(t,j||n)}))}}),g)})))()},searchRemoteSubtitles:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.searchRemoteSubtitles(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["SubtitleApi.searchRemoteSubtitles"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},uploadSubtitle:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.uploadSubtitle(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["SubtitleApi.uploadSubtitle"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"deleteSubtitle",value:function(e,t){var n=this;return b(this.configuration).deleteSubtitle(e.itemId,e.index,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"downloadRemoteSubtitles",value:function(e,t){var n=this;return b(this.configuration).downloadRemoteSubtitles(e.itemId,e.subtitleId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getFallbackFont",value:function(e,t){var n=this;return b(this.configuration).getFallbackFont(e.name,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getFallbackFontList",value:function(e){var t=this;return b(this.configuration).getFallbackFontList(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getRemoteSubtitles",value:function(e,t){var n=this;return b(this.configuration).getRemoteSubtitles(e.subtitleId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSubtitle",value:function(e,t){var n=this;return b(this.configuration).getSubtitle(e.routeItemId,e.routeMediaSourceId,e.routeIndex,e.routeFormat,e.itemId,e.mediaSourceId,e.index,e.format,e.endPositionTicks,e.copyTimestamps,e.addVttTimeMap,e.startPositionTicks,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSubtitlePlaylist",value:function(e,t){var n=this;return b(this.configuration).getSubtitlePlaylist(e.itemId,e.index,e.mediaSourceId,e.segmentLength,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSubtitleWithTicks",value:function(e,t){var n=this;return b(this.configuration).getSubtitleWithTicks(e.routeItemId,e.routeMediaSourceId,e.routeIndex,e.routeStartPositionTicks,e.routeFormat,e.itemId,e.mediaSourceId,e.index,e.startPositionTicks,e.format,e.endPositionTicks,e.copyTimestamps,e.addVttTimeMap,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"searchRemoteSubtitles",value:function(e,t){var n=this;return b(this.configuration).searchRemoteSubtitles(e.itemId,e.language,e.isPerfectMatch,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"uploadSubtitle",value:function(e,t){var n=this;return b(this.configuration).uploadSubtitle(e.itemId,e.uploadSubtitleDto,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},86084:function(e,t,n){n.d(t,{k:function(){return r}});var r={New:"New",InProgress:"InProgress",Completed:"Completed",Cancelled:"Cancelled",ConflictedOk:"ConflictedOk",ConflictedNotOk:"ConflictedNotOk",Error:"Error"}},87082:function(e,t,n){n.d(t,{U:function(){return o},m:function(){return r}});var r="10.11.0",o="10.10.0"},92426:function(e,t,n){n.d(t,{s:function(){return r}});var r={IsFolder:"IsFolder",IsNotFolder:"IsNotFolder",IsUnplayed:"IsUnplayed",IsPlayed:"IsPlayed",IsFavorite:"IsFavorite",IsResumable:"IsResumable",Likes:"Likes",Dislikes:"Dislikes",IsFavoriteOrLikes:"IsFavoriteOrLikes"}},94732:function(e,t,n){n.d(t,{T:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getConfiguration:(a=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Configuration",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return a.apply(this,arguments)}),getDefaultMetadataOptions:(u=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/System/Configuration/MetadataOptions/Default",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return u.apply(this,arguments)}),getNamedConfiguration:(i=g(d().m((function t(n){var r,i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=v.length>1&&void 0!==v[1]?v[1]:{},(0,o.WC)("getNamedConfiguration","key",n),i="/System/Configuration/{key}".replace("{".concat("key","}"),encodeURIComponent(String(n))),u=new URL(i,o.fY),e&&(a=e.baseOptions),c=p(p({method:"GET"},a),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),r.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e){return i.apply(this,arguments)}),updateBrandingConfiguration:(r=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("updateBrandingConfiguration","brandingOptionsDto",n),i=new URL("/System/Configuration/Branding",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return r.apply(this,arguments)}),updateConfiguration:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("updateConfiguration","serverConfiguration",n),i=new URL("/System/Configuration",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),updateNamedConfiguration:(t=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=h.length>2&&void 0!==h[2]?h[2]:{},(0,o.WC)("updateNamedConfiguration","key",n),(0,o.WC)("updateNamedConfiguration","body",r),u="/System/Configuration/{key}".replace("{".concat("key","}"),encodeURIComponent(String(n))),a=new URL(u,o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),i),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,u,a}(e);return{getConfiguration:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getConfiguration(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["ConfigurationApi.getConfiguration"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getDefaultMetadataOptions:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getDefaultMetadataOptions(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["ConfigurationApi.getDefaultMetadataOptions"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getNamedConfiguration:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getNamedConfiguration(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ConfigurationApi.getNamedConfiguration"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateBrandingConfiguration:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.updateBrandingConfiguration(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ConfigurationApi.updateBrandingConfiguration"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateConfiguration:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.updateConfiguration(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["ConfigurationApi.updateConfiguration"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateNamedConfiguration:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateNamedConfiguration(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["ConfigurationApi.updateNamedConfiguration"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"getConfiguration",value:function(e){var t=this;return b(this.configuration).getConfiguration(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getDefaultMetadataOptions",value:function(e){var t=this;return b(this.configuration).getDefaultMetadataOptions(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getNamedConfiguration",value:function(e,t){var n=this;return b(this.configuration).getNamedConfiguration(e.key,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateBrandingConfiguration",value:function(e,t){var n=this;return b(this.configuration).updateBrandingConfiguration(e.brandingOptionsDto,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateConfiguration",value:function(e,t){var n=this;return b(this.configuration).updateConfiguration(e.serverConfiguration,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateNamedConfiguration",value:function(e,t){var n=this;return b(this.configuration).updateNamedConfiguration(e.key,e.body,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},96802:function(e,t,n){n.d(t,{k:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{authorizeQuickConnect:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("authorizeQuickConnect","code",n),u=new URL("/QuickConnect/Authorize",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.code=n),void 0!==r&&(l.userId=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),getQuickConnectEnabled:(r=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/QuickConnect/Enabled",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return r.apply(this,arguments)}),getQuickConnectState:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)if(0===t.n)return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("getQuickConnectState","secret",n),i=new URL("/QuickConnect/Connect",o.fY),e&&(u=e.baseOptions),a=p(p({method:"GET"},u),r),c={},s={},void 0!==n&&(s.secret=n),(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:a})}),t)}))),function(e){return n.apply(this,arguments)}),initiateQuickConnect:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/QuickConnect/Initiate",o.fY),e&&(i=e.baseOptions),u=p(p({method:"POST"},i),n),a={},c={},(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i}(e);return{authorizeQuickConnect:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.authorizeQuickConnect(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["QuickConnectApi.authorizeQuickConnect"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getQuickConnectEnabled:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getQuickConnectEnabled(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["QuickConnectApi.getQuickConnectEnabled"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getQuickConnectState:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getQuickConnectState(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["QuickConnectApi.getQuickConnectState"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},initiateQuickConnect:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.initiateQuickConnect(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["QuickConnectApi.initiateQuickConnect"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"authorizeQuickConnect",value:function(e,t){var n=this;return b(this.configuration).authorizeQuickConnect(e.code,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getQuickConnectEnabled",value:function(e){var t=this;return b(this.configuration).getQuickConnectEnabled(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getQuickConnectState",value:function(e,t){var n=this;return b(this.configuration).getQuickConnectState(e.secret,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"initiateQuickConnect",value:function(e){var t=this;return b(this.configuration).initiateQuickConnect(e).then((function(e){return e(t.axios,t.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},97138:function(e,t,n){n.d(t,{XL:function(){return r.X}}),n(78880);var r=n(68777);n(49805),n(58381)},98183:function(e,t,n){n.d(t,{X:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{addMediaPath:(s=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},(0,o.WC)("addMediaPath","mediaPathDto",n),u=new URL("/Library/VirtualFolders/Paths",o.fY),e&&(a=e.baseOptions),c=p(p({method:"POST"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==r&&(l.refreshLibrary=r),s["Content-Type"]="application/json",(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return s.apply(this,arguments)}),addVirtualFolder:(c=g(d().m((function t(n,r,i,u,a){var c,s,l,f,v,h,y,m=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return c=m.length>5&&void 0!==m[5]?m[5]:{},s=new URL("/Library/VirtualFolders",o.fY),e&&(l=e.baseOptions),f=p(p({method:"POST"},l),c),v={},h={},t.n=1,(0,o.YS)(v,"Authorization",e);case 1:return void 0!==n&&(h.name=n),void 0!==r&&(h.collectionType=r),i&&(h.paths=i),void 0!==u&&(h.refreshLibrary=u),v["Content-Type"]="application/json",(0,o.rZ)(s,h),y=l&&l.headers?l.headers:{},f.headers=p(p(p({},v),y),c.headers),f.data=(0,o.Np)(a,f,e),t.a(2,{url:(0,o.uD)(s),options:f})}}),t)}))),function(e,t,n,r,o){return c.apply(this,arguments)}),getVirtualFolders:(a=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Library/VirtualFolders",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return a.apply(this,arguments)}),removeMediaPath:(u=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=h.length>3&&void 0!==h[3]?h[3]:{},a=new URL("/Library/VirtualFolders/Paths",o.fY),e&&(c=e.baseOptions),s=p(p({method:"DELETE"},c),u),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==n&&(f.name=n),void 0!==r&&(f.path=r),void 0!==i&&(f.refreshLibrary=i),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),u.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t,n){return u.apply(this,arguments)}),removeVirtualFolder:(i=g(d().m((function t(n,r){var i,u,a,c,s,l,f,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return i=v.length>2&&void 0!==v[2]?v[2]:{},u=new URL("/Library/VirtualFolders",o.fY),e&&(a=e.baseOptions),c=p(p({method:"DELETE"},a),i),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.name=n),void 0!==r&&(l.refreshLibrary=r),(0,o.rZ)(u,l),f=a&&a.headers?a.headers:{},c.headers=p(p(p({},s),f),i.headers),t.a(2,{url:(0,o.uD)(u),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),renameVirtualFolder:(r=g(d().m((function t(n,r,i){var u,a,c,s,l,f,v,h=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return u=h.length>3&&void 0!==h[3]?h[3]:{},a=new URL("/Library/VirtualFolders/Name",o.fY),e&&(c=e.baseOptions),s=p(p({method:"POST"},c),u),l={},f={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==n&&(f.name=n),void 0!==r&&(f.newName=r),void 0!==i&&(f.refreshLibrary=i),(0,o.rZ)(a,f),v=c&&c.headers?c.headers:{},s.headers=p(p(p({},l),v),u.headers),t.a(2,{url:(0,o.uD)(a),options:s})}}),t)}))),function(e,t,n){return r.apply(this,arguments)}),updateLibraryOptions:(n=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},i=new URL("/Library/VirtualFolders/LibraryOptions",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return n.apply(this,arguments)}),updateMediaPath:(t=g(d().m((function t(n){var r,i,u,a,c,s,l,f=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=f.length>1&&void 0!==f[1]?f[1]:{},(0,o.WC)("updateMediaPath","updateMediaPathRequestDto",n),i=new URL("/Library/VirtualFolders/Paths/Update",o.fY),e&&(u=e.baseOptions),a=p(p({method:"POST"},u),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",(0,o.rZ)(i,s),l=u&&u.headers?u.headers:{},a.headers=p(p(p({},c),l),r.headers),a.data=(0,o.Np)(n,a,e),t.a(2,{url:(0,o.uD)(i),options:a})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,u,a,c,s}(e);return{addMediaPath:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.addMediaPath(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryStructureApi.addMediaPath"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},addVirtualFolder:function(n,u,a,c,s,l){return g(d().m((function f(){var v,p,h,y,m,g;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.addVirtualFolder(n,u,a,c,s,l);case 1:return y=d.v,m=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,g=null===(h=null===(p=i.z9["LibraryStructureApi.addVirtualFolder"])||void 0===p?void 0:p[m])||void 0===h?void 0:h.url,d.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,g||n)}))}}),f)})))()},getVirtualFolders:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getVirtualFolders(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LibraryStructureApi.getVirtualFolders"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},removeMediaPath:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.removeMediaPath(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["LibraryStructureApi.removeMediaPath"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},removeVirtualFolder:function(n,u,a){return g(d().m((function c(){var s,l,f,v,p,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeVirtualFolder(n,u,a);case 1:return v=c.v,p=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=i.z9["LibraryStructureApi.removeVirtualFolder"])||void 0===l?void 0:l[p])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},renameVirtualFolder:function(n,u,a,c){return g(d().m((function s(){var l,f,v,p,h,y;return d().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.renameVirtualFolder(n,u,a,c);case 1:return p=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,y=null===(v=null===(f=i.z9["LibraryStructureApi.renameVirtualFolder"])||void 0===f?void 0:f[h])||void 0===v?void 0:v.url,s.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,y||n)}))}}),s)})))()},updateLibraryOptions:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.updateLibraryOptions(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryStructureApi.updateLibraryOptions"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateMediaPath:function(n,u){return g(d().m((function a(){var c,s,l,f,v,p;return d().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.updateMediaPath(n,u);case 1:return f=a.v,v=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,p=null===(l=null===(s=i.z9["LibraryStructureApi.updateMediaPath"])||void 0===s?void 0:s[v])||void 0===l?void 0:l.url,a.a(2,(function(t,n){return(0,o.yZ)(f,r.A,i.o2,e)(t,p||n)}))}}),a)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"addMediaPath",value:function(e,t){var n=this;return b(this.configuration).addMediaPath(e.mediaPathDto,e.refreshLibrary,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"addVirtualFolder",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).addVirtualFolder(t.name,t.collectionType,t.paths,t.refreshLibrary,t.addVirtualFolderDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getVirtualFolders",value:function(e){var t=this;return b(this.configuration).getVirtualFolders(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"removeMediaPath",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).removeMediaPath(t.name,t.path,t.refreshLibrary,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"removeVirtualFolder",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).removeVirtualFolder(t.name,t.refreshLibrary,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"renameVirtualFolder",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).renameVirtualFolder(t.name,t.newName,t.refreshLibrary,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"updateLibraryOptions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).updateLibraryOptions(t.updateLibraryOptionsDto,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"updateMediaPath",value:function(e,t){var n=this;return b(this.configuration).updateMediaPath(e.updateMediaPathRequestDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},98350:function(e,t,n){n.d(t,{f:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getQueryFilters:(n=g(d().m((function t(n,r,i,u,a,c,s,l,f,v){var h,y,m,g,b,w,I,P=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return h=P.length>10&&void 0!==P[10]?P[10]:{},y=new URL("/Items/Filters2",o.fY),e&&(m=e.baseOptions),g=p(p({method:"GET"},m),h),b={},w={},t.n=1,(0,o.YS)(b,"Authorization",e);case 1:return void 0!==n&&(w.userId=n),void 0!==r&&(w.parentId=r),i&&(w.includeItemTypes=i),void 0!==u&&(w.isAiring=u),void 0!==a&&(w.isMovie=a),void 0!==c&&(w.isSports=c),void 0!==s&&(w.isKids=s),void 0!==l&&(w.isNews=l),void 0!==f&&(w.isSeries=f),void 0!==v&&(w.recursive=v),(0,o.rZ)(y,w),I=m&&m.headers?m.headers:{},g.headers=p(p(p({},b),I),h.headers),t.a(2,{url:(0,o.uD)(y),options:g})}}),t)}))),function(e,t,r,o,i,u,a,c,s,l){return n.apply(this,arguments)}),getQueryFiltersLegacy:(t=g(d().m((function t(n,r,i,u){var a,c,s,l,f,v,h,y=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return a=y.length>4&&void 0!==y[4]?y[4]:{},c=new URL("/Items/Filters",o.fY),e&&(s=e.baseOptions),l=p(p({method:"GET"},s),a),f={},v={},t.n=1,(0,o.YS)(f,"Authorization",e);case 1:return void 0!==n&&(v.userId=n),void 0!==r&&(v.parentId=r),i&&(v.includeItemTypes=i),u&&(v.mediaTypes=u),(0,o.rZ)(c,v),h=s&&s.headers?s.headers:{},l.headers=p(p(p({},f),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,n,r,o){return t.apply(this,arguments)})};var t,n}(e);return{getQueryFilters:function(n,u,a,c,s,l,f,v,p,h,y){return g(d().m((function m(){var g,b,w,I,P,O;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getQueryFilters(n,u,a,c,s,l,f,v,p,h,y);case 1:return I=d.v,P=null!==(g=null==e?void 0:e.serverIndex)&&void 0!==g?g:0,O=null===(w=null===(b=i.z9["FilterApi.getQueryFilters"])||void 0===b?void 0:b[P])||void 0===w?void 0:w.url,d.a(2,(function(t,n){return(0,o.yZ)(I,r.A,i.o2,e)(t,O||n)}))}}),m)})))()},getQueryFiltersLegacy:function(n,u,a,c,s){return g(d().m((function l(){var f,v,p,h,y,m;return d().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getQueryFiltersLegacy(n,u,a,c,s);case 1:return h=l.v,y=null!==(f=null==e?void 0:e.serverIndex)&&void 0!==f?f:0,m=null===(p=null===(v=i.z9["FilterApi.getQueryFiltersLegacy"])||void 0===v?void 0:v[y])||void 0===p?void 0:p.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,m||n)}))}}),l)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,r=[{key:"getQueryFilters",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getQueryFilters(t.userId,t.parentId,t.includeItemTypes,t.isAiring,t.isMovie,t.isSports,t.isKids,t.isNews,t.isSeries,t.recursive,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getQueryFiltersLegacy",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return b(this.configuration).getQueryFiltersLegacy(t.userId,t.parentId,t.includeItemTypes,t.mediaTypes,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}},98428:function(e,t,n){n.d(t,{A:function(){return r}});var r={SimilarToRecentlyPlayed:"SimilarToRecentlyPlayed",SimilarToLikedItem:"SimilarToLikedItem",HasDirectorFromRecentlyPlayed:"HasDirectorFromRecentlyPlayed",HasActorFromRecentlyPlayed:"HasActorFromRecentlyPlayed",HasLikedDirector:"HasLikedDirector",HasLikedActor:"HasLikedActor"}},99193:function(e,t,n){n.d(t,{S:function(){return I}}),n(29305),n(32733),n(84701),n(81678),n(2623),n(14382),n(44962),n(4754),n(10849),n(70389),n(94),n(33087),n(36947),n(36457),n(88908),n(26437),n(83810),n(52697),n(78557),n(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(83202),o=n(19010),i=n(42934);function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function d(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof a?r:a,s=Object.create(c.prototype);return f(s,"_invoke",function(n,r,o){var i,a,c,s=0,l=o||[],d=!1,f={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,a=0,c=e,f.n=n,u}};function v(n,r){for(a=n,c=r,t=0;!d&&s&&!o&&t<l.length;t++){var o,i=l[t],v=f.p,p=i[2];n>3?(o=p===r)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=n<2&&v<i[1])?(a=0,f.v=r,f.n=i[1]):v<p&&(o=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,a=0))}if(o||n>1)return u;throw d=!0,r}return function(o,l,p){if(s>1)throw TypeError("Generator is already running");for(d&&1===l&&v(l,p),a=l,c=p;(t=a<2?e:c)||!d;){i||(a?a<3?(a>1&&(f.n=-1),v(a,c)):f.n=c:f.v=c);try{if(s=2,i){if(a||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,a<2&&(a=0)}else 1===a&&(t=i.return)&&t.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=e}else if((t=(d=f.n<0)?c:n.call(r,f))!==u)break}catch(t){i=e,a=1,c=t}finally{s=1}}return{value:t,done:d}}}(n,o,i),!0),s}var u={};function a(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(f(t={},r,(function(){return this})),t),v=s.prototype=a.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,f(e,o,"GeneratorFunction")),e.prototype=Object.create(v),e}return c.prototype=s,f(v,"constructor",s),f(s,"constructor",c),c.displayName="GeneratorFunction",f(s,o,"GeneratorFunction"),f(v),f(v,o,"Generator"),f(v,r,(function(){return this})),f(v,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:p}})()}function f(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}f=function(e,t,n,r){if(t)o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n;else{var i=function(t,n){f(e,t,(function(e){return this._invoke(t,n,e)}))};i("next",0),i("throw",1),i("return",2)}},f(e,t,n,r)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e){if("object"!=u(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u(t)?t:t+""}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)}))}}var b=function(e){var t=function(e){return{getCountries:(i=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Localization/Countries",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return i.apply(this,arguments)}),getCultures:(r=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Localization/Cultures",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return r.apply(this,arguments)}),getLocalizationOptions:(n=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Localization/Options",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return n.apply(this,arguments)}),getParentalRatings:(t=g(d().m((function t(){var n,r,i,u,a,c,s,l=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Localization/ParentalRatings",o.fY),e&&(i=e.baseOptions),u=p(p({method:"GET"},i),n),a={},c={},t.n=1,(0,o.YS)(a,"Authorization",e);case 1:return(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},u.headers=p(p(p({},a),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:u})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i}(e);return{getCountries:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getCountries(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LocalizationApi.getCountries"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getCultures:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getCultures(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LocalizationApi.getCultures"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getLocalizationOptions:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getLocalizationOptions(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LocalizationApi.getLocalizationOptions"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getParentalRatings:function(n){return g(d().m((function u(){var a,c,s,l,f,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getParentalRatings(n);case 1:return l=u.v,f=null!==(a=null==e?void 0:e.serverIndex)&&void 0!==a?a:0,v=null===(s=null===(c=i.z9["LocalizationApi.getParentalRatings"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,u.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,v||n)}))}}),u)})))()}}},w=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,c()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(t,e),n=t,(r=[{key:"getCountries",value:function(e){var t=this;return b(this.configuration).getCountries(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getCultures",value:function(e){var t=this;return b(this.configuration).getCultures(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getLocalizationOptions",value:function(e){var t=this;return b(this.configuration).getLocalizationOptions(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getParentalRatings",value:function(e){var t=this;return b(this.configuration).getParentalRatings(e).then((function(e){return e(t.axios,t.basePath)}))}}])&&a(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);function I(e){return new w(e.configuration,void 0,e.axiosInstance)}}}]);