1/*! For license information please see [email protected] */ 2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[45642],{39362:function(e,t,n){n.d(t,{EF:function(){return o},_V:function(){return i},ud:function(){return r}});var r="Authorization",o="Accept-Language",i="ApiKey"},54787:function(e,t,n){n.d(t,{jm:function(){return w}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{authenticateUserByName:(m=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)if(0===t.n)return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("authenticateUserByName","authenticateUserByName",n),i=new URL("/Users/AuthenticateByName",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),s={},(c={})["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}),t)}))),function(e){return m.apply(this,arguments)}),authenticateWithQuickConnect:(h=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)if(0===t.n)return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("authenticateWithQuickConnect","quickConnectDto",n),i=new URL("/Users/AuthenticateWithQuickConnect",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),s={},(c={})["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}),t)}))),function(e){return h.apply(this,arguments)}),authorizeQuickConnect:(p=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},(0,o.WC)("authorizeQuickConnect","code",n),a=new URL("/QuickConnect/Authorize",o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),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),s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return p.apply(this,arguments)}),createKey:(d=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("createKey","app",n),i=new URL("/Auth/Keys",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.app=n),c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return d.apply(this,arguments)}),forgotPassword:(l=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)if(0===t.n)return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("forgotPassword","forgotPasswordDto",n),i=new URL("/Users/ForgotPassword",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),s={},(c={})["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}),t)}))),function(e){return l.apply(this,arguments)}),forgotPasswordPin:(s=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)if(0===t.n)return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("forgotPasswordPin","forgotPasswordPinDto",n),i=new URL("/Users/ForgotPassword/Pin",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),s={},(c={})["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}),t)}))),function(e){return s.apply(this,arguments)}),getAuthProviders:(c=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return c.apply(this,arguments)}),getKeys:(u=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return u.apply(this,arguments)}),getPasswordResetProviders:(a=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return a.apply(this,arguments)}),getQuickConnectEnabled:(i=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),c={},(u={}).Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}),t)}))),function(){return i.apply(this,arguments)}),getQuickConnectState:(r=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)if(0===t.n)return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("getQuickConnectState","secret",n),i=new URL("/QuickConnect/Connect",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},void 0!==n&&(s.secret=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}),t)}))),function(e){return r.apply(this,arguments)}),initiateQuickConnect:(n=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"POST"},i),n),c={},(u={}).Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}),t)}))),function(){return n.apply(this,arguments)}),revokeKey:(t=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("revokeKey","key",n),i="/Auth/Keys/{key}".replace("{".concat("key","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"DELETE"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,a,u,c,s,l,d,p,h,m}(e);return{authenticateUserByName:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.authenticateUserByName(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["AuthenticationApi.authenticateUserByName"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},authenticateWithQuickConnect:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.authenticateWithQuickConnect(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["AuthenticationApi.authenticateWithQuickConnect"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},authorizeQuickConnect:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.authorizeQuickConnect(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["AuthenticationApi.authorizeQuickConnect"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},createKey:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.createKey(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["AuthenticationApi.createKey"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},forgotPassword:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.forgotPassword(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["AuthenticationApi.forgotPassword"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},forgotPasswordPin:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.forgotPasswordPin(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["AuthenticationApi.forgotPasswordPin"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getAuthProviders:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getAuthProviders(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["AuthenticationApi.getAuthProviders"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getKeys:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getKeys(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["AuthenticationApi.getKeys"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPasswordResetProviders:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPasswordResetProviders(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["AuthenticationApi.getPasswordResetProviders"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getQuickConnectEnabled:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getQuickConnectEnabled(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["AuthenticationApi.getQuickConnectEnabled"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getQuickConnectState:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getQuickConnectState(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["AuthenticationApi.getQuickConnectState"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},initiateQuickConnect:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.initiateQuickConnect(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["AuthenticationApi.initiateQuickConnect"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},revokeKey:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.revokeKey(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["AuthenticationApi.revokeKey"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,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"==a(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:"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:"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:"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:"getAuthProviders",value:function(e){var t=this;return b(this.configuration).getAuthProviders(e).then((function(e){return e(t.axios,t.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:"getPasswordResetProviders",value:function(e){var t=this;return b(this.configuration).getPasswordResetProviders(e).then((function(e){return e(t.axios,t.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)}))}},{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)}))}}])&&u(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi)},42934:function(e,t,n){n.d(t,{Q0:function(){return h},o2:function(){return p},yi:function(){return v},z9:function(){return m}}),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(74542);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(a())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&u(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}}),u(n,e)},i(e)}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}
2function 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,f(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 f(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 d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var p="http://localhost".replace(/\/+$/,""),v=l((function e(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.A;d(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,u,s;return d(this,t),(i=this,u=t,s=[n],u=c(u),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,a()?Reflect.construct(u,s||[],c(i).constructor):u.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&&u(e,t)}(t,e),l(t)}(i(Error)),m={}},19010:function(e,t,n){n.d(t,{Np:function(){return y},WC:function(){return d},YS:function(){return p},fY:function(){return f},rZ:function(){return h},uD:function(){return g},yZ:function(){return b}}),n(29305),n(32733),n(84701),n(81678),n(24776),n(14382),n(69892),n(44962),n(4754),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(92745),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){a(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 a(e,t,n){return(t=function(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+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 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 u?r:u,l=Object.create(c.prototype);return s(l,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;c=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),l}var a={};function u(){}function l(){}function f(){}t=Object.getPrototypeOf;var d=[][r]?t(t([][r]())):(s(t={},r,(function(){return this})),t),p=f.prototype=u.prototype=Object.create(d);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,s(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return l.prototype=f,s(p,"constructor",f),s(f,"constructor",l),l.displayName="GeneratorFunction",s(f,o,"GeneratorFunction"),s(p),s(p,o,"Generator"),s(p,r,(function(){return this})),s(p,"toString",(function(){return"[object Generator]"})),(c=function(){return{w:i,m:v}})()}function s(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}s=function(e,t,n,r){function i(t,n){s(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},s(e,t,n,r)}function l(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}var f="https://example.com",d=function(e,t,n){if(null==n)throw new r.Q0(t,"Required parameter ".concat(t," was null or undefined when calling ").concat(e,"."))},p=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 a(e){l(i,r,o,a,u,"next",e)}function u(e){l(i,r,o,a,u,"throw",e)}a(void 0)}))});return function(e,n,r){return t.apply(this,arguments)}}();function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";null!=t&&("object"===u(t)?Array.isArray(t)||t instanceof Set?t.forEach((function(t){return v(e,t,n)})):Object.keys(t).forEach((function(r){return v(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];v(t,r),e.search=t.toString()},m=function(e,t){return t instanceof Set?Array.from(t):t},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:{},m):e||""},g=function(e){return e.pathname+e.search+e.hash},b=function(e,t,n,r){return function(){var o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,c=i(i({},e.options),{},{url:(a.defaults.baseURL?"":null!==(o=null==r?void 0:r.basePath)&&void 0!==o?o:u)+e.url});return a.request(c)}}},44249:function(e,t,n){n.d(t,{x:function(){return r}});var r={Name:"Name",Overiew:"Overiew",ShortOverview:"ShortOverview",Type:"Type",DateCreated:"DateCreated",Username:"Username",LogSeverity:"LogSeverity"}},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"}},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"}},14313:function(e,t,n){n.d(t,{o:function(){return r}});var r={Sunday:"Sunday",Monday:"Monday",Tuesday:"Tuesday",Wednesday:"Wednesday",Thursday:"Thursday",Frid
2ay:"Friday",Saturday:"Saturday"}},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"}},40948:function(e,t,n){n.d(t,{F:function(){return r}});var r={ContactAdmin:"ContactAdmin",PinCode:"PinCode",InNetworkRequired:"InNetworkRequired"}},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"}},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"}},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"}},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"}},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"}},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"}},1164:function(e,t,n){n.d(t,{i:function(){return r}});var r={FileSystem:"FileSystem",Remote:"Remote",Virtual:"Virtual",Offline:"Offline"}},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"}},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"}},45251:function(e,t,n){n.d(t,{z:function(){return r}});var r={Unknown:"Unknown",Video:"Video",Audio:"Audio",Photo:"Photo",Book:"Book"}},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
2:"Penciller",Inker:"Inker",Colorist:"Colorist",Letterer:"Letterer",CoverArtist:"CoverArtist",Editor:"Editor",Translator:"Translator",Narrator:"Narrator"}},15122:function(e,t,n){n.d(t,{V:function(){return r}});var r={NotAllowed:"NotAllowed",NoCompatibleStream:"NoCompatibleStream",RateLimitExceeded:"RateLimitExceeded"}},25868:function(e,t,n){n.d(t,{E:function(){return r}});var r={Default:"Default",Shuffle:"Shuffle"}},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"}},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"}},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"}},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"}},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"}},88511:function(e,t,n){n.d(t,{p:function(){return r}});var r={RepeatNone:"RepeatNone",RepeatAll:"RepeatAll",RepeatOne:"RepeatOne"}},68304:function(e,t,n){n.d(t,{m:function(){return r}});var r={Continuing:"Continuing",Ended:"Ended",Unreleased:"Unreleased"}},73921:function(e,t,n){n.d(t,{x:function(){return r}});var r={Ascending:"Ascending",Descending:"Descending"}},68136:function(e,t,n){n.d(t,{r:function(){return r}});var r={CreateAndJoinGroups:"CreateAndJoinGroups",JoinGroups:"JoinGroups",None:"None"}},50909:function(e,t,n){n.d(t,{D:function(){return r}});var r={Idle:"Idle",Cancelling:"Cancelling",Running:"Running"}},24034:function(e,t,n){n.d(t,{O:function(){return r}});var r={DailyTrigger:"DailyTrigger",WeeklyTrigger:"WeeklyTrigger",IntervalTrigger:"IntervalTrigger",StartupTrigger:"StartupTrigger"}},49960:function(e,t,n){n.d(t,{v:function(){return r}});var r={Blocking:"Blocking",NonBlocking:"NonBlocking"}},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"}},35310:function(e,t,n){n.d(t,{M:function(){return r}});var r={VideoFile:"VideoFile",Iso:"Iso",Dvd:"Dvd",BluRay:"BluRay"}},20803:function(e,t,n){var r;n.d(t,{EX:function(){return de}}),n(29305),n(32733),n(84701),n(81678),n(69703),n(44962),n(4754),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 a(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,u()?Reflect.construct(t,n||[],c(e).constructor):t.apply(e,n))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=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 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,p(r.key),r)}}function d(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(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 v(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=d((function e(){v(this,e)})),m=function(e){function t(e){var n;return v(this,t),(n=a(this,t)).productName=e,n}return s(t,e),d(t)}(h),y=function(e){function t(e){var n;return v(this,t),(n=a(this,t)).responseTime=e,n}return s(t,e),d(t)}(h),g=function(e){function t(e){var n;return v(this,t),(n=a(this,t)).error=e,n}return s(t,e),d(t)}(h),b=function(e){function t(){return v(this,t),a(this,t,arguments)}return s(t,e),d(t)}(h),w=function(e){function t(e){var n;return v(this,t),(n=a(this,t)).version=e,n}return s(t,e),d(t)}(h),I=function(e){function t(e){var n;return v(this,t),(n=a(this,t)).version=e,n}return s(t,e),d(t)}(h),P=n(48272),S=n(58381),O=n(87082);function j(e){return j="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},j(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 u?r:u,s=Object.create(c.prototype);return x(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;c=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(x(t={},r,(function(){return this})),t),f=s.prototype=u.prototype=Object.create(l);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,x(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=s,x(f,"constructor",s),x(s,"constructor",c),c.displayName="GeneratorFunction",x(s,o,"GeneratorFunction"),x(f),x(f,o,"Generator"),x(f,r,(function(){return this})),x(f,"toString",(function(){return"[object Generator]"})),(C=function(){return{w:i,m:d}})()}function x(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}x=function(e,t,n,r){function i(t,n){x(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},x(e,t,n,r)}function T(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){T(i,r,o,a,u,"next",e)}function u(e){T(i,r,o,a,u,"throw",e)}a(void 0)}))}}function k(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,R(r.key),r)}}function R(e){var t=function(e){if("object"!=j(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==j(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 D(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 L(e){var t,n,o,i=[],a=[];!(null===(t=e.response)||void 0===t?void 0:t.data)||e.error?(i.push(new g(e.error)),a.push(r.BAD)):"Jellyfin Server"!==e.response.data.ProductName&&(i.push(new m(e.response.data.ProductName)),a.push(r.BAD));var u=null===(n=e.response)||void 0===n?void 0:n.data.Version;try{u?(0,S.af)(u,O.U)?(i.push(new I(u)),a.push(r.OK)):(0,S.af)(u,O.m)&&(i.push(new w(u)),a.push(r.GOOD)):(i.push(new b),a.push(r.BAD))}catch(e){e instanceof TypeError&&(i.push(new b),a.push(r.BAD))}return e.responseTime>3e3&&(i.push(new y(e.responseTime)),a.push(r.GOOD)),{address:e.address,responseTime:e.responseTime,score:D(a),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(C().m((function e(t){var n,r;return C().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 L(e)})))}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"discover",value:(n=A(C().m((function e(t){var n,o=this,i=arguments;return C().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&&k(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n,o}();function Z(e){return Z="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},Z(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 u?r:u,s=Object.create(c.prototype);return G(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;c=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(G(t={},r,(function(){return this})),t),f=s.prototype=u.prototype=Object.create(l);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,G(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=s,G(f,"constructor",s),G(s,"constructor",c),c.displayName="GeneratorFunction",G(s,o,"GeneratorFunction"),G(f),G(f,o,"Generator"),G(f,r,(function(){return this})),G(f,"toString",(function(){return"[object Generator]"})),(z=function(){return{w:i,m:d}})()}function G(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}G=function(e,t,n,r){function i(t,n){G(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},G(e,t,n,r)}function Y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){Y(i,r,o,a,u,"next",e)}function u(e){Y(i,r,o,a,u,"throw",e)}a(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"!=Z(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Z(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(29657),n(50987),n(74542)),N=n(39362);function H(e){return H="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},H(e)}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 q(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){Q(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 Q(e,t,n){return(t=J(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K(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,J(r.key),r)}}function J(e){var t=function(e){if("object"!=H(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=H(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==H(t)?t:t+""}n(33087),n(36457),n(88908),n(83810),n(646),n(23630);var $=function(){return e=function e(){var t,n=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=n.apiKey,this.username=n.username,this.password=n.password,this.accessToken=n.accessToken,this.awsv4=n.awsv4,this.basePath=n.basePath,this.serverIndex=n.serverIndex,this.baseOptions=q(q({},n.baseOptions),{},{headers:q({},null===(t=n.baseOptions)||void 0===t?void 0:t.headers)}),this.formDataCtor=n.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())}}])&&K(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}(),X=n(68777),ee=n(70893),te=n(61432),ne=n(23770),re=n(10058);function oe(e){return oe="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},oe(e)}function ie(e,t,n){return(t=ue(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(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,ue(r.key),r)}}function ue(e){var t=function(e){if("object"!=oe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=oe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oe(t)?t:t+""}var ce=function(){return e=function e(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:M.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=r,this._accessToken=o,this.axiosInstance=i},(t=[{key:"accessToken",get:function(){return this._accessToken}},{key:"basePath",get:function(){return this._basePath}},{key:"clientInfo",get:function(){return this._clientInfo}},{key:"deviceInfo",get:function(){return this._deviceInfo}},{key:"configuration",get:function(){return new $({basePath:this._basePath,baseOptions:{headers:ie(ie({},N.ud,this.authorizationHeader),N.EF,this.acceptLanguageHeader)}})}},{key:"authenticateUserByName",value:function(e,t){return(0,ee.p)(this).authenticateUserByName({authenticateUserByName:{Username:e,Pw:t}})}},{key:"getUri",value:function(e,t){return this.axiosInstance.getUri({baseURL:this._basePath,url:e,params:t})}},{key:"logout",value:function(){return(0,te.v)(this).reportSessionEnded()}},{key:"update",value:function(e){var t,n;e.basePath&&(this._basePath=e.basePath),e.clientInfo&&(this._clientInfo=e.clientInfo),e.deviceInfo&&(this._deviceInfo=e.deviceInfo),void 0!==e.accessToken&&(this._accessToken=e.accessToken),e.basePath||e.accessToken&&""!==e.accessToken?null===(t=this.webSocket)||void 0===t||t.updateUrl(this.getUri(re.MD,ie({},N._V,this.accessToken))):""===e.accessToken&&(null===(n=this.webSocket)||void 0===n||n.disconnect())}},{key:"authorizationHeader",get:function(){return(0,X.X)(this._clientInfo,this._deviceInfo,this._accessToken)}},{key:"acceptLanguageHeader",get:function(){var e=this._deviceInfo.languages;return(null==e?void 0:e.length)?e.join(","):void 0}},{key:"subscribe",value:function(e,t){return this.webSocket||(this.webSocket=new ne.V(this.accessToken?this.getUri(re.MD,ie({},N._V,this.accessToken)):void 0)),this.webSocket.subscribe(e,t)}}])&&ae(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function se(e){return se="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},se(e)}function le(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,fe(r.key),r)}}function fe(e){var t=function(e){if("object"!=se(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=se(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==se(t)?t:t+""}var de=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 ce(e,this.clientInfo,this.deviceInfo,t,n)}}])&&le(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},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,a=8920;function u(e){var t=0;return e.protocol===o.fg?t+=5:t-=5,e.port===i.toString()?t+=2:e.port===a.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 u=(0,r.VC)(e);u.port=i.toString(),t.push(u),(u=(0,r.VC)(e)).port=a.toString(),t.push(u)}})),t.sort((function(e,t){return u(t)-u(e)})),t.map((function(e){return e.toString()}))}catch(e){return console.warn(e),[]}}},15797:function(e,t,n){n.d(t,{I:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getAlbumArtists:(r=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z){var z,G,Y,_,W,F,B,M=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return z=M.length>32&&void 0!==M[32]?M[32]:{},G=new URL("/Artists/AlbumArtists",o.fY),e&&(Y=e.baseOptions),_=v(v({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!==a&&(F.searchTerm=a),void 0!==u&&(F.parentId=u),c&&(F.fields=c),s&&(F.excludeItemTypes=s),l&&(F.includeItemTypes=l),d&&(F.filters=d),void 0!==p&&(F.isFavorite=p),h&&(F.mediaTypes=h),m&&(F.genres=m),y&&(F.genreIds=y),g&&(F.officialRatings=g),b&&(F.tags=b),w&&(F.years=w),void 0!==I&&(F.enableUserData=I),void 0!==P&&(F.imageTypeLimit=P),S&&(F.enableImageTypes=S),void 0!==O&&(F.person=O),j&&(F.personIds=j),C&&(F.personTypes=C),x&&(F.studios=x),T&&(F.studioIds=T),void 0!==A&&(F.userId=A),void 0!==k&&(F.nameStartsWithOrGreater=k),void 0!==R&&(F.nameStartsWith=R),void 0!==U&&(F.nameLessThan=U),D&&(F.sortBy=D),L&&(F.sortOrder=L),void 0!==E&&(F.enableImages=E),void 0!==Z&&(F.enableTotalRecordCount=Z),W.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(G,F),B=Y&&Y.headers?Y.headers:{},_.headers=v(v(v({},W),B),z.headers),t.a(2,{url:(0,o.uD)(G),options:_})}}),t)}))),function(e,t,n,o,i,a,u,c,s,l,f,d,p,v,h,m,y,g,b,w,I,P,S,O,j,C,x,T,A,k,R,U){return r.apply(this,arguments)}),getArtistByName:(n=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Artists/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getArtists:(t=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z){var z,G,Y,_,W,F,B,M=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return z=M.length>32&&void 0!==M[32]?M[32]:{},G=new URL("/Artists",o.fY),e&&(Y=e.baseOptions),_=v(v({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!==a&&(F.searchTerm=a),void 0!==u&&(F.parentId=u),c&&(F.fields=c),s&&(F.excludeItemTypes=s),l&&(F.includeItemTypes=l),d&&(F.filters=d),void 0!==p&&(F.isFavorite=p),h&&(F.mediaTypes=h),m&&(F.genres=m),y&&(F.genreIds=y),g&&(F.officialRatings=g),b&&(F.tags=b),w&&(F.years=w),void 0!==I&&(F.enableUserData=I),void 0!==P&&(F.imageTypeLimit=P),S&&(F.enableImageTypes=S),void 0!==O&&(F.person=O),j&&(F.personIds=j),C&&(F.personTypes=C),x&&(F.studios=x),T&&(F.studioIds=T),void 0!==A&&(F.userId=A),void 0!==k&&(F.nameStartsWithOrGreater=k),void 0!==R&&(F.nameStartsWith=R),void 0!==U&&(F.nameLessThan=U),D&&(F.sortBy=D),L&&(F.sortOrder=L),void 0!==E&&(F.enableImages=E),void 0!==Z&&(F.enableTotalRecordCount=Z),W.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(G,F),B=Y&&Y.headers?Y.headers:{},_.headers=v(v(v({},W),B),z.headers),t.a(2,{url:(0,o.uD)(G),options:_})}}),t)}))),function(e,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m,y,g,b,w,I,P,S,O,j,C,x,T,A,k,R,U){return t.apply(this,arguments)})};var t,n,r}(e);return{getAlbumArtists:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z,z,G,Y){return g(f().m((function g(){var _,W,F,B,M,N;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getAlbumArtists(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z,z,G,Y);case 1:return B=f.v,M=null!==(_=null==e?void 0:e.serverIndex)&&void 0!==_?_:0,N=null===(F=null===(W=i.z9["ArtistApi.getAlbumArtists"])||void 0===W?void 0:W[M])||void 0===F?void 0:F.url,f.a(2,(function(t,n){return(0,o.yZ)(B,r.A,i.o2,e)(t,N||n)}))}}),g)})))()},getArtistByName:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getArtistByName(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["ArtistApi.getArtistByName"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getArtists:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z,z,G,Y){return g(f().m((function g(){var _,W,F,B,M,N;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getArtists(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z,z,G,Y);case 1:return B=f.v,M=null!==(_=null==e?void 0:e.serverIndex)&&void 0!==_?_:0,N=null===(F=null===(W=i.z9["ArtistApi.getArtists"])||void 0===W?void 0:W[M])||void 0===F?void 0:F.url,f.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"==a(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&&u(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)}},70893:function(e,t,n){function r(e){return r="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},r(e)}function o(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,i(r.key),r)}}function i(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}function u(e,t,n,r){var o=c(s(1&r?e.prototype:e),t,n);return 2&r&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function c(){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},c.apply(null,arguments)}
2function 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)}n.d(t,{p:function(){return d}}),n(29305),n(32733),n(84701),n(81678),n(44962),n(4754),n(94),n(36947),n(36457),n(26437),n(52697),n(78557),n(21359),n(61642),n(83994),n(82367);var f=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,n){return t=s(t),function(e,t){if(t&&("object"==r(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||[],s(e).constructor):t.apply(e,n))}(this,t,[e.configuration,void 0,e.axiosInstance])).api=e,n}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,(i=[{key:"authenticateUserByName",value:function(e,n){var r=this;return u(t,"authenticateUserByName",this,3)([e,n]).then((function(e){return r.api.update({accessToken:e.data.AccessToken||""}),e}))}},{key:"authenticateWithQuickConnect",value:function(e,n){var r=this;return u(t,"authenticateWithQuickConnect",this,3)([e,n]).then((function(e){return r.api.update({accessToken:e.data.AccessToken||""}),e}))}}])&&o(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(n(54787).jm);function d(e){return new f(e)}},44169:function(e,t,n){n.d(t,{p:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{createBackup:(i=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/Backup/Create",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return i.apply(this,arguments)}),getBackup:(r=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("getBackup","path",n),i=new URL("/Backup/Manifest",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.path=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return r.apply(this,arguments)}),listBackups:(n=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return n.apply(this,arguments)}),startRestoreBackup:(t=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("startRestoreBackup","backupRestoreRequestDto",n),i=new URL("/Backup/Restore",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i}(e);return{createBackup:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.createBackup(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["BackupApi.createBackup"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getBackup:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getBackup(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["BackupApi.getBackup"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},listBackups:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.listBackups(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["BackupApi.listBackups"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},startRestoreBackup:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.startRestoreBackup(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["BackupApi.startRestoreBackup"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,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"==a(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&&u(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)}},39057:function(e,t,n){n.d(t,{g:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getBrandingCss:(r=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),c={},(u={}).Accept="text/css,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}),t)}))),function(){return r.apply(this,arguments)}),getBrandingCss2:(n=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),c={},(u={}).Accept="text/css,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}),t)}))),function(){return n.apply(this,arguments)}),getBrandingOptions:(t=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),c={},(u={}).Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r}(e);return{getBrandingCss:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getBrandingCss(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["BrandingApi.getBrandingCss"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getBrandingCss2:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getBrandingCss2(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["BrandingApi.getBrandingCss2"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getBrandingOptions:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getBrandingOptions(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["BrandingApi.getBrandingOptions"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,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"==a(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)}))}}])&&u(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)}},25266:function(e,t,n){n.d(t,{M:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getAllChannelFeatures:(a=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/Channels/Features",o.fY),e&&(i=e.baseOptions),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return a.apply(this,arguments)}),getChannelFeatures:(i=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getChannelFeatures","channelId",n),i="/Channels/{channelId}/Features".replace("{".concat("channelId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return i.apply(this,arguments)}),getChannelItems:(r=g(f().m((function t(n,r,i,a,u,c,s,l,d){var p,h,m,y,g,b,w,I,P=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return p=P.length>9&&void 0!==P[9]?P[9]:{},(0,o.WC)("getChannelItems","channelId",n),h="/Channels/{channelId}/Items".replace("{".concat("channelId","}"),encodeURIComponent(String(n))),m=new URL(h,o.fY),e&&(y=e.baseOptions),g=v(v({method:"GET"},y),p),b={},w={},t.n=1,(0,o.YS)(b,"Authorization",e);case 1:return void 0!==r&&(w.folderId=r),void 0!==i&&(w.userId=i),void 0!==a&&(w.startIndex=a),void 0!==u&&(w.limit=u),c&&(w.sortOrder=c),s&&(w.filters=s),l&&(w.sortBy=l),d&&(w.fields=d),b.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(m,w),I=y&&y.headers?y.headers:{},g.headers=v(v(v({},b),I),p.headers),t.a(2,{url:(0,o.uD)(m),options:g})}}),t)}))),function(e,t,n,o,i,a,u,c,s){return r.apply(this,arguments)}),getChannels:(n=g(f().m((function t(n,r,i,a,u,c){var s,l,d,p,h,m,y,g=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return s=g.length>6&&void 0!==g[6]?g[6]:{},l=new URL("/Channels",o.fY),e&&(d=e.baseOptions),p=v(v({method:"GET"},d),s),h={},m={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return void 0!==n&&(m.userId=n),void 0!==r&&(m.startIndex=r),void 0!==i&&(m.limit=i),void 0!==a&&(m.supportsLatestItems=a),void 0!==u&&(m.supportsMediaDeletion=u),void 0!==c&&(m.isFavorite=c),h.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(l,m),y=d&&d.headers?d.headers:{},p.headers=v(v(v({},h),y),s.headers),t.a(2,{url:(0,o.uD)(l),options:p})}}),t)}))),function(e,t,r,o,i,a){return n.apply(this,arguments)}),getLatestChannelItems:(t=g(f().m((function t(n,r,i,a,u,c){var s,l,d,p,h,m,y,g=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return s=g.length>6&&void 0!==g[6]?g[6]:{},l=new URL("/Channels/Items/Latest",o.fY),e&&(d=e.baseOptions),p=v(v({method:"GET"},d),s),h={},m={},t.n=1,(0,o.YS)(h,"Authorization",e);case 1:return void 0!==n&&(m.userId=n),void 0!==r&&(m.startIndex=r),void 0!==i&&(m.limit=i),a&&(m.filters=a),u&&(m.fields=u),c&&(m.channelIds=c),h.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(l,m),y=d&&d.headers?d.headers:{},p.headers=v(v(v({},h),y),s.headers),t.a(2,{url:(0,o.uD)(l),options:p})}}),t)}))),function(e,n,r,o,i,a){return t.apply(this,arguments)})};var t,n,r,i,a}(e);return{getAllChannelFeatures:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getAllChannelFeatures(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["ChannelApi.getAllChannelFeatures"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getChannelFeatures:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getChannelFeatures(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["ChannelApi.getChannelFeatures"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},getChannelItems:function(n,a,u,c,s,l,d,p,v,h){return g(f().m((function m(){var y,g,b,w,I,P;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getChannelItems(n,a,u,c,s,l,d,p,v,h);case 1:return w=f.v,I=null!==(y=null==e?void 0:e.serverIndex)&&void 0!==y?y:0,P=null===(b=null===(g=i.z9["ChannelApi.getChannelItems"])||void 0===g?void 0:g[I])||void 0===b?void 0:b.url,f.a(2,(function(t,n){return(0,o.yZ)(w,r.A,i.o2,e)(t,P||n)}))}}),m)})))()},getChannels:function(n,a,u,c,s,l,d){return g(f().m((function p(){var v,h,m,y,g,b;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getChannels(n,a,u,c,s,l,d);case 1:return y=f.v,g=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,b=null===(m=null===(h=i.z9["ChannelApi.getChannels"])||void 0===h?void 0:h[g])||void 0===m?void 0:m.url,f.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,b||n)}))}}),p)})))()},getLatestChannelItems:function(n,a,u,c,s,l,d){return g(f().m((function p(){var v,h,m,y,g,b;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getLatestChannelItems(n,a,u,c,s,l,d);case 1:return y=f.v,g=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,b=null===(m=null===(h=i.z9["ChannelApi.getLatestChannelItems"])||void 0===h?void 0:h[g])||void 0===m?void 0:m.url,f.a(2,(function(t,n){return(0,o.yZ)(y,r.A,i.o2,e)(t,b||n)}))}}),p)})))()}}},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"==a(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:"getAllChannelFeatures",value:function(e){var t=this;return b(this.configuration).getAllChannelFeatures(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getChannelFeatures",value:function(e,t){var n=this;return b(this.configuration).getChannelFeatures(e.channelId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getChannelItems",value:function(e,t){var n=this;return b(this.configuration).getChannelItems(e.channelId,e.folderId,e.userId,e.startIndex,e.limit,e.sortOrder,e.filters,e.sortBy,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getChannels",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).getChannels(t.userId,t.startIndex,t.limit,t.supportsLatestItems,t.supportsMediaDeletion,t.isFavorite,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getLatestChannelItems",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).getLatestChannelItems(t.userId,t.startIndex,t.limit,t.filters,t.fields,t.channelIds,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&u(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)}},59020:function(e,t,n){n.d(t,{z:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{deleteDevice:(a=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/Devices",o.fY),e&&(a=e.baseOptions),u=v(v({method:"DELETE"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return n&&(s.id=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return a.apply(this,arguments)}),getDeviceInfo:(i=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("getDeviceInfo","id",n),i=new URL("/Devices/Info",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return i.apply(this,arguments)}),getDeviceOptions:(r=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{}
2,(0,o.WC)("getDeviceOptions","id",n),i=new URL("/Devices/Options",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return r.apply(this,arguments)}),getDevices:(n=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/Devices",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return n.apply(this,arguments)}),updateDeviceOptions:(t=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},(0,o.WC)("updateDeviceOptions","id",n),(0,o.WC)("updateDeviceOptions","deviceOptionsDto",r),a=new URL("/Devices/Options",o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),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",s.Accept="text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),c.data=(0,o.Np)(r,c,e),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,a}(e);return{deleteDevice:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteDevice(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["DeviceApi.deleteDevice"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getDeviceInfo:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getDeviceInfo(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["DeviceApi.getDeviceInfo"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getDeviceOptions:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getDeviceOptions(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["DeviceApi.getDeviceOptions"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getDevices:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getDevices(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["DeviceApi.getDevices"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},updateDeviceOptions:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateDeviceOptions(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["DeviceApi.updateDeviceOptions"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,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"==a(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(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;
2return b(this.configuration).deleteDevice(t.id,n).then((function(t){return t(e.axios,e.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&&u(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)}},98296:function(e,t,n){n.d(t,{o:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getDisplayPreferences:(n=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("getDisplayPreferences","displayPreferencesId",n),(0,o.WC)("getDisplayPreferences","client",r),u="/DisplayPreferences/{displayPreferencesId}".replace("{".concat("displayPreferencesId","}"),encodeURIComponent(String(n))),c=new URL(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"GET"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==i&&(p.userId=i),void 0!==r&&(p.client=r),d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,r){return n.apply(this,arguments)}),updateDisplayPreferences:(t=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>4&&void 0!==y[4]?y[4]:{},(0,o.WC)("updateDisplayPreferences","displayPreferencesId",n),(0,o.WC)("updateDisplayPreferences","client",r),(0,o.WC)("updateDisplayPreferences","displayPreferencesDto",i),c="/DisplayPreferences/{displayPreferencesId}".replace("{".concat("displayPreferencesId","}"),encodeURIComponent(String(n))),s=new URL(c,o.fY),e&&(l=e.baseOptions),d=v(v({method:"POST"},l),u),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return void 0!==a&&(h.userId=a),void 0!==r&&(h.client=r),p["Content-Type"]="application/json",p.Accept="text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),u.headers),d.data=(0,o.Np)(i,d,e),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,n,r,o){return t.apply(this,arguments)})};var t,n}(e);return{getDisplayPreferences:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.getDisplayPreferences(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["DisplayPreferenceApi.getDisplayPreferences"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},updateDisplayPreferences:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.updateDisplayPreferences(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["DisplayPreferenceApi.updateDisplayPreferences"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||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"==a(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:"getDisplayPreferences",value:function(e,t){var n=this;return b(this.configuration).getDisplayPreferences(e.displayPreferencesId,e.client,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"updateDisplayPreferences",value:function(e,t){var n=this;return b(this.configuration).updateDisplayPreferences(e.displayPreferencesId,e.client,e.displayPreferencesDto,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}}])&&u(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(14382),n(44962),n(4754),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(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getQueryFilters:(n=g(f().m((function t(n,r,i,a,u,c,s,l,d,p){var h,m,y,g,b,w,I,P=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return h=P.length>10&&void 0!==P[10]?P[10]:{},m=new URL("/Items/Filters2",o.fY),e&&(y=e.baseOptions),g=v(v({method:"GET"},y),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!==a&&(w.isAiring=a),void 0!==u&&(w.isMovie=u),void 0!==c&&(w.isSports=c),void 0!==s&&(w.isKids=s),void 0!==l&&(w.isNews=l),void 0!==d&&(w.isSeries=d),void 0!==p&&(w.recursive=p),b.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(m,w),I=y&&y.headers?y.headers:{},g.headers=v(v(v({},b),I),h.headers),t.a(2,{url:(0,o.uD)(m),options:g})}}),t)}))),function(e,t,r,o,i,a,u,c,s,l){return n.apply(this,arguments)}),getQueryFiltersLegacy:(t=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=m.length>4&&void 0!==m[4]?m[4]:{},c=new URL("/Items/Filters",o.fY),e&&(s=e.baseOptions),l=v(v({method:"GET"},s),u),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==n&&(p.userId=n),void 0!==r&&(p.parentId=r),i&&(p.includeItemTypes=i),a&&(p.mediaTypes=a),d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),u.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,a,u,c,s,l,d,p,v,h,m){return g(f().m((function y(){var g,b,w,I,P,S;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getQueryFilters(n,a,u,c,s,l,d,p,v,h,m);case 1:return I=f.v,P=null!==(g=null==e?void 0:e.serverIndex)&&void 0!==g?g:0,S=null===(w=null===(b=i.z9["FilterApi.getQueryFilters"])||void 0===b?void 0:b[P])||void 0===w?void 0:w.url,f.a(2,(function(t,n){return(0,o.yZ)(I,r.A,i.o2,e)(t,S||n)}))}}),y)})))()},getQueryFiltersLegacy:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getQueryFiltersLegacy(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["FilterApi.getQueryFiltersLegacy"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||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"==a(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&&u(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)}},88038:function(e,t,n){n.d(t,{w:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getGenre:(n=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Genres/{genreName}".replace("{".concat("genreName","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getGenres:(t=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I,P){var S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return S=k.length>18&&void 0!==k[18]?k[18]:{},O=new URL("/Genres",o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),S),x={},T={},t.n=1,(0,o.YS)(x,"Authorization",e);case 1:return void 0!==n&&(T.startIndex=n),void 0!==r&&(T.limit=r),void 0!==i&&(T.searchTerm=i),void 0!==a&&(T.parentId=a),u&&(T.fields=u),c&&(T.excludeItemTypes=c),s&&(T.includeItemTypes=s),void 0!==l&&(T.isFavorite=l),void 0!==d&&(T.imageTypeLimit=d),p&&(T.enableImageTypes=p),void 0!==h&&(T.userId=h),void 0!==m&&(T.nameStartsWithOrGreater=m),void 0!==y&&(T.nameStartsWith=y),void 0!==g&&(T.nameLessThan=g),b&&(T.sortBy=b),w&&(T.sortOrder=w),void 0!==I&&(T.enableImages=I),void 0!==P&&(T.enableTotalRecordCount=P),x.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),S.headers),t.a(2,{url:(0,o.uD)(O),options:C})}}),t)}))),function(e,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m,y,g){return t.apply(this,arguments)})};var t,n}(e);return{getGenre:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getGenre(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["GenreApi.getGenre"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}
2,getGenres:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j){return g(f().m((function g(){var C,x,T,A,k,R;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getGenres(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j);case 1:return A=f.v,k=null!==(C=null==e?void 0:e.serverIndex)&&void 0!==C?C:0,R=null===(T=null===(x=i.z9["GenreApi.getGenres"])||void 0===x?void 0:x[k])||void 0===T?void 0:T.url,f.a(2,(function(t,n){return(0,o.yZ)(A,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"==a(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&&u(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)}},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(90076),n(95021),n(93062),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{deleteCustomSplashscreen:(W=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"DELETE"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return W.apply(this,arguments)}),deleteItemImage:(_=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("deleteItemImage","itemId",n),(0,o.WC)("deleteItemImage","imageType",r),u="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),c=new URL(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"DELETE"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==i&&(p.imageIndex=i),d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return _.apply(this,arguments)}),deleteItemImageByIndex:(Y=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("deleteItemImageByIndex","itemId",n),(0,o.WC)("deleteItemImageByIndex","imageType",r),(0,o.WC)("deleteItemImageByIndex","imageIndex",i),u="/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(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"DELETE"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return Y.apply(this,arguments)}
2),deleteUserImage:(G=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/UserImage",o.fY),e&&(a=e.baseOptions),u=v(v({method:"DELETE"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return G.apply(this,arguments)}),getArtistImage:(z=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getArtistImage","name",n),(0,o.WC)("getArtistImage","imageType",r),(0,o.WC)("getArtistImage","imageIndex",i),S="/Artists/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==a&&(T.tag=a),void 0!==u&&(T.format=u),void 0!==c&&(T.maxWidth=c),void 0!==s&&(T.maxHeight=s),void 0!==l&&(T.percentPlayed=l),void 0!==d&&(T.unplayedCount=d),void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return z.apply(this,arguments)}),getGenreImage:(Z=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getGenreImage","name",n),(0,o.WC)("getGenreImage","imageType",r),S="/Genres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==i&&(T.tag=i),void 0!==a&&(T.format=a),void 0!==u&&(T.maxWidth=u),void 0!==c&&(T.maxHeight=c),void 0!==s&&(T.percentPlayed=s),void 0!==l&&(T.unplayedCount=l),void 0!==d&&(T.width=d),void 0!==p&&(T.height=p),void 0!==h&&(T.quality=h),void 0!==m&&(T.fillWidth=m),void 0!==y&&(T.fillHeight=y),void 0!==g&&(T.blur=g),void 0!==b&&(T.backgroundColor=b),void 0!==w&&(T.foregroundLayer=w),void 0!==I&&(T.imageIndex=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return Z.apply(this,arguments)}),getGenreImageByIndex:(E=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getGenreImageByIndex","name",n),(0,o.WC)("getGenreImageByIndex","imageType",r),(0,o.WC)("getGenreImageByIndex","imageIndex",i),S="/Genres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==a&&(T.tag=a),void 0!==u&&(T.format=u),void 0!==c&&(T.maxWidth=c),void 0!==s&&(T.maxHeight=s),void 0!==l&&(T.percentPlayed=l),void 0!==d&&(T.unplayedCount=d),void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return E.apply(this,arguments)}),getItemImage:(L=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getItemImage","itemId",n),(0,o.WC)("getItemImage","imageType",r),S="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==i&&(T.maxWidth=i),void 0!==a&&(T.maxHeight=a),void 0!==u&&(T.width=u),void 0!==c&&(T.height=c),void 0!==s&&(T.quality=s),void 0!==l&&(T.fillWidth=l),void 0!==d&&(T.fillHeight=d),void 0!==p&&(T.tag=p),void 0!==h&&(T.format=h),void 0!==m&&(T.percentPlayed=m),void 0!==y&&(T.unplayedCount=y),void 0!==g&&(T.blur=g),void 0!==b&&(T.backgroundColor=b),void 0!==w&&(T.foregroundLayer=w),void 0!==I&&(T.imageIndex=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return L.apply(this,arguments)}),getItemImage2:(D=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getItemImage2","itemId",n),(0,o.WC)("getItemImage2","imageType",r),(0,o.WC)("getItemImage2","maxWidth",i),(0,o.WC)("getItemImage2","maxHeight",a),(0,o.WC)("getItemImage2","tag",u),(0,o.WC)("getItemImage2","format",c),(0,o.WC)("getItemImage2","percentPlayed",s),(0,o.WC)("getItemImage2","unplayedCount",l),(0,o.WC)("getItemImage2","imageIndex",d),S="/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(a))).replace("{".concat("tag","}"),encodeURIComponent(String(u))).replace("{".concat("format","}"),encodeURIComponent(String(c))).replace("{".concat("percentPlayed","}"),encodeURIComponent(String(s))).replace("{".concat("unplayedCount","}"),encodeURIComponent(String(l))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(d))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return D.apply(this,arguments)}),getItemImageByIndex:(U=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getItemImageByIndex","itemId",n),(0,o.WC)("getItemImageByIndex","imageType",r),(0,o.WC)("getItemImageByIndex","imageIndex",i),S="/Items/{itemId}/Images/{imageType}/{imageIndex}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==a&&(T.maxWidth=a),void 0!==u&&(T.maxHeight=u),void 0!==c&&(T.width=c),void 0!==s&&(T.height=s),void 0!==l&&(T.quality=l),void 0!==d&&(T.fillWidth=d),void 0!==p&&(T.fillHeight=p),void 0!==h&&(T.tag=h),void 0!==m&&(T.format=m),void 0!==y&&(T.percentPlayed=y),void 0!==g&&(T.unplayedCount=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return U.apply(this,arguments)}),getItemImageInfos:(R=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getItemImageInfos","itemId",n),i="/Items/{itemId}/Images".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return R.apply(this,arguments)}),getMusicGenreImage:(k=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getMusicGenreImage","name",n),(0,o.WC)("getMusicGenreImage","imageType",r),S="/MusicGenres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==i&&(T.tag=i),void 0!==a&&(T.format=a),void 0!==u&&(T.maxWidth=u),void 0!==c&&(T.maxHeight=c),void 0!==s&&(T.percentPlayed=s),void 0!==l&&(T.unplayedCount=l),void 0!==d&&(T.width=d),void 0!==p&&(T.height=p),void 0!==h&&(T.quality=h),void 0!==m&&(T.fillWidth=m),void 0!==y&&(T.fillHeight=y),void 0!==g&&(T.blur=g),void 0!==b&&(T.backgroundColor=b),void 0!==w&&(T.foregroundLayer=w),void 0!==I&&(T.imageIndex=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return k.apply(this,arguments)}),getMusicGenreImageByIndex:(A=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getMusicGenreImageByIndex","name",n),(0,o.WC)("getMusicGenreImageByIndex","imageType",r),(0,o.WC)("getMusicGenreImageByIndex","imageIndex",i),S="/MusicGenres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==a&&(T.tag=a),void 0!==u&&(T.format=u),void 0!==c&&(T.maxWidth=c),void 0!==s&&(T.maxHeight=s),void 0!==l&&(T.percentPlayed=l),void 0!==d&&(T.unplayedCount=d),void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return A.apply(this,arguments)}),getPersonImage:(T=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getPersonImage","name",n),(0,o.WC)("getPersonImage","imageType",r),S="/Persons/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==i&&(T.tag=i),void 0!==a&&(T.format=a),void 0!==u&&(T.maxWidth=u),void 0!==c&&(T.maxHeight=c),void 0!==s&&(T.percentPlayed=s),void 0!==l&&(T.unplayedCount=l),void 0!==d&&(T.width=d),void 0!==p&&(T.height=p),void 0!==h&&(T.quality=h),void 0!==m&&(T.fillWidth=m),void 0!==y&&(T.fillHeight=y),void 0!==g&&(T.blur=g),void 0!==b&&(T.backgroundColor=b),void 0!==w&&(T.foregroundLayer=w),void 0!==I&&(T.imageIndex=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return T.apply(this,arguments)}),getPersonImageByIndex:(x=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getPersonImageByIndex","name",n),(0,o.WC)("getPersonImageByIndex","imageType",r),(0,o.WC)("getPersonImageByIndex","imageIndex",i),S="/Persons/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==a&&(T.tag=a),void 0!==u&&(T.format=u),void 0!==c&&(T.maxWidth=c),void 0!==s&&(T.maxHeight=s),void 0!==l&&(T.percentPlayed=l),void 0!==d&&(T.unplayedCount=d),void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return x.apply(this,arguments)}),getSplashscreen:(C=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)if(0===t.n)return i=p.length>2&&void 0!==p[2]?p[2]:{},a=new URL("/Branding/Splashscreen",o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),i),s={},l={},void 0!==n&&(l.tag=n),void 0!==r&&(l.format=r),s.Accept="image/*,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),t.a(2,{url:(0,o.uD)(a),options:c})}),t)}))),function(e,t){return C.apply(this,arguments)}),getStudioImage:(j=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getStudioImage","name",n),(0,o.WC)("getStudioImage","imageType",r),S="/Studios/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==i&&(T.tag=i),void 0!==a&&(T.format=a),void 0!==u&&(T.maxWidth=u),void 0!==c&&(T.maxHeight=c),void 0!==s&&(T.percentPlayed=s),void 0!==l&&(T.unplayedCount=l),void 0!==d&&(T.width=d),void 0!==p&&(T.height=p),void 0!==h&&(T.quality=h),void 0!==m&&(T.fillWidth=m),void 0!==y&&(T.fillHeight=y),void 0!==g&&(T.blur=g),void 0!==b&&(T.backgroundColor=b),void 0!==w&&(T.foregroundLayer=w),void 0!==I&&(T.imageIndex=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return j.apply(this,arguments)}),getStudioImageByIndex:(O=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("getStudioImageByIndex","name",n),(0,o.WC)("getStudioImageByIndex","imageType",r),(0,o.WC)("getStudioImageByIndex","imageIndex",i),S="/Studios/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),P),x={},T={},void 0!==a&&(T.tag=a),void 0!==u&&(T.format=u),void 0!==c&&(T.maxWidth=c),void 0!==s&&(T.maxHeight=s),void 0!==l&&(T.percentPlayed=l),void 0!==d&&(T.unplayedCount=d),void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return O.apply(this,arguments)}),getUserImage:(S=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h=arguments;return f().w((function(t){for(;;)if(0===t.n)return a=h.length>3&&void 0!==h[3]?h[3]:{},u=new URL("/UserImage",o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),a),l={},d={},void 0!==n&&(d.userId=n),void 0!==r&&(d.tag=r),void 0!==i&&(d.format=i),l.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),a.headers),t.a(2,{url:(0,o.uD)(u),options:s})}),t)}))),function(e,t,n){return S.apply(this,arguments)}),headArtistImage:(P=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headArtistImage","name",n),(0,o.WC)("headArtistImage","imageType",r),(0,o.WC)("headArtistImage","imageIndex",i),S="/Artists/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==a&&(T.tag=a),void 0!==u&&(T.format=u),void 0!==c&&(T.maxWidth=c),void 0!==s&&(T.maxHeight=s),void 0!==l&&(T.percentPlayed=l),void 0!==d&&(T.unplayedCount=d),void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return P.apply(this,arguments)}),headGenreImage:(I=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headGenreImage","name",n),(0,o.WC)("headGenreImage","imageType",r),S="/Genres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==i&&(T.tag=i),void 0!==a&&(T.format=a),void 0!==u&&(T.maxWidth=u),void 0!==c&&(T.maxHeight=c),void 0!==s&&(T.percentPlayed=s),void 0!==l&&(T.unplayedCount=l),void 0!==d&&(T.width=d),void 0!==p&&(T.height=p),void 0!==h&&(T.quality=h),void 0!==m&&(T.fillWidth=m),void 0!==y&&(T.fillHeight=y),void 0!==g&&(T.blur=g),void 0!==b&&(T.backgroundColor=b),void 0!==w&&(T.foregroundLayer=w),void 0!==I&&(T.imageIndex=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return I.apply(this,arguments)}),headGenreImageByIndex:(w=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headGenreImageByIndex","name",n),(0,o.WC)("headGenreImageByIndex","imageType",r),(0,o.WC)("headGenreImageByIndex","imageIndex",i),S="/Genres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==a&&(T.tag=a),void 0!==u&&(T.format=u),void 0!==c&&(T.maxWidth=c),void 0!==s&&(T.maxHeight=s),void 0!==l&&(T.percentPlayed=l),void 0!==d&&(T.unplayedCount=d),void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return w.apply(this,arguments)}),headItemImage:(b=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headItemImage","itemId",n),(0,o.WC)("headItemImage","imageType",r),S="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==i&&(T.maxWidth=i),void 0!==a&&(T.maxHeight=a),void 0!==u&&(T.width=u),void 0!==c&&(T.height=c),void 0!==s&&(T.quality=s),void 0!==l&&(T.fillWidth=l),void 0!==d&&(T.fillHeight=d),void 0!==p&&(T.tag=p),void 0!==h&&(T.format=h),void 0!==m&&(T.percentPlayed=m),void 0!==y&&(T.unplayedCount=y),void 0!==g&&(T.blur=g),void 0!==b&&(T.backgroundColor=b),void 0!==w&&(T.foregroundLayer=w),void 0!==I&&(T.imageIndex=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return b.apply(this,arguments)}),headItemImage2:(y=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headItemImage2","itemId",n),(0,o.WC)("headItemImage2","imageType",r),(0,o.WC)("headItemImage2","maxWidth",i),(0,o.WC)("headItemImage2","maxHeight",a),(0,o.WC)("headItemImage2","tag",u),(0,o.WC)("headItemImage2","format",c),(0,o.WC)("headItemImage2","percentPlayed",s),(0,o.WC)("headItemImage2","unplayedCount",l),(0,o.WC)("headItemImage2","imageIndex",d),S="/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(a))).replace("{".concat("tag","}"),encodeURIComponent(String(u))).replace("{".concat("format","}"),encodeURIComponent(String(c))).replace("{".concat("percentPlayed","}"),encodeURIComponent(String(s))).replace("{".concat("unplayedCount","}"),encodeURIComponent(String(l))).replace("{".concat("imageIndex","}"),encodeURIComponent(String(d))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return y.apply(this,arguments)}),headItemImageByIndex:(m=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headItemImageByIndex","itemId",n),(0,o.WC)("headItemImageByIndex","imageType",r),(0,o.WC)("headItemImageByIndex","imageIndex",i),S="/Items/{itemId}/Images/{imageType}/{imageIndex}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==a&&(T.maxWidth=a),void 0!==u&&(T.maxHeight=u),void 0!==c&&(T.width=c),void 0!==s&&(T.height=s),void 0!==l&&(T.quality=l),void 0!==d&&(T.fillWidth=d),void 0!==p&&(T.fillHeight=p),void 0!==h&&(T.tag=h),void 0!==m&&(T.format=m),void 0!==y&&(T.percentPlayed=y),void 0!==g&&(T.unplayedCount=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,y){return m.apply(this,arguments)}),headMusicGenreImage:(h=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headMusicGenreImage","name",n),(0,o.WC)("headMusicGenreImage","imageType",r),S="/MusicGenres/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==i&&(T.tag=i),void 0!==a&&(T.format=a),void 0!==u&&(T.maxWidth=u),void 0!==c&&(T.maxHeight=c),void 0!==s&&(T.percentPlayed=s),void 0!==l&&(T.unplayedCount=l),void 0!==d&&(T.width=d),void 0!==p&&(T.height=p),void 0!==h&&(T.quality=h),void 0!==m&&(T.fillWidth=m),void 0!==y&&(T.fillHeight=y),void 0!==g&&(T.blur=g),void 0!==b&&(T.backgroundColor=b),void 0!==w&&(T.foregroundLayer=w),void 0!==I&&(T.imageIndex=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,m,y){return h.apply(this,arguments)}),headMusicGenreImageByIndex:(p=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headMusicGenreImageByIndex","name",n),(0,o.WC)("headMusicGenreImageByIndex","imageType",r),(0,o.WC)("headMusicGenreImageByIndex","imageIndex",i),S="/MusicGenres/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==a&&(T.tag=a),void 0!==u&&(T.format=u),void 0!==c&&(T.maxWidth=c),void 0!==s&&(T.maxHeight=s),void 0!==l&&(T.percentPlayed=l),void 0!==d&&(T.unplayedCount=d),void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,v,h,m,y){return p.apply(this,arguments)}),headPersonImage:(d=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headPersonImage","name",n),(0,o.WC)("headPersonImage","imageType",r),S="/Persons/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==i&&(T.tag=i),void 0!==a&&(T.format=a),void 0!==u&&(T.maxWidth=u),void 0!==c&&(T.maxHeight=c),void 0!==s&&(T.percentPlayed=s),void 0!==l&&(T.unplayedCount=l),void 0!==d&&(T.width=d),void 0!==p&&(T.height=p),void 0!==h&&(T.quality=h),void 0!==m&&(T.fillWidth=m),void 0!==y&&(T.fillHeight=y),void 0!==g&&(T.blur=g),void 0!==b&&(T.backgroundColor=b),void 0!==w&&(T.foregroundLayer=w),void 0!==I&&(T.imageIndex=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,p,v,h,m,y){return d.apply(this,arguments)}),headPersonImageByIndex:(l=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headPersonImageByIndex","name",n),(0,o.WC)("headPersonImageByIndex","imageType",r),(0,o.WC)("headPersonImageByIndex","imageIndex",i),S="/Persons/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==a&&(T.tag=a),void 0!==u&&(T.format=u),void 0!==c&&(T.maxWidth=c),void 0!==s&&(T.maxHeight=s),void 0!==l&&(T.percentPlayed=l),void 0!==d&&(T.unplayedCount=d),void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,s,f,d,p,v,h,m,y){return l.apply(this,arguments)}),headStudioImage:(s=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headStudioImage","name",n),(0,o.WC)("headStudioImage","imageType",r),S="/Studios/{name}/Images/{imageType}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==i&&(T.tag=i),void 0!==a&&(T.format=a),void 0!==u&&(T.maxWidth=u),void 0!==c&&(T.maxHeight=c),void 0!==s&&(T.percentPlayed=s),void 0!==l&&(T.unplayedCount=l),void 0!==d&&(T.width=d),void 0!==p&&(T.height=p),void 0!==h&&(T.quality=h),void 0!==m&&(T.fillWidth=m),void 0!==y&&(T.fillHeight=y),void 0!==g&&(T.blur=g),void 0!==b&&(T.backgroundColor=b),void 0!==w&&(T.foregroundLayer=w),void 0!==I&&(T.imageIndex=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,c,l,f,d,p,v,h,m,y){return s.apply(this,arguments)}),headStudioImageByIndex:(c=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)if(0===t.n)return P=k.length>17&&void 0!==k[17]?k[17]:{},(0,o.WC)("headStudioImageByIndex","name",n),(0,o.WC)("headStudioImageByIndex","imageType",r),(0,o.WC)("headStudioImageByIndex","imageIndex",i),S="/Studios/{name}/Images/{imageType}/{imageIndex}".replace("{".concat("name","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))).replace("{".concat("imageIndex","}
2"),encodeURIComponent(String(i))),O=new URL(S,o.fY),e&&(j=e.baseOptions),C=v(v({method:"HEAD"},j),P),x={},T={},void 0!==a&&(T.tag=a),void 0!==u&&(T.format=u),void 0!==c&&(T.maxWidth=c),void 0!==s&&(T.maxHeight=s),void 0!==l&&(T.percentPlayed=l),void 0!==d&&(T.unplayedCount=d),void 0!==p&&(T.width=p),void 0!==h&&(T.height=h),void 0!==m&&(T.quality=m),void 0!==y&&(T.fillWidth=y),void 0!==g&&(T.fillHeight=g),void 0!==b&&(T.blur=b),void 0!==w&&(T.backgroundColor=w),void 0!==I&&(T.foregroundLayer=I),x.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),P.headers),t.a(2,{url:(0,o.uD)(O),options:C})}),t)}))),function(e,t,n,r,o,i,a,u,s,l,f,d,p,v,h,m,y){return c.apply(this,arguments)}),headUserImage:(u=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h=arguments;return f().w((function(t){for(;;)if(0===t.n)return a=h.length>3&&void 0!==h[3]?h[3]:{},u=new URL("/UserImage",o.fY),e&&(c=e.baseOptions),s=v(v({method:"HEAD"},c),a),l={},d={},void 0!==n&&(d.userId=n),void 0!==r&&(d.tag=r),void 0!==i&&(d.format=i),l.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),a.headers),t.a(2,{url:(0,o.uD)(u),options:s})}),t)}))),function(e,t,n){return u.apply(this,arguments)}),postUserImage:(a=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},a=new URL("/UserImage",o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),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/*",s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),c.data=(0,o.Np)(r,c,e),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return a.apply(this,arguments)}),setItemImage:(i=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("setItemImage","itemId",n),(0,o.WC)("setItemImage","imageType",r),u="/Items/{itemId}/Images/{imageType}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("imageType","}"),encodeURIComponent(String(r))),c=new URL(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"POST"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return d["Content-Type"]="image/*",d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.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(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>4&&void 0!==y[4]?y[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),d=v(v({method:"POST"},l),u),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return p["Content-Type"]="image/*",p.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),u.headers),d.data=(0,o.Np)(a,d,e),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,t,n,o){return r.apply(this,arguments)}),updateItemImageIndex:(n=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>4&&void 0!==y[4]?y[4]:{},(0,o.WC)("updateItemImageIndex","itemId",n),(0,o.WC)("updateItemImageIndex","imageType",r),(0,o.WC)("updateItemImageIndex","imageIndex",i),(0,o.WC)("updateItemImageIndex","
2newIndex",a),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),d=v(v({method:"POST"},l),u),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return void 0!==a&&(h.newIndex=a),p.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),u.headers),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,t,r,o){return n.apply(this,arguments)}),uploadCustomSplashscreen:(t=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/Branding/Splashscreen",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="image/*",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,a,u,c,s,l,d,p,h,m,y,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z,z,G,Y,_,W}(e);return{deleteCustomSplashscreen:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.deleteCustomSplashscreen(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["ImageApi.deleteCustomSplashscreen"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},deleteItemImage:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.deleteItemImage(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["ImageApi.deleteItemImage"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},deleteItemImageByIndex:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.deleteItemImageByIndex(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["ImageApi.deleteItemImageByIndex"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},deleteUserImage:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteUserImage(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["ImageApi.deleteUserImage"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getArtistImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getArtistImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getArtistImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getGenreImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getGenreImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getGenreImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getGenreImageByIndex:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getGenreImageByIndex(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getGenreImageByIndex"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getItemImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getItemImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getItemImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getItemImage2:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getItemImage2(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getItemImage2"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getItemImageByIndex:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getItemImageByIndex(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getItemImageByIndex"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getItemImageInfos:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getItemImageInfos(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["ImageApi.getItemImageInfos"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},getMusicGenreImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getMusicGenreImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getMusicGenreImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getMusicGenreImageByIndex:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getMusicGenreImageByIndex(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getMusicGenreImageByIndex"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getPersonImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getPersonImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getPersonImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getPersonImageByIndex:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getPersonImageByIndex(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getPersonImageByIndex"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getSplashscreen:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getSplashscreen(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["ImageApi.getSplashscreen"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getStudioImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getStudioImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getStudioImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getStudioImageByIndex:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getStudioImageByIndex(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.getStudioImageByIndex"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getUserImage:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.getUserImage(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["ImageApi.getUserImage"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},headArtistImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headArtistImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headArtistImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headGenreImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headGenreImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headGenreImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headGenreImageByIndex:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headGenreImageByIndex(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headGenreImageByIndex"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headItemImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headItemImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headItemImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headItemImage2:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headItemImage2(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headItemImage2"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headItemImageByIndex:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headItemImageByIndex(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headItemImageByIndex"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headMusicGenreImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headMusicGenreImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headMusicGenreImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headMusicGenreImageByIndex:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headMusicGenreImageByIndex(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headMusicGenreImageByIndex"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headPersonImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;
2)switch(f.n){case 0:return f.n=1,t.headPersonImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headPersonImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headPersonImageByIndex:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headPersonImageByIndex(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headPersonImageByIndex"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headStudioImage:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headStudioImage(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headStudioImage"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headStudioImageByIndex:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.headStudioImageByIndex(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["ImageApi.headStudioImageByIndex"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},headUserImage:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.headUserImage(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["ImageApi.headUserImage"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},postUserImage:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postUserImage(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["ImageApi.postUserImage"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},setItemImage:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.setItemImage(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["ImageApi.setItemImage"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},setItemImageByIndex:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.setItemImageByIndex(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["ImageApi.setItemImageByIndex"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||n)}))}}),l)})))()},updateItemImageIndex:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.updateItemImageIndex(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["ImageApi.updateItemImageIndex"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||n)}))}}),l)})))()},uploadCustomSplashscreen:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.uploadCustomSplashscreen(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["ImageApi.uploadCustomSplashscreen"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.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"==a(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&&u(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 S(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 O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?S(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(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 C(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 T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(T=function(){return!!e})()}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function k(e,t){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},k(e,t)}var R=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,T()?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&&k(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,O(O({},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=[],a=null==e?void 0:e.Id;if(!a)return i;if(null===(t=e.BackdropImageTags)||void 0===t||t.forEach((function(e){var t=r.getItemImageUrlById(a,I.y.Backdrop,O(O({},o),{},{tag:e}));i.push(t)})),i.length>0)return i;var u=e.ParentBackdropItemId;return u&&(null===(n=e.ParentBackdropImageTags)||void 0===n||n.forEach((function(e){var t=r.getItemImageUrlById(u,I.y.Backdrop,O(O({},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:O(O({},n),{},{tag:e.PrimaryImageTag})})}}],r&&C(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(w);function U(e){return new R(e.configuration,void 0,e.axiosInstance)}},71857:function(e,t,n){n.d(t,{Q:function(){return A}}),n(29305),n(32733),n(84701),n(81678),n(44962),n(4754),n(94),n(36947),n(26437),n(52697),n(78557),n(21359),n(83994),n(82367);var r=n(39362),o=(n(14382),n(33087),n(36457),n(88908),n(83810),n(90076),n(95021),n(93062),n(23630),n(24362),n(76218),n(99102),n(74542)),i=n(19010),a=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 c(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 s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(s=function(){return!!e})()}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(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 u?r:u,s=Object.create(c.prototype);return p(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");
2if(!t.done)return t;c=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(p(t={},r,(function(){return this})),t),f=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,p(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=s,p(f,"constructor",s),p(s,"constructor",c),c.displayName="GeneratorFunction",p(s,o,"GeneratorFunction"),p(f),p(f,o,"Generator"),p(f,r,(function(){return this})),p(f,"toString",(function(){return"[object Generator]"})),(d=function(){return{w:i,m:v}})()}function p(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}p=function(e,t,n,r){function i(t,n){p(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},p(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 h(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){m(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 m(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 g(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}function b(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){g(i,r,o,a,u,"next",e)}function u(e){g(i,r,o,a,u,"throw",e)}a(void 0)}))}}var w=function(e){var t=function(e){return{deleteItem:(G=b(d().m((function t(n){var r,o,a,u,c,s,l,f,p=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,i.WC)("deleteItem","itemId",n),o="/Items/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(o,i.fY),e&&(u=e.baseOptions),c=h(h({method:"DELETE"},u),r),s={},l={},t.n=1,(0,i.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(a,l),f=u&&u.headers?u.headers:{},c.headers=h(h(h({},s),f),r.headers),t.a(2,{url:(0,i.uD)(a),options:c})}}),t)}))),function(e){return G.apply(this,arguments)}),deleteItems:(z=b(d().m((function t(n){var r,o,a,u,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]:{},o=new URL("/Items",i.fY),e&&(a=e.baseOptions),u=h(h({method:"DELETE"},a),r),c={},s={},t.n=1,(0,i.YS)(c,"Authorization",e);case 1:return n&&(s.ids=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(o,s),l=a&&a.headers?a.headers:{},u.headers=h(h(h({},c),l),r.headers),t.a(2,{url:(0,i.uD)(o),options:u})}}),t)}))),function(e){return z.apply(this,arguments)}),getAncestors:(Z=b(d().m((function t(n,r){var o,a,u,c,s,l,f,p,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return o=v.length>2&&void 0!==v[2]?v[2]:{},(0,i.WC)("getAncestors","itemId",n),a="/Items/{itemId}/Ancestors".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,i.fY),e&&(c=e.baseOptions),s=h(h({method:"GET"},c),o),l={},f={},t.n=1,(0,i.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(u,f),p=c&&c.headers?c.headers:{},s.headers=h(h(h({},l),p),o.headers),t.a(2,{url:(0,i.uD)(u),options:s})}}),t)}))),function(e,t){return Z.apply(this,arguments)}),getDownload:(E=b(d().m((function t(n){var r,o,a,u,c,s,l,f,p=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,i.WC)("getDownload","itemId",n),o="/Items/{itemId}/Download".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(o,i.fY),e&&(u=e.baseOptions),c=h(h({method:"GET"},u),r),s={},l={},t.n=1,(0,i.YS)(s,"Authorization",e);case 1:return s.Accept="video/*,audio/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(a,l),f=u&&u.headers?u.headers:{},c.headers=h(h(h({},s),f),r.headers),t.a(2,{url:(0,i.uD)(a),options:c})}}),t)}))),function(e){return E.apply(this,arguments)}),getFile:(L=b(d().m((function t(n){var r,o,a,u,c,s,l,f,p=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,i.WC)("getFile","itemId",n),o="/Items/{itemId}/File".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(o,i.fY),e&&(u=e.baseOptions),c=h(h({method:"GET"},u),r),s={},l={},t.n=1,(0,i.YS)(s,"Authorization",e);case 1:return s.Accept="video/*,audio/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(a,l),f=u&&u.headers?u.headers:{},c.headers=h(h(h({},s),f),r.headers),t.a(2,{url:(0,i.uD)(a),options:c})}}),t)}))),function(e){return L.apply(this,arguments)}),getIntros:(D=b(d().m((function t(n,r){var o,a,u,c,s,l,f,p,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return o=v.length>2&&void 0!==v[2]?v[2]:{},(0,i.WC)("getIntros","itemId",n),a="/Items/{itemId}/Intros".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,i.fY),e&&(c=e.baseOptions),s=h(h({method:"GET"},c),o),l={},f={},t.n=1,(0,i.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(u,f),p=c&&c.headers?c.headers:{},s.headers=h(h(h({},l),p),o.headers),t.a(2,{url:(0,i.uD)(u),options:s})}}),t)}))),function(e,t){return D.apply(this,arguments)}),getItem:(U=b(d().m((function t(n,r){var o,a,u,c,s,l,f,p,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return o=v.length>2&&void 0!==v[2]?v[2]:{},(0,i.WC)("getItem","itemId",n),a="/Items/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,i.fY),e&&(c=e.baseOptions),s=h(h({method:"GET"},c),o),l={},f={},t.n=1,(0,i.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(u,f),p=c&&c.headers?c.headers:{},s.headers=h(h(h({},l),p),o.headers),t.a(2,{url:(0,i.uD)(u),options:s})}}),t)}))),function(e,t){return U.apply(this,arguments)}),getItemCollections:(R=b(d().m((function t(n,r,o,a,u){var c,s,l,f,p,v,m,y,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,i.WC)("getItemCollections","itemId",n),s="/Items/{itemId}/Collections".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,i.fY),e&&(f=e.baseOptions),p=h(h({method:"GET"},f),c),v={},m={},t.n=1,(0,i.YS)(v,"Authorization",e);case 1:return void 0!==r&&(m.userId=r),void 0!==o&&(m.startIndex=o),void 0!==a&&(m.limit=a),u&&(m.fields=u),v.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(l,m),y=f&&f.headers?f.headers:{},p.headers=h(h(h({},v),y),c.headers),t.a(2,{url:(0,i.uD)(l),options:p})}}),t)}))),function(e,t,n,r,o){return R.apply(this,arguments)}),getItemCounts:(k=b(d().m((function t(n,r){var o,a,u,c,s,l,f,p=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return o=p.length>2&&void 0!==p[2]?p[2]:{},a=new URL("/Items/Counts",i.fY),e&&(u=e.baseOptions),c=h(h({method:"GET"},u),o),s={},l={},t.n=1,(0,i.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.userId=n),void 0!==r&&(l.isFavorite=r),s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(a,l),f=u&&u.headers?u.headers:{},c.headers=h(h(h({},s),f),o.headers),t.a(2,{url:(0,i.uD)(a),options:c})}}),t)}))),function(e,t){return k.apply(this,arguments)}),getItems:(A=b(d().m((function t(n,r,o,a,u,c,s,l,f,p,v,m,y,g,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z,z,G,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ae,ue,ce,se,le,fe,de,pe,ve,he,me,ye,ge,be,we,Ie,Pe,Se,Oe,je,Ce,xe,Te,Ae,ke,Re,Ue,De,Le,Ee,Ze,ze,Ge){var Ye,_e,We,Fe,Be,Me,Ne,He=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return Ye=He.length>88&&void 0!==He[88]?He[88]:{},_e=new URL("/Items",i.fY),e&&(We=e.baseOptions),Fe=h(h({method:"GET"},We),Ye),Be={},Me={},t.n=1,(0,i.YS)(Be,"Authorization",e);case 1:return void 0!==n&&(Me.userId=n),void 0!==r&&(Me.maxOfficialRating=r),void 0!==o&&(Me.hasThemeSong=o),void 0!==a&&(Me.hasThemeVideo=a),void 0!==u&&(Me.hasSubtitles=u),void 0!==c&&(Me.hasSpecialFeature=c),void 0!==s&&(Me.hasTrailer=s),void 0!==l&&(Me.adjacentTo=l),void 0!==f&&(Me.indexNumber=f),void 0!==p&&(Me.parentIndexNumber=p),void 0!==v&&(Me.hasParentalRating=v),void 0!==m&&(Me.isHd=m),void 0!==y&&(Me.is4K=y),g&&(Me.locationTypes=g),b&&(Me.excludeLocationTypes=b),void 0!==w&&(Me.isMissing=w),void 0!==I&&(Me.isUnaired=I),void 0!==P&&(Me.minCommunityRating=P),void 0!==S&&(Me.minCriticRating=S),void 0!==O&&(Me.minPremiereDate=O instanceof Date?O.toISOString():O),void 0!==j&&(Me.minDateLastSaved=j instanceof Date?j.toISOString():j),void 0!==C&&(Me.minDateLastSavedForUser=C instanceof Date?C.toISOString():C),void 0!==x&&(Me.maxPremiereDate=x instanceof Date?x.toISOString():x),void 0!==T&&(Me.hasOverview=T),void 0!==A&&(Me.hasImdbId=A),void 0!==k&&(Me.hasTmdbId=k),void 0!==R&&(Me.hasTvdbId=R),void 0!==U&&(Me.isMovie=U),void 0!==D&&(Me.isSeries=D),void 0!==L&&(Me.isNews=L),void 0!==E&&(Me.isKids=E),void 0!==Z&&(Me.isSports=Z),z&&(Me.excludeItemIds=z),void 0!==G&&(Me.startIndex=G),void 0!==Y&&(Me.limit=Y),void 0!==_&&(Me.recursive=_),void 0!==W&&(Me.searchTerm=W),F&&(Me.sortOrder=F),void 0!==B&&(Me.parentId=B),M&&(Me.fields=M),N&&(Me.excludeItemTypes=N),H&&(Me.includeItemTypes=H),V&&(Me.filters=V),void 0!==q&&(Me.isFavorite=q),Q&&(Me.mediaTypes=Q),K&&(Me.imageTypes=K),J&&(Me.sortBy=J),void 0!==$&&(Me.isPlayed=$),X&&(Me.genres=X),ee&&(Me.officialRatings=ee),te&&(Me.tags=te),ne&&(Me.years=ne),void 0!==re&&(Me.enableUserData=re),void 0!==oe&&(Me.imageTypeLimit=oe),ie&&(Me.enableImageTypes=ie),void 0!==ae&&(Me.person=ae),ue&&(Me.personIds=ue),ce&&(Me.personTypes=ce),se&&(Me.studios=se),le&&(Me.artists=le),fe&&(Me.excludeArtistIds=fe),de&&(Me.artistIds=de),pe&&(Me.albumArtistIds=pe),ve&&(Me.contributingArtistIds=ve),he&&(Me.albums=he),me&&(Me.albumIds=me),ye&&(Me.ids=ye),ge&&(Me.videoTypes=ge),void 0!==be&&(Me.minOfficialRating=be),void 0!==we&&(Me.isLocked=we),void 0!==Ie&&(Me.isPlaceHolder=Ie),void 0!==Pe&&(Me.hasOfficialRating=Pe),void 0!==Se&&(Me.collapseBo
2xSetItems=Se),void 0!==Oe&&(Me.minWidth=Oe),void 0!==je&&(Me.minHeight=je),void 0!==Ce&&(Me.maxWidth=Ce),void 0!==xe&&(Me.maxHeight=xe),void 0!==Te&&(Me.is3D=Te),Ae&&(Me.seriesStatus=Ae),void 0!==ke&&(Me.nameStartsWithOrGreater=ke),void 0!==Re&&(Me.nameStartsWith=Re),void 0!==Ue&&(Me.nameLessThan=Ue),De&&(Me.studioIds=De),Le&&(Me.genreIds=Le),Ee&&(Me.audioLanguages=Ee),Ze&&(Me.subtitleLanguages=Ze),void 0!==ze&&(Me.enableTotalRecordCount=ze),void 0!==Ge&&(Me.enableImages=Ge),Be.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(_e,Me),Ne=We&&We.headers?We.headers:{},Fe.headers=h(h(h({},Be),Ne),Ye.headers),t.a(2,{url:(0,i.uD)(_e),options:Fe})}}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m,y,g,b,w,I,P,S,O,j,C,x,T,k,R,U,D,L,E,Z,z,G,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ae,ue,ce,se,le,fe,de,pe,ve,he,me,ye,ge,be,we,Ie,Pe,Se,Oe,je,Ce,xe,Te,Ae,ke,Re,Ue,De,Le){return A.apply(this,arguments)}),getLatestMedia:(T=b(d().m((function t(n,r,o,a,u,c,s,l,f,p,v){var m,y,g,b,w,I,P,S=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return m=S.length>11&&void 0!==S[11]?S[11]:{},y=new URL("/Items/Latest",i.fY),e&&(g=e.baseOptions),b=h(h({method:"GET"},g),m),w={},I={},t.n=1,(0,i.YS)(w,"Authorization",e);case 1:return void 0!==n&&(I.userId=n),void 0!==r&&(I.parentId=r),o&&(I.fields=o),a&&(I.includeItemTypes=a),void 0!==u&&(I.isPlayed=u),void 0!==c&&(I.enableImages=c),void 0!==s&&(I.imageTypeLimit=s),l&&(I.enableImageTypes=l),void 0!==f&&(I.enableUserData=f),void 0!==p&&(I.limit=p),void 0!==v&&(I.groupItems=v),w.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(y,I),P=g&&g.headers?g.headers:{},b.headers=h(h(h({},w),P),m.headers),t.a(2,{url:(0,i.uD)(y),options:b})}}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l){return T.apply(this,arguments)}),getLibraryOptionsInfo:(x=b(d().m((function t(n,r){var o,a,u,c,s,l,f,p=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return o=p.length>2&&void 0!==p[2]?p[2]:{},a=new URL("/Libraries/AvailableOptions",i.fY),e&&(u=e.baseOptions),c=h(h({method:"GET"},u),o),s={},l={},t.n=1,(0,i.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.libraryContentType=n),void 0!==r&&(l.isNewLibrary=r),s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(a,l),f=u&&u.headers?u.headers:{},c.headers=h(h(h({},s),f),o.headers),t.a(2,{url:(0,i.uD)(a),options:c})}}),t)}))),function(e,t){return x.apply(this,arguments)}),getLocalTrailers:(C=b(d().m((function t(n,r){var o,a,u,c,s,l,f,p,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return o=v.length>2&&void 0!==v[2]?v[2]:{},(0,i.WC)("getLocalTrailers","itemId",n),a="/Items/{itemId}/LocalTrailers".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,i.fY),e&&(c=e.baseOptions),s=h(h({method:"GET"},c),o),l={},f={},t.n=1,(0,i.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(u,f),p=c&&c.headers?c.headers:{},s.headers=h(h(h({},l),p),o.headers),t.a(2,{url:(0,i.uD)(u),options:s})}}),t)}))),function(e,t){return C.apply(this,arguments)}),getMediaFolders:(j=b(d().m((function t(n){var r,o,a,u,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]:{},o=new URL("/Library/MediaFolders",i.fY),e&&(a=e.baseOptions),u=h(h({method:"GET"},a),r),c={},s={},t.n=1,(0,i.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.isHidden=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(o,s),l=a&&a.headers?a.headers:{},u.headers=h(h(h({},c),l),r.headers),t.a(2,{url:(0,i.uD)(o),options:u})}}),t)}))),function(e){return j.apply(this,arguments)}),getPhysicalPaths:(O=b(d().m((function t(){var n,r,o,a,u,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",i.fY),e&&(o=e.baseOptions),a=h(h({method:"GET"},o),n),u={},c={},t.n=1,(0,i.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(r,c),s=o&&o.headers?o.headers:{},a.headers=h(h(h({},u),s),n.headers),t.a(2,{url:(0,i.uD)(r),options:a})}}),t)}))),function(){return O.apply(this,arguments)}),getResumeItems:(S=b(d().m((function t(n,r,o,a,u,c,s,l,f,p,v,m,y,g,b){var w,I,P,S,O,j,C,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",i.fY),e&&(P=e.baseOptions),S=h(h({method:"GET"},P),w),O={},j={},t.n=1,(0,i.YS)(O,"Authorization",e);case 1:return void 0!==n&&(j.userId=n),void 0!==r&&(j.startIndex=r),void 0!==o&&(j.limit=o),void 0!==a&&(j.searchTerm=a),void 0!==u&&(j.parentId=u),c&&(j.fields=c),s&&(j.mediaTypes=s),void 0!==l&&(j.enableUserData=l),void 0!==f&&(j.imageTypeLimit=f),p&&(j.enableImageTypes=p),v&&(j.excludeItemTypes=v),m&&(j.includeItemTypes=m),void 0!==y&&(j.enableTotalRecordCount=y),void 0!==g&&(j.enableImages=g),void 0!==b&&(j.excludeActiveSessions=b),O.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(I,j),C=P&&P.headers?P.headers:{},S.headers=h(h(h({},O),C),w.headers),t.a(2,{url:(0,i.uD)(I),options:S})}}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v){return S.apply(this,arguments)}),getRootFolder:(P=b(d().m((function t(n){var r,o,a,u,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]:{},o=new URL("/Items/Root",i.fY),e&&(a=e.baseOptions),u=h(h({method:"GET"},a),r),c={},s={},t.n=1,(0,i.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(o,s),l=a&&a.headers?a.headers:{},u.headers=h(h(h({},c),l),r.headers),t.a(2,{url:(0,i.uD)(o),options:u})}}),t)}))),function(e){return P.apply(this,arguments)}),getSimilarAlbums:(I=b(d().m((function t(n,r,o,a,u){var c,s,l,f,p,v,m,y,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,i.WC)("getSimilarAlbums","itemId",n),s="/Albums/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,i.fY),e&&(f=e.baseOptions),p=h(h({method:"GET"},f),c),v={},m={},t.n=1,(0,i.YS)(v,"Authorization",e);case 1:return r&&(m.excludeArtistIds=r),void 0!==o&&(m.userId=o),void 0!==a&&(m.limit=a),u&&(m.fields=u),v.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(l,m),y=f&&f.headers?f.headers:{},p.headers=h(h(h({},v),y),c.headers),t.a(2,{url:(0,i.uD)(l),options:p})}}),t)}))),function(e,t,n,r,o){return I.apply(this,arguments)}),getSimilarArtists:(w=b(d().m((function t(n,r,o,a,u){var c,s,l,f,p,v,m,y,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,i.WC)("getSimilarArtists","itemId",n),s="/Artists/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,i.fY),e&&(f=e.baseOptions),p=h(h({method:"GET"},f),c),v={},m={},t.n=1,(0,i.YS)(v,"Authorization",e);case 1:return r&&(m.excludeArtistIds=r),void 0!==o&&(m.userId=o),void 0!==a&&(m.limit=a),u&&(m.fields=u),v.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(l,m),y=f&&f.headers?f.headers:{},p.headers=h(h(h({},v),y),c.headers),t.a(2,{url:(0,i.uD)(l),options:p})}}),t)}))),function(e,t,n,r,o){return w.apply(this,arguments)}),getSimilarItems:(g=b(d().m((function t(n,r,o,a,u){var c,s,l,f,p,v,m,y,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,i.WC)("getSimilarItems","itemId",n),s="/Items/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,i.fY),e&&(f=e.baseOptions),p=h(h({method:"GET"},f),c),v={},m={},t.n=1,(0,i.YS)(v,"Authorization",e);case 1:return r&&(m.excludeArtistIds=r),void 0!==o&&(m.userId=o),void 0!==a&&(m.limit=a),u&&(m.fields=u),v.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(l,m),y=f&&f.headers?f.headers:{},p.headers=h(h(h({},v),y),c.headers),t.a(2,{url:(0,i.uD)(l),options:p})}}),t)}))),function(e,t,n,r,o){return g.apply(this,arguments)}),getSimilarMovies:(y=b(d().m((function t(n,r,o,a,u){var c,s,l,f,p,v,m,y,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,i.WC)("getSimilarMovies","itemId",n),s="/Movies/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,i.fY),e&&(f=e.baseOptions),p=h(h({method:"GET"},f),c),v={},m={},t.n=1,(0,i.YS)(v,"Authorization",e);case 1:return r&&(m.excludeArtistIds=r),void 0!==o&&(m.userId=o),void 0!==a&&(m.limit=a),u&&(m.fields=u),v.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(l,m),y=f&&f.headers?f.headers:{},p.headers=h(h(h({},v),y),c.headers),t.a(2,{url:(0,i.uD)(l),options:p})}}),t)}))),function(e,t,n,r,o){return y.apply(this,arguments)}),getSimilarShows:(m=b(d().m((function t(n,r,o,a,u){var c,s,l,f,p,v,m,y,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,i.WC)("getSimilarShows","itemId",n),s="/Shows/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,i.fY),e&&(f=e.baseOptions),p=h(h({method:"GET"},f),c),v={},m={},t.n=1,(0,i.YS)(v,"Authorization",e);case 1:return r&&(m.excludeArtistIds=r),void 0!==o&&(m.userId=o),void 0!==a&&(m.limit=a),u&&(m.fields=u),v.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(l,m),y=f&&f.headers?f.headers:{},p.headers=h(h(h({},v),y),c.headers),t.a(2,{url:(0,i.uD)(l),options:p})}}),t)}))),function(e,t,n,r,o){return m.apply(this,arguments)}),getSimilarTrailers:(v=b(d().m((function t(n,r,o,a,u){var c,s,l,f,p,v,m,y,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,i.WC)("getSimilarTrailers","itemId",n),s="/Trailers/{itemId}/Similar".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,i.fY),e&&(f=e.baseOptions),p=h(h({method:"GET"},f),c),v={},m={},t.n=1,(0,i.YS)(v,"Authorization",e);case 1:return r&&(m.excludeArtistIds=r),void 0!==o&&(m.userId=o),void 0!==a&&(m.limit=a),u&&(m.fields=u),v.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(l,m),y=f&&f.headers?f.headers:{},p.headers=h(h(h({},v),y),c.headers),t.a(2,{url:(0,i.uD)(l),options:p})}}),t)}))),function(e,t,n,r,o){return v.apply(this,arguments)}),getSpecialFeatures:(p=b(d().m((function t(n,r){var o,a,u,c,s,l,f,p,v=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return o=v.length>2&&void 0!==v[2]?v[2]:{},(0,i.WC)("getSpecialFeatures","itemId",n),a="/Items/{itemId}/SpecialFeatures".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,i.fY),e&&(c=e.baseOptions),s=h(h({method:"GET"},c),o),l={},f={},t.n=1,(0,i.YS)(l,"Authorization",e);case 1:return void 0!==r&&(f.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(u,f),p=c&&c.headers?c.headers:{},s.headers=h(h(h({},l),p),o.headers),t.a(2,{url:(0,i.uD)(u),options:s})}}),t)}))),function(e,t){return p.apply(this,arguments)}),getThemeMedia:(f=b(d().m((function t(n,r,o,a,u){var c,s,l,f,p,v,m,y,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,i.WC)("getThemeMedia","itemId",n),s="/Items/{itemId}/ThemeMedia".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,i.fY),e&&(f=e.baseOptions),p=h(h({method:"GET"},f),c),v={},m={},t.n=1,(0,i.YS)(v,"Authorization",e);case 1:return void 0!==r&&(m.userId=r),void 0!==o&&(m.inheritFromParent=o),a&&(m.sortBy=a),u&&(m.sortOrder=u),v.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(l,m),y=f&&f.headers?f.headers:{},p.headers=h(h(h({},v),y),c.headers),t.a(2,{url:(0,i.uD)(l),options:p})}}),t)}))),function(e,t,n,r,o){return f.apply(this,arguments)}),getThemeSongs:(l=b(d().m((function t(n,r,o,a,u){var c,s,l,f,p,v,m,y,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,i.WC)("getThemeSongs","itemId",n),s="/Items/{itemId}/ThemeSongs".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,i.fY),e&&(f=e.baseOptions),p=h(h({method:"GET"},f),c),v={},m={},t.n=1,(0,i.YS)(v,"Authorization",e);case 1:return void 0!==r&&(m.userId=r),void 0!==o&&(m.inheritFromParent=o),a&&(m.sortBy=a),u&&(m.sortOrder=u),v.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(l,m),y=f&&f.headers?f.headers:{},p.headers=h(h(h({},v),y),c.headers),t.a(2,{url:(0,i.uD)(l),options:p})}}),t)}))),function(e,t,n,r,o){return l.apply(this,arguments)}),getThemeVideos:(s=b(d().m((function t(n,r,o,a,u){var c,s,l,f,p,v,m,y,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,i.WC)("getThemeVideos","itemId",n),s="/Items/{itemId}/ThemeVideos".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),l=new URL(s,i.fY),e&&(f=e.baseOptions),p=h(h({method:"GET"},f),c),v={},m={},t.n=1,(0,i.YS)(v,"Authorization",e);case 1:return void 0!==r&&(m.userId=r),void 0!==o&&(m.inheritFromParent=o),a&&(m.sortBy=a),u&&(m.sortOrder=u),v.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(l,m),y=f&&f.headers?f.headers:{},p.headers=h(h(h({},v),y),c.headers),t.a(2,{url:(0,i.uD)(l),options:p})}}),t)}))),function(e,t,n,r,o){return s.apply(this,arguments)}),postAddedMovies:(c=b(d().m((function t(n,r){var o,a,u,c,s,l,f,p=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return o=p.length>2&&void 0!==p[2]?p[2]:{},a=new URL("/Library/Movies/Added",i.fY),e&&(u=e.baseOptions),c=h(h({method:"POST"},u),o),s={},l={},t.n=1,(0,i.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.tmdbId=n),void 0!==r&&(l.imdbId=r),s.Accept="text/html",(0,i.rZ)(a,l),f=u&&u.headers?u.headers:{},c.headers=h(h(h({},s),f),o.headers),t.a(2,{url:(0,i.uD)(a),options:c})}}),t)}))),function(e,t){return c.apply(this,arguments)}),postAddedSeries:(u=b(d().m((function t(n){var r,o,a,u,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]:{},o=new URL("/Library/Series/Added",i.fY),e&&(a=e.baseOptions),u=h(h({method:"POST"},a),r),c={},s={},t.n=1,(0,i.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.tvdbId=n),c.Accept="text/html",(0,i.rZ)(o,s),l=a&&a.headers?a.headers:{},u.headers=h(h(h({},c),l),r.headers),t.a(2,{url:(0,i.uD)(o),options:u})}}),t)}))),function(e){return u.apply(this,arguments)}),postUpdatedMedia:(a=b(d().m((function t(n){var r,o,a,u,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,i.WC)("postUpdatedMedia","mediaUpdateInfoDto",n),o=new URL("/Library/Media/Updated",i.fY),e&&(a=e.baseOptions),u=h(h({method:"POST"},a),r),c={},s={},t.n=1,(0,i.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,i.rZ)(o,s),l=a&&a.headers?a.headers:{},u.headers=h(h(h({},c),l),r.headers),u.data=(0,i.Np)(n,u,e),t.a(2,{url:(0,i.uD)(o),options:u})}}),t)}))),function(e){return a.apply(this,arguments)}),postUpdatedMovies:(o=b(d().m((function t(n,r){var o,a,u,c,s,l,f,p=arguments;return d().w((function(t){for(;;)switch(t.n){case 0:return o=p.length>2&&void 0!==p[2]?p[2]:{},a=new URL("/Library/Movies/Updated",i.fY),e&&(u=e.baseOptions),c=h(h({method:"POST"},u),o),s={},l={},t.n=1,(0,i.YS)(s,"Authorization",e);case 1:return void 0!==n&&(l.tmdbId=n),void 0!==r&&(l.imdbId=r),s.Accept="text/html",(0,i.rZ)(a,l),f=u&&u.headers?u.headers:{},c.headers=h(h(h({},s),f),o.headers),t.a(2,{url:(0,i.uD)(a),options:c})}}),t)}))),function(e,t){return o.apply(this,arguments)}),postUpdatedSeries:(r=b(d().m((function t(n){var r,o,a,u,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]:{},o=new URL("/Library/Series/Updated",i.fY),e&&(a=e.baseOptions),u=h(h({method:"POST"},a),r),c={},s={},t.n=1,(0,i.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.tvdbId=n),c.Accept="text/html",(0,i.rZ)(o,s),l=a&&a.headers?a.headers:{},u.headers=h(h(h({},c),l),r.headers),t.a(2,{url:(0,i.uD)(o),options:u})}}),t)}))),function(e){return r.apply(this,arguments)}),refreshItem:(n=b(d().m((function t(n,r,o,a,u,c){var s,l,f,p,v,m,y,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,i.WC)("refreshItem","itemId",n),l="/Items/{itemId}/Refresh".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),f=new URL(l,i.fY),e&&(p=e.baseOptions),v=h(h({method:"POST"},p),s),m={},y={},t.n=1,(0,i.YS)(m,"Authorization",e);case 1:return void 0!==r&&(y.metadataRefreshMode=r),void 0!==o&&(y.imageRefreshMode=o),void 0!==a&&(y.replaceAllMetadata=a),void 0!==u&&(y.replaceAllImages=u),void 0!==c&&(y.regenerateTrickplay=c),m.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,i.rZ)(f,y),g=p&&p.headers?p.headers:{},v.headers=h(h(h({},m),g),s.headers),t.a(2,{url:(0,i.uD)(f),options:v})}}),t)}))),function(e,t,r,o,i,a){return n.apply(this,arguments)}),refreshLibrary:(t=b(d().m((function t(){var n,r,o,a,u,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",i.fY),e&&(o=e.baseOptions),a=h(h({method:"POST"},o),n),u={},c={},t.n=1,(0,i.YS)(u,"Authorization",e);
2case 1:return u.Accept="text/html",(0,i.rZ)(r,c),s=o&&o.headers?o.headers:{},a.headers=h(h(h({},u),s),n.headers),t.a(2,{url:(0,i.uD)(r),options:a})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,o,a,u,c,s,l,f,p,v,m,y,g,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z,z,G}(e);return{deleteItem:function(n,r){return b(d().m((function u(){var c,s,l,f,p,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteItem(n,r);case 1:return f=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=a.z9["LibraryApi.deleteItem"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,i.yZ)(f,o.A,a.o2,e)(t,v||n)}))}}),u)})))()},deleteItems:function(n,r){return b(d().m((function u(){var c,s,l,f,p,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteItems(n,r);case 1:return f=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=a.z9["LibraryApi.deleteItems"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,i.yZ)(f,o.A,a.o2,e)(t,v||n)}))}}),u)})))()},getAncestors:function(n,r,u){return b(d().m((function c(){var s,l,f,p,v,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getAncestors(n,r,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=a.z9["LibraryApi.getAncestors"])||void 0===l?void 0:l[v])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,i.yZ)(p,o.A,a.o2,e)(t,h||n)}))}}),c)})))()},getDownload:function(n,r){return b(d().m((function u(){var c,s,l,f,p,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getDownload(n,r);case 1:return f=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=a.z9["LibraryApi.getDownload"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,i.yZ)(f,o.A,a.o2,e)(t,v||n)}))}}),u)})))()},getFile:function(n,r){return b(d().m((function u(){var c,s,l,f,p,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getFile(n,r);case 1:return f=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=a.z9["LibraryApi.getFile"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,i.yZ)(f,o.A,a.o2,e)(t,v||n)}))}}),u)})))()},getIntros:function(n,r,u){return b(d().m((function c(){var s,l,f,p,v,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getIntros(n,r,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=a.z9["LibraryApi.getIntros"])||void 0===l?void 0:l[v])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,i.yZ)(p,o.A,a.o2,e)(t,h||n)}))}}),c)})))()},getItem:function(n,r,u){return b(d().m((function c(){var s,l,f,p,v,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getItem(n,r,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=a.z9["LibraryApi.getItem"])||void 0===l?void 0:l[v])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,i.yZ)(p,o.A,a.o2,e)(t,h||n)}))}}),c)})))()},getItemCollections:function(n,r,u,c,s,l){return b(d().m((function f(){var p,v,h,m,y,g;return d().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getItemCollections(n,r,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=a.z9["LibraryApi.getItemCollections"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,i.yZ)(m,o.A,a.o2,e)(t,g||n)}))}}),f)})))()},getItemCounts:function(n,r,u){return b(d().m((function c(){var s,l,f,p,v,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getItemCounts(n,r,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=a.z9["LibraryApi.getItemCounts"])||void 0===l?void 0:l[v])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,i.yZ)(p,o.A,a.o2,e)(t,h||n)}))}}),c)})))()},getItems:function(n,r,u,c,s,l,f,p,v,h,m,y,g,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z,z,G,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ae,ue,ce,se,le,fe,de,pe,ve,he,me,ye,ge,be,we,Ie,Pe,Se,Oe,je,Ce,xe,Te,Ae,ke,Re,Ue,De,Le,Ee,Ze,ze,Ge,Ye,_e,We){return b(d().m((function b(){var Fe,Be,Me,Ne,He,Ve;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getItems(n,r,u,c,s,l,f,p,v,h,m,y,g,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z,z,G,Y,_,W,F,B,M,N,H,V,q,Q,K,J,$,X,ee,te,ne,re,oe,ie,ae,ue,ce,se,le,fe,de,pe,ve,he,me,ye,ge,be,we,Ie,Pe,Se,Oe,je,Ce,xe,Te,Ae,ke,Re,Ue,De,Le,Ee,Ze,ze,Ge,Ye,_e,We);case 1:return Ne=d.v,He=null!==(Fe=null==e?void 0:e.serverIndex)&&void 0!==Fe?Fe:0,Ve=null===(Me=null===(Be=a.z9["LibraryApi.getItems"])||void 0===Be?void 0:Be[He])||void 0===Me?void 0:Me.url,d.a(2,(function(t,n){return(0,i.yZ)(Ne,o.A,a.o2,e)(t,Ve||n)}))}}),b)})))()},getLatestMedia:function(n,r,u,c,s,l,f,p,v,h,m,y){return b(d().m((function g(){var b,w,I,P,S,O;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getLatestMedia(n,r,u,c,s,l,f,p,v,h,m,y);case 1:return P=d.v,S=null!==(b=null==e?void 0:e.serverIndex)&&void 0!==b?b:0,O=null===(I=null===(w=a.z9["LibraryApi.getLatestMedia"])||void 0===w?void 0:w[S])||void 0===I?void 0:I.url,d.a(2,(function(t,n){return(0,i.yZ)(P,o.A,a.o2,e)(t,O||n)}))}}),g)})))()},getLibraryOptionsInfo:function(n,r,u){return b(d().m((function c(){var s,l,f,p,v,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getLibraryOptionsInfo(n,r,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=a.z9["LibraryApi.getLibraryOptionsInfo"])||void 0===l?void 0:l[v])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,i.yZ)(p,o.A,a.o2,e)(t,h||n)}))}}),c)})))()},getLocalTrailers:function(n,r,u){return b(d().m((function c(){var s,l,f,p,v,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getLocalTrailers(n,r,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=a.z9["LibraryApi.getLocalTrailers"])||void 0===l?void 0:l[v])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,i.yZ)(p,o.A,a.o2,e)(t,h||n)}))}}),c)})))()},getMediaFolders:function(n,r){return b(d().m((function u(){var c,s,l,f,p,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getMediaFolders(n,r);case 1:return f=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=a.z9["LibraryApi.getMediaFolders"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,i.yZ)(f,o.A,a.o2,e)(t,v||n)}))}}),u)})))()},getPhysicalPaths:function(n){return b(d().m((function r(){var u,c,s,l,f,p;return d().w((function(r){for(;;)switch(r.n){case 0:return r.n=1,t.getPhysicalPaths(n);case 1:return l=r.v,f=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=a.z9["LibraryApi.getPhysicalPaths"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,r.a(2,(function(t,n){return(0,i.yZ)(l,o.A,a.o2,e)(t,p||n)}))}}),r)})))()},getResumeItems:function(n,r,u,c,s,l,f,p,v,h,m,y,g,w,I,P){return b(d().m((function b(){var S,O,j,C,x,T;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.getResumeItems(n,r,u,c,s,l,f,p,v,h,m,y,g,w,I,P);case 1:return C=d.v,x=null!==(S=null==e?void 0:e.serverIndex)&&void 0!==S?S:0,T=null===(j=null===(O=a.z9["LibraryApi.getResumeItems"])||void 0===O?void 0:O[x])||void 0===j?void 0:j.url,d.a(2,(function(t,n){return(0,i.yZ)(C,o.A,a.o2,e)(t,T||n)}))}}),b)})))()},getRootFolder:function(n,r){return b(d().m((function u(){var c,s,l,f,p,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getRootFolder(n,r);case 1:return f=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=a.z9["LibraryApi.getRootFolder"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,i.yZ)(f,o.A,a.o2,e)(t,v||n)}))}}),u)})))()},getSimilarAlbums:function(n,r,u,c,s,l){return b(d().m((function f(){var p,v,h,m,y,g;return d().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getSimilarAlbums(n,r,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=a.z9["LibraryApi.getSimilarAlbums"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,i.yZ)(m,o.A,a.o2,e)(t,g||n)}))}}),f)})))()},getSimilarArtists:function(n,r,u,c,s,l){return b(d().m((function f(){var p,v,h,m,y,g;return d().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getSimilarArtists(n,r,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=a.z9["LibraryApi.getSimilarArtists"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,i.yZ)(m,o.A,a.o2,e)(t,g||n)}))}}),f)})))()},getSimilarItems:function(n,r,u,c,s,l){return b(d().m((function f(){var p,v,h,m,y,g;return d().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getSimilarItems(n,r,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=a.z9["LibraryApi.getSimilarItems"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,i.yZ)(m,o.A,a.o2,e)(t,g||n)}))}}),f)})))()},getSimilarMovies:function(n,r,u,c,s,l){return b(d().m((function f(){var p,v,h,m,y,g;return d().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getSimilarMovies(n,r,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=a.z9["LibraryApi.getSimilarMovies"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,i.yZ)(m,o.A,a.o2,e)(t,g||n)}))}}),f)})))()},getSimilarShows:function(n,r,u,c,s,l){return b(d().m((function f(){var p,v,h,m,y,g;return d().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getSimilarShows(n,r,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=a.z9["LibraryApi.getSimilarShows"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,i.yZ)(m,o.A,a.o2,e)(t,g||n)}))}}),f)})))()},getSimilarTrailers:function(n,r,u,c,s,l){return b(d().m((function f(){var p,v,h,m,y,g;return d().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getSimilarTrailers(n,r,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=a.z9["LibraryApi.getSimilarTrailers"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,i.yZ)(m,o.A,a.o2,e)(t,g||n)}))}}),f)})))()},getSpecialFeatures:function(n,r,u){return b(d().m((function c(){var s,l,f,p,v,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getSpecialFeatures(n,r,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=a.z9["LibraryApi.getSpecialFeatures"])||void 0===l?void 0:l[v])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,i.yZ)(p,o.A,a.o2,e)(t,h||n)}))}}),c)})))()},getThemeMedia:function(n,r,u,c,s,l){return b(d().m((function f(){var p,v,h,m,y,g;return d().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getThemeMedia(n,r,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=a.z9["LibraryApi.getThemeMedia"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,i.yZ)(m,o.A,a.o2,e)(t,g||n)}))}}),f)})))()},getThemeSongs:function(n,r,u,c,s,l){return b(d().m((function f(){var p,v,h,m,y,g;return d().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getThemeSongs(n,r,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=a.z9["LibraryApi.getThemeSongs"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,i.yZ)(m,o.A,a.o2,e)(t,g||n)}))}}),f)})))()},getThemeVideos:function(n,r,u,c,s,l){return b(d().m((function f(){var p,v,h,m,y,g;return d().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getThemeVideos(n,r,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=a.z9["LibraryApi.getThemeVideos"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,i.yZ)(m,o.A,a.o2,e)(t,g||n)}))}}),f)})))()},postAddedMovies:function(n,r,u){return b(d().m((function c(){var s,l,f,p,v,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postAddedMovies(n,r,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=a.z9["LibraryApi.postAddedMovies"])||void 0===l?void 0:l[v])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,i.yZ)(p,o.A,a.o2,e)(t,h||n)}))}}),c)})))()},postAddedSeries:function(n,r){return b(d().m((function u(){var c,s,l,f,p,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.postAddedSeries(n,r);case 1:return f=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=a.z9["LibraryApi.postAddedSeries"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,i.yZ)(f,o.A,a.o2,e)(t,v||n)}))}}),u)})))()},postUpdatedMedia:function(n,r){return b(d().m((function u(){var c,s,l,f,p,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.postUpdatedMedia(n,r);case 1:return f=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=a.z9["LibraryApi.postUpdatedMedia"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,i.yZ)(f,o.A,a.o2,e)(t,v||n)}))}}),u)})))()},postUpdatedMovies:function(n,r,u){return b(d().m((function c(){var s,l,f,p,v,h;return d().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postUpdatedMovies(n,r,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(f=null===(l=a.z9["LibraryApi.postUpdatedMovies"])||void 0===l?void 0:l[v])||void 0===f?void 0:f.url,c.a(2,(function(t,n){return(0,i.yZ)(p,o.A,a.o2,e)(t,h||n)}))}}),c)})))()},postUpdatedSeries:function(n,r){return b(d().m((function u(){var c,s,l,f,p,v;return d().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.postUpdatedSeries(n,r);case 1:return f=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=a.z9["LibraryApi.postUpdatedSeries"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,i.yZ)(f,o.A,a.o2,e)(t,v||n)}))}}),u)})))()},refreshItem:function(n,r,u,c,s,l,f){return b(d().m((function p(){var v,h,m,y,g,b;return d().w((function(d){for(;;)switch(d.n){case 0:return d.n=1,t.refreshItem(n,r,u,c,s,l,f);case 1:return y=d.v,g=null!==(v=null==e?void 0:e.serverIndex)&&void 0!==v?v:0,b=null===(m=null===(h=a.z9["LibraryApi.refreshItem"])||void 0===h?void 0:h[g])||void 0===m?void 0:m.url,d.a(2,(function(t,n){return(0,i.yZ)(y,o.A,a.o2,e)(t,b||n)}))}}),p)})))()},refreshLibrary:function(n){return b(d().m((function r(){var u,c,s,l,f,p;return d().w((function(r){for(;;)switch(r.n){case 0:return r.n=1,t.refreshLibrary(n);case 1:return l=r.v,f=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=a.z9["LibraryApi.refreshLibrary"])||void 0===c?void 0:c[f])||void 0===s?void 0:s.url,r.a(2,(function(t,n){return(0,i.yZ)(l,o.A,a.o2,e)(t,p||n)}))}}),r)})))()}}},I=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=l(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,s()?Reflect.construct(t,n||[],l(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&&f(e,t)}(t,e),n=t,r=[{key:"deleteItem",value:function(e,t){var n=this;return w(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&&
2void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return w(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 w(this.configuration).getAncestors(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getDownload",value:function(e,t){var n=this;return w(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 w(this.configuration).getFile(e.itemId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getIntros",value:function(e,t){var n=this;return w(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 w(this.configuration).getItem(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getItemCollections",value:function(e,t){var n=this;return w(this.configuration).getItemCollections(e.itemId,e.userId,e.startIndex,e.limit,e.fields,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 w(this.configuration).getItemCounts(t.userId,t.isFavorite,n).then((function(t){return t(e.axios,e.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 w(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.audioLanguages,t.subtitleLanguages,t.enableTotalRecordCount,t.enableImages,n).then((function(t){return t(e.axios,e.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 w(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:"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 w(this.configuration).getLibraryOptionsInfo(t.libraryContentType,t.isNewLibrary,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getLocalTrailers",value:function(e,t){var n=this;return w(this.configuration).getLocalTrailers(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.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 w(this.configuration).getMediaFolders(t.isHidden,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getPhysicalPaths",value:function(e){var t=this;return w(this.configuration).getPhysicalPaths(e).then((function(e){return e(t.axios,t.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 w(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:"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 w(this.configuration).getRootFolder(t.userId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"getSimilarAlbums",value:function(e,t){var n=this;return w(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 w(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 w(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 w(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 w(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 w(this.configuration).getSimilarTrailers(e.itemId,e.excludeArtistIds,e.userId,e.limit,e.fields,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getSpecialFeatures",value:function(e,t){var n=this;return w(this.configuration).getSpecialFeatures(e.itemId,e.userId,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"getThemeMedia",value:function(e,t){var n=this;return w(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 w(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 w(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 w(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 w(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 w(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 w(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 w(this.configuration).postUpdatedSeries(t.tvdbId,n).then((function(t){return t(e.axios,e.basePath)}))}},{key:"refreshItem",value:function(e,t){var n=this;return w(this.configuration).refreshItem(e.itemId,e.metadataRefreshMode,e.imageRefreshMode,e.replaceAllMetadata,e.replaceAllImages,e.regenerateTrickplay,t).then((function(e){return e(n.axios,n.basePath)}))}},{key:"refreshLibrary",value:function(e){var t=this;return w(this.configuration).refreshLibrary(e).then((function(e){return e(t.axios,t.basePath)}))}}],r&&c(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(a.yi);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 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,O(r.key),r)}}function O(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 j(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(j=function(){return!!e})()}
2function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}function x(e,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},x(e,t)}var T=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,n){return t=C(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,j()?Reflect.construct(t,n||[],C(e).constructor):t.apply(e,n))}(this,t,[e.configuration,void 0,e.axiosInstance])).api=e,n}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&&x(e,t)}(t,e),n=t,o=[{key:"getDownloadUrl",value:function(e){return this.api.getUri("/Items/".concat(e.itemId,"/Download"),(t={},n=r._V,o=this.api.accessToken,(n=O(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t));var t,n,o}}],o&&S(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}(I);function A(e){return new T(e)}},98183:function(e,t,n){n.d(t,{X:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{addMediaPath:(s=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},(0,o.WC)("addMediaPath","mediaPathDto",n),a=new URL("/Library/VirtualFolders/Paths",o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),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",s.Accept="text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return s.apply(this,arguments)}),addVirtualFolder:(c=g(f().m((function t(n,r,i,a,u){var c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return c=y.length>5&&void 0!==y[5]?y[5]:{},s=new URL("/Library/VirtualFolders",o.fY),e&&(l=e.baseOptions),d=v(v({method:"POST"}
2,l),c),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return void 0!==n&&(h.name=n),void 0!==r&&(h.collectionType=r),i&&(h.paths=i),void 0!==a&&(h.refreshLibrary=a),p["Content-Type"]="application/json",p.Accept="text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),c.headers),d.data=(0,o.Np)(u,d,e),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,t,n,r,o){return c.apply(this,arguments)}),getVirtualFolders:(u=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return u.apply(this,arguments)}),removeMediaPath:(a=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=h.length>3&&void 0!==h[3]?h[3]:{},u=new URL("/Library/VirtualFolders/Paths",o.fY),e&&(c=e.baseOptions),s=v(v({method:"DELETE"},c),a),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==n&&(d.name=n),void 0!==r&&(d.path=r),void 0!==i&&(d.refreshLibrary=i),l.Accept="text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),a.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t,n){return a.apply(this,arguments)}),removeVirtualFolder:(i=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},a=new URL("/Library/VirtualFolders",o.fY),e&&(u=e.baseOptions),c=v(v({method:"DELETE"},u),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),s.Accept="text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),renameVirtualFolder:(r=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=h.length>3&&void 0!==h[3]?h[3]:{},u=new URL("/Library/VirtualFolders/Name",o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),a),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==n&&(d.name=n),void 0!==r&&(d.newName=r),void 0!==i&&(d.refreshLibrary=i),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),a.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t,n){return r.apply(this,arguments)}),updateLibraryOptions:(n=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/Library/VirtualFolders/LibraryOptions",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return n.apply(this,arguments)}),updateMediaPath:(t=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("updateMediaPath","updateMediaPathRequestDto",n),i=new URL("/Library/VirtualFolders/Paths/Update",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,a,u,c,s}(e);return{addMediaPath:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.addMediaPath(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["LibraryStructureApi.addMediaPath"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},addVirtualFolder:function(n,a,u,c,s,l){return g(f().m((function d(){var p,v,h,m,y,g;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.addVirtualFolder(n,a,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=i.z9["LibraryStructureApi.addVirtualFolder"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,o.yZ)(m,r.A,i.o2,e)(t,g||n)}))}}),d)})))()},getVirtualFolders:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getVirtualFolders(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["LibraryStructureApi.getVirtualFolders"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},removeMediaPath:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.removeMediaPath(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["LibraryStructureApi.removeMediaPath"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},removeVirtualFolder:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeVirtualFolder(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["LibraryStructureApi.removeVirtualFolder"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},renameVirtualFolder:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.renameVirtualFolder(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["LibraryStructureApi.renameVirtualFolder"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},updateLibraryOptions:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.updateLibraryOptions(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LibraryStructureApi.updateLibraryOptions"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},updateMediaPath:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.updateMediaPath(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LibraryStructureApi.updateMediaPath"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,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"==a(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&&u(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)}},45659:function(e,t,n){n.d(t,{t:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{addListingProvider:(F=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=m.length>4&&void 0!==m[4]?m[4]:{},c=new URL("/LiveTv/ListingProviders",o.fY),e&&(s=e.baseOptions),l=v(v({method:"POST"},s),u),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==n&&(p.pw=n),void 0!==r&&(p.validateListings=r),void 0!==i&&(p.validateLogin=i),d["Content-Type"]="application/json",d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),u.headers),l.data=(0,o.Np)(a,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n,r){return F.apply(this,arguments)}),addTunerHost:(W=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/TunerHosts",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return W.apply(this,arguments)}
2),cancelSeriesTimer:(_=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("cancelSeriesTimer","timerId",n),i="/LiveTv/SeriesTimers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"DELETE"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return _.apply(this,arguments)}),cancelTimer:(Y=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("cancelTimer","timerId",n),i="/LiveTv/Timers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"DELETE"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return Y.apply(this,arguments)}),createSeriesTimer:(G=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/SeriesTimers",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return G.apply(this,arguments)}),createTimer:(z=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/Timers",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return z.apply(this,arguments)}),deleteListingProvider:(Z=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/ListingProviders",o.fY),e&&(a=e.baseOptions),u=v(v({method:"DELETE"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return Z.apply(this,arguments)}),deleteRecording:(E=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("deleteRecording","recordingId",n),i="/LiveTv/Recordings/{recordingId}".replace("{".concat("recordingId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"DELETE"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return E.apply(this,arguments)}),deleteTunerHost:(L=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/TunerHosts",o.fY),e&&(a=e.baseOptions),u=v(v({method:"DELETE"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.id=n),c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return L.apply(this,arguments)}),discoverTuners:(D=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/Tuners/Discover",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.newDevicesOnly=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return D.apply(this,arguments)}),discvoverTuners:(U=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/Tuners/Discvover",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.newDevicesOnly=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return U.apply(this,arguments)}),getChannel:(R=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/LiveTv/Channels/{channelId}".replace("{".concat("channelId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return R.apply(this,arguments)}),getChannelMappingOptions:(k=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/ChannelMappingOptions",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.providerId=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return k.apply(this,arguments)}),getDefaultListingProvider:(A=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return A.apply(this,arguments)}),getDefaultTimer:(T=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/Timers/Defaults",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.programId=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return T.apply(this,arguments)}),getGuideInfo:(x=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return x.apply(this,arguments)}),getLineups:(C=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=m.length>4&&void 0!==m[4]?m[4]:{},c=new URL("/LiveTv/ListingProviders/Lineups",o.fY),e&&(s=e.baseOptions),l=v(v({method:"GET"},s),u),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==n&&(p.id=n),void 0!==r&&(p.type=r),void 0!==i&&(p.location=i),void 0!==a&&(p.country=a),d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n,r){return C.apply(this,arguments)}),getLiveRecordingFile:(j=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)if(0===t.n)return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getLiveRecordingFile","recordingId",n),i="/LiveTv/LiveRecordings/{recordingId}/stream".replace("{".concat("recordingId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),l={},(s={}).Accept="video/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}),t)}))),function(e){return j.apply(this,arguments)}),getLiveStreamFile:(O=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/LiveTv/LiveStreamFiles/{streamId}/stream.{container}".replace("{".concat("streamId","}"),encodeURIComponent(String(n))).replace("{".concat("container","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),d={},(l={}).Accept="video/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}),t)}))),function(e,t){return O.apply(this,arguments)}),getLiveTvChannels:(S=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I,P,S,O,j){var C,x,T,A,k,R,U,D=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return C=D.length>21&&void 0!==D[21]?D[21]:{},x=new URL("/LiveTv/Channels",o.fY),e&&(T=e.baseOptions),A=v(v({method:"GET"},T),C),k={},R={},t.n=1,(0,o.YS)(k,"Authorization",e);case 1:return void 0!==n&&(R.type=n),void 0!==r&&(R.userId=r),void 0!==i&&(R.startIndex=i),void 0!==a&&(R.isMovie=a),void 0!==u&&(R.isSeries=u),void 0!==c&&(R.isNews=c),void 0!==s&&(R.isKids=s),void 0!==l&&(R.isSports=l),void 0!==d&&(R.limit=d),void 0!==p&&(R.isFavorite=p),void 0!==h&&(R.isLiked=
2h),void 0!==m&&(R.isDisliked=m),void 0!==y&&(R.enableImages=y),void 0!==g&&(R.imageTypeLimit=g),b&&(R.enableImageTypes=b),w&&(R.fields=w),void 0!==I&&(R.enableUserData=I),P&&(R.sortBy=P),void 0!==S&&(R.sortOrder=S),void 0!==O&&(R.enableFavoriteSorting=O),void 0!==j&&(R.addCurrentProgram=j),k.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(x,R),U=T&&T.headers?T.headers:{},A.headers=v(v(v({},k),U),C.headers),t.a(2,{url:(0,o.uD)(x),options:A})}}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m,y,g,b,w){return S.apply(this,arguments)}),getLiveTvInfo:(P=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return P.apply(this,arguments)}),getLiveTvPrograms:(I=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I,P,S,O,j,C,x,T,A,k,R){var U,D,L,E,Z,z,G,Y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return U=Y.length>27&&void 0!==Y[27]?Y[27]:{},D=new URL("/LiveTv/Programs",o.fY),e&&(L=e.baseOptions),E=v(v({method:"GET"},L),U),Z={},z={},t.n=1,(0,o.YS)(Z,"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!==a&&(z.hasAired=a),void 0!==u&&(z.isAiring=u),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!==d&&(z.isMovie=d),void 0!==p&&(z.isSeries=p),void 0!==h&&(z.isNews=h),void 0!==m&&(z.isKids=m),void 0!==y&&(z.isSports=y),void 0!==g&&(z.startIndex=g),void 0!==b&&(z.limit=b),w&&(z.sortBy=w),I&&(z.sortOrder=I),P&&(z.genres=P),S&&(z.genreIds=S),void 0!==O&&(z.enableImages=O),void 0!==j&&(z.imageTypeLimit=j),C&&(z.enableImageTypes=C),void 0!==x&&(z.enableUserData=x),void 0!==T&&(z.seriesTimerId=T),void 0!==A&&(z.librarySeriesId=A),k&&(z.fields=k),void 0!==R&&(z.enableTotalRecordCount=R),Z.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(D,z),G=L&&L.headers?L.headers:{},E.headers=v(v(v({},Z),G),U.headers),t.a(2,{url:(0,o.uD)(D),options:E})}}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m,y,g,b,w,P,S,O,j,C,x){return I.apply(this,arguments)}),getProgram:(w=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/LiveTv/Programs/{programId}".replace("{".concat("programId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return w.apply(this,arguments)}),getPrograms:(b=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/Programs",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return b.apply(this,arguments)}),getRecommendedPrograms:(y=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return P=A.length>17&&void 0!==A[17]?A[17]:{},S=new URL("/LiveTv/Programs/Recommended",o.fY),e&&(O=e.baseOptions),j=v(v({method:"GET"},O),P),C={},x={},t.n=1,(0,o.YS)(C,"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!==a&&(x.isAiring=a),void 0!==u&&(x.hasAired=u),void 0!==c&&(x.isSeries=c),void 0!==s&&(x.isMovie=s),void 0!==l&&(x.isNews=l),void 0!==d&&(x.isKids=d),void 0!==p&&(x.isSports=p),void 0!==h&&(x.enableImages=h),void 0!==m&&(x.imageTypeLimit=m),y&&(x.enableImageTypes=y),g&&(x.genreIds=g),b&&(x.fields=b),void 0!==w&&(x.enableUserData=w),void 0!==I&&(x.enableTotalRecordCount=I),C.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(S,x),T=O&&O.headers?O.headers:{},j.headers=v(v(v({},C),T),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return y.apply(this,arguments)}),getRecording:(m=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/LiveTv/Recordings/{re
2cordingId}".replace("{".concat("recordingId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return m.apply(this,arguments)}),getRecordingFolders:(h=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/LiveTv/Recordings/Folders",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return h.apply(this,arguments)}),getRecordings:(p=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I,P,S){var O,j,C,x,T,A,k,R=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return O=R.length>19&&void 0!==R[19]?R[19]:{},j=new URL("/LiveTv/Recordings",o.fY),e&&(C=e.baseOptions),x=v(v({method:"GET"},C),O),T={},A={},t.n=1,(0,o.YS)(T,"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!==a&&(A.limit=a),void 0!==u&&(A.status=u),void 0!==c&&(A.isInProgress=c),void 0!==s&&(A.seriesTimerId=s),void 0!==l&&(A.enableImages=l),void 0!==d&&(A.imageTypeLimit=d),p&&(A.enableImageTypes=p),h&&(A.fields=h),void 0!==m&&(A.enableUserData=m),void 0!==y&&(A.isMovie=y),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!==S&&(A.enableTotalRecordCount=S),T.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(j,A),k=C&&C.headers?C.headers:{},x.headers=v(v(v({},T),k),O.headers),t.a(2,{url:(0,o.uD)(j),options:x})}}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,v,h,m,y,g,b){return p.apply(this,arguments)}),getSchedulesDirectCountries:(d=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return d.apply(this,arguments)}),getSeriesTimer:(l=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getSeriesTimer","timerId",n),i="/LiveTv/SeriesTimers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return l.apply(this,arguments)}),getSeriesTimers:(s=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},a=new URL("/LiveTv/SeriesTimers",o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),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),s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return s.apply(this,arguments)}),getTimer:(c=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getTimer","timerId",n),i="/LiveTv/Timers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return c.apply(this,arguments)}),getTimers:(u=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=m.length>4&&void 0!==m[4]?m[4]:{},c=new URL("/LiveTv/Timers",o.fY),e&&(s=e.baseOptions),l=v(v({method:"GET"},s),u),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==n&&(p.channelId=n),void 0!==r&&(p.seriesTimerId=r),void 0!==i&&(p.isActive=i),void 0!==a&&(p.isScheduled=a),d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),u.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n,r){return u.apply(this,arguments)}),getTunerHostTypes:(a=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return a.apply(this,arguments)}),resetTuner:(i=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("resetTuner","tunerId",n),i="/LiveTv/Tuners/{tunerId}/Reset".replace("{".concat("tunerId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return i.apply(this,arguments)}),setChannelMapping:(r=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("setChannelMapping","setChannelMappingDto",n),i=new URL("/LiveTv/ChannelMappings",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return r.apply(this,arguments)}),updateSeriesTimer:(n=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/LiveTv/SeriesTimers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",l.Accept="text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updateTimer:(t=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/LiveTv/Timers/{timerId}".replace("{".concat("timerId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",l.Accept="text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,a,u,c,s,l,d,p,h,m,y,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L,E,Z,z,G,Y,_,W,F}(e);return{addListingProvider:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.addListingProvider(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["LiveTvApi.addListingProvider"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||n)}))}}),l)})))()},addTunerHost:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.addTunerHost(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.addTunerHost"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},cancelSeriesTimer:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.cancelSeriesTimer(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.cancelSeriesTimer"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},cancelTimer:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.cancelTimer(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.cancelTimer"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},createSeriesTimer:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.createSeriesTimer(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.createSeriesTimer"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},createTimer:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.createTimer(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.createTimer"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},deleteListingProvider:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteListingProvider(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.deleteListingProvider"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},deleteRecording:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteRecording(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.deleteRecording"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},deleteTunerHost:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteTunerHost(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.deleteTunerHost"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},discoverTuners:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.discoverTuners(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.discoverTuners"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},discvoverTuners:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.discvoverTuners(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.discvoverTuners"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getChannel:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getChannel(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["LiveTvApi.getChannel"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getChannelMappingOptions:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getChannelMappingOptions(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.getChannelMappingOptions"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},getDefaultListingProvider:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDefaultListingProvider(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["LiveTvApi.getDefaultListingProvider"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDefaultTimer:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getDefaultTimer(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.getDefaultTimer"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getGuideInfo:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getGuideInfo(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["LiveTvApi.getGuideInfo"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getLineups:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getLineups(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["LiveTvApi.getLineups"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||n)}))}}),l)})))()},getLiveRecordingFile:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getLiveRecordingFile(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.getLiveRecordingFile"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getLiveStreamFile:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getLiveStreamFile(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["LiveTvApi.getLiveStreamFile"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getLiveTvChannels:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j,C,x,T){return g(f().m((function g(){var A,k,R,U,D,L;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getLiveTvChannels(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j,C,x,T);case 1:return U=f.v,D=null!==(A=null==e?void 0:e.serverIndex)&&void 0!==A?A:0,L=null===(R=null===(k=i.z9["LiveTvApi.getLiveTvChannels"])||void 0===k?void 0:k[D])||void 0===R?void 0:R.url,f.a(2,(function(t,n){return(0,o.yZ)(U,r.A,i.o2,e)(t,L||n)}))}}),g)})))()},getLiveTvInfo:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getLiveTvInfo(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["LiveTvApi.getLiveTvInfo"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getLiveTvPrograms:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L){return g(f().m((function g(){var E,Z,z,G,Y,_;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getLiveTvPrograms(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j,C,x,T,A,k,R,U,D,L);case 1:return G=f.v,Y=null!==(E=null==e?void 0:e.serverIndex)&&void 0!==E?E:0,_=null===(z=null===(Z=i.z9["LiveTvApi.getLiveTvPrograms"])||void 0===Z?void 0:Z[Y])||void 0===z?void 0:z.url,f.a(2,(function(t,n){return(0,o.yZ)(G,r.A,i.o2,e)(t,_||n)}))}}),g)})))()},getProgram:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getProgram(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["LiveTvApi.getProgram"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPrograms:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPrograms(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.getPrograms"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},getRecommendedPrograms:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getRecommendedPrograms(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["LiveTvApi.getRecommendedPrograms"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,r.A,i.o2,e)(t,k||n)}))}}),g)})))()},getRecording:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getRecording(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["LiveTvApi.getRecording"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getRecordingFolders:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getRecordingFolders(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.getRecordingFolders"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getRecordings:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j,C){return g(f().m((function g(){var x,T,A,k,R,U;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getRecordings(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j,C);case 1:return k=f.v,R=null!==(x=null==e?void 0:e.serverIndex)&&void 0!==x?x:0,U=null===(A=null===(T=i.z9["LiveTvApi.getRecordings"])||void 0===T?void 0:T[R])||void 0===A?void 0:A.url,f.a(2,(function(t,n){return(0,o.yZ)(k,r.A,i.o2,e)(t,U||n)}))}}),g)})))()},getSchedulesDirectCountries:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getSchedulesDirectCountries(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["LiveTvApi.getSchedulesDirectCountries"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getSeriesTimer:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getSeriesTimer(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.getSeriesTimer"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSeriesTimers:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getSeriesTimers(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["LiveTvApi.getSeriesTimers"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getTimer:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getTimer(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.getTimer"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getTimers:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getTimers(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["LiveTvApi.getTimers"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||n)}))}}),l)})))()},getTunerHostTypes:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getTunerHostTypes(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["LiveTvApi.getTunerHostTypes"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},resetTuner:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.resetTuner(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.resetTuner"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},setChannelMapping:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.setChannelMapping(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LiveTvApi.setChannelMapping"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},updateSeriesTimer:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateSeriesTimer(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["LiveTvApi.updateSeriesTimer"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateTimer:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateTimer(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["LiveTvApi.updateTimer"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,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"==a(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:"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:"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;
2return b(this.configuration).updateTimer(e.timerId,e.timerInfoDto,t).then((function(e){return e(n.axios,n.basePath)}))}}],r&&u(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)}},99193:function(e,t,n){n.d(t,{S:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getCountries:(i=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return i.apply(this,arguments)}),getCultures:(r=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return r.apply(this,arguments)}),getLocalizationOptions:(n=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return n.apply(this,arguments)}),getParentalRatings:(t=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i}(e);return{getCountries:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getCountries(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["LocalizationApi.getCountries"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getCultures:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getCultures(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["LocalizationApi.getCultures"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getLocalizationOptions:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getLocalizationOptions(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["LocalizationApi.getLocalizationOptions"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getParentalRatings:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getParentalRatings(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["LocalizationApi.getParentalRatings"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,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"==a(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)}))}}])&&u(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)}},37257:function(e,t,n){n.d(t,{e:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{deleteLyrics:(u=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("deleteLyrics","itemId",n),i="/Audio/{itemId}/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"DELETE"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return u.apply(this,arguments)}),downloadRemoteLyrics:(a=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Audio/{itemId}/RemoteSearch/Lyrics/{lyricId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("lyricId","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return a.apply(this,arguments)}),getLyrics:(i=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getLyrics","itemId",n),i="/Audio/{itemId}/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return i.apply(this,arguments)}),getRemoteLyrics:(r=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getRemoteLyrics","lyricId",n),i="/Providers/Lyrics/{lyricId}".replace("{".concat("lyricId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return r.apply(this,arguments)}),searchRemoteLyrics:(n=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("searchRemoteLyrics","itemId",n),i="/Audio/{itemId}/RemoteSearch/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return n.apply(this,arguments)}),uploadLyrics:(t=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("uploadLyrics","itemId",n),(0,o.WC)("uploadLyrics","fileName",r),u="/Audio/{itemId}/Lyrics".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"POST"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==r&&(p.fileName=r),d["Content-Type"]="text/plain",d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.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,a,u}(e);return{deleteLyrics:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteLyrics(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LyricApi.deleteLyrics"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},downloadRemoteLyrics:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.downloadRemoteLyrics(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["LyricApi.downloadRemoteLyrics"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getLyrics:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getLyrics(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LyricApi.getLyrics"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getRemoteLyrics:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getRemoteLyrics(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LyricApi.getRemoteLyrics"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},searchRemoteLyrics:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.searchRemoteLyrics(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["LyricApi.searchRemoteLyrics"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},uploadLyrics:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.uploadLyrics(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["LyricApi.uploadLyrics"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||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"==a(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)}))}}])&&u(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)}},74180:function(e,t,n){n.d(t,{n:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{closeLiveStream:(a=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("closeLiveStream","liveStreamId",n),i=new URL("/LiveStreams/Close",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.liveStreamId=n),c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return a.apply(this,arguments)}),getBitrateTestBytes:(i=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/Playback/BitrateTest",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.size=n),c.Accept="application/octet-stream,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return i.apply(this,arguments)}),getPlaybackInfo:(r=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Items/{itemId}/PlaybackInfo".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),getPostedPlaybackInfo:(n=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w){var I,P,S,O,j,C,x,T,A=arguments;return f().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))),S=new URL(P,o.fY),e&&(O=e.baseOptions),j=v(v({method:"POST"},O),I),C={},x={},t.n=1,(0,o.YS)(C,"Authorization",e);case 1:return void 0!==r&&(x.userId=r),void 0!==i&&(x.maxStreamingBitrate=i),void 0!==a&&(x.startTimeTicks=a),void 0!==u&&(x.audioStreamIndex=u),void 0!==c&&(x.subtitleStreamIndex=c),void 0!==s&&(x.maxAudioChannels=s),void 0!==l&&(x.mediaSourceId=l),void 0!==d&&(x.liveStreamId=d),void 0!==p&&(x.autoOpenLiveStream=p),void 0!==h&&(x.enableDirectPlay=h),void 0!==m&&(x.enableDirectStream=m),void 0!==y&&(x.enableTranscoding=y),void 0!==g&&(x.allowVideoStreamCopy=g),void 0!==b&&(x.allowAudioStreamCopy=b),C["Content-Type"]="application/json",C.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(S,x),T=O&&O.headers?O.headers:{},j.headers=v(v(v({},C),T),I.headers),j.data=(0,o.Np)(w,j,e),t.a(2,{url:(0,o.uD)(S),options:j})}}),t)}))),function(e,t,r,o,i,a,u,c,s,l,f,d,p,v,h,m){return n.apply(this,arguments)}),openLiveStream:(t=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y){var g,b,w,I,P,S,O,j=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return g=j.length>13&&void 0!==j[13]?j[13]:{},b=new URL("/LiveStreams/Open",o.fY),e&&(w=e.baseOptions),I=v(v({method:"POST"},w),g),P={},S={},t.n=1,(0,o.YS)(P,"Authorization",e);case 1:return void 0!==n&&(S.openToken=n),void 0!==r&&(S.userId=r),void 0!==i&&(S.playSessionId=i),void 0!==a&&(S.maxStreamingBitrate=a),void 0!==u&&(S.startTimeTicks=u),void 0!==c&&(S.audioStreamIndex=c),void 0!==s&&(S.subtitleStreamIndex=s),void 0!==l&&(S.maxAudioChannels=l),void 0!==d&&(S.itemId=d),void 0!==p&&(S.enableDirectPlay=p),void 0!==h&&(S.enableDirectStream=h),void 0!==m&&(S.alwaysBurnInSubtitleWhenTranscoding=m),P["Content-Type"]="application/json",P.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(b,S),O=w&&w.headers?w.headers:{},I.headers=v(v(v({},P),O),g.headers),I.data=(0,o.Np)(y,I,e),t.a(2,{url:(0,o.uD)(b),options:I})}}),t)}))),function(e,n,r,o,i,a,u,c,s,l,f,d,p){return t.apply(this,arguments)})};var t,n,r,i,a}(e);return{closeLiveStream:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.closeLiveStream(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["MediaInfoApi.closeLiveStream"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},getBitrateTestBytes:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getBitrateTestBytes(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["MediaInfoApi.getBitrateTestBytes"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPlaybackInfo:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPlaybackInfo(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["MediaInfoApi.getPlaybackInfo"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPostedPlaybackInfo:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S){return g(f().m((function g(){var O,j,C,x,T,A;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getPostedPlaybackInfo(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S);case 1:return x=f.v,T=null!==(O=null==e?void 0:e.serverIndex)&&void 0!==O?O:0,A=null===(C=null===(j=i.z9["MediaInfoApi.getPostedPlaybackInfo"])||void 0===j?void 0:j[T])||void 0===C?void 0:C.url,f.a(2,(function(t,n){return(0,o.yZ)(x,r.A,i.o2,e)(t,A||n)}))}}),g)})))()},openLiveStream:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w){return g(f().m((function g(){var I,P,S,O,j,C;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.openLiveStream(n,a,u,c,s,l,d,p,v,h,m,y,b,w);case 1:return O=f.v,j=null!==(I=null==e?void 0:e.serverIndex)&&void 0!==I?I:0,C=null===(S=null===(P=i.z9["MediaInfoApi.openLiveStream"])||void 0===P?void 0:P[j])||void 0===S?void 0:S.url,f.a(2,(function(t,n){return(0,o.yZ)(O,r.A,i.o2,e)(t,C||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"==a(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&&u(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)}},13160:function(e,t,n){n.d(t,{q:function(){return w}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(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"==a(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,(d=[{key:"getItemSegments",value:function(e,t){var n,a,u=this;return(n=this.configuration,a=function(e){return{getItemSegments:(t=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/MediaSegments/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return r&&(d.includeSegmentTypes=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t}(n),{getItemSegments:function(e,t,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,a.getItemSegments(e,t,u);case 1:return p=c.v,v=null!==(s=null==n?void 0:n.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["MediaSegmentApi.getItemSegments"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(e,t){return(0,o.yZ)(p,r.A,i.o2,n)(e,h||t)}))}}),c)})))()}}).getItemSegments(e.itemId,e.includeSegmentTypes,t).then((function(e){return e(u.axios,u.basePath)}))}}])&&u(n.prototype,d),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,d}(i.yi);function w(e){return new b(e.configuration,void 0,e.axiosInstance)}},92554:function(e,t,n){n.d(t,{x:function(){return w}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(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"==a(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,d=[{key:"getMovieRecommendations",value:function(){var e,t,n=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;return(e=this.configuration,t=function(e){return{getMovieRecommendations:(t=g(f().m((function t(n,r,i,a,u){var c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return c=y.length>5&&void 0!==y[5]?y[5]:{},s=new URL("/Movies/Recommendations",o.fY),e&&(l=e.baseOptions),d=v(v({method:"GET"}
2,l),c),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return void 0!==n&&(h.userId=n),void 0!==r&&(h.parentId=r),i&&(h.fields=i),void 0!==a&&(h.categoryLimit=a),void 0!==u&&(h.itemLimit=u),p.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),c.headers),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,n,r,o,i){return t.apply(this,arguments)})};var t}(e),{getMovieRecommendations:function(n,a,u,c,s,l){return g(f().m((function d(){var p,v,h,m,y,g;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getMovieRecommendations(n,a,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=i.z9["MovieApi.getMovieRecommendations"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,o.yZ)(m,r.A,i.o2,e)(t,g||n)}))}}),d)})))()}}).getMovieRecommendations(a.userId,a.parentId,a.fields,a.categoryLimit,a.itemLimit,u).then((function(e){return e(n.axios,n.basePath)}))}}],d&&u(n.prototype,d),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,d}(i.yi);function w(e){return new b(e.configuration,void 0,e.axiosInstance)}},5043:function(e,t,n){n.d(t,{A:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getPerson:(n=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Persons/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getPersons:(t=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I,P){var S,O,j,C,x,T,A,k=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return S=k.length>18&&void 0!==k[18]?k[18]:{},O=new URL("/Persons",o.fY),e&&(j=e.baseOptions),C=v(v({method:"GET"},j),S),x={},T={},t.n=1,(0,o.YS)(x,"Authorization",e);case 1:return void 0!==n&&(T.startIndex=n),void 0!==r&&(T.limit=r),void 0!==i&&(T.searchTerm=i),void 0!==a&&(T.nameStartsWith=a),void 0!==u&&(T.nameLessThan=u),void 0!==c&&(T.nameStartsWithOrGreater=c),s&&(T.fields=s),l&&(T.filters=l),void 0!==d&&(T.isFavorite=d),void 0!==p&&(T.enableUserData=p),void 0!==h&&(T.imageTypeLimit=h),m&&(T.enableImageTypes=m),y&&(T.excludePersonTypes=y),g&&(T.personTypes=g),void 0!==b&&(T.parentId=b),void 0!==w&&(T.appearsInItemId=w),void 0!==I&&(T.userId=I),void 0!==P&&(T.enableImages=P),x.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(O,T),A=j&&j.headers?j.headers:{},C.headers=v(v(v({},x),A),S.headers),t.a(2,{url:(0,o.uD)(O),options:C})}}),t)}))),function(e,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m,y,g){return t.apply(this,arguments)})};var t,n}(e);return{getPerson:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPerson(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["PersonApi.getPerson"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()}
2,getPersons:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j){return g(f().m((function g(){var C,x,T,A,k,R;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getPersons(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O,j);case 1:return A=f.v,k=null!==(C=null==e?void 0:e.serverIndex)&&void 0!==C?C:0,R=null===(T=null===(x=i.z9["PersonApi.getPersons"])||void 0===x?void 0:x[k])||void 0===T?void 0:T.url,f.a(2,(function(t,n){return(0,o.yZ)(A,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"==a(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.startIndex,t.limit,t.searchTerm,t.nameStartsWith,t.nameLessThan,t.nameStartsWithOrGreater,t.fields,t.filters,t.isFavorite,t.enableUserData,t.imageTypeLimit,t.enableImageTypes,t.excludePersonTypes,t.personTypes,t.parentId,t.appearsInItemId,t.userId,t.enableImages,n).then((function(t){return t(e.axios,e.basePath)}))}}],r&&u(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)}},35045:function(e,t,n){n.d(t,{V:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{addItemToPlaylist:(p=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>4&&void 0!==y[4]?y[4]:{},(0,o.WC)("addItemToPlaylist","playlistId",n),c="/Playlists/{playlistId}/Items".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),s=new URL(c,o.fY),e&&(l=e.baseOptions),d=v(v({method:"POST"},l),u),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return r&&(h.ids=r),void 0!==i&&(h.position=i),void 0!==a&&(h.userId=a),p.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),u.headers),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,t,n,r){return p.apply(this,arguments)}),createPlaylist:(d=g(f().m((function t(n,r,i,a,u){var c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return c=y.length>5&&void 0!==y[5]?y[5]:{},s=new URL("/Playlists",o.fY),e&&(l=e.baseOptions),d=v(v({method:"POST"}
2,l),c),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return void 0!==n&&(h.name=n),r&&(h.ids=r),void 0!==i&&(h.userId=i),void 0!==a&&(h.mediaType=a),p["Content-Type"]="application/json",p.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),c.headers),d.data=(0,o.Np)(u,d,e),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,t,n,r,o){return d.apply(this,arguments)}),getPlaylist:(l=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getPlaylist","playlistId",n),i="/Playlists/{playlistId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return l.apply(this,arguments)}),getPlaylistItems:(s=g(f().m((function t(n,r,i,a,u,c,s,l,d){var p,h,m,y,g,b,w,I,P=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return p=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))),m=new URL(h,o.fY),e&&(y=e.baseOptions),g=v(v({method:"GET"},y),p),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!==a&&(w.limit=a),u&&(w.fields=u),void 0!==c&&(w.enableImages=c),void 0!==s&&(w.enableUserData=s),void 0!==l&&(w.imageTypeLimit=l),d&&(w.enableImageTypes=d),b.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(m,w),I=y&&y.headers?y.headers:{},g.headers=v(v(v({},b),I),p.headers),t.a(2,{url:(0,o.uD)(m),options:g})}}),t)}))),function(e,t,n,r,o,i,a,u,c){return s.apply(this,arguments)}),getPlaylistUser:(c=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Playlists/{playlistId}/Users/{userId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return c.apply(this,arguments)}),getPlaylistUsers:(u=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getPlaylistUsers","playlistId",n),i="/Playlists/{playlistId}/Users".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return u.apply(this,arguments)}),moveItem:(a=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("moveItem","playlistId",n),(0,o.WC)("moveItem","itemId",r),(0,o.WC)("moveItem","newIndex",i),u="/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(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"POST"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return a.apply(this,arguments)}),removeItemFromPlaylist:(i=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Playlists/{playlistId}/Items".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"DELETE"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return r&&(d.entryIds=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),removeUserFromPlaylist:(r=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Playlists/{playlistId}/Users/{userId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"DELETE"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),updatePlaylist:(n=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Playlists/{playlistId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updatePlaylistUser:(t=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("updatePlaylistUser","playlistId",n),(0,o.WC)("updatePlaylistUser","userId",r),(0,o.WC)("updatePlaylistUser","updatePlaylistUserDto",i),u="/Playlists/{playlistId}/Users/{userId}".replace("{".concat("playlistId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),c=new URL(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"POST"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return d["Content-Type"]="application/json",d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.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,a,u,c,s,l,d,p}(e);return{addItemToPlaylist:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.addItemToPlaylist(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["PlaylistApi.addItemToPlaylist"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||n)}))}}),l)})))()},createPlaylist:function(n,a,u,c,s,l){return g(f().m((function d(){var p,v,h,m,y,g;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.createPlaylist(n,a,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=i.z9["PlaylistApi.createPlaylist"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,o.yZ)(m,r.A,i.o2,e)(t,g||n)}))}}),d)})))()},getPlaylist:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPlaylist(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["PlaylistApi.getPlaylist"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},getPlaylistItems:function(n,a,u,c,s,l,d,p,v,h){return g(f().m((function m(){var y,g,b,w,I,P;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getPlaylistItems(n,a,u,c,s,l,d,p,v,h);case 1:return w=f.v,I=null!==(y=null==e?void 0:e.serverIndex)&&void 0!==y?y:0,P=null===(b=null===(g=i.z9["PlaylistApi.getPlaylistItems"])||void 0===g?void 0:g[I])||void 0===b?void 0:b.url,f.a(2,(function(t,n){return(0,o.yZ)(w,r.A,i.o2,e)(t,P||n)}))}}),m)})))()},getPlaylistUser:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPlaylistUser(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["PlaylistApi.getPlaylistUser"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPlaylistUsers:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPlaylistUsers(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["PlaylistApi.getPlaylistUsers"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},moveItem:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.moveItem(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["PlaylistApi.moveItem"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},removeItemFromPlaylist:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeItemFromPlaylist(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["PlaylistApi.removeItemFromPlaylist"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},removeUserFromPlaylist:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeUserFromPlaylist(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["PlaylistApi.removeUserFromPlaylist"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updatePlaylist:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updatePlaylist(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["PlaylistApi.updatePlaylist"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updatePlaylistUser:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.updatePlaylistUser(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["PlaylistApi.updatePlaylistUser"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||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"==a(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.position,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&&u(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)}},68269:function(e,t,n){n.d(t,{u:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{cancelPackageInstallation:(I=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("cancelPackageInstallation","packageId",n),i="/Packages/Installing/{packageId}".replace("{".concat("packageId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"DELETE"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return I.apply(this,arguments)}),disablePlugin:(w=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Plugins/{pluginId}/{version}/Disable".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return w.apply(this,arguments)}
2),enablePlugin:(b=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Plugins/{pluginId}/{version}/Enable".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return b.apply(this,arguments)}),getConfigurationPages:(y=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/web/ConfigurationPages",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.enableInMainMenu=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return y.apply(this,arguments)}),getDashboardConfigurationPage:(m=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)if(0===t.n)return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/web/ConfigurationPage",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},void 0!==n&&(s.name=n),c.Accept="text/html,application/x-javascript,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}),t)}))),function(e){return m.apply(this,arguments)}),getPackageInfo:(h=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Packages/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.assemblyGuid=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return h.apply(this,arguments)}),getPackages:(p=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return p.apply(this,arguments)}),getPluginConfiguration:(d=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getPluginConfiguration","pluginId",n),i="/Plugins/{pluginId}/Configuration".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return d.apply(this,arguments)}),getPluginImage:(l=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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","ver
2sion",r),a="/Plugins/{pluginId}/{version}/Image".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="image/*,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return l.apply(this,arguments)}),getPluginManifest:(s=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getPluginManifest","pluginId",n),i="/Plugins/{pluginId}/Manifest".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return s.apply(this,arguments)}),getPlugins:(c=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return c.apply(this,arguments)}),getRepositories:(u=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return u.apply(this,arguments)}),installPackage:(a=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>4&&void 0!==y[4]?y[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),d=v(v({method:"POST"},l),u),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return void 0!==r&&(h.assemblyGuid=r),void 0!==i&&(h.version=i),void 0!==a&&(h.repositoryUrl=a),p.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),u.headers),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,t,n,r){return a.apply(this,arguments)}),setRepositories:(i=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("setRepositories","repositoryInfo",n),i=new URL("/Repositories",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return i.apply(this,arguments)}),uninstallPlugin:(r=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("uninstallPlugin","pluginId",n),i="/Plugins/{pluginId}".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"DELETE"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return r.apply(this,arguments)}),uninstallPluginByVersion:(n=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Plugins/{pluginId}/{version}".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))).replace("{".concat("version","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"DELETE"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updatePluginConfiguration:(t=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("updatePluginConfiguration","pluginId",n),i="/Plugins/{pluginId}/Configuration".replace("{".concat("pluginId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return t.apply(this,arguments)})};var t,n,r,i,a,u,c,s,l,d,p,h,m,y,b,w,I}(e);return{cancelPackageInstallation:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.cancelPackageInstallation(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["PluginApi.cancelPackageInstallation"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},disablePlugin:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.disablePlugin(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["PluginApi.disablePlugin"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},enablePlugin:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.enablePlugin(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["PluginApi.enablePlugin"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getConfigurationPages:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getConfigurationPages(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["PluginApi.getConfigurationPages"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getDashboardConfigurationPage:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getDashboardConfigurationPage(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["PluginApi.getDashboardConfigurationPage"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPackageInfo:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPackageInfo(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["PluginApi.getPackageInfo"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPackages:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPackages(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["PluginApi.getPackages"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPluginConfiguration:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPluginConfiguration(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["PluginApi.getPluginConfiguration"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPluginImage:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getPluginImage(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["PluginApi.getPluginImage"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getPluginManifest:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getPluginManifest(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["PluginApi.getPluginManifest"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPlugins:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPlugins(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["PluginApi.getPlugins"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRepositories:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getRepositories(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["PluginApi.getRepositories"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},installPackage:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.installPackage(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["PluginApi.installPackage"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||n)}))}}),l)})))()},setRepositories:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.setRepositories(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["PluginApi.setRepositories"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},uninstallPlugin:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.uninstallPlugin(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["PluginApi.uninstallPlugin"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},uninstallPluginByVersion:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.uninstallPluginByVersion(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["PluginApi.uninstallPluginByVersion"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updatePluginConfiguration:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.updatePluginConfiguration(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["PluginApi.updatePluginConfiguration"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,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"==a(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:"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:"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)}))}},{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:"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:"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)}))}},{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)}))}}],r&&u(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)}},90408:function(e,t,n){n.d(t,{H:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getTask:(a=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getTask","taskId",n),i="/ScheduledTasks/{taskId}".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return a.apply(this,arguments)}),getTasks:(i=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},a=new URL("/ScheduledTasks",o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),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),s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),startTask:(r=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("startTask","taskId",n),i="/ScheduledTasks/Running/{taskId}".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return r.apply(this,arguments)}),stopTask:(n=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("stopTask","taskId",n),i="/ScheduledTasks/Running/{taskId}".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"DELETE"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return n.apply(this,arguments)}),updateTask:(t=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/ScheduledTasks/{taskId}/Triggers".replace("{".concat("taskId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,a}(e);return{getTask:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getTask(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["Sc
2heduledTaskApi.getTask"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getTasks:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getTasks(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["ScheduledTaskApi.getTasks"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},startTask:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.startTask(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["ScheduledTaskApi.startTask"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},stopTask:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.stopTask(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["ScheduledTaskApi.stopTask"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},updateTask:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateTask(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["ScheduledTaskApi.updateTask"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,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"==a(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&&u(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 A}}),n(29305),n(32733),n(84701),n(81678),n(44962),n(4754),n(94),n(36947),n(36457),n(26437),n(52697),n(78557),n(21359),n(61642),n(83994),n(82367),n(14382),n(33087),n(88908),n(83810),n(90076),n(95021),n(93062),n(23630),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{addUserToSession:(P=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Sessions/{sessionId}/User/{userId}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return P.apply(this,arguments)}),displayContent:(I=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>4&&void 0!==y[4]?y[4]:{},(0,o.WC)("displayContent","sessionId",n),(0,o.WC)("displayContent","itemType",r),(0,o.WC)("displayContent","itemId",i),(0,o.WC)("displayContent","itemName",a),c="/Sessions/{sessionId}/Viewing".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),s=new URL(c,o.fY),e&&(l=e.baseOptions),d=v(v({method:"POST"},l),u),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return void 0!==r&&(h.itemType=r),void 0!==i&&(h.itemId=i),void 0!==a&&(h.itemName=a),p.Accept="text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),u.headers),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,t,n,r){return I.apply(this,arguments)}),getSessions:(w=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=h.length>3&&void 0!==h[3]?h[3]:{},u=new URL("/Sessions",o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),a),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==n&&(d.controllableByUserId=n),void 0!==r&&(d.deviceId=r),void 0!==i&&(d.activeWithinSeconds=i),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),a.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t,n){return w.apply(this,arguments)}
2),pingPlaybackSession:(b=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("pingPlaybackSession","playSessionId",n),i=new URL("/Sessions/Playing/Ping",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.playSessionId=n),c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return b.apply(this,arguments)}),play:(y=g(f().m((function t(n,r,i,a,u,c,s,l){var d,p,h,m,y,g,b,w,I=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return d=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),p="/Sessions/{sessionId}/Playing".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),h=new URL(p,o.fY),e&&(m=e.baseOptions),y=v(v({method:"POST"},m),d),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!==a&&(b.startPositionTicks=a),void 0!==u&&(b.mediaSourceId=u),void 0!==c&&(b.audioStreamIndex=c),void 0!==s&&(b.subtitleStreamIndex=s),void 0!==l&&(b.startIndex=l),g.Accept="text/html",(0,o.rZ)(h,b),w=m&&m.headers?m.headers:{},y.headers=v(v(v({},g),w),d.headers),t.a(2,{url:(0,o.uD)(h),options:y})}}),t)}))),function(e,t,n,r,o,i,a,u){return y.apply(this,arguments)}),postCapabilities:(m=g(f().m((function t(n,r,i,a,u){var c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return c=y.length>5&&void 0!==y[5]?y[5]:{},s=new URL("/Sessions/Capabilities",o.fY),e&&(l=e.baseOptions),d=v(v({method:"POST"},l),c),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return void 0!==n&&(h.id=n),r&&(h.playableMediaTypes=r),i&&(h.supportedCommands=i),void 0!==a&&(h.supportsMediaControl=a),void 0!==u&&(h.supportsPersistentIdentifier=u),p.Accept="text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),c.headers),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,t,n,r,o){return m.apply(this,arguments)}),postFullCapabilities:(h=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},(0,o.WC)("postFullCapabilities","clientCapabilitiesDto",n),a=new URL("/Sessions/Capabilities/Full",o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),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",s.Accept="text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return h.apply(this,arguments)}),removeUserFromSession:(p=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Sessions/{sessionId}/User/{userId}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("userId","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"DELETE"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return p.apply(this,arguments)}),reportPlaybackProgress:(d=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/Sessions/Playing/Progress",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return d.apply(this,arguments)}),reportPlaybackStart:(l=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/Sessions/Playing",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return l.apply(this,arguments)}),reportPlaybackStopped:(s=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/Sessions/Playing/Stopped",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return s.apply(this,arguments)}),reportSessionEnded:(c=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"POST"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return c.apply(this,arguments)}),reportViewing:(u=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},(0,o.WC)("reportViewing","itemId",n),a=new URL("/Sessions/Viewing",o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),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),s.Accept="text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return u.apply(this,arguments)}),sendFullGeneralCommand:(a=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Sessions/{sessionId}/Command".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",l.Accept="text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return a.apply(this,arguments)}),sendGeneralCommand:(i=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Sessions/{sessionId}/Command/{command}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("command","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),sendMessageCommand:(r=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Sessions/{sessionId}/Message".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",l.Accept="text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),sendPlaystateCommand:(n=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>4&&void 0!==y[4]?y[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),d=v(v({method:"POST"},l),u),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return void 0!==i&&(h.seekPositionTicks=i),void 0!==a&&(h.controllingUserId=a),p.Accept="text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),u.headers),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,t,r,o){return n.apply(this,arguments)}),sendSystemCommand:(t=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Sessions/{sessionId}/System/{command}".replace("{".concat("sessionId","}"),encodeURIComponent(String(n))).replace("{".concat("command","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,a,u,c,s,l,d,p,h,m,y,b,w,I,P}(e);return{addUserToSession:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.addUserToSession(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SessionApi.addUserToSession"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},displayContent:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.displayContent(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["SessionApi.displayContent"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||n)}))}}),l)})))()},getSessions:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.getSessions(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["SessionApi.getSessions"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},pingPlaybackSession:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.pingPlaybackSession(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SessionApi.pingPlaybackSession"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},play:function(n,a,u,c,s,l,d,p,v){return g(f().m((function h(){var m,y,g,b,w,I;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.play(n,a,u,c,s,l,d,p,v);case 1:return b=f.v,w=null!==(m=null==e?void 0:e.serverIndex)&&void 0!==m?m:0,I=null===(g=null===(y=i.z9["SessionApi.play"])||void 0===y?void 0:y[w])||void 0===g?void 0:g.url,f.a(2,(function(t,n){return(0,o.yZ)(b,r.A,i.o2,e)(t,I||n)}))}}),h)})))()},postCapabilities:function(n,a,u,c,s,l){return g(f().m((function d(){var p,v,h,m,y,g;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.postCapabilities(n,a,u,c,s,l);case 1:return m=f.v,y=null!==(p=null==e?void 0:e.serverIndex)&&void 0!==p?p:0,g=null===(h=null===(v=i.z9["SessionApi.postCapabilities"])||void 0===v?void 0:v[y])||void 0===h?void 0:h.url,f.a(2,(function(t,n){return(0,o.yZ)(m,r.A,i.o2,e)(t,g||n)}))}}),d)})))()},postFullCapabilities:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.postFullCapabilities(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SessionApi.postFullCapabilities"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},removeUserFromSession:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.removeUserFromSession(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SessionApi.removeUserFromSession"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},reportPlaybackProgress:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.reportPlaybackProgress(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SessionApi.reportPlaybackProgress"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},reportPlaybackStart:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.reportPlaybackStart(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SessionApi.reportPlaybackStart"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},reportPlaybackStopped:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.reportPlaybackStopped(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SessionApi.reportPlaybackStopped"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},reportSessionEnded:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.reportSessionEnded(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SessionApi.reportSessionEnded"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},reportViewing:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.reportViewing(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SessionApi.reportViewing"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendFullGeneralCommand:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendFullGeneralCommand(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SessionApi.sendFullGeneralCommand"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendGeneralCommand:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendGeneralCommand(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SessionApi.sendGeneralCommand"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendMessageCommand:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendMessageCommand(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SessionApi.sendMessageCommand"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},sendPlaystateCommand:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.sendPlaystateCommand(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["SessionApi.sendPlaystateCommand"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||n)}))}}),l)})))()},sendSystemCommand:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.sendSystemCommand(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SessionApi.sendSystemCommand"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,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"==a(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:"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:"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:"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:"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)}))}},{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&&u(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(i.yi);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 P(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,S(r.key),r)}}function S(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 O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(O=function(){return!!e})()}function j(){return j="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=C(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},j.apply(null,arguments)}
2function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}function x(e,t){return x=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},x(e,t)}var T=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(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,O()?Reflect.construct(t,n||[],C(e).constructor):t.apply(e,n))}(this,t,[e.configuration,void 0,e.axiosInstance])).api=e,n}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&&x(e,t)}(t,e),n=t,r=[{key:"reportSessionEnded",value:function(e){var n,r,o,i=this;return(n=t,r=this,o=j(C(n.prototype),"reportSessionEnded",r),"function"==typeof o?function(e){return o.apply(r,e)}:o)([e]).then((function(e){return i.api.update({accessToken:""}),e}))}}],r&&P(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(w);function A(e){return new T(e)}},8625:function(e,t,n){n.d(t,{K:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getEpisodes:(i=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b){var w,I,P,S,O,j,C,x,T=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return w=T.length>15&&void 0!==T[15]?T[15]:{},(0,o.WC)("getEpisodes","seriesId",n),I="/Shows/{seriesId}/Episodes".replace("{".concat("seriesId","}"),encodeURIComponent(String(n))),P=new URL(I,o.fY),e&&(S=e.baseOptions),O=v(v({method:"GET"},S),w),j={},C={},t.n=1,(0,o.YS)(j,"Authorization",e);case 1:return void 0!==r&&(C.userId=r),i&&(C.fields=i),void 0!==a&&(C.season=a),void 0!==u&&(C.seasonId=u),void 0!==c&&(C.isMissing=c),void 0!==s&&(C.adjacentTo=s),void 0!==l&&(C.startItemId=l),void 0!==d&&(C.startIndex=d),void 0!==p&&(C.limit=p),void 0!==h&&(C.enableImages=h),void 0!==m&&(C.imageTypeLimit=m),y&&(C.enableImageTypes=y),void 0!==g&&(C.enableUserData=g),void 0!==b&&(C.sortBy=b),j.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(P,C),x=S&&S.headers?S.headers:{},O.headers=v(v(v({},j),x),w.headers),t.a(2,{url:(0,o.uD)(P),options:O})}}),t)}))),function(e,t,n,r,o,a,u,c,s,l,f,d,p,v,h){return i.apply(this,arguments)}),getNextUp:(r=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g){var b,w,I,P,S,O,j,C=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return b=C.length>14&&void 0!==C[14]?C[14]:{},w=new URL("/Shows/NextUp",o.fY),e&&(I=e.baseOptions),P=v(v({method:"GET"},I),b),S={},O={},t.n=1,(0,o.YS)(S,"Authorization",e);case 1:return void 0!==n&&(O.userId=n),void 0!==r&&(O.startIndex=r),void 0!==i&&(O.limit=i),a&&(O.fields=a),void 0!==u&&(O.seriesId=u),void 0!==c&&(O.parentId=c),void 0!==s&&(O.enableImages=s),void 0!==l&&(O.imageTypeLimit=l),d&&(O.enableImageTypes=d),void 0!==p&&(O.enableUserData=p),void 0!==h&&(O.nextUpDateCutoff=h instanceof Date?h.toISOString():h),void 0!==m&&(O.enableTotalRecordCount=m),void 0!==y&&(O.enableResumable=y),void 0!==g&&(O.enableRewatching=g),S.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(w,O),j=I&&I.headers?I.headers:{},P.headers=v(v(v({},S),j),b.headers),t.a(2,{url:(0,o.uD)(w),options:P})}}),t)}))),function(e,t,n,o,i,a,u,c,s,l,f,d,p,v){return r.apply(this,arguments)}),getSeasons:(n=g(f().m((function t(n,r,i,a,u,c,s,l,d,p){var h,m,y,g,b,w,I,P,S=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return h=S.length>10&&void 0!==S[10]?S[10]:{},(0,o.WC)("getSeasons","seriesId",n),m="/Shows/{seriesId}/Seasons".replace("{".concat("seriesId","}"),encodeURIComponent(String(n))),y=new URL(m,o.fY),e&&(g=e.baseOptions),b=v(v({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!==a&&(I.isSpecialSeason=a),void 0!==u&&(I.isMissing=u),void 0!==c&&(I.adjacentTo=c),void 0!==s&&(I.enableImages=s),void 0!==l&&(I.imageTypeLimit=l),d&&(I.enableImageTypes=d),void 0!==p&&(I.enableUserData=p),w.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(y,I),P=g&&g.headers?g.headers:{},b.headers=v(v(v({},w),P),h.headers),t.a(2,{url:(0,o.uD)(y),options:b})}}),t)}))),function(e,t,r,o,i,a,u,c,s,l){return n.apply(this,arguments)}),getUpcomingEpisodes:(t=g(f().m((function t(n,r,i,a,u,c,s,l,d){var p,h,m,y,g,b,w,I=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return p=I.length>9&&void 0!==I[9]?I[9]:{},h=new URL("/Shows/Upcoming",o.fY),e&&(m=e.baseOptions),y=v(v({method:"GET"},m),p),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),a&&(b.fields=a),void 0!==u&&(b.parentId=u),void 0!==c&&(b.enableImages=c),void 0!==s&&(b.imageTypeLimit=s),l&&(b.enableImageTypes=l),void 0!==d&&(b.enableUserData=d),g.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(h,b),w=m&&m.headers?m.headers:{},y.headers=v(v(v({},g),w),p.headers),t.a(2,{url:(0,o.uD)(h),options:y})}}),t)}))),function(e,n,r,o,i,a,u,c,s){return t.apply(this,arguments)})};var t,n,r,i}(e);return{getEpisodes:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P){return g(f().m((function g(){var S,O,j,C,x,T;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getEpisodes(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P);case 1:return C=f.v,x=null!==(S=null==e?void 0:e.serverIndex)&&void 0!==S?S:0,T=null===(j=null===(O=i.z9["ShowApi.getEpisodes"])||void 0===O?void 0:O[x])||void 0===j?void 0:j.url,f.a(2,(function(t,n){return(0,o.yZ)(C,r.A,i.o2,e)(t,T||n)}))}}),g)})))()},getNextUp:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I){return g(f().m((function g(){var P,S,O,j,C,x;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getNextUp(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I);case 1:return j=f.v,C=null!==(P=null==e?void 0:e.serverIndex)&&void 0!==P?P:0,x=null===(O=null===(S=i.z9["ShowApi.getNextUp"])||void 0===S?void 0:S[C])||void 0===O?void 0:O.url,f.a(2,(function(t,n){return(0,o.yZ)(j,r.A,i.o2,e)(t,x||n)}))}}),g)})))()},getSeasons:function(n,a,u,c,s,l,d,p,v,h,m){return g(f().m((function y(){var g,b,w,I,P,S;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getSeasons(n,a,u,c,s,l,d,p,v,h,m);case 1:return I=f.v,P=null!==(g=null==e?void 0:e.serverIndex)&&void 0!==g?g:0,S=null===(w=null===(b=i.z9["ShowApi.getSeasons"])||void 0===b?void 0:b[P])||void 0===w?void 0:w.url,f.a(2,(function(t,n){return(0,o.yZ)(I,r.A,i.o2,e)(t,S||n)}))}}),y)})))()},getUpcomingEpisodes:function(n,a,u,c,s,l,d,p,v,h){return g(f().m((function m(){var y,g,b,w,I,P;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getUpcomingEpisodes(n,a,u,c,s,l,d,p,v,h);case 1:return w=f.v,I=null!==(y=null==e?void 0:e.serverIndex)&&void 0!==y?y:0,P=null===(b=null===(g=i.z9["ShowApi.getUpcomingEpisodes"])||void 0===g?void 0:g[I])||void 0===b?void 0:b.url,f.a(2,(function(t,n){return(0,o.yZ)(w,r.A,i.o2,e)(t,P||n)}))}}),m)})))()}}},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"==a(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.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&&u(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)}},95553:function(e,t,n){n.d(t,{b:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getStudio:(n=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Studios/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return n.apply(this,arguments)}),getStudios:(t=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g,b,w,I){var P,S,O,j,C,x,T,A=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return P=A.length>17&&void 0!==A[17]?A[17]:{},S=new URL("/Studios",o.fY),e&&(O=e.baseOptions),j=v(v({method:"GET"},O),P),C={},x={},t.n=1,(0,o.YS)(C,"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!==a&&(x.parentId=a),u&&(x.fields=u),c&&(x.excludeItemTypes=c),s&&(x.includeItemTypes=s),void 0!==l&&(x.isFavorite=l),void 0!==d&&(x.enableUserData=d),void 0!==p&&(x.imageTypeLimit=p),h&&(x.enableImageTypes=h),void 0!==m&&(x.userId=m),void 0!==y&&(x.nameStartsWithOrGreater=y),void 0!==g&&(x.nameStartsWith=g),void 0!==b&&(x.nameLessThan=b),void 0!==w&&(x.enableImages=w),void 0!==I&&(x.enableTotalRecordCount=I),C.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(S,x),T=O&&O.headers?O.headers:{},j.headers=v(v(v({},C),T),P.headers),t.a(2,{url:(0,o.uD)(S),options:j})}}),t)}))),function(e,n,r,o,i,a,u,c,s,l,f,d,p,v,h,m,y){return t.apply(this,arguments)})};var t,n}(e);return{getStudio:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getStudio(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["StudioApi.getStudio"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getStudios:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O){return g(f().m((function g(){var j,C,x,T,A,k;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getStudios(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I,P,S,O);case 1:return T=f.v,A=null!==(j=null==e?void 0:e.serverIndex)&&void 0!==j?j:0,k=null===(x=null===(C=i.z9["StudioApi.getStudios"])||void 0===C?void 0:C[A])||void 0===x?void 0:x.url,f.a(2,(function(t,n){return(0,o.yZ)(T,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"==a(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&&u(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(14382),n(44962),n(4754),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(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{deleteSubtitle:(d=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Videos/{itemId}/Subtitles/{index}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("index","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"DELETE"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return d.apply(this,arguments)}),downloadRemoteSubtitles:(l=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Items/{itemId}/RemoteSearch/Subtitles/{subtitleId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("subtitleId","}"),encodeURIComponent(String(r))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return l.apply(this,arguments)}),getFallbackFont:(s=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getFallbackFont","name",n),i="/FallbackFont/Fonts/{name}".replace("{".concat("name","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="font/*,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return s.apply(this,arguments)}),getFallbackFontList:(c=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return c.apply(this,arguments)}),getRemoteSubtitles:(u=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getRemoteSubtitles","subtitleId",n),i="/Providers/Subtitles/Subtitles/{subtitleId}".replace("{".concat("subtitleId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="text/*,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return u.apply(this,arguments)}),getSubtitle:(a=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m){var y,g,b,w,I,P,S,O,j=arguments;return f().w((function(t){for(;;)if(0===t.n)return y=j.length>12&&void 0!==j[12]?j[12]:{},(0,o.WC)("getSubtitle","routeItemId",n),(0,o.WC)("getSubtitle","routeMediaSourceId",r),(0,o.WC)("getSubtitle","routeIndex",i),(0,o.WC)("getSubtitle","routeFormat",a),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(a))),b=new URL(g,o.fY),e&&(w=e.baseOptions),I=v(v({method:"GET"},w),y),P={},S={},void 0!==u&&(S.itemId=u),void 0!==c&&(S.mediaSourceId=c),void 0!==s&&(S.index=s),void 0!==l&&(S.format=l),void 0!==d&&(S.endPositionTicks=d),void 0!==p&&(S.copyTimestamps=p),void 0!==h&&(S.addVttTimeMap=h),void 0!==m&&(S.startPositionTicks=m),P.Accept="text/*,text/html",(0,o.rZ)(b,S),O=w&&w.headers?w.headers:{},I.headers=v(v(v({},P),O),y.headers),t.a(2,{url:(0,o.uD)(b),options:I})}),t)}))),function(e,t,n,r,o,i,u,c,s,l,f,d){return a.apply(this,arguments)}),getSubtitlePlaylist:(i=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m,y=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=y.length>4&&void 0!==y[4]?y[4]:{},(0,o.WC)("getSubtitlePlaylist","itemId",n),(0,o.WC)("getSubtitlePlaylist","index",r),(0,o.WC)("getSubtitlePlaylist","mediaSourceId",i),(0,o.WC)("getSubtitlePlaylist","segmentLength",a),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),d=v(v({method:"GET"},l),u),p={},h={},t.n=1,(0,o.YS)(p,"Authorization",e);case 1:return void 0!==a&&(h.segmentLength=a),p.Accept="application/x-mpegURL,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(s,h),m=l&&l.headers?l.headers:{},d.headers=v(v(v({},p),m),u.headers),t.a(2,{url:(0,o.uD)(s),options:d})}}),t)}))),function(e,t,n,r){return i.apply(this,arguments)}),getSubtitleWithTicks:(r=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y){var g,b,w,I,P,S,O,j,C=arguments;return f().w((function(t){for(;;)if(0===t.n)return g=C.length>13&&void 0!==C[13]?C[13]:{},(0,o.WC)("getSubtitleWithTicks","routeItemId",n),(0,o.WC)("getSubtitleWithTicks","routeMediaSourceId",r),(0,o.WC)("getSubtitleWithTicks","routeIndex",i),(0,o.WC)("getSubtitleWithTicks","routeStartPositionTicks",a),(0,o.WC)("getSubtitleWithTicks","routeFormat",u),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(a))).replace("{".concat("routeFormat","}"),encodeURIComponent(String(u))),w=new URL(b,o.fY),e&&(I=e.baseOptions),P=v(v({method:"GET"},I),g),S={},O={},void 0!==c&&(O.itemId=c),void 0!==s&&(O.mediaSourceId=s),void 0!==l&&(O.index=l),void 0!==d&&(O.startPositionTicks=d),void 0!==p&&(O.format=p),void 0!==h&&(O.endPositionTicks=h),void 0!==m&&(O.copyTimestamps=m),void 0!==y&&(O.addVttTimeMap=y),S.Accept="text/*,text/html",(0,o.rZ)(w,O),j=I&&I.headers?I.headers:{},P.headers=v(v(v({},S),j),g.headers),t.a(2,{url:(0,o.uD)(w),options:P})}),t)}))),function(e,t,n,o,i,a,u,c,s,l,f,d,p){return r.apply(this,arguments)}),searchRemoteSubtitles:(n=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("searchRemoteSubtitles","itemId",n),(0,o.WC)("searchRemoteSubtitles","language",r),u="/Items/{itemId}/RemoteSearch/Subtitles/{language}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))).replace("{".concat("language","}"),encodeURIComponent(String(r))),c=new URL(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"GET"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==i&&(p.isPerfectMatch=i),d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,r){return n.apply(this,arguments)}
2),uploadSubtitle:(t=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Videos/{itemId}/Subtitles".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,a,u,c,s,l,d}(e);return{deleteSubtitle:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.deleteSubtitle(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SubtitleApi.deleteSubtitle"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},downloadRemoteSubtitles:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.downloadRemoteSubtitles(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SubtitleApi.downloadRemoteSubtitles"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getFallbackFont:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getFallbackFont(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SubtitleApi.getFallbackFont"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getFallbackFontList:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getFallbackFontList(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SubtitleApi.getFallbackFontList"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getRemoteSubtitles:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getRemoteSubtitles(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SubtitleApi.getRemoteSubtitles"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getSubtitle:function(n,a,u,c,s,l,d,p,v,h,m,y,b){return g(f().m((function g(){var w,I,P,S,O,j;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getSubtitle(n,a,u,c,s,l,d,p,v,h,m,y,b);case 1:return S=f.v,O=null!==(w=null==e?void 0:e.serverIndex)&&void 0!==w?w:0,j=null===(P=null===(I=i.z9["SubtitleApi.getSubtitle"])||void 0===I?void 0:I[O])||void 0===P?void 0:P.url,f.a(2,(function(t,n){return(0,o.yZ)(S,r.A,i.o2,e)(t,j||n)}))}}),g)})))()},getSubtitlePlaylist:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getSubtitlePlaylist(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["SubtitleApi.getSubtitlePlaylist"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||n)}))}}),l)})))()},getSubtitleWithTicks:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w){return g(f().m((function g(){var I,P,S,O,j,C;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getSubtitleWithTicks(n,a,u,c,s,l,d,p,v,h,m,y,b,w);case 1:return O=f.v,j=null!==(I=null==e?void 0:e.serverIndex)&&void 0!==I?I:0,C=null===(S=null===(P=i.z9["Subt
2itleApi.getSubtitleWithTicks"])||void 0===P?void 0:P[j])||void 0===S?void 0:S.url,f.a(2,(function(t,n){return(0,o.yZ)(O,r.A,i.o2,e)(t,C||n)}))}}),g)})))()},searchRemoteSubtitles:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.searchRemoteSubtitles(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["SubtitleApi.searchRemoteSubtitles"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},uploadSubtitle:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.uploadSubtitle(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SubtitleApi.uploadSubtitle"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,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"==a(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)}))}}])&&u(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(14382),n(44962),n(4754),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(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{syncPlayBuffering:(C=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlayBuffering","bufferRequestDto",n),i=new URL("/SyncPlay/Buffering",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return C.apply(this,arguments)}),syncPlayCreateGroup:(j=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlayCreateGroup","newGroupRequestDto",n),i=new URL("/SyncPlay/New",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return j.apply(this,arguments)}),syncPlayGetGroup:(O=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("syncPlayGetGroup","id",n),i="/SyncPlay/{id}".replace("{".concat("id","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return O.apply(this,arguments)}),syncPlayGetGroups:(S=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return S.apply(this,arguments)}),syncPlayJoinGroup:(P=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlayJoinGroup","joinGroupRequestDto",n),i=new URL("/SyncPlay/Join",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return P.apply(this,arguments)}),syncPlayLeaveGroup:(I=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"POST"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return I.apply(this,arguments)}),syncPlayMovePlaylistItem:(w=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlayMovePlaylistItem","movePlaylistItemRequestDto",n),i=new URL("/SyncPlay/MovePlaylistItem",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return w.apply(this,arguments)}),syncPlayNextItem:(b=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlayNextItem","nextItemRequestDto",n),i=new URL("/SyncPlay/NextItem",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return b.apply(this,arguments)}),syncPlayPause:(y=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"POST"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return y.apply(this,arguments)}),syncPlayPing:(m=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlayPing","pingRequestDto",n),i=new URL("/SyncPlay/Ping",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return m.apply(this,arguments)}),syncPlayPreviousItem:(h=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlayPreviousItem","previousItemRequestDto",n),i=new URL("/SyncPlay/PreviousItem",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return h.apply(this,arguments)}),syncPlayQueue:(p=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlayQueue","queueRequestDto",n),i=new URL("/SyncPlay/Queue",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return p.apply(this,arguments)}),syncPlayReady:(d=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlayReady","readyRequestDto",n),i=new URL("/SyncPlay/Ready",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return d.apply(this,arguments)}),syncPlayRemoveFromPlaylist:(l=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlayRemoveFromPlaylist","removeFromPlaylistRequestDto",n),i=new URL("/SyncPlay/RemoveFromPlaylist",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return l.apply(this,arguments)}),syncPlaySeek:(s=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlaySeek","seekRequestDto",n),i=new URL("/SyncPlay/Seek",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return s.apply(this,arguments)}),syncPlaySetIgnoreWait:(c=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlaySetIgnoreWait","ignoreWaitRequestDto",n),i=new URL("/SyncPlay/SetIgnoreWait",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return c.apply(this,arguments)}),syncPlaySetNewQueue:(u=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlaySetNewQueue","playRequestDto",n),i=new URL("/SyncPlay/SetNewQueue",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return u.apply(this,arguments)}),syncPlaySetPlaylistItem:(a=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlaySetPlaylistItem","setPlaylistItemRequestDto",n),i=new URL("/SyncPlay/SetPlaylistItem",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return a.apply(this,arguments)}),syncPlaySetRepeatMode:(i=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlaySetRepeatMode","setRepeatModeRequestDto",n),i=new URL("/SyncPlay/SetRepeatMode",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return i.apply(this,arguments)}),syncPlaySetShuffleMode:(r=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("syncPlaySetShuffleMode","setShuffleModeRequestDto",n),i=new URL("/SyncPlay/SetShuffleMode",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return r.apply(this,arguments)}),syncPlayStop:(n=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"POST"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return n.apply(this,arguments)}),syncPlayUnpause:(t=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"POST"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return t.apply(this,arguments)})};var t,n,r,i,a,u,c,s,l,d,p,h,m,y,b,w,I,P,S,O,j,C}(e);return{syncPlayBuffering:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayBuffering(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayBuffering"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayCreateGroup:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayCreateGroup(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayCreateGroup"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayGetGroup:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayGetGroup(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayGetGroup"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayGetGroups:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayGetGroups(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayGetGroups"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayJoinGroup:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayJoinGroup(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayJoinGroup"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayLeaveGroup:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayLeaveGroup(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayLeaveGroup"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayMovePlaylistItem:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayMovePlaylistItem(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayMovePlaylistItem"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayNextItem:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayNextItem(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayNextItem"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayPause:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayPause(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayPause"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayPing:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayPing(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayPing"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayPreviousItem:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayPreviousItem(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayPreviousItem"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayQueue:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayQueue(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayQueue"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayReady:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayReady(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayReady"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayRemoveFromPlaylist:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlayRemoveFromPlaylist(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlayRemoveFromPlaylist"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlaySeek:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlaySeek(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySeek"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlaySetIgnoreWait:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlaySetIgnoreWait(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetIgnoreWait"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlaySetNewQueue:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlaySetNewQueue(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetNewQueue"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlaySetPlaylistItem:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlaySetPlaylistItem(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetPlaylistItem"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},syncPlaySetRepeatMode:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlaySetRepeatMode(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetRepeatMode"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlaySetShuffleMode:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.syncPlaySetShuffleMode(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SyncPlayApi.syncPlaySetShuffleMode"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},syncPlayStop:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayStop(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayStop"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},syncPlayUnpause:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.syncPlayUnpause(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SyncPlayApi.syncPlayUnpause"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,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"==a(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)}))}}])&&u(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(14382),n(44962),n(4754),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(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getConfiguration:(S=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return S.apply(this,arguments)}),getDefaultMetadataOptions:(P=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return P.apply(this,arguments)}),getEndpointInfo:(I=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return I.apply(this,arguments)}),getLogEntries:(w=g(f().m((function t(n,r,i,a,u,c,s,l,d,p,h,m,y,g){var b,w,I,P,S,O,j,C=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return b=C.length>14&&void 0!==C[14]?C[14]:{},w=new URL("/System/ActivityLog/Entries",o.fY),e&&(I=e.baseOptions),P=v(v({method:"GET"},I),b),S={},O={},t.n=1,(0,o.YS)(S,"Authorization",e);case 1:return void 0!==n&&(O.startIndex=n),void 0!==r&&(O.limit=r),void 0!==i&&(O.minDate=i instanceof Date?i.toISOString():i),void 0!==a&&(O.maxDate=a instanceof Date?a.toISOString():a),void 0!==u&&(O.hasUserId=u),void 0!==c&&(O.name=c),void 0!==s&&(O.overview=s),void 0!==l&&(O.shortOverview=l),void 0!==d&&(O.type=d),void 0!==p&&(O.itemId=p),void 0!==h&&(O.username=h),void 0!==m&&(O.severity=m),y&&(O.sortBy=y),g&&(O.sortOrder=g),S.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(w,O),j=I&&I.headers?I.headers:{},P.headers=v(v(v({},S),j),b.headers),t.a(2,{url:(0,o.uD)(w),options:P})}}),t)}))),function(e,t,n,r,o,i,a,u,c,s,l,f,d,p){return w.apply(this,arguments)}),getLogFile:(b=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("getLogFile","name",n),i=new URL("/System/Logs/Log",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.name=n),c.Accept="text/plain,application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return b.apply(this,arguments)}),getNamedConfiguration:(y=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getNamedConfiguration","key",n),i="/System/Configuration/{key}".replace("{".concat("key","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return y.apply(this,arguments)}),getPingSystem:(m=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),c={},(u={}).Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}),t)}))),function(){return m.apply(this,arguments)}),getPublicSystemInfo:(h=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),c={},(u={}).Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}),t)}))),function(){return h.apply(this,arguments)}),getServerLogs:(p=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return p.apply(this,arguments)}),getSystemInfo:(d=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return d.apply(this,arguments)}),getSystemStorage:(l=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return l.apply(this,arguments)}),getUtcTime:(s=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().w((function(t){for(;;)if(0===t.n)return n=l.length>0&&void 0!==l[0]?l[0]:{},r=new URL("/GetUtcTime",o.fY),e&&(i=e.baseOptions),a=v(v({method:"GET"},i),n),c={},(u={}).Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}),t)}))),function(){return s.apply(this,arguments)}),logFile:(c=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/ClientLog/Document",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="text/plain",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return c.apply(this,arguments)}),postPingSystem:(u=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"POST"},i),n),c={},(u={}).Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}),t)}))),function(){return u.apply(this,arguments)}),restartApplication:(a=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"POST"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return a.apply(this,arguments)}),shutdownApplication:(i=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"POST"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return i.apply(this,arguments)}),updateBrandingConfiguration:(r=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("updateBrandingConfiguration","brandingOptionsDto",n),i=new URL("/System/Configuration/Branding",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return r.apply(this,arguments)}),updateConfiguration:(n=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("updateConfiguration","serverConfiguration",n),i=new URL("/System/Configuration",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return n.apply(this,arguments)}),updateNamedConfiguration:(t=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/System/Configuration/{key}".replace("{".concat("key","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",l.Accept="text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,a,u,c,s,l,d,p,h,m,y,b,w,I,P,S}(e);return{getConfiguration:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getConfiguration(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.getConfiguration"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getDefaultMetadataOptions:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getDefaultMetadataOptions(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.getDefaultMetadataOptions"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getEndpointInfo:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getEndpointInfo(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.getEndpointInfo"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getLogEntries:function(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I){return g(f().m((function g(){var P,S,O,j,C,x;return f().w((function(f){for(;;)switch(f.n){case 0:return f.n=1,t.getLogEntries(n,a,u,c,s,l,d,p,v,h,m,y,b,w,I);case 1:return j=f.v,C=null!==(P=null==e?void 0:e.serverIndex)&&void 0!==P?P:0,x=null===(O=null===(S=i.z9["SystemApi.getLogEntries"])||void 0===S?void 0:S[C])||void 0===O?void 0:O.url,f.a(2,(function(t,n){return(0,o.yZ)(j,r.A,i.o2,e)(t,x||n)}))}}),g)})))()},getLogFile:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getLogFile(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SystemApi.getLogFile"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},getNamedConfiguration:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getNamedConfiguration(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SystemApi.getNamedConfiguration"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getPingSystem:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPingSystem(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.getPingSystem"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPublicSystemInfo:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPublicSystemInfo(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.getPublicSystemInfo"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getServerLogs:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getServerLogs(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.getServerLogs"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getSystemInfo:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getSystemInfo(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.getSystemInfo"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getSystemStorage:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getSystemStorage(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.getSystemStorage"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getUtcTime:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getUtcTime(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.getUtcTime"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},logFile:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.logFile(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SystemApi.logFile"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},postPingSystem:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.postPingSystem(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.postPingSystem"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},restartApplication:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.restartApplication(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.restartApplication"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},shutdownApplication:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.shutdownApplication(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["SystemApi.shutdownApplication"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},updateBrandingConfiguration:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.updateBrandingConfiguration(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SystemApi.updateBrandingConfiguration"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},updateConfiguration:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.updateConfiguration(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["SystemApi.updateConfiguration"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},updateNamedConfiguration:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateNamedConfiguration(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["SystemApi.updateNamedConfiguration"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,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"==a(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:"getEndpointInfo",value:function(e){var t=this;return b(this.configuration).getEndpointInfo(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"getLogEntries",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).getLogEntries(t.startIndex,t.limit,t.minDate,t.maxDate,t.hasUserId,t.name,t.overview,t.shortOverview,t.type,t.itemId,t.username,t.severity,t.sortBy,t.sortOrder,n).then((function(t){return t(e.axios,e.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:"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:"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:"getUtcTime",value:function(e){var t=this;return b(this.configuration).getUtcTime(e).then((function(e){return e(t.axios,t.basePath)}))}},{key:"logFile",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).logFile(t.body,n).then((function(t){return t(e.axios,e.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)}))}},{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)}))}}],r&&u(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(14382),n(44962),n(4754),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(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{createUserByName:(d=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},(0,o.WC)("createUserByName","createUserByName",n),i=new URL("/Users/New",o.fY),e&&(a=e.baseOptions),u=v(v({method:"POST"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return c["Content-Type"]="application/json",c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),u.data=(0,o.Np)(n,u,e),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return d.apply(this,arguments)}),deleteUser:(l=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("deleteUser","userId",n),i="/Users/{userId}".replace("{".concat("userId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"DELETE"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return l.apply(this,arguments)}),getCurrentUser:(s=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),u={},c={},t.n=1,(0,o.YS)(u,"Authorization",e);
2case 1:return u.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}}),t)}))),function(){return s.apply(this,arguments)}),getPublicUsers:(c=g(f().m((function t(){var n,r,i,a,u,c,s,l=arguments;return f().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),a=v(v({method:"GET"},i),n),c={},(u={}).Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(r,c),s=i&&i.headers?i.headers:{},a.headers=v(v(v({},u),s),n.headers),t.a(2,{url:(0,o.uD)(r),options:a})}),t)}))),function(){return c.apply(this,arguments)}),getUserById:(u=g(f().m((function t(n){var r,i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=p.length>1&&void 0!==p[1]?p[1]:{},(0,o.WC)("getUserById","userId",n),i="/Users/{userId}".replace("{".concat("userId","}"),encodeURIComponent(String(n))),a=new URL(i,o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),r),s={},l={},t.n=1,(0,o.YS)(s,"Authorization",e);case 1:return s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),r.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e){return u.apply(this,arguments)}),getUsers:(a=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},a=new URL("/Users",o.fY),e&&(u=e.baseOptions),c=v(v({method:"GET"},u),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),s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return a.apply(this,arguments)}),updateUser:(i=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},(0,o.WC)("updateUser","userDto",n),a=new URL("/Users",o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),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",s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return i.apply(this,arguments)}),updateUserConfiguration:(r=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},(0,o.WC)("updateUserConfiguration","userConfiguration",n),a=new URL("/Users/Configuration",o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),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",s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return r.apply(this,arguments)}),updateUserPassword:(n=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return i=p.length>2&&void 0!==p[2]?p[2]:{},(0,o.WC)("updateUserPassword","updateUserPassword",n),a=new URL("/Users/Password",o.fY),e&&(u=e.baseOptions),c=v(v({method:"POST"},u),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",s.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(a,l),d=u&&u.headers?u.headers:{},c.headers=v(v(v({},s),d),i.headers),c.data=(0,o.Np)(n,c,e),t.a(2,{url:(0,o.uD)(a),options:c})}}),t)}))),function(e,t){return n.apply(this,arguments)}),updateUserPolicy:(t=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/Users/{userId}/Policy".replace("{".concat("userId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return l["Content-Type"]="application/json",l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),s.data=(0,o.Np)(r,s,e),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,n){return t.apply(this,arguments)})};var t,n,r,i,a,u,c,s,l,d}(e);return{createUserByName:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.createUserByName(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["UserApi.createUserByName"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,
2i.o2,e)(t,v||n)}))}}),u)})))()},deleteUser:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.deleteUser(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["UserApi.deleteUser"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getCurrentUser:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getCurrentUser(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["UserApi.getCurrentUser"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getPublicUsers:function(n){return g(f().m((function a(){var u,c,s,l,d,p;return f().w((function(a){for(;;)switch(a.n){case 0:return a.n=1,t.getPublicUsers(n);case 1:return l=a.v,d=null!==(u=null==e?void 0:e.serverIndex)&&void 0!==u?u:0,p=null===(s=null===(c=i.z9["UserApi.getPublicUsers"])||void 0===c?void 0:c[d])||void 0===s?void 0:s.url,a.a(2,(function(t,n){return(0,o.yZ)(l,r.A,i.o2,e)(t,p||n)}))}}),a)})))()},getUserById:function(n,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getUserById(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["UserApi.getUserById"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getUsers:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getUsers(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["UserApi.getUsers"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUser:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUser(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["UserApi.updateUser"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserConfiguration:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUserConfiguration(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["UserApi.updateUserConfiguration"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserPassword:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUserPassword(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["UserApi.updateUserPassword"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateUserPolicy:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.updateUserPolicy(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["UserApi.updateUserPolicy"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,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"==a(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:"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:"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&&u(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)}},47505:function(e,t,n){n.d(t,{w:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(95021),n(83994),n(93062),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{deleteUserItemRating:(s=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/UserItems/{itemId}/Rating".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"DELETE"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return s.apply(this,arguments)}),getItemUserData:(c=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/UserItems/{itemId}/UserData".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"GET"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return c.apply(this,arguments)}),markFavoriteItem:(u=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/UserFavoriteItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"POST"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return u.apply(this,arguments)}),markPlayedItem:(a=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("markPlayedItem","itemId",n),u="/UserPlayedItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"POST"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==r&&(p.userId=r),void 0!==i&&(p.datePlayed=i instanceof Date?i.toISOString():i),d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.headers),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,n){return a.apply(this,arguments)}),markUnplayedItem:(i=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/UserPlayedItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"DELETE"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return i.apply(this,arguments)}),unmarkFavoriteItem:(r=g(f().m((function t(n,r){var i,a,u,c,s,l,d,p,h=arguments;return f().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),a="/UserFavoriteItems/{itemId}".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),u=new URL(a,o.fY),e&&(c=e.baseOptions),s=v(v({method:"DELETE"},c),i),l={},d={},t.n=1,(0,o.YS)(l,"Authorization",e);case 1:return void 0!==r&&(d.userId=r),l.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(u,d),p=c&&c.headers?c.headers:{},s.headers=v(v(v({},l),p),i.headers),t.a(2,{url:(0,o.uD)(u),options:s})}}),t)}))),function(e,t){return r.apply(this,arguments)}),updateItemUserData:(n=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("updateItemUserData","itemId",n),(0,o.WC)("updateItemUserData","updateUserItemDataDto",r),u="/UserItems/{itemId}/UserData".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"POST"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==i&&(p.userId=i),d["Content-Type"]="application/json",d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.headers),l.data=(0,o.Np)(r,l,e),t.a(2,{url:(0,o.uD)(c),options:l})}}),t)}))),function(e,t,r){return n.apply(this,arguments)}
2),updateUserItemRating:(t=g(f().m((function t(n,r,i){var a,u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return a=m.length>3&&void 0!==m[3]?m[3]:{},(0,o.WC)("updateUserItemRating","itemId",n),u="/UserItems/{itemId}/Rating".replace("{".concat("itemId","}"),encodeURIComponent(String(n))),c=new URL(u,o.fY),e&&(s=e.baseOptions),l=v(v({method:"POST"},s),a),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==r&&(p.userId=r),void 0!==i&&(p.likes=i),d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),a.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,a,u,c,s}(e);return{deleteUserItemRating:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.deleteUserItemRating(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["UserDataApi.deleteUserItemRating"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},getItemUserData:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.getItemUserData(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["UserDataApi.getItemUserData"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},markFavoriteItem:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.markFavoriteItem(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["UserDataApi.markFavoriteItem"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},markPlayedItem:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.markPlayedItem(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["UserDataApi.markPlayedItem"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},markUnplayedItem:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.markUnplayedItem(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["UserDataApi.markUnplayedItem"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},unmarkFavoriteItem:function(n,a,u){return g(f().m((function c(){var s,l,d,p,v,h;return f().w((function(c){for(;;)switch(c.n){case 0:return c.n=1,t.unmarkFavoriteItem(n,a,u);case 1:return p=c.v,v=null!==(s=null==e?void 0:e.serverIndex)&&void 0!==s?s:0,h=null===(d=null===(l=i.z9["UserDataApi.unmarkFavoriteItem"])||void 0===l?void 0:l[v])||void 0===d?void 0:d.url,c.a(2,(function(t,n){return(0,o.yZ)(p,r.A,i.o2,e)(t,h||n)}))}}),c)})))()},updateItemUserData:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.updateItemUserData(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["UserDataApi.updateItemUserData"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||n)}))}}),s)})))()},updateUserItemRating:function(n,a,u,c){return g(f().m((function s(){var l,d,p,v,h,m;return f().w((function(s){for(;;)switch(s.n){case 0:return s.n=1,t.updateUserItemRating(n,a,u,c);case 1:return v=s.v,h=null!==(l=null==e?void 0:e.serverIndex)&&void 0!==l?l:0,m=null===(p=null===(d=i.z9["UserDataApi.updateUserItemRating"])||void 0===d?void 0:d[h])||void 0===p?void 0:p.url,s.a(2,(function(t,n){return(0,o.yZ)(v,r.A,i.o2,e)(t,m||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"==a(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:"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:"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:"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:"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:"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)}))}},{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)}))}}])&&u(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)}},9704:function(e,t,n){n.d(t,{V:function(){return I}}),n(29305),n(32733),n(84701),n(81678),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(90076),n(21359),n(83994),n(23630),n(82367),n(24362),n(76218),n(99102);var r=n(74542),o=n(19010),i=n(42934);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 u(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,m(r.key),r)}}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}
2function 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 f(){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 u?r:u,s=Object.create(c.prototype);return d(s,"_invoke",function(n,r,o){var i,u,c,s=0,l=o||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,c=e,d.n=n,a}};function p(n,r){for(u=n,c=r,t=0;!f&&s&&!o&&t<l.length;t++){var o,i=l[t],p=d.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,d.v=r,d.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,d.n=v,u=0))}if(o||n>1)return a;throw f=!0,r}return function(o,l,v){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,v),u=l,c=v;(t=u<2?e:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(s=2,i){if(u||(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,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((t=(f=d.n<0)?c:n.call(r,d))!==a)break}catch(t){i=e,u=1,c=t}finally{s=1}}return{value:t,done:f}}}(n,o,i),!0),s}var a={};function u(){}function c(){}function s(){}t=Object.getPrototypeOf;var l=[][r]?t(t([][r]())):(d(t={},r,(function(){return this})),t),p=s.prototype=u.prototype=Object.create(l);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,d(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=s,d(p,"constructor",s),d(s,"constructor",c),c.displayName="GeneratorFunction",d(s,o,"GeneratorFunction"),d(p),d(p,o,"Generator"),d(p,r,(function(){return this})),d(p,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:v}})()}function d(e,t,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}d=function(e,t,n,r){function i(t,n){d(e,t,(function(e){return this._invoke(t,n,e)}))}t?o?o(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},d(e,t,n,r)}function p(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(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+""}function y(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.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 a(e){y(i,r,o,a,u,"next",e)}function u(e){y(i,r,o,a,u,"throw",e)}a(void 0)}))}}var b=function(e){var t=function(e){return{getGroupingOptions:(n=g(f().m((function t(n){var r,i,a,u,c,s,l,d=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return r=d.length>1&&void 0!==d[1]?d[1]:{},i=new URL("/UserViews/GroupingOptions",o.fY),e&&(a=e.baseOptions),u=v(v({method:"GET"},a),r),c={},s={},t.n=1,(0,o.YS)(c,"Authorization",e);case 1:return void 0!==n&&(s.userId=n),c.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(i,s),l=a&&a.headers?a.headers:{},u.headers=v(v(v({},c),l),r.headers),t.a(2,{url:(0,o.uD)(i),options:u})}}),t)}))),function(e){return n.apply(this,arguments)}),getUserViews:(t=g(f().m((function t(n,r,i,a){var u,c,s,l,d,p,h,m=arguments;return f().w((function(t){for(;;)switch(t.n){case 0:return u=m.length>4&&void 0!==m[4]?m[4]:{},c=new URL("/UserViews",o.fY),e&&(s=e.baseOptions),l=v(v({method:"GET"},s),u),d={},p={},t.n=1,(0,o.YS)(d,"Authorization",e);case 1:return void 0!==n&&(p.userId=n),void 0!==r&&(p.includeExternalContent=r),i&&(p.presetVie
2ws=i),void 0!==a&&(p.includeHidden=a),d.Accept="application/json,application/json; profile=CamelCase,application/json; profile=PascalCase,text/html",(0,o.rZ)(c,p),h=s&&s.headers?s.headers:{},l.headers=v(v(v({},d),h),u.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,a){return g(f().m((function u(){var c,s,l,d,p,v;return f().w((function(u){for(;;)switch(u.n){case 0:return u.n=1,t.getGroupingOptions(n,a);case 1:return d=u.v,p=null!==(c=null==e?void 0:e.serverIndex)&&void 0!==c?c:0,v=null===(l=null===(s=i.z9["UserViewApi.getGroupingOptions"])||void 0===s?void 0:s[p])||void 0===l?void 0:l.url,u.a(2,(function(t,n){return(0,o.yZ)(d,r.A,i.o2,e)(t,v||n)}))}}),u)})))()},getUserViews:function(n,a,u,c,s){return g(f().m((function l(){var d,p,v,h,m,y;return f().w((function(l){for(;;)switch(l.n){case 0:return l.n=1,t.getUserViews(n,a,u,c,s);case 1:return h=l.v,m=null!==(d=null==e?void 0:e.serverIndex)&&void 0!==d?d:0,y=null===(v=null===(p=i.z9["UserViewApi.getUserViews"])||void 0===p?void 0:p[m])||void 0===v?void 0:v.url,l.a(2,(function(t,n){return(0,o.yZ)(h,r.A,i.o2,e)(t,y||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"==a(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&&u(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)}},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}})},29657:function(e,t,n){n.d(t,{XL:function(){return r.X}}),n(78880);var r=n(68777);n(49805),n(58381)},58650:function(e,t,n){n.d(t,{G4:function(){return a},W7:function(){return r},Xp:function(){return i},fg:function(){return o}});var r="http:",o="https:",i=80,a=443},49805:function(e,t,n){n.d(t,{Rn:function(){return s},VC:function(){return o},H:function(){return a},r$:function(){return u},Dl:function(){return c}}),n(24776),n(44962),n(78557),n(95021),n(73687),n(83994),n(93062),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 a(e,t){var n=t.port||i(t.protocol);return e.toLowerCase().startsWith("".concat(t.protocol,"//").concat(t.hostname.toLowerCase(),":").concat(n))}function u(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 a=n.exec(t.pathname);if(!a)break;var u=a[0],c=a.index;i+=t.pathname.slice(o,c).replace(/\/{2,}/g,"/"),i+=u,o=c+u.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))}function s(e){return new URL(e.replace(/^http/,"ws"))}n(89336)},58381:function(e,t,n){function r(e){var t=e.split(".").map(Number);if(t.length&&t.every((function(e){return e>=0})))return t}function o(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=r(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""),n=r(e);
2if(!t||!n)throw new TypeError("Version doesn't match a numeric-only semver format");for(var o=0,i=Math.max(t.length,n.length);o<i;o++){var a=t[o]||0,u=n[o]||0;if(a<u)return-1;if(a>u)return 1}return 0}function i(e,t){return o(e,t)<0}function a(e){if(e){var t=r(e);return t&&o(e,"11")>=0?3===t.length&&0!==t[2]?e:t.slice(0,2).join("."):e}}n.d(t,{Zy:function(){return o},af:function(){return i},fD:function(){return a}}),n(86584),n(89336),n(94),n(78557)},87082:function(e,t,n){n.d(t,{U:function(){return o},m:function(){return r}});var r="13.0.0",o="10.10.0"},10058:function(e,t,n){n.d(t,{FN:function(){return s},MD:function(){return a},WO:function(){return c},dQ:function(){return u},g4:function(){return l}}),n(29305),n(32733),n(84701),n(81678),n(44962),n(4754),n(94),n(36947),n(78557),n(73687),n(83994),n(82367);var r=n(60222);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,n){return(t=function(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+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a="socket",u=1e3,c=1.5,s=3e5,l=i(i(i({},r.D.Sessions,{messageType:r.D.Sessions,createStartMessage:function(e){return{MessageType:"SessionsStart",Data:e.toString()}},createStopMessage:function(){return{MessageType:"SessionsStop"}}}),r.D.ActivityLogEntry,{messageType:r.D.ActivityLogEntry,createStartMessage:function(e){return{MessageType:"ActivityLogEntryStart",Data:e.toString()}},createStopMessage:function(){return{MessageType:"ActivityLogEntryStop"}}}),r.D.ScheduledTasksInfo,{messageType:r.D.ScheduledTasksInfo,createStartMessage:function(e){return{MessageType:"ScheduledTasksInfoStart",Data:e.toString()}},createStopMessage:function(){return{MessageType:"ScheduledTasksInfoStop"}}})},4935:function(e,t,n){n.d(t,{De:function(){return r.D},pu:function(){return o.p}}),n(23770);var r=n(60222),o=n(35633)},35633:function(e,t,n){function r(e){return r="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},r(e)}function o(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,i(r.key),r)}}function i(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}n.d(t,{p:function(){return a}}),n(29305),n(32733),n(84701),n(81678),n(24776),n(44962),n(4754),n(94),n(36947),n(78557),n(83994),n(82367);var a=function(){return e=function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.initialDelay=t,this.interval=n},(t=[{key:"toString",value:function(){return"".concat(this.initialDelay,",").concat(this.interval)}}])&&o(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()},60222:function(e,t,n){n.d(t,{D:function(){return r}});var r={ActivityLogEntry:"ActivityLogEntry",ForceKeepAlive:"ForceKeepAlive",GeneralCommand:"GeneralCommand",KeepAlive:"KeepAlive",LibraryChanged:"LibraryChanged",PackageInstallationCancelled:"PackageInstallationCancelled",PackageInstallationCompleted:"PackageInstallationCompleted",PackageInstallationFailed:"PackageInstallationFailed",PackageInstalling:"PackageInstalling",PackageUninstalled:"PackageUninstalled",Play:"Play",Playstate:"Playstate",RefreshProgress:"RefreshProgress",RestartRequired:"RestartRequired",ScheduledTaskEnded:"ScheduledTaskEnded",ScheduledTasksInfo:"ScheduledTasksInfo",SeriesTimerCancelled:"SeriesTimerCancelled",SeriesTimerCreated:"SeriesTimerCreated",ServerRestarting:"ServerRestarting",ServerShuttingDown:"ServerShuttingDown",Sessions:"Sessions",SyncPlayCommand:"SyncPlayCommand",SyncPlayGroupUpdate:"SyncPlayGroupUpdate",TimerCancelled:"TimerCancelled",TimerCreated:"TimerCreated",UserDataChanged:"UserDataChanged",UserDeleted:"UserDeleted",UserUpdated:"UserUpdated"}},23770:function(e,t,n){n.d(t,{V:function(){return d}}),n(29305),n(32733),n(84701),n(81678),n(69892),n(84734),n(44962),n(89336),n(74576),n(4754),n(58551),n(94),n(36947),n(83810),n(78557),n(95021),n(73687),n(83994),n(23630),n(82367);var r=n(49805),o=n(10058),i=n(35633),a=n(60222);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 c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
2if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function s(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,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"!=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+""}var d=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.subscriptions=new Map,this.reconnectionAttempts=0,this.autoReconnectDisabled=!1,this.statusListeners=[],this.currentStatus="disconnected",t&&(this.url=(0,r.Rn)(t))},(t=[{key:"initSocket",value:function(){var e=this;this.url&&(this.socket=new WebSocket(this.url.toString()),this.socket.addEventListener("open",(function(){var t,n;e.reconnectionAttempts=0,e.setStatus(WebSocket.OPEN);var r,a=c(e.subscriptions.keys());try{for(a.s();!(r=a.n()).done;){var u=r.value,s=o.g4[u];s&&e.sendMessage(s.createStartMessage(null!==(n=null===(t=e.subscriptionIntervals)||void 0===t?void 0:t[u])&&void 0!==n?n:new i.p(0,1e3)))}}catch(e){a.e(e)}finally{a.f()}})),this.socket.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.MessageType;if(r===a.D.ForceKeepAlive&&n.Data)e.clearKeepAlive(),e.sendKeepAlive(),e.keepAlive=setInterval((function(){return e.sendKeepAlive()}),1e3*n.Data/2);else{var o=e.subscriptions.get(r);null==o||o.forEach((function(e){return e(n)}))}})),this.socket.addEventListener("close",(function(){if(e.setStatus("disconnected"),e.subscriptions.size>0&&!e.autoReconnectDisabled){e.reconnectionAttempts++;var t=e.calculateBackoffDelay();e.reconnectionTimeout=setTimeout((function(){return e.initSocket()}),t)}else e.socket=void 0;e.clearKeepAlive()})))}},{key:"calculateBackoffDelay",value:function(){var e=o.dQ*Math.pow(o.WO,this.reconnectionAttempts-1);return Math.min(e,o.FN)}},{key:"sendKeepAlive",value:function(){this.sendMessage({MessageType:a.D.KeepAlive})}},{key:"clearKeepAlive",value:function(){this.keepAlive&&(clearInterval(this.keepAlive),this.keepAlive=void 0)}},{key:"sendMessage",value:function(e){var t;(null===(t=this.socket)||void 0===t?void 0:t.readyState)===WebSocket.OPEN&&this.socket.send(JSON.stringify(e))}},{key:"setStatus",value:function(e){this.currentStatus!==e&&(this.currentStatus=e,this.statusListeners.forEach((function(t){return t(e)})))}},{key:"socketStatus",get:function(){return this.currentStatus}},{key:"disconnect",value:function(){var e;this.autoReconnectDisabled=!0,null===(e=this.socket)||void 0===e||e.close(),this.setStatus("disconnected"),this.socket=void 0,this.reconnectionAttempts=0,this.reconnectionTimeout&&(clearTimeout(this.reconnectionTimeout),this.reconnectionTimeout=void 0),this.clearKeepAlive()}},{key:"updateUrl",value:function(e){var t;this.autoReconnectDisabled=!0,null===(t=this.socket)||void 0===t||t.close(),this.socket=void 0,this.reconnectionTimeout&&(clearTimeout(this.reconnectionTimeout),this.reconnectionTimeout=void 0),this.url=(0,r.Rn)(e),this.autoReconnectDisabled=!1,this.subscriptions.size>0&&this.initSocket()}},{key:"onStatusChange",value:function(e){var t=this;return this.statusListeners.push(e),function(){var n=t.statusListeners.indexOf(e);-1!==n&&t.statusListeners.splice(n,1)}}},{key:"subscribe",value:function(e,t,n){var r,a,u=this,s=!(!this.url||this.socket&&this.socket.readyState!==WebSocket.CLOSED);for(var l in n)this.subscriptionIntervals?this.subscriptionIntervals[l]=n[l]:this.subscriptionIntervals=n;s&&this.initSocket();var f,d=c(e);try{for(d.s();!(f=d.n()).done;){var p=f.value,v=!this.subscriptions.has(p);if(v&&this.subscriptions.set(p,[]),this.subscriptions.get(p).push(t),v&&(null===(r=this.socket)||void 0===r?void 0:r.readyState)===WebSocket.OPEN){var h=o.g4[p];h&&this.sendMessage(h.createStartMessage(null!==(a=null==n?void 0:n[p])&&void 0!==a?a:new i.p(0,1e3)))}}}catch(e){d.e(e)}finally{d.f()}return function(){var n,r,i=c(e);try{for(i.s();!(r=i.n()).done;){var a=r.value,s=u.subscriptions.get(a);if(s){var l=s.indexOf(t);if(-1!==l&&s.splice(l,1),0===s.length){u.subscriptions.delete(a);var f=o.g4[a];f&&u.sendMessage(f.createStopMessage())}}}}catch(e){i.e(e)}finally{i.f()}0===u.subscriptions.size&&(null===(n=u.socket)||void 0===n||n.close(),u.setStatus("disconnected"),u.reconnectionAttempts=0,u.reconnectionTimeout&&(clearTimeout(u.reconnectionTimeout),u.reconnectionTimeout=void 0))}}}])&&l(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.