ulvis.paste.net - pastebin

Paste Search Dynamic
Recent pastes
vendor.abe.js
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+3YS":function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},"+D+d":function(e,t,n){"use strict";n.r(t);var r="Invariant failed";t.default=function(e,t){if(!e)throw new Error(r)}},"+IV6":function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},"+J7U":function(e,t,n){var r,i,o=n("We69"),a=n("4feL"),s=0,u=0;e.exports=function(e,t,n){var c=t&&n||0,l=t||[],f=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:i;if(null==f||null==p){var h=o();null==f&&(f=r=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==p&&(p=i=16383&(h[6]<<8|h[7]))}var d=void 0!==e.msecs?e.msecs:(new Date).getTime(),_=void 0!==e.nsecs?e.nsecs:u+1,y=d-s+(_-u)/1e4;if(y<0&&void 0===e.clockseq&&(p=p+1&16383),(y<0||d>s)&&void 0===e.nsecs&&(_=0),_>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=d,u=_,i=p;var v=(1e4*(268435455&(d+=122192928e5))+_)%4294967296;l[c++]=v>>>24&255,l[c++]=v>>>16&255,l[c++]=v>>>8&255,l[c++]=255&v;var m=d/4294967296*1e4&268435455;l[c++]=m>>>8&255,l[c++]=255&m,l[c++]=m>>>24&15|16,l[c++]=m>>>16&255,l[c++]=p>>>8|128,l[c++]=255&p;for(var g=0;g<6;++g)l[c+g]=f[g];return t||a(l)}},"+LOn":function(e,t,n){"use strict";e.exports={close:4e3,TIMEOUT:4001}},"+Ltg":function(e,t,n){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},"+aio":function(e,t,n){t.hot=function(e){return e}},"+bRE":function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},"+kNY":function(e,t,n){"use strict";function r(e,t){Error.call(this,e),this.code=e,this.message=t,this.debug={}}r.prototype=new Error,r.prototype.constructor=r,r.prototype.name="LoggingError",e.exports=r},"+t3Y":function(e,t,n){"use strict";e.exports=a;var r=n("A/eZ"),i=n("nrnY");function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush(function(t,n){u(e,t,n)}):u(this,null,null)}function u(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=n("wfEq"),i.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,function(e){t(e),n.emit("close")})}},"/AUQ":function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n("Oo57"),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},"/PW7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("3STj"),i=n("XR8V"),o=function(){function e(e){this.manifestTemplate=e,i.shaka.media.ManifestParser.registerParserByExtension("json",r.SPManifestParser),i.shaka.media.ManifestParser.registerParserByMime("application/json",r.SPManifestParser),i.shaka.text.TextEngine.registerParser("text/vtt",r.VttTextParser),i.shaka.text.TextEngine.registerParser('text/vtt; codecs="vtt"',r.VttTextParser)}return e.prototype.createAssetUri=function(e){var t=e.replace(r.SP_VIDEO_TYPE,"");return this.manifestUrlForSourceID(this.manifestTemplate,t)},e.prototype.isPlayable=function(e){return e.startsWith(r.SP_VIDEO_TYPE)},e.prototype.manifestUrlForSourceID=function(e,t){return e.replace(/\{type\}/i,"json").replace(/\{source_id\}/i,encodeURIComponent(t))},e}();t.default=o},"/m4v":function(e,t,n){"use strict";n.r(t);var r=n("mXGw"),i=n.n(r),o=n("W0B4"),a=n.n(o),s=i.a.createContext(null),u=function(e){e()},c=null,l={notify:function(){}},f=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=l,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){var e,t,n;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=(e=u,t=[],n=[],{clear:function(){n=c,t=c},notify:function(){var r=t=n;e(function(){for(var e=0;e<r.length;e++)r[e]()})},get:function(){return n},subscribe:function(e){var r=!0;return n===t&&(n=t.slice()),n.push(e),function(){r&&t!==c&&(r=!1,n===t&&(n=t.slice()),n.splice(n.indexOf(e),1))}}}))},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=l)},e}();function p(e){var t=e.store,n=e.context,o=e.children,a=Object(r.useMemo)(function(){var e=new f(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}},[t]),u=Object(r.useMemo)(function(){return t.getState()},[t]);Object(r.useEffect)(function(){var e=a.subscription;return e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}},[a,u]);var c=n||s;return i.a.createElement(c.Provider,{value:a},o)}p.propTypes={store:a.a.shape({subscribe:a.a.func.isRequired,dispatch:a.a.func.isRequired,getState:a.a.func.isRequired}),context:a.a.object,children:a.a.any};var h=p;function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function _(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var y=n("GeWT"),v=n.n(y),m=n("+Ltg"),g=n.n(m),E=n("xVO4"),b=[],T=[null,null];function S(e,t){var n=e[1];return[t.payload,n+1]}var R=function(){return[null,0]},w="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;function O(e,t){void 0===t&&(t={});var n=t,o=n.getDisplayName,a=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,u=n.methodName,c=void 0===u?"connectAdvanced":u,l=n.renderCountProp,p=void 0===l?void 0:l,h=n.shouldHandleStateChanges,y=void 0===h||h,m=n.storeKey,O=void 0===m?"store":m,A=n.withRef,I=void 0!==A&&A,N=n.forwardRef,C=void 0!==N&&N,P=n.context,L=void 0===P?s:P,k=_(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);g()(void 0===p,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),g()(!I,"withRef is removed. To access the wrapped instance, use a ref on the connected component"),g()("store"===O,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect");var D=L;return function(t){var n=t.displayName||t.name||"Component",o=a(n),s=d({},k,{getDisplayName:a,methodName:c,renderCountProp:p,shouldHandleStateChanges:y,storeKey:O,displayName:o,wrappedComponentName:n,WrappedComponent:t}),u=k.pure,l=u?r.useMemo:function(e){return e()};function h(n){var a=Object(r.useMemo)(function(){var e=n.forwardedRef,t=_(n,["forwardedRef"]);return[n.context,e,t]},[n]),u=a[0],c=a[1],p=a[2],h=Object(r.useMemo)(function(){return u&&u.Consumer&&Object(E.isContextConsumer)(i.a.createElement(u.Consumer,null))?u:D},[u,D]),v=Object(r.useContext)(h),m=Boolean(n.store),O=Boolean(v)&&Boolean(v.store);g()(m||O,'Could not find "store" in the context of "'+o+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+o+" in connect options.");var A=n.store||v.store,I=Object(r.useMemo)(function(){return e(A.dispatch,s)},[A]),N=Object(r.useMemo)(function(){if(!y)return T;var e=new f(A,m?null:v.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]},[A,m,v]),C=N[0],P=N[1],L=Object(r.useMemo)(function(){return m?v:d({},v,{subscription:C})},[m,v,C]),k=Object(r.useReducer)(S,b,R),x=k[0][0],M=k[1];if(x&&x.error)throw x.error;var U=Object(r.useRef)(),F=Object(r.useRef)(p),j=Object(r.useRef)(),B=Object(r.useRef)(!1),V=l(function(){return j.current&&p===F.current?j.current:I(A.getState(),p)},[A,x,p]);w(function(){F.current=p,U.current=V,B.current=!1,j.current&&(j.current=null,P())}),w(function(){if(y){var e=!1,t=null,n=function(){if(!e){var n,r,i=A.getState();try{n=I(i,F.current)}catch(e){r=e,t=e}r||(t=null),n===U.current?B.current||P():(U.current=n,j.current=n,B.current=!0,M({type:"STORE_UPDATED",payload:{latestStoreState:i,error:r}}))}};return C.onStateChange=n,C.trySubscribe(),n(),function(){if(e=!0,C.tryUnsubscribe(),C.onStateChange=null,t)throw t}}},[A,C,I]);var G=Object(r.useMemo)(function(){return i.a.createElement(t,d({},V,{ref:c}))},[c,t,V]);return Object(r.useMemo)(function(){return y?i.a.createElement(h.Provider,{value:L},G):G},[h,G,L])}var m=u?i.a.memo(h):h;if(m.WrappedComponent=t,m.displayName=o,C){var A=i.a.forwardRef(function(e,t){return i.a.createElement(m,d({},e,{forwardedRef:t}))});return A.displayName=o,A.WrappedComponent=t,v()(A,t)}return v()(m,t)}}var A=Object.prototype.hasOwnProperty;function I(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function N(e,t){if(I(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!A.call(t,n[i])||!I(e[n[i]],t[n[i]]))return!1;return!0}var C=n("cnbf");function P(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function L(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function k(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=L(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=L(i),i=r(t,n)),i},r}}function D(e,t,n){return d({},n,{},e,{},t)}function x(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function M(e,t){return e===t}var U,F,j,B,V,G,W,H,K,q,Y,z=(F=(U={}).connectHOC,j=void 0===F?O:F,V=void 0===(B=U.mapStateToPropsFactories)?[function(e){return"function"==typeof e?k(e):void 0},function(e){return e?void 0:P(function(){return{}})}]:B,W=void 0===(G=U.mapDispatchToPropsFactories)?[function(e){return"function"==typeof e?k(e):void 0},function(e){return e?void 0:P(function(e){return{dispatch:e}})},function(e){return e&&"object"==typeof e?P(function(t){return Object(C.bindActionCreators)(e,t)}):void 0}]:G,K=void 0===(H=U.mergePropsFactories)?[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return D}}]:H,Y=void 0===(q=U.selectorFactory)?function(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=_(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?function(e,t,n,r,i){var o,a,s,u,c,l=i.areStatesEqual,f=i.areOwnPropsEqual,p=i.areStatePropsEqual,h=!1;function d(i,h){var d,_,y=!f(h,a),v=!l(i,o);return o=i,a=h,y&&v?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):y?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):v?(d=e(o,a),_=!p(d,s),s=d,_&&(c=n(s,u,a)),c):c}return function(i,l){return h?d(i,l):(s=e(o=i,a=l),u=t(r,a),c=n(s,u,a),h=!0,c)}}:function(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}})(a,s,u,e,o)}:q,function(e,t,n,r){void 0===r&&(r={});var i=r,o=i.pure,a=void 0===o||o,s=i.areStatesEqual,u=void 0===s?M:s,c=i.areOwnPropsEqual,l=void 0===c?N:c,f=i.areStatePropsEqual,p=void 0===f?N:f,h=i.areMergedPropsEqual,y=void 0===h?N:h,v=_(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),m=x(e,V,"mapStateToProps"),g=x(t,W,"mapDispatchToProps"),E=x(n,K,"mergeProps");return j(Y,d({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:m,initMapDispatchToProps:g,initMergeProps:E,pure:a,areStatesEqual:u,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:y},v))});function X(){var e=Object(r.useContext)(s);return g()(e,"could not find react-redux context value; please ensure the component is wrapped in a <Provider>"),e}function Q(e){void 0===e&&(e=s);var t=e===s?X:function(){return Object(r.useContext)(e)};return function(){return t().store}}var J=Q();function $(e){void 0===e&&(e=s);var t=e===s?J:Q(e);return function(){return t().dispatch}}var Z=$(),ee="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,te=function(e,t){return e===t};function ne(e){void 0===e&&(e=s);var t=e===s?X:function(){return Object(r.useContext)(e)};return function(e,n){void 0===n&&(n=te),g()(e,"You must pass a selector to useSelectors");var i=t();return function(e,t,n,i){var o,a=Object(r.useReducer)(function(e){return e+1},0)[1],s=Object(r.useMemo)(function(){return new f(n,i)},[n,i]),u=Object(r.useRef)(),c=Object(r.useRef)(),l=Object(r.useRef)();try{o=e!==c.current||u.current?e(n.getState()):l.current}catch(e){var p="An error occured while selecting the store state: "+e.message+".";throw u.current&&(p+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\nOriginal stack trace:"),new Error(p)}return ee(function(){c.current=e,l.current=o,u.current=void 0}),ee(function(){function e(){try{var e=c.current(n.getState());if(t(e,l.current))return;l.current=e}catch(e){u.current=e}a({})}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}},[n,s]),o}(e,n,i.store,i.subscription)}}var re,ie=ne(),oe=n("xARA");n.d(t,"Provider",function(){return h}),n.d(t,"connectAdvanced",function(){return O}),n.d(t,"ReactReduxContext",function(){return s}),n.d(t,"connect",function(){return z}),n.d(t,"batch",function(){return oe.unstable_batchedUpdates}),n.d(t,"useDispatch",function(){return Z}),n.d(t,"createDispatchHook",function(){return $}),n.d(t,"useSelector",function(){return ie}),n.d(t,"createSelectorHook",function(){return ne}),n.d(t,"useStore",function(){return J}),n.d(t,"createStoreHook",function(){return Q}),n.d(t,"shallowEqual",function(){return N}),re=oe.unstable_batchedUpdates,u=re},"/ub/":function(e,t,n){"use strict";var r=function(){var e,t=[];for(e=0;e<256;++e)t[e]=255;for(e=0;e<this.BASE64_DIGITS.length;++e)t[this.BASE64_DIGITS.charCodeAt(e)]=e;this._inverseData=String.fromCharCode.apply(String,t)};r.prototype.BASE64_DIGITS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r.prototype.STRING_CHUNK_SIZE=4096,r.prototype._stringFromCharCode=function(e){if(e.length<this.STRING_CHUNK_SIZE)return String.fromCharCode.apply(String,e);var t=0,n=[];do{n.push(String.fromCharCode.apply(String,e.slice(t,t+this.STRING_CHUNK_SIZE))),t+=this.STRING_CHUNK_SIZE}while(t<e.length);return n.join("")},r.prototype.encode=function(e){if("string"!=typeof e)return"";if("undefined"!=typeof window&&void 0!==window.btoa)return window.btoa(e);var t,n,r,i,o,a;for(r=e.length,n=0,t="";n<r;){if(i=255&e.charCodeAt(n++),n===r){t+=this.BASE64_DIGITS.charAt(i>>2),t+=this.BASE64_DIGITS.charAt((3&i)<<4),t+="==";break}if(o=e.charCodeAt(n++),n===r){t+=this.BASE64_DIGITS.charAt(i>>2),t+=this.BASE64_DIGITS.charAt((3&i)<<4|(240&o)>>4),t+=this.BASE64_DIGITS.charAt((15&o)<<2),t+="=";break}a=e.charCodeAt(n++),t+=this.BASE64_DIGITS.charAt(i>>2),t+=this.BASE64_DIGITS.charAt((3&i)<<4|(240&o)>>4),t+=this.BASE64_DIGITS.charAt((15&o)<<2|(192&a)>>6),t+=this.BASE64_DIGITS.charAt(63&a)}return t},r.prototype.decode=function(e){if("undefined"!=typeof window&&void 0!==window.atob)return window.atob(e);for(var t,n,r=[],i=e.length,o=0;;){do{t=this._inverseData.charCodeAt(255&e.charCodeAt(o++))}while(255===t&&o<i);do{n=this._inverseData.charCodeAt(255&e.charCodeAt(o++))}while(255===n&&o<i);if(255===n)break;r.push(255&(t<<2|n>>4));do{t=this._inverseData.charCodeAt(255&e.charCodeAt(o++))}while(255===t&&o<i);if(255===t)break;r.push(255&(n<<4|t>>2));do{n=this._inverseData.charCodeAt(255&e.charCodeAt(o++))}while(255===n&&o<i);if(255===n)break;r.push(255&(t<<6|n))}return this._stringFromCharCode(r)};var i=new r;e.exports={encode:i.encode.bind(i),decode:i.decode.bind(i)}},"/wj6":function(e,t,n){"use strict";var r=n("PQZM"),i=n("qG8n"),o=n("mOoB"),a=n("mmnt"),s=n("Q0s3"),u=n("8Pwi"),c=n("zCec");function l(e){i.call(this),this._descriptor=e.descriptor,this._client=e.client,this._listPlayer=e.listPlayer,this._tpApiClient=e.tpApiClient,this._playerPromise=e.playerPromise,this._initialVolume=e.initialVolume,this._playbackStateObserver=null,this._init()}r(l,i),l.prototype._init=function(){this._client.on(s.CLIENT_BEFORE_DISCONNECT,this._onClientBeforeDisconnect.bind(this)),this._client.on(s.CLIENT_BEFORE_OFFLINE_DISCONNECT,this._onClientBeforeOfflineDisconnect.bind(this));var e=this._listPlayer;e.on(u.LIST_PLAYER_BEFORE_VOLUME_CHANGE,this._onBeforeVolumeChange.bind(this)),e.on(u.LIST_PLAYER_CAPPED,this._onCapped.bind(this)),e.on(u.LIST_PLAYER_TRACK_ENDED,this._onTrackEnded.bind(this)),e.on(u.LIST_PLAYER_ERROR,this._onError.bind(this,a.PLAYBACK)),this.proxyEmit(e,u.LIST_PLAYER_AUTOPLAY_FAILED,s.STREAMER_AUTOPLAY_FAILED),this.proxyEmit(e,u.LIST_PLAYER_TRACK_LOADED,s.STREAMER_TRACK_LOADED),this.proxyEmit(e,u.LIST_PLAYER_DURATION_CHANGED,s.STREAMER_DURATION_CHANGED),this.proxyEmit(e,u.LIST_PLAYER_LOAD_VIDEO,s.STREAMER_LOAD_VIDEO),this.proxyEmit(e,u.LIST_PLAYER_STOPPED_VIDEO,s.STREAMER_STOPPED_VIDEO),this.proxyEmit(e,u.LIST_PLAYER_POSITION_CHANGED,s.STREAMER_POSITION_CHANGED),this.proxyEmit(e,u.LIST_PLAYER_PROGRESS,s.STREAMER_PROGRESS),this.proxyEmit(e,u.LIST_PLAYER_BUFFERING_END,s.STREAMER_BUFFERING_END),this.proxyEmit(e,u.LIST_PLAYER_BUFFERING_START,s.STREAMER_BUFFERING_START),this.proxyEmit(e,u.LIST_PLAYER_MAX_LIST_ERRORS_REACHED,s.STREAMER_MAX_LIST_ERRORS_REACHED),this.proxyEmit(e,u.LIST_PLAYER_VIDEO_ELEMENT_APPENDED,s.STREAMER_VIDEO_ELEMENT_APPENDED),this.proxyEmit(e,u.LIST_PLAYER_VIDEO_ELEMENT_REMOVED,s.STREAMER_VIDEO_ELEMENT_REMOVED),this.proxyEmit(e,u.LIST_PLAYER_LIST_ENDED,s.STREAMER_CONTEXT_ENDED);var t=this._tpApiClient;t.on(s.TP_API_LOGOUT,this._onTPAPILogout.bind(this)),t.on(s.TP_API_ERROR,this._onError.bind(this,a.TRACK_PLAYBACK)),this.proxyEmit(t,s.TP_API_MAX_SUBSCRIPTIONS_REACHED,s.STREAMER_MAX_SUBSCRIPTIONS_REACHED),this.proxyEmit(t,s.TP_API_DEREGISTERED,s.STREAMER_DEREGISTERED),this.proxyEmit(t,s.TP_API_REGISTERED,s.STREAMER_REGISTERED),this.proxyEmit(t,s.TP_API_REGISTRATION_ABORTED,s.STREAMER_REGISTRATION_ABORTED),this._playbackStateObserver=new o(this._tpApiClient,{manifestFormats:this._descriptor.then(function(e){return e.getManifestFormats()})}),this.proxyEmit(this._playbackStateObserver,s.PLAYBACK_STATE_OBSERVER_STATE_CHANGED,s.STREAMER_STATE_CHANGED),this._playerPromise.then(function(e){e.setVolume(this._initialVolume),this.emit(s.STREAMER_PLAYER_INITIALIZATION_DONE)}.bind(this),function(e){this.emit(s.STREAMER_PLAYER_INITIALIZATION_FAILED,{reason:e.message,error:e})}.bind(this))},l.prototype._assertOperationSuccess=function(e){return e===c.SUCCESS},l.prototype._onTrackEnded=function(){this.emit(s.STREAMER_TRACK_ENDED)},l.prototype._onClientBeforeDisconnect=function(e){e&&e.awaitPromise(this.deregister().catch(function(){}))},l.prototype._onClientBeforeOfflineDisconnect=function(e){e&&e.awaitPromise(this.pause().catch(function(){}))},l.prototype._onBeforeVolumeChange=function(e){this.emitSync(s.STREAMER_BEFORE_VOLUME_CHANGE,{volume:e.volume}).defaultPrevented&&e.preventDefault()},l.prototype._onCapped=function(){this.emit(s.STREAMER_PLAYBACK_CAPPED)},l.prototype._onError=function(e,t){var n=t.error;n&&n.registration&&e===a.TRACK_PLAYBACK&&this.emit(s.STREAMER_REGISTRATION_ERROR,{error:n}),this.emit(s.STREAMER_ERROR,{source:e,name:t.name,error:n}),this._client.notifyError(e,t.name,t.error)},l.prototype._onTPAPILogout=function(){this._client.disconnect(),this.emit(s.STREAMER_LOGGED_OUT)},l.prototype.register=function(){return this._tpApiClient.register()},l.prototype.deregister=function(){return this._tpApiClient.deregister()},l.prototype.resume=function(){return this._listPlayer.resume().then(this._assertOperationSuccess)},l.prototype.pause=function(){return this._listPlayer.pause().then(this._assertOperationSuccess)},l.prototype.nextTrack=function(e){return this._listPlayer.next(e||"nextbtn").then(this._assertOperationSuccess)},l.prototype.canChangeTrack=function(){return this._listPlayer.canChangeTrack()},l.prototype.previousTrack=function(e){return this._listPlayer.previous(e||"prevbtn").then(this._assertOperationSuccess)},l.prototype.togglePlay=function(){return this._listPlayer.togglePlay().then(this._assertOperationSuccess)},l.prototype.setVolume=function(e){return this._listPlayer.setVolume(e).then(this._assertOperationSuccess)},l.prototype.getVolume=function(){return this._listPlayer.getVolume()},l.prototype.seek=function(e){return this._listPlayer.seek(e).then(this._assertOperationSuccess)},l.prototype.getCurrentState=function(){return this._playbackStateObserver.getCurrentState()},l.prototype.getVideoProfiles=function(){return this._playerPromise.then(function(e){return e.getVideoProfiles()})},l.prototype.setPreferredBitrate=function(e){return this._playerPromise.then(function(t){return t.setPreferredBitrate(e).then(this._assertOperationSuccess)}.bind(this))},e.exports=l},"06Hw":function(e,t,n){e.exports=n("/AUQ")},"06ib":function(e,t,n){"use strict";e.exports={close:4e3,TIMEOUT:4001}},"0Msv":function(e,t,n){"use strict";var r=n("KPDA"),i=RegExp.prototype.exec,o=Object.getOwnPropertyDescriptor,a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s)return"[object RegExp]"===a.call(e);var t=o(e,"lastIndex");return!(!t||!r(t,"value"))&&function(e){try{var t=e.lastIndex;return e.lastIndex=0,i.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}}(e)}},"0TdX":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=s,t.setElement=function(e){var t=e;if("string"==typeof t&&o.canUseDOM){var n=document.querySelectorAll(t);s(n,t),t="length"in n?n[0]:n}return a=t||a},t.validateElement=u,t.hide=function(e){u(e)&&(e||a).setAttribute("aria-hidden","true")},t.show=function(e){u(e)&&(e||a).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){a=null},t.resetForTesting=function(){a=null};var r,i=(r=n("FIWN"))&&r.__esModule?r:{default:r},o=n("s4Wf"),a=null;function s(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function u(e){return!(!e&&!a&&((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),1))}},"19LU":function(e,t,n){"use strict";(function(t){var r=n("asuC"),i=n("Lc1h"),o=n("79Um"),a=n("1Wwy"),s={POST:!0,PUT:!0,delete:!0},u={json:!0,text:!0,arraybuffer:!0,blob:!0};function c(){return"function"==typeof t.fetch}e.exports={request:function(e,n){if(!c())return r.reject(new TypeError("Fetch is not supported"));var l=n||{};if(!e)return r.reject(new TypeError("Request URL cannot be blank."));var f=e,p=null,h=l.payload,d=(l.method||"GET").toUpperCase();d in s&&h?p=h:h&&(f+="?"+h);var _=l.responseType||"text";if(_&&!(_ in u))return r.reject(new TypeError("Cannot set responseType: not supported in browser."));var y=l.ignoreResponseBody,v={mode:l.mode||"cors",credentials:l.credentials||"same-origin",redirect:l.redirect||"follow",method:d};l.headers&&(v.headers=l.headers),p&&(v.body=p);var m=Date.now();return t.fetch(f,v).then(function(e){var t;t=y||e.status===a.NO_CONTENT?null:"json"===_?e.json().catch(function(){return null}):"arraybuffer"===_?e.arrayBuffer():"blob"===_?e.blob():e.text();var n=l.parseResponseHeaders||e.status>299?new o(e.headers):null;return r.all([e.url,e.status,n,t])}).then(function(e){var t=e[0],n=e[1],r=e[2],o=e[3],a=l.timing?Date.now()-m:null,s=new i(t,n);return s.body=o,s.headers=r,s.timing=l.timing?{completed:a}:null,s}).catch(function(){var e=l.timing?Date.now()-m:null,t=new i(f);return t.timing=l.timing?{completed:e}:null,t}).then(function(e){return l.connectionObserver&&(e.offline=!l.connectionObserver.isOnline()),e})},isSupported:c}}).call(this,n("pCvA"))},"19zf":function(e,t,n){"use strict";e.exports={EMPTY:"EMPTY",SW_CRYPTO:"SW_CRYPTO",SW_DECODE:"SW_DECODE",HW_CRYPTO:"HW_CRYPTO",HW_DECODE:"HW_DECODE",HW_ALL:"HW_ALL"}},"1ANC":function(e,t,n){"use strict";var r=n("asuC"),i=n("7tRA"),o="dealer",a="spclient";e.exports=function(e){var t=e||{},n={dealer:o,webgate:a};t.dealer&&(n.dealer=t.dealer),t.webgate&&(n.webgate=t.webgate);var s=["?","type=",n.dealer,"&","type=",n.webgate].join("");return function(e){return(e||i).request("https://apresolve.spotify.com/"+s,{forcePolyfill:!0,responseType:"json",retry:{maxRetries:5,condition:function(e,t){return e.getStatusFamily()!==t.SUCCESS}}}).then(function(e){if(200!==e.status)return r.reject(new Error("X-Resolve responded with status"+e.status));var t=e.body;if(!t)return r.reject(new Error("X-Resolve responded with empty/invalid body."));var i={dealer:t[n.dealer]&&t[n.dealer][0],webgate:t[n.webgate]&&t[n.webgate][0],webapi:"https://api.spotify.com/"};return i.dealer&&i.webgate?i:r.reject(new Error("X-Resolve responded with incomplete results."))}).then(function(e){return e.dealer="wss://"+e.dealer.replace(/:443$/,""),e.webgate="https://"+e.webgate.replace(/:443$/,""),e})}}},"1VzI":function(e,t,n){"use strict";var r=n("ySKi"),i=n("7xuQ"),o=n("qt0y"),a=n("Od41"),s=n("cmty");function u(){this._bitrates={},this._isFinalized=!1,this._needsEndSegment=!1,this._segments=[],this._cdnURLTracker=new a,this.audiocodec=null,this.bitrate=16e4,this.bufferingPercentage=null,this.bufferLoadStartTime=0,this.urls={},this.currentTrackUri=i.EMPTY,this.displayTrack=i.EMPTY,this.externalLoadTime=0,this.fileId="",this.gaiaDevId="none",this.hadError=!1,this.internalPlayId="",this.isProtected=!1,this.keySystem="",this.keySystemImpl="",this.lastPlayStartTime=0,this.loadTime=0,this.localTimeMs=-1,this.maxContinuous=0,this.maxMsSeekRebuffering=0,this.maxMsStalled=0,this.memoryCached=!1,this.msActualDuration=0,this.msFileDuration=0,this.msHeadLatency=0,this.msInitLatency=0,this.msKeyLatency=0,this.msLicenseGenerationLatency=0,this.msLicenseRequestLatency=0,this.msLicenseSessionLatency=0,this.msLicenseUpdateLatency=0,this.msManifestLatency=0,this.msPlayed=0,this.msPlayedUnion=0,this.msPlayLatency=0,this.msResolveLatency=0,this.msSeekRebuffering=0,this.msSeeksBackward=0,this.msSeeksForward=0,this.nextPlaybackId="",this.nOffline=0,this.noLog=!1,this.noTSV=!1,this.noStats=!1,this.nWarnings=0,this.msStalled=0,this.nSeeksBackward=0,this.nSeeksForward=0,this.nStalls=0,this.persistentCached=!1,this.playbackId="",this.playContext=i.EMPTY,this.played=!1,this.position=0,this.reasonEnd=i.UNKNOWN,this.reasonStart=i.UNKNOWN,this.referrer=i.UNKNOWN,this.referrerVendor=i.UNKNOWN,this.referrerVersion=i.UNKNOWN,this.sourceEnd=i.UNKNOWN,this.sourceStart=i.UNKNOWN,this.startBitrate=null,this.startPosition=0,this.stopTime=0,this.streamingRule="none",this.timeWeightedBitrate=0,this.totalBytes=0,this.videocodec=null}u.create=function(){return new u},u.prototype._calculateUnion=function(){for(var e=this._segments.slice(0),t=0,n=0,r=0,i=0,o=0,a=0,s=this.maxContinuous;o<e.length;o++)o%2!=0&&void 0!==e[o-1]&&"start"===e[o-1].type&&(s=(a=e[o].time-e[o-1].time)>s?a:s);for(this.maxContinuous=s,e.sort(function(e,t){return e.time-t.time});i<e.length;i++)"start"===e[i].type&&(0===n&&(r=i),++n),"end"===e[i].type&&0==--n&&(t+=e[i].time-e[r].time);return t},u.prototype._calculateWeightedBitrate=function(e){var t=this._bitrates,n=0;for(var r in t)"dummy"!==r&&t.hasOwnProperty(r)&&e>0&&(n+=parseInt(r,10)*t[r]/e);return Math.round(n)},u.prototype.registerVideoVariant=function(e){var t=e.bitrate||"dummy";this._bitrates[t]=this._bitrates[t]||0,this.startBitrate||(this.startBitrate=t),e.audioProfile&&e.audioProfile.audio_codec&&(this.audiocodec=e.audioProfile.audio_codec),e.videoProfile&&e.videoProfile.video_codec&&(this.videocodec=e.videoProfile.video_codec)},u.prototype.addStartSegment=function(){this._segments.push({type:"start",time:this.position}),this._needsEndSegment=!0},u.prototype.addEndSegment=function(){this._needsEndSegment&&(this._segments.push({type:"end",time:this.position}),this._needsEndSegment=!1)},u.prototype.addMSPlayed=function(e){e&&(this.msPlayed+=e)},u.prototype.trackBitrate=function(e,t){var n=e||"dummy";this._bitrates[n]=this._bitrates[n]||0,this._bitrates[n]+=t},u.prototype.trackBufferURL=function(e,t){this._cdnURLTracker.track(e,t)},u.prototype.finalize=function(){if(this._isFinalized)throw new r(o.TRACK_DATA_ALREADY_FINALIZED,"TrackData already finalized.");return this.msPlayedUnion=this._calculateUnion(this.msPlayed),this.nSeeksBackward||this.nSeeksForward||(this.msPlayed=this.maxContinuous=this.msPlayedUnion),this.timeWeightedBitrate=this._calculateWeightedBitrate(this.msPlayed),this.bufferingPercentage=this.msStalled/this.msPlayed,this.urls=this._cdnURLTracker.toJSON(),this._isFinalized=!0,!0},u.prototype.getPlaybackStats=function(){var e;switch(this.keySystem){case s.WIDEVINE:e="widevine";break;case s.PLAYREADY:case s.PLAYREADY_HARDWARE:e="playready";break;default:e="none"}return{ms_total_est:this.msActualDuration,ms_manifest_latency:this.msManifestLatency,ms_latency:this.msPlayLatency,start_offset_ms:this.startPosition,ms_initial_buffering:this.msPlayLatency,ms_seek_rebuffering:this.msSeekRebuffering,ms_stalled:this.msStalled,max_ms_seek_rebuffering:this.maxMsSeekRebuffering,max_ms_stalled:this.maxMsStalled,n_stalls:this.nStalls,audiocodec:this.audiocodec?this.audiocodec.toLowerCase():void 0,videocodec:this.videocodec?this.videocodec.toLowerCase():void 0,start_bitrate:this.startBitrate||void 0,full_screen:void 0,time_weighted_bitrate:this.timeWeightedBitrate,buffering_percentage:void 0,prefetched_bytes:void 0,prefetched_bytes_loaded:void 0,prefetched_initial_bitrate:void 0,key_system:e,ms_key_latency:this.msKeyLatency,total_bytes:this.totalBytes,local_time_ms:this.localTimeMs,ms_played_background:void 0}},u.prototype.isFinalized=function(){return this._isFinalized},e.exports=u},"1Wbw":function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BetamaxPlayer",{enumerable:!0,get:function(){return i.BetamaxPlayer}}),Object.defineProperty(t,"BetamaxPlayerFactory",{enumerable:!0,get:function(){return i.BetamaxPlayerFactory}}),Object.defineProperty(t,"VideoPlaybackEvents",{enumerable:!0,get:function(){return o.VideoPlaybackEvents}}),Object.defineProperty(t,"BufferType",{enumerable:!0,get:function(){return o.BufferType}}),Object.defineProperty(t,"EndReason",{enumerable:!0,get:function(){return o.EndReason}}),Object.defineProperty(t,"Utils",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"VideoContextPlayerCoordinator",{enumerable:!0,get:function(){return s.VideoContextPlayerCoordinator}}),Object.defineProperty(t,"VideoContextPlayerCoordinatorFactory",{enumerable:!0,get:function(){return s.VideoContextPlayerCoordinatorFactory}}),Object.defineProperty(t,"SpotifyVideoMediaExtension",{enumerable:!0,get:function(){return u.SpotifyVideoMediaExtension}}),Object.defineProperty(t,"SpotifyVideoUrl",{enumerable:!0,get:function(){return u.SpotifyVideoUrl}}),t.default=void 0;var i=n("XR8V"),o=n("jT1e"),a=r(n("WnZh")),s=n("dSvp"),u=n("3STj"),c={RequestType:i.shaka.net.NetworkingEngine.RequestType,Error:i.shaka.util.Error,polyfill:i.shaka.polyfill};t.default=c},"1Wwy":function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({UNKNOWN:0,OK:200,CREATED:201,ACCEPTED:202,NO_CONTENT:204,PARTIAL_CONTENT:206,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,TIMED_OUT:408,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,REQUEST_ENTITY_TOO_LARGE:413,REQUEST_URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,REQUESTED_RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505})},"1fQG":function(e,t,n){"use strict";var r=/(edge)[\s\/:]([\w\d\.]+)/,i=new RegExp("(opera|ie|firefox|chrome|trident|crios|version)[\\s/:]([\\w\\d\\.]+)?.*?(safari|(?:rv[\\s\\/:]|version[\\s\\/:])([\\w\\d\\.]+)|$)"),o={};e.exports=function(e,t){var n=e.toLowerCase(),a=t?t.toLowerCase():"",s=n+":"+a;if(s in o)return o[s];var u=n.match(r);u||(u=n.match(i)||[null,"unknown",0]),"trident"===u[1]?(u[1]="ie",u[4]&&(u[2]=u[4])):"crios"===u[1]&&(u[1]="chrome"),"win"===(a=n.match(/ip(?:ad|od|hone)/)?"ios":(n.match(/(?:webos|android)/)||n.match(/mac|win|linux|cros/)||["other"])[0])&&(a="windows");var c={name:"version"===u[1]?u[3]:u[1],version:parseFloat("opera"===u[1]&&u[4]?u[4]:u[2]),platform:a||"unknown"};return o[s]=c,c}},"1hwd":function(e,t){e.exports=function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var i in r)n.call(r,i)&&(e[i]=r[i])}return e};var n=Object.prototype.hasOwnProperty},"1tZG":function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.TokenProvider=void 0,t.TokenProvider=r,(r||(t.TokenProvider=r={})).toPromiseProvider=function(e){if("function"!=typeof e)throw new TypeError("TokenProvider must be a function");return function(){return new Promise(function(t,n){var r=e(function(e,n){t("number"==typeof n?[e,n]:e)});r&&"function"==typeof r.then&&r.then(t,n)})}}},"24EC":function(e,t,n){"use strict";var r=Object,i=TypeError;e.exports=function(){if(null!=this&&this!==r(this))throw new i("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},"24bo":function(e,t,n){"use strict";var r=n("8/eb");e.exports=r({GET:"GET",POST:"POST",PUT:"PUT",delete:"DELETE",OPTIONS:"OPTIONS"})},"27+M":function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({BROWSER_ERROR:0,CONNECTION_ERROR:0,INFORMATIONAL:1,SUCCESS:2,REDIRECTION:3,CLIENT_ERROR:4,SERVER_ERROR:5})},"2ANZ":function(e,t,n){"use strict";e.exports=function(e){var t=e;return"true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG&&(t=n("RIcX")(e,{value:{type:"string",nullable:!0}})),{name:"context_user_agent",data:t}}},"2CfY":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=90)}({17:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var n=t.match(e);return n&&n.length>0&&n[1]||""},e.getSecondMatch=function(e,t){var n=t.match(e);return n&&n.length>1&&n[2]||""},e.matchAndReturnConst=function(e,t,n){if(e.test(t))return n},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,n,r){void 0===r&&(r=!1);var i=e.getVersionPrecision(t),o=e.getVersionPrecision(n),a=Math.max(i,o),s=0,u=e.map([t,n],function(t){var n=a-e.getVersionPrecision(t),r=t+new Array(n+1).join(".0");return e.map(r.split("."),function(e){return new Array(20-e.length).join("0")+e}).reverse()});for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===s)return 0;a-=1}else if(u[0][a]<u[1][a])return-1}},e.map=function(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n+=1)r.push(t(e[n]));return r},e.getBrowserAlias=function(e){return r.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return r.BROWSER_MAP[e]||""},e}();t.default=i,e.exports=t.default},18:function(e,t,n){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Epiphany:"epiphany",Firefox:"firefox",focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(91))&&r.__esModule?r:{default:r},o=n(18);var a=function(){function e(){}var t;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new i.default(e,t)},e.parse=function(e){return new i.default(e).getResult()},(t=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}])&&function(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.key,r)}}(e,t),e}();t.default=a,e.exports=t.default},91:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=u(n(92)),i=u(n(93)),o=u(n(94)),a=u(n(95)),s=u(n(17));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=r.default.find(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=i.default.find(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=o.default.find(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=a.default.find(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return Object.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,n={},r=0,i={},o=0;if(Object.keys(e).forEach(function(t){var a=e[t];"string"==typeof a?(i[t]=a,o+=1):"object"==typeof a&&(n[t]=a,r+=1)}),r>0){var a=Object.keys(n),s=a.find(function(e){return t.isOS(e)});if(s){var u=this.satisfies(n[s]);if(void 0!==u)return u}var c=a.find(function(e){return t.isPlatform(e)});if(c){var l=this.satisfies(n[c]);if(void 0!==l)return l}}if(o>0){var f=Object.keys(i).find(function(e){return t.isBrowser(e,!0)});if(void 0!==f)return this.compareVersion(i[f])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var n=this.getBrowserName().toLowerCase(),r=e.toLowerCase(),i=s.default.getBrowserTypeByAlias(r);return t&&i&&(r=i.toLowerCase()),r===n},t.compareVersion=function(e){var t=[0],n=e,r=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(n=e.substr(1),"="===e[1]?(r=!0,n=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?n=e.substr(1):"~"===e[0]&&(r=!0,n=e.substr(1)),t.indexOf(s.default.compareVersions(i,n,r))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e){return this.isBrowser(e)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some(function(e){return t.is(e)})},e}();t.default=c,e.exports=t.default},92:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},n=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},n=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},n=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},n=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},n=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},n=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},n=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},n=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},n=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},n=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},n=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},n=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},n=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},n=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},n=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},n=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},n=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},n=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},n=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},n=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},n=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},n=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},n=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t={name:"Android Browser"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},n=i.default.getFirstMatch(o,e);return n&&(t.version=n),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows/i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=i.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:n}}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=i.default.getMacOSVersionName(t),r={name:o.OS_MAP.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=i.default.getAndroidVersionName(t),r={name:o.OS_MAP.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:o.OS_MAP.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,i=(r=n(17))&&r.__esModule?r:{default:r},o=n(18),a=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},n=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},n=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:function(e){var t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},n=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},n=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];t.default=a,e.exports=t.default}})},"2Era":function(e,t,n){"use strict";function r(e){this._headers={},this._init(e)}r.prototype._init=function(e){if(e)for(var t=e.split("\r\n"),n=0;n<t.length;n++){var r=t[n],i=r.indexOf(": ");if(i>0){var o=r.substring(0,i).toLowerCase(),a=r.substring(i+2);this._headers[o]=a}}},r.prototype.get=function(e){return this._headers[e.toLowerCase()]||null},r.prototype.has=function(e){return this._headers.hasOwnProperty(e.toLowerCase())},e.exports=r},"2KG9":function(e,t,n){"use strict";var r=n("OmE2");e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},"2O7x":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MENU_HIDE=t.MENU_SHOW=void 0,t.dispatchGlobalEvent=u,t.showMenu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];u(a,(0,i.default)({},e,{type:a}),t)},t.hideMenu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];u(s,(0,i.default)({},e,{type:s}),t)};var r,i=(r=n("IL7q"))&&r.__esModule?r:{default:r},o=n("UK3a"),a=t.MENU_SHOW="REACT_CONTEXTMENU_SHOW",s=t.MENU_HIDE="REACT_CONTEXTMENU_HIDE";function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window,r=void 0;"function"==typeof window.CustomEvent?r=new window.CustomEvent(e,{detail:t}):(r=document.createEvent("CustomEvent")).initCustomEvent(e,!1,!0,t),n&&(n.dispatchEvent(r),(0,i.default)(o.store,t))}},"2tSK":function(e,t,n){var r=n("We69"),i=n("4feL");e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},"30TS":function(e,t,n){"use strict";e.exports=n("78+Y")()?Symbol:n("QORg")},"31DF":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=n("hBZP"),o=n("jT1e"),a=n("yWAF"),s=n("gMC6"),u=(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},l={playWhenReady:!0,initialPosition:0},f=function(e){function t(t,n){var r=e.call(this)||this;return r.handleEmitChange=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e===o.VideoPlaybackEvents.VOLUME_CHANGED&&t&&(r.playbackVolume=t[0].volume)},r.proxy=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return r.handleEmitChange.apply(r,[e].concat(t)),r.emit.apply(r,[e].concat(t))}},r.proxyEmit=function(e,t,n){e.on(t,r.proxy(n))},r.playerConfiguration=t,r.playbackVolume=1,r.playbackSessionFactory=n,r}return u(t,e),t.prototype.play=function(e){var t=this;return this.endPreviousPlaybackSession(e),this.createPlaybackSession(e.isRoyaltyMedia).playWithOptions(c({},e,{volume:this.playbackVolume}),l).then(function(){return t})},t.prototype.playWithOptions=function(e,t){var n=this;return this.endPreviousPlaybackSession(e),this.createPlaybackSession(e.isRoyaltyMedia).playWithOptions(c({},e,{volume:this.playbackVolume}),c({},l,t)).then(function(){return n})},t.prototype.resume=function(){return this.playbackSession&&this.playbackSession.resume(),this},t.prototype.pause=function(){return this.playbackSession&&this.playbackSession.pause(),this},t.prototype.seekTo=function(e){return this.playbackSession&&this.playbackSession.seekTo(e),this},t.prototype.setVolume=function(e){return this.playbackVolume=e,this.playbackSession&&this.playbackSession.setVolume(this.playbackVolume),this},t.prototype.setAudioDisabled=function(e){return this.playbackSession&&this.playbackSession.setAudioDisabled(e),this},t.prototype.setPreferredSubtitle=function(e){return this.playbackSession&&this.playbackSession.setPreferredSubtitle(e),this},t.prototype.stop=function(){this.playbackSession&&(this.playbackSession.stop(o.EndReason.REQUESTED),this.playbackSession.removeAllListeners(),this.playbackSession=null)},t.prototype.emitForPercentages=function(e){this.playbackSession&&this.playbackSession.emitForPercentages(e)},t.prototype.clearEmittedPercentages=function(){this.playbackSession&&this.playbackSession.clearEmittedPercentages()},t.prototype.getNode=function(){return this.playbackSession?this.playbackSession.getNode():null},Object.defineProperty(t.prototype,"muted",{get:function(){return this.playbackSession?this.playbackSession.muted:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){return this.playbackSession?this.playbackSession.volume:this.playbackVolume},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"started",{get:function(){return this.playbackSession?this.playbackSession.started:null},enumerable:!0,configurable:!0}),t.prototype.endPreviousPlaybackSession=function(e){if(this.playbackSession&&!this.playbackSession.ended){var t=(0,s.retrieveEndvideoMetadata)((0,a.pathOr)({},["metadata"],e))[s.REASON_START]||o.EndVideoReasonEnd.END_UNKNOWN;this.playbackSession.newSessionLoaded(e),this.playbackSession.stop(t),this.playbackSession.removeAllListeners(),this.playbackSession=null}},t.prototype.createPlaybackSession=function(e){var t=this,n=this.playbackSessionFactory.createPlaybackSession(e,this.playerConfiguration);return(0,a.values)(c({},o.VideoPlaybackEvents,o.InternalEvents)).map(function(e){t.proxyEmit(n,e,e)}),this.playbackSession=n,this.playbackSession},t}(i.EventEmitter);t.default=f},"3STj":function(e,t,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SPManifestParser",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"VttTextParser",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"SpotifyVideoMediaExtension",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"SpotifyVideoUrl",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"SP_VIDEO_TYPE",{enumerable:!0,get:function(){return u.TYPE}}),Object.defineProperty(t,"WidevineDownloader",{enumerable:!0,get:function(){return c.default}});var o=i(n("KAKM")),a=i(n("bURn")),s=i(n("/PW7")),u=r(n("d5gj")),c=i(n("oafY"))},"3ZRO":function(e,t,n){"use strict";(function(e,r){n.d(t,"d",function(){return o}),n.d(t,"i",function(){return a}),n.d(t,"f",function(){return u}),n.d(t,"k",function(){return c}),n.d(t,"j",function(){return l}),n.d(t,"e",function(){return f}),n.d(t,"c",function(){return p}),n.d(t,"b",function(){return h}),n.d(t,"a",function(){return d}),n.d(t,"g",function(){return _}),n.d(t,"h",function(){return y});var i=n("E6vx");function o(e,t){return e.require(t)}function a(){return"[object process]"===Object.prototype.toString.call(void 0!==e?e:0)}var s={};function u(){return a()?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:s}function c(){var e=u(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}function l(e){if(!e)return{};var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}function f(e){if(e.message)return e.message;if(e.exception&&e.exception.values&&e.exception.values[0]){var t=e.exception.values[0];return t.type&&t.value?t.type+": "+t.value:t.type||t.value||e.event_id||"<unknown>"}return e.event_id||"<unknown>"}function p(e){var t=u();if(!("console"in t))return e();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach(function(e){e in t.console&&n[e].__sentry__&&(r[e]=n[e].__sentry_wrapped__,n[e]=n[e].__sentry_original__)});var i=e();return Object.keys(r).forEach(function(e){n[e]=r[e]}),i}function h(e,t,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||t||"",e.exception.values[0].type=e.exception.values[0].type||n||"Error"}function d(e,t){void 0===t&&(t={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(t).forEach(function(n){e.exception.values[0].mechanism[n]=t[n]})}catch(e){}}function _(){try{return document.location.href}catch(e){return""}}function y(e){try{for(var t=e,n=[],r=0,i=0,o=" > ".length,a=void 0;t&&r++<5&&!("html"===(a=v(t))||r>1&&i+n.length*o+a.length>=80);)n.push(a),i+=a.length,t=t.parentNode;return n.reverse().join(" > ")}catch(e){return"<unknown>"}}function v(e){var t,n,r,o,a,s=[];if(!e||!e.tagName)return"";if(s.push(e.tagName.toLowerCase()),e.id&&s.push("#"+e.id),(t=e.className)&&Object(i.j)(t))for(n=t.split(/\s+/),a=0;a<n.length;a++)s.push("."+n[a]);var u=["type","name","title","alt"];for(a=0;a<u.length;a++)r=u[a],(o=e.getAttribute(r))&&s.push("["+r+'="'+o+'"]');return s.join("")}}).call(this,n("5IsQ"),n("pCvA"))},"3gDE":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e);if(n.length){var r,o=t.shiftKey,a=n[0],s=n[n.length-1];if(e===document.activeElement){if(!o)return;r=s}if(s!==document.activeElement||o||(r=a),a===document.activeElement&&o&&(r=s),r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var c=n.indexOf(document.activeElement);if(c>-1&&(c+=o?-1:1),void 0===n[c])return t.preventDefault(),void(r=o?s:a).focus();t.preventDefault(),n[c].focus()}}else t.preventDefault()};var r,i=(r=n("XrU5"))&&r.__esModule?r:{default:r};e.exports=t.default},"3mKH":function(e,t,n){(function(e,r,i){var o=n("eoLT"),a=n("wfEq"),s=n("5Ekh"),u=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=t.IncomingMessage=function(t,n,a,u){var c=this;if(s.Readable.call(c),c._mode=a,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",function(){e.nextTick(function(){c.emit("close")})}),"fetch"===a){if(c._fetchResponse=n,c.url=n.url,c.statusCode=n.status,c.statusMessage=n.statusText,n.headers.forEach(function(e,t){c.headers[t.toLowerCase()]=e,c.rawHeaders.push(t,e)}),o.writableStream){var l=new WritableStream({write:function(e){return new Promise(function(t,n){c._destroyed?n():c.push(new r(e))?t():c._resumeFetch=t})},close:function(){i.clearTimeout(u),c._destroyed||c.push(null)},abort:function(e){c._destroyed||c.emit("error",e)}});try{return void n.body.pipeTo(l).catch(function(e){i.clearTimeout(u),c._destroyed||c.emit("error",e)})}catch(e){}}var f=n.body.getReader();!function e(){f.read().then(function(t){if(!c._destroyed){if(t.done)return i.clearTimeout(u),void c.push(null);c.push(new r(t.value)),e()}}).catch(function(e){i.clearTimeout(u),c._destroyed||c.emit("error",e)})}()}else if(c._xhr=t,c._pos=0,c.url=t.responseURL,c.statusCode=t.status,c.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===c.headers[n]&&(c.headers[n]=[]),c.headers[n].push(t[2])):void 0!==c.headers[n]?c.headers[n]+=", "+t[2]:c.headers[n]=t[2],c.rawHeaders.push(t[1],t[2])}}),c._charset="x-user-defined",!o.overrideMimeType){var p=c.rawHeaders["mime-type"];if(p){var h=p.match(/;\s*charset=([^;])(;|$)/);h&&(c._charset=h[1].toLowerCase())}c._charset||(c._charset="utf-8")}};a(c,s.Readable),c.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},c.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==u.DONE)break;try{n=new i.VBArray(t.responseBody).toArray()}catch(e){}if(null!==n){e.push(new r(n));break}case"text":try{n=t.responseText}catch(t){e._mode="text:vbarray";break}if(n.length>e._pos){var o=n.substr(e._pos);if("x-user-defined"===e._charset){for(var a=new r(o.length),s=0;s<o.length;s++)a[s]=255&o.charCodeAt(s);e.push(a)}else e.push(o,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==u.DONE||!t.response)break;n=t.response,e.push(new r(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==u.LOADING||!n)break;e.push(new r(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==u.LOADING)break;var c=new i.MSStreamReader;c.onprogress=function(){c.result.byteLength>e._pos&&(e.push(new r(new Uint8Array(c.result.slice(e._pos)))),e._pos=c.result.byteLength)},c.onload=function(){e.push(null)},c.readAsArrayBuffer(n)}e._xhr.readyState===u.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,n("5IsQ"),n("qykS").Buffer,n("pCvA"))},"3or+":function(e,t,n){"use strict";var r=n("PQZM"),i=n("qG8n"),o=n("asuC"),a="https://@webapi/v1/me/feature-flags";function s(e,t){i.call(this);var n=t||{};this._session=e,this._endpoint=n.endpoint||a,this._authenticated=o.defer(),this._dataDeferred=o.defer(),this._flagMap={},this._init()}r(s,i),s.forSession=function(e,t){return new s(e,t)},s.prototype._init=function(){this._session.on("authenticated",function(){this._authenticated.resolve(!0)}.bind(this))},s.prototype._fetchData=function(e){if(e.every(function(e){return e in this._flagMap}.bind(this)))return o.resolve(!0);var t=this._dataDeferred;this._dataDeferred=o.defer(),this._dataDeferred.promise.then(t.resolve,t.reject);var n=this._endpoint+"?tests="+e.join(",");return this._session.request(n,{authorize:!0,responseType:"json"}).then(this._parseData.bind(this)).catch(function(e){return this.emit("error",{name:"abbaError",error:e}),this._dataDeferred.resolve(!1),!1}.bind(this))},s.prototype._parseData=function(e){var t=e.body;if(200!==e.status)throw new Error("Request to abba-service failed with status code "+e.status);if(!t)throw new Error("Unexpected empty response from abba service.");if(!t.flags)throw new Error("Unexpected response format from abba service.");return Object.keys(t.flags).forEach(function(e){this._flagMap[e]=t.flags[e]}.bind(this)),this._dataDeferred.resolve(!0),!0},s.prototype.getCell=function(e){return this.getCells([e]).then(function(t){return t[e]})},s.prototype.getCells=function(e){return this._authenticated.promise.then(this._fetchData.bind(this,e)).then(function(t){for(var n={},r=0;r<e.length;r++){var i=e[r];n[i]={value:this._flagMap[i]||null,exists:i in this._flagMap,featureName:i,fromAbba:t}}return n}.bind(this))},e.exports=s},"3sBZ":function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.r(t),n("W0B4");var a=n("Y7gb"),s=n.n(a),u=n("noPx"),c=n.n(u),l=n("mXGw"),f=n.n(l),p=n("xARA"),h=n.n(p),d={disabled:!1},_=f.a.createContext(null),y="unmounted",v="exited",m="entering",g="entered",E=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=v,r.appearStatus=m):i=g:i=t.unmountOnExit||t.mountOnEnter?y:v,r.state={status:i},r.nextCallback=null,r}o(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===y?{status:v}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==g&&(t=m):n!==m&&n!==g||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=h.a.findDOMNode(this);t===m?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===v&&this.setState({status:y})},n.performEnter=function(e,t){var n=this,r=this.props.enter,i=this.context?this.context.isMounting:t,o=this.getTimeouts(),a=i?o.appear:o.enter;!t&&!r||d.disabled?this.safeSetState({status:g},function(){n.props.onEntered(e)}):(this.props.onEnter(e,i),this.safeSetState({status:m},function(){n.props.onEntering(e,i),n.onTransitionEnd(e,a,function(){n.safeSetState({status:g},function(){n.props.onEntered(e,i)})})}))},n.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n&&!d.disabled?(this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:v},function(){t.props.onExited(e)})})})):this.safeSetState({status:v},function(){t.props.onExited(e)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===y)return null;var t=this.props,n=t.children,r=i(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return f.a.createElement(_.Provider,{value:null},n(e,r));var o=f.a.Children.only(n);return f.a.createElement(_.Provider,{value:null},f.a.cloneElement(o,r))},t}(f.a.Component);function b(){}E.contextType=_,E.propTypes={},E.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},E.UNMOUNTED=0,E.EXITED=1,E.ENTERING=2,E.ENTERED=3,E.EXITING=4;var T=E,S=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return c()(e,t)})},R=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){t.removeClasses(e,"exit"),t.addClass(e,n?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=n?"appear":"enter";t.addClass(e,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=n?"appear":"enter";t.removeClasses(e,r),t.addClass(e,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),t.addClass(e,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){t.addClass(e,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){t.removeClasses(e,"exit"),t.addClass(e,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}o(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"];"appear"===t&&"done"===n&&(r+=" "+this.getClassNames("enter").doneClassName),"active"===n&&e&&e.scrollTop,this.appliedClasses[t][n]=r,function(e,t){e&&r&&r.split(" ").forEach(function(t){return s()(e,t)})}(e)},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&S(e,r),i&&S(e,i),o&&S(e,o)},n.render=function(){var e=this.props,t=(e.classNames,i(e,["classNames"]));return f.a.createElement(T,r({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(f.a.Component);R.defaultProps={classNames:""},R.propTypes={};var w=R;function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e,t){var n=Object.create(null);return e&&l.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&Object(l.isValidElement)(e)?t(e):e}(e)}),n}function I(e,t,n){return null!=n[t]?n[t]:e.props[t]}function N(e,t,n){var r=A(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var c=i[u][r];s[i[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach(function(o){var a=i[o];if(Object(l.isValidElement)(a)){var s=o in t,u=o in r,c=t[o],f=Object(l.isValidElement)(c)&&!c.props.in;!u||s&&!f?u||!s||f?u&&s&&Object(l.isValidElement)(c)&&(i[o]=Object(l.cloneElement)(a,{onExited:n.bind(null,a),in:c.props.in,exit:I(a,"exit",e),enter:I(a,"enter",e)})):i[o]=Object(l.cloneElement)(a,{in:!1}):i[o]=Object(l.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:I(a,"exit",e),enter:I(a,"enter",e)})}}),i}var C=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},P=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(O(O(r)));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}o(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,A(n.children,function(e){return Object(l.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:I(e,"appear",n),enter:I(e,"enter",n),exit:I(e,"exit",n)})})):N(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=A(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=r({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=i(e,["component","childFactory"]),o=this.state.contextValue,a=C(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?f.a.createElement(_.Provider,{value:o},a):f.a.createElement(_.Provider,{value:o},f.a.createElement(t,r,a))},t}(f.a.Component);P.propTypes={},P.defaultProps={component:"div",childFactory:function(e){return e}};var L=P,k=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}o(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,i=this.props.children,o=f.a.Children.toArray(i)[t];o.props[e]&&(r=o.props)[e].apply(r,n),this.props[e]&&this.props[e](h.a.findDOMNode(this))},n.render=function(){var e=this.props,t=e.children,n=e.in,r=i(e,["children","in"]),o=f.a.Children.toArray(t),a=o[0],s=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,f.a.createElement(L,r,n?f.a.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):f.a.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(f.a.Component);k.propTypes={};var D,x,M=k,U="out-in",F="in-out",j=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},B=((D={})[U]=function(e){var t=e.current,n=e.changeState;return f.a.cloneElement(t,{in:!1,onExited:j(t,"onExited",function(){n(m,null)})})},D[F]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,f.a.cloneElement(r,{in:!0,onEntered:j(r,"onEntered",function(){n(m)})})]},D),V=((x={})[U]=function(e){var t=e.children,n=e.changeState;return f.a.cloneElement(t,{in:!0,onEntered:j(t,"onEntered",function(){n(g,f.a.cloneElement(t,{in:!0}))})})},x[F]=function(e){var t=e.current,n=e.children,r=e.changeState;return[f.a.cloneElement(t,{in:!1,onExited:j(t,"onExited",function(){r(g,f.a.cloneElement(n,{in:!0}))})}),f.a.cloneElement(n,{in:!0})]},x),G=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={status:g,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}o(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===m&&e.mode===F?{status:m}:!t.current||((n=t.current)===(r=e.children)||f.a.isValidElement(n)&&f.a.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:f.a.cloneElement(e.children,{in:!0})}:{status:"exiting"};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,i=this.state,o=i.status,a=i.current,s={children:n,current:a,changeState:this.changeState,status:o};switch(o){case m:e=V[r](s);break;case"exiting":e=B[r](s);break;case g:e=a}return f.a.createElement(_.Provider,{value:{isMounting:!this.appeared}},e)},t}(f.a.Component);G.propTypes={},G.defaultProps={mode:U};var W=G;n.d(t,"CSSTransition",function(){return w}),n.d(t,"ReplaceTransition",function(){return M}),n.d(t,"SwitchTransition",function(){return W}),n.d(t,"TransitionGroup",function(){return L}),n.d(t,"Transition",function(){return T}),n.d(t,"config",function(){return d})},"4+3C":function(e,t,n){(function(e){var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!v(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(s(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(i,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),u=r[n];n<o;u=r[++n])_(u)||!E(u)?a+=" "+u:a+=" "+s(u);return a},t.deprecate=function(n,r){if(void 0!==e&&!0===e.noDeprecation)return n;if(void 0===e)return function(){return t.deprecate(n,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(e.throwDeprecation)throw new Error(r);e.traceDeprecation,i=!0}return n.apply(this,arguments)}};var o,a={};function s(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),d(n)?r.showHidden=n:n&&t._extend(r,n),m(r.showHidden)&&(r.showHidden=!1),m(r.depth)&&(r.depth=2),m(r.colors)&&(r.colors=!1),m(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),l(r,e,r.depth)}function u(e,t){var n=s.styles[t];return n?"["+s.colors[n][0]+"m"+e+"["+s.colors[n][1]+"m":e}function c(e,t){return e}function l(e,n,r){if(e.customInspect&&n&&S(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return v(i)||(i=l(e,i,r)),i}var o=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(v(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return y(t)?e.stylize(""+t,"number"):d(t)?e.stylize(""+t,"boolean"):_(t)?e.stylize("null","null"):void 0}(e,n);if(o)return o;var a=Object.keys(n),s=function(e){var t={};return a.forEach(function(e,n){t[e]=!0}),t}();if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),T(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(S(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(g(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(b(n))return e.stylize(Date.prototype.toString.call(n),"date");if(T(n))return f(n)}var c,E="",R=!1,O=["{","}"];return h(n)&&(R=!0,O=["[","]"]),S(n)&&(E=" [Function"+(n.name?": "+n.name:"")+"]"),g(n)&&(E=" "+RegExp.prototype.toString.call(n)),b(n)&&(E=" "+Date.prototype.toUTCString.call(n)),T(n)&&(E=" "+f(n)),0!==a.length||R&&0!=n.length?r<0?g(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=R?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)w(t,String(a))?o.push(p(e,t,n,r,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(p(e,t,n,r,i,!0))}),o}(e,n,r,s,a):a.map(function(t){return p(e,n,r,s,t,R)}),e.seen.pop(),function(e,t,n){return e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(c,E,O)):O[0]+E+O[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function p(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),w(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(u.value)<0?(s=_(n)?l(e,u.value,null):l(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return"   "+e}).join("\n")):s=e.stylize("[Circular]","special")),m(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function h(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function _(e){return null===e}function y(e){return"number"==typeof e}function v(e){return"string"==typeof e}function m(e){return void 0===e}function g(e){return E(e)&&"[object RegExp]"===R(e)}function E(e){return"object"==typeof e&&null!==e}function b(e){return E(e)&&"[object Date]"===R(e)}function T(e){return E(e)&&("[object Error]"===R(e)||e instanceof Error)}function S(e){return"function"==typeof e}function R(e){return Object.prototype.toString.call(e)}function w(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.debuglog=function(n){return m(o)&&(o=Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).NODE_DEBUG||""),n=n.toUpperCase(),a[n]||(new RegExp("\\b"+n+"\\b","i").test(o)?(e.pid,a[n]=function(){t.format.apply(t,arguments)}):a[n]=function(){}),a[n]},t.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=d,t.isNull=_,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=v,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=m,t.isRegExp=g,t.isObject=E,t.isDate=b,t.isError=T,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n("EwJK"),t.log=function(){},t.inherits=n("wfEq"),t._extend=function(e,t){if(!t||!E(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var O="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function A(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(O&&e[O]){var t;if("function"!=typeof(t=e[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),O&&Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=O,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};t.apply(this,n).then(function(t){e.nextTick(a,null,t)},function(t){e.nextTick(A,t,a)})}return Object.setPrototypeOf(n,Object.getPrototypeOf(t)),Object.defineProperties(n,r(t)),n}}).call(this,n("5IsQ"))},"46zW":function(e,t,n){"use strict";var r=String.prototype.indexOf;e.exports=function(e){return r.call(this,e,arguments[1])>-1}},"4DfG":function(e,t,n){"use strict";e.exports=n("UdKW")},"4NdA":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(e){this.factories=e,this.observers=[]}return e.prototype.initiateObservers=function(e,t,n){this.observers=this.factories.map(function(r){return r.createEventObserver(e,t,n)}).filter(function(e){return e})},e.prototype.onPlaybackCreated=function(e,t,n){var r=Date.now();this.observers.forEach(function(i){i.onPlaybackCreated(e,t,n,r)})},e.prototype.onEndingPlayback=function(e){var t=Date.now();this.observers.forEach(function(n){n.onEndingPlayback(e,t)})},e.prototype.onPlaybackEnded=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onPlaybackEnded(t,e,n)})},e.prototype.onVolumeChanged=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onVolumeChanged(t,e,n)})},e.prototype.onResumed=function(e){var t=Date.now();this.observers.forEach(function(n){n.onResumed(e,t)})},e.prototype.onSeeking=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onSeeking(e,t,n)})},e.prototype.onPaused=function(e){var t=Date.now();this.observers.forEach(function(n){n.onPaused(e,t)})},e.prototype.onReady=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onReady(t,e,n)})},e.prototype.onManifestLoaded=function(){var e=Date.now();this.observers.forEach(function(t){t.onManifestLoaded(e)})},e.prototype.onManifestLoading=function(){var e=Date.now();this.observers.forEach(function(t){t.onManifestLoading(e)})},e.prototype.onRecoverableError=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onRecoverableError(e,t,n)})},e.prototype.onFatalError=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onFatalError(e,t,n)})},e.prototype.onAudioFormatChanged=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onAudioFormatChanged(e,t,n)})},e.prototype.onVideoFormatChanged=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onVideoFormatChanged(e,t,n)})},e.prototype.onBuffering=function(e,t,n){var r=Date.now();this.observers.forEach(function(i){i.onBuffering(t,n,e,r)})},e.prototype.onDroppedVideoFrames=function(e){var t=Date.now();this.observers.forEach(function(n){n.onDroppedVideoFrames(e,t)})},e.prototype.onEncryptionKeyLoaded=function(e){var t=Date.now();this.observers.forEach(function(n){n.onEncryptionKeyLoaded(e,t)})},e.prototype.onEncryptionKeyLoading=function(){var e=Date.now();this.observers.forEach(function(t){t.onEncryptionKeyLoading(e)})},e.prototype.onBytesTransferred=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onBytesTransferred(e,t,n)})},e.prototype.onDurationChanged=function(e){var t=Date.now();this.observers.forEach(function(n){n.onDurationChanged(e,t)})},e.prototype.onSubtitleChanged=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onSubtitleChanged(t,e,n)})},e.prototype.onFullscreenChanged=function(e,t){var n=Date.now();this.observers.forEach(function(r){r.onFullscreenChanged(t,e,n)})},e}();t.default=r},"4OlW":function(e,t,n){"use strict";var r=n("ovh1");e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},"4feL":function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,i=n;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},"4z+8":function(e,t,n){"use strict";var r=n("c70j"),i=n("VtxT"),o=n("xAxK");e.exports=function(e){return e.HTTP=i,e.Fetch=o,r.create(e)}},"4zCw":function(e,t,n){"use strict";var r=n("pPJX"),i=n("qt0y"),o=n("jnqd"),a=function(e){for(var t,n=1;n<arguments.length;n++)if(t=arguments[n])for(var r in t)r in t&&(e[r]=t[r]);return e}({},r,i,{USER_INFO_REQUEST_EMPTY_RESPONSE:"USER_INFO_REQUEST_EMPTY_RESPONSE",USER_INFO_REQUEST_FAILED_WITH_STATUS:"USER_INFO_REQUEST_FAILED_WITH_STATUS",HARMONY_LIFECYCLE_ERROR:"HARMONY_LIFECYCLE_ERROR",HARMONY_NO_TRACKS_LOADED:"HARMONY_NO_TRACKS_LOADED",HARMONY_OPERATION_FORBIDDEN:"HARMONY_OPERATION_FORBIDDEN",HARMONY_LOCAL_PLAYER_DISABLED:"HARMONY_LOCAL_PLAYER_DISABLED",CONNECTAPI_CLIENT_INVALID_ARGUMENTS:"CONNECTAPI_CLIENT_INVALID_ARGUMENTS",CONNECTAPI_CLIENT_NO_CONNECTION_ID:"CONNECT_API_CLIENT_NO_CONNECTION_ID",CONNECTAPI_CLIENT_NO_ACTIVE_DEVICE:"CONNECT_API_CLIENT_NO_ACTIVE_DEVICE",CONNECTAPI_CLIENT_NO_DEVICE:"CONNECTAPI_CLIENT_NO_DEVICE",CONNECTAPI_CLIENT_NO_SESSION_ID:"CONNECTAPI_CLIENT_NO_SESSION_ID",CONNECTAPI_CLIENT_NO_STATE:"CONNECTAPI_CLIENT_NO_STATE",CONNECTAPI_CLIENT_INVALID_POSITION:"CONNECT_API_CLIENT_INVALID_POSITION",CONNECTAPI_CLIENT_INVALID_VOLUME:"CONNECT_API_CLIENT_INVALID_VOLUME",CONNECTAPI_MAX_SUBSCRIPTIONS_REACHED:"CONNECTAPI_MAX_SUBSCRIPTIONS_REACHED",CONNECTAPI_REGISTRATION_FAILED_WITH_STATUS:"CONNECTAPI_REGISTRATION_FAILED_WITH_STATUS",TP_NO_RESPONSE_BODY:"TP_NO_RESPONSE_BODY",TP_REGISTRATION_FAILED_NON_PREMIUM:"TP_REGISTRATION_FAILED_NON_PREMIUM",TP_REGISTRATION_FAILED_WITH_STATUS:"TP_REGISTRATION_FAILED_WITH_STATUS",TP_MAX_SUBSCRIPTIONS_REACHED:"TP_MAX_SUBSCRIPTIONS_REACHED",TP_UPDATE_REQUEST_EMPTY_RESPONSE:"TP_UPDATE_REQUEST_EMPTY_RESPONSE",TP_PARSE_STATE_UPDATE_FAILED_WITH_STATUS:"TP_PARSE_STATE_UPDATE_FAILED_WITH_STATUS",TP_UNKNOWN_COMMAND:"TP_UNKNOWN_COMMAND",TP_CANNOT_CREATE_STATE_REF:"TP_CANNOT_CREATE_STATE_REF",TP_MISSING_INITIAL_STATE:"TP_MISSING_INITIAL_STATE",TP_INVALID_STATE_REFERENCE:"TP_INVALID_STATE_REFERENCE",TP_CONFLICT_REQUEST_FAILED_WITH_STATUS:"TP_CONFLICT_REQUEST_FAILED_WITH_STATUS",TP_STREAM_TIME_VALUE_OUT_OF_RANGE:"TP_STREAM_TIME_VALUE_OUT_OF_RANGE"});e.exports=o(a)},"54X/":function(e,t,n){"use strict";e.exports=function(e){var t=e;return"true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG&&(t=n("RIcX")(e,{type:{type:"string",nullable:!0},page:{type:"string",nullable:!0},view_uri:{type:"string",nullable:!0},sp_cid:{type:"string",nullable:!0},referrer:{type:"string",nullable:!0}})),{name:"KmPageView",data:t}}},"5Ekh":function(e,t,n){(t=e.exports=n("B0Cl")).Stream=t,t.Readable=t,t.Writable=n("g+31"),t.Duplex=n("A/eZ"),t.Transform=n("+t3Y"),t.PassThrough=n("OLMR")},"5IsQ":function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&h())}function h(){if(!l){var e=s(p);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function _(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new d(e,t)),1!==c.length||l||s(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=_,i.addListener=_,i.once=_,i.off=_,i.removeListener=_,i.removeAllListeners=_,i.emit=_,i.prependListener=_,i.prependOnceListener=_,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},"5JlJ":function(e,t,n){"use strict";var r=n("1Wwy"),i=n("uDox").forTag("transport.server_time");function o(e){this._transport=e,this._serverTime=0,this._serverTimeFetchedAt=0}o.create=function(e){return new o(e)},o.prototype._parseServiceResponse=function(e,t){var n,o=Date.now(),a=o-e,s=t.status;return s===r.OK?n=t.body.timestamp:(i.error("Cannot fetch server time. Service responded with "+s),n=o),this._serverTime=n+a,this._serverTimeFetchedAt=o,this._serverTime},o.prototype.get=function(){var e=Date.now();return this._transport.request("@webgate/melody/v1/time",{responseType:"json"}).then(this._parseServiceResponse.bind(this,e))},o.prototype.getApproximate=function(){if(!this._serverTime)return this.get(),Date.now();var e=Date.now()-this._serverTimeFetchedAt;return e>18e4&&this.get(),this._serverTime+e},e.exports=o},"5KDM":function(e,t,n){"use strict";var r=n("PQZM"),i=n("qG8n"),o=n("asuC"),a=n("wJTk"),s=n("f/Q/"),u=n("uDox").forTag("harmony.controller"),c=n("mPnL"),l=n("d7mV"),f=n("Q0s3"),p=n("4zCw"),h=/^disallow_([^]+)_reasons$/,d={disallow_pausing_reasons:!0,disallow_resuming_reasons:!0,disallow_seeking_reasons:!0,disallow_peeking_prev_reasons:!0,disallow_peeking_next_reasons:!0,disallow_skipping_prev_reasons:!0,disallow_skipping_next_reasons:!0,disallow_toggling_repeat_context_reasons:!0,disallow_toggling_repeat_track_reasons:!0,disallow_toggling_shuffle_reasons:!0},_="on-demand";function y(e){i.call(this),this._client=e.client,this._transport=this._client.getPublicTransport(),this._serverTime=e.serverTime,this._version=e.version,this._playerClient=e.playerClient,this._decorate=!!e.decorateTrackWindow,this._disableProgress=e.disableProgress,this._contextPlayerState=null,this._suppressed=!1,this._lastDeviceInfoData=null,this._deviceInfo=null,this._state=null,this._isOrphanedState=!1,this._progressPosition=0,this._lastProgressTs=0,this._trackingIntervalId=null,this._metadataCache=null,this._init()}r(y,i),y.create=function(e){return new y(e)},y.prototype._init=function(){this._decorate&&(this._metadataCache=new s(20)),this._client.on(f.CLIENT_BEFORE_DISCONNECT,this._onClientBeforeDisconnect.bind(this)),this.proxyEmit(this._playerClient,f.CONNECT_API_MAX_SUBSCRIPTIONS_REACHED,f.CONTROLLER_MAX_SUBSCRIPTIONS_REACHED),this.proxyEmit(this._playerClient,f.CONNECT_API_DEVICES_CHANGED,f.CONTROLLER_DEVICES_CHANGED),this.proxyEmit(this._playerClient,f.CONNECT_API_REGISTERED,f.CONTROLLER_REGISTERED),this._playerClient.on(f.CONNECT_API_DEVICE_STATE_CHANGED,this._onDeviceStateChanged.bind(this)),this._playerClient.on(f.CONNECT_API_PLAYER_STATE_CHANGED,this._onPlayerStateChanged.bind(this))},y.prototype._onClientBeforeDisconnect=function(e){e&&e.awaitPromise(this._playerClient.deregister().catch(function(){}))},y.prototype._onDeviceStateChanged=function(e){this._lastDeviceInfoData={deviceInfo:e.deviceState,hasOrphanedState:e.hasOrphanedState},this._suppressed||this.emit(f.CONTROLLER_DEVICE_INFO_CHANGED,this._lastDeviceInfoData)},y.prototype._startProgressTracking=function(){this._stopProgressTracking(),this._lastProgressTs=Date.now(),this._onProgressTracking(),this._trackingIntervalId=setInterval(this._onProgressTracking.bind(this),500)},y.prototype._stopProgressTracking=function(){this._trackingIntervalId&&(clearInterval(this._trackingIntervalId),this._trackingIntervalId=null)},y.prototype._onProgressTracking=function(){var e=Date.now();this._progressPosition+=e-this._lastProgressTs,this.emit(f.CONTROLLER_PROGRESS,{position:this._progressPosition,timestamp:Date.now()}),this._lastProgressTs=e},y.prototype._getLicense=function(){return this._client.getProductState().then(function(e){return"1"===e.ads?_:"premium"}).catch(function(){return _})},y.prototype._generatePlayOptions=function(e,t){return this._getLicense().then(function(n){var r={skip_to:void 0,seek_to:void 0,initially_paused:void 0,license:n,player_options_override:void 0};if(("index"in e||"trackUID"in e||"trackURI"in e)&&(r.skip_to={track_uid:e.trackUID,track_index:e.index,track_uri:e.trackURI}),"initialOffset"in e&&(r.seek_to=e.initialOffset),"paused"in e&&(r.initially_paused=e.paused),t)return r;var i=r.player_options_override={};if("shuffle"in e&&(i.shuffling_context=e.shuffle),"repeatMode"in e)switch(e.repeatMode){case l.CONTEXT:i.repeating_context=!0,i.repeating_track=!1;break;case l.TRACK:i.repeating_track=!0,i.repeating_context=!1;break;case l.OFF:i.repeating_track=!1,i.repeating_context=!1}return r})},y.prototype._setFilterAndSort=function(e,t){t.filter&&(e.metadata["filtering.predicate"]=t.filter),t.sort&&(e.metadata["sorting.criteria"]=t.sort)},y.prototype._generatePlayOrigin=function(e){var t=e.playOrigin||{};if(t.featureClasses&&!Array.isArray(t.featureClasses))throw new TypeError("PlayOptions playOrigin.featureClasses must be an array of strings.");return{feature_identifier:t.featureIdentifier||"harmony",feature_version:t.featureVersion||this._version,feature_classes:t.featureClasses,view_uri:t.viewURI,external_referrer:t.externalReferrer,referrer_identifier:t.referrerIdentifier}},y.prototype._parseRestrictions=function(e){var t={};for(var n in e.restrictions)e.restrictions.hasOwnProperty(n)&&d[n]?t[n]=e.restrictions[n]:d[n]&&(t[n]=[]);return t},y.prototype._parseDisallows=function(e){var t={},n=e.restrictions;for(var r in n)if(n.hasOwnProperty(r)&&d[r]){var i=!(!n[r]||!n[r].length);t[r.replace(h,"$1")]=i}return t},y.prototype._onPlayerStateChanged=function(e){this._contextPlayerState=e.playerState,this._isOrphanedState=e.orphaned,this._parsePlayerState(e.playerState).then(function(t){this._state=t;var n=this._copyState();this._suppressed||this.emit(f.CONTROLLER_STATE_CHANGED,{state:n,orphaned:e.orphaned}),!this._disableProgress&&t&&(this._progressPosition=t.position,t.paused?this._stopProgressTracking():this._startProgressTracking())}.bind(this))},y.prototype._copyState=function(){return this._state?JSON.parse(JSON.stringify(this._state)):null},y.prototype._parsePlayerState=function(e){return e?this._getTrackWindow(e).then(function(t){return{context:{uri:e.context_uri,metadata:e.context_metadata||{}},timestamp:e.timestamp,duration:e.duration||t.current_track&&t.current_track.duration_ms||0,position:e.is_paused?e.position_as_of_timestamp:this._offsetPosition(e.timestamp,e.position_as_of_timestamp),paused:e.is_paused,shuffle:e.options&&e.options.shuffling_context,repeat_mode:this._getStateRepeatMode(e),restrictions:this._parseRestrictions(e),disallows:this._parseDisallows(e),track_window:t,bitrate:null}}.bind(this)):o.resolve(null)},y.prototype._offsetPosition=function(e,t,n){var r=t+((n||this._serverTime.getApproximate())-e);return r<0?0:r},y.prototype._isRestricted=function(e,t){if(!e)return!1;var n="disallow_"+t+"_reasons";return e.restrictions&&n in e.restrictions&&!!e.restrictions[n].length},y.prototype._getTrackWindow=function(e){var t={current_track:null,next_tracks:[],previous_tracks:[]},n={},r=[];if(!e.track)return o.resolve(t);var i=e.track.uri;if(!i)return o.resolve(t);var s=a.from(i),u=this._parseLocalTrack(s),c=this._parseAd(s,e.track);return t.current_track=u||c||{uri:i},u||c||(n[i]=1,r.push(i)),this._isRestricted(e,"peeking_next")||this._fillWindow(r,t.next_tracks,n,e.next_tracks.slice(0,5)),this._isRestricted(e,"peeking_prev")||this._fillWindow(r,t.previous_tracks,n,e.prev_tracks.slice(-5),!0),this._decorate?this._decorateMetadata(r,t):o.resolve(t)},y.prototype._fillWindow=function(e,t,n,r,i){i&&r.reverse();for(var o=0,s=r.length;o<s;o++){var u=r[o].uri,c=a.from(u);if(u&&"spotify:delimiter"!==u&&(!c||c.type!==a.Type.AD&&c.type!==a.Type.INTERRUPTION)){var l=this._parseLocalTrack(c),f=l||{uri:u};if(l||u in n||(n[u]=1,e.push(u)),i?t.unshift(f):t.push(f),2===t.length)break}}},y.prototype._parseLocalTrack=function(e){return e&&e.type===a.Type.LOCAL?{id:null,uri:e.toURI(),type:"local",media_type:"audio",name:e.track,artists:[{uri:a.localArtistURI(e.artist).toURI(),name:e.artist}],album:{uri:a.localAlbumURI(e.artist,e.album).toURI(),name:e.album,images:[{url:""}]},duration_ms:1e3*e.duration||0,is_playable:!1}:null},y.prototype._parseAd=function(e,t){if(!e||e.type!==a.Type.AD&&e.type!==a.Type.INTERRUPTION)return null;if(!t||!t.metadata)return null;var n=t.metadata;return{id:e.id,uri:e.toURI(),type:e.type,media_type:"audio",name:n.title,artists:[{uri:n.click_url,name:n.advertiser}],album:{uri:"",name:"",images:[{url:n.image_url}]},duration_ms:parseInt(n.duration,10),is_playable:!1}},y.prototype._decorateMetadata=function(e,t){for(var n=this._metadataCache,r=[],i=[],s=0,u=e.length;s<u;s++){var c=e[s];if(!n.get(c)){var l=a.from(c);if(l){var f=a.hexToId(l.id);l.type===a.Type.TRACK?i.push(f):r.push(this._requestPodcastData(f,c))}}}return o.all([o.all(r).then(function(e){return-1===e.indexOf(!1)}),!!i.length&&this._requestTracksData(i)]).spread(function(e,n){return e||n?this._performDecoration(t):t}.bind(this))},y.prototype._requestTracksData=function(e){var t=this._metadataCache,n=["https://@webapi/v1/tracks","?ids=",e.join(","),"&market=from_token"].join("");return this._transport.request(n,{responseType:"json"}).then(function(e){if(200!==e.status)return!1;var n=e.body;if(!n)return!1;for(var r=n.tracks,i=r.length;i--;){var o=r[i];o&&(t.set(o.uri,o),o.media_type="audio",o.linked_from&&o.linked_from.uri&&t.set(o.linked_from.uri,o))}return!0})},y.prototype._requestPodcastData=function(e,t){var n=this._metadataCache,r="https://@webapi/v1/episodes/"+e;return this._transport.request(r,{responseType:"json"}).then(function(r){if(200!==r.status)return!1;var i=r.body;if(!i)return!1;var o={id:e,uri:t,type:"episode",media_type:i.show.media_type,name:i.name,artists:[{uri:i.show.uri,name:i.show.publisher}],album:{uri:i.show.uri,name:i.show.name,images:i.images},duration_ms:i.duration_ms||0,is_playable:!0};return n.set(t,o),!0}).catch(function(){return!1})},y.prototype._performDecoration=function(e){var t,n,r,i=this._metadataCache,o={current_track:null,next_tracks:[],previous_tracks:[]};for(e.current_track&&(n=i.get(e.current_track.uri),o.current_track=n||e.current_track),t=e.next_tracks.length;t--;)r=e.next_tracks[t],n=i.get(r.uri),o.next_tracks[t]=n||r;for(t=e.previous_tracks.length;t--;)r=e.previous_tracks[t],n=i.get(r.uri),o.previous_tracks[t]=n||r;return o},y.prototype._getStateRepeatMode=function(e){var t=e.options;if(t){if(t.repeating_track)return l.TRACK;if(t.repeating_context)return l.CONTEXT}return l.OFF},y.prototype.getActiveDevice=function(){return this._playerClient.getActiveDevice()},y.prototype.getCurrentState=function(e){if(e&&this._isOrphanedState)return o.resolve(null);if(this._state&&!this._state.paused){var t=this._serverTime.getApproximate();this._state.position=this._offsetPosition(this._state.timestamp,this._state.position,t),this._state.timestamp=t}return o.resolve(this._copyState())},y.prototype.getContextPlayerState=function(){return u.warn("The `getContextPlayerState()` method is not well supported. Please avoid using it directly."),this._playerClient.getContextPlayerState()},y.prototype.getDevices=function(){return this._playerClient.getDevices()},y.prototype._play=function(e,t,n){var r=n||{};return this._setFilterAndSort(e,r),this._generatePlayOptions(r).then(function(n){var i={context:e,play_origin:this._generatePlayOrigin(r),options:n};return this._playerClient.play(i,t)}.bind(this))},y.prototype.playURI=function(e,t,n){var r=n||{};if(!a.from(e))return o.reject(new TypeError("Invalid Spotify URI"));var i={uri:e,url:"context://"+e,metadata:r.contextMetadata||{}};return this._play(i,t,r)},y.prototype.playTracks=function(e,t,n){var r=n||{};return Array.isArray(e)?this._prepareTracks(e).then(function(e){var n={uri:r.contextURI||"spotify:app:playerapi-client",metadata:r.contextMetadata||{},pages:[{tracks:e}]};return this._play(n,t,r)}.bind(this)):o.reject(new TypeError("Invalid tracks array."))},y.prototype.updateCurrentContext=function(e,t){return this._playerClient.updateCurrentContext(e,t)},y.prototype.setQueue=function(e,t,n){return Array.isArray(e)?Array.isArray(t)?o.all([this._prepareTracks(e),this._prepareTracks(t)]).spread(function(e,t){var r={next_tracks:e.length?e:void 0,prev_tracks:t.length?t:void 0};return this._playerClient.setQueue(r,n)}.bind(this)):o.reject(new TypeError("Invalid previousTracks array.")):o.reject(new TypeError("Invalid nextTracks array."))},y.prototype.addToQueue=function(e,t){return Array.isArray(e)?o.all([this._prepareTracks(e,{queued:!0}),this._playerClient.getContextPlayerState()]).spread(function(e,n){if(!n)return o.reject(new Error("No context to queue."));for(var r=n.next_tracks.slice(0),i=0,a=r.length;i<a;i++){var s=r[i];if(!s||!s.metadata||"true"!==s.metadata.is_queued){r.splice.apply(r,[i,0].concat(e));break}}var u={next_tracks:r,prev_tracks:n.prev_tracks};return this._playerClient.setQueue(u,t)}.bind(this)):o.reject(new TypeError("Invalid nextTracks array."))},y.prototype._prepareTracks=function(e,t){for(var n=[],r=[a.Type.TRACK,a.Type.EPISODE],i=0,s=e.length;i<s;i++){var u,c=e[i];if(!c)return o.reject(new TypeError("Null value inside track array."));if("string"==typeof c?(u=a.from(c),c={uri:c}):u=a.from(c.uri),-1===r.indexOf(u.type))return o.reject(new TypeError("Invalid track uri: "+c.uri));c.metadata||(c.metadata={}),t&&t.queued&&(c.metadata.is_queued="true"),n.push(c)}return o.resolve(n)},y.prototype.togglePlay=function(e){return this._playerClient.togglePlay(e)},y.prototype.transfer=function(e,t){return this._generatePlayOptions(t||{},!0).then(function(t){return this._playerClient.transfer(e,t)}.bind(this))},y.prototype.pause=function(e){return this._playerClient.pause(e)},y.prototype.resume=function(e){return this._playerClient.resume(e)},y.prototype.nextTrack=function(e){return this._playerClient.nextTrack(e)},y.prototype.previousTrack=function(e){return this._playerClient.previousTrack(e)},y.prototype.seek=function(e,t){return this._playerClient.seek(e,t)},y.prototype.setShuffle=function(e,t){return this._playerClient.setShuffle(e,t)},y.prototype.toggleShuffle=function(e){return this._playerClient.toggleShuffle(e)},y.prototype.setVolume=function(e,t){return this._playerClient.setVolume(e,t)},y.prototype.setRepeatMode=function(e,t){switch(e){case l.OFF:return o.all([this._playerClient.setRepeatingContext(!1,t),this._playerClient.setRepeatingTrack(!1,t)]).then(function(){return!0});case l.CONTEXT:return o.all([this._playerClient.setRepeatingContext(!0,t),this._playerClient.setRepeatingTrack(!1,t)]).then(function(){return!0});case l.TRACK:return o.all([this._playerClient.setRepeatingContext(!1,t),this._playerClient.setRepeatingTrack(!0,t)]).then(function(){return!0});default:return o.reject(new TypeError("Unknown repeat mode."))}},y.prototype.cycleRepeatMode=function(e){return this.getCurrentState().then(function(t){if(!t)return o.reject(new c(p.CONNECTAPI_CLIENT_NO_STATE,"Nothing playing"));var n=null;switch(t.repeat_mode){case l.OFF:n=l.CONTEXT;break;case l.CONTEXT:n=l.TRACK;break;case l.TRACK:n=l.OFF;break;default:n=l.OFF}return this.setRepeatMode(n,e)}.bind(this))},y.prototype.register=function(){return this._playerClient.register()},y.prototype.suppressEvents=function(){this._suppressed=!0},y.prototype.unsuppressEvents=function(){this._suppressed=!1,this._lastDeviceInfoData&&this.emit(f.CONTROLLER_DEVICE_INFO_CHANGED,this._lastDeviceInfoData),this._state&&this.emit(f.CONTROLLER_STATE_CHANGED,{state:this._state})},e.exports=y},"5QbJ":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},"5R4H":function(e,t,n){"use strict";(function(t){var n="__global_unique_id__";e.exports=function(){return t[n]=(t[n]||0)+1}}).call(this,n("pCvA"))},"5WRv":function(e,t,n){var r=n("iNmH"),i=n("Qatm"),o=n("kluZ");e.exports=function(e){return r(e)||i(e)||o()}},"63Ad":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},"67/Z":function(e,t,n){"use strict";var r=16,i=Array.prototype.slice;function o(e,t,n){this.tag=e,this.description=t,this._predicate=n,this._tagParts=e.split("."),this._tagText="["+e+"]","true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG?this._enabled=!0:this._enabled=!1,this._level=0,this.log=this.log.bind(this),this.debug=this.debug.bind(this),this.warn=this.warn.bind(this),this.error=this.error.bind(this)}o.prototype.matchesTag=function(e){var t=Array.isArray(e)?e:e.split("."),n=this._tagParts;if(t.length>n.length)return!1;for(var r=0,i=t.length;r<i;r++)if(("*"!==t[r]||!n[r])&&t[r]!==n[r])return!1;return!0},o.prototype.setLevel=function(e){var t=0;switch(e){case"error":t=r;break;case"warn":t=24;break;case"info":t=28;break;case"debug":t=30;break;case"log":default:t=31}this._level=t},o.prototype.enable=function(){"true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG&&(this._enabled=!0)},o.prototype.disable=function(){"true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG&&(this._enabled=!1)},o.prototype.log=function(){if("true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG){if(!(this._enabled||1&this._level))return;var e=i.call(arguments),t=([this._tagText].concat(e),{type:"log",tag:this.tag,args:e});if(this._predicate(t))return}},o.prototype.debug=function(){if("true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG){if(!(this._enabled||2&this._level))return;var e=i.call(arguments),t=([this._tagText].concat(e),{type:"debug",tag:this.tag,args:e});if(this._predicate(t))return}},o.prototype.info=function(){if("true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG){if(!(this._enabled||4&this._level))return;var e=i.call(arguments),t=([this._tagText].concat(e),{type:"info",tag:this.tag,args:e});if(this._predicate(t))return}},o.prototype.warn=function(){if("true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG){if(!(this._enabled||8&this._level))return;var e=i.call(arguments),t=([this._tagText].concat(e),{type:"warn",tag:this.tag,args:e});if(this._predicate(t))return}},o.prototype.error=function(){if("true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG){if(!(this._enabled||this._level&r))return;var e=i.call(arguments),t=([this._tagText].concat(e),{type:"error",tag:this.tag,args:e});if(this._predicate(t))return}},e.exports=o},"6GOA":function(e,t,n){"use strict";function r(e,t,n){Error.call(this),this.message=t,this.code=e,this.status=n||0}r.prototype=new Error,r.prototype.constructor=r,r.prototype.name="RequestError",e.exports=r},"6GjV":function(e,t,n){"use strict";function r(e,t){this.url=e||"",this.status=t||0,this.headers=null,this.body=null,this.offline=!1,this.timing=null,this.ok=this.status>=200&&this.status<=299,this.metadata=null}r.prototype.getStatusFamily=function(){return 0|this.status/100},e.exports=r},"6POh":function(e){e.exports=JSON.parse('{"tagged":"5.17.0-3eb4b41","version":"5.17.0","revision":"3eb4b41"}')},"6s8r":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"6w3l":function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({BROWSER_ERROR:0,CONNECTION_ERROR:0,INFORMATIONAL:1,SUCCESS:2,REDIRECTION:3,CLIENT_ERROR:4,SERVER_ERROR:5})},"6xt7":function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({GET:"GET",POST:"POST",PUT:"PUT",DELETE:"DELETE",OPTIONS:"OPTIONS"})},"71kK":function(e,t,n){"use strict";var r=n("ovh1");e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},"73GF":function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,i=Object.prototype.toString,o=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i.call(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i.call(e)&&"[object Function]"===i.call(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},"76WR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(e){var t=this;this.cosmos=e,this.rules="",this.cosmos.sub("sp://product-state/v1/values/streaming-rules",function(e){t.rules=e["streaming-rules"]},function(){})}return e.prototype.streamingRules=function(){return this.rules},e}();t.default=r},"77OH":function(e,t,n){"use strict";t.Event=n("P1TA"),t.Method=n("6xt7"),t.StatusCode=n("1Wwy"),t.StatusFamily=n("6w3l");var r=n("eXcQ");t.INTERNAL_SOCKET_CLOSE_CODE=r.CLOSE,t.Endpoints,t.EndpointsProvider,t.TokenProvider,t.SessionProviders,t.SessionConfig,t.HTTPURI,t.HTTPArgs,t.HTTPResponse,t.DealerMessage,t.ClientEventData},"78+Y":function(e,t,n){"use strict";var r={object:!0,symbol:!0};e.exports=function(){var e;if("function"!=typeof Symbol)return!1;e=Symbol("test symbol");try{String(e)}catch(e){return!1}return!!r[typeof Symbol.iterator]&&!!r[typeof Symbol.toPrimitive]&&!!r[typeof Symbol.toStringTag]}},"79Um":function(e,t,n){"use strict";e.exports=function(e){this.get=e.get.bind(e),this.has=e.has.bind(e)}},"7C+0":function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,n){var r=e.call(this,n)||this;return r.path=t,r}return i(t,e),t}(Error);t.VError=o;var a=function(){function e(){}return e.prototype.fail=function(e,t,n){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(e){},e}();t.NoopContext=a;var s=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(e,t,n){return this._propNames.push(e),this._messages.push(t),this._score+=n,!1},e.prototype.unionResolver=function(){return new u},e.prototype.resolveUnion=function(e){for(var t,n,r=null,i=0,o=e.contexts;i<o.length;i++){var a=o[i];(!r||a._score>=r._score)&&(r=a)}r&&r._score>0&&((t=this._propNames).push.apply(t,r._propNames),(n=this._messages).push.apply(n,r._messages))},e.prototype.getError=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var i=this._messages[n];i&&t.push(e+" "+i)}return new o(e,t.join("; "))},e.prototype.getErrorDetail=function(e){for(var t=[],n=this._propNames.length-1;n>=0;n--){var r=this._propNames[n];e+="number"==typeof r?"["+r+"]":r?"."+r:"";var i=this._messages[n];i&&t.push({path:e,message:i})}var o=null;for(n=t.length-1;n>=0;n--)o&&(t[n].nested=[o]),o=t[n];return o},e}();t.DetailContext=s;var u=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var e=new s;return this.contexts.push(e),e},e}()},"7JHm":function(e,t,n){"use strict";t.counterDefaults={algo:"lin",baseTime:200,ceiling:0,curve:"linear"},t.backoffDefaults={algo:"lin",backoffInitial:!1,baseTime:200,ceiling:0,curve:"linear",maxDuration:1/0,maxRetries:1/0,maxTime:1/0,retryPredicate:function(){return!0}}},"7UEW":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){function e(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return e.prototype.memoize=function(e){if(this._hasWeakSet)return!!this._inner.has(e)||(this._inner.add(e),!1);for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e)return!0;return this._inner.push(e),!1},e.prototype.unmemoize=function(e){if(this._hasWeakSet)this._inner.delete(e);else for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e){this._inner.splice(t,1);break}},e}()},"7jSL":function(e,t,n){"use strict";e.exports=n("KAAb")()?String.prototype.contains:n("46zW")},"7jkd":function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({GET:"GET",POST:"POST",PUT:"PUT",DELETE:"DELETE",OPTIONS:"OPTIONS"})},"7oZZ":function(e,t,n){"use strict";function r(e,t){return e===t}function i(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){return i(t,n,arguments)||(o=e.apply(null,arguments)),n=arguments,o}}function a(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function s(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var o=0,s=r.pop(),u=a(r),c=e.apply(void 0,[function(){return o++,s.apply(null,arguments)}].concat(n)),l=e(function(){for(var e=[],t=u.length,n=0;n<t;n++)e.push(u[n].apply(null,arguments));return c.apply(null,e)});return l.resultFunc=s,l.dependencies=u,l.recomputations=function(){return o},l.resetRecomputations=function(){return o=0},l}}n.r(t),n.d(t,"defaultMemoize",function(){return o}),n.d(t,"createSelectorCreator",function(){return s}),n.d(t,"createSelector",function(){return u}),n.d(t,"createStructuredSelector",function(){return c});var u=s(o);function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u;if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}},"7tRA":function(e,t,n){"use strict";var r=n("asuC"),i=n("ahND"),o=n("eRm+"),a=n("6GOA"),s=n("s2Nl"),u=n("U3MV"),c=function(){},l={POST:!0,PUT:!0,DELETE:!0},f={json:!0,text:!0,document:!0},p={},h=r.resolve(p);function d(e,t){var n=t||{};this._url=e,this._method=(n.method||"GET").toUpperCase(),this._payload=n.payload||"",this._headers=n.headers||null,this._responseType=n.responseType||"",this._canceller=n.canceller||r.defer().promise,this._ignoreResponseBody=n.ignoreResponseBody,this._parseResponseHeaders=n.parseResponseHeaders,this._withCredentials="include"===n.credentials,this._forcePolyfill=n.forcePolyfill,this._timing=n.timing?{completed:0}:null,this._requestStartTime=0,this._xhr=new XMLHttpRequest,this._abort=this._abort.bind(this)}d.request=function(e,t){return new d(e,t).send()},d.prototype._abort=function(){this._xhr&&(this._xhr.abort(),this._xhr.onprogress=c,this._xhr.onerror=c,this._xhr.onreadystatechange=c,this._xhr=null)},d.prototype._handleStateChanged=function(e,t,n){this._xhr&&4===this._xhr.readyState&&(this._timing&&(this._timing.completed=Date.now()-this._requestStartTime),this._xhr.onprogress=null,this._xhr.onerror=null,this._xhr.onreadystatechange=null,r.race([this._canceller,h]).then(function(r){if(r===p&&this._xhr){var a=this._xhr;if(a){var u=a.status,c=new i(a.responseURL||e,u);if(c.body=null,n&&n.isOnline&&(c.offline=!n.isOnline()),(this._parseResponseHeaders||u>299)&&(c.headers=new o(a.getAllResponseHeaders())),!this._ignoreResponseBody&&u!==s.NO_CONTENT&&2===c.getStatusFamily()){var l=this._responseType;if(!this._forcePolyfill&&"response"in a&&l===a.responseType)c.body=a.response;else if("document"===l)c.body=a.responseXML;else if("json"===l)try{c.body=JSON.parse(a.responseText)}catch(e){c.body=null}else"text"!==l&&""!==l||(c.body=a.responseText)}c.timing=this._timing,t.resolve(c),this._xhr=null}}}.bind(this)).catch(function(){}))},d.prototype.send=function(){return r.race([this._canceller,h]).then(function(e){var t=r.defer();if(e!==p)return t.promise;var n=this._url;if(!n)return t.reject(new TypeError("Request URL cannot be blank.")),t.promise;var i=null,o=this._payload,s=this._method;s in l&&o?i=o:o&&(n+="?"+o);var h=this._xhr;if(!h)return t.reject(new Error("Request has been closed.")),t.promise;h.open(s,n,!0),h.onprogress=c,h.onerror=function(){t.reject(new a(u.HTTP_REQUEST_FAILED,"Request cannot be completed.",this.status)),this.onerror=c},h.onreadystatechange=this._handleStateChanged.bind(this,n,t);var d=this._responseType;if(d)if(this._forcePolyfill){if(!(d in f))return t.reject(new TypeError('Cannot polyfill responseType "'+d+'"')),t.promise}else{if(!("responseType"in h||d in f))return t.reject(new TypeError("Cannot set responseType: not supported in browser.")),t.promise;if(h.responseType=d,d!==this._xhr.responseType&&!(d in f))return t.reject(new TypeError('Unknown responseType "'+d+'".')),t.promise}var _=this._headers;if(_)for(var y in _)if(_.hasOwnProperty(y))try{h.setRequestHeader(y,_[y])}catch(e){return t.reject(e),t.promise}try{this._requestStartTime=Date.now(),h.send(i)}catch(e){t.reject(e)}return this._canceller.then(this._abort,this._abort),t.promise}.bind(this))},e.exports=d},"7xV0":function(e,t,n){"use strict";e.exports=[{label:"video-sw-decode",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[{contentType:'video/webm; codecs="vp8"',robustness:"SW_SECURE_DECODE"},{contentType:'video/mp4; codecs="avc1.4d401f"',robustness:"SW_SECURE_DECODE"},{contentType:'video/mp2t; codecs="avc1.4d401f"',robustness:"SW_SECURE_DECODE"}],distinctiveIdentifier:"optional",persistenceState:"optional",sessionTypes:["temporary"]},{label:"video-sw-crypto",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[{contentType:'video/webm; codecs="vp8"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp4; codecs="avc1.4d401f"',robustness:"SW_SECURE_CRYPTO"},{contentType:'video/mp2t; codecs="avc1.4d401f"',robustness:"SW_SECURE_CRYPTO"}],distinctiveIdentifier:"optional",persistenceState:"optional",sessionTypes:["temporary"]},{label:"video-no-robustness",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:""}],videoCapabilities:[{contentType:'video/webm; codecs="vp8"',robustness:""},{contentType:'video/mp4; codecs="avc1.4d401f"',robustness:""},{contentType:'video/mp2t; codecs="avc1.4d401f"',robustness:""}],distinctiveIdentifier:"optional",persistenceState:"optional",sessionTypes:["temporary"]},{label:"audio-sw-crypto",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:"SW_SECURE_CRYPTO"}],videoCapabilities:[],distinctiveIdentifier:"optional",persistenceState:"optional",sessionTypes:["temporary"]},{label:"audio-no-robustness",initDataTypes:["cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a.40.2"',robustness:""}],videoCapabilities:[],distinctiveIdentifier:"optional",persistenceState:"optional",sessionTypes:["temporary"]}]},"7xuQ":function(e,t,n){"use strict";e.exports={EMPTY:"",UNKNOWN:"unknown"}},"8/eb":function(e,t,n){"use strict";(function(t){var n,r=function(){};n="true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG?function(e){return t.Proxy&&"function"!=typeof t.Proxy.create&&"function"==typeof t.Proxy?new t.Proxy(e,{get:function(e,t){if(!e.hasOwnProperty(t))throw new ReferenceError("Unknown enum value "+t);return e[t]},set:r,delete:r}):e}:function(e){return e},e.exports=n}).call(this,n("pCvA"))},"8IsH":function(e,t,n){"use strict";function r(e,t){this.code=e,this.message=t,this.status=-1,this.maxedSubscriptions=!1,this.unrecoverable=!1,this.debug={}}r.prototype=new Error,r.prototype.constructor=new r,r.prototype.name="TrackPlayerAPIClientError",r.prototype.fatal=function(){return this.unrecoverable=!0,this},e.exports=r},"8Jek":function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},"8KUm":function(e,t,n){"use strict";(function(t){var r=n("asuC"),i=n("ahND"),o=n("H+5/"),a=n("s2Nl"),s={POST:!0,PUT:!0,DELETE:!0},u={json:!0,text:!0,arraybuffer:!0,blob:!0};function c(){return"function"==typeof t.fetch}e.exports={request:function(e,n){if(!c())return r.reject(new TypeError("Fetch is not supported"));var l=n||{};if(!e)return r.reject(new TypeError("Request URL cannot be blank."));var f=e,p=null,h=l.payload,d=(l.method||"GET").toUpperCase();d in s&&h?p=h:h&&(f+="?"+h);var _=l.responseType||"text";if(_&&!(_ in u))return r.reject(new TypeError("Cannot set responseType: not supported in browser."));var y=l.ignoreResponseBody,v={mode:l.mode||"cors",credentials:l.credentials||"same-origin",redirect:l.redirect||"follow",method:d};l.headers&&(v.headers=l.headers),p&&(v.body=p);var m=Date.now();return t.fetch(f,v).then(function(e){var t;t=y||e.status===a.NO_CONTENT?null:"json"===_?e.json().catch(function(){return null}):"arraybuffer"===_?e.arrayBuffer():"blob"===_?e.blob():e.text();var n=l.parseResponseHeaders||e.status>299?new o(e.headers):null;return r.all([e.url,e.status,n,t])}).then(function(e){var t=e[0],n=e[1],r=e[2],o=e[3],a=l.timing?Date.now()-m:null,s=new i(t,n);return s.body=o,s.headers=r,s.timing=l.timing?{completed:a}:null,s}).catch(function(){var e=l.timing?Date.now()-m:null,t=new i(f);return t.timing=l.timing?{completed:e}:null,t}).then(function(e){return l.connectionObserver&&(e.offline=!l.connectionObserver.isOnline()),e})},isSupported:c}}).call(this,n("pCvA"))},"8Pwi":function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({KEY_SESSION_MESSAGE:"message",KEY_SESSION_STATUSES_CHANGE:"keystatuseschange",MEDIA_SOURCE_OPEN:"sourceopen",MEDIA_SOURCE_CLOSE:"sourceclose",SOURCE_BUFFER_UPDATE_END:"updateend",MS_KEY_ADDED:"mskeyadded",MS_KEY_ERROR:"mskeyerror",MS_KEY_MESSAGE:"mskeymessage",MS_NEEDKEY:"msneedkey",V0_1B_KEY_ADDED:"keyadded",V0_1B_KEY_ERROR:"keyerror",V0_1B_KEY_MESSAGE:"keymessage",V0_1B_NEEDKEY:"needkey",MEDIA_CANPLAY:"canplay",MEDIA_CANPLAYTHROUGH:"canplaythrough",MEDIA_DURATIONCHANGE:"durationchange",MEDIA_ENCRYPTED:"encrypted",MEDIA_ENDED:"ended",MEDIA_ERROR:"error",MEDIA_LOADEDMETADATA:"loadedmetadata",MEDIA_PAUSE:"pause",MEDIA_PLAYING:"playing",MEDIA_SEEKING:"seeking",MEDIA_TIMEUPDATE:"timeupdate",MEDIA_WAITING:"waiting",INTERNAL_PLAYER_CANPLAY:"__canplay",INTERNAL_PLAYER_CANPLAYTHROUGH:"__canplaythrough",INTERNAL_MEDIA_REQUIRES_DURATION:"__requiresduration",INTERNAL_PLAYER_LOADED_METADATA:"__loadedmetadata",BUFFER_APPEND_ERROR:"append_error",BUFFER_QUOTA_EXCEEDED:"quota_exceeded",BUFFER_STALLED:"stalled",BUFFER_SOURCE_OPEN:"source_open",BUFFER_SOURCE_CLOSE:"source_close",BUFFERING_START:"buffering_start",BUFFERING_END:"buffering_end",EME_LICENSE_REQUEST_ERROR:"license_request_error",EME_LICENSE_REQUEST_CAPPED:"license_request_capped",LIST_PLAYER_AUTOPLAY_FAILED:"player_autoplay_failed",LIST_PLAYER_BEFORE_LIST_CHANGE:"before_list_change",LIST_PLAYER_BEFORE_NEXT:"before_next",LIST_PLAYER_BEFORE_PLAYER_LOAD:"before_player_load",LIST_PLAYER_BEFORE_PREVIOUS:"before_previous",LIST_PLAYER_BEFORE_TRACK_LOAD:"before_track_load",LIST_PLAYER_BEFORE_VOLUME_CHANGE:"before_volume_change",LIST_PLAYER_BUFFER_STALLED:"stalled",LIST_PLAYER_BUFFERING_START:"buffering_start",LIST_PLAYER_BUFFERING_END:"buffering_end",LIST_PLAYER_CAPPED:"capped",LIST_PLAYER_CLEARED:"cleared",LIST_PLAYER_DURATION_CHANGED:"duration_changed",LIST_PLAYER_ERROR:"error",LIST_PLAYER_ERROR_SYNC:"error_sync",LIST_PLAYER_LIST_CHANGED:"list_change",LIST_PLAYER_LIST_ENDED:"list_ended",LIST_PLAYER_LOAD_VIDEO:"load_video",LIST_PLAYER_MAX_LIST_ERRORS_REACHED:"max_list_errors_reached",LIST_PLAYER_PAUSED:"paused",LIST_PLAYER_PLAYED_THRESHOLD_REACHED:"played_threshold_reached",LIST_PLAYER_PLAYER_LOAD:"player_load",LIST_PLAYER_PLAYING:"playing",LIST_PLAYER_POSITION_CHANGED:"position_changed",LIST_PLAYER_PROGRESS:"progress",LIST_PLAYER_REPEAT_MODE_CHANGED:"repeat_mode_changed",LIST_PLAYER_SHUFFLE_CHANGED:"shuffle_changed",LIST_PLAYER_STOPPED:"stopped",LIST_PLAYER_STOPPED_VIDEO:"stopped_video",LIST_PLAYER_TRACKING_DATA_CREATED:"tracking_data_created",LIST_PLAYER_TRACKING_DATA_FINALIZED:"tracking_data_finalized",LIST_PLAYER_TRACK_ENDED:"track_ended",LIST_PLAYER_TRACK_LOADED:"track_loaded",LIST_PLAYER_TRACK_TIMEOUT:"track_timeout",LIST_PLAYER_TRACK_UNPLAYABLE:"track_unplayable",LIST_PLAYER_DATA_CREATED:"tracking_data_created",LIST_PLAYER_DATA_FINALIZED:"tracking_data_finalized",LIST_PLAYER_VOLUME_CHANGED:"volume_changed",LIST_PLAYER_VIDEO_ELEMENT_APPENDED:"video_element_appended",LIST_PLAYER_VIDEO_ELEMENT_REMOVED:"video_element_removed",LOGGER_ERROR:"error",PLAYER_AUTOPLAY_FAILED:"player_autoplay_failed",PLAYER_BEFORE_LOAD:"before_load",PLAYER_BEFORE_STOP:"before_stop",PLAYER_BEFORE_VOLUME_CHANGE:"before_volume_change",PLAYER_BUFFER_STALLED:"stalled",PLAYER_BUFFERING_START:"buffering_start",PLAYER_BUFFERING_END:"buffering_end",PLAYER_CAN_PRELOAD:"can_preload",PLAYER_CAPPED:"capped",PLAYER_DURATION_CHANGED:"duration_changed",PLAYER_ENDED:"ended",PLAYER_ENDED_VIDEO:"ended_video",PLAYER_ERROR:"error",PLAYER_WARNING:"warning",PLAYER_FIRST_BYTES:"first_bytes",PLAYER_KEY_RECEIVED:"key",PLAYER_LOAD:"load",PLAYER_LOAD_VIDEO:"load_video",PLAYER_LOADING_FAILED:"loading_failed",PLAYER_PAUSED:"paused",PLAYER_PLAYING:"playing",PLAYER_POSITION_CHANGED:"position_changed",PLAYER_PRELOADING_ERROR:"preloading_error",PLAYER_PROGRESS:"progress",PLAYER_STALLED:"stalled",PLAYER_STOPPED:"stopped",PLAYER_STOPPED_VIDEO:"stopped_video",PLAYER_PLAYED_THRESHOLD_REACHED:"played_threshold_reached",PLAYER_TIMEOUT:"timeout",PLAYER_PLAYBACK_START:"playback_start",PLAYER_TRACKING_DATA_CREATED:"tracking_data_created",PLAYER_TRACKING_DATA_FINALIZED:"tracking_data_finalized",PLAYER_VIDEO_ELEMENT_APPENDED:"video_element_appended",PLAYER_VIDEO_ELEMENT_REMOVED:"video_element_removed",PLAYER_MANAGER_READY:"ready",TRACKER_PLAYBACK_START:"playback_start",TRACKER_PLAYED_THRESHOLD_REACHED:"played_threshold_reached",TRACKER_TRACKING_DATA_CREATED:"tracking_data_created",TRACKER_TRACKING_DATA_FINALIZED:"tracking_data_finalized",ABR_MANAGER_BITRATE_CHANGE:"bitrate_change"})},"8VmE":function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},"8ZXl":function(e,t,n){"use strict";var r=n("qED0")();e.exports=function(e){return e!==r&&null!==e}},"8bWK":function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.WidevineStates=void 0,t.WidevineStates=r,function(e){e.SUCCESS="success",e.REGISTRATION_FAILED="registration_failed",e.REGISTRATION_NOT_ALLOWED="registration_not_allowed",e.DOWNLOAD_FAILED="download_failed",e.MAX_RETRIES="max_retries",e.TIMEOUT_EXCEEDED="timeout_exceeded",e.UNKNOWN_STATUS="unknown_status",e.INSTALL_DELAYED="install_delayed",e.INSTALL_NOT_STARTED="install_not_started",e.INSTALL_REQUESTED="install_requested",e.INSTALL_IN_PROGRESS="install_in_progress"}(r||(t.WidevineStates=r={}))},"8vwS":function(e,t,n){"use strict";var r=n("/ub/");e.exports=function(e){if(!e||e.length%2!=0)throw new TypeError("Invalid clientId value.");var t=e.match(/[0-9a-f]{2}?/g);if(!t||!t.length)throw new TypeError("Invalid clientId value.");var n=String.fromCharCode.apply(null,t.map(function(e){return parseInt(e,16)})),i=r.encode(n);return function(){return{name:"context_client_id",data:{value:i}}}}},"96yp":function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("XR8V"),o=r(n("WnZh")),a=n("yWAF"),s=n("gMC6"),u=n("jT1e"),c=n("3STj"),l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},f=i.shaka.util.Error.Code,p=function(){function e(e){var t=this;this.setPreferredSubtitle=function(){t.preferredSubtitleCode&&t.session&&t.session.setPreferredSubtitle(t.preferredSubtitleCode)};var n=e.productState,r=e.cancellationTokenSource,i=e.cosmos,o=e.abba,a=e.getWebgateHeaders,s=e.VideoPlayerErrorKM1,c=e.widevineDownloader,f=e.authTokenCallback,p=e.logError,h=e.logWarn,d=e.betamaxPlayerFactory,_=e.playerConfiguration;this.VideoPlayerErrorKM1=s,this.cosmos=i,this.widevineDownloader=c,this.abba=o,this.getWebgateHeaders=a,this.logError=p,this.logWarn=h,this.cancellationTokenSource=r,this.spotifyProductState=n,this.videoContextPlayerSub=null,this.contextPlayerVolumeSub=null,this.session=null,this.contextPlayerVolume=1,this.clientPlayerState=null,this.contextPlayerConfig=null,this.onClientPlayerStateUpdate=this.onClientPlayerStateUpdate.bind(this),this.didFinishVideoInClientPlayerCallback=null,this.CC_SUFFIX="-x-cc",this.authTokenCallback=f,this.playerConfiguration=_?l({},_):{subtitlesEnabled:!1},this.betamaxPlayer=d.createBetamaxPlayer(this.playerConfiguration),this.betamaxPlayer.on(u.VideoPlaybackEvents.MANIFEST_LOADED,this.setPreferredSubtitle)}return e.prototype.makeVideoContextPlayerCoordinatorError=function(e,t){var n=new Error(t);return n.name="VideoContextPlayerCoordinatorError",n.reason=e,n},e.prototype.backendErrorToContextPlayerError=function(e){if(!e)return null;if(!e.responseText&&!e.httpStatus)return e.error_code&&e.error_code===f.REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE?{type:"video_unsupported_key_system"}:6===e.error_category?{type:"video_playback_error"}:e.canRecover?null:{type:"unknown"};if(401===e.httpStatus)return{type:"video_playback_error"};var t=null;try{e.responseHeaders&&"content-type"in e.responseHeaders&&"application/json"===e.responseHeaders["content-type"]&&(t=JSON.parse(e.responseText).reason)}catch(e){return this.logError&&this.logError(e),{type:"unknown"}}switch(t){case"GEO_RESTRICTED":return{type:"video_georestricted"};case"UNSUPPORTED_CLIENT_VERSION":return{type:"video_unsupported_client_version"};case"UNSUPPORTED_PLATFORM_VERSION":return{type:"video_unsupported_platform_version"};case"COUNTRY_RESTRICTED":return{type:"video_country_restricted"};case"UNAVAILABLE":return{type:"video_unavailable"};case"CATALOGUE_RESTRICTED":return{type:"video_catalogue_restricted"};default:return{type:"unknown"}}},e.prototype.logVideoError=function(e,t,n,r,i){this.VideoPlayerErrorKM1&&this.VideoPlayerErrorKM1.log({file_id:n,uri:t,playback_id:r,local_time:(new Date).getTime(),name:e,message:JSON.stringify({kind:e,type:i?i.type:null,detail:i?i.detail:null})})},e.prototype.onClientPlayerStateUpdate=function(e,t,n){var r=this.backendErrorToContextPlayerError(e);if(r&&this.cosmos.post("sp://videoplayer/v1/error",r),n){var i=n.duration>0,o=n.currentTime>=0;if(n&&i&&o){var s=(0,a.pick)(["isPlaying","isPaused","isBuffering","isEnded","isError","isSeeking","duration"],n);if(!(0,a.equals)(s,this.clientPlayerState)){if(this.clientPlayerState=s,this.videoTrack){var u=n.duration>-1?Math.floor(1e3*n.duration):-1,c=n.currentTime>-1?Math.floor(1e3*n.currentTime):-1;this.cosmos.post("sp://videoplayer/v1/state",{playback_id:this.videoTrack.playback_id||"",is_paused:n.isPaused,is_buffering:n.isBuffering||!1,timestamp:(new Date).getTime(),playback_speed:n.isPlaying&&!n.isPaused?1:0,position_as_of_timestamp:c,duration:u})}n.isEnded&&this.finishCurrentVideoInClientPlayer("finished")}}}},e.prototype.createVideoPlayer=function(e,t,n){var r=this,i=(0,a.pathOr)(e,["track","track"],e),u="true"===(0,a.path)(["metadata",s.IS_ADVERTISMENT],i),f=(0,a.pathOr)("",["metadata","media.manifest_id"],i),p="";if(!f){try{var h=JSON.parse(i.metadata["media.manifest"]);p=o.default.getPreferredUrl(h)||""}catch(e){p=""}p||(p=(0,a.pathOr)("",["metadata","external_url"],i))}if(f||p){var d=(0,a.pathOr)("",["track","uri"],i),_=function(t){var n=r.spotifyProductState["widevine-license-url"];r.preferredSubtitleCode=r.getPrefSubtitleCodeFromContextPlayerConfig(r.contextPlayerConfig);var i=(e.seek_to||0)/1e3,o=!e.initially_paused;return Promise.all([r.abba.fetch("ab-video-subtitles"),r.abba.fetch("rollout_desktop_endvideo_event_api")]).then(function(h){var d=h[0],_=h[1],y=d&&"enabled"===d.toLowerCase(),v=_&&"enabled"===_.toLowerCase(),m=f?r.authTokenCallback:void 0;r.playerConfiguration.drm={servers:{"com.widevine.alpha":n},advanced:{"com.widevine.alpha":{videoRobustness:"SW_SECURE_DECODE",serverCertificate:t}}},r.playerConfiguration.widevineLicenseUrl=n,r.playerConfiguration.subtitlesEnabled=y,r.playerConfiguration.newEventApi=v,r.playerConfiguration.getToken=m,r.playerConfiguration.getWebgateHeaders=r.getWebgateHeaders;var g=(0,s.createMetadataWithEndVideoPrefix)(e),E=(0,a.pathOr)({},["track","track","metadata"],e),b={mediaUrl:f?c.SpotifyVideoUrl.create(f):p,isRoyaltyMedia:!u,metadata:l({},E,g)};return r.betamaxPlayer.setVolume(r.contextPlayerVolume),r.betamaxPlayer.playWithOptions(b,{playWhenReady:o,initialPosition:i})})};u?_(null).then(function(e){n(e?null:new Error("Failed to create client video player"),e)}):this.widevineDownloader.pollStatus(3e3,function(i){if(i){var o=r.makeVideoContextPlayerCoordinatorError("widevine-error",i.message);return o.widevineStatus=i.status,void n(o,null)}var a;r.widevineDownloader.downloadLicenseCertificate().then(function(e){a=e}).catch(function(t){a=null;var n=e.track.playback_id;r.logVideoError("widevine-server-certificate",d,f,n,t)}).then(function(){return t.isCanceled()?Promise.resolve(null):_(a)}).then(function(e){t.isCanceled()||n(e?null:new Error("Failed to create client video player"),e)})})}else{var y=this.makeVideoContextPlayerCoordinatorError("no-source-url","Cannot find a manifest ID nor a source URL in payload");n(y,null)}},e.prototype.processStartCommand=function(e,t,n){var r=this;this.createVideoPlayer(e,t,function(i,o){t.isCanceled()?n(t.operationCanceledError):(r.session=o,i?n(i,e,o):(r.videoTrack=e.track,r.session&&r.session.on(u.InternalEvents.CHANGE,r.onClientPlayerStateUpdate),n(i,e,o)))})},e.prototype.startSyncing=function(e,t,n){var r=this;this.widevineDownloader.startWatchingStatus(),this.didFinishVideoInClientPlayerCallback=n,this.videoContextPlayerSub=this.cosmos.sub("sp://videoplayer/v1/commands",function(n){var i=n||{};if("subscribed"!==i.type){e(null,i);var o=r.cancellationTokenSource.token();switch(i.type){case"start":r.finishCurrentVideoInStart(i.start_reason),r.processStartCommand(i,o,t);break;case"stop":r.finishCurrentVideoInClientPlayer("endplay"),t(null,i);break;case"pause":r.session&&r.session.pause(),t(null,i);break;case"resume":r.session&&("true"===(0,a.path)(["track","metadata","media.live"],r.videoTrack)&&r.session.seekTo(0),r.session.resume()),t(null,i);break;case"seek_to":if(r.session){var s=i.position||0;r.session.seekTo(s/1e3)}t(null,i);break;case"config":if(r.session){r.contextPlayerConfig=i.config;var u=r.getPrefSubtitleCodeFromContextPlayerConfig(i.config);r.session.setPreferredSubtitle(u)}t(null,i);break;case"prefetch_tracks":case"advance":t(null,i);break;default:r.logWarn&&r.logWarn("Unknown videoplayer cosmos command: ",i.type),t(null,i)}}else r.contextPlayerConfig=i.config},function(n){e(n),t(n)}),this.contextPlayerVolumeSub=this.cosmos.sub("sp://playback/v1/volume",function(e){var t=e;t&&"number"==typeof t.volume&&(r.contextPlayerVolume=t.volume,r.session&&r.session.setVolume(t.volume))},function(){})},e.prototype.notifySessionEnd=function(e,t){this.didFinishVideoInClientPlayerCallback&&this.didFinishVideoInClientPlayerCallback(e,t)},e.prototype.unsubscribeAndRemoveNode=function(){if(this.session){this.session.off(u.InternalEvents.CHANGE,this.onClientPlayerStateUpdate);var e=this.session.getNode();e&&e.remove()}},e.prototype.finishCurrentVideoInStart=function(e){this.videoTrack=null,this.clientPlayerState=null,this.session&&(this.unsubscribeAndRemoveNode(),this.session=null,this.notifySessionEnd(e))},e.prototype.stopSyncing=function(){this.videoContextPlayerSub&&(this.videoContextPlayerSub.cancel(),this.videoContextPlayerSub=null),this.contextPlayerVolumeSub&&(this.contextPlayerVolumeSub.cancel(),this.contextPlayerVolumeSub=null),this.session=null,this.contextPlayerVolume=1,this.clientPlayerState=null,this.videoTrack=null,this.didFinishVideoInClientPlayerCallback=null},e.prototype.finishCurrentVideoInClientPlayer=function(e,t){this.videoTrack=null,this.clientPlayerState=null,this.session&&(this.unsubscribeAndRemoveNode(),this.session.stop(),this.session=null,this.notifySessionEnd(e,t))},e.prototype.advanceContextPlayer=function(e,t,n){return this.session?(this.finishCurrentVideoInClientPlayer(e,t),n(new Error("Cannot advance before destroying client player")),!1):(r=t&&"unplayable"===e?{reason:e,unplayable_reason:t}:{reason:e},this.cosmos.post("sp://videoplayer/v1/advance",r).catch(function(e){return n(e)}),!0);var r},e.prototype.getPrefSubtitleCodeFromContextPlayerConfig=function(e){if(e){var t=e["video.subtitles"];return e["video.subtitles_cc"]&&t?t+this.CC_SUFFIX:t}return""},e}();t.default=p},"9K2m":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,_=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case f:case p:case a:case u:case s:case d:return e;default:switch(e=e&&e.$$typeof){case l:case h:case c:return e;default:return t}}case v:case y:case o:return t}}}function b(e){return E(e)===p}t.typeOf=E,t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=i,t.ForwardRef=h,t.Fragment=a,t.Lazy=v,t.Memo=y,t.Portal=o,t.Profiler=u,t.StrictMode=s,t.Suspense=d,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===u||e===s||e===d||e===_||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===y||e.$$typeof===c||e.$$typeof===l||e.$$typeof===h||e.$$typeof===m||e.$$typeof===g)},t.isAsyncMode=function(e){return b(e)||E(e)===f},t.isConcurrentMode=b,t.isContextConsumer=function(e){return E(e)===l},t.isContextProvider=function(e){return E(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return E(e)===h},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===v},t.isMemo=function(e){return E(e)===y},t.isPortal=function(e){return E(e)===o},t.isProfiler=function(e){return E(e)===u},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===d}},"9O1+":function(e,t,n){"use strict";e.exports=function(){var e=document.createEvent("Event");e.initEvent("encrypted",!1,!1),this.dispatchEvent(e)}},"9OMS":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n("fVVT"))&&r.__esModule?r:{default:r};t.default=i.default,e.exports=t.default},"9t1y":function(e,t,n){"use strict";var r=n("mXGw"),i=n("IL7q"),o=n("4DfG");function a(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return e.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}if(!r)throw a(Error(227));var s=null,u={};function c(){if(s)for(var e in u){var t=u[e],n=s.indexOf(e);if(!(-1<n))throw a(Error(96),e);if(!f[n]){if(!t.extractEvents)throw a(Error(97),e);for(var r in f[n]=t,n=t.eventTypes){var i=void 0,o=n[r],c=t,h=r;if(p.hasOwnProperty(h))throw a(Error(99),h);p[h]=o;var d=o.phasedRegistrationNames;if(d){for(i in d)d.hasOwnProperty(i)&&l(d[i],c,h);i=!0}else o.registrationName?(l(o.registrationName,c,h),i=!0):i=!1;if(!i)throw a(Error(98),r,e)}}}}function l(e,t,n){if(h[e])throw a(Error(100),e);h[e]=t,d[e]=t.eventTypes[n].dependencies}var f=[],p={},h={},d={};var _=!1,y=null,v=!1,m=null,g={onError:function(e){_=!0,y=e}};function E(e,t,n,r,i,o,a,s,u){_=!1,y=null,function(e,t,n,r,i,o,a,s,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}.apply(g,arguments)}var b=null,T=null,S=null;function R(e,t,n){var r=e.type||"unknown-event";e.currentTarget=S(n),function(e,t,n,r,i,o,s,u,c){if(E.apply(this,arguments),_){if(!_)throw a(Error(198));var l=y;_=!1,y=null,v||(v=!0,m=l)}}(r,t,void 0,e),e.currentTarget=null}function w(e,t){if(null==t)throw a(Error(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function O(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var A=null;function I(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)R(e,t[r],n[r]);else t&&R(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function N(e){if(null!==e&&(A=w(A,e)),e=A,A=null,e){if(O(e,I),A)throw a(Error(95));if(v)throw e=m,v=!1,m=null,e}}var C={injectEventPluginOrder:function(e){if(s)throw a(Error(101));s=Array.prototype.slice.call(e),c()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!u.hasOwnProperty(t)||u[t]!==r){if(u[t])throw a(Error(102),t);u[t]=r,n=!0}}n&&c()}};function P(e,t){var n=e.stateNode;if(!n)return null;var r=b(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw a(Error(231),t,typeof n);return n}var L=Math.random().toString(36).slice(2),k="__reactInternalInstance$"+L,D="__reactEventHandlers$"+L;function x(e){if(e[k])return e[k];for(;!e[k];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[k]).tag||6===e.tag?e:null}function M(e){return!(e=e[k])||5!==e.tag&&6!==e.tag?null:e}function U(e){if(5===e.tag||6===e.tag)return e.stateNode;throw a(Error(33))}function F(e){return e[D]||null}function j(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function B(e,t,n){(t=P(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=w(n._dispatchListeners,t),n._dispatchInstances=w(n._dispatchInstances,e))}function V(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=j(t);for(t=n.length;0<t--;)B(n[t],"captured",e);for(t=0;t<n.length;t++)B(n[t],"bubbled",e)}}function G(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=P(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=w(n._dispatchListeners,t),n._dispatchInstances=w(n._dispatchInstances,e))}function W(e){e&&e.dispatchConfig.registrationName&&G(e._targetInst,null,e)}function H(e){O(e,V)}var K=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement);function q(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Y={animationend:q("Animation","AnimationEnd"),animationiteration:q("Animation","AnimationIteration"),animationstart:q("Animation","AnimationStart"),transitionend:q("Transition","TransitionEnd")},z={},X={};function Q(e){if(z[e])return z[e];if(!Y[e])return e;var t,n=Y[e];for(t in n)if(n.hasOwnProperty(t)&&t in X)return z[e]=n[t];return e}K&&(X=document.createElement("div").style,"AnimationEvent"in window||(delete Y.animationend.animation,delete Y.animationiteration.animation,delete Y.animationstart.animation),"TransitionEvent"in window||delete Y.transitionend.transition);var J=Q("animationend"),$=Q("animationiteration"),Z=Q("animationstart"),ee=Q("transitionend"),te="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ne=null,re=null,ie=null;function oe(){if(ie)return ie;var e,t,n=re,r=n.length,i="value"in ne?ne.value:ne.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return ie=i.slice(e,1<t?1-t:void 0)}function ae(){return!0}function se(){return!1}function ue(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?ae:se,this.isPropagationStopped=se,this}function ce(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function le(e){if(!(e instanceof this))throw a(Error(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=ce,e.release=le}i(ue.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ae)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ae)},persist:function(){this.isPersistent=ae},isPersistent:se,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=se,this._dispatchInstances=this._dispatchListeners=null}}),ue.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ue.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(ue);var pe=ue.extend({data:null}),he=ue.extend({data:null}),de=[9,13,27,32],_e=K&&"CompositionEvent"in window,ye=null;K&&"documentMode"in document&&(ye=document.documentMode);var ve=K&&"TextEvent"in window&&!ye,me=K&&(!_e||ye&&8<ye&&11>=ye),ge=String.fromCharCode(32),Ee={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},be=!1;function Te(e,t){switch(e){case"keyup":return-1!==de.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Se(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Re=!1,we={eventTypes:Ee,extractEvents:function(e,t,n,r){var i=void 0,o=void 0;if(_e)e:{switch(e){case"compositionstart":i=Ee.compositionStart;break e;case"compositionend":i=Ee.compositionEnd;break e;case"compositionupdate":i=Ee.compositionUpdate;break e}i=void 0}else Re?Te(e,n)&&(i=Ee.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=Ee.compositionStart);return i?(me&&"ko"!==n.locale&&(Re||i!==Ee.compositionStart?i===Ee.compositionEnd&&Re&&(o=oe()):(re="value"in(ne=r)?ne.value:ne.textContent,Re=!0)),i=pe.getPooled(i,t,n,r),o?i.data=o:null!==(o=Se(n))&&(i.data=o),H(i),o=i):o=null,(e=ve?function(e,t){switch(e){case"compositionend":return Se(t);case"keypress":return 32!==t.which?null:(be=!0,ge);case"textInput":return(e=t.data)===ge&&be?null:e;default:return null}}(e,n):function(e,t){if(Re)return"compositionend"===e||!_e&&Te(e,t)?(e=oe(),ie=re=ne=null,Re=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return me&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=he.getPooled(Ee.beforeInput,t,n,r)).data=e,H(t)):t=null,null===o?t:null===t?o:[o,t]}},Oe=null,Ae=null,Ie=null;function Ne(e){if(e=T(e)){if("function"!=typeof Oe)throw a(Error(280));var t=b(e.stateNode);Oe(e.stateNode,e.type,t)}}function Ce(e){Ae?Ie?Ie.push(e):Ie=[e]:Ae=e}function Pe(){if(Ae){var e=Ae,t=Ie;if(Ie=Ae=null,Ne(e),t)for(e=0;e<t.length;e++)Ne(t[e])}}function Le(e,t){return e(t)}function ke(e,t,n,r){return e(t,n,r)}function De(){}var xe=Le,Me=!1;function Ue(){null===Ae&&null===Ie||(De(),Pe())}var Fe={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function je(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fe[e.type]:"textarea"===t}function Be(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Ve(e){if(!K)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}function Ge(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function We(e){e._valueTracker||(e._valueTracker=function(e){var t=Ge(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function He(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ge(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var Ke=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ke.hasOwnProperty("ReactCurrentDispatcher")||(Ke.ReactCurrentDispatcher={current:null}),Ke.hasOwnProperty("ReactCurrentBatchConfig")||(Ke.ReactCurrentBatchConfig={suspense:null});var qe=/^(.*)[\\\/]/,Ye="function"==typeof Symbol&&Symbol.for,ze=Ye?Symbol.for("react.element"):60103,Xe=Ye?Symbol.for("react.portal"):60106,Qe=Ye?Symbol.for("react.fragment"):60107,Je=Ye?Symbol.for("react.strict_mode"):60108,$e=Ye?Symbol.for("react.profiler"):60114,Ze=Ye?Symbol.for("react.provider"):60109,et=Ye?Symbol.for("react.context"):60110,tt=Ye?Symbol.for("react.concurrent_mode"):60111,nt=Ye?Symbol.for("react.forward_ref"):60112,rt=Ye?Symbol.for("react.suspense"):60113,it=Ye?Symbol.for("react.suspense_list"):60120,ot=Ye?Symbol.for("react.memo"):60115,at=Ye?Symbol.for("react.lazy"):60116;Ye&&Symbol.for("react.fundamental"),Ye&&Symbol.for("react.responder");var st="function"==typeof Symbol&&Symbol.iterator;function ut(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=st&&e[st]||e["@@iterator"])?e:null}function ct(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Qe:return"Fragment";case Xe:return"Portal";case $e:return"Profiler";case Je:return"StrictMode";case rt:return"Suspense";case it:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case et:return"Context.Consumer";case Ze:return"Context.Provider";case nt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case ot:return ct(e.type);case at:if(e=1===e._status?e._result:null)return ct(e)}return null}function lt(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=ct(e.type);n=null,r&&(n=ct(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(qe,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}var ft=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pt=Object.prototype.hasOwnProperty,ht={},dt={};function _t(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var yt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){yt[e]=new _t(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];yt[t]=new _t(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){yt[e]=new _t(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){yt[e]=new _t(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){yt[e]=new _t(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){yt[e]=new _t(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){yt[e]=new _t(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){yt[e]=new _t(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){yt[e]=new _t(e,5,!1,e.toLowerCase(),null,!1)});var vt=/[\-:]([a-z])/g;function mt(e){return e[1].toUpperCase()}function gt(e,t,n,r){var i=yt.hasOwnProperty(t)?yt[t]:null;(null!==i?0===i.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!pt.call(dt,e)||!pt.call(ht,e)&&(ft.test(e)?dt[e]=!0:(ht[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function Et(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function bt(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Tt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Et(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function St(e,t){null!=(t=t.checked)&&gt(e,"checked",t,!1)}function Rt(e,t){St(e,t);var n=Et(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ot(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ot(e,t.type,Et(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function wt(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ot(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(vt,mt);yt[t]=new _t(t,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(vt,mt);yt[t]=new _t(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(vt,mt);yt[t]=new _t(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){yt[e]=new _t(e,1,!1,e.toLowerCase(),null,!1)}),yt.xlinkHref=new _t("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){yt[e]=new _t(e,1,!1,e.toLowerCase(),null,!0)});var At={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function It(e,t,n){return(e=ue.getPooled(At.change,e,t,n)).type="change",Ce(n),H(e),e}var Nt=null,Ct=null;function Pt(e){N(e)}function Lt(e){if(He(U(e)))return e}function kt(e,t){if("change"===e)return t}var Dt=!1;function xt(){Nt&&(Nt.detachEvent("onpropertychange",Mt),Ct=Nt=null)}function Mt(e){if("value"===e.propertyName&&Lt(Ct))if(e=It(Ct,e,Be(e)),Me)N(e);else{Me=!0;try{Le(Pt,e)}finally{Me=!1,Ue()}}}function Ut(e,t,n){"focus"===e?(xt(),Ct=n,(Nt=t).attachEvent("onpropertychange",Mt)):"blur"===e&&xt()}function Ft(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Lt(Ct)}function jt(e,t){if("click"===e)return Lt(t)}function Bt(e,t){if("input"===e||"change"===e)return Lt(t)}K&&(Dt=Ve("input")&&(!document.documentMode||9<document.documentMode));var Vt={eventTypes:At,_isInputEventSupported:Dt,extractEvents:function(e,t,n,r){var i=t?U(t):window,o=void 0,a=void 0,s=i.nodeName&&i.nodeName.toLowerCase();if("select"===s||"input"===s&&"file"===i.type?o=kt:je(i)?Dt?o=Bt:(o=Ft,a=Ut):(s=i.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(o=jt),o&&(o=o(e,t)))return It(o,n,r);a&&a(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ot(i,"number",i.value)}},Gt=ue.extend({view:null,detail:null}),Wt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ht(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Wt[e])&&!!t[e]}function Kt(){return Ht}var qt=0,Yt=0,zt=!1,Xt=!1,Qt=Gt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Kt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=qt;return qt=e.screenX,zt?"mousemove"===e.type?e.screenX-t:0:(zt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Yt;return Yt=e.screenY,Xt?"mousemove"===e.type?e.screenY-t:0:(Xt=!0,0)}}),Jt=Qt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),$t={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Zt={eventTypes:$t,extractEvents:function(e,t,n,r){var i="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(i&&(n.relatedTarget||n.fromElement)||!o&&!i)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,o?(o=t,t=(t=n.relatedTarget||n.toElement)?x(t):null):o=null,o===t)return null;var a=void 0,s=void 0,u=void 0,c=void 0;"mouseout"===e||"mouseover"===e?(a=Qt,s=$t.mouseLeave,u=$t.mouseEnter,c="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Jt,s=$t.pointerLeave,u=$t.pointerEnter,c="pointer");var l=null==o?i:U(o);if(i=null==t?i:U(t),(e=a.getPooled(s,o,n,r)).type=c+"leave",e.target=l,e.relatedTarget=i,(n=a.getPooled(u,t,n,r)).type=c+"enter",n.target=i,n.relatedTarget=l,r=t,o&&r)e:{for(i=r,c=0,a=t=o;a;a=j(a))c++;for(a=0,u=i;u;u=j(u))a++;for(;0<c-a;)t=j(t),c--;for(;0<a-c;)i=j(i),a--;for(;c--;){if(t===i||t===i.alternate)break e;t=j(t),i=j(i)}t=null}else t=null;for(i=t,t=[];o&&o!==i&&(null===(c=o.alternate)||c!==i);)t.push(o),o=j(o);for(o=[];r&&r!==i&&(null===(c=r.alternate)||c!==i);)o.push(r),r=j(r);for(r=0;r<t.length;r++)G(t[r],"bubbled",e);for(r=o.length;0<r--;)G(o[r],"captured",n);return[e,n]}};function en(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var tn=Object.prototype.hasOwnProperty;function nn(e,t){if(en(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!tn.call(t,n[r])||!en(e[n[r]],t[n[r]]))return!1;return!0}function rn(e,t){return{responder:e,props:t}}function on(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function an(e){if(2!==on(e))throw a(Error(188))}function sn(e){if(!(e=function(e){var t=e.alternate;if(!t){if(3===(t=on(e)))throw a(Error(188));return 1===t?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return an(i),e;if(o===r)return an(i),t;o=o.sibling}throw a(Error(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw a(Error(189))}}if(n.alternate!==r)throw a(Error(190))}if(3!==n.tag)throw a(Error(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}new Map,new Map,new Set,new Map;var un=ue.extend({animationName:null,elapsedTime:null,pseudoElement:null}),cn=ue.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ln=Gt.extend({relatedTarget:null});function fn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}for(var pn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},dn=Gt.extend({key:function(e){if(e.key){var t=pn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=fn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?hn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Kt,charCode:function(e){return"keypress"===e.type?fn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?fn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_n=Qt.extend({dataTransfer:null}),yn=Gt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Kt}),vn=ue.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),mn=Qt.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),gn=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[J,"animationEnd",2],[$,"animationIteration",2],[Z,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[ee,"transitionEnd",2],["waiting","waiting",2]],En={},bn={},Tn=0;Tn<gn.length;Tn++){var Sn=gn[Tn],Rn=Sn[0],wn=Sn[1],On=Sn[2],An="on"+(wn[0].toUpperCase()+wn.slice(1)),In={phasedRegistrationNames:{bubbled:An,captured:An+"Capture"},dependencies:[Rn],eventPriority:On};En[wn]=In,bn[Rn]=In}var Nn={eventTypes:En,getEventPriority:function(e){return void 0!==(e=bn[e])?e.eventPriority:2},extractEvents:function(e,t,n,r){var i=bn[e];if(!i)return null;switch(e){case"keypress":if(0===fn(n))return null;case"keydown":case"keyup":e=dn;break;case"blur":case"focus":e=ln;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Qt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=_n;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=yn;break;case J:case $:case Z:e=un;break;case ee:e=vn;break;case"scroll":e=Gt;break;case"wheel":e=mn;break;case"copy":case"cut":case"paste":e=cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Jt;break;default:e=ue}return H(t=e.getPooled(i,t,n,r)),t}},Cn=Nn.getEventPriority,Pn=[];function Ln(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r;for(r=n;r.return;)r=r.return;if(!(r=3!==r.tag?null:r.stateNode.containerInfo))break;e.ancestors.push(n),n=x(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=Be(e.nativeEvent);r=e.topLevelType;for(var o=e.nativeEvent,a=null,s=0;s<f.length;s++){var u=f[s];u&&(u=u.extractEvents(r,t,o,i))&&(a=w(a,u))}N(a)}}var kn=!0;function Dn(e,t){xn(t,e,!1)}function xn(e,t,n){switch(Cn(t)){case 0:var r=function(e,t,n){Me||De();var r=Mn,i=Me;Me=!0;try{ke(r,e,t,n)}finally{(Me=i)||Ue()}}.bind(null,t,1);break;case 1:r=function(e,t,n){Mn(e,t,n)}.bind(null,t,1);break;default:r=Mn.bind(null,t,1)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Mn(e,t,n){if(kn){if(null===(t=x(t=Be(n)))||"number"!=typeof t.tag||2===on(t)||(t=null),Pn.length){var r=Pn.pop();r.topLevelType=e,r.nativeEvent=n,r.targetInst=t,e=r}else e={topLevelType:e,nativeEvent:n,targetInst:t,ancestors:[]};try{if(n=e,Me)Ln(n);else{Me=!0;try{xe(Ln,n,void 0)}finally{Me=!1,Ue()}}}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Pn.length&&Pn.push(e)}}}var Un=new("function"==typeof WeakMap?WeakMap:Map);function Fn(e){var t=Un.get(e);return void 0===t&&(t=new Set,Un.set(e,t)),t}function jn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Bn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Vn(e,t){var n,r=Bn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Bn(r)}}function Gn(){for(var e=window,t=jn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=jn((e=t.contentWindow).document)}return t}function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Hn=K&&"documentMode"in document&&11>=document.documentMode,Kn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},qn=null,Yn=null,zn=null,Xn=!1;function Qn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Xn||null==qn||qn!==jn(n)?null:(n="selectionStart"in(n=qn)&&Wn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},zn&&nn(zn,n)?null:(zn=n,(e=ue.getPooled(Kn.select,Yn,e,t)).type="select",e.target=qn,H(e),e))}var Jn={eventTypes:Kn,extractEvents:function(e,t,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){e:{o=Fn(o),i=d.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?U(t):window,e){case"focus":(je(o)||"true"===o.contentEditable)&&(qn=o,Yn=t,zn=null);break;case"blur":zn=Yn=qn=null;break;case"mousedown":Xn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Xn=!1,Qn(n,r);case"selectionchange":if(Hn)break;case"keydown":case"keyup":return Qn(n,r)}return null}};function $n(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function Zn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Et(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function er(e,t){if(null!=t.dangerouslySetInnerHTML)throw a(Error(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function tr(e,t){var n=t.value;if(null==n){if(n=t.defaultValue,null!=(t=t.children)){if(null!=n)throw a(Error(92));if(Array.isArray(t)){if(!(1>=t.length))throw a(Error(93));t=t[0]}n=t}null==n&&(n="")}e._wrapperState={initialValue:Et(n)}}function nr(e,t){var n=Et(t.value),r=Et(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function rr(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}C.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),b=F,T=M,S=U,C.injectEventPluginsByName({SimpleEventPlugin:Nn,EnterLeaveEventPlugin:Zt,ChangeEventPlugin:Vt,SelectEventPlugin:Jn,BeforeInputEventPlugin:we});var ir={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function or(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ar(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?or(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var sr=void 0,ur=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==ir.svg||"innerHTML"in e)e.innerHTML=t;else{for((sr=sr||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=sr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function cr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var lr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fr=["Webkit","ms","Moz","O"];function pr(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||lr.hasOwnProperty(e)&&lr[e]?(""+t).trim():t+"px"}function hr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=pr(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(lr).forEach(function(e){fr.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),lr[t]=lr[e]})});var dr=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _r(e,t){if(t){if(dr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw a(Error(137),e,"");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw a(Error(60));if(!("object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw a(Error(61))}if(null!=t.style&&"object"!=typeof t.style)throw a(Error(62),"")}}function yr(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function vr(e,t){var n=Fn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=d[t];for(var r=0;r<t.length;r++){var i=t[r];if(!n.has(i)){switch(i){case"scroll":xn(e,"scroll",!0);break;case"focus":case"blur":xn(e,"focus",!0),xn(e,"blur",!0),n.add("blur"),n.add("focus");break;case"cancel":case"close":Ve(i)&&xn(e,i,!0);break;case"invalid":case"submit":case"reset":break;default:-1===te.indexOf(i)&&Dn(i,e)}n.add(i)}}}function mr(){}var gr=null,Er=null;function br(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Tr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Sr="function"==typeof setTimeout?setTimeout:void 0,Rr="function"==typeof clearTimeout?clearTimeout:void 0;function wr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}new Set;var Or=[],Ar=-1;function Ir(e){0>Ar||(e.current=Or[Ar],Or[Ar]=null,Ar--)}function Nr(e,t){Or[++Ar]=e.current,e.current=t}var Cr={},Pr={current:Cr},Lr={current:!1},kr=Cr;function Dr(e,t){var n=e.type.contextTypes;if(!n)return Cr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function xr(e){return null!=e.childContextTypes}function Mr(e){Ir(Lr),Ir(Pr)}function Ur(e){Ir(Lr),Ir(Pr)}function Fr(e,t,n){if(Pr.current!==Cr)throw a(Error(168));Nr(Pr,t),Nr(Lr,n)}function jr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw a(Error(108),ct(t)||"Unknown",o);return i({},n,r)}function Br(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Cr,kr=Pr.current,Nr(Pr,t),Nr(Lr,Lr.current),!0}function Vr(e,t,n){var r=e.stateNode;if(!r)throw a(Error(169));n?(t=jr(e,t,kr),r.__reactInternalMemoizedMergedChildContext=t,Ir(Lr),Ir(Pr),Nr(Pr,t)):Ir(Lr),Nr(Lr,n)}var Gr=o.unstable_runWithPriority,Wr=o.unstable_scheduleCallback,Hr=o.unstable_cancelCallback,Kr=o.unstable_shouldYield,qr=o.unstable_requestPaint,Yr=o.unstable_now,zr=o.unstable_getCurrentPriorityLevel,Xr=o.unstable_ImmediatePriority,Qr=o.unstable_UserBlockingPriority,Jr=o.unstable_NormalPriority,$r=o.unstable_LowPriority,Zr=o.unstable_IdlePriority,ei={},ti=void 0!==qr?qr:function(){},ni=null,ri=null,ii=!1,oi=Yr(),ai=1e4>oi?Yr:function(){return Yr()-oi};function si(){switch(zr()){case Xr:return 99;case Qr:return 98;case Jr:return 97;case $r:return 96;case Zr:return 95;default:throw a(Error(332))}}function ui(e){switch(e){case 99:return Xr;case 98:return Qr;case 97:return Jr;case 96:return $r;case 95:return Zr;default:throw a(Error(332))}}function ci(e,t){return e=ui(e),Gr(e,t)}function li(e,t,n){return e=ui(e),Wr(e,t,n)}function fi(e){return null===ni?(ni=[e],ri=Wr(Xr,hi)):ni.push(e),ei}function pi(){null!==ri&&Hr(ri),hi()}function hi(){if(!ii&&null!==ni){ii=!0;var e=0;try{var t=ni;ci(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),ni=null}catch(t){throw null!==ni&&(ni=ni.slice(e+1)),Wr(Xr,pi),t}finally{ii=!1}}}function di(e,t){return 1073741823===t?99:1===t?95:0>=(e=10*(1073741821-t)-10*(1073741821-e))?99:250>=e?98:5250>=e?97:95}function _i(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var yi={current:null},vi=null,mi=null,gi=null;function Ei(){gi=mi=vi=null}function bi(e,t){var n=e.type._context;Nr(yi,n._currentValue),n._currentValue=t}function Ti(e){var t=yi.current;Ir(yi),e.type._context._currentValue=t}function Si(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function Ri(e,t){vi=e,gi=mi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(ua=!0),e.firstContext=null)}function wi(e,t){if(gi!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(gi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===mi){if(null===vi)throw a(Error(308));mi=t,vi.dependencies={expirationTime:0,firstContext:t,responders:null}}else mi=mi.next=t;return e._currentValue}var Oi=!1;function Ai(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ii(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ni(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Ci(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Pi(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=Ai(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=Ai(e.memoizedState),i=n.updateQueue=Ai(n.memoizedState)):r=e.updateQueue=Ii(i):null===i&&(i=n.updateQueue=Ii(r));null===i||r===i?Ci(r,t):null===r.lastUpdate||null===i.lastUpdate?(Ci(r,t),Ci(i,t)):(Ci(r,t),i.lastUpdate=t)}function Li(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=Ai(e.memoizedState):ki(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function ki(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Ii(t)),t}function Di(e,t,n,r,o,a){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(a,r,o):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(o="function"==typeof(e=n.payload)?e.call(a,r,o):e))break;return i({},r,o);case 2:Oi=!0}return r}function xi(e,t,n,r,i){Oi=!1;for(var o=(t=ki(e,t)).baseState,a=null,s=0,u=t.firstUpdate,c=o;null!==u;){var l=u.expirationTime;l<i?(null===a&&(a=u,o=c),s<l&&(s=l)):(js(l,u.suspenseConfig),c=Di(e,0,u,c,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(l=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f<i?(null===l&&(l=u,null===a&&(o=c)),s<f&&(s=f)):(c=Di(e,0,u,c,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===a&&(t.lastUpdate=null),null===l?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===l&&(o=c),t.baseState=o,t.firstUpdate=a,t.firstCapturedUpdate=l,e.expirationTime=s,e.memoizedState=c}function Mi(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),Ui(t.firstEffect,n),t.firstEffect=t.lastEffect=null,Ui(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function Ui(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;if("function"!=typeof n)throw a(Error(191),n);n.call(r)}e=e.nextEffect}}var Fi=Ke.ReactCurrentBatchConfig,ji=(new r.Component).refs;function Bi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var Vi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===on(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Os(),i=Fi.suspense;(i=Ni(r=As(r,e,i),i)).payload=t,null!=n&&(i.callback=n),Pi(e,i),Ns(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Os(),i=Fi.suspense;(i=Ni(r=As(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),Pi(e,i),Ns(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Os(),r=Fi.suspense;(r=Ni(n=As(n,e,r),r)).tag=2,null!=t&&(r.callback=t),Pi(e,r),Ns(e,n)}};function Gi(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&nn(n,r)&&nn(i,o))}function Wi(e,t,n){var r=!1,i=Cr,o=t.contextType;return"object"==typeof o&&null!==o?o=wi(o):(i=xr(t)?kr:Pr.current,o=(r=null!=(r=t.contextTypes))?Dr(e,i):Cr),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Vi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Hi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Vi.enqueueReplaceState(t,t.state,null)}function Ki(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=ji;var o=t.contextType;"object"==typeof o&&null!==o?i.context=wi(o):(o=xr(t)?kr:Pr.current,i.context=Dr(e,o)),null!==(o=e.updateQueue)&&(xi(e,o,n,i,r),i.state=e.memoizedState),"function"==typeof(o=t.getDerivedStateFromProps)&&(Bi(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Vi.enqueueReplaceState(i,i.state,null),null!==(o=e.updateQueue)&&(xi(e,o,n,i,r),i.state=e.memoizedState)),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var qi=Array.isArray;function Yi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;if(n){if(1!==n.tag)throw a(Error(309));r=n.stateNode}if(!r)throw a(Error(147),e);var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===ji&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw a(Error(284));if(!n._owner)throw a(Error(290),e)}return e}function zi(e,t){if("textarea"!==e.type)throw a(Error(31),"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function Xi(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return(e=Zs(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=nu(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=Yi(e,t,n),r.return=e,r):((r=eu(n.type,n.key,n.props,null,e.mode,r)).ref=Yi(e,t,n),r.return=e,r)}function l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=ru(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=tu(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=nu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ze:return(n=eu(t.type,t.key,t.props,null,e.mode,n)).ref=Yi(e,null,t),n.return=e,n;case Xe:return(t=ru(t,e.mode,n)).return=e,t}if(qi(t)||ut(t))return(t=tu(t,e.mode,n,null)).return=e,t;zi(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ze:return n.key===i?n.type===Qe?f(e,t,n.props.children,r,i):c(e,t,n,r):null;case Xe:return n.key===i?l(e,t,n,r):null}if(qi(n)||ut(n))return null!==i?null:f(e,t,n,r,null);zi(e,n)}return null}function d(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ze:return e=e.get(null===r.key?n:r.key)||null,r.type===Qe?f(t,e,r.props.children,i,r.key):c(t,e,r,i);case Xe:return l(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(qi(r)||ut(r))return f(t,e=e.get(n)||null,r,i,null);zi(t,r)}return null}function _(i,a,s,u){for(var c=null,l=null,f=a,_=a=0,y=null;null!==f&&_<s.length;_++){f.index>_?(y=f,f=null):y=f.sibling;var v=h(i,f,s[_],u);if(null===v){null===f&&(f=y);break}e&&f&&null===v.alternate&&t(i,f),a=o(v,a,_),null===l?c=v:l.sibling=v,l=v,f=y}if(_===s.length)return n(i,f),c;if(null===f){for(;_<s.length;_++)null!==(f=p(i,s[_],u))&&(a=o(f,a,_),null===l?c=f:l.sibling=f,l=f);return c}for(f=r(i,f);_<s.length;_++)null!==(y=d(f,i,_,s[_],u))&&(e&&null!==y.alternate&&f.delete(null===y.key?_:y.key),a=o(y,a,_),null===l?c=y:l.sibling=y,l=y);return e&&f.forEach(function(e){return t(i,e)}),c}function y(i,s,u,c){var l=ut(u);if("function"!=typeof l)throw a(Error(150));if(null==(u=l.call(u)))throw a(Error(151));for(var f=l=null,_=s,y=s=0,v=null,m=u.next();null!==_&&!m.done;y++,m=u.next()){_.index>y?(v=_,_=null):v=_.sibling;var g=h(i,_,m.value,c);if(null===g){null===_&&(_=v);break}e&&_&&null===g.alternate&&t(i,_),s=o(g,s,y),null===f?l=g:f.sibling=g,f=g,_=v}if(m.done)return n(i,_),l;if(null===_){for(;!m.done;y++,m=u.next())null!==(m=p(i,m.value,c))&&(s=o(m,s,y),null===f?l=m:f.sibling=m,f=m);return l}for(_=r(i,_);!m.done;y++,m=u.next())null!==(m=d(_,i,y,m.value,c))&&(e&&null!==m.alternate&&_.delete(null===m.key?y:m.key),s=o(m,s,y),null===f?l=m:f.sibling=m,f=m);return e&&_.forEach(function(e){return t(i,e)}),l}return function(e,r,o,u){var c="object"==typeof o&&null!==o&&o.type===Qe&&null===o.key;c&&(o=o.props.children);var l="object"==typeof o&&null!==o;if(l)switch(o.$$typeof){case ze:e:{for(l=o.key,c=r;null!==c;){if(c.key===l){if(7===c.tag?o.type===Qe:c.elementType===o.type){n(e,c.sibling),(r=i(c,o.type===Qe?o.props.children:o.props)).ref=Yi(e,c,o),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}o.type===Qe?((r=tu(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=eu(o.type,o.key,o.props,null,e.mode,u)).ref=Yi(e,r,o),u.return=e,e=u)}return s(e);case Xe:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=ru(o,e.mode,u)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=nu(o,e.mode,u)).return=e,e=r),s(e);if(qi(o))return _(e,r,o,u);if(ut(o))return y(e,r,o,u);if(l&&zi(e,o),void 0===o&&!c)switch(e.tag){case 1:case 0:throw e=e.type,a(Error(152),e.displayName||e.name||"Component")}return n(e,r)}}var Qi=Xi(!0),Ji=Xi(!1),$i={},Zi={current:$i},eo={current:$i},to={current:$i};function no(e){if(e===$i)throw a(Error(174));return e}function ro(e,t){Nr(to,t),Nr(eo,e),Nr(Zi,$i);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ar(null,"");break;default:t=ar(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}Ir(Zi),Nr(Zi,t)}function io(e){Ir(Zi),Ir(eo),Ir(to)}function oo(e){no(to.current);var t=no(Zi.current),n=ar(t,e.type);t!==n&&(Nr(eo,e),Nr(Zi,n))}function ao(e){eo.current===e&&(Ir(Zi),Ir(eo))}var so=1,uo=1,co=2,lo={current:0};function fo(e){for(var t=e;null!==t;){if(13===t.tag){if(null!==t.memoizedState)return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var po=0,ho=2,_o=4,yo=8,vo=16,mo=32,go=64,Eo=128,bo=Ke.ReactCurrentDispatcher,To=0,So=null,Ro=null,wo=null,Oo=null,Ao=null,Io=null,No=0,Co=null,Po=0,Lo=!1,ko=null,Do=0;function xo(){throw a(Error(321))}function Mo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!en(e[n],t[n]))return!1;return!0}function Uo(e,t,n,r,i,o){if(To=o,So=t,wo=null!==e?e.memoizedState:null,bo.current=null===wo?Qo:Jo,t=n(r,i),Lo){do{Lo=!1,Do+=1,wo=null!==e?e.memoizedState:null,Io=Oo,Co=Ao=Ro=null,bo.current=Jo,t=n(r,i)}while(Lo);ko=null,Do=0}if(bo.current=Xo,(e=So).memoizedState=Oo,e.expirationTime=No,e.updateQueue=Co,e.effectTag|=Po,e=null!==Ro&&null!==Ro.next,To=0,Io=Ao=Oo=wo=Ro=So=null,No=0,Co=null,Po=0,e)throw a(Error(300));return t}function Fo(){bo.current=Xo,To=0,Io=Ao=Oo=wo=Ro=So=null,No=0,Co=null,Po=0,Lo=!1,ko=null,Do=0}function jo(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Ao?Oo=Ao=e:Ao=Ao.next=e,Ao}function Bo(){if(null!==Io)Io=(Ao=Io).next,wo=null!==(Ro=wo)?Ro.next:null;else{if(null===wo)throw a(Error(310));var e={memoizedState:(Ro=wo).memoizedState,baseState:Ro.baseState,queue:Ro.queue,baseUpdate:Ro.baseUpdate,next:null};Ao=null===Ao?Oo=e:Ao.next=e,wo=Ro.next}return Ao}function Vo(e,t){return"function"==typeof t?t(e):t}function Go(e){var t=Bo(),n=t.queue;if(null===n)throw a(Error(311));if(n.lastRenderedReducer=e,0<Do){var r=n.dispatch;if(null!==ko){var i=ko.get(n);if(void 0!==i){ko.delete(n);var o=t.memoizedState;do{o=e(o,i.action),i=i.next}while(null!==i);return en(o,t.memoizedState)||(ua=!0),t.memoizedState=o,t.baseUpdate===n.last&&(t.baseState=o),n.lastRenderedState=o,[o,r]}}return[t.memoizedState,r]}r=n.last;var s=t.baseUpdate;if(o=t.baseState,null!==s?(null!==r&&(r.next=null),r=s.next):r=null!==r?r.next:null,null!==r){var u=i=null,c=r,l=!1;do{var f=c.expirationTime;f<To?(l||(l=!0,u=s,i=o),f>No&&(No=f)):(js(f,c.suspenseConfig),o=c.eagerReducer===e?c.eagerState:e(o,c.action)),s=c,c=c.next}while(null!==c&&c!==r);l||(u=s,i=o),en(o,t.memoizedState)||(ua=!0),t.memoizedState=o,t.baseUpdate=u,t.baseState=i,n.lastRenderedState=o}return[t.memoizedState,n.dispatch]}function Wo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Co?(Co={lastEffect:null}).lastEffect=e.next=e:null===(t=Co.lastEffect)?Co.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Co.lastEffect=e),e}function Ho(e,t,n,r){var i=jo();Po|=e,i.memoizedState=Wo(t,n,void 0,void 0===r?null:r)}function Ko(e,t,n,r){var i=Bo();r=void 0===r?null:r;var o=void 0;if(null!==Ro){var a=Ro.memoizedState;if(o=a.destroy,null!==r&&Mo(r,a.deps))return void Wo(po,n,o,r)}Po|=e,i.memoizedState=Wo(t,n,o,r)}function qo(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Yo(){}function zo(e,t,n){if(!(25>Do))throw a(Error(301));var r=e.alternate;if(e===So||null!==r&&r===So)if(Lo=!0,e={expirationTime:To,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===ko&&(ko=new Map),void 0===(n=ko.get(t)))ko.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var i=Os(),o=Fi.suspense;o={expirationTime:i=As(i,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var s=t.last;if(null===s)o.next=o;else{var u=s.next;null!==u&&(o.next=u),s.next=o}if(t.last=o,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var c=t.lastRenderedState,l=r(c,n);if(o.eagerReducer=r,o.eagerState=l,en(l,c))return}catch(e){}Ns(e,i)}}var Xo={readContext:wi,useCallback:xo,useContext:xo,useEffect:xo,useImperativeHandle:xo,useLayoutEffect:xo,useMemo:xo,useReducer:xo,useRef:xo,useState:xo,useDebugValue:xo,useResponder:xo},Qo={readContext:wi,useCallback:function(e,t){return jo().memoizedState=[e,void 0===t?null:t],e},useContext:wi,useEffect:function(e,t){return Ho(516,Eo|go,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ho(4,_o|mo,qo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ho(4,_o|mo,e,t)},useMemo:function(e,t){var n=jo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=jo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=zo.bind(null,So,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},jo().memoizedState=e},useState:function(e){var t=jo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:Vo,lastRenderedState:e}).dispatch=zo.bind(null,So,e),[t.memoizedState,e]},useDebugValue:Yo,useResponder:rn},Jo={readContext:wi,useCallback:function(e,t){var n=Bo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Mo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:wi,useEffect:function(e,t){return Ko(516,Eo|go,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ko(4,_o|mo,qo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ko(4,_o|mo,e,t)},useMemo:function(e,t){var n=Bo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Mo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:Go,useRef:function(){return Bo().memoizedState},useState:function(e){return Go(Vo)},useDebugValue:Yo,useResponder:rn},$o=null,Zo=null,ea=!1;function ta(e,t){var n=Js(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function na(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function ra(e){if(ea){var t=Zo;if(t){var n=t;if(!na(e,t)){if(!(t=wr(n.nextSibling))||!na(e,t))return e.effectTag|=2,ea=!1,void($o=e);ta($o,n)}$o=e,Zo=wr(t.firstChild)}else e.effectTag|=2,ea=!1,$o=e}}function ia(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;$o=e}function oa(e){if(e!==$o)return!1;if(!ea)return ia(e),ea=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Tr(t,e.memoizedProps))for(t=Zo;t;)ta(e,t),t=wr(t.nextSibling);return ia(e),Zo=$o?wr(e.stateNode.nextSibling):null,!0}function aa(){Zo=$o=null,ea=!1}var sa=Ke.ReactCurrentOwner,ua=!1;function ca(e,t,n,r){t.child=null===e?Ji(t,null,n,r):Qi(t,e.child,n,r)}function la(e,t,n,r,i){n=n.render;var o=t.ref;return Ri(t,i),r=Uo(e,t,n,r,o,i),null===e||ua?(t.effectTag|=1,ca(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ta(e,t,i))}function fa(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||$s(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=eu(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,pa(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:nn)(i,r)&&e.ref===t.ref)?Ta(e,t,o):(t.effectTag|=1,(e=Zs(a,r)).ref=t.ref,e.return=t,t.child=e)}function pa(e,t,n,r,i,o){return null!==e&&nn(e.memoizedProps,r)&&e.ref===t.ref&&(ua=!1,i<o)?Ta(e,t,o):da(e,t,n,r,o)}function ha(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function da(e,t,n,r,i){var o=xr(n)?kr:Pr.current;return o=Dr(t,o),Ri(t,i),n=Uo(e,t,n,r,o,i),null===e||ua?(t.effectTag|=1,ca(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ta(e,t,i))}function _a(e,t,n,r,i){if(xr(n)){var o=!0;Br(t)}else o=!1;if(Ri(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Wi(t,n,r),Ki(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,c=n.contextType;c="object"==typeof c&&null!==c?wi(c):Dr(t,c=xr(n)?kr:Pr.current);var l=n.getDerivedStateFromProps,f="function"==typeof l||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==c)&&Hi(t,a,r,c),Oi=!1;var p=t.memoizedState;u=a.state=p;var h=t.updateQueue;null!==h&&(xi(t,h,r,a,i),u=t.memoizedState),s!==r||p!==u||Lr.current||Oi?("function"==typeof l&&(Bi(t,n,l,r),u=t.memoizedState),(s=Oi||Gi(t,n,s,r,p,u,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,s=t.memoizedProps,a.props=t.type===t.elementType?s:_i(t.type,s),u=a.context,c="object"==typeof(c=n.contextType)&&null!==c?wi(c):Dr(t,c=xr(n)?kr:Pr.current),(f="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==c)&&Hi(t,a,r,c),Oi=!1,u=t.memoizedState,p=a.state=u,null!==(h=t.updateQueue)&&(xi(t,h,r,a,i),p=t.memoizedState),s!==r||u!==p||Lr.current||Oi?("function"==typeof l&&(Bi(t,n,l,r),p=t.memoizedState),(l=Oi||Gi(t,n,s,r,u,p,c))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,c)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=l):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return ya(e,t,n,r,o,i)}function ya(e,t,n,r,i,o){ha(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&Vr(t,n,!1),Ta(e,t,o);r=t.stateNode,sa.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Qi(t,e.child,null,o),t.child=Qi(t,null,s,o)):ca(e,t,s,o),t.memoizedState=r.state,i&&Vr(t,n,!0),t.child}function va(e){var t=e.stateNode;t.pendingContext?Fr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Fr(0,t.context,!1),ro(e,t.containerInfo)}var ma={};function ga(e,t,n){var r,i=t.mode,o=t.pendingProps,a=lo.current,s=null,u=!1;if((r=0!=(64&t.effectTag))||(r=0!=(a&co)&&(null===e||null!==e.memoizedState)),r?(s=ma,u=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=uo),Nr(lo,a&=so),null===e)if(u){if(o=o.fallback,(e=tu(null,i,0,null)).return=t,0==(2&t.mode))for(u=null!==t.memoizedState?t.child.child:t.child,e.child=u;null!==u;)u.return=e,u=u.sibling;(n=tu(o,i,n,null)).return=t,e.sibling=n,i=e}else i=n=Ji(t,null,o.children,n);else{if(null!==e.memoizedState)if(i=(a=e.child).sibling,u){if(o=o.fallback,(n=Zs(a,a.pendingProps)).return=t,0==(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==a.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;(o=Zs(i,o,i.expirationTime)).return=t,n.sibling=o,i=n,n.childExpirationTime=0,n=o}else i=n=Qi(t,a.child,o.children,n);else if(a=e.child,u){if(u=o.fallback,(o=tu(null,i,0,null)).return=t,o.child=a,null!==a&&(a.return=o),0==(2&t.mode))for(a=null!==t.memoizedState?t.child.child:t.child,o.child=a;null!==a;)a.return=o,a=a.sibling;(n=tu(u,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,i=o,o.childExpirationTime=0}else n=i=Qi(t,a,o.children,n);t.stateNode=e.stateNode}return t.memoizedState=s,t.child=i,n}function Ea(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,last:r,tail:n,tailExpiration:0,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.last=r,o.tail=n,o.tailExpiration=0,o.tailMode=i)}function ba(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ca(e,t,r.children,n),0!=((r=lo.current)&co))r=r&so|co,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag){if(null!==e.memoizedState){e.expirationTime<n&&(e.expirationTime=n);var a=e.alternate;null!==a&&a.expirationTime<n&&(a.expirationTime=n),Si(e.return,n)}}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=so}if(Nr(lo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(r=n.alternate)&&null===fo(r)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ea(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(r=i.alternate)&&null===fo(r)){t.child=i;break}r=i.sibling,i.sibling=n,n=i,i=r}Ea(t,!0,n,null,o);break;case"together":Ea(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ta(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw a(Error(153));if(null!==t.child){for(n=Zs(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Zs(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function Sa(e){e.effectTag|=4}var Ra=void 0,wa=void 0,Oa=void 0,Aa=void 0;function Ia(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Na(e){switch(e.tag){case 1:xr(e.type)&&Mr();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:if(io(),Ur(),0!=(64&(t=e.effectTag)))throw a(Error(285));return e.effectTag=-2049&t|64,e;case 5:return ao(e),null;case 13:return Ir(lo),2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 18:return null;case 19:return Ir(lo),null;case 4:return io(),null;case 10:return Ti(e),null;default:return null}}function Ca(e,t){return{value:e,source:t,stack:lt(t)}}Ra=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(20===n.tag)e.appendChild(n.stateNode.instance);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},wa=function(){},Oa=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s=t.stateNode;switch(no(Zi.current),e=null,n){case"input":a=bt(s,a),r=bt(s,r),e=[];break;case"option":a=$n(s,a),r=$n(s,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=er(s,a),r=er(s,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(s.onclick=mr)}_r(n,r),s=n=void 0;var u=null;for(n in a)if(!r.hasOwnProperty(n)&&a.hasOwnProperty(n)&&null!=a[n])if("style"===n){var c=a[n];for(s in c)c.hasOwnProperty(s)&&(u||(u={}),u[s]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(h.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var l=r[n];if(c=null!=a?a[n]:void 0,r.hasOwnProperty(n)&&l!==c&&(null!=l||null!=c))if("style"===n)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(u||(u={}),u[s]="");for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(u||(u={}),u[s]=l[s])}else u||(e||(e=[]),e.push(n,u)),u=l;else"dangerouslySetInnerHTML"===n?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(e=e||[]).push(n,""+l)):"children"===n?c===l||"string"!=typeof l&&"number"!=typeof l||(e=e||[]).push(n,""+l):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(h.hasOwnProperty(n)?(null!=l&&vr(o,n),e||c===l||(e=[])):(e=e||[]).push(n,l))}u&&(e=e||[]).push("style",u),o=e,(t.updateQueue=o)&&Sa(t)}},Aa=function(e,t,n,r){n!==r&&Sa(t)};var Pa="function"==typeof WeakSet?WeakSet:Set;function La(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=lt(n)),null!==n&&ct(n.type),t=t.value,null!==e&&1===e.tag&&ct(e.type)}function ka(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ks(e,t)}else t.current=null}function Da(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if((r.tag&e)!==po){var i=r.destroy;r.destroy=void 0,void 0!==i&&i()}(r.tag&t)!==po&&(i=r.create,r.destroy=i()),r=r.next}while(r!==n)}}function xa(e,t){switch("function"==typeof Xs&&Xs(e),e.tag){case 0:case 11:case 14:case 15:var n=e.updateQueue;if(null!==n&&null!==(n=n.lastEffect)){var r=n.next;ci(97<t?97:t,function(){var t=r;do{var n=t.destroy;if(void 0!==n){var i=e;try{n()}catch(e){Ks(i,e)}}t=t.next}while(t!==r)})}break;case 1:ka(e),"function"==typeof(t=e.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Ks(e,t)}}(e,t);break;case 5:ka(e);break;case 4:ja(e,t)}}function Ma(e,t){for(var n=e;;)if(xa(n,t),null!==n.child&&4!==n.tag)n.child.return=n,n=n.child;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Ua(e){return 5===e.tag||3===e.tag||4===e.tag}function Fa(e){e:{for(var t=e.return;null!==t;){if(Ua(t)){var n=t;break e}t=t.return}throw a(Error(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw a(Error(161))}16&n.effectTag&&(cr(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ua(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var i=e;;){var o=5===i.tag||6===i.tag;if(o||20===i.tag){var s=o?i.stateNode:i.stateNode.instance;if(n)if(r){var u=s;s=n,8===(o=t).nodeType?o.parentNode.insertBefore(u,s):o.insertBefore(u,s)}else t.insertBefore(s,n);else r?(8===(u=t).nodeType?(o=u.parentNode).insertBefore(s,u):(o=u).appendChild(s),null!=(u=u._reactRootContainer)||null!==o.onclick||(o.onclick=mr)):t.appendChild(s)}else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function ja(e,t){for(var n=e,r=!1,i=void 0,o=void 0;;){if(!r){r=n.return;e:for(;;){if(null===r)throw a(Error(160));switch(i=r.stateNode,r.tag){case 5:o=!1;break e;case 3:case 4:i=i.containerInfo,o=!0;break e}r=r.return}r=!0}if(5===n.tag||6===n.tag)if(Ma(n,t),o){var s=i,u=n.stateNode;8===s.nodeType?s.parentNode.removeChild(u):s.removeChild(u)}else i.removeChild(n.stateNode);else if(20===n.tag)u=n.stateNode.instance,Ma(n,t),o?8===(s=i).nodeType?s.parentNode.removeChild(u):s.removeChild(u):i.removeChild(u);else if(4===n.tag){if(null!==n.child){i=n.stateNode.containerInfo,o=!0,n.child.return=n,n=n.child;continue}}else if(xa(n,t),null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;4===(n=n.return).tag&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function Ba(e,t){switch(t.tag){case 0:case 11:case 14:case 15:Da(_o,yo,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[D]=r,"input"===e&&"radio"===r.type&&null!=r.name&&St(n,r),yr(e,i),t=yr(e,r),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?hr(n,u):"dangerouslySetInnerHTML"===s?ur(n,u):"children"===s?cr(n,u):gt(n,s,u,t)}switch(e){case"input":Rt(n,r);break;case"textarea":nr(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Zn(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Zn(n,!!r.multiple,r.defaultValue,!0):Zn(n,!!r.multiple,r.multiple?[]:"",!1))}}}break;case 6:if(null===t.stateNode)throw a(Error(162));t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,ps=ai()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=pr("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}Va(t);break;case 19:Va(t);break;case 17:case 20:break;default:throw a(Error(163))}}function Va(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Pa),t.forEach(function(t){var r=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),n=di(n=Os(),t=As(n,e,null)),null!==(e=Cs(e,t))&&Ps(e,n,t)}.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var Ga="function"==typeof WeakMap?WeakMap:Map;function Wa(e,t,n){(n=Ni(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){_s||(_s=!0,ys=r),La(e,t)},n}function Ha(e,t,n){(n=Ni(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return La(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===vs?vs=new Set([this]):vs.add(this),La(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Ka=Math.ceil,qa=Ke.ReactCurrentDispatcher,Ya=Ke.ReactCurrentOwner,za=0,Xa=8,Qa=16,Ja=32,$a=0,Za=1,es=2,ts=3,ns=4,rs=za,is=null,os=null,as=0,ss=$a,us=1073741823,cs=1073741823,ls=null,fs=!1,ps=0,hs=500,ds=null,_s=!1,ys=null,vs=null,ms=!1,gs=null,Es=90,bs=0,Ts=null,Ss=0,Rs=null,ws=0;function Os(){return(rs&(Qa|Ja))!==za?1073741821-(ai()/10|0):0!==ws?ws:ws=1073741821-(ai()/10|0)}function As(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=si();if(0==(4&t))return 99===r?1073741823:1073741822;if((rs&Qa)!==za)return as;if(null!==n)e=1073741821-25*(1+((1073741821-e+(0|n.timeoutMs||5e3)/10)/25|0));else switch(r){case 99:e=1073741823;break;case 98:e=1073741821-10*(1+((1073741821-e+15)/10|0));break;case 97:case 96:e=1073741821-25*(1+((1073741821-e+500)/25|0));break;case 95:e=1;break;default:throw a(Error(326))}return null!==is&&e===as&&--e,e}var Is=0;function Ns(e,t){if(50<Ss)throw Ss=0,Rs=null,a(Error(185));if(null!==(e=Cs(e,t))){e.pingTime=0;var n=si();if(1073741823===t)if((rs&Xa)!==za&&(rs&(Qa|Ja))===za)for(var r=Fs(e,1073741823,!0);null!==r;)r=r(!0);else Ps(e,99,1073741823),rs===za&&pi();else Ps(e,n,t);(4&rs)===za||98!==n&&99!==n||(null===Ts?Ts=new Map([[e,t]]):(void 0===(n=Ts.get(e))||n>t)&&Ts.set(e,t))}}function Cs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(t>i.firstPendingTime&&(i.firstPendingTime=t),0===(e=i.lastPendingTime)||t<e)&&(i.lastPendingTime=t),i}function Ps(e,t,n){if(e.callbackExpirationTime<n){var r=e.callbackNode;null!==r&&r!==ei&&Hr(r),e.callbackExpirationTime=n,1073741823===n?e.callbackNode=fi(Ls.bind(null,e,Fs.bind(null,e,n))):(r=null,1!==n&&(r={timeout:10*(1073741821-n)-ai()}),e.callbackNode=li(t,Ls.bind(null,e,Fs.bind(null,e,n)),r))}}function Ls(e,t,n){var r=e.callbackNode,i=null;try{return null!==(i=t(n))?Ls.bind(null,e,i):null}finally{null===i&&r===e.callbackNode&&(e.callbackNode=null,e.callbackExpirationTime=0)}}function ks(){(rs&(1|Qa|Ja))===za&&(function(){if(null!==Ts){var e=Ts;Ts=null,e.forEach(function(e,t){fi(Fs.bind(null,t,e))}),pi()}}(),Ws())}function Ds(e,t){var n=rs;rs|=1;try{return e(t)}finally{(rs=n)===za&&pi()}}function xs(e,t,n,r){var i=rs;rs|=4;try{return ci(98,e.bind(null,t,n,r))}finally{(rs=i)===za&&pi()}}function Ms(e,t){var n=rs;rs&=-2,rs|=Xa;try{return e(t)}finally{(rs=n)===za&&pi()}}function Us(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Rr(n)),null!==os)for(n=os.return;null!==n;){var r=n;switch(r.tag){case 1:null!=r.type.childContextTypes&&Mr();break;case 3:io(),Ur();break;case 5:ao(r);break;case 4:io();break;case 13:case 19:Ir(lo);break;case 10:Ti(r)}n=n.return}is=e,os=Zs(e.current,null),as=t,ss=$a,cs=us=1073741823,ls=null,fs=!1}function Fs(e,t,n){if((rs&(Qa|Ja))!==za)throw a(Error(327));if(e.firstPendingTime<t)return null;if(n&&e.finishedExpirationTime===t)return Gs.bind(null,e);if(Ws(),e!==is||t!==as)Us(e,t);else if(ss===ts)if(fs)Us(e,t);else{var r=e.lastPendingTime;if(r<t)return Fs.bind(null,e,r)}if(null!==os){r=rs,rs|=Qa;var i=qa.current;if(null===i&&(i=Xo),qa.current=Xo,n){if(1073741823!==t){var o=Os();if(o<t)return rs=r,Ei(),qa.current=i,Fs.bind(null,e,o)}}else ws=0;for(;;)try{if(n)for(;null!==os;)os=Bs(os);else for(;null!==os&&!Kr();)os=Bs(os);break}catch(n){if(Ei(),Fo(),null===(o=os)||null===o.return)throw Us(e,t),rs=r,n;e:{var s=e,u=o.return,c=o,l=n,f=as;if(c.effectTag|=1024,c.firstEffect=c.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var p=l,h=0!=(lo.current&uo);l=u;do{var d;if((d=13===l.tag)&&(d=null===l.memoizedState&&(void 0!==(d=l.memoizedProps).fallback&&(!0!==d.unstable_avoidThisFallback||!h))),d){if(null===(u=l.updateQueue)?((u=new Set).add(p),l.updateQueue=u):u.add(p),0==(2&l.mode)){l.effectTag|=64,c.effectTag&=-1957,1===c.tag&&(null===c.alternate?c.tag=17:((f=Ni(1073741823,null)).tag=2,Pi(c,f))),c.expirationTime=1073741823;break e}c=s,s=f,null===(h=c.pingCache)?(h=c.pingCache=new Ga,u=new Set,h.set(p,u)):void 0===(u=h.get(p))&&(u=new Set,h.set(p,u)),u.has(s)||(u.add(s),c=qs.bind(null,c,p,s),p.then(c,c)),l.effectTag|=2048,l.expirationTime=f;break e}l=l.return}while(null!==l);l=Error((ct(c.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+lt(c))}ss!==ns&&(ss=Za),l=Ca(l,c),c=u;do{switch(c.tag){case 3:c.effectTag|=2048,c.expirationTime=f,Li(c,f=Wa(c,l,f));break e;case 1:if(p=l,s=c.type,u=c.stateNode,0==(64&c.effectTag)&&("function"==typeof s.getDerivedStateFromError||null!==u&&"function"==typeof u.componentDidCatch&&(null===vs||!vs.has(u)))){c.effectTag|=2048,c.expirationTime=f,Li(c,f=Ha(c,p,f));break e}}c=c.return}while(null!==c)}os=Vs(o)}if(rs=r,Ei(),qa.current=i,null!==os)return Fs.bind(null,e,t)}if(e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,function(e,t){var n=e.firstBatch;return!!(null!==n&&n._defer&&n._expirationTime>=t)&&(li(97,function(){return n._onComplete(),null}),!0)}(e,t))return null;switch(is=null,ss){case $a:throw a(Error(328));case Za:return(r=e.lastPendingTime)<t?Fs.bind(null,e,r):n?Gs.bind(null,e):(Us(e,t),fi(Fs.bind(null,e,t)),null);case es:return 1073741823===us&&!n&&10<(n=ps+hs-ai())?fs?(Us(e,t),Fs.bind(null,e,t)):(r=e.lastPendingTime)<t?Fs.bind(null,e,r):(e.timeoutHandle=Sr(Gs.bind(null,e),n),null):Gs.bind(null,e);case ts:if(!n){if(fs)return Us(e,t),Fs.bind(null,e,t);if((n=e.lastPendingTime)<t)return Fs.bind(null,e,n);if(1073741823!==cs?n=10*(1073741821-cs)-ai():1073741823===us?n=0:(n=10*(1073741821-us)-5e3,0>(n=(r=ai())-n)&&(n=0),(t=10*(1073741821-t)-r)<(n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ka(n/1960))-n)&&(n=t)),10<n)return e.timeoutHandle=Sr(Gs.bind(null,e),n),null}return Gs.bind(null,e);case ns:return!n&&1073741823!==us&&null!==ls&&(r=us,0>=(t=0|(i=ls).busyMinDurationMs)?t=0:(n=0|i.busyDelayMs,t=(r=ai()-(10*(1073741821-r)-(0|i.timeoutMs||5e3)))<=n?0:n+t-r),10<t)?(e.timeoutHandle=Sr(Gs.bind(null,e),t),null):Gs.bind(null,e);default:throw a(Error(329))}}function js(e,t){e<us&&1<e&&(us=e),null!==t&&e<cs&&1<e&&(cs=e,ls=t)}function Bs(e){var t=Ys(e.alternate,e,as);return e.memoizedProps=e.pendingProps,null===t&&(t=Vs(e)),Ya.current=null,t}function Vs(e){os=e;do{var t=os.alternate;if(e=os.return,0==(1024&os.effectTag)){e:{var n=t,r=as,o=(t=os).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:xr(t.type)&&Mr();break;case 3:io(),Ur(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==n&&null!==n.child||(oa(t),t.effectTag&=-3),wa(t);break;case 5:ao(t),r=no(to.current);var s=t.type;if(null!==n&&null!=t.stateNode)Oa(n,t,s,o,r),n.ref!==t.ref&&(t.effectTag|=128);else if(o){var u=no(Zi.current);if(oa(t)){o=void 0,s=(n=t).stateNode;var c=n.type,l=n.memoizedProps;switch(s[k]=n,s[D]=l,c){case"iframe":case"object":case"embed":Dn("load",s);break;case"video":case"audio":for(var f=0;f<te.length;f++)Dn(te[f],s);break;case"source":Dn("error",s);break;case"img":case"image":case"link":Dn("error",s),Dn("load",s);break;case"form":Dn("reset",s),Dn("submit",s);break;case"details":Dn("toggle",s);break;case"input":Tt(s,l),Dn("invalid",s),vr(r,"onChange");break;case"select":s._wrapperState={wasMultiple:!!l.multiple},Dn("invalid",s),vr(r,"onChange");break;case"textarea":tr(s,l),Dn("invalid",s),vr(r,"onChange")}for(o in _r(c,l),f=null,l)l.hasOwnProperty(o)&&(u=l[o],"children"===o?"string"==typeof u?s.textContent!==u&&(f=["children",u]):"number"==typeof u&&s.textContent!==""+u&&(f=["children",""+u]):h.hasOwnProperty(o)&&null!=u&&vr(r,o));switch(c){case"input":We(s),wt(s,l,!0);break;case"textarea":We(s),rr(s);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(s.onclick=mr)}r=f,n.updateQueue=r,null!==r&&Sa(t)}else{l=s,n=o,c=t,f=9===r.nodeType?r:r.ownerDocument,u===ir.html&&(u=or(l)),u===ir.html?"script"===l?((l=f.createElement("div")).innerHTML="<script><\/script>",f=l.removeChild(l.firstChild)):"string"==typeof n.is?f=f.createElement(l,{is:n.is}):(f=f.createElement(l),"select"===l&&(l=f,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):f=f.createElementNS(u,l),(l=f)[k]=c,l[D]=n,Ra(n=l,t,!1,!1),c=n;var p=r,d=yr(s,o);switch(s){case"iframe":case"object":case"embed":Dn("load",c),r=o;break;case"video":case"audio":for(r=0;r<te.length;r++)Dn(te[r],c);r=o;break;case"source":Dn("error",c),r=o;break;case"img":case"image":case"link":Dn("error",c),Dn("load",c),r=o;break;case"form":Dn("reset",c),Dn("submit",c),r=o;break;case"details":Dn("toggle",c),r=o;break;case"input":Tt(c,o),r=bt(c,o),Dn("invalid",c),vr(p,"onChange");break;case"option":r=$n(c,o);break;case"select":c._wrapperState={wasMultiple:!!o.multiple},r=i({},o,{value:void 0}),Dn("invalid",c),vr(p,"onChange");break;case"textarea":tr(c,o),r=er(c,o),Dn("invalid",c),vr(p,"onChange");break;default:r=o}_r(s,r),l=void 0,f=s,u=c;var _=r;for(l in _)if(_.hasOwnProperty(l)){var y=_[l];"style"===l?hr(u,y):"dangerouslySetInnerHTML"===l?null!=(y=y?y.__html:void 0)&&ur(u,y):"children"===l?"string"==typeof y?("textarea"!==f||""!==y)&&cr(u,y):"number"==typeof y&&cr(u,""+y):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(h.hasOwnProperty(l)?null!=y&&vr(p,l):null!=y&&gt(u,l,y,d))}switch(s){case"input":We(c),wt(c,o,!1);break;case"textarea":We(c),rr(c);break;case"option":null!=o.value&&c.setAttribute("value",""+Et(o.value));break;case"select":r=c,c=o,r.multiple=!!c.multiple,null!=(l=c.value)?Zn(r,!!c.multiple,l,!1):null!=c.defaultValue&&Zn(r,!!c.multiple,c.defaultValue,!0);break;default:"function"==typeof r.onClick&&(c.onclick=mr)}br(s,o)&&Sa(t),t.stateNode=n}null!==t.ref&&(t.effectTag|=128)}else if(null===t.stateNode)throw a(Error(166));break;case 6:if(n&&null!=t.stateNode)Aa(n,t,n.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw a(Error(166));n=no(to.current),no(Zi.current),oa(t)?(r=t.stateNode,n=t.memoizedProps,r[k]=t,r.nodeValue!==n&&Sa(t)):(r=t,(n=(9===n.nodeType?n:n.ownerDocument).createTextNode(o))[k]=t,r.stateNode=n)}break;case 11:break;case 13:if(Ir(lo),o=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=r;break e}r=null!==o,o=!1,null===n?oa(t):(o=null!==(s=n.memoizedState),r||null===s||null!==(s=n.child.sibling)&&(null!==(c=t.firstEffect)?(t.firstEffect=s,s.nextEffect=c):(t.firstEffect=t.lastEffect=s,s.nextEffect=null),s.effectTag=8)),r&&!o&&0!=(2&t.mode)&&(null===n&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(lo.current&uo)?ss===$a&&(ss=es):ss!==$a&&ss!==es||(ss=ts)),(r||o)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:io(),wa(t);break;case 10:Ti(t);break;case 9:case 14:break;case 17:xr(t.type)&&Mr();break;case 18:break;case 19:if(Ir(lo),null===(o=t.memoizedState))break;if(s=0!=(64&t.effectTag),null===(c=o.rendering)){if(s)Ia(o,!1);else if(ss!==$a||null!==n&&0!=(64&n.effectTag))for(n=t.child;null!==n;){if(null!==(c=fo(n))){for(t.effectTag|=64,Ia(o,!1),null!==(n=c.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),t.firstEffect=t.lastEffect=null,n=t.child;null!==n;)s=r,(o=n).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(c=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=c.childExpirationTime,o.expirationTime=c.expirationTime,o.child=c.child,o.memoizedProps=c.memoizedProps,o.memoizedState=c.memoizedState,o.updateQueue=c.updateQueue,s=c.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),n=n.sibling;Nr(lo,lo.current&so|co),t=t.child;break e}n=n.sibling}}else{if(!s)if(null!==(n=fo(c))){if(t.effectTag|=64,s=!0,Ia(o,!0),null===o.tail&&"hidden"===o.tailMode){null!==(r=n.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),null!==(t=t.lastEffect=o.lastEffect)&&(t.nextEffect=null);break}}else ai()>o.tailExpiration&&1<r&&(t.effectTag|=64,s=!0,Ia(o,!1),t.expirationTime=t.childExpirationTime=r-1);o.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=o.last)?r.sibling=c:t.child=c,o.last=c)}if(null!==o.tail){0===o.tailExpiration&&(o.tailExpiration=ai()+500),r=o.tail,o.rendering=r,o.tail=r.sibling,o.lastEffect=t.lastEffect,r.sibling=null,n=lo.current,Nr(lo,n=s?n&so|co:n&so),t=r;break e}break;case 20:break;default:throw a(Error(156))}t=null}if(r=os,1===as||1!==r.childExpirationTime){for(n=0,o=r.child;null!==o;)(s=o.expirationTime)>n&&(n=s),(c=o.childExpirationTime)>n&&(n=c),o=o.sibling;r.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(1024&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=os.firstEffect),null!==os.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=os.firstEffect),e.lastEffect=os.lastEffect),1<os.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=os:e.firstEffect=os,e.lastEffect=os))}else{if(null!==(t=Na(os)))return t.effectTag&=1023,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=1024)}if(null!==(t=os.sibling))return t;os=e}while(null!==os);return ss===$a&&(ss=ns),null}function Gs(e){var t=si();return ci(99,function(e,t){if(Ws(),(rs&(Qa|Ja))!==za)throw a(Error(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw a(Error(177));e.callbackNode=null,e.callbackExpirationTime=0;var i=n.expirationTime,o=n.childExpirationTime;if(i=o>i?o:i,e.firstPendingTime=i,i<e.lastPendingTime&&(e.lastPendingTime=i),e===is&&(os=is=null,as=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){o=rs,rs|=Ja,Ya.current=null,gr=kn;var s=Gn();if(Wn(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else e:{var c=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(c&&0!==c.rangeCount){u=c.anchorNode;var l=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{u.nodeType,f.nodeType}catch(e){u=null;break e}var p=0,h=-1,d=-1,_=0,y=0,v=s,m=null;t:for(;;){for(var g;v!==u||0!==l&&3!==v.nodeType||(h=p+l),v!==f||0!==c&&3!==v.nodeType||(d=p+c),3===v.nodeType&&(p+=v.nodeValue.length),null!==(g=v.firstChild);)m=v,v=g;for(;;){if(v===s)break t;if(m===u&&++_===l&&(h=p),m===f&&++y===c&&(d=p),null!==(g=v.nextSibling))break;m=(v=m).parentNode}v=g}u=-1===h||-1===d?null:{start:h,end:d}}else u=null}u=u||{start:0,end:0}}else u=null;Er={focusedElem:s,selectionRange:u},kn=!1,ds=i;do{try{for(;null!==ds;){if(0!=(256&ds.effectTag)){var E=ds.alternate;switch((s=ds).tag){case 0:case 11:case 15:Da(ho,po,s);break;case 1:if(256&s.effectTag&&null!==E){var b=E.memoizedProps,T=E.memoizedState,S=s.stateNode,R=S.getSnapshotBeforeUpdate(s.elementType===s.type?b:_i(s.type,b),T);S.__reactInternalSnapshotBeforeUpdate=R}break;case 3:case 5:case 6:case 4:case 17:break;default:throw a(Error(163))}}ds=ds.nextEffect}}catch(e){if(null===ds)throw a(Error(330));Ks(ds,e),ds=ds.nextEffect}}while(null!==ds);ds=i;do{try{for(E=t;null!==ds;){var w=ds.effectTag;if(16&w&&cr(ds.stateNode,""),128&w){var O=ds.alternate;if(null!==O){var A=O.ref;null!==A&&("function"==typeof A?A(null):A.current=null)}}switch(14&w){case 2:Fa(ds),ds.effectTag&=-3;break;case 6:Fa(ds),ds.effectTag&=-3,Ba(ds.alternate,ds);break;case 4:Ba(ds.alternate,ds);break;case 8:ja(b=ds,E),b.return=null,b.child=null,b.memoizedState=null,b.updateQueue=null,b.dependencies=null;var I=b.alternate;null!==I&&(I.return=null,I.child=null,I.memoizedState=null,I.updateQueue=null,I.dependencies=null)}ds=ds.nextEffect}}catch(e){if(null===ds)throw a(Error(330));Ks(ds,e),ds=ds.nextEffect}}while(null!==ds);if(A=Er,O=Gn(),w=A.focusedElem,E=A.selectionRange,O!==w&&w&&w.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(w.ownerDocument.documentElement,w)){null!==E&&Wn(w)&&(O=E.start,void 0===(A=E.end)&&(A=O),"selectionStart"in w?(w.selectionStart=O,w.selectionEnd=Math.min(A,w.value.length)):(A=(O=w.ownerDocument||document)&&O.defaultView||window).getSelection&&(A=A.getSelection(),b=w.textContent.length,I=Math.min(E.start,b),E=void 0===E.end?I:Math.min(E.end,b),!A.extend&&I>E&&(b=E,E=I,I=b),b=Vn(w,I),T=Vn(w,E),b&&T&&(1!==A.rangeCount||A.anchorNode!==b.node||A.anchorOffset!==b.offset||A.focusNode!==T.node||A.focusOffset!==T.offset)&&((O=O.createRange()).setStart(b.node,b.offset),A.removeAllRanges(),I>E?(A.addRange(O),A.extend(T.node,T.offset)):(O.setEnd(T.node,T.offset),A.addRange(O))))),O=[];for(A=w;A=A.parentNode;)1===A.nodeType&&O.push({element:A,left:A.scrollLeft,top:A.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<O.length;w++)(A=O[w]).element.scrollLeft=A.left,A.element.scrollTop=A.top}Er=null,kn=!!gr,gr=null,e.current=n,ds=i;do{try{for(w=r;null!==ds;){var N=ds.effectTag;if(36&N){var C=ds.alternate;switch(A=w,(O=ds).tag){case 0:case 11:case 15:Da(vo,mo,O);break;case 1:var P=O.stateNode;if(4&O.effectTag)if(null===C)P.componentDidMount();else{var L=O.elementType===O.type?C.memoizedProps:_i(O.type,C.memoizedProps);P.componentDidUpdate(L,C.memoizedState,P.__reactInternalSnapshotBeforeUpdate)}var k=O.updateQueue;null!==k&&Mi(0,k,P);break;case 3:var D=O.updateQueue;if(null!==D){if(I=null,null!==O.child)switch(O.child.tag){case 5:I=O.child.stateNode;break;case 1:I=O.child.stateNode}Mi(0,D,I)}break;case 5:var x=O.stateNode;null===C&&4&O.effectTag&&(A=x,br(O.type,O.memoizedProps)&&A.focus());break;case 6:case 4:case 12:break;case 13:case 19:case 17:case 20:break;default:throw a(Error(163))}}if(128&N){var M=ds.ref;if(null!==M){var U=ds.stateNode;switch(ds.tag){case 5:var F=U;break;default:F=U}"function"==typeof M?M(F):M.current=F}}512&N&&(ms=!0),ds=ds.nextEffect}}catch(e){if(null===ds)throw a(Error(330));Ks(ds,e),ds=ds.nextEffect}}while(null!==ds);ds=null,ti(),rs=o}else e.current=n;if(ms)ms=!1,gs=e,bs=r,Es=t;else for(ds=i;null!==ds;)t=ds.nextEffect,ds.nextEffect=null,ds=t;if(0!==(t=e.firstPendingTime)?Ps(e,N=di(N=Os(),t),t):vs=null,"function"==typeof zs&&zs(n.stateNode,r),1073741823===t?e===Rs?Ss++:(Ss=0,Rs=e):Ss=0,_s)throw _s=!1,e=ys,ys=null,e;return(rs&Xa)!==za?null:(pi(),null)}.bind(null,e,t)),null!==gs&&li(97,function(){return Ws(),null}),null}function Ws(){if(null===gs)return!1;var e=gs,t=bs,n=Es;return gs=null,bs=0,Es=90,ci(97<n?97:n,function(e){if((rs&(Qa|Ja))!==za)throw a(Error(331));var t=rs;for(rs|=Ja,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:Da(Eo,po,n),Da(po,go,n)}}catch(t){if(null===e)throw a(Error(330));Ks(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return rs=t,pi(),!0}.bind(null,e,t))}function Hs(e,t,n){Pi(e,t=Wa(e,t=Ca(n,t),1073741823)),null!==(e=Cs(e,1073741823))&&Ps(e,99,1073741823)}function Ks(e,t){if(3===e.tag)Hs(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Hs(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===vs||!vs.has(r))){Pi(n,e=Ha(n,e=Ca(t,e),1073741823)),null!==(n=Cs(n,1073741823))&&Ps(n,99,1073741823);break}}n=n.return}}function qs(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),is===e&&as===n?ss===ts||ss===es&&1073741823===us&&ai()-ps<hs?Us(e,as):fs=!0:e.lastPendingTime<n||0!==(t=e.pingTime)&&t<n||(e.pingTime=n,e.finishedExpirationTime===n&&(e.finishedExpirationTime=0,e.finishedWork=null),Ps(e,t=di(t=Os(),n),n))}var Ys=void 0;Ys=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||Lr.current)ua=!0;else if(r<n){switch(ua=!1,t.tag){case 3:va(t),aa();break;case 5:if(oo(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:xr(t.type)&&Br(t);break;case 4:ro(t,t.stateNode.containerInfo);break;case 10:bi(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?ga(e,t,n):(Nr(lo,lo.current&so),null!==(t=Ta(e,t,n))?t.sibling:null);Nr(lo,lo.current&so);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return ba(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),Nr(lo,lo.current),!r)return null}return Ta(e,t,n)}}else ua=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=Dr(t,Pr.current),Ri(t,n),i=Uo(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,Fo(),xr(r)){var o=!0;Br(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var s=r.getDerivedStateFromProps;"function"==typeof s&&Bi(t,r,s,e),i.updater=Vi,t.stateNode=i,i._reactInternalFiber=t,Ki(t,r,e,n),t=ya(null,t,r,!0,o,n)}else t.tag=0,ca(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(i),t.type=i,o=t.tag=function(e){if("function"==typeof e)return $s(e)?1:0;if(null!=e){if((e=e.$$typeof)===nt)return 11;if(e===ot)return 14}return 2}(i),e=_i(i,e),o){case 0:t=da(null,t,i,e,n);break;case 1:t=_a(null,t,i,e,n);break;case 11:t=la(null,t,i,e,n);break;case 14:t=fa(null,t,i,_i(i.type,e),r,n);break;default:throw a(Error(306),i,"")}return t;case 0:return r=t.type,i=t.pendingProps,da(e,t,r,i=t.elementType===r?i:_i(r,i),n);case 1:return r=t.type,i=t.pendingProps,_a(e,t,r,i=t.elementType===r?i:_i(r,i),n);case 3:if(va(t),null===(r=t.updateQueue))throw a(Error(282));return i=null!==(i=t.memoizedState)?i.element:null,xi(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===i?(aa(),t=Ta(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(Zo=wr(t.stateNode.containerInfo.firstChild),$o=t,i=ea=!0),i?(t.effectTag|=2,t.child=Ji(t,null,r,n)):(ca(e,t,r,n),aa()),t=t.child),t;case 5:return oo(t),null===e&&ra(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,Tr(r,i)?s=null:null!==o&&Tr(r,o)&&(t.effectTag|=16),ha(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(ca(e,t,s,n),t=t.child),t;case 6:return null===e&&ra(t),null;case 13:return ga(e,t,n);case 4:return ro(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qi(t,null,r,n):ca(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,la(e,t,r,i=t.elementType===r?i:_i(r,i),n);case 7:return ca(e,t,t.pendingProps,n),t.child;case 8:case 12:return ca(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,bi(t,o=i.value),null!==s){var u=s.value;if(0==(o=en(u,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,o):1073741823))){if(s.children===i.children&&!Lr.current){t=Ta(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){s=u.child;for(var l=c.firstContext;null!==l;){if(l.context===r&&0!=(l.observedBits&o)){1===u.tag&&((l=Ni(n,null)).tag=2,Pi(u,l)),u.expirationTime<n&&(u.expirationTime=n),null!==(l=u.alternate)&&l.expirationTime<n&&(l.expirationTime=n),Si(u.return,n),c.expirationTime<n&&(c.expirationTime=n);break}l=l.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}}ca(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,Ri(t,n),r=r(i=wi(i,o.unstable_observedBits)),t.effectTag|=1,ca(e,t,r,n),t.child;case 14:return o=_i(i=t.type,t.pendingProps),fa(e,t,i,o=_i(i.type,o),r,n);case 15:return pa(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:_i(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,xr(r)?(e=!0,Br(t)):e=!1,Ri(t,n),Wi(t,r,i),Ki(t,r,i,n),ya(null,t,r,!0,e,n);case 19:return ba(e,t,n)}throw a(Error(156))};var zs=null,Xs=null;function Qs(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Js(e,t,n,r){return new Qs(e,t,n,r)}function $s(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Zs(e,t){var n=e.alternate;return null===n?((n=Js(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function eu(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)$s(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case Qe:return tu(n.children,i,o,t);case tt:s=8,i|=7;break;case Je:s=8,i|=1;break;case $e:return(e=Js(12,n,t,8|i)).elementType=$e,e.type=$e,e.expirationTime=o,e;case rt:return(e=Js(13,n,t,i)).type=rt,e.elementType=rt,e.expirationTime=o,e;case it:return(e=Js(19,n,t,i)).elementType=it,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ze:s=10;break e;case et:s=9;break e;case nt:s=11;break e;case ot:s=14;break e;case at:s=16,r=null;break e}throw a(Error(130),null==e?e:typeof e,"")}return(t=Js(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function tu(e,t,n,r){return(e=Js(7,e,r,t)).expirationTime=n,e}function nu(e,t,n){return(e=Js(6,e,null,t)).expirationTime=n,e}function ru(e,t,n){return(t=Js(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function iu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=this.firstBatch=null,this.pingTime=this.lastPendingTime=this.firstPendingTime=this.callbackExpirationTime=0}function ou(e,t,n){return e=new iu(e,t,n),t=Js(3,null,null,2===t?7:1===t?3:0),e.current=t,t.stateNode=e}function au(e,t,n,r,i,o){var s=t.current;e:if(n){t:{if(2!==on(n=n._reactInternalFiber)||1!==n.tag)throw a(Error(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(xr(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw a(Error(171))}if(1===n.tag){var c=n.type;if(xr(c)){n=jr(n,c,u);break e}}n=u}else n=Cr;return null===t.context?t.context=n:t.pendingContext=n,t=o,(i=Ni(r,i)).payload={element:e},null!==(t=void 0===t?null:t)&&(i.callback=t),Pi(s,i),Ns(s,r),r}function su(e,t,n,r){var i=t.current,o=Os(),a=Fi.suspense;return au(e,t,n,i=As(o,i,a),a,r)}function uu(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function cu(e){var t=1073741821-25*(1+((1073741821-Os()+500)/25|0));t<=Is&&--t,this._expirationTime=Is=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function lu(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function fu(e,t,n){this._internalRoot=ou(e,t,n)}function pu(e,t){this._internalRoot=ou(e,2,t)}function hu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function du(e,t,n,r,i){var o=n._reactRootContainer,a=void 0;if(o){if(a=o._internalRoot,"function"==typeof i){var s=i;i=function(){var e=uu(a);s.call(e)}}su(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new fu(e,0,t)}(n,r),a=o._internalRoot,"function"==typeof i){var u=i;i=function(){var e=uu(a);u.call(e)}}Ms(function(){su(t,a,e,i)})}return uu(a)}function _u(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!hu(t))throw a(Error(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Xe,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Oe=function(e,t,n){switch(t){case"input":if(Rt(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=F(r);if(!i)throw a(Error(90));He(r),Rt(r,i)}}}break;case"textarea":nr(e,n);break;case"select":null!=(t=n.value)&&Zn(e,!!n.multiple,t,!1)}},cu.prototype.render=function(e){if(!this._defer)throw a(Error(250));this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new lu;return au(e,t,null,n,null,r._onCommit),r},cu.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},cu.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(!this._defer||null===t)throw a(Error(251));if(this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,i=t;i!==this;)r=i,i=i._next;if(null===r)throw a(Error(251));r._next=i._next,this._next=t,e.firstBatch=this}if(this._defer=!1,t=n,(rs&(Qa|Ja))!==za)throw a(Error(253));fi(Fs.bind(null,e,t)),pi(),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},cu.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},lu.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},lu.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)throw a(Error(191),n);n()}}},pu.prototype.render=fu.prototype.render=function(e,t){var n=this._internalRoot,r=new lu;return null!==(t=void 0===t?null:t)&&r.then(t),su(e,n,null,r._onCommit),r},pu.prototype.unmount=fu.prototype.unmount=function(e){var t=this._internalRoot,n=new lu;return null!==(e=void 0===e?null:e)&&n.then(e),su(null,t,null,n._onCommit),n},pu.prototype.createBatch=function(){var e=new cu(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime>=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Le=Ds,ke=xs,De=ks,xe=function(e,t){var n=rs;rs|=2;try{return e(t)}finally{(rs=n)===za&&pi()}};var yu,vu,mu={createPortal:_u,findDOMNode:function(e){if(null==e)e=null;else if(1!==e.nodeType){var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw a(Error(188));throw a(Error(268),Object.keys(e))}e=null===(e=sn(t))?null:e.stateNode}return e},hydrate:function(e,t,n){if(!hu(t))throw a(Error(200));return du(null,e,t,!0,n)},render:function(e,t,n){if(!hu(t))throw a(Error(200));return du(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!hu(n))throw a(Error(200));if(null==e||void 0===e._reactInternalFiber)throw a(Error(38));return du(e,t,n,!1,r)},unmountComponentAtNode:function(e){if(!hu(e))throw a(Error(40));return!!e._reactRootContainer&&(Ms(function(){du(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return _u.apply(void 0,arguments)},unstable_batchedUpdates:Ds,unstable_interactiveUpdates:function(e,t,n,r){return ks(),xs(e,t,n,r)},unstable_discreteUpdates:xs,unstable_flushDiscreteUpdates:ks,flushSync:function(e,t){if((rs&(Qa|Ja))!==za)throw a(Error(187));var n=rs;rs|=1;try{return ci(99,e.bind(null,t))}finally{rs=n,pi()}},unstable_createRoot:function(e,t){if(!hu(e))throw a(Error(299),"unstable_createRoot");return new pu(e,null!=t&&!0===t.hydrate)},unstable_createSyncRoot:function(e,t){if(!hu(e))throw a(Error(299),"unstable_createRoot");return new fu(e,1,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=rs;rs|=1;try{ci(99,e)}finally{(rs=t)===za&&pi()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[M,U,F,C.injectEventPluginsByName,p,H,function(e){O(e,W)},Ce,Pe,Mn,N,Ws,{current:!1}]}};vu=(yu={findFiberByHostInstance:x,bundleType:0,version:"16.9.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);zs=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Xs=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},yu,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ke.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=sn(e))?null:e.stateNode},findFiberByHostInstance:function(e){return vu?vu(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}));var gu={default:mu},Eu=gu&&mu||gu;e.exports=Eu.default||Eu},"A/eZ":function(e,t,n){"use strict";var r=n("upWy"),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=f;var o=n("nrnY");o.inherits=n("wfEq");var a=n("B0Cl"),s=n("g+31");o.inherits(f,a);for(var u=i(s.prototype),c=0;c<u.length;c++){var l=u[c];f.prototype[l]||(f.prototype[l]=s.prototype[l])}function f(e){if(!(this instanceof f))return new f(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",p)}function p(){this.allowHalfOpen||this._writableState.ended||r.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(f.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(f.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),f.prototype._destroy=function(e,t){this.push(null),this.end(),r.nextTick(t,e)}},A1vi:function(e,t,n){"use strict";var r=n("TV+k");e.exports=function(){return{name:"context_sdk",data:{version_name:r.version}}}},AEdO:function(e,t,n){var r=n("+J7U"),i=n("2tSK"),o=i;o.v1=r,o.v4=i,e.exports=o},ANQQ:function(e,t,n){(function(t,r,i){var o=n("eoLT"),a=n("wfEq"),s=n("3mKH"),u=n("5Ekh"),c=n("NY/1"),l=s.IncomingMessage,f=s.readyStates,p=e.exports=function(e){var n,r=this;u.Writable.call(r),r._opts=e,r._body=[],r._headers={},e.auth&&r.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(t){r.setHeader(t,e.headers[t])});var i=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!o.abortController)i=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!o.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}r._mode=function(e,t){return o.fetch&&t?"fetch":o.mozchunkedarraybuffer?"moz-chunked-arraybuffer":o.msstream?"ms-stream":o.arraybuffer&&e?"arraybuffer":o.vbArray&&e?"text:vbarray":"text"}(n,i),r._fetchTimer=null,r.on("finish",function(){r._onFinish()})};a(p,u.Writable),p.prototype.setHeader=function(e,t){var n=e.toLowerCase();-1===h.indexOf(n)&&(this._headers[n]={name:e,value:t})},p.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},p.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},p.prototype._onFinish=function(){var e=this;if(!e._destroyed){var n=e._opts,a=e._headers,s=null;"GET"!==n.method&&"HEAD"!==n.method&&(s=o.arraybuffer?c(t.concat(e._body)):o.blobConstructor?new r.Blob(e._body.map(function(e){return c(e)}),{type:(a["content-type"]||{}).value||""}):t.concat(e._body).toString());var u=[];if(Object.keys(a).forEach(function(e){var t=a[e].name,n=a[e].value;Array.isArray(n)?n.forEach(function(e){u.push([t,e])}):u.push([t,n])}),"fetch"===e._mode){var l=null;if(o.abortController){var p=new AbortController;l=p.signal,e._fetchAbortController=p,"requestTimeout"in n&&0!==n.requestTimeout&&(e._fetchTimer=r.setTimeout(function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()},n.requestTimeout))}r.fetch(e._opts.url,{method:e._opts.method,headers:u,body:s||void 0,mode:"cors",credentials:n.withCredentials?"include":"same-origin",signal:l}).then(function(t){e._fetchResponse=t,e._connect()},function(t){r.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)})}else{var h=e._xhr=new r.XMLHttpRequest;try{h.open(e._opts.method,e._opts.url,!0)}catch(t){return void i.nextTick(function(){e.emit("error",t)})}"responseType"in h&&(h.responseType=e._mode.split(":")[0]),"withCredentials"in h&&(h.withCredentials=!!n.withCredentials),"text"===e._mode&&"overrideMimeType"in h&&h.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in n&&(h.timeout=n.requestTimeout,h.ontimeout=function(){e.emit("requestTimeout")}),u.forEach(function(e){h.setRequestHeader(e[0],e[1])}),e._response=null,h.onreadystatechange=function(){switch(h.readyState){case f.LOADING:case f.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(h.onprogress=function(){e._onXHRProgress()}),h.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{h.send(s)}catch(t){return void i.nextTick(function(){e.emit("error",t)})}}}},p.prototype._onXHRProgress=function(){(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},p.prototype._connect=function(){var e=this;e._destroyed||(e._response=new l(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},p.prototype._write=function(e,t,n){this._body.push(e),n()},p.prototype.abort=p.prototype.destroy=function(){this._destroyed=!0,r.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},p.prototype.end=function(e,t,n){"function"==typeof e&&(n=e,e=void 0),u.Writable.prototype.end.call(this,e,t,n)},p.prototype.flushHeaders=function(){},p.prototype.setTimeout=function(){},p.prototype.setNoDelay=function(){},p.prototype.setSocketKeepAlive=function(){};var h=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,n("qykS").Buffer,n("pCvA"),n("5IsQ"))},AQPL:function(e,t,n){var r=n("+IV6");e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},AWLF:function(e,t,n){"use strict";(function(t){var r=n("PQZM"),i=n("wrle"),o=n("lIgl"),a=n("dcjB"),s=n("qG8n"),u=n("asuC"),c=n("Gm6p"),l=n("ZaFu"),f=n("WSLi"),p=n("Lc1h"),h=n("1Wwy"),d=n("6w3l"),_=n("P1TA"),y=n("pPJX"),v=n("nEgm"),m=n("eXcQ"),g=n("uDox").forTag("transport.transport"),E=/^(?:https?:\/\/)?@([^\/]+)\//,b=/^(ws|http)s?:\/\/.*[^\/]$/,T=/^([a-zA-Z]{3},\ \d{1,2}\ [a-zA-Z]{3}\ (\d{1,2}.){3})/,S={fetch:!0,xhr:!0};function R(e){if(!e)throw new TypeError("Argument `config` for Transport cannot be null.");if(!e.providers)throw new TypeError("Argument `config.providers` for Transport cannot be null.");s.call(this),this._ownerRef="ownerRef"in e?Object(e.ownerRef):{},this._tokenProvider=e.providers.token,this._endpointsProvider=e.providers.endpoints,this._HTTP=e.HTTP,this._Fetch=e.Fetch,this._WebSocket=e.WebSocket,this._reconnectionRetries=e.reconnectionRetries>=0?e.reconnectionRetries:3,this._requestMode=e.requestMode in S?e.requestMode:"xhr",this._forcePolyfillTypes=e.forcePolyfillTypes||{},this._disableAutoLogout="disableAutoLogout"in e&&e.disableAutoLogout,this._activated=!1,this._dealer=null,this._connectionObserver=null,this._endpoints=null,this._lastToken=null,this._lastTokenExpiry=0,this._refreshTokenPromise=null,this._authenticationPromise=!1,this._reconnectTimeout=null,this._isReconnecting=!1,this._initTime=0,this._lastDisconnect=0,this._stateMask=0,this._quickDisconnectCount=0,this._disconnectBeforeUnload=e.disconnectBeforeUnload||!1,this._counter=new a(e.backoffStrategy||{algo:"exp",baseTime:5e3}),this._stateAwareListeners={connected:[],authenticated:[],connection_id:[]},this._stateAwareRunners={connected:null,authenticated:null,connection_id:null},this._onAuthenticated=this._onAuthenticated.bind(this),this._onAuthenticationFailed=this._onAuthenticationFailed.bind(this),this._parseProvidedToken=this._parseProvidedToken.bind(this),this._init()}r(R,s),R.create=function(e){return new R(e)},R.prototype._init=function(){this.onAddListener(_.TRANSPORT_CONNECTED,this._onAddListener.bind(this,"connected")),this.onAddListener(_.TRANSPORT_AUTHENTICATED,this._onAddListener.bind(this,"authenticated")),this.onAddListener(_.TRANSPORT_CONNECTION_ID,this._onAddListener.bind(this,"connection_id")),this.onRemoveListener(_.TRANSPORT_CONNECTED,this._onRemoveListener.bind(this,"connected")),this.onRemoveListener(_.TRANSPORT_AUTHENTICATED,this._onRemoveListener.bind(this,"authenticated")),this.onRemoveListener(_.TRANSPORT_CONNECTION_ID,this._onRemoveListener.bind(this,"connection_id")),"fetch"!==this._requestMode||this._Fetch.isSupported()||(g.warn('Default "fetch" request mode unavailable; Fallback to "xhr"'),this._requestMode="xhr");var e=new l({WebSocket:this._WebSocket});this._dealer=e,e.on(_.DEALER_DISCONNECTED,this._onDealerDisconnected.bind(this)),this._disableAutoLogout||this.matchMessages("client:logout",this._onLogout.bind(this)),this.proxyEmit(e,_.DEALER_CONNECTION_ID,_.TRANSPORT_CONNECTION_ID),this.proxyEmitSync(e,_.DEALER_MESSAGE,_.INTERNAL_DEALER_MESSAGE),this.proxyEmitSync(e,_.DEALER_REQUEST,_.INTERNAL_DEALER_REQUEST),this._connectionObserver=new f({notifyBeforeUnload:this._disconnectBeforeUnload}),this._connectionObserver.on(_.CONNECTION_ONLINE,this._onOnline.bind(this)),this._connectionObserver.on(_.CONNECTION_OFFLINE,this._onOffline.bind(this)),this._connectionObserver.on(_.WINDOW_BEFORE_UNLOAD,this.disconnect.bind(this))},R.prototype._onAddListener=function(e,t){if(!t.options.ignoreCurrentState){var n=null;switch(e){case"connected":if(!this.isConnected())return;n=u.resolve(s.createEvent(_.TRANSPORT_CONNECTED));break;case"authenticated":if(!this.isAuthenticated())return;n=u.resolve(s.createEvent(_.TRANSPORT_AUTHENTICATED));break;case"connection_id":if(!this._dealer.hasConnectionId())return;n=this._dealer.getConnectionInfo().then(function(e){return s.createEvent(_.TRANSPORT_CONNECTION_ID,e)});break;default:return}var r=t.listener;this._stateAwareListeners[e].push(r);var i=this._stateAwareRunners;i[e]||(i[e]=n.then(this._runStateAwareQueues.bind(this,e)),t.options.once&&t.preventDefault())}},R.prototype._onRemoveListener=function(e,t){if(!t.options.ignoreCurrentState){var n=t.listener,r=this._stateAwareListeners[e].indexOf(n);-1!==r&&this._stateAwareListeners[e].splice(r,1)}},R.prototype._runStateAwareQueues=function(e,t){for(var n=this._stateAwareListeners[e].splice(0),r=0,i=n.length;r<i;r++)n[r].call(this,t);this._stateAwareRunners[e]=null},R.prototype._onDealerDisconnected=function(e){var t=Date.now(),n=t-this._lastDisconnect;this._disconnect(!0),e.wsCode!==m.CLOSE?this._connectionObserver.isOnline()&&(n<5e3?(this._reconnectTimeout&&(clearTimeout(this._reconnectTimeout),this._quickDisconnectCount++,this.emit(_.TRANSPORT_SHORT_SESSION_DISCONNECTED,{disconnectCount:this._quickDisconnectCount,sessionLength:n})),this._reconnectTimeout=setTimeout(this._tryToReconnect.bind(this),this._counter.getTime(this._quickDisconnectCount))):(this._quickDisconnectCount=0,this._lastDisconnect=t,this._tryToReconnect())):this._quickDisconnectCount=0},R.prototype._onLogout=function(){var e=function(){this._lastToken=null,this._lastTokenExpiry=0,this.emit(_.TRANSPORT_LOGGED_OUT)}.bind(this);this.disconnect().then(e,e)},R.prototype._onAuthenticated=function(){return clearTimeout(this._reconnectTimeout),this._authenticationPromise=null,this._stateMask|=4,this._initTime=Date.now(),this.emit(_.TRANSPORT_AUTHENTICATED),u.resolve(!0)},R.prototype._onAuthenticationFailed=function(e){var t=e&&e.error?e.error:e;return this._authenticationPromise=null,this._stateMask&=-5,this.emit(_.TRANSPORT_AUTHENTICATION_FAILED,{error:t}),u.reject(t)},R.prototype._onOffline=function(){this.emit(_.TRANSPORT_CONNECTION_OFFLINE),this._disconnect(!0)},R.prototype._onOnline=function(){this.emit(_.TRANSPORT_CONNECTION_ONLINE),this._activated&&this._tryToReconnect()},R.prototype._tryToReconnect=function(){this._isReconnecting||(this._stateMask=0,o.init(this._createReconnector(),{baseTime:1e3,maxTime:15e3,maxRetries:this._reconnectionRetries}).catch(function(){this._stateMask=0,this._isReconnecting=!1,this.emit(_.TRANSPORT_DISCONNECTED)}.bind(this)))},R.prototype._createReconnector=function(){var e=!0;return function(){return this._isReconnecting=!0,this.emit(_.TRANSPORT_RECONNECTING),this._disconnect(!0),this._connect().then(function(){return this._authenticate(e).then(function(t){return e=!1,t},function(t){return e=!0,u.reject(t)})}.bind(this)).then(function(){return this._isReconnecting=!1,this.emit(_.TRANSPORT_RECONNECTED),!0}.bind(this))}.bind(this)},R.prototype._connect=function(){return 1&this._stateMask?u.resolve(!1):this._connectionObserver.isOnline()?this._performConnect():new u(function(e,t){this._connectionObserver.once(_.CONNECTION_ONLINE,function(){this._performConnect().then(e,t)}.bind(this))}.bind(this))},R.prototype._performConnect=function(){return new u(function(e){e(this._endpointsProvider(this.toPublic()))}.bind(this)).catch(function(e){if(!e||e.code)return u.reject(e);var t=new v(y.TRANSPORT_ENDPOINTS_PROVIDER_ERROR,e.message||"Endpoints provider error.");return t.origin=t,u.reject(t)}).then(this._connectToEndpoints.bind(this)).catch(function(e){var t=e&&e.error?e.error:e;return this.emit(_.TRANSPORT_CONNECTION_FAILED,{error:t}),u.reject(t)}.bind(this))},R.prototype._connectToEndpoints=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)&&e[n]){var r=e[n];b.test(r)&&(r+="/"),t[n]=r}this._endpoints=t,this.emit(_.TRANSPORT_ENDPOINTS_RESOLVED,{endpoints:i({},this._endpoints)});var o=function(){return this._stateMask|=1,this.emit(_.TRANSPORT_CONNECTED),u.resolve(!0)}.bind(this);return e.dealer?this._dealer.connect(t.dealer).then(o):o()},R.prototype._disconnect=function(e){return this._stateMask=0,this._dealer.disconnect(),e||this.emit(_.TRANSPORT_DISCONNECTED),!0},R.prototype._refreshToken=function(e){if(!this._refreshTokenPromise){if(!e&&Date.now()<this._lastTokenExpiry)return u.resolve(this._lastToken);var t=function(){this._refreshTokenPromise=null}.bind(this);this._refreshTokenPromise=new u(function(e){e(this._tokenProvider())}.bind(this)).then(this._parseProvidedToken),this._refreshTokenPromise.then(t,t)}return this._refreshTokenPromise},R.prototype._parseProvidedToken=function(e){var t,n;if(Array.isArray(e)?(t=e[0],n=parseInt(e[1]||3540,10)):(t=e,n=3540),!t)throw this._lastToken=null,this._lastTokenExpiry=0,new v(y.TRANSPORT_INVALID_TOKEN,"Token provider returned an invalid token: "+t);return this._lastToken=t,this._lastTokenExpiry=Date.now()+1e3*n,this.emit(_.TRANSPORT_ACCESS_TOKEN,{token:t}),t},R.prototype._authenticateWithToken=function(e){return this._endpoints.dealer?this._dealer.authenticate(e):u.resolve(!0)},R.prototype._tryExpandSpecialURL=function(e){var t=this._endpoints;return e.replace(E,function(e,n){if(!t.hasOwnProperty(n))throw new TypeError("Cannot replace endpoint @"+n+"; Endpoint undefined.");return t[n]})},R.prototype._processRequestArgs=function(e,t){return new u(function(n){var r=e,o=t||{},a={algo:"exp",maxRetries:2};E.test(r)&&(r=this._tryExpandSpecialURL(r),"authorize"in o||(o.authorize=!0)),o.forcePolyfill=o.responseType in this._forcePolyfillTypes,o.requestMode||(o.requestMode=this._requestMode),"retry"in o&&i(a,o.retry),o.connectionObserver=this._connectionObserver,"metadata"in o||(o.metadata=null),n({url:r,args:o,backoffStrategy:a})}.bind(this))},R.prototype._setAuthHeader=function(e,t){if(!e.authorize)return u.resolve(e);var n=function(){return this._refreshToken(t).then(function(t){return e.headers||(e.headers={}),e.headers.Authorization="Bearer "+t,e})}.bind(this);return 4&this._stateMask?n():new u(function(e,t){this.once("authenticated",function(){n().then(e,t)})}.bind(this))},R.prototype._sendRetriedRequest=function(e){var t=e.backoffStrategy,n=!1,r=function(){return this._setAuthHeader(e.args,n)}.bind(this),i=this._connectionObserver,a=function(){return(i.isOnline()?r():new u(function(t,n){e.args.allowOffline?r().then(t,n):i.once(_.CONNECTION_ONLINE,function(){r().then(t,n)})})).then(function(){return"fetch"===e.args.requestMode&&this._Fetch.isSupported()?this._Fetch.request(e.url,e.args):this._HTTP.request(e.url,e.args)}.bind(this)).then(function(r){var i;if(r.headers&&(i=r.headers.get("Retry-After")),r.status===h.UNAUTHORIZED&&!e.args.ignoreUnauthorized)return n=!0,u.reject(r);if("function"==typeof t.condition&&(t.condition(r,d)||i)){var o=parseInt(i,10);return T.test(i)?r.retryAfter=new Date(i).getTime()-Date.now():o>0&&(r.retryAfter=1e3*o),u.reject(r)}return r})}.bind(this);return o.init(a,t).catch(this._handleRetriedRequestError).then(function(t){return t.metadata=e.args.metadata,e.args.rejectNotOk&&!t.ok?u.reject(t):t})},R.prototype._handleRetriedRequestError=function(e){return e instanceof p?u.resolve(e):u.reject(e)},R.prototype._sendFireAndForgetRequest=function(e){return"function"==typeof t.fetch?t.fetch(e,{mode:"no-cors"}).catch(function(){}):t.Image?(new t.Image).src=e:this.request(e,{requestMode:"xhr",method:"GET",authorize:!1,ignoreResponseBody:!0}),u.resolve(new p(e,0))},R.prototype._sendRequest=function(e,t){return this._processRequestArgs(e,t).then(function(e){return e.args.forget?this._sendFireAndForgetRequest(e.url):this._sendRetriedRequest(e)}.bind(this))},R.prototype.getEndpoints=function(){return i({},this._endpoints)},R.prototype.getInitTime=function(){return this._initTime},R.prototype.getLastToken=function(){return this._lastToken},R.prototype.getConnectionId=function(){return this._dealer.getConnectionId()},R.prototype.isConnected=function(){return!!(1&this._stateMask)},R.prototype.isAuthenticated=function(){return!!(4&this._stateMask)},R.prototype.isOnline=function(){return this._connectionObserver.isOnline()},R.prototype.forceTokenRefresh=function(){return this._refreshToken(!0).then(function(){return!0})},R.prototype.connect=function(){return this._activated=!0,this._connect()},R.prototype.disconnect=function(){if(!this._activated)return u.resolve(!1);this._activated=!1;var e=this.isConnected()?_.TRANSPORT_BEFORE_ONLINE_DISCONNECT:_.TRANSPORT_BEFORE_OFFLINE_DISCONNECT,t=[];return this.emitSync(e,{awaitPromise:function(e){t.push(e)}}),u.all(t).then(this._disconnect.bind(this,!1))},R.prototype.forceDisconnect=function(){return this._activated?(this._activated=!1,this._disconnect(),u.resolve(!0)):u.resolve(!1)},R.prototype._authenticate=function(e){return this._authenticationPromise||(this._authenticationPromise=o.init(function(){return this._refreshToken(e).catch(function(e){if(!e||e.code)return u.reject(e);var t=new v(y.TRANSPORT_TOKEN_PROVIDER_ERROR,e.message||"Token provider error.");return t.origin=t,u.reject(t)}).then(this._authenticateWithToken.bind(this))}.bind(this),{algo:"exp",maxRetries:2,baseTime:500}).then(this._onAuthenticated).catch(this._onAuthenticationFailed)),this._authenticationPromise},R.prototype.authenticate=function(){return this._authenticate(!0)},R.prototype.request=function(e,t){var n=this._sendRequest.bind(this,e,t);return this._connectionObserver.isOnline()&&(!E.test(e)||1&this._stateMask)?n():new u(function(e,t){this.once("connected",function(){n().then(e,t)})}.bind(this))},R.prototype.matchMessages=function(e,t){if(!e)throw new TypeError('Dealer message "matcher" cannot be null.');if("function"!=typeof t)throw new TypeError("Dealer message callback cannot be null.");var n=function(n){var r=n.data;r.uri&&r.uri.match(e)&&t(r)};n.__matchMessagesExp=e,t.__matchMessagesWrapper=n,this.on(_.INTERNAL_DEALER_MESSAGE,n)},R.prototype.unmatchMessages=function(e,t){if("function"!=typeof t)throw new TypeError("Dealer message callback cannot be null.");var n=t.__matchMessagesWrapper;return n.__matchMessagesExp===e&&(this.removeListener(_.INTERNAL_DEALER_MESSAGE,n),!0)},R.prototype.handlePushRequests=function(e,t){if(!e)throw new TypeError('Dealer push request "matcher" cannot be null.');if("function"!=typeof t)throw new TypeError("Dealer push request callback cannot be null.");var n=function(n){var r=n.data;r.message_ident&&r.message_ident.match(e)&&u.resolve(t(r)).then(n.reply)};n.__matchRequestExp=e,t.__matchRequestWrapper=n,this.on(_.INTERNAL_DEALER_REQUEST,n)},R.prototype.unhandlePushRequests=function(e,t){if("function"!=typeof t)throw new TypeError("Dealer push request callback cannot be null.");var n=t.__matchRequestWrapper;return n.__matchRequestWrapper===e&&(this.removeListener(_.INTERNAL_DEALER_REQUEST,n),!0)},R.prototype.toPublic=function(){return new c(this)},R.prototype.hasOwnerRef=function(e){return this._ownerRef===e},e.exports=R}).call(this,n("pCvA"))},AzgF:function(e,t,n){"use strict";var r=n("63Ad"),i=n("vdEC");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("mXGw")),a=(r(n("W0B4")),r(n("uv3J"))),s=(r(n("S+Ue")),function(e){return o.createElement(a.default.Provider,{value:e.resolver},e.children)});t.default=s},B0Cl:function(e,t,n){"use strict";(function(t,r){var i=n("upWy");e.exports=g;var o,a=n("kah5");g.ReadableState=m,n("hBZP").EventEmitter;var s=function(e,t){return e.listeners(t).length},u=n("n428"),c=n("pRMk").Buffer,l=t.Uint8Array||function(){},f=n("nrnY");f.inherits=n("wfEq");var p=n(1),h=void 0;h=p&&p.debuglog?p.debuglog("stream"):function(){};var d,_=n("IPtZ"),y=n("xTpk");f.inherits(g,u);var v=["error","close","destroy","pause","resume"];function m(e,t){e=e||{};var r=t instanceof(o=o||n("A/eZ"));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new _,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=n("soc2").StringDecoder),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function g(e){if(o=o||n("A/eZ"),!(this instanceof g))return new g(e);this._readableState=new m(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),u.call(this)}function E(e,t,n,r,i){var o,a=e._readableState;return null===t?(a.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,R(e)}}(e,a)):(i||(o=function(e,t){var n,r;return r=t,c.isBuffer(r)||r instanceof l||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):b(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?b(e,a,t,!1):O(e,a)):b(e,a,t,!1))):r||(a.reading=!1)),function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function b(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&R(e)),O(e,t)}Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),g.prototype.destroy=y.destroy,g.prototype._undestroy=y.undestroy,g.prototype._destroy=function(e,t){this.push(null),t(e)},g.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=c.from(e,t),t=""),n=!0),E(this,e,t,!1,n)},g.prototype.unshift=function(e){return E(this,e,null,!0,!1)},g.prototype.isPaused=function(){return!1===this._readableState.flowing},g.prototype.setEncoding=function(e){return d||(d=n("soc2").StringDecoder),this._readableState.decoder=new d(e),this._readableState.encoding=e,this};var T=8388608;function S(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=T?e=T:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function R(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(w,e):w(e))}function w(e){h("emit readable"),e.emit("readable"),C(e)}function O(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(A,e,t))}function A(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(h("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function I(e){h("readable nexttick read 0"),e.read(0)}function N(e,t){t.reading||(h("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),C(e),t.flowing&&!t.reading&&e.read(0)}function C(e){var t=e._readableState;for(h("flow",t.flowing);t.flowing&&null!==e.read(););}function P(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0==(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=c.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0==(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t),r}(e,t.buffer,t.decoder),n);var n}function L(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(k,t,e))}function k(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function D(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}g.prototype.read=function(e){h("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):R(this),null;if(0===(e=S(e,t))&&t.ended)return 0===t.length&&L(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&h("length less than watermark",i=!0),t.ended||t.reading?h("reading or ended",i=!1):i&&(h("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=S(n,t))),null===(r=e>0?P(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&L(this)),null!==r&&this.emit("data",r),r},g.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},g.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,t);var u=t&&!1===t.end||e===r.stdout||e===r.stderr?m:c;function c(){h("onend"),e.end()}o.endEmitted?i.nextTick(u):n.once("end",u),e.on("unpipe",function t(r,i){h("onunpipe"),r===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,h("cleanup"),e.removeListener("close",y),e.removeListener("finish",v),e.removeListener("drain",l),e.removeListener("error",_),e.removeListener("unpipe",t),n.removeListener("end",c),n.removeListener("end",m),n.removeListener("data",d),f=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l())});var l=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,C(e))}}(n);e.on("drain",l);var f=!1,p=!1;function d(t){h("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==D(o.pipes,e))&&!f&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function _(t){h("onerror",t),m(),e.removeListener("error",_),0===s(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",v),m()}function v(){h("onfinish"),e.removeListener("close",y),m()}function m(){h("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",_),e.once("close",y),e.once("finish",v),e.emit("pipe",n),o.flowing||(h("pipe resume"),n.resume()),e},g.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,n);return this}var a=D(t.pipes,e);return-1===a?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)},g.prototype.on=function(e,t){var n=u.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&R(this):i.nextTick(I,this))}return n},g.prototype.addListener=g.prototype.on,g.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(N,e,t))}(this,e)),this},g.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},g.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",function(){if(h("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){h("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<v.length;o++)e.on(v[o],this.emit.bind(this,v[o]));return this._read=function(t){h("wrapped _read",t),r&&(r=!1,e.resume())},this},Object.defineProperty(g.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),g._fromList=P}).call(this,n("pCvA"),n("5IsQ"))},BDEe:function(e,t,n){"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}},BU6D:function(e,t,n){"use strict";(function(t){var r=n("asuC"),i=n("/ub/"),o=n("F9Td"),a=n("qt0y"),s=n("FtDD"),u=n("FSw7");function c(e){var t=e||{};this._keySystem=e.keySystem,this._keySystemSettings=u[this._keySystem],this._mediaType="video",this._loaded=!1,this._transport=e.transport,this._videoCodec=e.videoCodec||"vp8",this._videoMimeType=e.videoMimeType||"video/webm",this._audioCodec=e.audioCodec||"opus",this._audioMimeType=e.audioMimeType||"audio/webm",this._isAd=e.isAd,this._fileId=e.fileId,this._fragments=[],this._segmentLength=0,this._subtitleLanguages=[],this._duration=0,this._initFragment=null,this._videoProfile=null,this._videoProfiles=[],this._audioProfile=null,this._protection=null,this._psshBox=null,this._resolver=t.resolver,this._abrManager=t.abrManager,this._resolvedURLs=[],this._baseURL="",this._fallbackURLs=[],this._initTemplate="",this._segmentTemplate="",this._disableCache=e.disableCache,this._licenseEndpoint=e.licenseEndpoint||null}c.create=function(e){return new c(e||{})},c.prototype._constructAudioMimeType=function(e){return e.mime_type+';codecs="'+e.audio_codec+'"'},c.prototype._constructVideoMimeType=function(e){return e.mime_type+';codecs="'+e.video_codec+'"'},c.prototype.abort=function(){},c.prototype._calculateFragments=function(e){this._duration=e.end_time_millis/1e3;var t=this._segmentLength;this._initFragment={init:!0,cacheBuffer:!this._disableCache,bitrate:0,quality:0,audio:{bufferURL:null,buffer:null,codec:this._constructAudioMimeType(this._audioProfile)},video:{bufferURL:null,buffer:null,codec:this._constructVideoMimeType(this._videoProfile)}};for(var n=0;n<this._duration;n+=t)this._fragments.push({bitrate:0,cacheBuffer:!n&&!this._disableCache,timeStart:n,timeEnd:n+t,quality:0,fetchingBufferPromise:null,audio:{bufferURL:null,buffer:null,codec:this._constructAudioMimeType(this._audioProfile)},video:{bufferURL:null,buffer:null,codec:this._constructVideoMimeType(this._videoProfile)}})},c.prototype._calculateVariants=function(e,t){for(var n=this._videoCodec,r=this._videoMimeType,i=this._audioCodec,o=this._audioMimeType,a=[],s=[],u=0,c=e.length;u<c;u++){var l=e[u];l.video_codec===n&&l.mime_type===r&&l.encryption_index===t?a.push(l):l.audio_codec===i&&l.mime_type===o&&l.encryption_index===t&&s.push(l)}this._videoProfiles=this._sortByProfilesByBitrate(a),this._audioProfiles=s},c.prototype._sortByProfilesByBitrate=function(e){return e.sort(function(e,t){return e.max_bitrate-t.max_bitrate})},c.prototype._constructFragmentURL=function(e){return e.init?this._resolver.getInitSegmentURLs(this._baseURL,this._initTemplate,this._audioProfile,this._videoProfile):this._resolver.getSegmentURLs(this._baseURL,this._segmentTemplate,e.timeStart,this._audioProfile,this._videoProfile)},c.prototype._fetchBufferForFragment=function(e){if(!e.fetchingBufferPromise){var t=Date.now(),n=this._videoProfile.video_resolution,i={method:"GET",responseType:"arraybuffer",timing:!0,retry:{condition:function(e,t){if(0===e.status)return!0;var n=e.getStatusFamily();return n===t.CONNECTION_ERROR||n===t.SERVER_ERROR}}},o=this._constructFragmentURL(e);e.fetchingBufferPromise=r.all([this._transport.request(o.audio,i).then(this._parseFragmentResponse.bind(this,e,"audio")),this._transport.request(o.video,i).then(this._parseFragmentResponse.bind(this,e,"video"))]).spread(function(r,i){return e.quality=n,e.bitrate=this._videoProfile.video_bitrate,e.cacheBuffer&&(e.audio.buffer=r.buffer,e.audio.bufferURL=o.audioLogging,e.video.buffer=i.buffer,e.video.bufferURL=o.videoLogging),e.fetchingBufferPromise=null,this._abrManager.sample(r.buffer.byteLength+i.buffer.byteLength,Date.now()-t),this._updateVariants(),{audio:{bufferURL:o.audioLogging,buffer:r.buffer,codec:e.audio.codec,bandwidth:r.bandwidth},video:{bufferURL:o.videoLogging,buffer:i.buffer,codec:e.video.codec,bandwidth:i.bandwidth}}}.bind(this)).catch(function(t){return e.fetchingBufferPromise=null,r.reject(t)})}return e.fetchingBufferPromise},c.prototype._parseFragmentResponse=function(e,t,n){var i=e.timeStart+"-"+e.timeEnd,s=e[t]?e[t].codec:null;switch(n.status){case 0:return r.reject(new o(a.FRAGMENT_REQUEST_FAILED_WITH_ZERO,"Request failed with status 0.",0,{time_range:i,codec:s,quality:e.quality}));case 200:case 206:return n.body?r.resolve({buffer:n.body,bandwidth:8e3*n.body.byteLength/n.timing.completed}):r.reject(new o(a.FRAGMENT_REQUEST_EMPTY_RESPONSE,"Empty response for successful buffer.",n.status,{time_range:i,codec:s,quality:e.quality}))}return r.reject(new o(a.FRAGMENT_REQUEST_FAILED_WITH_STATUS,"Buffer request failed with status "+n.status,n.status,{time_range:i,codec:s,quality:e.quality}))},c.prototype.getBitrateForTime=function(e){if(null===this._fragments)return 0;var t=this._segmentLength,n=(e-e%t)/t;return this._fragments[n].bitrate},c.prototype.getFragmentLength=function(){return this._segmentLength},c.prototype.getLicenseEndpoint=function(){return this._licenseEndpoint},c.prototype.getBufferForFragment=function(e){return e.audio.buffer&&e.video.buffer&&e.quality>=this._videoProfile.video_resolution?r.resolve({audio:{bufferURL:e.audio.bufferURL,buffer:e.audio.buffer,codec:e.audio.codec,bandwidth:null},video:{bufferURL:e.video.bufferURL,buffer:e.video.buffer,codec:e.video.codec,bandwidth:null}}):this._fetchBufferForFragment(e)},c.prototype.clearCachedBuffers=function(){this._initFragment&&(this._initFragment.audio.buffer=null,this._initFragment.video.buffer=null),this._fragments.forEach(function(e){e.audio.buffer=null,e.video.buffer=null})},c.prototype._parsePSSHBox=function(e){for(var n=i.decode(e),r=new t.Uint8Array(n.length),o=0,a=n.length;o<a;o++)r[o]=n.charCodeAt(o);return r},c.prototype._updateVariants=function(){var e,t=this._abrManager.getBandwidthEstimate(),n=this._videoProfiles,r=n.length;this._audioProfile=this._audioProfiles[0];for(var i=this._audioProfile.audio_bitrate,o=0;o<r;o++){var a=n[o];(a.video_bitrate+i<t-1e5||!e)&&(e=a)}this._videoProfile=e||n[r-1]},c.prototype.getDuration=function(){return this._endTime},c.prototype.getFragmentAfterTime=function(e){if(null===this._fragments)return null;var t=null;if(0===e||.01===e)t=this._fragments[1];else for(var n=0,r=this._fragments.length;n<r;n++)if(this._fragments[n].timeStart>=e){t=this._fragments[n];break}return t},c.prototype.getFragmentForTime=function(e){if(null===this._fragments)return null;var t=null;if(0===e||.01===e)t=this._fragments[0];else for(var n=0,r=this._fragments.length;n<r;n++)if(this._fragments[n].timeStart<=e&&this._fragments[n].timeEnd>=e){t=this._fragments[n];break}return t},c.prototype.getInitFragment=function(){return this._initFragment},c.prototype.getSubtitleLanguages=function(){return this._subtitleLanguages},c.prototype.getSubtitleForLanguage=function(e){return this._subtitleTemplate.replace("{{profile_id}}",e)},c.prototype.load=function(e){var t=e||{};if(this._loaded)return t.resolveLatency=0,t.manifestLatency=0,r.resolve(this);var n=Date.now();return this._resolver.getManifest(this._fileId).then(function(e){var i;t.resolveLatency=0,t.manifestLatency=Date.now()-n;var o=e.contents[0];if(!o)return(i=new s(a.FILE_MALFORMED_SEEKTABLE,"Malformed seektable: no contents.")).track=this.toLogJSON(),r.reject(i);this._resolvedURLs=e.base_urls.slice(),this._baseURL=e.base_urls.shift(),this._fallbackURLs=e.base_urls,this._initTemplate=e.initialization_template,this._segmentTemplate=e.segment_template,this._segmentLength=o.segment_length;var u=void 0;if(o.encryption_infos&&o.encryption_infos.length){for(var c,l=o.encryption_infos,f=this._keySystemSettings.commonName,p=0,h=l.length;p<h;p++){var d=l[p];if(d&&d.key_system===f){u=p,c=d[this._keySystemSettings.pssh_field.video];break}}if(!c)return(i=new s(a.FILE_FORMAT_NOT_SUPPORTED,"KeySystem does not support the file format.")).track=this.toLogJSON(),r.reject(i);this._protection="cenc";try{this._psshBox=this._parsePSSHBox(c)}catch(e){return(i=new s(a.FILE_MALFORMED_PSSH,"Invalid PSSH value.")).track=this.toLogJSON(),r.reject(i)}}return this._startTime=e.start_time_millis,this._endTime=e.end_time_millis,this._calculateVariants(o.profiles,u),this._updateVariants(),this._calculateFragments(e),this._subtitleLanguages=e.subtitle_language_codes||[],this}.bind(this))},c.prototype.setLogData=function(e){return this._logData=e,this},c.prototype.getURI=function(){return this._uri},c.prototype.getFileId=function(){return this._fileId},c.prototype.getFormat=function(){return this._format},c.prototype.getCalculatedDuration=function(){return this._duration},c.prototype.getResolveLatency=function(){},c.prototype.getPlayableCodecs=function(){return[this._constructAudioMimeType(this._audioProfile),this._constructVideoMimeType(this._videoProfile)]},c.prototype.getResolvedURL=function(){return this._resolvedURL},c.prototype.getResolvedURLs=function(){return this._resolvedURLs},c.prototype.getLogData=function(){return this._logData},c.prototype.getAudioProfile=function(){return this._audioProfile},c.prototype.getVideoProfile=function(){return this._videoProfile},c.prototype.getVideoProfiles=function(){return this._videoProfiles},c.prototype.getInitParams=function(){var e={keySystem:this._keySystem,initDataType:this._protection,initData:this._psshBox,licenseServer:null};return r.resolve(e)},c.prototype.isAd=function(){return!!this._isAd},c.prototype.isProtected=function(){return!!this._protection&&!!this._psshBox},c.prototype.getKeySystem=function(){return this._keySystem},c.prototype.getMediaType=function(){return this._mediaType},c.prototype.toLogJSON=function(){return{uri:this._uri,fileId:this._fileId,format:this._format,resolved_url:"unknown-video"}},e.exports=c}).call(this,n("pCvA"))},BdB7:function(e,t,n){"use strict";var r=n("IL7q"),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,p=i?Symbol.for("react.forward_ref"):60112,h=i?Symbol.for("react.suspense"):60113,d=i?Symbol.for("react.suspense_list"):60120,_=i?Symbol.for("react.memo"):60115,y=i?Symbol.for("react.lazy"):60116;i&&Symbol.for("react.fundamental"),i&&Symbol.for("react.responder");var v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return e.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E={};function b(e,t,n){this.props=e,this.context=t,this.refs=E,this.updater=n||g}function T(){}function S(e,t,n){this.props=e,this.context=t,this.refs=E,this.updater=n||g}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw m(Error(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},T.prototype=b.prototype;var R=S.prototype=new T;R.constructor=S,r(R,b.prototype),R.isPureReactComponent=!0;var w={current:null},O={suspense:null},A={current:null},I=Object.prototype.hasOwnProperty,N={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r=void 0,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)I.call(t,r)&&!N.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];i.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:A.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var L=/\/+/g,k=[];function D(e,t,n,r){if(k.length){var i=k.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function x(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>k.length&&k.push(e)}function M(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case o:case a:u=!0}}if(u)return r(i,t,""===n?"."+U(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var l=n+U(s=t[c],c);u+=e(s,l,r,i)}else if("function"==typeof(l=null===t||"object"!=typeof t?null:"function"==typeof(l=v&&t[v]||t["@@iterator"])?l:null))for(t=l.call(t),c=0;!(s=t.next()).done;)u+=e(s=s.value,l=n+U(s,c++),r,i);else if("object"===s)throw r=""+t,m(Error(31),"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return u}(e,"",t,n)}function U(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function j(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?B(e,r,n,function(e){return e}):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(L,"$&/")+"/")+n)),r.push(e))}function B(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(L,"$&/")+"/"),M(e,j,t=D(t,o,r,i)),x(t)}function V(){var e=w.current;if(null===e)throw m(Error(321));return e}var G={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return B(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;M(e,F,t=D(null,null,t,n)),x(t)},count:function(e){return M(e,function(){return null},null)},toArray:function(e){var t=[];return B(e,t,null,function(e){return e}),t},only:function(e){if(!P(e))throw m(Error(143));return e}},createRef:function(){return{current:null}},Component:b,PureComponent:S,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:p,render:e}},lazy:function(e){return{$$typeof:y,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:_,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return V().useCallback(e,t)},useContext:function(e,t){return V().useContext(e,t)},useEffect:function(e,t){return V().useEffect(e,t)},useImperativeHandle:function(e,t,n){return V().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return V().useLayoutEffect(e,t)},useMemo:function(e,t){return V().useMemo(e,t)},useReducer:function(e,t,n){return V().useReducer(e,t,n)},useRef:function(e){return V().useRef(e)},useState:function(e){return V().useState(e)},Fragment:s,Profiler:c,StrictMode:u,Suspense:h,unstable_SuspenseList:d,createElement:C,cloneElement:function(e,t,n){if(null==e)throw m(Error(267),e);var i=void 0,a=r({},e.props),s=e.key,u=e.ref,c=e._owner;if(null!=t){void 0!==t.ref&&(u=t.ref,c=A.current),void 0!==t.key&&(s=""+t.key);var l=void 0;for(i in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)I.call(t,i)&&!N.hasOwnProperty(i)&&(a[i]=void 0===t[i]&&void 0!==l?l[i]:t[i])}if(1==(i=arguments.length-2))a.children=n;else if(1<i){l=Array(i);for(var f=0;f<i;f++)l[f]=arguments[f+2];a.children=l}return{$$typeof:o,type:e.type,key:s,ref:u,props:a,_owner:c}},createFactory:function(e){var t=C.bind(null,e);return t.type=e,t},isValidElement:P,version:"16.9.0",unstable_withSuspenseConfig:function(e,t){var n=O.suspense;O.suspense=void 0===t?null:t;try{e()}finally{O.suspense=n}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:w,ReactCurrentBatchConfig:O,ReactCurrentOwner:A,IsSomeRendererActing:{current:!1},assign:r}},W={default:G},H=W&&G||W;e.exports=H.default||H},BpT2:function(e,t,n){"use strict";var r=n("vdEC");Object.defineProperty(t,"__esModule",{value:!0}),t.processEndVideoMetadata=E,t.processAudioCodec=b,t.processVideoCodec=T,t.processUiLatency=S,t.processLocalTime=R,t.processNewSessionLoaded=w,t.processReasonEnd=O,t.processUnionPlayed=A,t.processMaxContinousPlayed=I,t.processTimeWeightedBitrate=N,t.generateEndVideoMessage=function(e){var t,n=(0,s.generatePlaybackSessionMessage)(e),r=l({},n,((t={})[i.EndVideoKeys.MS_PLAYED_BACKGROUND]=0,t[i.EndVideoKeys.FULL_SCREEN]=0,t[i.EndVideoKeys.PREFETCHED_BYTES]=0,t[i.EndVideoKeys.PREFETCHED_BYTES_LOADED]=-1,t[i.EndVideoKeys.REFERRER_VENDOR]="com.spotify",t[i.EndVideoKeys.SHUFFLE]=!1,t[i.EndVideoKeys.LIVE]=!1,t[i.EndVideoKeys.SEQUENCE_NUMBER]=-1,t[i.EndVideoKeys.SEQUENCE_ID]="",t[i.EndVideoKeys.CONNECTION_TYPE_START]="",t[i.EndVideoKeys.CONNECTION_TYPE_END]="",t[i.EndVideoKeys.STREAMING_RULE]="",t[i.EndVideoKeys.INCOGNITO_MODE]=!1,t[i.EndVideoKeys.N_SEEKFWD]=n[i.PlaybackSessionKeys.N_SEEKFORWARD],t[i.EndVideoKeys.VIDEO_SESSION_ID]=n[i.PlaybackSessionKeys.SESSION_ID],t[i.EndVideoKeys.MS_TOTAL_EST]=n[i.PlaybackSessionKeys.MS_DURATION],t[i.EndVideoKeys.MS_MANIFEST_LATENCY]=n[i.PlaybackSessionKeys.MS_MANIFEST_LOAD_TIME],t[i.EndVideoKeys.START_OFFSET_MS]=n[i.PlaybackSessionKeys.MS_START_POSITION],t[i.EndVideoKeys.MS_SEEK_REBUFFERING]=n[i.PlaybackSessionKeys.MS_BUFFERING_SEEK],t[i.EndVideoKeys.MAX_MS_SEEK_REBUFFERING]=n[i.PlaybackSessionKeys.MS_BUFFERING_SEEK_LONGEST],t[i.EndVideoKeys.MS_STALLED]=n[i.PlaybackSessionKeys.MS_BUFFERING_STALL],t[i.EndVideoKeys.MAX_MS_STALLED]=n[i.PlaybackSessionKeys.MS_BUFFERING_STALL_LONGEST],t[i.EndVideoKeys.KEY_SYSTEM]=n[i.PlaybackSessionKeys.ENCRYPTION_TYPE],t[i.EndVideoKeys.MS_KEY_LATENCY]=n[i.PlaybackSessionKeys.MS_ENCRYPTION_LOAD_TIME],t[i.EndVideoKeys.MS_LATENCY]=n[i.PlaybackSessionKeys.MS_START_TIME],t[i.EndVideoKeys.TOTAL_BYTES]=Math.round(1e3*n[i.PlaybackSessionKeys.KBYTES_DOWNLOADED]),t));return l({},r,E(e),S(e),O(e),A(e),I(e),N(e),R(e),b(e),T(e))};var i=n("bfQY"),o=r(n("WshP")),a=n("gMC6"),s=n("MFfK"),u=n("yWAF"),c=n("jT1e"),l=function(){return(l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function f(e,t){return e.from<t.from?-1:e.from===t.from?e.to>t.to?-1:e.to<t.to?1:0:1}function p(e,t){return 0===t?0:Object.entries(e).reduce(function(e,n){var r=n[0],i=n[1],o=parseFloat(r)*i/t;return Math.round(e+o)},0)}var h=function(e,t){var n=l({},t);if(n.playing&&void 0!==n.bitrates[n.activeBitrate]){var r=(0,a.computeRange)(n.playingTimestamp/1e3,e.timestamp/1e3);n.bitrates[n.activeBitrate]+=r,n.totalTimePlayedInKnownBitrate+=r,n.timeWeightedBitrate=p(n.bitrates,n.totalTimePlayedInKnownBitrate)}return n.playing=!1,n.playingTimestamp=0,n},d=function(e,t){var n=l({},t),r=e.timestamp,i=e.data.format.bandwidth;if(n.bitrates[i]||(n.bitrates[i]=0),n.playing&&-1===n.activeBitrate)n.playingTimestamp=r;else if(n.playing&&i!==n.activeBitrate){var o=(0,a.computeRange)(n.playingTimestamp/1e3,r/1e3);n.bitrates[n.activeBitrate]+=o,n.totalTimePlayedInKnownBitrate+=o,n.playingTimestamp=r,n.timeWeightedBitrate=p(n.bitrates,n.totalTimePlayedInKnownBitrate)}return n.playing||n.bitrates[i]||(n.bitrates[i]=0),n.activeBitrate=i,n},_=function(e,t){return l({},t,{playing:!0,playingTimestamp:e.timestamp})},y=function(e,t){var n=e.data;return l({},t,{playingPosition:n.toPosition,playing:!1,playedRanges:t.playedRanges.concat([{from:t.playingPosition,to:n.fromPosition}])})},v=function(e,t){var n=1e3*(e.data.fromPosition-t.playingPosition),r=Math.round(Math.max(t.maxContinous,n));return l({},t,{playing:!1,playingPosition:e.data.toPosition,maxContinous:r})},m=function(e,t){var n=1e3*(e.data.position-t.playingPosition),r=Math.round(Math.max(t.maxContinous,n));return l({},t,{playing:!1,playingPosition:0,maxContinous:r})},g=function(e,t){var n,r=e.data,i=t.playedRanges.concat([{from:t.playingPosition,to:r.position}]),o=Math.round(1e3*(n=i).sort(f).reduce(function(e,t,r){if(0===e.length)return e.push(t),e;var i=n[r-1];return i.to===t.from?(e[r-1]={from:i.from,to:t.to},e):i.to<t.to&&i.to>t.from?(e[r-1]={from:i.from,to:t.to},e):i.to<t.from?(e.push(t),e):e},[]).reduce(function(e,t){return e+t.to-t.from},0));return l({},t,{playedRanges:i,playing:!1,playingPosition:0,unionPlayed:o})};function E(e){return e.filter(a.created).reduce(function(e,t){var n=t.data;return(0,a.retrieveEndvideoMetadata)(n.playbackIdentity.metadata||{})},{})}function b(e){var t;return e.filter(a.audioFormat).reduce(function(e,t){var n,r=t.data;return(n={})[i.EndVideoKeys.AUDIOCODEC]=r.format.audioCodec,n},((t={})[i.EndVideoKeys.AUDIOCODEC]="",t))}function T(e){var t;return e.filter(a.videoFormat).reduce(function(e,t){var n,r=t.data;return(n={})[i.EndVideoKeys.VIDEOCODEC]=r.format.videoCodec,n},((t={})[i.EndVideoKeys.VIDEOCODEC]="",t))}function S(e){var t,n=(0,a.getFirstTimestamp)(e,o.default.RESUMED);return e.filter(a.created).reduce(function(e,t){var r,o=t.data;if(n!==a.DEFAULT_INVALID_TIME){var s=(0,a.retrieveEndvideoMetadata)(o.playbackIdentity.metadata||{})[a.COMMAND_INITIATED_TIME_MS];return(r={})[i.EndVideoKeys.UI_LATENCY]=s>-1?Math.round(n-s):-1,r}return e},((t={})[i.EndVideoKeys.UI_LATENCY]=a.DEFAULT_INVALID_TIME,t))}function R(e){var t;return e.filter(a.created).reduce(function(e,t){var n,r=t.timestamp;return(n={})[i.EndVideoKeys.LOCAL_TIME_MS]=Math.round(r),n},((t={})[i.EndVideoKeys.LOCAL_TIME_MS]=0,t))}function w(e){return e.filter(a.newSessionLoaded).reduce(function(e,t){var n=t.data;return{startReason:n.playbackRequest.metadata?(0,a.retrieveEndVideoReasonStart)(n.playbackRequest.metadata):""}},{startReason:""})}function O(e){var t,n=w(e);return e.filter(a.ended).reduce(function(e,t){var r,a=t.data;return(r={})[i.EndVideoKeys.REASON_END]=n.startReason||function(e){switch(e){case o.EndReason.PLAYED_TO_END:return c.EndVideoReasonEnd.END_TRACK_DONE;case o.EndReason.REQUESTED:return c.EndVideoReasonEnd.END_PLAY;case o.EndReason.FATAL_ERROR:return c.EndVideoReasonEnd.END_TRACK_ERROR;default:return e}}(a.reason),r},((t={})[i.EndVideoKeys.REASON_END]="",t))}function A(e){var t,n=e.reduce(function(e,t){return(0,u.cond)([[(0,a.startedPlaying)(e.playing),a.handlePlayingPosition],[(0,a.seekingWhilePlaying)(e.playing),y],[(0,a.endedWhilePlaying)(e.playing),g],[u.T,function(e,t){return t}]])(t,e)},{playedRanges:[],playing:!1,playingPosition:0,unionPlayed:0});return(t={})[i.EndVideoKeys.UNION_PLAYED]=n.unionPlayed,t}function I(e){var t,n=e.reduce(function(e,t){return(0,u.cond)([[(0,a.startedPlaying)(e.playing),a.handlePlayingPosition],[(0,a.seekingWhilePlaying)(e.playing),v],[(0,a.endedWhilePlaying)(e.playing),m],[u.T,function(e,t){return t}]])(t,e)},{playing:!1,playingPosition:0,maxContinous:0});return(t={})[i.EndVideoKeys.MAX_CONTINOUS]=n.maxContinous,t}function N(e){var t,n=e.reduce(function(e,t){return(0,u.cond)([[a.videoFormat,d],[(0,a.startedPlaying)(e.playing),_],[(0,a.interruptedWhilePlaying)(e.playing),h],[u.T,function(e,t){return t}]])(t,e)},{activeBitrate:-1,currentPlayingBitrate:0,playing:!1,playingTimestamp:0,bitrates:{},totalTimePlayedInKnownBitrate:0,timeWeightedBitrate:0});return(t={})[i.EndVideoKeys.TIME_WEIGHTED_BITRATE]=n.timeWeightedBitrate,t}},"C/jX":function(e,t,n){"use strict";e.exports=function(e){var t=e;return"true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG&&(t=n("RIcX")(e,{page:{type:"string",nullable:!0},view_uri:{type:"string",nullable:!0},target_uri:{type:"string",nullable:!0},item_id:{type:"string",nullable:!0},action_type:{type:"string",nullable:!0},action_intent:{type:"string",nullable:!0},sp_cid:{type:"string",nullable:!0}})),{name:"KmInteraction",data:t}}},CTrm:function(e,t,n){"use strict";function r(e,t,n){Error.call(this),this.message=t,this.code=e,this.status=n||0}r.prototype=new Error,r.prototype.constructor=r,r.prototype.name="RequestError",e.exports=r},CfxW:function(e,t,n){"use strict";e.exports=function(){return{name:"context_time",data:{timestamp:Date.now()}}}},CqI6:function(e,t,n){"use strict";var r=n("Grao"),i=n("LmGa"),o=n("lIgl"),a=n("W2ce").Event,s=n("A1vi"),u=n("CfxW"),c=n("PyhZ"),l=n("T3pf"),f=n("asuC"),p=l.forTag("EventSender"),h=200,d=3e5,_=18e5;function y(e){var t=e||{};this._transport=t.transport,this._upload=this._upload.bind(this),this._shouldRetry=this._shouldRetry.bind(this),this._uploadWaiting=!1,this._uploader=i.create({enableDebugInfo:t.enableDebugInfo,suppressPersist:t.suppressPersist,transport:this._transport}),this._contextCreators=t.context||[];for(var n=0,r=this._contextCreators.length;n<r;n++)if("function"!=typeof this._contextCreators[n])throw new Error("The context creator at index "+n+" is not a function");this._contextCreators.push(s),this._contextCreators.push(u),t.clientId&&this._contextCreators.push(c(t.clientId)),this._reset(),this._refreshing=!1,this._events=[],this._backoffBaseTime=t.baseTime||h,this._backoffCeiling=t.ceiling||d,this._backoffMaxDuration=t.maxDuration||_,this._transport.on(a.TRANSPORT_BEFORE_ONLINE_DISCONNECT,this._onBeforeDisconnect.bind(this))}y.create=function(e){return new y(e)},y.prototype._onBeforeDisconnect=function(e){e.awaitPromise(this._uploader.lastUpload(this._events.splice(0)))},y.prototype._reset=function(){this._sequenceId=r.generateBase64(16),this._sequenceNumbers={}},y.prototype._shouldRetry=function(){return this._transport.isOnline()&&!this._refreshing},y.prototype._initFlush=function(){var e=this._backoffBaseTime,t=!1;return this._uploader.shouldBackoff()&&(e=this._backoffCeiling,t=!0),o.init(this._upload,{algo:"exp",baseTime:e,ceiling:this._backoffCeiling,maxDuration:this._backoffMaxDuration,backoffInitial:t,retryPredicate:this._shouldRetry})},y.prototype._waitForConnection=function(){return new f(function(e){this._transport.once(a.TRANSPORT_CONNECTION_ONLINE,e)}.bind(this))},y.prototype.flush=function(){return this._transport.isOnline()||this._ongoingUpload||(this._ongoingUpload=this._waitForConnection()),this._ongoingUpload?(this._uploadWaiting||(this._uploadWaiting=!0,this._ongoingUpload=this._ongoingUpload.then(function(){return this._ongoingUpload=!1,this._uploadWaiting=!1,this.flush()}.bind(this))),this._ongoingUpload):this._events.length?(this._ongoingUpload=this._initFlush().then(function(e){return this._ongoingUpload=void 0,e}.bind(this)).catch(function(){return this._ongoingUpload=void 0,this._transport.isOnline()?(this._refreshing||(p.warn("The events in the queue could not be uploaded. Throwing away "+this._events.length+" events."),this._events=[]),{nack:this._events,backoff:this._uploader.shouldBackoff()}):this.flush()}.bind(this)),this._ongoingUpload):f.resolve({nack:this._events,backoff:this._uploader.shouldBackoff()})},y.prototype._upload=function(){return this._uploader.upload(this._events.splice(0)).then(function(e){if(e.nack.length)throw this._events=e.nack.concat(this._events),new Error("Backoff requested");return e}.bind(this))},y.prototype.log=function(e,t){this._sequenceNumbers[e.name]||(this._sequenceNumbers[e.name]=0);var n={sequence_id:this._sequenceId,sequence_number:++this._sequenceNumbers[e.name],event_name:e.name};n.fragments={message:e.data};for(var r=0,i=this._contextCreators.length;r<i;r++){var o=this._contextCreators[r].call(this);n.fragments[o.name]=o.data}this._events.push(n),!1!==t&&this.flush()},y.prototype.refresh=function(){return this._reset(),this._refreshing=!0,this.flush().then(function(){return this._transport.forceTokenRefresh().then(function(e){return this._refreshing=!1,e}.bind(this))}.bind(this)).catch(function(e){return p.warn("Could not flush using cached token",e),this._refreshing=!1,!0}.bind(this))},e.exports=y},CweX:function(e,t,n){"use strict";function r(e,t){return!e&&!t||!(!e||!t)&&e.id===t.id&&e.is_active===t.is_active&&e.is_controllable===t.is_controllable&&e.is_observable===t.is_observable&&e.local===t.local&&e.name===t.name&&e.type===t.type&&e.version===t.version&&e.volume===t.volume}e.exports={areDevicesEqual:r,areDeviceListsEqual:function(e,t){if(!Array.isArray(e)||!Array.isArray(t))throw new TypeError("Invalid devices list.");if(e.length!==t.length)return!1;for(var n=0,i=e.length;n<i;n++)if(!r(e[n],t[n]))return!1;return!0}}},D5Cn:function(e,t,n){"use strict";(function(t){var r=n("REJ4");function i(e){var t=Math.pow(2,31),n=Math.floor(e||Math.random()*(t-1));this._max=t,this._nextInt=function(){return n=(1103515245*n+12345)%t}}function o(){this._index=0,this._items=[]}function a(e,t){this.buf=e,this.pos=0|t}function s(e,t){for(;t--;)e[t]=~e[t]}i.prototype.nextBoolean=function(){return!!(this._nextInt()%2)},i.prototype.nextInt=function(e,t){return void 0===t&&(t=e,e=0),t=void 0===t?this._max:t,e+Math.floor(this.nextFloat()*(t-e))},i.prototype.nextFloat=function(e,t){return void 0===t&&(t=e,e=0),e+((t=void 0===t?1:t)-e)*this._nextInt()/this._max},i.prototype.nextString=function(e,t){e|=0;var n="";(t=t||"aA").indexOf("a")>-1&&(n+="abcdefghijklmnopqrstuvwxyz"),t.indexOf("A")>-1&&(n+="ABCDEFGHIJKLMNOPQRSTUVWXYZ"),t.indexOf("#")>-1&&(n+="0123456789"),t.indexOf("!")>-1&&(n+="~`!@#$%^&*()_+-={}[]:\";'<>?,./|\\");for(var r=[],i=0;i<e;i++)r.push(this.choice(n));return r.join("")},i.prototype.nextBuffer=function(e){var n,r=[];for(n=0;n<e;n++)r.push(this.nextInt(256));return new t(r)},i.prototype.choice=function(e){var t=e.length;if(!t)throw new Error("choosing from empty array");return e[this.nextInt(t)]},o.prototype.push=function(e){var t,n=this._items,r=0|n.length;for(n.push(e);r>0&&n[r].index<n[t=r-1>>1].index;)e=n[r],n[r]=n[t],n[t]=e,r=t},o.prototype.pop=function(){var e=this._items,t=e.length-1|0,n=e[0];if(!n||n.index>this._index)return null;if(this._index++,!t)return e.pop(),n;e[0]=e.pop();for(var r,i,o,a,s,u,c,l=t>>1,f=0;f<l&&(a=e[f],i=f+1<<1,u=e[r=1+(f<<1)],!(c=e[i])||u.index<=c.index?(s=u,o=r):(s=c,o=i),!(s.index>=a.index));)e[o]=a,e[f]=s,f=o;return n},a.prototype.isValid=function(){return this.pos<=this.buf.length},a.prototype.getValue=function(){return this.buf.slice(0,this.pos)},a.prototype.readBoolean=function(){return!!this.buf[this.pos++]},a.prototype.skipBoolean=function(){this.pos++},a.prototype.writeBoolean=function(e){this.buf[this.pos++]=!!e},a.prototype.readInt=a.prototype.readLong=function(){var e,t,n,r,i=0,o=0,a=this.buf;do{t=128&(e=a[this.pos++]),i|=(127&e)<<o,o+=7}while(t&&o<28);if(t){n=i,r=268435456;do{n+=(127&(e=a[this.pos++]))*r,r*=128}while(128&e);return(n%2?-(n+1):n)/2}return i>>1^-(1&i)},a.prototype.skipInt=a.prototype.skipLong=function(){for(var e=this.buf;128&e[this.pos++];);},a.prototype.writeInt=a.prototype.writeLong=function(e){var t,n,r=this.buf;if(e>=-1073741824&&e<1073741824){n=e>=0?e<<1:~e<<1|1;do{r[this.pos]=127&n,n>>=7}while(n&&(r[this.pos++]|=128))}else{t=e>=0?2*e:2*-e-1;do{r[this.pos]=127&t,t/=128}while(t>=1&&(r[this.pos++]|=128))}this.pos++},a.prototype.readFloat=function(){var e=this.buf,t=this.pos;if(this.pos+=4,!(this.pos>e.length))return this.buf.readFloatLE(t)},a.prototype.skipFloat=function(){this.pos+=4},a.prototype.writeFloat=function(e){var t=this.buf,n=this.pos;if(this.pos+=4,!(this.pos>t.length))return this.buf.writeFloatLE(e,n)},a.prototype.readDouble=function(){var e=this.buf,t=this.pos;if(this.pos+=8,!(this.pos>e.length))return this.buf.readDoubleLE(t)},a.prototype.skipDouble=function(){this.pos+=8},a.prototype.writeDouble=function(e){var t=this.buf,n=this.pos;if(this.pos+=8,!(this.pos>t.length))return this.buf.writeDoubleLE(e,n)},a.prototype.readFixed=function(e){var n=this.pos;if(this.pos+=e,!(this.pos>this.buf.length)){var r=new t(e);return this.buf.copy(r,0,n,n+e),r}},a.prototype.skipFixed=function(e){this.pos+=e},a.prototype.writeFixed=function(e,t){t=t||e.length;var n=this.pos;this.pos+=t,this.pos>this.buf.length||e.copy(this.buf,n,0,t)},a.prototype.readBytes=function(){return this.readFixed(this.readLong())},a.prototype.skipBytes=function(){var e=this.readLong();this.pos+=e},a.prototype.writeBytes=function(e){var t=e.length;this.writeLong(t),this.writeFixed(e,t)},a.prototype.readString=function(){var e=this.readLong(),t=this.pos,n=this.buf;if(this.pos+=e,!(this.pos>n.length))return this.buf.utf8Slice(t,t+e)},a.prototype.skipString=function(){var e=this.readLong();this.pos+=e},a.prototype.writeString=function(e){var n=t.byteLength(e);this.writeLong(n);var r=this.pos;this.pos+=n,this.pos>this.buf.length||this.buf.utf8Write(e,r,n)},a.prototype.writeBinary=function(e,t){var n=this.pos;this.pos+=t,this.pos>this.buf.length||this.buf.write(e,n,t,"binary")},a.prototype.matchBoolean=function(e){return this.buf[this.pos++]-e.buf[e.pos++]},a.prototype.matchInt=a.prototype.matchLong=function(e){var t=this.readLong(),n=e.readLong();return t===n?0:t<n?-1:1},a.prototype.matchFloat=function(e){var t=this.readFloat(),n=e.readFloat();return t===n?0:t<n?-1:1},a.prototype.matchDouble=function(e){var t=this.readDouble(),n=e.readDouble();return t===n?0:t<n?-1:1},a.prototype.matchFixed=function(e,t){return this.readFixed(t).compare(e.readFixed(t))},a.prototype.matchBytes=a.prototype.matchString=function(e){var t=this.readLong(),n=this.pos;this.pos+=t;var r=e.readLong(),i=e.pos;e.pos+=r;var o=this.buf.slice(n,this.pos),a=e.buf.slice(i,e.pos);return o.compare(a)},a.prototype.unpackLongBytes=function(){var e,n,r=new t(8),i=0,o=0,a=6,u=this.buf;for(n=1&(e=u[this.pos++]),r.fill(0),i|=(127&e)>>1;128&e;)i|=(127&(e=u[this.pos++]))<<a,(a+=7)>=8&&(a-=8,r[o++]=i,i>>=8);return r[o]=i,n&&s(r,8),r},a.prototype.packLongBytes=function(e){var t,n=(128&e[7])>>7,r=this.buf,i=1,o=0,a=3;n?(s(e,8),t=1):t=0;for(var u=[e.readUIntLE(0,3),e.readUIntLE(3,3),e.readUIntLE(6,2)];a&&!u[--a];);for(;o<a;)for(t|=u[o++]<<i,i+=24;i>7;)r[this.pos++]=127&t|128,t>>=7,i-=7;t|=u[a]<<i;do{r[this.pos]=127&t,t>>=7}while(t&&(r[this.pos++]|=128));this.pos++,n&&s(e,8)},e.exports={abstractFunction:function(){throw new Error("abstract")},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},compare:function(e,t){return e===t?0:e<t?-1:1},getHash:function(e,t){t=t||"md5";var n=r.createHash(t);return n.end(e),n.read()},toMap:function(e,t){var n,r,i={};for(n=0;n<e.length;n++)i[t(r=e[n])]=r;return i},singleIndexOf:function(e,t){var n,r,i=-1;if(!e)return-1;for(n=0,r=e.length;n<r;n++)if(e[n]===t){if(i>=0)return-2;i=n}return i},hasDuplicates:function(e,t){var n,r,i,o={};for(n=0,r=e.length;n<r;n++){if(i=e[n],t&&(i=t(i)),o[i])return!0;o[i]=!0}return!1},Lcg:i,OrderedQueue:o,Tap:a}}).call(this,n("qykS").Buffer)},DBDF:function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);var t=e||{};this.index="index"in t?t.index:-1,this.position="position"in t?t.position:0,this.initialPosition="initialPosition"in t?t.initialPosition:0,this.duration="duration"in t?t.duration:-1,this.paused="paused"in t&&t.paused,this.reason=t.reason||"unknown"}r.create=function(e){return e instanceof r?e:new r(e)},e.exports=r},DNnd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_BACKGROUND_FETCH_INTERVAL=t.DEFAULT_BACKGROUND_FETCH_INTERVAL=t.INSTALLATION_ID_COOKIE_KEY=t.INSTALLATION_ID_STORAGE_KEY=t.CONFIG_STORAGE_KEY=void 0;var r=n("fFKA");t.CONFIG_STORAGE_KEY="com.spotify.rcs.configuration",t.INSTALLATION_ID_STORAGE_KEY="com.spotify.rcs.installationId",t.INSTALLATION_ID_COOKIE_KEY="sp_t";var i=1*r.TimeUnit.HOUR;t.DEFAULT_BACKGROUND_FETCH_INTERVAL=i;var o=30*r.TimeUnit.SECOND;t.MIN_BACKGROUND_FETCH_INTERVAL=o},"DqZ+":function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=r(n("du5n")),a=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e){function t(t){var n=e.call(this)||this;return n.onEnded=t,n}return a(t,e),t.prototype.onPlaybackEnded=function(t,n,r){e.prototype.onPlaybackEnded.call(this,t,n,r),this.onEnded&&(this.onEnded(this.sessionEvents),this.onEnded=null)},t}(o.default);t.default=s},E02R:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},E6BA:function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({CONNECTION_ONLINE:"online",CONNECTION_OFFLINE:"offline",DEALER_AUTHENTICATED:"authenticated",DEALER_AUTHENTICATION_FAILED:"authentication_failed",DEALER_CONNECTED:"connected",DEALER_CONNECTION_ID:"connection_id",DEALER_ERROR:"error",DEALER_DISCONNECTED:"disconnected",DEALER_MESSAGE:"message",DEALER_REQUEST:"request",INTERNAL_DEALER_MESSAGE:"__dealer_message",INTERNAL_DEALER_REQUEST:"__dealer_request",PRODUCT_STATE_CHANGED:"product_state_changed",TRANSPORT_ACCESS_TOKEN:"access_token",TRANSPORT_AUTHENTICATED:"authenticated",TRANSPORT_AUTHENTICATION_FAILED:"authentication_failed",TRANSPORT_BEFORE_OFFLINE_DISCONNECT:"before_offline_disconnect",TRANSPORT_BEFORE_ONLINE_DISCONNECT:"before_online_disconnect",TRANSPORT_CONNECTED:"connected",TRANSPORT_CONNECTION_ERROR:"connection_error",TRANSPORT_CONNECTION_FAILED:"connection_failed",TRANSPORT_CONNECTION_ID:"connection_id",TRANSPORT_CONNECTION_OFFLINE:"connection_offline",TRANSPORT_CONNECTION_ONLINE:"connection_online",TRANSPORT_DEALER_MESSAGE:"dealer_message",TRANSPORT_DISCONNECTED:"disconnected",TRANSPORT_ENDPOINTS_RESOLVED:"endpoints_resolved",TRANSPORT_LOGGED_OUT:"logged_out",TRANSPORT_SHORT_SESSION_DISCONNECTED:"short_session_disconnected",TRANSPORT_RECONNECTED:"reconnected",TRANSPORT_RECONNECTING:"reconnecting",WINDOW_BEFORE_UNLOAD:"beforeunload"})},E6vx:function(e,t,n){"use strict";function r(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function i(e){return"[object ErrorEvent]"===Object.prototype.toString.call(e)}function o(e){return"[object DOMError]"===Object.prototype.toString.call(e)}function a(e){return"[object DOMException]"===Object.prototype.toString.call(e)}function s(e){return"[object String]"===Object.prototype.toString.call(e)}function u(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}function l(e){return"undefined"!=typeof Event&&e instanceof Event}function f(e){return"undefined"!=typeof Element&&e instanceof Element}function p(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function h(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function d(e){return c(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}n.d(t,"d",function(){return r}),n.d(t,"e",function(){return i}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"j",function(){return s}),n.d(t,"h",function(){return u}),n.d(t,"g",function(){return c}),n.d(t,"f",function(){return l}),n.d(t,"c",function(){return f}),n.d(t,"i",function(){return p}),n.d(t,"l",function(){return h}),n.d(t,"k",function(){return d})},EFBM:function(e,t,n){"use strict";var r=n("PCPI");function i(){this.reset()}i.create=function(){return new i},i.prototype.reset=function(){this._sequenceId=r.generateBase64(16),this._sequenceNumbers={}},i.prototype.getSequenceId=function(){return this._sequenceId},i.prototype.nextSequenceNumber=function(e){return this._sequenceNumbers[e]||(this._sequenceNumbers[e]=0),++this._sequenceNumbers[e]},e.exports=i},EFMV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("+Ltg"),i=Object.prototype.hasOwnProperty,o=Array.prototype.splice,a=Object.prototype.toString;function s(e){return a.call(e).slice(8,-1)}var u=Object.assign||function(e,t){return c(t).forEach(function(n){i.call(t,n)&&(e[n]=t[n])}),e},c="function"==typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)};function l(e){return Array.isArray(e)?u(e.constructor(e.length),e):"Map"===s(e)?new Map(e):"Set"===s(e)?new Set(e):e&&"object"==typeof e?u(Object.create(Object.getPrototypeOf(e)),e):e}var f=function(){function e(){this.commands=u({},p),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(e,t){return e===t},this.update.newContext=function(){return(new e).update}}return Object.defineProperty(e.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(e){this.update.isEquals=e},enumerable:!0,configurable:!0}),e.prototype.extend=function(e,t){this.commands[e]=t},e.prototype.update=function(e,t){var n=this,o="function"==typeof t?{$apply:t}:t;Array.isArray(e)&&Array.isArray(o)||r(!Array.isArray(o),"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."),r("object"==typeof o&&null!==o,"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: %s.",Object.keys(this.commands).join(", "));var a=e;return c(o).forEach(function(t){if(i.call(n.commands,t)){var r=e===a;a=n.commands[t](o[t],a,o,e),r&&n.isEquals(a,e)&&(a=e)}else{var u="Map"===s(e)?n.update(e.get(t),o[t]):n.update(e[t],o[t]),c="Map"===s(a)?a.get(t):a[t];n.isEquals(u,c)&&(void 0!==u||i.call(e,t))||(a===e&&(a=l(e)),"Map"===s(a)?a.set(t,u):a[t]=u)}}),a},e}();t.Context=f;var p={$push:function(e,t,n){return d(t,n,"$push"),e.length?t.concat(e):t},$unshift:function(e,t,n){return d(t,n,"$unshift"),e.length?e.concat(t):t},$splice:function(e,t,n,i){return function(e,t){r(Array.isArray(e),"Expected $splice target to be an array; got %s",e),y(t.$splice)}(t,n),e.forEach(function(e){y(e),t===i&&e.length&&(t=l(i)),o.apply(t,e)}),t},$set:function(e,t,n){return function(e){r(1===Object.keys(e).length,"Cannot have more than one key in an object with $set")}(n),e},$toggle:function(e,t){_(e,"$toggle");var n=e.length?l(t):t;return e.forEach(function(e){n[e]=!t[e]}),n},$unset:function(e,t,n,r){return _(e,"$unset"),e.forEach(function(e){Object.hasOwnProperty.call(t,e)&&(t===r&&(t=l(r)),delete t[e])}),t},$add:function(e,t,n,r){return v(t,"$add"),_(e,"$add"),"Map"===s(t)?e.forEach(function(e){var n=e[0],i=e[1];t===r&&t.get(n)!==i&&(t=l(r)),t.set(n,i)}):e.forEach(function(e){t!==r||t.has(e)||(t=l(r)),t.add(e)}),t},$remove:function(e,t,n,r){return v(t,"$remove"),_(e,"$remove"),e.forEach(function(e){t===r&&t.has(e)&&(t=l(r)),t.delete(e)}),t},$merge:function(e,t,n,i){var o,a;return o=t,r((a=e)&&"object"==typeof a,"update(): $merge expects a spec of type 'object'; got %s",a),r(o&&"object"==typeof o,"update(): $merge expects a target of type 'object'; got %s",o),c(e).forEach(function(n){e[n]!==t[n]&&(t===i&&(t=l(i)),t[n]=e[n])}),t},$apply:function(e,t){var n;return r("function"==typeof(n=e),"update(): expected spec of $apply to be a function; got %s.",n),e(t)}},h=new f;function d(e,t,n){r(Array.isArray(e),"update(): expected target of %s to be an array; got %s.",n,e),_(t[n],n)}function _(e,t){r(Array.isArray(e),"update(): expected spec of %s to be an array; got %s. Did you forget to wrap your parameter in an array?",t,e)}function y(e){r(Array.isArray(e),"update(): expected spec of $splice to be an array of arrays; got %s. Did you forget to wrap your parameters in an array?",e)}function v(e,t){var n=s(e);r("Map"===n||"Set"===n,"update(): %s expects a target of type Set or Map; got %s",t,n)}t.isEquals=h.update.isEquals,t.extend=h.extend,t.default=h.update,t.default.default=e.exports=u(t.default,t)},EMG7:function(e,t,n){"use strict";var r=n("BDEe");e.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}},Ec93:function(e,t,n){"use strict";var r=n("8/eb");e.exports=r({UNKNOWN:0,OK:200,CREATED:201,ACCEPTED:202,NO_CONTENT:204,PARTIAL_CONTENT:206,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,TIMED_OUT:408,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,REQUEST_ENTITY_TOO_LARGE:413,REQUEST_URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,REQUESTED_RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505})},EiP0:function(e,t,n){"use strict";function r(e){this._headers={},this._init(e)}r.prototype._init=function(e){if(e)for(var t=e.split("\r\n"),n=0;n<t.length;n++){var r=t[n],i=r.indexOf(": ");if(i>0){var o=r.substring(0,i).toLowerCase(),a=r.substring(i+2);this._headers[o]=a}}},r.prototype.get=function(e){return this._headers[e.toLowerCase()]||null},r.prototype.has=function(e){return this._headers.hasOwnProperty(e.toLowerCase())},e.exports=r},ErGS:function(e,t,n){"use strict";var r=n("so/P"),i=n("sOO9"),o=n("w7gO"),a=n("asuC"),s=n("Lc1h"),u=n("vowq"),c=n("1Wwy"),l={POST:!0,PUT:!0,DELETE:!0};function f(e,t){var n=t||{};this._url=e,this._method=(n.method||"GET").toUpperCase(),this._payload=n.payload||"",this._headers=n.headers||null,this._responseType=n.responseType||"",this._ignoreResponseBody=n.ignoreResponseBody,this._parseResponseHeaders=n.parseResponseHeaders,this._timing=n.timing?{completed:0}:null,this._requestStartTime=0,this._request=null,this._incomingMessage=null,this._response=null,this._responseBodyBuffer="",this._responsePromise=null,this._onData=this._onData.bind(this),this._onResponse=this._onResponse.bind(this),this._onRequestEnd=this._onRequestEnd.bind(this),this._onRequestError=this._onRequestError.bind(this)}f.request=function(e,t){return new f(e,t).send()},f.prototype.send=function(){return this._requestStartTime=Date.now(),this._responsePromise=a.defer(),this._send(this._url),this._responsePromise.promise},f.prototype._handleRedirect=function(){var e=this._response.headers.get("location");this._send(e)},f.prototype._onData=function(e){this._responseBodyBuffer+=e},f.prototype._onResponse=function(e){var t=e.statusCode;this._response=new s(this._url,t),(this._parseResponseHeaders||t>299)&&(this._response.headers=new u(e.headers)),t>200&&t<400?this._handleRedirect(e):(e.setEncoding("utf8"),e.on("data",this._onData),e.on("end",this._onRequestEnd),this._incomingMessage=e)},f.prototype._onRequestEnd=function(){var e=this._response;this._ignoreResponseBody||this._response.status===c.NO_CONTENT||2!==e.getStatusFamily()||this._parseResponseBody(),this._timing&&(this._timing.completed=Date.now()-this._requestStartTime),e.timing=this._timing,this._removeMessageListeners(),this._removeRequestListeners(),this._responsePromise.resolve(e)},f.prototype._onRequestError=function(){var e=new s(this._url,0);this._timing&&(this._timing.completed=Date.now()-this._requestStartTime),e.timing=this._timing,this._removeMessageListeners(),this._removeRequestListeners(),this._responsePromise.reject(e)},f.prototype._parseResponseBody=function(){var e=this._response;if("json"===this._responseType)try{e.body=JSON.parse(this._responseBodyBuffer)}catch(t){e.body=null}else e.body=this._responseBodyBuffer;this._responseBodyBuffer=""},f.prototype._removeRequestListeners=function(){var e=this._request;e&&(e.removeListener("response",this._onResponse),e.removeListener("error",this._onRequestError))},f.prototype._removeMessageListeners=function(){var e=this._incomingMessage;e&&(e.removeListener("data",this._onData),e.removeListener("end",this._onRequestEnd))},f.prototype._send=function(e){this._url=e;var t,n=this._payload,a=null;this._method in l&&n?a=n:n&&-1===this._url.indexOf("?")&&(this._url+="?"+n);try{t=r.parse(this._url)}catch(e){return this._removeMessageListeners(),this._removeRequestListeners(),void this._responsePromise.reject(e)}var s="https:"===t.protocol?o:i,u={hostname:t.hostname,path:t.path,port:t.port,auth:t.auth,method:this._method,headers:this._headers,agent:s.agent};this._request&&(this._removeRequestListeners(),this._request.abort());var c=s.request(u);c.on("response",this._onResponse),c.on("error",this._onRequestError),a&&c.write(a),c.end(),this._request=c},e.exports=f},EwJK:function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},ExtB:function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({AUTHENTICATED:"authenticated",AUTHENTICATION_ERROR:"authentication_error",AUTOPLAY_FAILED:"autoplay_failed",BEFORE_DISCONNECT:"before_disconnect",BEFORE_VOLUME_CHANGE:"before_volume_change",BUFFERING_END:"buffering_end",BUFFERING_START:"buffering_start",CLIENT_DESCRIPTOR_CHANGED:"descriptor_changed",CONNECTED:"connected",CONNECTION_ERROR:"connection_error",DEVICES_CHANGED:"devices_changed",DEVICE_DESCRIPTOR_CHANGED:"descriptor_changed",DISCONNECTED:"disconnected",DURATION_CHANGED:"duration_changed",ERROR:"error",LAST_ACTIVE_DEVICE_INFO_CHANGED:"last_active_device_info_changed",LOCAL_CONTEXT_ENDED:"local_context_ended",LOCAL_PLAYER_DISABLED:"local_player_disabled",LOCAL_PLAYER_ENABLED:"local_player_enabled",LOCAL_PLAYER_LOGGED_OUT:"local_player_logged_out",LOGGED_OUT:"logged_out",MAX_LIST_ERRORS_REACHED:"max_list_errors_reached",MAX_SUBSCRIPTIONS_REACHED:"max_subscriptions_reached",PLAYBACK_CAPPED:"playback_capped",PLAYER_INITIALIZATION_DONE:"player_initialization_done",PLAYER_INITIALIZATION_FAILED:"player_initialization_failed",PRODUCT_STATE_CHANGED:"product_state_changed",PROGRESS:"progress",RECONNECTED:"reconnected",RECONNECTING:"reconnecting",REMOTE_OBSERVER_DISABLED:"remote_observer_disabled",REMOTE_OBSERVER_ENABLED:"remote_observer_enabled",SERVICE_REGISTRATION_ERROR:"service_registration_error",STATE_CHANGED:"state_changed",TRACK_ENDED:"track_ended",UNRECOVERABLE_FAILURE:"unrecoverable_failure",VIDEO_ELEMENT_APPENDED:"video_element_appended",VIDEO_ELEMENT_REMOVED:"video_element_removed"})},F0Fi:function(e,t,n){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},F9Td:function(e,t,n){"use strict";function r(e,t,n,r){Error.call(this,t),this.code=e,this.message=t,this.status=void 0!==n?n:-1,this.debug=r||{},this.target=null}r.prototype=new Error,r.prototype.constructor=r,r.prototype.name="FragmentError",e.exports=r},FIWN:function(e,t,n){"use strict";e.exports=function(){}},FSw7:function(e,t,n){"use strict";e.exports={"com.widevine.alpha":{commonName:"widevine",licenseServer:"https://@webgate/widevine-license",withCertificate:!0,pssh_field:{audio:"pssh_widevine",video:"encryption_data"}},"com.microsoft.playready":{commonName:"playready",licenseServer:"https://@webgate/playready-license",withCertificate:!1,pssh_field:{audio:"pssh_playready",video:"encryption_data"}},"com.microsoft.playready.hardware":{commonName:"playready",licenseServer:"https://@webgate/playready-license",withCertificate:!1,pssh_field:{audio:"pssh_playready",video:"encryption_data"}}}},FWK2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScheduledTask=void 0;var r=function(){},i=function(){function e(e,t,n){void 0===t&&(t=null),void 0===n&&(n=r),this.task=e,this.schedule=t,this.onerror=n,t&&this.reschedule(t)}return e.prototype.reschedule=function(e){var t=this;e.then(function(n){if(t.schedule===e){t.schedule=null;try{t.task.call(null,n)}catch(e){t.onerror.call(null,e)}}},this.onerror),this.schedule=e},e.prototype.cancel=function(){this.schedule=null},e}();t.ScheduledTask=i},FaXh:function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,p=n?-1:1,h=e[t+f];for(f+=p,o=h&(1<<-l)-1,h>>=-l,l+=s;l>0;o=256*o+e[t+f],f+=p,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=p,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,f=l>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,d=r?1:-1,_=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?p/u:p*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=d,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+h]=255&a,h+=d,a/=256,c-=8);e[n+h-d]|=128*_}},Fcif:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.r(t),n.d(t,"default",function(){return r})},Fqzz:function(e,t,n){"use strict";var r=n("mONU");e.exports=function(){return{name:"context_sdk",data:{version_name:r.version}}}},FtDD:function(e,t,n){"use strict";function r(e,t){Error.call(this,t),this.code=e,this.canPlayNext=!0,this.message=t||"File Error",this.debug={}}r.prototype=new Error,r.prototype.constructor=r,r.prototype.name="FileError",e.exports=r},FvK5:function(e,t,n){e.exports=function(){"use strict";var e=Array.prototype.slice;function t(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function n(e){return a(e)?e:q(e)}function r(e){return s(e)?e:Y(e)}function i(e){return u(e)?e:z(e)}function o(e){return a(e)&&!c(e)?e:X(e)}function a(e){return!(!e||!e[f])}function s(e){return!(!e||!e[p])}function u(e){return!(!e||!e[h])}function c(e){return s(e)||u(e)}function l(e){return!(!e||!e[d])}t(r,n),t(i,n),t(o,n),n.isIterable=a,n.isKeyed=s,n.isIndexed=u,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;var f="@@__IMMUTABLE_ITERABLE__@@",p="@@__IMMUTABLE_KEYED__@@",h="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",_=5,y=1<<_,v=y-1,m={},g={value:!1},E={value:!1};function b(e){return e.value=!1,e}function T(e){e&&(e.value=!0)}function S(){}function R(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i=0;i<n;i++)r[i]=e[i+t];return r}function w(e){return void 0===e.size&&(e.size=e.__iterate(A)),e.size}function O(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?w(e)+t:t}function A(){return!0}function I(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function N(e,t){return P(e,t,0)}function C(e,t){return P(e,t,t)}function P(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var L=0,k=1,D=2,x="function"==typeof Symbol&&Symbol.iterator,M="@@iterator",U=x||M;function F(e){this.next=e}function j(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function B(){return{value:void 0,done:!0}}function V(e){return!!H(e)}function G(e){return e&&"function"==typeof e.next}function W(e){var t=H(e);return t&&t.call(e)}function H(e){var t=e&&(x&&e[x]||e[M]);if("function"==typeof t)return t}function K(e){return e&&"number"==typeof e.length}function q(e){return null==e?oe():a(e)?e.toSeq():function(e){var t=ue(e)||"object"==typeof e&&new te(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function Y(e){return null==e?oe().toKeyedSeq():a(e)?s(e)?e.toSeq():e.fromEntrySeq():ae(e)}function z(e){return null==e?oe():a(e)?s(e)?e.entrySeq():e.toIndexedSeq():se(e)}function X(e){return(null==e?oe():a(e)?s(e)?e.entrySeq():e:se(e)).toSetSeq()}F.prototype.toString=function(){return"[Iterator]"},F.KEYS=L,F.VALUES=k,F.ENTRIES=D,F.prototype.inspect=F.prototype.toSource=function(){return this.toString()},F.prototype[U]=function(){return this},t(q,n),q.of=function(){return q(arguments)},q.prototype.toSeq=function(){return this},q.prototype.toString=function(){return this.__toString("Seq {","}")},q.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},q.prototype.__iterate=function(e,t){return ce(this,e,t,!0)},q.prototype.__iterator=function(e,t){return le(this,e,t,!0)},t(Y,q),Y.prototype.toKeyedSeq=function(){return this},t(z,q),z.of=function(){return z(arguments)},z.prototype.toIndexedSeq=function(){return this},z.prototype.toString=function(){return this.__toString("Seq [","]")},z.prototype.__iterate=function(e,t){return ce(this,e,t,!1)},z.prototype.__iterator=function(e,t){return le(this,e,t,!1)},t(X,q),X.of=function(){return X(arguments)},X.prototype.toSetSeq=function(){return this},q.isSeq=ie,q.Keyed=Y,q.Set=X,q.Indexed=z;var Q,J,$,Z="@@__IMMUTABLE_SEQ__@@";function ee(e){this._array=e,this.size=e.length}function te(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ne(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function ie(e){return!(!e||!e[Z])}function oe(){return Q||(Q=new ee([]))}function ae(e){var t=Array.isArray(e)?new ee(e).fromEntrySeq():G(e)?new re(e).fromEntrySeq():V(e)?new ne(e).fromEntrySeq():"object"==typeof e?new te(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function se(e){var t=ue(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ue(e){return K(e)?new ee(e):G(e)?new re(e):V(e)?new ne(e):void 0}function ce(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function le(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new F(function(){var e=i[n?o-a:a];return a++>o?{value:void 0,done:!0}:j(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function fe(e,t){return t?function e(t,n,r,i){return Array.isArray(n)?t.call(i,r,z(n).map(function(r,i){return e(t,r,i,n)})):he(n)?t.call(i,r,Y(n).map(function(r,i){return e(t,r,i,n)})):n}(t,e,"",{"":e}):pe(e)}function pe(e){return Array.isArray(e)?z(e).map(pe).toList():he(e)?Y(e).map(pe).toMap():e}function he(e){return e&&(e.constructor===Object||void 0===e.constructor)}function de(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function _e(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||u(e)!==u(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var r=e.entries();return t.every(function(e,t){var i=r.next().value;return i&&de(i[1],e)&&(n||de(i[0],t))})&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var f=!0,p=t.__iterate(function(t,r){if(n?!e.has(t):i?!de(t,e.get(r,m)):!de(e.get(r,m),t))return f=!1,!1});return f&&e.size===p}function ye(e,t){if(!(this instanceof ye))return new ye(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(J)return J;J=this}}function ve(e,t){if(!e)throw new Error(t)}function me(e,t,n){if(!(this instanceof me))return new me(e,t,n);if(ve(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t<e&&(n=-n),this._start=e,this._end=t,this._step=n,this.size=Math.max(0,Math.ceil((t-e)/n-1)+1),0===this.size){if($)return $;$=this}}function ge(){throw TypeError("Abstract")}function Ee(){}function be(){}function Te(){}q.prototype[Z]=!0,t(ee,z),ee.prototype.get=function(e,t){return this.has(e)?this._array[O(this,e)]:t},ee.prototype.__iterate=function(e,t){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===e(n[t?r-i:i],i,this))return i+1;return i},ee.prototype.__iterator=function(e,t){var n=this._array,r=n.length-1,i=0;return new F(function(){return i>r?{value:void 0,done:!0}:j(e,i,n[t?r-i++:i++])})},t(te,Y),te.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},te.prototype.has=function(e){return this._object.hasOwnProperty(e)},te.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},te.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new F(function(){var a=r[t?i-o:o];return o++>i?{value:void 0,done:!0}:j(e,a,n[a])})},te.prototype[d]=!0,t(ne,z),ne.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=W(this._iterable),r=0;if(G(n))for(var i;!(i=n.next()).done&&!1!==e(i.value,r++,this););return r},ne.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=W(this._iterable);if(!G(n))return new F(B);var r=0;return new F(function(){var t=n.next();return t.done?t:j(e,r++,t.value)})},t(re,z),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===e(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===e(a,o++,this))break}return o},re.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterator,r=this._iteratorCache,i=0;return new F(function(){if(i>=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return j(e,i,r[i++])})},t(ye,z),ye.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ye.prototype.get=function(e,t){return this.has(e)?this._value:t},ye.prototype.includes=function(e){return de(this._value,e)},ye.prototype.slice=function(e,t){var n=this.size;return I(e,t,n)?this:new ye(this._value,C(t,n)-N(e,n))},ye.prototype.reverse=function(){return this},ye.prototype.indexOf=function(e){return de(this._value,e)?0:-1},ye.prototype.lastIndexOf=function(e){return de(this._value,e)?this.size:-1},ye.prototype.__iterate=function(e,t){for(var n=0;n<this.size;n++)if(!1===e(this._value,n,this))return n+1;return n},ye.prototype.__iterator=function(e,t){var n=this,r=0;return new F(function(){return r<n.size?j(e,r++,n._value):{value:void 0,done:!0}})},ye.prototype.equals=function(e){return e instanceof ye?de(this._value,e._value):_e(e)},t(me,z),me.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},me.prototype.get=function(e,t){return this.has(e)?this._start+O(this,e)*this._step:t},me.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},me.prototype.slice=function(e,t){return I(e,t,this.size)?this:(e=N(e,this.size),(t=C(t,this.size))<=e?new me(0,0):new me(this.get(e,this._end),this.get(t,this._end),this._step))},me.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step==0){var n=t/this._step;if(n>=0&&n<this.size)return n}return-1},me.prototype.lastIndexOf=function(e){return this.indexOf(e)},me.prototype.__iterate=function(e,t){for(var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===e(i,o,this))return o+1;i+=t?-r:r}return o},me.prototype.__iterator=function(e,t){var n=this.size-1,r=this._step,i=t?this._start+n*r:this._start,o=0;return new F(function(){var a=i;return i+=t?-r:r,o>n?{value:void 0,done:!0}:j(e,o++,a)})},me.prototype.equals=function(e){return e instanceof me?this._start===e._start&&this._end===e._end&&this._step===e._step:_e(this,e)},t(ge,n),t(Ee,ge),t(be,ge),t(Te,ge),ge.Keyed=Ee,ge.Indexed=be,ge.Set=Te;var Se="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function Re(e){return e>>>1&1073741824|3221225471&e}function we(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!=e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return Re(n)}if("string"===t)return e.length>ke?function(e){var t=Me[e];return void 0===t&&(t=Oe(e),xe===De&&(xe=0,Me={}),xe++,Me[e]=t),t}(e):Oe(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return function(e){var t;if(Ce&&void 0!==(t=Ae.get(e)))return t;if(void 0!==(t=e[Le]))return t;if(!Ne){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Le]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=++Pe,1073741824&Pe&&(Pe=0),Ce)Ae.set(e,t);else{if(void 0!==Ie&&!1===Ie(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ne)Object.defineProperty(e,Le,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Le]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Le]=t}}return t}(e);if("function"==typeof e.toString)return Oe(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function Oe(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;return Re(t)}var Ae,Ie=Object.isExtensible,Ne=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Ce="function"==typeof WeakMap;Ce&&(Ae=new WeakMap);var Pe=0,Le="__immutablehash__";"function"==typeof Symbol&&(Le=Symbol(Le));var ke=16,De=255,xe=0,Me={};function Ue(e){ve(e!==1/0,"Cannot perform this action with an infinite size.")}function Fe(e){return null==e?$e():je(e)&&!l(e)?e:$e().withMutations(function(t){var n=r(e);Ue(n.size),n.forEach(function(e,n){return t.set(n,e)})})}function je(e){return!(!e||!e[Ve])}t(Fe,Ee),Fe.of=function(){var t=e.call(arguments,0);return $e().withMutations(function(e){for(var n=0;n<t.length;n+=2){if(n+1>=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},Fe.prototype.toString=function(){return this.__toString("Map {","}")},Fe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Fe.prototype.set=function(e,t){return Ze(this,e,t)},Fe.prototype.setIn=function(e,t){return this.updateIn(e,m,function(){return t})},Fe.prototype.remove=function(e){return Ze(this,e,m)},Fe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return m})},Fe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Fe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=function e(t,n,r,i){var o=t===m,a=n.next();if(a.done){var s=o?r:t,u=i(s);return u===s?t:u}ve(o||t&&t.set,"invalid keyPath");var c=a.value,l=o?m:t.get(c,m),f=e(l,n,r,i);return f===l?t:f===m?t.remove(c):(o?$e():t).set(c,f)}(this,rn(e),t,n);return r===m?void 0:r},Fe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):$e()},Fe.prototype.merge=function(){return rt(this,void 0,arguments)},Fe.prototype.mergeWith=function(t){var n=e.call(arguments,1);return rt(this,t,n)},Fe.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,$e(),function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]})},Fe.prototype.mergeDeep=function(){return rt(this,it,arguments)},Fe.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return rt(this,ot(t),n)},Fe.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,$e(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]})},Fe.prototype.sort=function(e){return Nt(qt(this,e))},Fe.prototype.sortBy=function(e,t){return Nt(qt(this,t,e))},Fe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Fe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Fe.prototype.asImmutable=function(){return this.__ensureOwner()},Fe.prototype.wasAltered=function(){return this.__altered},Fe.prototype.__iterator=function(e,t){return new ze(this,e,t)},Fe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},Fe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Je(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Fe.isMap=je;var Be,Ve="@@__IMMUTABLE_MAP__@@",Ge=Fe.prototype;function We(e,t){this.ownerID=e,this.entries=t}function He(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ke(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function qe(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ze(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Qe(e._root)}function Xe(e,t){return j(e,t[0],t[1])}function Qe(e,t){return{node:e,index:0,__prev:t}}function Je(e,t,n,r){var i=Object.create(Ge);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function $e(){return Be||(Be=Je(0))}function Ze(e,t,n){var r,i;if(e._root){var o=b(g),a=b(E);if(r=et(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===m?-1:1:0)}else{if(n===m)return e;i=1,r=new We(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Je(i,r):$e()}function et(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===m?e:(T(s),T(a),new Ye(t,r,[i,o]))}function tt(e){return e.constructor===Ye||e.constructor===qe}function nt(e,t,n,r,i){if(e.keyHash===r)return new qe(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&v,s=(0===n?r:r>>>n)&v;return new He(t,1<<a|1<<s,a===s?[nt(e,t,n+_,r,i)]:(o=new Ye(t,r,i),a<s?[e,o]:[o,e]))}function rt(e,t,n){for(var i=[],o=0;o<n.length;o++){var s=n[o],u=r(s);a(s)||(u=u.map(function(e){return fe(e)})),i.push(u)}return at(e,t,i)}function it(e,t,n){return e&&e.mergeDeep&&a(t)?e.mergeDeep(t):de(e,t)?e:t}function ot(e){return function(t,n,r){if(t&&t.mergeDeepWith&&a(n))return t.mergeDeepWith(e,n);var i=e(t,n,r);return de(t,i)?t:i}}function at(e,t,n){return 0===(n=n.filter(function(e){return 0!==e.size})).length?e:0!==e.size||e.__ownerID||1!==n.length?e.withMutations(function(e){for(var r=t?function(n,r){e.update(r,m,function(e){return e===m?n:t(e,n,r)})}:function(t,n){e.set(n,t)},i=0;i<n.length;i++)n[i].forEach(r)}):e.constructor(n[0])}function st(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,127&(e+=e>>8)+(e>>16)}function ut(e,t,n,r){var i=r?e:R(e);return i[t]=n,i}Ge[Ve]=!0,Ge.delete=Ge.remove,Ge.removeIn=Ge.deleteIn,We.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(de(n,i[o][0]))return i[o][1];return r},We.prototype.update=function(e,t,n,r,i,o,a){for(var s=i===m,u=this.entries,c=0,l=u.length;c<l&&!de(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===i:s)return this;if(T(a),(s||!f)&&T(o),!s||1!==u.length){if(!f&&!s&&u.length>=ct)return function(e,t,n,r){e||(e=new S);for(var i=new Ye(e,we(n),[n,r]),o=0;o<t.length;o++){var a=t[o];i=i.update(e,0,void 0,a[0],a[1])}return i}(e,u,r,i);var p=e&&e===this.ownerID,h=p?u:R(u);return f?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[r,i]:h.push([r,i]),p?(this.entries=h,this):new We(e,h)}},He.prototype.get=function(e,t,n,r){void 0===t&&(t=we(n));var i=1<<((0===e?t:t>>>e)&v),o=this.bitmap;return 0==(o&i)?r:this.nodes[st(o&i-1)].get(e+_,t,n,r)},He.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=we(r));var s=(0===t?n:n>>>t)&v,u=1<<s,c=this.bitmap,l=0!=(c&u);if(!l&&i===m)return this;var f=st(c&u-1),p=this.nodes,h=l?p[f]:void 0,d=et(h,e,t+_,n,r,i,o,a);if(d===h)return this;if(!l&&d&&p.length>=lt)return function(e,t,n,r,i){for(var o=0,a=new Array(y),s=0;0!==n;s++,n>>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new Ke(e,o+1,a)}(e,p,c,s,d);if(l&&!d&&2===p.length&&tt(p[1^f]))return p[1^f];if(l&&d&&1===p.length&&tt(d))return d;var g=e&&e===this.ownerID,E=l?d?c:c^u:c|u,b=l?d?ut(p,f,d,g):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var i=new Array(r),o=0,a=0;a<r;a++)a===t&&(o=1),i[a]=e[a+o];return i}(p,f,g):function(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s<i;s++)s===t?(o[s]=n,a=-1):o[s]=e[s+a];return o}(p,f,d,g);return g?(this.bitmap=E,this.nodes=b,this):new He(e,E,b)},Ke.prototype.get=function(e,t,n,r){void 0===t&&(t=we(n));var i=(0===e?t:t>>>e)&v,o=this.nodes[i];return o?o.get(e+_,t,n,r):r},Ke.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=we(r));var s=(0===t?n:n>>>t)&v,u=i===m,c=this.nodes,l=c[s];if(u&&!l)return this;var f=et(l,e,t+_,n,r,i,o,a);if(f===l)return this;var p=this.count;if(l){if(!f&&--p<ft)return function(e,t,n,r){for(var i=0,o=0,a=new Array(p),s=0,u=1,c=t.length;s<c;s++,u<<=1){var l=t[s];void 0!==l&&s!==r&&(i|=u,a[o++]=l)}return new He(e,i,a)}(e,c,0,s)}else p++;var h=e&&e===this.ownerID,d=ut(c,s,f,h);return h?(this.count=p,this.nodes=d,this):new Ke(e,p,d)},qe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(de(n,i[o][0]))return i[o][1];return r},qe.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=we(r));var s=i===m;if(n!==this.keyHash)return s?this:(T(a),T(o),nt(this,e,t,n,[r,i]));for(var u=this.entries,c=0,l=u.length;c<l&&!de(r,u[c][0]);c++);var f=c<l;if(f?u[c][1]===i:s)return this;if(T(a),(s||!f)&&T(o),s&&2===l)return new Ye(e,this.keyHash,u[1^c]);var p=e&&e===this.ownerID,h=p?u:R(u);return f?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[r,i]:h.push([r,i]),p?(this.entries=h,this):new qe(e,this.keyHash,h)},Ye.prototype.get=function(e,t,n,r){return de(n,this.entry[0])?this.entry[1]:r},Ye.prototype.update=function(e,t,n,r,i,o,a){var s=i===m,u=de(r,this.entry[0]);return(u?i===this.entry[1]:s)?this:(T(a),s?void T(o):u?e&&e===this.ownerID?(this.entry[1]=i,this):new Ye(e,this.keyHash,[r,i]):(T(o),nt(this,e,t,we(r),[r,i])))},We.prototype.iterate=qe.prototype.iterate=function(e,t){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===e(n[t?i-r:r]))return!1},He.prototype.iterate=Ke.prototype.iterate=function(e,t){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[t?i-r:r];if(o&&!1===o.iterate(e,t))return!1}},Ye.prototype.iterate=function(e,t){return e(this.entry)},t(ze,F),ze.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var n,r=t.node,i=t.index++;if(r.entry){if(0===i)return Xe(e,r.entry)}else if(r.entries){if(i<=(n=r.entries.length-1))return Xe(e,r.entries[this._reverse?n-i:i])}else if(i<=(n=r.nodes.length-1)){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return Xe(e,o.entry);t=this._stack=Qe(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ct=y/4,lt=y/2,ft=y/4;function pt(e){var t=Tt();if(null==e)return t;if(ht(e))return e;var n=i(e),r=n.size;return 0===r?t:(Ue(r),r>0&&r<y?bt(0,r,_,null,new yt(n.toArray())):t.withMutations(function(e){e.setSize(r),n.forEach(function(t,n){return e.set(n,t)})}))}function ht(e){return!(!e||!e[dt])}t(pt,be),pt.of=function(){return this(arguments)},pt.prototype.toString=function(){return this.__toString("List [","]")},pt.prototype.get=function(e,t){if((e=O(this,e))>=0&&e<this.size){var n=wt(this,e+=this._origin);return n&&n.array[e&v]}return t},pt.prototype.set=function(e,t){return function(e,t,n){if((t=O(e,t))!=t)return e;if(t>=e.size||t<0)return e.withMutations(function(e){t<0?Ot(e,t).set(0,n):Ot(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,i=e._root,o=b(E);return t>=It(e._capacity)?r=St(r,e.__ownerID,0,t,n,o):i=St(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):bt(e._origin,e._capacity,e._level,i,r):e}(this,e,t)},pt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},pt.prototype.insert=function(e,t){return this.splice(e,0,t)},pt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=_,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Tt()},pt.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(n){Ot(n,0,t+e.length);for(var r=0;r<e.length;r++)n.set(t+r,e[r])})},pt.prototype.pop=function(){return Ot(this,0,-1)},pt.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){Ot(t,-e.length);for(var n=0;n<e.length;n++)t.set(n,e[n])})},pt.prototype.shift=function(){return Ot(this,1)},pt.prototype.merge=function(){return At(this,void 0,arguments)},pt.prototype.mergeWith=function(t){var n=e.call(arguments,1);return At(this,t,n)},pt.prototype.mergeDeep=function(){return At(this,it,arguments)},pt.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return At(this,ot(t),n)},pt.prototype.setSize=function(e){return Ot(this,0,e)},pt.prototype.slice=function(e,t){var n=this.size;return I(e,t,n)?this:Ot(this,N(e,n),C(t,n))},pt.prototype.__iterator=function(e,t){var n=0,r=Et(this,t);return new F(function(){var t=r();return t===gt?{value:void 0,done:!0}:j(e,n++,t)})},pt.prototype.__iterate=function(e,t){for(var n,r=0,i=Et(this,t);(n=i())!==gt&&!1!==e(n,r++,this););return r},pt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?bt(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):(this.__ownerID=e,this)},pt.isList=ht;var dt="@@__IMMUTABLE_LIST__@@",_t=pt.prototype;function yt(e,t){this.array=e,this.ownerID=t}_t[dt]=!0,_t.delete=_t.remove,_t.setIn=Ge.setIn,_t.deleteIn=_t.removeIn=Ge.removeIn,_t.update=Ge.update,_t.updateIn=Ge.updateIn,_t.mergeIn=Ge.mergeIn,_t.mergeDeepIn=Ge.mergeDeepIn,_t.withMutations=Ge.withMutations,_t.asMutable=Ge.asMutable,_t.asImmutable=Ge.asImmutable,_t.wasAltered=Ge.wasAltered,yt.prototype.removeBefore=function(e,t,n){if(n===t?1<<t:0===this.array.length)return this;var r=n>>>t&v;if(r>=this.array.length)return new yt([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-_,n))===a&&o)return this}if(o&&!i)return this;var s=Rt(this,e);if(!o)for(var u=0;u<r;u++)s.array[u]=void 0;return i&&(s.array[r]=i),s},yt.prototype.removeAfter=function(e,t,n){if(n===(t?1<<t:0)||0===this.array.length)return this;var r,i=n-1>>>t&v;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((r=o&&o.removeAfter(e,t-_,n))===o&&i===this.array.length-1)return this}var a=Rt(this,e);return a.array.splice(i+1),r&&(a.array[i]=r),a};var vt,mt,gt={};function Et(e,t){var n=e._origin,r=e._capacity,i=It(r),o=e._tail;return function e(a,s,u){return 0===s?function(e,a){var s=a===i?o&&o.array:e&&e.array,u=a>n?0:n-a,c=r-a;return c>y&&(c=y),function(){if(u===c)return gt;var e=t?--c:u++;return s&&s[e]}}(a,u):function(i,o,a){var s,u=i&&i.array,c=a>n?0:n-a>>o,l=1+(r-a>>o);return l>y&&(l=y),function(){for(;;){if(s){var n=s();if(n!==gt)return n;s=null}if(c===l)return gt;var r=t?--l:c++;s=e(u&&u[r],o-_,a+(r<<o))}}}(a,s,u)}(e._root,e._level,0)}function bt(e,t,n,r,i,o,a){var s=Object.create(_t);return s.size=t-e,s._origin=e,s._capacity=t,s._level=n,s._root=r,s._tail=i,s.__ownerID=o,s.__hash=a,s.__altered=!1,s}function Tt(){return vt||(vt=bt(0,0,_))}function St(e,t,n,r,i,o){var a,s=r>>>n&v,u=e&&s<e.array.length;if(!u&&void 0===i)return e;if(n>0){var c=e&&e.array[s],l=St(c,t,n-_,r,i,o);return l===c?e:((a=Rt(e,t)).array[s]=l,a)}return u&&e.array[s]===i?e:(T(o),a=Rt(e,t),void 0===i&&s===a.array.length-1?a.array.pop():a.array[s]=i,a)}function Rt(e,t){return t&&e&&t===e.ownerID?e:new yt(e?e.array.slice():[],t)}function wt(e,t){if(t>=It(e._capacity))return e._tail;if(t<1<<e._level+_){for(var n=e._root,r=e._level;n&&r>0;)n=n.array[t>>>r&v],r-=_;return n}}function Ot(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new S,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var u=e._level,c=e._root,l=0;a+l<0;)c=new yt(c&&c.array.length?[void 0,c]:[],r),l+=1<<(u+=_);l&&(a+=l,i+=l,s+=l,o+=l);for(var f=It(o),p=It(s);p>=1<<u+_;)c=new yt(c&&c.array.length?[c]:[],r),u+=_;var h=e._tail,d=p<f?wt(e,s-1):p>f?new yt([],r):h;if(h&&p>f&&a<o&&h.array.length){for(var y=c=Rt(c,r),m=u;m>_;m-=_){var g=f>>>m&v;y=y.array[g]=Rt(y.array[g],r)}y.array[f>>>_&v]=h}if(s<o&&(d=d&&d.removeAfter(r,0,s)),a>=p)a-=p,s-=p,u=_,c=null,d=d&&d.removeBefore(r,0,a);else if(a>i||p<f){for(l=0;c;){var E=a>>>u&v;if(E!==p>>>u&v)break;E&&(l+=(1<<u)*E),u-=_,c=c.array[E]}c&&a>i&&(c=c.removeBefore(r,u,a-l)),c&&p<f&&(c=c.removeAfter(r,u,p-l)),l&&(a-=l,s-=l)}return e.__ownerID?(e.size=s-a,e._origin=a,e._capacity=s,e._level=u,e._root=c,e._tail=d,e.__hash=void 0,e.__altered=!0,e):bt(a,s,u,c,d)}function At(e,t,n){for(var r=[],o=0,s=0;s<n.length;s++){var u=n[s],c=i(u);c.size>o&&(o=c.size),a(u)||(c=c.map(function(e){return fe(e)})),r.push(c)}return o>e.size&&(e=e.setSize(o)),at(e,t,r)}function It(e){return e<y?0:e-1>>>_<<_}function Nt(e){return null==e?Lt():Ct(e)?e:Lt().withMutations(function(t){var n=r(e);Ue(n.size),n.forEach(function(e,n){return t.set(n,e)})})}function Ct(e){return je(e)&&l(e)}function Pt(e,t,n,r){var i=Object.create(Nt.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=n,i.__hash=r,i}function Lt(){return mt||(mt=Pt($e(),Tt()))}function kt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if(n===m){if(!u)return e;a.size>=y&&a.size>=2*o.size?(r=(i=a.filter(function(e,t){return void 0!==e&&s!==t})).toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):Pt(r,i)}function Dt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function xt(e){this._iter=e,this.size=e.size}function Mt(e){this._iter=e,this.size=e.size}function Ut(e){this._iter=e,this.size=e.size}function Ft(e){var t=en(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=tn,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return!1!==t(n,e,r)},n)},t.__iteratorUncached=function(t,n){if(t===D){var r=e.__iterator(t,n);return new F(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===k?L:k,n)},t}function jt(e,t,n){var r=en(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,m);return o===m?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate(function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)},i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(D,i);return new F(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return j(r,s,t.call(n,a[1],s,e),i)})},r}function Bt(e,t){var n=en(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=Ft(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=tn,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function Vt(e,t,n,r){var i=en(e);return r&&(i.has=function(r){var i=e.get(r,m);return i!==m&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,m);return o!==m&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate(function(e,o,u){if(t.call(n,e,o,u))return s++,i(e,r?o:s-1,a)},o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(D,o),s=0;return new F(function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(t.call(n,l,c,e))return j(i,r?c:s++,l,o)}})},i}function Gt(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=i:n|=0),I(t,n,i))return e;var o=N(t,i),a=C(n,i);if(o!=o||a!=a)return Gt(e.toSeq().cacheResult(),t,n,r);var s,u=a-o;u==u&&(s=u<0?0:u);var c=en(e);return c.size=0===s?s:e.size&&s||void 0,!r&&ie(e)&&s>=0&&(c.get=function(t,n){return(t=O(this,t))>=0&&t<s?e.get(t+o,n):n}),c.__iterateUncached=function(t,n){var i=this;if(0===s)return 0;if(n)return this.cacheResult().__iterate(t,n);var a=0,u=!0,c=0;return e.__iterate(function(e,n){if(!u||!(u=a++<o))return c++,!1!==t(e,r?n:c-1,i)&&c!==s}),c},c.__iteratorUncached=function(t,n){if(0!==s&&n)return this.cacheResult().__iterator(t,n);var i=0!==s&&e.__iterator(t,n),a=0,u=0;return new F(function(){for(;a++<o;)i.next();if(++u>s)return{value:void 0,done:!0};var e=i.next();return r||t===k?e:j(t,u-1,t===L?void 0:e.value[1],e)})},c}function Wt(e,t,n,r){var i=en(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return e.__iterate(function(e,o,c){if(!s||!(s=t.call(n,e,o,c)))return u++,i(e,r?o:u-1,a)}),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(D,o),u=!0,c=0;return new F(function(){var e,o,l;do{if((e=s.next()).done)return r||i===k?e:j(i,c++,i===L?void 0:e.value[1],e);var f=e.value;o=f[0],l=f[1],u&&(u=t.call(n,l,o,a))}while(u);return i===D?e:j(i,o,l,e)})},i}function Ht(e,t){var n=s(e),i=[e].concat(t).map(function(e){return a(e)?n&&(e=r(e)):e=n?ae(e):se(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===i.length)return e;if(1===i.length){var o=i[0];if(o===e||n&&s(o)||u(e)&&u(o))return o}var c=new ee(i);return n?c=c.toKeyedSeq():u(e)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),c}function Kt(e,t,n){var r=en(e);return r.__iterateUncached=function(r,i){var o=0,s=!1;return function e(u,c){var l=this;u.__iterate(function(i,u){return(!t||c<t)&&a(i)?e(i,c+1):!1===r(i,n?u:o++,l)&&(s=!0),!s},i)}(e,0),o},r.__iteratorUncached=function(r,i){var o=e.__iterator(r,i),s=[],u=0;return new F(function(){for(;o;){var e=o.next();if(!1===e.done){var c=e.value;if(r===D&&(c=c[1]),t&&!(s.length<t)||!a(c))return n?e:j(r,u++,c,e);s.push(o),o=c.__iterator(r,i)}else o=s.pop()}return{value:void 0,done:!0}})},r}function qt(e,t,n){t||(t=nn);var r=s(e),i=0,o=e.toSeq().map(function(t,r){return[r,t,i++,n?n(t,r,e):t]}).toArray();return o.sort(function(e,n){return t(e[3],n[3])||e[2]-n[2]}).forEach(r?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),r?Y(o):u(e)?z(o):X(o)}function Yt(e,t,n){if(t||(t=nn),n){var r=e.toSeq().map(function(t,r){return[t,n(t,r,e)]}).reduce(function(e,n){return zt(t,e[1],n[1])?n:e});return r&&r[0]}return e.reduce(function(e,n){return zt(t,e,n)?n:e})}function zt(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(null==n||n!=n)||r>0}function Xt(e,t,r){var i=en(e);return i.size=new ee(r).map(function(e){return e.size}).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(k,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map(function(e){return e=n(e),W(i?e.reverse():e)}),a=0,s=!1;return new F(function(){var n;return s||(n=o.map(function(e){return e.next()}),s=n.some(function(e){return e.done})),s?{value:void 0,done:!0}:j(e,a++,t.apply(null,n.map(function(e){return e.value})))})},i}function Qt(e,t){return ie(e)?t:e.constructor(t)}function Jt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function $t(e){return Ue(e.size),w(e)}function Zt(e){return s(e)?r:u(e)?i:o}function en(e){return Object.create((s(e)?Y:u(e)?z:X).prototype)}function tn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):q.prototype.cacheResult.call(this)}function nn(e,t){return e>t?1:e<t?-1:0}function rn(e){var t=W(e);if(!t){if(!K(e))throw new TypeError("Expected iterable or array-like: "+e);t=W(n(e))}return t}function on(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(e);!function(e,t){try{t.forEach(function(e,t){Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){ve(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}.bind(void 0,e))}catch(e){}}(i,a),i.size=a.length,i._name=t,i._keys=a,i._defaultValues=e}this._map=Fe(o)},i=r.prototype=Object.create(an);return i.constructor=r,r}t(Nt,Fe),Nt.of=function(){return this(arguments)},Nt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Nt.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Nt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Lt()},Nt.prototype.set=function(e,t){return kt(this,e,t)},Nt.prototype.remove=function(e){return kt(this,e,m)},Nt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Nt.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Nt.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Nt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Pt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Nt.isOrderedMap=Ct,Nt.prototype[d]=!0,Nt.prototype.delete=Nt.prototype.remove,t(Dt,Y),Dt.prototype.get=function(e,t){return this._iter.get(e,t)},Dt.prototype.has=function(e){return this._iter.has(e)},Dt.prototype.valueSeq=function(){return this._iter.valueSeq()},Dt.prototype.reverse=function(){var e=this,t=Bt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},Dt.prototype.map=function(e,t){var n=this,r=jt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},Dt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?$t(this):0,function(i){return e(i,t?--n:n++,r)}),t)},Dt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(k,t),r=t?$t(this):0;return new F(function(){var i=n.next();return i.done?i:j(e,t?--r:r++,i.value,i)})},Dt.prototype[d]=!0,t(xt,z),xt.prototype.includes=function(e){return this._iter.includes(e)},xt.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},xt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(k,t),r=0;return new F(function(){var t=n.next();return t.done?t:j(e,r++,t.value,t)})},t(Mt,X),Mt.prototype.has=function(e){return this._iter.includes(e)},Mt.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},Mt.prototype.__iterator=function(e,t){var n=this._iter.__iterator(k,t);return new F(function(){var t=n.next();return t.done?t:j(e,t.value,t.value,t)})},t(Ut,Y),Ut.prototype.entrySeq=function(){return this._iter.toSeq()},Ut.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Jt(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},Ut.prototype.__iterator=function(e,t){var n=this._iter.__iterator(k,t);return new F(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Jt(r);var i=a(r);return j(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}})},xt.prototype.cacheResult=Dt.prototype.cacheResult=Mt.prototype.cacheResult=Ut.prototype.cacheResult=tn,t(on,Ee),on.prototype.toString=function(){return this.__toString(un(this)+" {","}")},on.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},on.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},on.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=sn(this,$e()))},on.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+un(this));if(this._map&&!this._map.has(e)&&t===this._defaultValues[e])return this;var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:sn(this,n)},on.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:sn(this,t)},on.prototype.wasAltered=function(){return this._map.wasAltered()},on.prototype.__iterator=function(e,t){var n=this;return r(this._defaultValues).map(function(e,t){return n.get(t)}).__iterator(e,t)},on.prototype.__iterate=function(e,t){var n=this;return r(this._defaultValues).map(function(e,t){return n.get(t)}).__iterate(e,t)},on.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?sn(this,t,e):(this.__ownerID=e,this._map=t,this)};var an=on.prototype;function sn(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._map=t,r.__ownerID=n,r}function un(e){return e._name||e.constructor.name||"Record"}function cn(e){return null==e?yn():ln(e)&&!l(e)?e:yn().withMutations(function(t){var n=o(e);Ue(n.size),n.forEach(function(e){return t.add(e)})})}function ln(e){return!(!e||!e[pn])}an.delete=an.remove,an.deleteIn=an.removeIn=Ge.removeIn,an.merge=Ge.merge,an.mergeWith=Ge.mergeWith,an.mergeIn=Ge.mergeIn,an.mergeDeep=Ge.mergeDeep,an.mergeDeepWith=Ge.mergeDeepWith,an.mergeDeepIn=Ge.mergeDeepIn,an.setIn=Ge.setIn,an.update=Ge.update,an.updateIn=Ge.updateIn,an.withMutations=Ge.withMutations,an.asMutable=Ge.asMutable,an.asImmutable=Ge.asImmutable,t(cn,Te),cn.of=function(){return this(arguments)},cn.fromKeys=function(e){return this(r(e).keySeq())},cn.prototype.toString=function(){return this.__toString("Set {","}")},cn.prototype.has=function(e){return this._map.has(e)},cn.prototype.add=function(e){return dn(this,this._map.set(e,!0))},cn.prototype.remove=function(e){return dn(this,this._map.remove(e))},cn.prototype.clear=function(){return dn(this,this._map.clear())},cn.prototype.union=function(){var t=e.call(arguments,0);return 0===(t=t.filter(function(e){return 0!==e.size})).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n<t.length;n++)o(t[n]).forEach(function(t){return e.add(t)})}):this.constructor(t[0])},cn.prototype.intersect=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map(function(e){return o(e)});var n=this;return this.withMutations(function(e){n.forEach(function(n){t.every(function(e){return e.includes(n)})||e.remove(n)})})},cn.prototype.subtract=function(){var t=e.call(arguments,0);if(0===t.length)return this;t=t.map(function(e){return o(e)});var n=this;return this.withMutations(function(e){n.forEach(function(n){t.some(function(e){return e.includes(n)})&&e.remove(n)})})},cn.prototype.merge=function(){return this.union.apply(this,arguments)},cn.prototype.mergeWith=function(t){var n=e.call(arguments,1);return this.union.apply(this,n)},cn.prototype.sort=function(e){return vn(qt(this,e))},cn.prototype.sortBy=function(e,t){return vn(qt(this,t,e))},cn.prototype.wasAltered=function(){return this._map.wasAltered()},cn.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate(function(t,r){return e(r,r,n)},t)},cn.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},cn.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):(this.__ownerID=e,this._map=t,this)},cn.isSet=ln;var fn,pn="@@__IMMUTABLE_SET__@@",hn=cn.prototype;function dn(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function _n(e,t){var n=Object.create(hn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function yn(){return fn||(fn=_n($e()))}function vn(e){return null==e?Tn():mn(e)?e:Tn().withMutations(function(t){var n=o(e);Ue(n.size),n.forEach(function(e){return t.add(e)})})}function mn(e){return ln(e)&&l(e)}hn[pn]=!0,hn.delete=hn.remove,hn.mergeDeep=hn.merge,hn.mergeDeepWith=hn.mergeWith,hn.withMutations=Ge.withMutations,hn.asMutable=Ge.asMutable,hn.asImmutable=Ge.asImmutable,hn.__empty=yn,hn.__make=_n,t(vn,cn),vn.of=function(){return this(arguments)},vn.fromKeys=function(e){return this(r(e).keySeq())},vn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},vn.isOrderedSet=mn;var gn,En=vn.prototype;function bn(e,t){var n=Object.create(En);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function Tn(){return gn||(gn=bn(Lt()))}function Sn(e){return null==e?Nn():Rn(e)?e:Nn().unshiftAll(e)}function Rn(e){return!(!e||!e[On])}En[d]=!0,En.__empty=Tn,En.__make=bn,t(Sn,be),Sn.of=function(){return this(arguments)},Sn.prototype.toString=function(){return this.__toString("Stack [","]")},Sn.prototype.get=function(e,t){var n=this._head;for(e=O(this,e);n&&e--;)n=n.next;return n?n.value:t},Sn.prototype.peek=function(){return this._head&&this._head.value},Sn.prototype.push=function(){if(0===arguments.length)return this;for(var e=this.size+arguments.length,t=this._head,n=arguments.length-1;n>=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):In(e,t)},Sn.prototype.pushAll=function(e){if(0===(e=i(e)).size)return this;Ue(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):In(t,n)},Sn.prototype.pop=function(){return this.slice(1)},Sn.prototype.unshift=function(){return this.push.apply(this,arguments)},Sn.prototype.unshiftAll=function(e){return this.pushAll(e)},Sn.prototype.shift=function(){return this.pop.apply(this,arguments)},Sn.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Nn()},Sn.prototype.slice=function(e,t){if(I(e,t,this.size))return this;var n=N(e,this.size);if(C(t,this.size)!==this.size)return be.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):In(r,i)},Sn.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?In(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Sn.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Sn.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new F(function(){if(r){var t=r.value;return r=r.next,j(e,n++,t)}return{value:void 0,done:!0}})},Sn.isStack=Rn;var wn,On="@@__IMMUTABLE_STACK__@@",An=Sn.prototype;function In(e,t,n,r){var i=Object.create(An);return i.size=e,i._head=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Nn(){return wn||(wn=In(0))}function Cn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}An[On]=!0,An.withMutations=Ge.withMutations,An.asMutable=Ge.asMutable,An.asImmutable=Ge.asImmutable,An.wasAltered=Ge.wasAltered,n.Iterator=F,Cn(n,{toArray:function(){Ue(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new xt(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new Dt(this,!0)},toMap:function(){return Fe(this.toKeyedSeq())},toObject:function(){Ue(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Nt(this.toKeyedSeq())},toOrderedSet:function(){return vn(s(this)?this.valueSeq():this)},toSet:function(){return cn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Mt(this)},toSeq:function(){return u(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Sn(s(this)?this.valueSeq():this)},toList:function(){return pt(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var t=e.call(arguments,0);return Qt(this,Ht(this,t))},includes:function(e){return this.some(function(t){return de(t,e)})},entries:function(){return this.__iterator(D)},every:function(e,t){Ue(this.size);var n=!0;return this.__iterate(function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1}),n},filter:function(e,t){return Qt(this,Vt(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return Ue(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Ue(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""}),t},keys:function(){return this.__iterator(L)},map:function(e,t){return Qt(this,jt(this,e,t))},reduce:function(e,t,n){var r,i;return Ue(this.size),arguments.length<2?i=!0:r=t,this.__iterate(function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Qt(this,Bt(this,!0))},slice:function(e,t){return Qt(this,Gt(this,e,t,!0))},some:function(e,t){return!this.every(xn(e),t)},sort:function(e){return Qt(this,qt(this,e))},values:function(){return this.__iterator(k)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return w(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=Fe().asMutable();return e.__iterate(function(i,o){r.update(t.call(n,i,o,e),0,function(e){return e+1})}),r.asImmutable()}(this,e,t)},equals:function(e){return _e(this,e)},entrySeq:function(){var e=this;if(e._cache)return new ee(e._cache);var t=e.toSeq().map(Dn).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(xn(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate(function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1}),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(A)},flatMap:function(e,t){return Qt(this,function(e,t,n){var r=Zt(e);return e.toSeq().map(function(i,o){return r(t.call(n,i,o,e))}).flatten(!0)}(this,e,t))},flatten:function(e){return Qt(this,Kt(this,e,!0))},fromEntrySeq:function(){return new Ut(this)},get:function(e,t){return this.find(function(t,n){return de(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,i=rn(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,m):m)===m)return t}return r},groupBy:function(e,t){return function(e,t,n){var r=s(e),i=(l(e)?Nt():Fe()).asMutable();e.__iterate(function(o,a){i.update(t.call(n,o,a,e),function(e){return(e=e||[]).push(r?[a,o]:o),e})});var o=Zt(e);return i.map(function(t){return Qt(e,o(t))})}(this,e,t)},has:function(e){return this.get(e,m)!==m},hasIn:function(e){return this.getIn(e,m)!==m},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keyOf:function(e){return this.findKey(function(t){return de(t,e)})},keySeq:function(){return this.toSeq().map(kn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Yt(this,e)},maxBy:function(e,t){return Yt(this,t,e)},min:function(e){return Yt(this,e?Mn(e):jn)},minBy:function(e,t){return Yt(this,t?Mn(t):jn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Qt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Qt(this,Wt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(xn(e),t)},sortBy:function(e,t){return Qt(this,qt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Qt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Qt(this,function(e,t,n){var r=en(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate(function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(D,i),s=!0;return new F(function(){if(!s)return{value:void 0,done:!0};var e=a.next();if(e.done)return e;var i=e.value,u=i[0],c=i[1];return t.call(n,c,u,o)?r===D?e:j(r,u,c,e):(s=!1,{value:void 0,done:!0})})},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(xn(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=l(e),n=s(e),r=t?1:0;return function(e,t){return t=Se(t,3432918353),t=Se(t<<15|t>>>-15,461845907),t=Se(t<<13|t>>>-13,5),t=Se((t=(t+3864292196|0)^e)^t>>>16,2246822507),Re((t=Se(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+Bn(we(e),we(t))|0}:function(e,t){r=r+Bn(we(e),we(t))|0}:t?function(e){r=31*r+we(e)|0}:function(e){r=r+we(e)|0}),r)}(this))}});var Pn=n.prototype;Pn[f]=!0,Pn[U]=Pn.values,Pn.__toJS=Pn.toArray,Pn.__toStringMapper=Un,Pn.inspect=Pn.toSource=function(){return this.toString()},Pn.chain=Pn.flatMap,Pn.contains=Pn.includes,Cn(r,{flip:function(){return Qt(this,Ft(this))},mapEntries:function(e,t){var n=this,r=0;return Qt(this,this.toSeq().map(function(i,o){return e.call(t,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Qt(this,this.toSeq().flip().map(function(r,i){return e.call(t,r,i,n)}).flip())}});var Ln=r.prototype;function kn(e,t){return t}function Dn(e,t){return[t,e]}function xn(e){return function(){return!e.apply(this,arguments)}}function Mn(e){return function(){return-e.apply(this,arguments)}}function Un(e){return"string"==typeof e?JSON.stringify(e):String(e)}function Fn(){return R(arguments)}function jn(e,t){return e<t?1:e>t?-1:0}function Bn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Ln[p]=!0,Ln[U]=Pn.entries,Ln.__toJS=Pn.toObject,Ln.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Un(e)},Cn(i,{toKeyedSeq:function(){return new Dt(this,!1)},filter:function(e,t){return Qt(this,Vt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Qt(this,Bt(this,!1))},slice:function(e,t){return Qt(this,Gt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=N(e,e<0?this.count():this.size);var r=this.slice(0,e);return Qt(this,1===n?r:r.concat(R(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Qt(this,Kt(this,e,!1))},get:function(e,t){return(e=O(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=O(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return Qt(this,function(e,t){var n=en(e);return n.size=e.size&&2*e.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return e.__iterate(function(e,r){return(!o||!1!==n(t,o++,i))&&!1!==n(e,o++,i)},r),o},n.__iteratorUncached=function(n,r){var i,o=e.__iterator(k,r),a=0;return new F(function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?j(n,a++,t):j(n,a++,i.value,i)})},n}(this,e))},interleave:function(){var e=[this].concat(R(arguments)),t=Xt(this.toSeq(),z.of,e),n=t.flatten(!0);return t.size&&(n.size=t.size*e.length),Qt(this,n)},keySeq:function(){return me(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(e,t){return Qt(this,Wt(this,e,t,!1))},zip:function(){var e=[this].concat(R(arguments));return Qt(this,Xt(this,Fn,e))},zipWith:function(e){var t=R(arguments);return t[0]=this,Qt(this,Xt(this,e,t))}}),i.prototype[h]=!0,i.prototype[d]=!0,Cn(o,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Pn.includes,o.prototype.contains=o.prototype.includes,Cn(Y,r.prototype),Cn(z,i.prototype),Cn(X,o.prototype),Cn(Ee,r.prototype),Cn(be,i.prototype),Cn(Te,o.prototype),{Iterable:n,Seq:q,Collection:ge,Map:Fe,OrderedMap:Nt,List:pt,Stack:Sn,Set:cn,OrderedSet:vn,Record:on,Range:me,Repeat:ye,is:de,fromJS:fe}}()},G5gT:function(e,t,n){"use strict";t.Event=n("GX8z"),t.Method=n("M3Ve"),t.StatusCode=n("s2Nl"),t.StatusFamily=n("f1wx");var r=n("r3Ta");t.INTERNAL_SOCKET_CLOSE_CODE=r.CLOSE,t.Endpoints,t.EndpointsProvider,t.TokenProvider,t.SessionProviders,t.SessionConfig,t.HTTPURI,t.HTTPArgs,t.HTTPResponse,t.DealerMessage,t.ClientEventData},GX8z:function(e,t,n){"use strict";var r=n("d8l3");e.exports=r({CONNECTION_ONLINE:"online",CONNECTION_OFFLINE:"offline",DEALER_AUTHENTICATED:"authenticated",DEALER_AUTHENTICATION_FAILED:"authentication_failed",DEALER_CONNECTED:"connected",DEALER_CONNECTION_ID:"connection_id",DEALER_ERROR:"error",DEALER_DISCONNECTED:"disconnected",DEALER_MESSAGE:"message",DEALER_REQUEST:"request",INTERNAL_DEALER_MESSAGE:"__dealer_message",INTERNAL_DEALER_REQUEST:"__dealer_request",PRODUCT_STATE_CHANGED:"product_state_changed",TRANSPORT_ACCESS_TOKEN:"access_token",TRANSPORT_AUTHENTICATED:"authenticated",TRANSPORT_AUTHENTICATION_FAILED:"authentication_failed",TRANSPORT_BEFORE_OFFLINE_DISCONNECT:"before_offline_disconnect",TRANSPORT_BEFORE_ONLINE_DISCONNECT:"before_online_disconnect",TRANSPORT_CONNECTED:"connected",TRANSPORT_CONNECTION_ERROR:"connection_error",TRANSPORT_CONNECTION_FAILED:"connection_failed",TRANSPORT_CONNECTION_ID:"connection_id",TRANSPORT_CONNECTION_OFFLINE:"connection_offline",TRANSPORT_CONNECTION_ONLINE:"connection_online",TRANSPORT_DEALER_MESSAGE:"dealer_message",TRANSPORT_DISCONNECTED:"disconnected",TRANSPORT_ENDPOINTS_RESOLVED:"endpoints_resolved",TRANSPORT_LOGGED_OUT:"logged_out",TRANSPORT_SHORT_SESSION_DISCONNECTED:"short_session_disconnected",TRANSPORT_RECONNECTED:"reconnected",TRANSPORT_RECONNECTING:"reconnecting",WINDOW_BEFORE_UNLOAD:"beforeunload"})},GeWT:function(e,t,n){"use strict";var r=n("xVO4"),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(d){var i=h(n);i&&i!==d&&e(t,i,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(t),_=u(n),y=0;y<a.length;++y){var v=a[y];if(!(o[v]||r&&r[v]||_&&_[v]||s&&s[v])){var m=p(n,v);try{c(t,v,m)}catch(e){}}}return t}return t}},Gm6p:function(e,t,n){"use strict";var r=n("PQZM"),i=n("qG8n"),o=n("P1TA"),a=n("1Wwy"),s=n("6w3l");function u(e){i.call(this),this.request=e.request.bind(e),this.getConnectionId=e.getConnectionId.bind(e),this.getEndpoints=e.getEndpoints.bind(e),this.getInitTime=e.getInitTime.bind(e),this.getLastToken=e.getLastToken.bind(e),this.matchMessages=e.matchMessages.bind(e),this.handlePushRequests=e.handlePushRequests.bind(e),this.proxyEmit(e,o.TRANSPORT_ACCESS_TOKEN,this.EVENT_ACCESS_TOKEN),this.proxyEmit(e,o.TRANSPORT_CONNECTION_OFFLINE,this.EVENT_CONNECTION_OFFLINE),this.proxyEmit(e,o.TRANSPORT_CONNECTION_ONLINE,this.EVENT_CONNECTION_ONLINE),this.proxyEmit(e,o.TRANSPORT_ENDPOINTS_RESOLVED,this.EVENT_ENDPOINTS_RESOLVED),this.onAddListener(this.EVENT_CONNECTION_ID,this._onAddConnectionIdListener.bind(this,this.on.bind(e))),this.onRemoveListener(this.EVENT_CONNECTION_ID,this._onRemoveConnectionIdListener.bind(this,this.removeListener.bind(e)))}r(u,i),u.prototype.EVENT_ACCESS_TOKEN="access_token",u.prototype.EVENT_CONNECTION_ID="connection_id",u.prototype.EVENT_CONNECTION_OFFLINE="connection_offline",u.prototype.EVENT_CONNECTION_ONLINE="connection_online",u.prototype.EVENT_ENDPOINTS_RESOLVED="endpoints_resolved",u.prototype.StatusCode=a,u.prototype.StatusFamily=s,u.prototype._onAddConnectionIdListener=function(e,t){t.preventDefault();var n=this.EVENT_CONNECTION_ID,r=t.listener,a=function(e){r.call(this,i.createEvent(n,e))}.bind(this);r.$proxy_wrapper=a,e(o.TRANSPORT_CONNECTION_ID,a,t.options)},u.prototype._onRemoveConnectionIdListener=function(e,t){t.preventDefault(),t.listener.$proxy_wrapper&&e(o.TRANSPORT_CONNECTION_ID,t.listener.$proxy_wrapper,t.options)},e.exports=u},Grao:function(e,t,n){"use strict";var r=n("/ub/"),i={generate:function(e){for(var t="",n=0;n<e;n++)t+=String.fromCharCode(256*Math.random()|0);return t},generateBase64:function(e){return r.encode(i.generate(e))}};e.exports=i},"H+5/":function(e,t,n){"use strict";e.exports=function(e){this.get=e.get.bind(e),this.has=e.has.bind(e)}},H2G3:function(e,t,n){"use strict";var r=n("asuC"),i=n("Lc1h"),o=n("EiP0"),a=n("CTrm"),s=n("1Wwy"),u=n("pPJX"),c=function(){},l={POST:!0,PUT:!0,DELETE:!0},f={json:!0,text:!0,document:!0},p={},h=r.resolve(p);function d(e,t){var n=t||{};this._url=e,this._method=(n.method||"GET").toUpperCase(),this._payload=n.payload||"",this._headers=n.headers||null,this._responseType=n.responseType||"",this._canceller=n.canceller||r.defer().promise,this._ignoreResponseBody=n.ignoreResponseBody,this._parseResponseHeaders=n.parseResponseHeaders,this._withCredentials="include"===n.credentials,this._forcePolyfill=n.forcePolyfill,this._timing=n.timing?{completed:0}:null,this._requestStartTime=0,this._xhr=new XMLHttpRequest,this._abort=this._abort.bind(this)}d.request=function(e,t){return new d(e,t).send()},d.prototype._abort=function(){this._xhr&&(this._xhr.abort(),this._xhr.onprogress=c,this._xhr.onerror=c,this._xhr.onreadystatechange=c,this._xhr=null)},d.prototype._handleStateChanged=function(e,t,n){this._xhr&&4===this._xhr.readyState&&(this._timing&&(this._timing.completed=Date.now()-this._requestStartTime),this._xhr.onprogress=null,this._xhr.onerror=null,this._xhr.onreadystatechange=null,r.race([this._canceller,h]).then(function(r){if(r===p&&this._xhr){var a=this._xhr;if(a){var u=a.status,c=new i(a.responseURL||e,u);if(c.body=null,n&&n.isOnline&&(c.offline=!n.isOnline()),(this._parseResponseHeaders||u>299)&&(c.headers=new o(a.getAllResponseHeaders())),!this._ignoreResponseBody&&u!==s.NO_CONTENT&&2===c.getStatusFamily()){var l=this._responseType;if(!this._forcePolyfill&&"response"in a&&l===a.responseType)c.body=a.response;else if("document"===l)c.body=a.responseXML;else if("json"===l)try{c.body=JSON.parse(a.responseText)}catch(e){c.body=null}else"text"!==l&&""!==l||(c.body=a.responseText)}c.timing=this._timing,t.resolve(c),this._xhr=null}}}.bind(this)).catch(function(){}))},d.prototype.send=function(){return r.race([this._canceller,h]).then(function(e){var t=r.defer();if(e!==p)return t.promise;var n=this._url;if(!n)return t.reject(new TypeError("Request URL cannot be blank.")),t.promise;var i=null,o=this._payload,s=this._method;s in l&&o?i=o:o&&(n+="?"+o);var h=this._xhr;if(!h)return t.reject(new Error("Request has been closed.")),t.promise;h.open(s,n,!0),h.onprogress=c,h.onerror=function(){t.reject(new a(u.HTTP_REQUEST_FAILED,"Request cannot be completed.",this.status)),this.onerror=c},h.onreadystatechange=this._handleStateChanged.bind(this,n,t);var d=this._responseType;if(d)if(this._forcePolyfill){if(!(d in f))return t.reject(new TypeError('Cannot polyfill responseType "'+d+'"')),t.promise}else{if(!("responseType"in h||d in f))return t.reject(new TypeError("Cannot set responseType: not supported in browser.")),t.promise;if(h.responseType=d,d!==this._xhr.responseType&&!(d in f))return t.reject(new TypeError('Unknown responseType "'+d+'".')),t.promise}var _=this._headers;if(_)for(var y in _)if(_.hasOwnProperty(y))try{h.setRequestHeader(y,_[y])}catch(e){return t.reject(e),t.promise}try{this._requestStartTime=Date.now(),h.send(i)}catch(e){t.reject(e)}return this._canceller.then(this._abort,this._abort),t.promise}.bind(this))},e.exports=d},H7on:function(e,t,n){"use strict";var r=n("asuC"),i=n("jGCg"),o=n("qt0y"),a=n("uDox").forTag("playback.storage_resolve");function s(e){this._transport=e}s.prototype._parseResponse=function(e,t){var n;if(200!==t.status)return(n=new i(o.STORAGE_FAILED_WITH_STATUS,"Storage Resolve responded with "+t.status)).status=t.status,n.fileId=e,r.reject(n);var a=t.body;return a&&a.cdnurl&&a.cdnurl.length?{uri:a.cdnurl[0],uris:a.cdnurl,protection:"cenc"}:((n=new i(o.STORAGE_RETURNED_NO_TRACKS,"Storage Resolve returned no tracks for fileId "+e)).fileId=e,r.reject(n))},s.prototype.getCDNURL=function(e,t){a.info("Requesting CDN URL for ",t);var n=["http://@webgate/storage-resolve/files/audio/interactive/",t,"?version=10000000&product=9&platform=39&alt=json"].join("");return this._transport.request(n,{responseType:"json",retry:{condition:function(e,t){return e.getStatusFamily()!==t.SUCCESS}}}).then(this._parseResponse.bind(this,t))},s.prototype.getManifest=function(e){var t="https://seektables.scdn.co/seektable/"+e+".json";return a.info("Requesting JSON manifest for ",e),this._transport.request(t,{responseType:"json",retry:{condition:function(e,t){return e.getStatusFamily()!==t.SUCCESS}}}).then(function(t){var n;return 200!==t.status?((n=new i(o.STORAGE_TRACK_MANIFEST_FAILED,"Track manifest request failed with status code "+t.status)).debug.file_id=e,n.status=t.status,r.reject(n)):t.body?t.body:((n=new i(o.STORAGE_TRACK_MANIFEST_EMPTY,"Received empty manifest.")).debug.file_id=e,n.status=t.status,r.reject(n))})},e.exports=s},HhP1:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("3ZRO"),i=Object(r.f)(),o="Sentry Logger ",a=function(){function e(){this._enabled=!1}return e.prototype.disable=function(){this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&Object(r.c)(function(){i.console.log(o+"[Log]: "+e.join(" "))})},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&Object(r.c)(function(){i.console.warn(o+"[Warn]: "+e.join(" "))})},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&Object(r.c)(function(){i.console.error(o+"[Error]: "+e.join(" "))})},e}();i.__SENTRY__=i.__SENTRY__||{};var s=i.__SENTRY__.logger||(i.__SENTRY__.logger=new a)},HrKg:function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},Hsbu:function(e,t,n){"use strict";e.exports=function(e){var t=e;return"true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG&&(t=n("RIcX")(e,{page:{type:"string",nullable:!0},view_uri:{type:"string",nullable:!0},target_uri:{type:"string",nullable:!0},item_id:{type:"string",nullable:!0},action_type:{type:"string",nullable:!0},action_intent:{type:"string",nullable:!0}})),{name:"KmInteractionNonAuth",data:t}}},I0CK:function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("MFfK"),o=r(n("DqZ+")),a=function(){function e(e){this.logger=e}return e.prototype.createEventObserver=function(){var e=this;return new o.default(function(t){var n=(0,i.generatePlaybackSessionMessage)(t);e.logger.log(n)})},e}();t.default=a},I1bA:function(e,t,n){"use strict";e.exports=n("F0Fi")()?Object.assign:n("QJbc")},"IBm/":function(e,t,n){"use strict";var r=n("8ZXl");e.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}},IL7q:function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(u[l]=n[l]);if(r){s=r(n);for(var f=0;f<s.length;f++)o.call(n,s[f])&&(u[s[f]]=n[s[f]])}}return u}},IPtZ:function(e,t,n){"use strict";var r=n("pRMk").Buffer,i=n(2);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i=r.allocUnsafe(e>>>0),o=this.head,a=0;o;)t=i,n=a,o.data.copy(t,n),a+=o.data.length,o=o.next;return i},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},IQWk:function(e,t,n){"use strict";e.exports=function(e){this.get=e.get.bind(e),this.has=e.has.bind(e)}},"J+ux":function(e,t,n){"use strict";var r=n("PQZM"),i=n("qG8n"),o=n("asuC"),a=n("8Pwi"),s=n("uDox").forTag("playback.acme_buffer");function u(){}function c(e,t,n){i.call(this);var r=n||{};this._mediaSource=null,this._sourceBuffers={},this._appendingFragments=[],this._updateQueue=[],this._codecs=t||[],this._playId=0,this._lastBufferClearTime=Date.now(),this._tracker=e,this._disableBufferAbort=r.disableBufferAbort,this._onSourceOpen=this._onSourceOpen.bind(this),this._onSourceClose=this._onSourceClose.bind(this),this.dequeueUpdates=this.dequeueUpdates.bind(this),this._init()}r(c,i),c.create=function(e,t,n){return new c(e,t,n)},c.prototype._init=function(){var e=new MediaSource;e.addEventListener(a.MEDIA_SOURCE_OPEN,this._onSourceOpen),e.addEventListener(a.MEDIA_SOURCE_CLOSE,this._onSourceClose),this._mediaSource=e,this._sourceBuffers={}},c.prototype._onSourceOpen=function(){s.info("MediaSource opened.");var e=this._mediaSource;if(0===e.sourceBuffers.length&&"open"===e.readyState){s.info("Creating source buffers for codecs",this._codecs);for(var t=0,n=this._codecs.length;t<n;t++)this._addSourceBuffer(this._codecs[t])}this.dequeueUpdates(),this.emit(a.BUFFER_SOURCE_OPEN)},c.prototype._onSourceClose=function(){s.info("MediaSource closed."),this._destroySourceBuffers(),this.emit(a.BUFFER_SOURCE_CLOSE)},c.prototype._removeAppendingFragment=function(e){if(e){var t=this._appendingFragments,n=t.indexOf(e);-1!==n&&t.splice(n,1)}},c.prototype.dequeueUpdates=function(){this._updateQueue.length&&this.tryUpdate(this._updateQueue.shift())},c.prototype._addSourceBuffer=function(e){var t=this._mediaSource.addSourceBuffer(e);t.addEventListener(a.SOURCE_BUFFER_UPDATE_END,this.dequeueUpdates),this._sourceBuffers[e]=t},c.prototype._trackBufferingProgress=function(e){this._tracker.trackBytesDownloaded(e.audio.buffer.byteLength),e.video&&this._tracker.trackBytesDownloaded(e.video.buffer.byteLength)},c.prototype.appendFragment=function(e,t,n){if(-1!==this._appendingFragments.indexOf(t))return o.resolve([!1]);this._appendingFragments.push(t),this.emit(a.BUFFERING_START);var r=Date.now(),i=this._playId,u=e.toLogJSON();return e.getBufferForFragment(t).then(function(e){return this._trackBufferingProgress(e),i!==this._playId?(s.info("Append fragment dropped: playId has changed."),[!1]):(n||this._checkStalling(Date.now()-r,t,!1),this._appendBufferData(e,t,i,r))}.bind(this)).catch(function(e){return this._removeAppendingFragment(t),n||this._checkStalling(Date.now()-r,t,!0),this.emit(a.BUFFER_APPEND_ERROR,{error:e,canPlayNext:!0,track:u}),o.reject(e)}.bind(this))},c.prototype._checkStalling=function(e,t,n){var r;e>9e3&&this.emit(a.BUFFER_STALLED,{byteStart:t.byteStart,timeStart:(r=t.timeStart,Math.ceil(1e3*r)),stallAmount:e-9e3,didTimeout:n})},c.prototype._appendBufferData=function(e,t,n,r){this.emit(a.BUFFERING_END);var i=r||Date.now(),s=[],u=o.defer();if(this.tryUpdate({playId:n,timestamp:i,type:"append",buffer:e.audio.buffer,fragment:t,codec:e.audio.codec,init:t.init,resolve:u.resolve}),s.push(u),null!==e.audio.bandwidth&&this._tracker.trackBufferURL(e.audio.bufferURL,{bandwidth:e.audio.bandwidth}),e.video){var c=o.defer();this.tryUpdate({playId:n,timestamp:i,type:"append",buffer:e.video.buffer,fragment:t,codec:e.video.codec,init:t.init,resolve:c.resolve}),s.push(c),null!==e.video.bandwidth&&this._tracker.trackBufferURL(e.video.bufferURL,{bandwidth:e.video.bandwidth})}return o.all(s)},c.prototype._appendUpdate=function(e){var t=this._sourceBuffers[e.codec];if(!t||t.updating)this._updateQueue.push(e);else{this._removeAppendingFragment(e.fragment);try{t.appendBuffer(e.buffer)}catch(t){if("QuotaExceededError"===t.name&&this.emitSync(a.BUFFER_QUOTA_EXCEEDED),s.warn("Failed to append buffer",t),o.resolve().then(this.dequeueUpdates).then(function(){e.init&&this._updateQueue.push(e)}.bind(this)),e.init)return}e.resolve&&e.resolve(!0)}},c.prototype.abort=function(e){if(this._disableBufferAbort)s.info("Buffer abort skipped; action disabled.");else{if(this._lastBufferClearTime=Date.now(),this._mediaSource)for(var t=this._mediaSource.sourceBuffers,n=0,r=t.length;n<r;n++)if("open"===this._mediaSource.readyState){var i=t[n];try{i.abort();var o=i.buffered;if(e&&o.length){var a=o.start(0),u=o.end(o.length-1);i.remove(a,u),s.info("Cleared buffer range",a,u)}}catch(e){s.warn("ACMEBuffer.clear failed.",e)}}this._appendingFragments=[]}},c.prototype._getBufferedFor=function(e){var t=this._mediaSource.sourceBuffers&&this._mediaSource.sourceBuffers.length>0&&this._mediaSource.sourceBuffers[0].buffered;if(t)for(var n,r,i=0;i<t.length;i++)if(n=t.start(i),r=t.end(i),n<=e&&e<=r)return{start:n,end:r};return null},c.prototype.getMediaSource=function(){return this._mediaSource},c.prototype.tryUpdate=function(e){if(e){if(e.playId!==this._playId)return s.info("Try update dropped: playId has changed"),void this._abortUpdate(e);if(e.timestamp<this._lastBufferClearTime)return s.info("Try update dropped: update is older than the last clear"),void this._abortUpdate(e);var t=this._mediaSource;"open"!==t.readyState&&"ended"!==t.readyState?this._updateQueue.push(e):this._processUpdate(e)}},c.prototype._abortUpdate=function(e){e.fragment&&this._removeAppendingFragment(e.fragment),e.resolve&&e.resolve(!1),o.resolve().then(this.dequeueUpdates)},c.prototype._processUpdate=function(e){"end"===e.type?this._endUpdate(e):"duration"===e.type?this._durationUpdate(e):"append"===e.type&&this._appendUpdate(e)},c.prototype._isUpdating=function(){for(var e=this._mediaSource.sourceBuffers,t=0,n=e.length;t<n;t++){var r=e[t];if(r&&r.updating)return!0}return!1},c.prototype._endUpdate=function(e){this._isUpdating()?this._updateQueue.push(e):"open"===this._mediaSource.readyState&&(this._mediaSource.endOfStream(),e.resolve&&e.resolve(!0))},c.prototype._durationUpdate=function(e){this._isUpdating()?this._updateQueue.push(e):(this._mediaSource.duration=e.duration,e.resolve&&e.resolve(!0))},c.prototype._destroySourceBuffers=function(){var e=this._mediaSource;if(e){var t=e.sourceBuffers;if(t.length)for(var n=0,r=t.length;n<r;n++){var i=t[n];i.removeEventListener("updateend",this.dequeueUpdates);try{e.removeSourceBuffer(i),s.info("Removed source buffer")}catch(e){s.warn("Failed to remove sourcebuffer",e)}}this._sourceBuffers={}}},c.prototype.destroy=function(){var e=this._mediaSource;e&&(s.info("Source destroyed"),e.removeEventListener("sourceopen",this._onSourceOpen),e.removeEventListener("sourceclose",this._onSourceClose),this._destroySourceBuffers(),this._mediaSource=null)},c.prototype._endOfStream=function(){"ended"!==this._mediaSource.readyState&&this.tryUpdate({playId:this._playId,timestamp:Date.now(),type:"end"})},c.prototype.progress=function(e,t,n){var r=this._mediaSource;if(r&&e&&("open"===r.readyState||"ended"===r.readyState)){var i,o,a="video"===e.getMediaType(),s=this._getBufferedFor(n);if(s){if(n+10>r.duration)return void("open"===r.readyState&&this._endOfStream());var c=e.getFragmentLength();Math.ceil(n/c)>Math.floor(s.end/c)&&(i=e.getFragmentForTime(n))&&this.appendFragment(e,i,t).catch(u);var l=Math.floor(s.end-n);if(l>10)return;var f=Math.min(e.getFragmentLength(),10-l);if(f<1)return;o=Math.floor(s.end+f),(i=e.getFragmentForTime(o))?this.appendFragment(e,i,t).catch(u):this._endOfStream()}else if(i=e.getFragmentForTime(n)){if(this.appendFragment(e,i,t).catch(u),i.timeEnd<n+5){o=a?Math.floor(n):n;var p=e.getFragmentAfterTime(o);p?this.appendFragment(e,p,t).catch(u):this._endOfStream()}}else this._endOfStream()}},c.prototype.recreate=function(e){this.abort(),this.destroy(),this._codecs=e,this._init()},c.prototype.setDuration=function(e){this.tryUpdate({playId:this._playId,timestamp:Date.now(),type:"duration",duration:e})},c.prototype.setPlayId=function(e){this._playId=e},e.exports=c},J4Is:function(e,t,n){"use strict";e.exports=function(e){return e.replace(/\b[a-z]/g,function(e){return e.toUpperCase()})}},J9Vn:function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.memoizeAsync=function(e,t,n){var r=(0,i.default)("memoizeAsync["+t+"]"),s=n.value;function u(e){var t=e[r];return t||(t=e[r]=Object.create(null)),t}n.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=u(this),r=(0,o.hashJsonValue)(e);if("string"!=typeof r)return Promise.reject(new Error("could not hash arguments"));var i=n[r];if(!i){try{if("function"!=typeof s)throw new Error("decorated property must be a function");i=s.apply(this,e)}catch(e){i=Promise.reject(e)}i=a(i,function(){delete n[r]}),n[r]=i}return i}};var i=r(n("30TS")),o=n("tE6N");function a(e,t){return e.then(function(e){return t(),e},function(e){throw t(),e})}},JHUG:function(e,t,n){"use strict";var r=n("rrCd"),i=n("asuC"),o=n("oErA").forTag("Logh.Uploader");function a(e){var t=e||{};this._transport=t.transport,this._enableDebugInfo=t.enableDebugInfo||!1,this._suppressPersist=t.suppressPersist||!1,this._backoff=!1}a.create=function(e){return new a(e)},a.prototype.upload=function(e,t){var n=t||[];if(!e.length)return i.resolve({nack:n,backoff:this._backoff});var r=e.slice(0);return this._uploadBatch(r.splice(0,20)).then(function(e){if(n=n.concat(e),this._backoff)n=n.concat(r);else if(r.length)return this.upload(r,n);return{nack:n,backoff:this._backoff}}.bind(this))},a.prototype.lastUpload=function(e){return e.length?this._uploadBatch(e.splice(0,100)).then(function(){return!0}):i.resolve(!0)},a.prototype._uploadBatch=function(e){var t=this._transport.isAuthenticated(),n=t?"@webgate/gabo-receiver-service/v3/events":"@webgate/gabo-receiver-service/public/v3/events";return this._transport.request(n,{method:r.POST,payload:JSON.stringify({suppress_persist:this._suppressPersist,events:e}),headers:{"content-type":"application/json"},responseType:"json",authorize:t,withResponseHeaders:!0}).then(function(t){if(200!==t.status)return o.warn("Received error status",t),this._backoff=!0,e;var n=t.body,r=t.headers,i=[];if(n.error&&n.error.length){this._enableDebugInfo&&o.info("response errors",e,n.error);for(var a=0,s=n.error.length;a<s;a++)n.error[a].transient&&i.push(e[n.error[a].index])}return this._backoff=!(!r||"true"!==r.get("backoff")),i}.bind(this))},a.prototype.shouldBackoff=function(){return this._backoff},e.exports=a},JPSn:function(e,t,n){"use strict";e.exports=function(e){var t=e;return"true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG&&(t=n("RIcX")(e,{version:{type:"string",nullable:!0}})),{name:"context_application",data:t}}},"Jaz+":function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InternalPlaybackObserver",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"TimeObservable",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"PlaybackEventsObserver",{enumerable:!0,get:function(){return a.default}});var i=r(n("4NdA")),o=r(n("RN9m")),a=r(n("KLQT"))},JzJP:function(e,t,n){"use strict";var r=n("M3Ve"),i=n("asuC"),o=n("kK6u").forTag("Logh.Uploader");function a(e){var t=e||{};this._transport=t.transport,this._enableDebugInfo=t.enableDebugInfo||!1,this._suppressPersist=t.suppressPersist||!1,this._backoff=!1}a.create=function(e){return new a(e)},a.prototype.upload=function(e,t){var n=t||[];if(!e.length)return i.resolve({nack:n,backoff:this._backoff});var r=e.slice(0);return this._uploadBatch(r.splice(0,20)).then(function(e){if(n=n.concat(e),this._backoff)n=n.concat(r);else if(r.length)return this.upload(r,n);return{nack:n,backoff:this._backoff}}.bind(this))},a.prototype.lastUpload=function(e){return e.length?this._uploadBatch(e.splice(0,100)).then(function(){return!0}):i.resolve(!0)},a.prototype._uploadBatch=function(e){var t=this._transport.isAuthenticated(),n=t?"@webgate/gabo-receiver-service/v3/events":"@webgate/gabo-receiver-service/public/v3/events";return this._transport.request(n,{method:r.POST,payload:JSON.stringify({suppress_persist:this._suppressPersist,events:e}),headers:{"content-type":"application/json"},responseType:"json",authorize:t,withResponseHeaders:!0}).then(function(t){if(200!==t.status)return o.warn("Received error status",t),this._backoff=!0,e;var n=t.body,r=t.headers,i=[];if(n.error&&n.error.length){this._enableDebugInfo&&o.info("response errors",e,n.error);for(var a=0,s=n.error.length;a<s;a++)n.error[a].transient&&i.push(e[n.error[a].index])}return this._backoff=!(!r||"true"!==r.get("backoff")),i}.bind(this))},a.prototype.shouldBackoff=function(){return this._backoff},e.exports=a},"K/xo":function(e,t,n){var r;!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},K4DB:function(e,t,n){var r=n("e+GP"),i=n("T1e2");e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?i(e):t}},KAAb:function(e,t,n){"use strict";var r="razdwatrzy";e.exports=function(){return"function"==typeof r.contains&&!0===r.contains("dwa")&&!1===r.contains("foo")}},KAKM:function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("OlH2"));function o(){this.curId_=0,this.config_=null,this.data=null,this.MIN_BUFFER_TIME=4,this.UNSUPPORTED_MIME_TYPES=["video/mp2t"],this.PROFILE_ID_PLACEHOLDER="{{profile_id}}",this.FILE_TYPE_PLACEHOLDER="{{file_type}}",this.SEGMENT_TIMESTAMP_PLACEHOLDER="{{segment_timestamp}}",this.LANGUAGE_CODE_PLACEHOLDER="{{language_code}}",this.SPRITEMAP_ID_PLACEHOLDER="{{spritemap_id}}"}o.prototype.configure=function(e){this.config_=e},o.prototype.start=function(e,t){var n=this;this.config_;var r=i.default.net.NetworkingEngine.RequestType.MANIFEST,o={uris:[e],method:"GET",retryParameters:this.config_.retryParameters,allowCrossSiteCredentials:!1,body:null};return t.networkingEngine.request(r,o).promise.then(function(t){return n.loadManifest_(t.data,e)})},o.prototype.stop=function(){return Promise.resolve()},o.prototype.update=function(){},o.prototype.onExpirationUpdated=function(){},o.prototype.loadManifest_=function(e,t){var n=this;this.data=this.loadData_(e);var r=new i.default.media.PresentationTimeline(null,0);r.setDuration(this.data.end_time_millis/1e3);var o=this.data.contents.map(function(e){return n.loadPeriod_(e,t)});return{presentationTimeline:r,minBufferTime:this.MIN_BUFFER_TIME,offlineSessionIds:[],periods:o}},o.prototype.loadData_=function(e){var t=null;if(e instanceof ArrayBuffer){var n=i.default.util.StringUtils.fromUTF8(e);try{t=JSON.parse(n)}catch(e){throw new i.default.util.Error(i.default.util.Error.Severity.CRITICAL,i.default.util.Error.Category.MANIFEST,i.default.util.Error.Code.SPOTIFY_INVALID_MANIFEST,"Exception parsing the Json manifest: "+e.message)}}else t=e;if(!t)throw new i.default.util.Error(i.default.util.Error.Severity.CRITICAL,i.default.util.Error.Category.MANIFEST,i.default.util.Error.Code.SPOTIFY_INVALID_MANIFEST,"Invalid JSON");return t},o.prototype.loadPeriod_=function(e,t){var n=this,r=this.filterProfiles_(e.profiles),i=this.groupProfiles_(r);return{startTime:e.start_time_millis/1e3,variants:i.map(function(t){return n.loadVariant_(e,t)}),textStreams:this.loadTextStreams_(e,t)}},o.prototype.filterProfiles_=function(e){var t=this;return e.filter(function(e){return!t.UNSUPPORTED_MIME_TYPES.includes(e.mime_type)})},o.prototype.groupProfiles_=function(e){var t=[],n=[];if(e.forEach(function(e){switch(e.mime_type.split("/")[0]){case"video":t.push(e);break;case"audio":n.push(e)}}),!t.length&&!n.length)return[];if(t.length&&!n.length)return t.map(function(e){return{video:e,audio:null}});if(!t.length&&n.length)return n.map(function(e){return{video:null,audio:e}});var r=[];return t.forEach(function(e){n.forEach(function(t){r.push({video:e,audio:t})})}),r},o.prototype.loadVariant_=function(e,t){var n=e.encryption_infos&&e.encryption_infos.length>0,r=(t.video?t.video.video_bitrate:0)+(t.audio?t.audio.audio_bitrate:0);return{id:this.curId_++,language:"und",primary:!1,audio:t.audio?this.loadStream_(e,t.audio,"audio",n):null,video:t.video?this.loadStream_(e,t.video,"video",n):null,bandwidth:r,drmInfos:n?[{keySystem:"com.widevine.alpha"}]:[],allowedByApplication:!0,allowedByKeySystem:!0,roles:[]}},o.prototype.loadTextStreams_=function(e){var t=this,n=[];return this.data.subtitle_language_codes&&this.data.subtitle_language_codes.length&&(n=this.data.subtitle_language_codes.map(function(e){return{id:t.curId_++,mime_type:"text/vtt",language:e}})),n.map(function(n){return t.loadStream_(e,n,"text",!1)})},o.prototype.loadStream_=function(e,t,n,r){var i=this.getSegmentIndex_(e,t,n),o="";return"video"===n&&(o=t.video_codec),"audio"===n&&(o=t.audio_codec),{id:this.curId_++,createSegmentIndex:function(){return Promise.resolve()},findSegmentPosition:i.find.bind(i),getSegmentReference:i.get.bind(i),initSegmentReference:"text"===n?null:this.getInitSegmentReference_(t),presentationTimeOffset:0,mimeType:t.mime_type,codecs:o,bandwidth:t.max_bitrate,width:"video"===n?t.video_width:void 0,height:"video"===n?t.video_height:void 0,kind:"text"===n?"subtitles":void 0,encrypted:r,keyId:null,language:"text"===n?t.language:"und",type:n,primary:!1,trickModeVideo:null,containsEmsgBoxes:!1,allowedByApplication:!0,allowedByKeySystem:!0,roles:[]}},o.prototype.getInitSegmentReference_=function(e){var t=this;return new i.default.media.InitSegmentReference(function(){return t.data.base_urls.map(function(n){return(n+t.data.initialization_template).replace(t.PROFILE_ID_PLACEHOLDER,e.id).replace(t.FILE_TYPE_PLACEHOLDER,e.file_type)})},0,null)},o.prototype.getSegmentIndex_=function(e,t,n){var r=this,o=[],a=e.start_time_millis/1e3,s=e.end_time_millis/1e3;if("text"===n)o=[new i.default.media.SegmentReference(0,a,s,function(){var e=null;return r.data.subtitle_base_urls?e=r.data.subtitle_base_urls.map(function(e){return(e+r.data.subtitle_template).replace(r.LANGUAGE_CODE_PLACEHOLDER,t.language)}):i.default.log.warning("subtitle codes provided but no subtitle_base_urls\n          found in manifest. Are you using v6 (or later) manifests?"),e},0,null)];else for(var u=e.segment_length,c=0,l=a;l<s;){var f=this.loadReference_(t,c,l,l+u);o.push(f),l+=u,c++}return new i.default.media.SegmentIndex(o)},o.prototype.loadReference_=function(e,t,n,r){var o=this;return new i.default.media.SegmentReference(t,n,r,function(){return o.data.base_urls.map(function(t){return(t+o.data.segment_template).replace(o.PROFILE_ID_PLACEHOLDER,e.id).replace(o.FILE_TYPE_PLACEHOLDER,e.file_type).replace(o.SEGMENT_TIMESTAMP_PLACEHOLDER,n)})},0,null)};var a=o;t.default=a},KF7U:function(e,t,n){"use strict";var r=n("RB/r");e.exports=function(){return{name:"context_sdk",data:{version_name:r.version}}}},KLQT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("jT1e"),i=function(){function e(e,t){this.eventEmitter=e,this.internalObservers=t}return e.prototype.initiateObservers=function(e,t,n){this.internalObservers.initiateObservers(e,t,n)},e.prototype.onTimeUpdate=function(e){this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.POSITION_UPDATE,{position:e})},e.prototype.onProgressChanged=function(e){this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.PROGRESS,e)},e.prototype.onPlaybackCreated=function(e,t,n){this.internalObservers.onPlaybackCreated(e,t,n),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.CREATED,{identity:e})},e.prototype.onEndingPlayback=function(e){this.internalObservers.onEndingPlayback(e)},e.prototype.onPlaybackEnded=function(e,t,n){this.internalObservers.onPlaybackEnded(e,t),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.ENDED,{position:e,reason:t,n_dropped_frames:n})},e.prototype.onVolumeChanged=function(e,t,n){this.internalObservers.onVolumeChanged(e,t),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.VOLUME_CHANGED,{position:e,volume:t,muted:n})},e.prototype.onStarted=function(e){this.internalObservers.onResumed(e),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.STARTED,{position:e})},e.prototype.onResumed=function(e){this.internalObservers.onResumed(e),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.RESUMED,{position:e})},e.prototype.onSeeking=function(e,t){this.internalObservers.onSeeking(e,t),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.SEEKING,{fromPosition:e,toPosition:t})},e.prototype.onPaused=function(e){this.internalObservers.onPaused(e),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.PAUSED,{position:e})},e.prototype.onReady=function(e,t,n){this.internalObservers.onReady(e,n),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.READY,{position:e,duration:t,playWhenReady:n})},e.prototype.onManifestLoaded=function(){this.internalObservers.onManifestLoaded(),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.MANIFEST_LOADED)},e.prototype.onManifestLoading=function(){this.internalObservers.onManifestLoading(),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.MANIFEST_LOADING)},e.prototype.onRecoverableError=function(e,t){this.internalObservers.onRecoverableError(e,t),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.RECOVERABLE_ERROR,{error:e,position:t})},e.prototype.onFatalError=function(e,t){this.internalObservers.onFatalError(e,t),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.FATAL_ERROR,{error:e,position:t})},e.prototype.onAudioFormatChanged=function(e,t){this.internalObservers.onAudioFormatChanged(e,t),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.AUDIO_FORMAT_CHANGED,{bandwidth:e.bandwidth})},e.prototype.onVideoFormatChanged=function(e,t){this.internalObservers.onVideoFormatChanged(e,t),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.VIDEO_FORMAT_CHANGED,{width:e.width,height:e.height,bandwidth:e.bandwidth})},e.prototype.onBuffering=function(e,t,n){this.internalObservers.onBuffering(e,t,n),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.BUFFERING,{position:e,type:n})},e.prototype.onDroppedVideoFrames=function(e){this.internalObservers.onDroppedVideoFrames(e),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.DROPPED_FRAMES,{droppedFrames:e})},e.prototype.onEncryptionKeyLoaded=function(e){this.internalObservers.onEncryptionKeyLoaded(e),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.ENCRYPTION_KEY_LOADED,{encryptionType:e})},e.prototype.onEncryptionKeyLoading=function(){this.internalObservers.onEncryptionKeyLoading(),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.ENCRYPTION_KEY_LOADING)},e.prototype.onBytesTransferred=function(e,t){this.internalObservers.onBytesTransferred(e,t),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.BYTES_TRANSFERRED,{bytes:e,time:t})},e.prototype.onDurationChanged=function(e){this.internalObservers.onDurationChanged(e),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.DURATION_CHANGED,{duration:e})},e.prototype.onSubtitleChanged=function(e,t){this.internalObservers.onSubtitleChanged(e,t),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.SUBTITLE_CHANGED,{position:e,languageTag:t.languageTag})},e.prototype.onFullscreenChanged=function(e,t){this.internalObservers.onFullscreenChanged(e,t),this.emitSessionPlaybackEvent(r.VideoPlaybackEvents.FULLSCREEN_CHANGED,{fullscreen:t,position:e})},e.prototype.emitSessionPlaybackEvent=function(e,t){this.eventEmitter.emit(e,t),this.eventEmitter.emit("any",e,t)},e}();t.default=i},KPDA:function(e,t,n){"use strict";var r=n("ZjB5");e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},KUYf:function(e,t,n){"use strict";var r=n("asuC"),i=n("M3UQ"),o=n("pPJX"),a=n("H2G3"),s="dealer",u="spclient";e.exports=function(e){var t=e||{},n={dealer:s,webgate:u};t.dealer&&(n.dealer=t.dealer),t.webgate&&(n.webgate=t.webgate);var c=["?","type=",n.dealer,"&","type=",n.webgate].join("");return function(e){return(e||a).request("https://apresolve.spotify.com/"+c,{forcePolyfill:!0,responseType:"json",retry:{maxRetries:5,condition:function(e,t){return e.getStatusFamily()!==t.SUCCESS}}}).then(function(e){if(200!==e.status)return r.reject(new i(o.XRESOLVE_REQUEST_FAILED_WITH_STATUS,"XResolve responded with status "+e.status,e.status));var t=e.body;if(!t)return r.reject(new i(o.XRESOLVE_INVALID_RESPONSE,"XResolve responded with an empty or invalid body.",e.status));var a={dealer:t[n.dealer]&&t[n.dealer][0],webgate:t[n.webgate]&&t[n.webgate][0],webapi:"https://api.spotify.com/"};return a.dealer&&a.webgate?a:r.reject(new i(o.XRESOLVE_INCOMPLETE_RESPONSE,"Xresolve responded with incomplete results.",e.status))}).then(function(e){return e.dealer="wss://"+e.dealer.replace(/:443$/,""),e.webgate="https://"+e.webgate.replace(/:443$/,""),e})}}},Kcgw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("XR8V"),i=n("Jaz+"),o=n("jT1e"),a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(){function e(e){this.playerConfigurationDependencies=e}return e.prototype.createPlaybackSession=function(e,t){var n,s=this.playerConfigurationDependencies.factories||[];if(this.playerConfigurationDependencies.session&&(s=s.concat([new o.VideoPlaybackSessionLogger(this.playerConfigurationDependencies.session.logger)])),e&&this.playerConfigurationDependencies.endVideo){var u=this.playerConfigurationDependencies.endVideo,c=u.live,l=u.clientModel,f=u.endVideo,p=u.logError,h=u.streamingRulesProvider;t.newEventApi?s=s.concat([new o.EndVideoLoggerFactory(c,l,f,p,h)]):n=new o.EndVideoTracker(c,l,f,p,h)}var d=new i.InternalPlaybackObserver(s);return new r.PlaybackSession(t,a({},this.playerConfigurationDependencies,{endVideoTracker:n,initiatePlaybackEventsObserver:function(e){return new i.PlaybackEventsObserver(e,d)}}))},e}();t.default=s},KlUR:function(e,t,n){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){for(var t,n=c(e),r=n[0],a=n[1],s=new o(3*(r+a)/4-a),u=0,l=a>0?r-4:r,f=0;f<l;f+=4)t=i[e.charCodeAt(f)]<<18|i[e.charCodeAt(f+1)]<<12|i[e.charCodeAt(f+2)]<<6|i[e.charCodeAt(f+3)],s[u++]=t>>16&255,s[u++]=t>>8&255,s[u++]=255&t;return 2===a&&(t=i[e.charCodeAt(f)]<<2|i[e.charCodeAt(f+1)]>>4,s[u++]=255&t),1===a&&(t=i[e.charCodeAt(f)]<<10|i[e.charCodeAt(f+1)]<<4|i[e.charCodeAt(f+2)]>>2,s[u++]=t>>8&255,s[u++]=255&t),s},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(l(e,a,a+16383>s?s:a+16383));return 1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},L6We:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("jXlj")),r(n("jIGx")),r(n("uIAw"));var i=n("qg8E");t.default=i.default},LObV:function(e,t,n){"use strict";function r(){this._id={},this.length=0,this.first=null,this.last=null}r.prototype.append=function(e){if(!e)throw new Error("Node is null!");if(e.listID)throw new Error("Node already exists in another list!");return e.listID=this._id,this.first?(e.prev=this.last,e.next=null,this.last.next=e,this.last=e):(this.first=e,this.last=e),++this.length},r.prototype.insertAfter=function(e,t){if(!e||!t)throw new Error("Node is null!");if(t.listID)throw new Error("Node already exists in another list!");t.listID=this._id,t.prev=e,t.next=e.next,e.next.prev=t,e.next=t,t.prev===this.last&&(this.last=t),this.length++},r.prototype.remove=function(e){if(!e)throw new Error("Node is null!");return!(!this.length||e.listID!==this._id||(this.length>1?(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e===this.first?this.first=e.next:e===this.last&&(this.last=e.prev)):(this.first=null,this.last=null),e.listID=null,e.prev=null,e.next=null,this.length--,0))},r.Node=function(e){this.listID=null,this.key=null,this.prev=null,this.next=null,this.value=e||null},e.exports=r},LWjj:function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("Kcgw")),o=n("XR8V"),a=function(){function e(e){this.playerConfigurationDependencies=e}return e.prototype.createBetamaxPlayer=function(e){var t=new i.default(this.playerConfigurationDependencies);return new o.BetamaxPlayer(e,t)},e}();t.default=a},Lc1h:function(e,t,n){"use strict";function r(e,t){this.url=e||"",this.status=t||0,this.headers=null,this.body=null,this.offline=!1,this.timing=null,this.ok=this.status>=200&&this.status<=299,this.metadata=null}r.prototype.getStatusFamily=function(){return 0|this.status/100},e.exports=r},LmGa:function(e,t,n){"use strict";var r=n("24bo"),i=n("asuC"),o=n("T3pf").forTag("Logh.Uploader");function a(e){var t=e||{};this._transport=t.transport,this._enableDebugInfo=t.enableDebugInfo||!1,this._suppressPersist=t.suppressPersist||!1,this._backoff=!1}a.create=function(e){return new a(e)},a.prototype.upload=function(e,t){var n=t||[];if(!e.length)return i.resolve({nack:n,backoff:this._backoff});var r=e.slice(0);return this._uploadBatch(r.splice(0,20)).then(function(e){if(n=n.concat(e),this._backoff)n=n.concat(r);else if(r.length)return this.upload(r,n);return{nack:n,backoff:this._backoff}}.bind(this))},a.prototype.lastUpload=function(e){return e.length?this._uploadBatch(e.splice(0,100)).then(function(){return!0}):i.resolve(!0)},a.prototype._uploadBatch=function(e){return this._transport.request("@webgate/gabo-receiver-service/v2/events",{method:r.POST,payload:JSON.stringify({enable_debug_info:this._enableDebugInfo,suppress_persist:this._suppressPersist,events:e}),headers:{"content-type":"application/json"},responseType:"json",authorize:!0,withResponseHeaders:!0}).then(function(t){if(200!==t.status)return o.warn("Received error status",t),this._backoff=!0,e;var n=t.body,r=t.headers;n.debug_info&&n.debug_info.length&&o.info("response debug_info",e,n.debug_info);var i=[];if(n.nack&&n.nack.length)for(var a=0,s=n.nack.length;a<s;a++)i.push(e[n.nack[a]]);return r&&"true"===r.get("backoff")?this._backoff=!0:this._backoff=!1,i}.bind(this))},a.prototype.shouldBackoff=function(){return this._backoff},e.exports=a},LxXC:function(e,t,n){"use strict";var r=n("PQZM"),i=n("asuC"),o=n("qG8n"),a=n("3or+"),s=n("y7hz"),u=n("uDox"),c=n("p1y8"),l=n("g3mZ"),f=n("Q0s3"),p=n("mmnt"),h=n("P1TA"),d=n("mgOk"),_=n("msiY"),y=n("c+YL"),v=n("UKBR"),m=n("J4Is"),g=n("4zCw"),E=n("l8e1"),b=n("nAMc"),T=n("Xcej"),S=u.forTag("harmonyclient");function R(e){if(!e.transport)throw new TypeError("Invalid transport instance.");this._deviceDescriptor=i.resolve(),this._transport=e.transport,this._ownerRef=e.ownerRef,this._allowLifecycleManagement=e.allowLifecycleManagement,this._abbaClient=null,this._systemInfo=i.defer(),this._clientVersion=i.defer(),this._sdkVersion=T,this._logger=null,this.emitEvent=this.emitEvent.bind(this),this._init(e)}r(R,o),R.create=function(e){return new R(e)},R.of=function(e){return e._client},R.prototype._parseDeviceInfo=function(e,t){var n=t.capabilities||{},r={change_volume:!("change_volume"in n)||n.change_volume,audio_podcasts:!("audio_podcasts"in n)||n.audio_podcasts,endsong_snooping:n.endsong_snooping,enable_play_token:!0,play_token_lost_behavior:e.playTokenLostBehavior||"pause",disable_connect:!!e.hidden,video_playback:n.video_playback,manifest_formats:[b.FILE_URLS_MP3]};t.nameTemplate&&(t.name=v(t.nameTemplate));var i=l.create({id:y.get(t.id,t.randomizeId),model:t.model||v("harmony-{{name}}.{{version}}-{{platform}}").toLowerCase(),name:t.name||m(v("Spotify ({{name}}/{{platform}})")),type:t.type||c.COMPUTER,brand:t.brand||"SpotifyHarmonyGeneric",platform_identifier:t.platform_identifier,platform_version:t.platform_version,metadata:t.metadata||{},capabilities:r});return this._systemInfo.resolve(i.getPlatformIdentifier()),this._clientVersion.resolve(i.getPlatformVersion()),i},R.prototype._init=function(e){this._initDeviceDescriptor(e),this._initTransport(),this._initLogger()},R.prototype._initLogger=function(){this._logger=new _({transport:this._transport,sdkId:this.getSDKId(),platform:this._systemInfo.promise,clientVersion:this._clientVersion.promise})},R.prototype._initDeviceDescriptor=function(e){this._deviceDescriptor=i.resolve(e.descriptor||{}).then(this._parseDeviceInfo.bind(this,e)).then(function(e){return this.proxyEmit(e,f.DEVICE_DESCRIPTOR_CHANGED,f.CLIENT_DEVICE_DESCRIPTOR_CHANGED),e}.bind(this)).catch(function(e){this._onError(p.HARMONY,{error:e})}.bind(this))},R.prototype._initTransport=function(){var e=this._transport;e.on(h.TRANSPORT_CONNECTED,this._onConnected.bind(this)),e.on(h.TRANSPORT_CONNECTION_FAILED,this._onConnectionError.bind(this)),e.on(h.TRANSPORT_AUTHENTICATION_FAILED,this._onAuthenticationError.bind(this)),this.proxyEmit(e,h.TRANSPORT_AUTHENTICATED,f.CLIENT_AUTHENTICATED),this.proxyEmit(e,h.TRANSPORT_RECONNECTING,f.CLIENT_RECONNECTING),this.proxyEmit(e,h.TRANSPORT_RECONNECTED,f.CLIENT_RECONNECTED),this.proxyEmit(e,h.TRANSPORT_LOGGED_OUT,f.CLIENT_LOGGED_OUT),this.proxyEmitSync(e,h.TRANSPORT_BEFORE_OFFLINE_DISCONNECT,f.CLIENT_BEFORE_OFFLINE_DISCONNECT),this.proxyEmitSync(e,h.TRANSPORT_BEFORE_ONLINE_DISCONNECT,f.CLIENT_BEFORE_DISCONNECT),e.on(h.TRANSPORT_SHORT_SESSION_DISCONNECTED,this._onShortSessionDisconnect.bind(this)),this._transport=e,this._abbaClient=a.forSession(e);var t=s.create({transport:e});t.on(f.PRODUCT_STATE_OBSERVER_PRODUCT_STATE_CHANGED,this.emitEvent),this.on(f.CLIENT_BEFORE_DISCONNECT,function(e){if(e){var n=t.deregister().catch(function(){});e.awaitPromise(n)}}),this._productStateObserver=t},R.prototype._onError=function(e,t){this.emit(f.CLIENT_ERROR,{source:e,name:t.name,error:t.error}),t.error&&t.error.unrecoverable&&this.emit(f.CLIENT_UNRECOVERABLE_FAILURE,{source:e,name:t.name,error:t.error})},R.prototype._onConnected=function(){this.emit(f.CLIENT_CONNECTED),(this._transport.hasOwnerRef(this._ownerRef)||this._allowLifecycleManagement)&&this._transport.authenticate().catch(function(){})},R.prototype._onConnectionError=function(e){var t=e&&e.error?e.error:e;this._onError(p.TRANSPORT,{error:t}),this.emit(f.CLIENT_CONNECTION_ERROR,e)},R.prototype._onAuthenticationError=function(e){var t=e&&e.error?e.error:e;this._onError(p.TRANSPORT,{error:t}),this.emit(f.CLIENT_AUTHENTICATION_ERROR,t)},R.prototype._onShortSessionDisconnect=function(e){this._logger.logClientEvent({source:"transport",source_version:T.tagged,source_vendor:"spotify",event:e.type,event_version:"1.0.0",json_data:{disconnectCount:e.disconnectCount,sessionLength:e.sessionLength}}).catch(function(t){S.warn(e.type+" Logging Error",t)})},R.prototype.getVersionDescriptor=function(){return this._sdkVersion},R.prototype.getSDKId=function(){return"harmony:"+this._sdkVersion.tagged},R.prototype.getUntaggedSDKId=function(){return"harmony:"+this._sdkVersion.version},R.prototype.getLogger=function(){return this._logger},R.prototype.logAppMetrics=function(e,t){return this._logger.logMetrics(e,t)},R.prototype.request=function(e,t){return this._transport.request(e,t)},R.prototype.getPublicTransport=function(){return this._transport.toPublic()},R.prototype.getABBAClient=function(){return this._abbaClient},R.prototype.getClientDescriptor=function(){return this._deviceDescriptor.then(function(e){return e.toJSON()})},R.prototype.getDeviceDescriptor=function(){return this._deviceDescriptor},R.prototype.getUserInfo=function(){return this._transport.request("https://@webapi/v1/me",{responseType:"json"}).then(function(e){var t=e.body;if(200!==e.status){var n=new E(g.USER_INFO_REQUEST_FAILED_WITH_STATUS,"User info request failed with status "+e.status);return n.status=e.status,i.reject(n)}return t?{display_name:t.display_name,followers:t.followers,id:t.id,images:t.images,uri:t.uri}:i.reject(new E(g.USER_INFO_REQUEST_EMPTY_RESPONSE,"Unexpected empty response."))})},R.prototype.getProductState=function(){return this._productStateObserver.getCurrentState()},R.prototype.connect=function(){return this._allowLifecycleManagement?this._transport.connect():d.connectIfOwned(this._transport,this._ownerRef)},R.prototype.disconnect=function(){return this._allowLifecycleManagement?this._transport.disconnect():d.disconnectIfOwned(this._transport,this._ownerRef)},R.prototype.forceDisconnect=function(){return this._allowLifecycleManagement?this._transport.forceDisconnect():d.forceDisconnectIfOwned(this._transport,this._ownerRef)},R.prototype.setName=function(e){return this._deviceDescriptor.then(function(t){return t.setName(e)})},R.prototype.setNameTemplate=function(e){return this.setName(v(e))},R.prototype.setCapability=function(e,t){return this._deviceDescriptor.then(function(n){return n.setCapability(e,t)})},R.prototype.notifyError=function(e,t,n){this._onError(e,{name:t,error:n})},e.exports=R},M3UQ:function(e,t,n){"use strict";function r(e,t,n){Error.call(this,e),this.code=e,this.message=t,this.status=n||0}r.prototype=new Error,r.prototype.constructor=r,r.prototype.name="XResolveError",e.exports=r},M3Ve:function(e,t,n){"use strict";var r=n("d8l3");e.exports=r({GET:"GET",POST:"POST",PUT:"PUT",DELETE:"DELETE",OPTIONS:"OPTIONS"})},MFfK:function(e,t,n){"use strict";var r=n("vdEC");Object.defineProperty(t,"__esModule",{value:!0}),t.processIdentityFields=y,t.processMsStartPosition=v,t.processMsDuration=m,t.processStartTime=g,t.processDroppedFrames=E,t.processEndFields=b,t.processVideoFormatChangedFields=T,t.processMsEncryptionLoadTime=S,t.processEncryptionType=R,t.processLasUsedSubtitle=w,t.processManifestLoadTime=O,t.processSeekFields=A,t.processBandwidthFields=I,t.processBufferingFields=N,t.processMsPlayed=C,t.processMsSubtitlesPlayed=P,t.processMsFullscreenPlayed=L,t.generatePlaybackSessionMessage=function(e){return u({},y(e),v(e),m(e),g(e),b(e),T(e),S(e),R(e),w(e),O(e),A(e),I(e),N(e),C(e),P(e),L(e),E(e))};var i=n("bfQY"),o=r(n("WshP")),a=n("yWAF"),s=n("gMC6"),u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function c(e){var t=e.data,n=e.type;if(t){if(Number.isFinite(t.position))return t.position;if(n===o.default.SEEKING&&Number.isFinite(t.fromPosition))return t.fromPosition}return 1/0}function l(e,t,n){var r=Math.round(n.timestamp-e.bufferingStart),a=u({},t);if(Number.isFinite(r)&&r>0)switch(e.bufferingType){case o.BufferType.SEEK:a[i.PlaybackSessionKeys.MS_BUFFERING_SEEK]+=r,r>a[i.PlaybackSessionKeys.MS_BUFFERING_SEEK_LONGEST]&&(a[i.PlaybackSessionKeys.MS_BUFFERING_SEEK_LONGEST]=r);break;case o.BufferType.STALL:a[i.PlaybackSessionKeys.MS_BUFFERING_STALL]+=r,r>a[i.PlaybackSessionKeys.MS_BUFFERING_STALL_LONGEST]&&(a[i.PlaybackSessionKeys.MS_BUFFERING_STALL_LONGEST]=r);break;case o.BufferType.INITIAL:a[i.PlaybackSessionKeys.MS_INITIAL_BUFFERING]+=r}return a}var f=function(e,t){var n=(0,s.computeRange)(t.playingPosition,c(e));return u({},t,{msPlayed:n+t.msPlayed,playing:!1,playingPosition:0})},p=function(e,t){var n=e.data;return u({},t,{subtitlesEnabled:!(!n||!n.subtitle.languageTag)})},h=function(e,t){var n=e.data;return u({},t,{fullscreen:n.fullscreen})},d=function(e,t){var n=u({},t),r=n.playing&&n.subtitlesEnabled;return r&&!n.playingWithSubtitlesPosition&&(n.playingWithSubtitlesPosition=e.data.position),!r&&n.playingWithSubtitlesPosition&&(n.msPlayedSubtitles+=(0,s.computeRange)(n.playingWithSubtitlesPosition,c(e)),n.playingWithSubtitlesPosition=0),n},_=function(e,t){var n=u({},t),r=n.playing&&n.fullscreen;return r&&!n.playingWhileFullscreenPosition&&(n.playingWhileFullscreenPosition=e.data.position),!r&&n.playingWhileFullscreenPosition&&(n.msPlayedFullscreen+=(0,s.computeRange)(n.playingWhileFullscreenPosition,c(e)),n.playingWhileFullscreenPosition=0),n};function y(e){var t;return e.filter(s.created).reduce(function(e,t){var n,r=t.data;return(n={})[i.PlaybackSessionKeys.SESSION_ID]=r.playbackIdentity.sessionId,n[i.PlaybackSessionKeys.MEDIA_URL]=r.playbackIdentity.mediaUrl,n[i.PlaybackSessionKeys.FEATURE_IDENTIFIER]="",n},((t={})[i.PlaybackSessionKeys.SESSION_ID]="",t[i.PlaybackSessionKeys.MEDIA_URL]="",t[i.PlaybackSessionKeys.FEATURE_IDENTIFIER]="",t))}function v(e){var t;return e.filter(s.ready).reduce(function(e,t){var n,r=t.data;return(n={})[i.PlaybackSessionKeys.MS_START_POSITION]=Math.round(1e3*r.position),n},((t={})[i.PlaybackSessionKeys.MS_START_POSITION]=s.DEFAULT_INVALID_TIME,t))}function m(e){var t;return e.filter(s.duration).reduce(function(e,t){var n,r=t.data;return(n={})[i.PlaybackSessionKeys.MS_DURATION]=Math.round(1e3*r.duration),n},((t={})[i.PlaybackSessionKeys.MS_DURATION]=s.DEFAULT_INVALID_TIME,t))}function g(e){var t,n=(0,s.getLastTimestamp)(e,o.default.CREATED);return e.filter(s.ready).reduce(function(e,t){var r;return n!==s.DEFAULT_INVALID_TIME?((r={})[i.PlaybackSessionKeys.MS_START_TIME]=Math.round(t.timestamp-n),r):e},((t={})[i.PlaybackSessionKeys.MS_START_TIME]=s.DEFAULT_INVALID_TIME,t))}function E(e){var t;return e.filter(s.droppedFrames).reduce(function(e,t){var n,r=t.data;return(n={})[i.PlaybackSessionKeys.N_DROPPED_FRAMES]=r.droppedFrames,n},((t={})[i.PlaybackSessionKeys.N_DROPPED_FRAMES]=0,t))}function b(e){var t;return e.filter(s.ended).reduce(function(e,t){var n,r=t.data;return(n={})[i.PlaybackSessionKeys.EXIT_REASON]=r.reason,n},((t={})[i.PlaybackSessionKeys.EXIT_REASON]="",t))}function T(e){var t;return e.filter(s.videoFormat).reduce(function(e,t){var n,r=t.data;return(n={})[i.PlaybackSessionKeys.ASPECT_RATIO]=r.format.width&&r.format.height?r.format.width/r.format.height:e[i.PlaybackSessionKeys.ASPECT_RATIO],n[i.PlaybackSessionKeys.START_BITRATE]=r.format.bandwidth&&!e[i.PlaybackSessionKeys.START_BITRATE]?r.format.bandwidth:e[i.PlaybackSessionKeys.START_BITRATE],n},((t={})[i.PlaybackSessionKeys.ASPECT_RATIO]=0,t[i.PlaybackSessionKeys.START_BITRATE]=0,t))}function S(e){var t,n=(0,s.getLastTimestamp)(e,o.default.ENCRYPTION_KEY_LOADING);return e.filter(s.encryptionKeyLoaded).reduce(function(e,t){var r;return n!==s.DEFAULT_INVALID_TIME?((r={})[i.PlaybackSessionKeys.MS_ENCRYPTION_LOAD_TIME]=Math.round(t.timestamp-n),r):e},((t={})[i.PlaybackSessionKeys.MS_ENCRYPTION_LOAD_TIME]=s.DEFAULT_INVALID_TIME,t))}function R(e){var t;return e.filter(s.encryptionKeyLoaded).reduce(function(e,t){var n,r=t.data;return(n={})[i.PlaybackSessionKeys.ENCRYPTION_TYPE]=r.encryptionType,n},((t={})[i.PlaybackSessionKeys.ENCRYPTION_TYPE]="",t))}function w(e){var t;return e.filter(s.subtitles).reduce(function(e,t){var n,r=t.data;return(n={})[i.PlaybackSessionKeys.LAST_USED_SUBTITLE]=r.subtitle.languageTag||e[i.PlaybackSessionKeys.LAST_USED_SUBTITLE],n},((t={})[i.PlaybackSessionKeys.LAST_USED_SUBTITLE]="",t))}function O(e){var t,n=(0,s.getLastTimestamp)(e,o.default.MANIFEST_LOADING);return e.filter(s.manifestLoaded).reduce(function(e,t){var r;return n!==s.DEFAULT_INVALID_TIME?((r={})[i.PlaybackSessionKeys.MS_MANIFEST_LOAD_TIME]=Math.round(t.timestamp-n),r):e},((t={})[i.PlaybackSessionKeys.MS_MANIFEST_LOAD_TIME]=s.DEFAULT_INVALID_TIME,t))}function A(e){var t;return e.filter(s.seeking).reduce(function(e,t){var n,r,o=t.data;return o.fromPosition>o.toPosition?u({},e,((n={})[i.PlaybackSessionKeys.N_SEEKBACK]=e[i.PlaybackSessionKeys.N_SEEKBACK]+1,n[i.EndVideoKeys.MS_SEEKBACK]=Math.round(e[i.EndVideoKeys.MS_SEEKBACK]+1e3*(o.fromPosition-o.toPosition)),n)):o.fromPosition<=o.toPosition?u({},e,((r={})[i.PlaybackSessionKeys.N_SEEKFORWARD]=e[i.PlaybackSessionKeys.N_SEEKFORWARD]+1,r[i.EndVideoKeys.MS_SEEKFWD]=Math.round(e[i.EndVideoKeys.MS_SEEKFWD]+1e3*(o.toPosition-o.fromPosition)),r)):e},((t={})[i.PlaybackSessionKeys.N_SEEKBACK]=0,t[i.EndVideoKeys.MS_SEEKBACK]=0,t[i.PlaybackSessionKeys.N_SEEKFORWARD]=0,t[i.EndVideoKeys.MS_SEEKFWD]=0,t))}function I(e){var t,n={totalBytes:0,totalTransferTimeSeconds:0};return e.filter(s.bytesTransferred).reduce(function(e,t){var r,o=t.data;return n.totalBytes+=o.bytes,n.totalTransferTimeSeconds+=o.timeMs/1e3,(r={})[i.PlaybackSessionKeys.KBPS_AVERAGE_BANDWIDTH]=Math.round(n.totalBytes/n.totalTransferTimeSeconds*.008),r[i.PlaybackSessionKeys.KBYTES_DOWNLOADED]=Math.round(n.totalBytes/1e3),r},((t={})[i.PlaybackSessionKeys.KBYTES_DOWNLOADED]=0,t[i.PlaybackSessionKeys.KBPS_AVERAGE_BANDWIDTH]=0,t))}function N(e){for(var t,n={buffering:!1,bufferingType:"",bufferingStart:0},r=((t={})[i.PlaybackSessionKeys.N_STALLS]=0,t[i.PlaybackSessionKeys.MS_BUFFERING_SEEK]=0,t[i.PlaybackSessionKeys.MS_BUFFERING_SEEK_LONGEST]=0,t[i.PlaybackSessionKeys.MS_BUFFERING_STALL]=0,t[i.PlaybackSessionKeys.MS_INITIAL_BUFFERING]=0,t[i.PlaybackSessionKeys.MS_BUFFERING_STALL_LONGEST]=0,t),a=0,s=e;a<s.length;a++){var u=s[a];u.type===o.default.BUFFERING&&u.data.type===o.BufferType.STALL&&r[i.PlaybackSessionKeys.N_STALLS]++,u.type===o.default.BUFFERING&&(n.buffering&&(r=l(n,r,u)),n.buffering=!0,n.bufferingType=u.data.type,n.bufferingStart=u.timestamp),u.type!==o.default.READY&&u.type!==o.default.ENDED||n.buffering&&(r=l(n,r,u),n.buffering=!1,n.bufferingType="",n.bufferingStart=0)}return r}function C(e){var t,n=e.reduce(function(e,t){return(0,a.cond)([[(0,s.startedPlaying)(e.playing),s.handlePlayingPosition],[(0,s.interruptedWhilePlaying)(e.playing),f],[a.T,function(e,t){return t}]])(t,e)},{playing:!1,playingPosition:0,msPlayed:0});return(t={})[i.PlaybackSessionKeys.MS_PLAYED]=n.msPlayed,t}function P(e){var t,n=e.reduce(function(e,t){var n=(0,a.cond)([[(0,s.startedPlaying)(e.playing),s.handlePlayingPosition],[(0,s.interruptedWhilePlaying)(e.playing),f],[s.subtitles,p],[a.T,function(e,t){return t}]])(t,e);return d(t,n)},{playing:!1,subtitlesEnabled:!1,playingWithSubtitlesPosition:0,msPlayedSubtitles:0});return(t={})[i.PlaybackSessionKeys.MS_PLAYED_SUBTITLES]=n.msPlayedSubtitles,t}function L(e){var t,n=e.reduce(function(e,t){var n=(0,a.cond)([[(0,s.startedPlaying)(e.playing),s.handlePlayingPosition],[(0,s.interruptedWhilePlaying)(e.playing),f],[s.fullscreen,h],[a.T,function(e,t){return t}]])(t,e);return _(t,n)},{playing:!1,fullscreen:!1,playingWhileFullscreenPosition:0,msPlayedFullscreen:0});return(t={})[i.PlaybackSessionKeys.MS_PLAYED_FULLSCREEN]=n.msPlayedFullscreen,t}},MN4F:function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.getCookie=function(e){try{var t=" "+document.cookie+";",n=t.indexOf(" "+e+"=");if(n>=0){n+=e.length+2;var r=t.indexOf(";",n);return t.slice(n,r)}if(t.indexOf(" "+e+";")>=0)return""}catch(e){}},t.getLocalStorage=function(){try{if(localStorage.setItem(o,o),localStorage.getItem(o)!==o)return;return localStorage.removeItem(o),localStorage}catch(e){}},t.resolveTimeout=function(e,t){return void 0===t&&(t=!0),new Promise(function(n){var r=setTimeout(n,e);if(t&&"object"===(0,i.default)(r)&&"function"==typeof r.unref)try{r.unref()}catch(e){}})},t.resolveOnLoad=function(){return new Promise(function(e){try{"complete"===document.readyState?e():window.addEventListener("load",function(){e()})}catch(t){e()}})};var i=r(n("e+GP")),o="random-key-8bd1050edb44"},MNOf:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,o){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var s=/\+/g;e=e.split(t);var u=1e3;o&&"number"==typeof o.maxKeys&&(u=o.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l<c;++l){var f,p,h,d,_=e[l].replace(s,"%20"),y=_.indexOf(n);y>=0?(f=_.substr(0,y),p=_.substr(y+1)):(f=_,p=""),h=decodeURIComponent(f),d=decodeURIComponent(p),r(a,h)?i(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},Md2V:function(e,t,n){"use strict";var r=n("nAES");function i(e,t,n){Error.call(this,e);var i=n||{};this.code=e||r.DEALER_ERROR,this.raw=i,this.wsReason=i.reason||null,this.wsCode=i.code||null}i.prototype=new Error,i.prototype.constructor=i,i.prototype.name="DealerError",e.exports=i},"Mj+E":function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({UNKNOWN:0,OK:200,CREATED:201,ACCEPTED:202,NO_CONTENT:204,PARTIAL_CONTENT:206,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,TIMED_OUT:408,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,REQUEST_ENTITY_TOO_LARGE:413,REQUEST_URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,REQUESTED_RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505})},MtVP:function(e,t,n){"use strict";(function(t){var r=n("PQZM"),i=n("qG8n"),o=n("asuC"),a=n("Q0s3"),s=n("ExtB"),u=n("4zCw"),c=n("mmnt"),l=n("l8e1"),f=n("kCN1").delegateAll,p=n("CweX").areDeviceListsEqual;function h(e){i.call(this),this._client=e.client,this._streamer=e.streamer,this._controller=e.controller,this._hidden=!!e.hidden,this._onlyLocalState=e.onlyLocalState,this._preferController=!this._onlyLocalState&&e.preferControllerState,this._claimInactivePlayerStates=e.claimInactivePlayerStates,this._disconnectBeforeUnload=e.disconnectBeforeUnload,this._enableControllerWithoutStreamer=e.enableControllerWithoutStreamer,this._hasFakeState=!1,this._localPlayerEnabled=!1,this._localPlayback=!1,this._deferredStreamer=null,this._lastDeviceList=[],this._init()}r(h,i),h.create=function(e){return new h(e)},f(h.prototype,{connect:"_client",disconnect:"_client",getABBAClient:"_client",getClientDescriptor:"_client",getProductState:"_client",getPublicTransport:"_client",getUserInfo:"_client",getVersionDescriptor:"_client",logAppMetrics:"_client",request:"_client",setName:"_client",setNameTemplate:"_client",getContextPlayerState:"_controller",updateCurrentContext:"_controller"}),h.prototype._init=function(){this._createStreamerDeferred();var e=this._client;e.on(a.CLIENT_ERROR,this._onError.bind(this)),this.proxyEmit(e,a.CLIENT_AUTHENTICATED,s.AUTHENTICATED),this.proxyEmit(e,a.CLIENT_AUTHENTICATION_ERROR,s.AUTHENTICATION_ERROR),this.proxyEmit(e,a.CLIENT_BEFORE_DISCONNECT,s.BEFORE_DISCONNECT),this.proxyEmit(e,a.CLIENT_CONNECTED,s.CONNECTED),this.proxyEmit(e,a.CLIENT_CONNECTION_ERROR,s.CONNECTION_ERROR),this.proxyEmit(e,a.CLIENT_DEVICE_DESCRIPTOR_CHANGED,s.DEVICE_DESCRIPTOR_CHANGED),this.proxyEmit(e,a.CLIENT_PRODUCT_STATE_CHANGED,s.PRODUCT_STATE_CHANGED),this.proxyEmit(e,a.CLIENT_RECONNECTED,s.RECONNECTED),this.proxyEmit(e,a.CLIENT_RECONNECTING,s.RECONNECTING),this.proxyEmit(e,a.CLIENT_UNRECOVERABLE_FAILURE,s.UNRECOVERABLE_FAILURE),this.proxyEmit(e,a.CLIENT_LOGGED_OUT,s.LOGGED_OUT);var n=this._controller;n.on(a.CONTROLLER_DEVICE_INFO_CHANGED,this._onDeviceStateChanged.bind(this)),n.on(a.CONTROLLER_DEVICES_CHANGED,this._onDevicesChanged.bind(this)),n.on(a.CONTROLLER_STATE_CHANGED,this._onPlayerStateChanged.bind(this)),n.on(a.CONTROLLER_PROGRESS,this._onControllerProgress.bind(this)),this.proxyEmit(n,a.CONTROLLER_MAX_SUBSCRIPTIONS_REACHED,s.MAX_SUBSCRIPTIONS_REACHED),this._proxyEmitNoProps(n,a.CONTROLLER_REGISTERED,s.REMOTE_OBSERVER_ENABLED),this._proxyEmitNoProps(n,a.CONTROLLER_DEREGISTERED,s.REMOTE_OBSERVER_DISABLED);var r=this._streamer;r?(r.on(a.STREAMER_BEFORE_VOLUME_CHANGE,this._onStreamerBeforeVolumeChange.bind(this)),r.on(a.STREAMER_DEREGISTERED,this._onStreamerDeregistered.bind(this)),r.on(a.STREAMER_REGISTERED,this._onStreamerRegistered.bind(this)),r.on(a.STREAMER_REGISTRATION_ABORTED,this._onStreamerRegistrationAborted.bind(this)),r.on(a.STREAMER_STATE_CHANGED,this._onStreamerStateChanged.bind(this)),this.proxyEmit(r,a.STREAMER_AUTOPLAY_FAILED,s.AUTOPLAY_FAILED),this.proxyEmit(r,a.STREAMER_BUFFERING_END,s.BUFFERING_END),this.proxyEmit(r,a.STREAMER_BUFFERING_START,s.BUFFERING_START),this.proxyEmit(r,a.STREAMER_DURATION_CHANGED,s.DURATION_CHANGED),this.proxyEmit(r,a.STREAMER_MAX_LIST_ERRORS_REACHED,s.MAX_LIST_ERRORS_REACHED),this.proxyEmit(r,a.STREAMER_MAX_SUBSCRIPTIONS_REACHED,s.MAX_SUBSCRIPTIONS_REACHED),this.proxyEmit(r,a.STREAMER_PLAYBACK_CAPPED,s.PLAYBACK_CAPPED),this.proxyEmit(r,a.STREAMER_PLAYER_INITIALIZATION_DONE,s.PLAYER_INITIALIZATION_DONE),this.proxyEmit(r,a.STREAMER_PLAYER_INITIALIZATION_FAILED,s.PLAYER_INITIALIZATION_FAILED),this.proxyEmit(r,a.STREAMER_PROGRESS,s.PROGRESS),this.proxyEmit(r,a.STREAMER_REGISTRATION_ERROR,s.SERVICE_REGISTRATION_ERROR),this.proxyEmit(r,a.STREAMER_TRACK_ENDED,s.TRACK_ENDED),this.proxyEmit(r,a.STREAMER_VIDEO_ELEMENT_APPENDED,s.VIDEO_ELEMENT_APPENDED),this.proxyEmit(r,a.STREAMER_VIDEO_ELEMENT_REMOVED,s.VIDEO_ELEMENT_REMOVED),this._proxyEmitNoProps(r,a.STREAMER_CONTEXT_ENDED,s.LOCAL_CONTEXT_ENDED),this._proxyEmitNoProps(r,a.STREAMER_LOGGED_OUT,s.LOCAL_PLAYER_LOGGED_OUT)):(this._disableLocalTarget(),this.on(s.AUTHENTICATED,function(){this.emit(s.LOCAL_PLAYER_DISABLED)}.bind(this))),this._disconnectBeforeUnload&&t.addEventListener&&t.addEventListener(a.WINDOW_BEFORE_UNLOAD,function(){this.disconnect()}.bind(this))},h.prototype._createStreamerDeferred=function(){this._deferredStreamer=o.defer(),this._deferredStreamer.promise.catch(function(){})},h.prototype._isTargetIdLocal=function(e){return e?"@local"===e?o.resolve(!0):this._client.getDeviceDescriptor().then(function(t){return e===t.getId()}):o.resolve(!!this._localPlayback)},h.prototype._proxyEmitNoProps=function(e,t,n){e.on(t,this.emit.bind(this,n,null))},h.prototype._onStreamerBeforeVolumeChange=function(e){this.emitSync(s.BEFORE_VOLUME_CHANGE,{volume:e.volume}).defaultPrevented&&e.preventDefault()},h.prototype._onStreamerRegistered=function(e){this._deferredStreamer.resolve(e),this._createStreamerDeferred(),this._deferredStreamer.resolve(e),this._localPlayerEnabled=!0,this._controller.register(),this.emit(s.LOCAL_PLAYER_ENABLED)},h.prototype._onStreamerDeregistered=function(){this._disableLocalTarget(),this.emit(s.LOCAL_PLAYER_DISABLED)},h.prototype._onStreamerRegistrationAborted=function(){this._disableLocalTarget(),this._enableControllerWithoutStreamer&&this._controller.register(),this.emit(s.LOCAL_PLAYER_DISABLED)},h.prototype._disableLocalTarget=function(){this._localPlayerEnabled=!1;var e=new l(u.HARMONY_LOCAL_PLAYER_DISABLED,"Cannot perform command; local player is disabled.");this._deferredStreamer.reject(e),this._createStreamerDeferred(),this._deferredStreamer.reject(e)},h.prototype._onStreamerConnect=function(){return this._deferredStreamer.promise},h.prototype._onDeviceStateChanged=function(e){var t=!!this._localPlayback,n=function(e){this._generateLocalDeviceInfo(e).then(function(e){this.emit(s.LAST_ACTIVE_DEVICE_INFO_CHANGED,{deviceInfo:e})}.bind(this))}.bind(this);if(this._localPlayerEnabled&&e.hasOrphanedState&&this._claimInactivePlayerStates)return this._hasFakeState=!0,void n(!0);this._hasFakeState=!1,this._localPlayback=e.deviceInfo&&e.deviceInfo.local,this._localPlayback?this._streamer.getVolume().then(function(t){e.deviceInfo.volume=t,this.emit(s.LAST_ACTIVE_DEVICE_INFO_CHANGED,e)}.bind(this)).catch(function(){}):this._onlyLocalState?(this._localPlayback||t)&&n():this.emit(s.LAST_ACTIVE_DEVICE_INFO_CHANGED,e)},h.prototype._onDevicesChanged=function(e){var t=this._lastDeviceList;this._parseDeviceList(e).then(function(e){this._listenerMap&&this._listenerMap[s.DEVICES_CHANGED]&&this._listenerMap[s.DEVICES_CHANGED].length&&!p(t,e)&&this.emit(s.DEVICES_CHANGED,{devices:e})}.bind(this))},h.prototype._onError=function(e){var t=e.error;e.source===c.PLAYBACK&&t&&t.unrecoverable&&(this._disableLocalTarget(),this._streamer.deregister()),this.emit(s.ERROR,e)},h.prototype._onPlayerStateChanged=function(e){var t;this._onlyLocalState||!this._preferController&&this._localPlayback||(t=this._localPlayerEnabled&&this._claimInactivePlayerStates?e.state:e.orphaned?null:e.state,this.emit(s.STATE_CHANGED,{state:t}))},h.prototype._onControllerProgress=function(e){this._onlyLocalState||this._localPlayback||this.emit(s.PROGRESS,e)},h.prototype._onStreamerStateChanged=function(e){this._preferController||(this._onlyLocalState?this._triggerLocalStateChanges(e):this._hidden?this._handleHidden(e):this._localPlayback&&this.emit(s.STATE_CHANGED,e))},h.prototype._handleHidden=function(e){e.state?(this._controller.suppressEvents(),this._triggerLocalStateChanges(e)):this._controller.unsuppressEvents()},h.prototype._parseDeviceList=function(e){var t=e.devices.slice(0);return t.length&&e.localDevice?this._hasFakeState&&e.localDevice&&(e.localDevice.is_active=!0):t.push(this._generateLocalDeviceInfo(this._hasFakeState)),o.all(t).then(function(e){return this._lastDeviceList=e,e}.bind(this))},h.prototype._triggerLocalStateChanges=function(e){this._generateLocalDeviceInfo().then(function(e){this._onDeviceStateChanged({deviceInfo:e})}.bind(this)),this.emit(s.STATE_CHANGED,e)},h.prototype.forceDisconnect=function(){return this._client.forceDisconnect(),this._streamer&&this._streamer.pause().catch(function(){}),!0},h.prototype.getLastActiveDevice=function(){return this._onlyLocalState||this._hasFakeState?this._generateLocalDeviceInfo(this._hasFakeState):this._controller.getActiveDevice().then(function(e){return e&&e.local&&this._streamer?(e.hidden=this._hidden,this._streamer.getVolume().then(function(t){return e.volume=t,e})):e}.bind(this))},h.prototype.getCurrentState=function(){if(!this._onlyLocalState&&(this._preferController||!this._localPlayback)){var e=!this._localPlayerEnabled||!this._claimInactivePlayerStates;return this._controller.getCurrentState(e).then(function(e){return!this._preferController&&this._localPlayback?this.getCurrentState():e}.bind(this))}return this._onStreamerConnect().then(this._streamer.getCurrentState.bind(this._streamer))},h.prototype.togglePlay=function(e){return this._runOnDevice(e,function(){return this._streamer.togglePlay()}.bind(this),this._controller.togglePlay.bind(this._controller,e))},h.prototype.pause=function(e){return this._runOnDevice(e,function(){return this._streamer.pause()}.bind(this),this._controller.pause.bind(this._controller,e))},h.prototype.resume=function(e){return this._runOnDevice(e,function(){return this._streamer.resume()}.bind(this),this._controller.resume.bind(this._controller,e))},h.prototype.playURI=function(e,t,n){return this._canStartNewContext(t).then(function(){return this._controller.playURI(e,t,n)}.bind(this))},h.prototype.playTracks=function(e,t,n){return this._canStartNewContext(t).then(function(){return this._controller.playTracks(e,t,n)}.bind(this))},h.prototype._canStartNewContext=function(e){return this._runOnDevice(e,function(){return this._streamer.getCurrentState().then(function(e){return!(e&&e.restrictions&&e.restrictions.disallow_skipping_next_reasons)||-1===e.restrictions.disallow_skipping_next_reasons.indexOf("ad_disallow")})}.bind(this),function(){return!0},!0).then(function(e){return!!e||o.reject(new l(u.HARMONY_OPERATION_FORBIDDEN,"Cannot switch to a new context."))})},h.prototype.nextTrack=function(e){return this._runOnDevice(e,function(){return this._streamer.nextTrack("fwdbtn")}.bind(this),this._controller.nextTrack.bind(this._controller,e))},h.prototype.smartPreviousTrack=function(e){return this.getCurrentState().then(function(t){return t?(t.disallows||{}).seeking||t.position<3e3&&t.track_window&&t.track_window.previous_tracks&&t.track_window.previous_tracks.length>0?this.previousTrack(e):this.seek(0,e):o.reject(new l(u.HARMONY_NO_TRACKS_LOADED,"No current state."))}.bind(this))},h.prototype.previousTrack=function(e){return this._runOnDevice(e,function(){return this._streamer.previousTrack("backbtn")}.bind(this),this._controller.previousTrack.bind(this._controller,e))},h.prototype.seek=function(e,t){return this._runOnDevice(t,function(){return this._streamer.seek(e)}.bind(this),this._controller.seek.bind(this._controller,e,t))},h.prototype._movePosition=function(e,t){return this.getCurrentState().then(function(n){if(!n||isNaN(n.position))return o.reject(new l(u.HARMONY_OPERATION_FORBIDDEN,"Seeking not allowed with invalid track."));var r=e,i=Math.min(n.duration,Math.max(0,n.position+r));return this.seek(i,t)}.bind(this))},h.prototype.seekForward=function(e,t){return this._movePosition(e||15e3,t)},h.prototype.seekBackward=function(e,t){return this._movePosition(-1*(e||15e3),t)},h.prototype.getVolume=function(){return this._streamer?this._streamer.getVolume():-1},h.prototype.getVideoProfiles=function(){return this._streamer.getVideoProfiles()},h.prototype.setPreferredBitrate=function(e){return this._streamer.setPreferredBitrate(e)},h.prototype.setVolume=function(e,t){return this._runOnDevice(t,function(){return this._streamer.setVolume(e)}.bind(this),this._controller.setVolume.bind(this._controller,e))},h.prototype._runOnDevice=function(e,t,n,r){return this._hasFakeState&&!r?this._claimStateAndRun(n):this._isTargetIdLocal(e).then(function(e){return e?this._onStreamerConnect().then(t):n()}.bind(this))},h.prototype._claimStateAndRun=function(e){return this._onStreamerConnect().then(function(){return this._hasFakeState=!1,o.all([this._controller.transfer("@local",{paused:!0}),new o(function(e){this._streamer.once(a.STREAMER_TRACK_LOADED,e)}.bind(this))])}.bind(this)).then(function(){return e()})},h.prototype._generateLocalDeviceInfo=function(e){var t=this._client,n=this._streamer,r=null,i=-1;return this._localPlayerEnabled&&(r=!!e||n.getCurrentState(),i=n.getVolume()),o.all([t.getClientDescriptor(),t.getSDKId(),r,i,this._hidden]).spread(function(e,t,n,r,i){return{hidden:i,id:e.id,is_active:!!n,is_controllable:this._localPlayerEnabled,is_observable:!!this._localPlayerEnabled&&!i,local:!0,metadata:e.metadata||{},name:e.name,type:e.type,version:t,volume:r}}.bind(this))},h.prototype.getDevices=function(){return this._controller.getDevices().then(this._parseDeviceList.bind(this))},h.prototype.setQueue=function(e,t,n){var r=this._controller.setQueue.bind(this._controller,e,t,n);return this._runOnDevice(n,r,r)},h.prototype.addToQueue=function(e,t){var n=this._controller.addToQueue.bind(this._controller,e,t);return this._runOnDevice(t,n,n)},h.prototype.setShuffle=function(e,t){var n=this._controller.setShuffle.bind(this._controller,e,t);return this._runOnDevice(t,n,n)},h.prototype.toggleShuffle=function(e){var t=this._controller.toggleShuffle.bind(this._controller,e);return this._runOnDevice(e,t,t)},h.prototype.setRepeatMode=function(e,t){var n=this._controller.setRepeatMode.bind(this._controller,e,t);return this._runOnDevice(t,n,n)},h.prototype.cycleRepeatMode=function(e){var t=this._controller.cycleRepeatMode.bind(this._controller,e);return this._runOnDevice(e,t,t)},h.prototype.transfer=function(e,t){var n=e||"@local",r=this._controller.transfer.bind(this._controller,n,t);return this._runOnDevice(n,r,r)},e.exports=h}).call(this,n("pCvA"))},NGR8:function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function i(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var u=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=i),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},NQha:function(e,t,n){"use strict";e.exports=n("UBA0")()?Object.keys:n("jwNz")},NS33:function(e,t,n){"use strict";var r=n("E02R");function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},NToG:function(e,t){function n(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.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},NWgQ:function(e,t,n){"use strict";var r=n("X7EK"),i=n("IL7q");function o(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e,t){var n=function(e){var t;switch(e.arrayFormat){case"index":return function(e,n,r){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return function(e,n,r){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};default:return function(e,t,n){void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t=i({arrayFormat:"none"},t)),r=Object.create(null);return"string"!=typeof e?r:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var t=e.replace(/\+/g," ").split("="),i=t.shift(),o=t.length>0?t.join("="):void 0;o=void 0===o?null:decodeURIComponent(o),n(decodeURIComponent(i),o,r)}),Object.keys(r).sort().reduce(function(e,t){var n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort(function(e,t){return Number(e)-Number(t)}).map(function(e){return t[e]}):t}(n):e[t]=n,e},Object.create(null))):r},t.stringify=function(e,t){var n=function(e){switch(e.arrayFormat){case"index":return function(t,n,r){return null===n?[o(t,e),"[",r,"]"].join(""):[o(t,e),"[",o(r,e),"]=",o(n,e)].join("")};case"bracket":return function(t,n){return null===n?o(t,e):[o(t,e),"[]=",o(n,e)].join("")};default:return function(t,n){return null===n?o(t,e):[o(t,e),"=",o(n,e)].join("")}}}(t=i({encode:!0,strict:!0,arrayFormat:"none"},t));return e?Object.keys(e).sort().map(function(r){var i=e[r];if(void 0===i)return"";if(null===i)return o(r,t);if(Array.isArray(i)){var a=[];return i.slice().forEach(function(e){void 0!==e&&a.push(n(r,e,a.length))}),a.join("&")}return o(r,t)+"="+o(i,t)}).filter(function(e){return e.length>0}).join("&"):""}},"NY/1":function(e,t,n){var r=n("qykS").Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(r.isBuffer(e)){for(var t=new Uint8Array(e.length),n=e.length,i=0;i<n;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},NthX:function(e,t,n){e.exports=n("wcNg")},O0QU:function(e,t,n){var r=n("aoi3");e.exports=function e(t,n,i){return r(n)||(i=n||i,n=[]),i=i||{},t instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,t)}(t,n):r(t)?function(t,n,r){for(var i=[],o=0;o<t.length;o++)i.push(e(t[o],n,r).source);return l(new RegExp("(?:"+i.join("|")+")",f(r)),n)}(t,n,i):function(e,t,n){return p(o(e,n),t,n)}(t,n,i)},e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t))},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,s="",l=t&&t.delimiter||"/";null!=(n=i.exec(e));){var f=n[0],p=n[1],h=n.index;if(s+=e.slice(a,h),a=h+f.length,p)s+=p[1];else{var d=e[a],_=n[2],y=n[3],v=n[4],m=n[5],g=n[6],E=n[7];s&&(r.push(s),s="");var b=null!=_&&null!=d&&d!==_,T="+"===g||"*"===g,S="?"===g||"*"===g,R=n[2]||l,w=v||m;r.push({name:y||o++,prefix:_||"",delimiter:R,optional:S,repeat:T,partial:b,asterisk:!!E,pattern:w?c(w):E?".*":"[^"+u(R)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function s(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,i){for(var o="",s=n||{},u=(i||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var l=e[c];if("string"!=typeof l){var f,p=s[l.name];if(null==p){if(l.optional){l.partial&&(o+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(p)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(f=u(p[h]),!t[c].test(f))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===h?l.prefix:l.delimiter)+f}}else{if(f=l.asterisk?encodeURI(p).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}):u(p),!t[c].test(f))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+f+'"');o+=l.prefix+f}}else o+=l}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,t){return e.keys=t,e}function f(e){return e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var i=(n=n||{}).strict,o=!1!==n.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=u(c);else{var p=u(c.prefix),h="(?:"+c.pattern+")";t.push(c),c.repeat&&(h+="(?:"+p+h+")*"),a+=h=c.optional?c.partial?p+"("+h+")?":"(?:"+p+"("+h+"))?":p+"("+h+")"}}var d=u(n.delimiter||"/"),_=a.slice(-d.length)===d;return i||(a=(_?a.slice(0,-d.length):a)+"(?:"+d+"(?=$))?"),a+=o?"$":i&&_?"":"(?="+d+"|$)",l(new RegExp("^"+a,f(n)),t)}},O9Uh:function(e,t,n){"use strict";var r={NULL_VALUE:new function(){},LIST_START:new function(){},LIST_END:new function(){},FORBIDDEN:new function(){}};e.exports=r},OHXD:function(e,t,n){"use strict";var r=n("tImM");function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},OLMR:function(e,t,n){"use strict";e.exports=o;var r=n("+t3Y"),i=n("nrnY");function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=n("wfEq"),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},Od41:function(e,t,n){"use strict";var r=n("LObV");function i(){this._version="1.0.0",this._list=null,this._map=null,this.clear()}i.prototype.clear=function(){this._list=new r,this._map={}},i.prototype.track=function(e,t){var n=this._map[e];n||(n=new r.Node({url:e,segments:0,bandwidths:[]}),this._list.append(n),this._map[e]=n);var i=n.value;i.segments+=1,i.bandwidths.push(t.bandwidth)},i.prototype.toJSON=function(){for(var e=[],t=this._list.first;t;){for(var n=t.value,r=n.bandwidths,i=0,o=r.length;o--;)i+=r[o];e.push({url:n.url,segments:n.segments,avg_bw:parseFloat((i/r.length).toFixed(7))}),t=t.next}return{version:this._version,urls:e}},e.exports=i},OfE8:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("3ZRO"),i=/^[ \t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \t]*$/,o=function(){function e(e,t,n,i){void 0===e&&(e=Object(r.k)()),void 0===t&&(t=Object(r.k)().substring(16)),this._traceId=e,this._spanId=t,this._sampled=n,this._parent=i}return e.prototype.setParent=function(e){return this._parent=e,this},e.prototype.setSampled=function(e){return this._sampled=e,this},e.fromTraceparent=function(t){var n=t.match(i);if(n){var r=void 0;"1"===n[3]?r=!0:"0"===n[3]&&(r=!1);var o=new e(n[1],n[2],r);return new e(n[1],void 0,r,o)}},e.prototype.toTraceparent=function(){var e="";return!0===this._sampled?e="-1":!1===this._sampled&&(e="-0"),this._traceId+"-"+this._spanId+e},e.prototype.toJSON=function(){return{parent:this._parent&&this._parent.toJSON()||void 0,sampled:this._sampled,span_id:this._spanId,trace_id:this._traceId}},e}()},OiND:function(e,t,n){"use strict";(function(t){var r=n("uDox").forTag("transport.intervaltimer"),i=void 0!==t.performance&&"function"==typeof t.performance.now,o=function(){return i?performance.now():Date.now()};function a(e,t,n){this._name=e,this._id=t,this._logger=n,this._intervals={}}a.prototype.start=function(e){e in this._intervals&&r.warn("Overriding already started interval"),this._intervals[e]={start:o(),end:null}},a.prototype.end=function(e){e in this._intervals&&!this._intervals[e].end?this._intervals[e].end=o():r.warn("Tried to end an invalid interval")},a.prototype.getIntervals=function(){return this._intervals},a.prototype.sendLog=function(){var e={name:this._name,id:this._id,intervals:this._intervals},t=this.clear.bind(this);return this._logger.logJSSDKIntervalTimer(e).then(t,t)},a.prototype.clear=function(){return this._intervals={},this},a.create=function(e,t,n){return new a(e,t,n)},e.exports=a}).call(this,n("pCvA"))},OlH2:function(e,t,n){"use strict";var r=n("vdEC");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("nLrc"));window&&window.shaka&&window.shaka.Player&&(i=window.shaka);var o=i;t.default=o},OmE2:function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},Ono3:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},Oo57:function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag",c="object"==typeof e,l=t.regeneratorRuntime;if(l)c&&(e.exports=l);else{(l=t.regeneratorRuntime=c?e.exports:{}).wrap=E;var f="suspendedStart",p="suspendedYield",h="executing",d="completed",_={},y={};y[a]=function(){return this};var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==r&&i.call(m,a)&&(y=m);var g=R.prototype=T.prototype=Object.create(y);S.prototype=g.constructor=R,R.constructor=S,R[u]=S.displayName="GeneratorFunction",l.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},l.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,R):(e.__proto__=R,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(g),e},l.awrap=function(e){return{__await:e}},w(O.prototype),O.prototype[s]=function(){return this},l.AsyncIterator=O,l.async=function(e,t,n,r){var i=new O(E(e,t,n,r));return l.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},w(g),g[u]="Generator",g[a]=function(){return this},g.toString=function(){return"[object Generator]"},l.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(N),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),_}}}function E(e,t,n,r){var i=t&&t.prototype instanceof T?t:T,o=Object.create(i.prototype),a=new C(r||[]);return o._invoke=function(e,t,n){var r=f;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return L()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=A(a,n);if(s){if(s===_)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=b(e,t,n);if("normal"===u.type){if(r=n.done?d:p,u.arg===_)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function b(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function T(){}function S(){}function R(){}function w(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function O(e){var t;this._invoke=function(n,r){function o(){return new Promise(function(t,o){!function t(n,r,o,a){var s=b(e[n],e,r);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(c).then(function(e){u.value=e,o(u)},a)}a(s.arg)}(n,r,t,o)})}return t=t?t.then(o,o):o()}}function A(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,A(e,t),"throw"===t.method))return _;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var i=b(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,_;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,_):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,_)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function P(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:L}}function L(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},OvAC:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},OwjE:function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.createTransport=m,t.default=t.FetchType=t.RefreshFlag=void 0;var i,o,a=r(n("4z+8")),s=n("cifS"),u=n("1tZG"),c=n("sJ0o"),l=r(n("CqI6")),f=n("n3pV"),p=function(){return(p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},h=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},d=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},y="https://spclient.wg.spotify.com",v={"App-Platform":"browser","Spotify-App-Version":"1.0.0"};function m(e){var t=(0,a.default)({providers:{token:u.TokenProvider.toPromiseProvider(e),endpoints:function(){return Promise.resolve({webgate:y})}}});return t.once(c.Event.TRANSPORT_CONNECTED,function(){t.authenticate()}),t.connect(),t}t.RefreshFlag=i,function(e){e[e.NONE=0]="NONE",e[e.TRANSPORT=1]="TRANSPORT",e[e.EVENT_SENDER=2]="EVENT_SENDER"}(i||(t.RefreshFlag=i={})),t.FetchType=o,function(e){e.BACKGROUND_SYNC="background_sync",e.BLOCKING="blocking",e.DELAYED="delayed"}(o||(t.FetchType=o={}));var g=function(){function e(e){var t=e.getToken,n=e.transport,r=e.eventSender,o=_(e,["getToken","transport","eventSender"]);if(this.refreshFlag=i.NONE,!n){if(!t)throw new Error("Either transport or getToken must be provided");n=m(t),this.refreshFlag|=i.TRANSPORT}r||(r=l.default.create({transport:n}),this.refreshFlag|=i.EVENT_SENDER),this.transport=n,this.eventSender=r,this.clientConfig=o}return e.prototype.resolveConfig=function(e){var t=e.timeout,n=void 0!==t&&t,r=e.propertySetKey,i=e.fetchType,o=this.clientConfig,a="/v2/configs/platforms/web/clients/"+o.clientId+"/property-sets/"+r+"?installation-id="+o.installationId;return i&&(a+="&fetch-type="+i),this.request(a,{method:"GET",timeout:n}).then(function(e){var t=e.properties,n=void 0===t?[]:t,r=e.rcsFetchTime,i=void 0===r?"":r;return{configurationAssignmentId:e.configurationAssignmentId,properties:(0,s.propertyMapFromResolved)(n),rcsFetchTime:i,clientFetchTime:Date.now()}})},e.prototype.configApplied=function(e,t,n,r){return h(this,void 0,void 0,function(){return d(this,function(i){switch(i.label){case 0:return[4,Promise.all([this.pingbackConfigApplied(e,t,n,r),this.instrumentConfigApplied(t,n.map(Number),r)])];case 1:return i.sent(),[2]}})})},e.prototype.pingbackConfigApplied=function(e,t,n,r){var i=this.clientConfig,o="/v1/config-applied/platforms/web/clients/"+i.clientId+"/property-sets/"+e+"?installation-id="+i.installationId;return this.request(o,{method:"POST",payload:{lastRcsFetchTime:r,policyGroupIds:n,configurationAssignmentId:t}})},e.prototype.instrumentConfigApplied=function(e,t,n){return h(this,void 0,void 0,function(){var r,i,o;return d(this,function(a){switch(a.label){case 0:return r=this.clientConfig,i=r.clientId,o=r.installationId,this.eventSender.log((0,f.createConfigurationAppliedEvent)({rc_client_id:i,installation_id:o,configuration_assignment_id:e,policy_group_ids:t,last_rcs_fetch_time:n,platform:"WEB"}),!1),[4,this.eventSender.flush()];case 1:return a.sent(),[2]}})})},e.prototype.defaultConfigApplied=function(e,t){return h(this,void 0,void 0,function(){return d(this,function(n){switch(n.label){case 0:return[4,Promise.all([this.pingbackDefaultConfigApplied(e,t),this.instrumentDefaultConfigApplied(t)])];case 1:return n.sent(),[2]}})})},e.prototype.pingbackDefaultConfigApplied=function(e,t){return h(this,void 0,void 0,function(){var n,r,i,o;return d(this,function(a){switch(a.label){case 0:return n=this.clientConfig,r=n.clientId,i=n.installationId,o="/v1/default-config-applied/platforms/web/clients/"+r+"/property-sets/"+e+"?installation-id="+i,[4,this.request(o,{method:"POST",payload:{configurationAssignmentId:t}})];case 1:return a.sent(),[2]}})})},e.prototype.instrumentDefaultConfigApplied=function(e){return h(this,void 0,void 0,function(){var t,n,r;return d(this,function(i){switch(i.label){case 0:return t=this.clientConfig,n=t.clientId,r=t.installationId,this.eventSender.log((0,f.createDefaultConfigurationAppliedEvent)({rc_client_id:n,installation_id:r,configuration_assignment_id:e}),!1),[4,this.eventSender.flush()];case 1:return i.sent(),[2]}})})},e.prototype.refresh=function(){return h(this,void 0,void 0,function(){var e;return d(this,function(t){switch(t.label){case 0:if(e=i.NONE,!(this.refreshFlag&i.EVENT_SENDER))return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.eventSender.flush()];case 2:return t.sent(),e|=i.EVENT_SENDER,[3,4];case 3:return t.sent(),[3,4];case 4:if(!(this.refreshFlag&i.TRANSPORT))return[3,8];t.label=5;case 5:return t.trys.push([5,7,,8]),[4,this.transport.forceTokenRefresh()];case 6:return t.sent(),e|=i.TRANSPORT,[3,8];case 7:return t.sent(),[3,8];case 8:return[2,e]}})})},e.prototype.request=function(e,t){var n=t.method,r=t.payload,i=t.timeout,o=void 0!==i&&i,a=t.retries,s=void 0===a?5:a,u={method:n,headers:p({},v),responseType:"json",rejectNotOk:!0,retry:{maxRetries:s}};return r&&(u.payload=JSON.stringify(r),u.headers["Content-Type"]="application/json"),function(e,t,n){return void 0===n&&(n=new Error("Timeout")),!1===t||t<0?e:Promise.race([e,new Promise(function(e,r){setTimeout(function(){r(n)},t)})])}(this.transport.request("@webgate/remote-config-resolver"+e,u).then(function(e){return e.body}),o,new Error("RcsClient request timeout"))},e}();t.default=g},P1TA:function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({CONNECTION_ONLINE:"online",CONNECTION_OFFLINE:"offline",DEALER_AUTHENTICATED:"authenticated",DEALER_AUTHENTICATION_FAILED:"authentication_failed",DEALER_CONNECTED:"connected",DEALER_CONNECTION_ID:"connection_id",DEALER_ERROR:"error",DEALER_DISCONNECTED:"disconnected",DEALER_MESSAGE:"message",DEALER_REQUEST:"request",INTERNAL_DEALER_MESSAGE:"__dealer_message",INTERNAL_DEALER_REQUEST:"__dealer_request",PRODUCT_STATE_CHANGED:"product_state_changed",TRANSPORT_ACCESS_TOKEN:"access_token",TRANSPORT_AUTHENTICATED:"authenticated",TRANSPORT_AUTHENTICATION_FAILED:"authentication_failed",TRANSPORT_BEFORE_OFFLINE_DISCONNECT:"before_offline_disconnect",TRANSPORT_BEFORE_ONLINE_DISCONNECT:"before_online_disconnect",TRANSPORT_CONNECTED:"connected",TRANSPORT_CONNECTION_ERROR:"connection_error",TRANSPORT_CONNECTION_FAILED:"connection_failed",TRANSPORT_CONNECTION_ID:"connection_id",TRANSPORT_CONNECTION_OFFLINE:"connection_offline",TRANSPORT_CONNECTION_ONLINE:"connection_online",TRANSPORT_DEALER_MESSAGE:"dealer_message",TRANSPORT_DISCONNECTED:"disconnected",TRANSPORT_ENDPOINTS_RESOLVED:"endpoints_resolved",TRANSPORT_LOGGED_OUT:"logged_out",TRANSPORT_SHORT_SESSION_DISCONNECTED:"short_session_disconnected",TRANSPORT_RECONNECTED:"reconnected",TRANSPORT_RECONNECTING:"reconnecting",WINDOW_BEFORE_UNLOAD:"beforeunload"})},"PBt+":function(e,t,n){"use strict";var r=n("ZQMo").supportsDescriptors,i=n("hP7U"),o=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,u=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!r||!u)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=i(),t=u(c),n=o(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},PCPI:function(e,t,n){"use strict";var r=n("/ub/"),i={generate:function(e){for(var t="",n=0;n<e;n++)t+=String.fromCharCode(256*Math.random()|0);return t},generateBase64:function(e){return r.encode(i.generate(e))}};e.exports=i},PCVr:function(e,t,n){"use strict";var r=n("PQZM"),i=n("qG8n"),o=n("GX8z"),a=n("s2Nl"),s=n("f1wx");function u(e){i.call(this),this.request=e.request.bind(e),this.getConnectionId=e.getConnectionId.bind(e),this.getEndpoints=e.getEndpoints.bind(e),this.getInitTime=e.getInitTime.bind(e),this.getLastToken=e.getLastToken.bind(e),this.matchMessages=e.matchMessages.bind(e),this.handlePushRequests=e.handlePushRequests.bind(e),this.proxyEmit(e,o.TRANSPORT_ACCESS_TOKEN,this.EVENT_ACCESS_TOKEN),this.proxyEmit(e,o.TRANSPORT_CONNECTION_OFFLINE,this.EVENT_CONNECTION_OFFLINE),this.proxyEmit(e,o.TRANSPORT_CONNECTION_ONLINE,this.EVENT_CONNECTION_ONLINE),this.proxyEmit(e,o.TRANSPORT_ENDPOINTS_RESOLVED,this.EVENT_ENDPOINTS_RESOLVED),this.onAddListener(this.EVENT_CONNECTION_ID,this._onAddConnectionIdListener.bind(this,this.on.bind(e))),this.onRemoveListener(this.EVENT_CONNECTION_ID,this._onRemoveConnectionIdListener.bind(this,this.removeListener.bind(e)))}r(u,i),u.prototype.EVENT_ACCESS_TOKEN="access_token",u.prototype.EVENT_CONNECTION_ID="connection_id",u.prototype.EVENT_CONNECTION_OFFLINE="connection_offline",u.prototype.EVENT_CONNECTION_ONLINE="connection_online",u.prototype.EVENT_ENDPOINTS_RESOLVED="endpoints_resolved",u.prototype.StatusCode=a,u.prototype.StatusFamily=s,u.prototype._onAddConnectionIdListener=function(e,t){t.preventDefault();var n=this.EVENT_CONNECTION_ID,r=t.listener,a=function(e){r.call(this,i.createEvent(n,e))}.bind(this);r.$proxy_wrapper=a,e(o.TRANSPORT_CONNECTION_ID,a,t.options)},u.prototype._onRemoveConnectionIdListener=function(e,t){t.preventDefault(),t.listener.$proxy_wrapper&&e(o.TRANSPORT_CONNECTION_ID,t.listener.$proxy_wrapper,t.options)},e.exports=u},PE9J:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}},PQZM:function(e,t,n){"use strict";e.exports=function(e,t){var n=t.prototype;function r(){}r.prototype=e._super=n,e.prototype=new r,e.prototype.constructor=e}},"Pe5/":function(e,t,n){"use strict";var r=n("vdEC");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.RCResolverProperty=t.RCPublishIntSpec=t.RCPublishBoolSpec=t.RCPublishEnumSpec=t.RCPublishProperty=t.RCProperties=void 0;var i=r(n("ZCJg")),o=i.iface([],{version:"string",properties:i.array("RCPublishProperty")});t.RCProperties=o;var a=i.iface([],{name:"string",description:"string",componentId:i.opt("string"),enumSpec:i.opt("RCPublishEnumSpec"),boolSpec:i.opt("RCPublishBoolSpec"),intSpec:i.opt("RCPublishIntSpec")});t.RCPublishProperty=a;var s=i.iface([],{default:"string",values:i.array("string")});t.RCPublishEnumSpec=s;var u=i.iface([],{default:"boolean"});t.RCPublishBoolSpec=u;var c=i.iface([],{default:"number",lower:"number",upper:"number"});t.RCPublishIntSpec=c;var l=i.iface([],{name:"string",groupId:i.opt("string"),clientId:i.opt("string"),boolValue:i.opt(i.iface([],{value:"boolean"})),intValue:i.opt(i.iface([],{value:"number"})),enumValue:i.opt(i.iface([],{value:"string"}))});t.RCResolverProperty=l;var f={RCProperties:o,RCPublishProperty:a,RCPublishEnumSpec:s,RCPublishBoolSpec:u,RCPublishIntSpec:c,RCResolverProperty:l};t.default=f},"PoH+":function(e,t,n){(function(e,n){var r;!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},o=i._,a=Array.prototype,s=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,f=s.toString,p=s.hasOwnProperty,h=Array.isArray,d=Object.keys,_=Object.create,y=function(){},v=function(e){return e instanceof v?e:this instanceof v?void(this._wrapped=e):new v(e)};t.nodeType?i._=v:(!n.nodeType&&n.exports&&(t=n.exports=v),t._=v),v.VERSION="1.9.1";var m,g=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}},E=function(e,t,n){return v.iteratee!==m?v.iteratee(e,t):null==e?v.identity:v.isFunction(e)?g(e,t,n):v.isObject(e)&&!v.isArray(e)?v.matcher(e):v.property(e)};v.iteratee=m=function(e,t){return E(e,t,1/0)};var b=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=r,e.apply(this,o)}},T=function(e){if(!v.isObject(e))return{};if(_)return _(e);y.prototype=e;var t=new y;return y.prototype=null,t},S=function(e){return function(t){return null==t?void 0:t[e]}},R=function(e,t){return null!=e&&p.call(e,t)},w=function(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0},O=Math.pow(2,53)-1,A=S("length"),I=function(e){var t=A(e);return"number"==typeof t&&t>=0&&t<=O};v.each=v.forEach=function(e,t,n){var r,i;if(t=g(t,n),I(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=v.keys(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e},v.map=v.collect=function(e,t,n){t=E(t,n);for(var r=!I(e)&&v.keys(e),i=(r||e).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return o};var N=function(e){var t=function(t,n,r,i){var o=!I(t)&&v.keys(t),a=(o||t).length,s=e>0?0:a-1;for(i||(r=t[o?o[s]:s],s+=e);s>=0&&s<a;s+=e){var u=o?o[s]:s;r=n(r,t[u],u,t)}return r};return function(e,n,r,i){var o=arguments.length>=3;return t(e,g(n,i,4),r,o)}};v.reduce=v.foldl=v.inject=N(1),v.reduceRight=v.foldr=N(-1),v.find=v.detect=function(e,t,n){var r=(I(e)?v.findIndex:v.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},v.filter=v.select=function(e,t,n){var r=[];return t=E(t,n),v.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},v.reject=function(e,t,n){return v.filter(e,v.negate(E(t)),n)},v.every=v.all=function(e,t,n){t=E(t,n);for(var r=!I(e)&&v.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(!t(e[a],a,e))return!1}return!0},v.some=v.any=function(e,t,n){t=E(t,n);for(var r=!I(e)&&v.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(t(e[a],a,e))return!0}return!1},v.contains=v.includes=v.include=function(e,t,n,r){return I(e)||(e=v.values(e)),("number"!=typeof n||r)&&(n=0),v.indexOf(e,t,n)>=0},v.invoke=b(function(e,t,n){var r,i;return v.isFunction(t)?i=t:v.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),v.map(e,function(e){var o=i;if(!o){if(r&&r.length&&(e=w(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)})}),v.pluck=function(e,t){return v.map(e,v.property(t))},v.where=function(e,t){return v.filter(e,v.matcher(t))},v.findWhere=function(e,t){return v.find(e,v.matcher(t))},v.max=function(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=I(e)?e:v.values(e)).length;s<u;s++)null!=(r=e[s])&&r>o&&(o=r);else t=E(t,n),v.each(e,function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)});return o},v.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,u=(e=I(e)?e:v.values(e)).length;s<u;s++)null!=(r=e[s])&&r<o&&(o=r);else t=E(t,n),v.each(e,function(e,n,r){((i=t(e,n,r))<a||i===1/0&&o===1/0)&&(o=e,a=i)});return o},v.shuffle=function(e){return v.sample(e,1/0)},v.sample=function(e,t,n){if(null==t||n)return I(e)||(e=v.values(e)),e[v.random(e.length-1)];var r=I(e)?v.clone(e):v.values(e),i=A(r);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var s=v.random(a,o),u=r[a];r[a]=r[s],r[s]=u}return r.slice(0,t)},v.sortBy=function(e,t,n){var r=0;return t=E(t,n),v.pluck(v.map(e,function(e,n,i){return{value:e,index:r++,criteria:t(e,n,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")};var C=function(e,t){return function(n,r,i){var o=t?[[],[]]:{};return r=E(r,i),v.each(n,function(t,i){var a=r(t,i,n);e(o,t,a)}),o}};v.groupBy=C(function(e,t,n){R(e,n)?e[n].push(t):e[n]=[t]}),v.indexBy=C(function(e,t,n){e[n]=t}),v.countBy=C(function(e,t,n){R(e,n)?e[n]++:e[n]=1});var P=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;v.toArray=function(e){return e?v.isArray(e)?l.call(e):v.isString(e)?e.match(P):I(e)?v.map(e,v.identity):v.values(e):[]},v.size=function(e){return null==e?0:I(e)?e.length:v.keys(e).length},v.partition=C(function(e,t,n){e[n?0:1].push(t)},!0),v.first=v.head=v.take=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:v.initial(e,e.length-t)},v.initial=function(e,t,n){return l.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},v.last=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:v.rest(e,Math.max(0,e.length-t))},v.rest=v.tail=v.drop=function(e,t,n){return l.call(e,null==t||n?1:t)},v.compact=function(e){return v.filter(e,Boolean)};var L=function(e,t,n,r){for(var i=(r=r||[]).length,o=0,a=A(e);o<a;o++){var s=e[o];if(I(s)&&(v.isArray(s)||v.isArguments(s)))if(t)for(var u=0,c=s.length;u<c;)r[i++]=s[u++];else L(s,t,n,r),i=r.length;else n||(r[i++]=s)}return r};v.flatten=function(e,t){return L(e,t,!1)},v.without=b(function(e,t){return v.difference(e,t)}),v.uniq=v.unique=function(e,t,n,r){v.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=E(n,r));for(var i=[],o=[],a=0,s=A(e);a<s;a++){var u=e[a],c=n?n(u,a,e):u;t&&!n?(a&&o===c||i.push(u),o=c):n?v.contains(o,c)||(o.push(c),i.push(u)):v.contains(i,u)||i.push(u)}return i},v.union=b(function(e){return v.uniq(L(e,!0,!0))}),v.intersection=function(e){for(var t=[],n=arguments.length,r=0,i=A(e);r<i;r++){var o=e[r];if(!v.contains(t,o)){var a;for(a=1;a<n&&v.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},v.difference=b(function(e,t){return t=L(t,!0,!0),v.filter(e,function(e){return!v.contains(t,e)})}),v.unzip=function(e){for(var t=e&&v.max(e,A).length||0,n=Array(t),r=0;r<t;r++)n[r]=v.pluck(e,r);return n},v.zip=b(v.unzip),v.object=function(e,t){for(var n={},r=0,i=A(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n};var k=function(e){return function(t,n,r){n=E(n,r);for(var i=A(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}};v.findIndex=k(1),v.findLastIndex=k(-1),v.sortedIndex=function(e,t,n,r){for(var i=(n=E(n,r,1))(t),o=0,a=A(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<i?o=s+1:a=s}return o};var D=function(e,t,n){return function(r,i,o){var a=0,s=A(r);if("number"==typeof o)e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(l.call(r,a,s),v.isNaN))>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(r[o]===i)return o;return-1}};v.indexOf=D(1,v.findIndex,v.sortedIndex),v.lastIndexOf=D(-1,v.findLastIndex),v.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),o=0;o<r;o++,e+=n)i[o]=e;return i},v.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(l.call(e,r,r+=t));return n};var x=function(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=T(e.prototype),a=e.apply(o,i);return v.isObject(a)?a:o};v.bind=b(function(e,t,n){if(!v.isFunction(e))throw new TypeError("Bind must be called on a function");var r=b(function(i){return x(e,r,t,this,n.concat(i))});return r}),v.partial=b(function(e,t){var n=v.partial.placeholder,r=function(){for(var i=0,o=t.length,a=Array(o),s=0;s<o;s++)a[s]=t[s]===n?arguments[i++]:t[s];for(;i<arguments.length;)a.push(arguments[i++]);return x(e,r,this,this,a)};return r}),v.partial.placeholder=v,v.bindAll=b(function(e,t){var n=(t=L(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=v.bind(e[r],e)}}),v.memoize=function(e,t){var n=function(r){var i=n.cache,o=""+(t?t.apply(this,arguments):r);return R(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n},v.delay=b(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),v.defer=v.partial(v.delay,v,1),v.throttle=function(e,t,n){var r,i,o,a,s=0;n||(n={});var u=function(){s=!1===n.leading?0:v.now(),r=null,a=e.apply(i,o),r||(i=o=null)},c=function(){var c=v.now();s||!1!==n.leading||(s=c);var l=t-(c-s);return i=this,o=arguments,l<=0||l>t?(r&&(clearTimeout(r),r=null),s=c,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,l)),a};return c.cancel=function(){clearTimeout(r),s=0,r=i=o=null},c},v.debounce=function(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},a=b(function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(o,t),s&&(i=e.apply(this,a))}else r=v.delay(o,t,this,a);return i});return a.cancel=function(){clearTimeout(r),r=null},a},v.wrap=function(e,t){return v.partial(t,e)},v.negate=function(e){return function(){return!e.apply(this,arguments)}},v.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},v.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},v.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},v.once=v.partial(v.before,2),v.restArguments=b;var M=!{toString:null}.propertyIsEnumerable("toString"),U=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],F=function(e,t){var n=U.length,r=e.constructor,i=v.isFunction(r)&&r.prototype||s,o="constructor";for(R(e,o)&&!v.contains(t,o)&&t.push(o);n--;)(o=U[n])in e&&e[o]!==i[o]&&!v.contains(t,o)&&t.push(o)};v.keys=function(e){if(!v.isObject(e))return[];if(d)return d(e);var t=[];for(var n in e)R(e,n)&&t.push(n);return M&&F(e,t),t},v.allKeys=function(e){if(!v.isObject(e))return[];var t=[];for(var n in e)t.push(n);return M&&F(e,t),t},v.values=function(e){for(var t=v.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r},v.mapObject=function(e,t,n){t=E(t,n);for(var r=v.keys(e),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=t(e[s],s,e)}return o},v.pairs=function(e){for(var t=v.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},v.invert=function(e){for(var t={},n=v.keys(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},v.functions=v.methods=function(e){var t=[];for(var n in e)v.isFunction(e[n])&&t.push(n);return t.sort()};var j=function(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=e(o),s=a.length,u=0;u<s;u++){var c=a[u];t&&void 0!==n[c]||(n[c]=o[c])}return n}};v.extend=j(v.allKeys),v.extendOwn=v.assign=j(v.keys),v.findKey=function(e,t,n){t=E(t,n);for(var r,i=v.keys(e),o=0,a=i.length;o<a;o++)if(t(e[r=i[o]],r,e))return r};var B,V,G=function(e,t,n){return t in n};v.pick=b(function(e,t){var n={},r=t[0];if(null==e)return n;v.isFunction(r)?(t.length>1&&(r=g(r,t[1])),t=v.allKeys(e)):(r=G,t=L(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e[a];r(s,a,e)&&(n[a]=s)}return n}),v.omit=b(function(e,t){var n,r=t[0];return v.isFunction(r)?(r=v.negate(r),t.length>1&&(n=t[1])):(t=v.map(L(t,!1,!1),String),r=function(e,n){return!v.contains(t,n)}),v.pick(e,r,n)}),v.defaults=j(v.allKeys,!0),v.create=function(e,t){var n=T(e);return t&&v.extendOwn(n,t),n},v.clone=function(e){return v.isObject(e)?v.isArray(e)?e.slice():v.extend({},e):e},v.tap=function(e,t){return t(e),e},v.isMatch=function(e,t){var n=v.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o<r;o++){var a=n[o];if(t[a]!==i[a]||!(a in i))return!1}return!0},B=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;return("function"===i||"object"===i||"object"==typeof t)&&V(e,t,n,r)},V=function(e,t,n,r){e instanceof v&&(e=e._wrapped),t instanceof v&&(t=t._wrapped);var i=f.call(e);if(i!==f.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return u.valueOf.call(e)===u.valueOf.call(t)}var o="[object Array]"===i;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(v.isFunction(a)&&a instanceof a&&v.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var c=(n=n||[]).length;c--;)if(n[c]===e)return r[c]===t;if(n.push(e),r.push(t),o){if((c=e.length)!==t.length)return!1;for(;c--;)if(!B(e[c],t[c],n,r))return!1}else{var l,p=v.keys(e);if(c=p.length,v.keys(t).length!==c)return!1;for(;c--;)if(l=p[c],!R(t,l)||!B(e[l],t[l],n,r))return!1}return n.pop(),r.pop(),!0},v.isEqual=function(e,t){return B(e,t)},v.isEmpty=function(e){return null==e||(I(e)&&(v.isArray(e)||v.isString(e)||v.isArguments(e))?0===e.length:0===v.keys(e).length)},v.isElement=function(e){return!(!e||1!==e.nodeType)},v.isArray=h||function(e){return"[object Array]"===f.call(e)},v.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},v.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){v["is"+e]=function(t){return f.call(t)==="[object "+e+"]"}}),v.isArguments(arguments)||(v.isArguments=function(e){return R(e,"callee")});var W=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof W&&(v.isFunction=function(e){return"function"==typeof e||!1}),v.isFinite=function(e){return!v.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},v.isNaN=function(e){return v.isNumber(e)&&isNaN(e)},v.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===f.call(e)},v.isNull=function(e){return null===e},v.isUndefined=function(e){return void 0===e},v.has=function(e,t){if(!v.isArray(t))return R(e,t);for(var n=t.length,r=0;r<n;r++){var i=t[r];if(null==e||!p.call(e,i))return!1;e=e[i]}return!!n},v.noConflict=function(){return i._=o,this},v.identity=function(e){return e},v.constant=function(e){return function(){return e}},v.noop=function(){},v.property=function(e){return v.isArray(e)?function(t){return w(t,e)}:S(e)},v.propertyOf=function(e){return null==e?function(){}:function(t){return v.isArray(t)?w(e,t):e[t]}},v.matcher=v.matches=function(e){return e=v.extendOwn({},e),function(t){return v.isMatch(t,e)}},v.times=function(e,t,n){var r=Array(Math.max(0,e));t=g(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},v.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},v.now=Date.now||function(){return(new Date).getTime()};var H={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},K=v.invert(H),q=function(e){var t=function(t){return e[t]},n="(?:"+v.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};v.escape=q(H),v.unescape=q(K),v.result=function(e,t,n){v.isArray(t)||(t=[t]);var r=t.length;if(!r)return v.isFunction(n)?n.call(e):n;for(var i=0;i<r;i++){var o=null==e?void 0:e[t[i]];void 0===o&&(o=n,i=r),e=v.isFunction(o)?o.call(e):o}return e};var Y=0;v.uniqueId=function(e){var t=++Y+"";return e?e+t:t},v.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var z=/(.)^/,X={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Q=/\\|'|\r|\n|\u2028|\u2029/g,J=function(e){return"\\"+X[e]};v.template=function(e,t,n){!t&&n&&(t=n),t=v.defaults({},t,v.templateSettings);var r,i=RegExp([(t.escape||z).source,(t.interpolate||z).source,(t.evaluate||z).source].join("|")+"|$","g"),o=0,a="__p+='";e.replace(i,function(t,n,r,i,s){return a+=e.slice(o,s).replace(Q,J),o=s+t.length,n?a+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t}),a+="';\n",t.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return r.call(this,e,v)},u=t.variable||"obj";return s.source="function("+u+"){\n"+a+"}",s},v.chain=function(e){var t=v(e);return t._chain=!0,t};var $=function(e,t){return e._chain?v(t).chain():t};v.mixin=function(e){return v.each(v.functions(e),function(t){var n=v[t]=e[t];v.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),$(this,n.apply(v,e))}}),v},v.mixin(v),v.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=a[e];v.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],$(this,n)}}),v.each(["concat","join","slice"],function(e){var t=a[e];v.prototype[e]=function(){return $(this,t.apply(this._wrapped,arguments))}}),v.prototype.value=function(){return this._wrapped},v.prototype.valueOf=v.prototype.toJSON=v.prototype.value,v.prototype.toString=function(){return String(this._wrapped)},void 0===(r=function(){return v}.apply(t,[]))||(n.exports=r)}()}).call(this,n("pCvA"),n("RoC8")(e))},Pt2R:function(e,t,n){"use strict";var r=n("I1bA"),i=n("kSI5"),o=n("si8C"),a=n("7jSL");(e.exports=function(e,t){var n,o,s,u,c;return arguments.length<2||"string"!=typeof e?(u=t,t=e,e=null):u=arguments[2],null==e?(n=s=!0,o=!1):(n=a.call(e,"c"),o=a.call(e,"e"),s=a.call(e,"w")),c={value:t,configurable:n,enumerable:o,writable:s},u?r(i(u),c):c}).gs=function(e,t,n){var s,u,c,l;return"string"!=typeof e?(c=n,n=t,t=e,e=null):c=arguments[3],null==t?t=void 0:o(t)?null==n?n=void 0:o(n)||(c=n,n=void 0):(c=t,t=n=void 0),null==e?(s=!0,u=!1):(s=a.call(e,"c"),u=a.call(e,"e")),l={get:t,set:n,configurable:s,enumerable:u},c?r(i(c),l):l}},PyhZ:function(e,t,n){"use strict";var r=n("/ub/");e.exports=function(e){if(!e||e.length%2!=0)throw new TypeError("Invalid clientId value.");var t=e.match(/[0-9a-f]{2}?/g);if(!t||!t.length)throw new TypeError("Invalid clientId value.");var n=String.fromCharCode.apply(null,t.map(function(e){return parseInt(e,16)})),i=r.encode(n);return function(){return{name:"context_client_id",data:{value:i}}}}},Q0s3:function(e,t,n){"use strict";var r=n("jnqd");e.exports=r({WINDOW_BEFORE_UNLOAD:"beforeunload",CLIENT_AUTHENTICATED:"authenticated",CLIENT_AUTHENTICATION_ERROR:"authentication_error",CLIENT_BEFORE_DISCONNECT:"before_disconnect",CLIENT_BEFORE_OFFLINE_DISCONNECT:"before_offline_disconnect",CLIENT_CONNECTED:"connected",CLIENT_CONNECTION_ERROR:"connection_error",CLIENT_DEVICE_DESCRIPTOR_CHANGED:"descriptor_changed",CLIENT_ERROR:"error",CLIENT_LOGGED_OUT:"logged_out",CLIENT_PRODUCT_STATE_CHANGED:"product_state_changed",CLIENT_RECONNECTED:"reconnected",CLIENT_RECONNECTING:"reconnecting",CLIENT_UNRECOVERABLE_FAILURE:"unrecoverable_failure",CONNECT_API_DEREGISTERED:"deregistered",CONNECT_API_DEVICE_STATE_CHANGED:"device_state_changed",CONNECT_API_DEVICES_CHANGED:"devices_changed",CONNECT_API_MAX_SUBSCRIPTIONS_REACHED:"max_subscriptions_reached",CONNECT_API_PLAYER_STATE_CHANGED:"player_state_changed",CONNECT_API_REGISTERED:"registered",CONTROLLER_DEREGISTERED:"deregistered",CONTROLLER_DEVICES_CHANGED:"devices_changed",CONTROLLER_DEVICE_INFO_CHANGED:"device_info_changed",CONTROLLER_MAX_SUBSCRIPTIONS_REACHED:"max_subscriptions_reached",CONTROLLER_PROGRESS:"progress",CONTROLLER_REGISTERED:"registered",CONTROLLER_STATE_CHANGED:"state_changed",DEVICE_DESCRIPTOR_CHANGED:"descriptor_changed",STREAMER_AUTOPLAY_FAILED:"autoplay_failed",STREAMER_BEFORE_VOLUME_CHANGE:"before_volume_change",STREAMER_BUFFERING_END:"buffering_end",STREAMER_BUFFERING_START:"buffering_start",STREAMER_CONTEXT_ENDED:"context_ended",STREAMER_DEREGISTERED:"deregistered",STREAMER_DEVICE_INFO_CHANGED:"device_info_changed",STREAMER_DURATION_CHANGED:"duration_changed",STREAMER_ERROR:"error",STREAMER_LOAD_VIDEO:"load_video",STREAMER_LOGGED_OUT:"logged_out",STREAMER_MAX_LIST_ERRORS_REACHED:"max_list_errors_reached",STREAMER_MAX_SUBSCRIPTIONS_REACHED:"max_subscriptions_reached",STREAMER_PLAYBACK_CAPPED:"playback_capped",STREAMER_PLAYER_INITIALIZATION_DONE:"player_initialization_done",STREAMER_PLAYER_INITIALIZATION_FAILED:"player_initialization_failed",STREAMER_POSITION_CHANGED:"position_changed",STREAMER_PROGRESS:"progress",STREAMER_REGISTERED:"registered",STREAMER_REGISTRATION_ABORTED:"registration_aborted",STREAMER_REGISTRATION_ERROR:"registration_error",STREAMER_REGISTRATION_UPDATED:"registration_updated",STREAMER_STATE_CHANGED:"state_changed",STREAMER_STOPPED_VIDEO:"stopped_video",STREAMER_TRACK_LOADED:"track_loaded",STREAMER_TRACK_ENDED:"track_ended",STREAMER_VIDEO_ELEMENT_APPENDED:"video_element_appended",STREAMER_VIDEO_ELEMENT_REMOVED:"video_element_removed",PLAYBACK_STATE_OBSERVER_STATE_CHANGED:"state_changed",PRODUCT_STATE_OBSERVER_PRODUCT_STATE_CHANGED:"product_state_changed",TP_API_DEVICE_UPDATED:"device_updated",TP_API_DEREGISTERED:"deregistered",TP_API_ERROR:"error",TP_API_LOGOUT:"logout",TP_API_MAX_SUBSCRIPTIONS_REACHED:"max_subscriptions_reached",TP_API_READY:"ready",TP_API_REGISTERED:"registered",TP_API_REGISTRATION_ABORTED:"registration_aborted",TP_API_REGISTRATION_UPDATED:"registration_updated",TP_API_STATE_CHANGED:"state_changed",TP_API_STATE_CLEARED:"state_cleared"})},QJbc:function(e,t,n){"use strict";var r=n("NQha"),i=n("IBm/"),o=Math.max;e.exports=function(e,t){var n,a,s,u=o(arguments.length,2);for(e=Object(i(e)),s=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},a=1;a<u;++a)t=arguments[a],r(t).forEach(s);if(void 0!==n)throw n;return e}},QO3r:function(e,t,n){"use strict";e.exports=n("ikOk")},QORg:function(e,t,n){"use strict";var r,i,o,a,s=n("Pt2R"),u=n("EMG7"),c=Object.create,l=Object.defineProperties,f=Object.defineProperty,p=Object.prototype,h=c(null);if("function"==typeof Symbol){r=Symbol;try{String(r()),a=!0}catch(e){}}var d,_=(d=c(null),function(e){for(var t,n,r=0;d[e+(r||"")];)++r;return d[e+=r||""]=!0,f(p,t="@@"+e,s.gs(null,function(e){n||(n=!0,f(this,t,s(e)),n=!1)})),t});o=function(e){if(this instanceof o)throw new TypeError("Symbol is not a constructor");return i(e)},e.exports=i=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return a?r(t):(n=c(o.prototype),t=void 0===t?"":String(t),l(n,{__description__:s("",t),__name__:s("",_(t))}))},l(i,{for:s(function(e){return h[e]?h[e]:h[e]=i(String(e))}),keyFor:s(function(e){var t;for(t in u(e),h)if(h[t]===e)return t}),hasInstance:s("",r&&r.hasInstance||i("hasInstance")),isConcatSpreadable:s("",r&&r.isConcatSpreadable||i("isConcatSpreadable")),iterator:s("",r&&r.iterator||i("iterator")),match:s("",r&&r.match||i("match")),replace:s("",r&&r.replace||i("replace")),search:s("",r&&r.search||i("search")),species:s("",r&&r.species||i("species")),split:s("",r&&r.split||i("split")),toPrimitive:s("",r&&r.toPrimitive||i("toPrimitive")),toStringTag:s("",r&&r.toStringTag||i("toStringTag")),unscopables:s("",r&&r.unscopables||i("unscopables"))}),l(o.prototype,{constructor:s(i),toString:s("",function(){return this.__name__})}),l(i.prototype,{toString:s(function(){return"Symbol ("+u(this).__description__+")"}),valueOf:s(function(){return u(this)})}),f(i.prototype,i.toPrimitive,s("",function(){var e=u(this);return"symbol"==typeof e?e:e.toString()})),f(i.prototype,i.toStringTag,s("c","Symbol")),f(o.prototype,i.toStringTag,s("c",i.prototype[i.toStringTag])),f(o.prototype,i.toPrimitive,s("c",i.prototype[i.toPrimitive]))},Qatm:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},QjER:function(e,t,n){"use strict";function r(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}n.r(t),t.default=function(e,t){void 0===t&&(t="");var n,o=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&r(e),u=t&&r(t),c=s||u;if(e&&r(e)?a=o:o.length&&(a.pop(),a=a.concat(o)),!a.length)return"/";if(a.length){var l=a[a.length-1];n="."===l||".."===l||""===l}else n=!1;for(var f=0,p=a.length;p>=0;p--){var h=a[p];"."===h?i(a,p):".."===h?(i(a,p),f++):f&&(i(a,p),f--)}if(!c)for(;f--;f)a.unshift("..");!c||""===a[0]||a[0]&&r(a[0])||a.unshift("");var d=a.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d}},Qmxl:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},R2L1:function(e,t,n){"use strict";var r=t.glueAquamarine="#9bf0e1",i=t.glueAubergine="#503750",o=t.glueAzure="#509bf5",a=t.glueBole="#c87d55",s=t.glueBrightRed="#e61e32",u=t.glueChocolate="#7d4b32",c=t.glueCitric="#cdf564",l=t.glueElectricSeafoam="#19e68c",f=t.glueFactoryYellow="#fae62d",p=t.glueForest="#006450",h=t.glueFuchsia="#dc148c",d=t.glueGold="#f59b23",_=t.glueKleinBlue="#4100f5",y=t.glueLavender="#b49bc8",v=t.glueMaroon="#8c1932",m=t.glueMidnight="#1e3264",g=t.glueNeonGreen="#5ff550",E=t.glueOrange="#ff6437",b=t.gluePink="#ffcdd2",T=t.gluePowderGreen="#c3f0c8",S=t.glueRoyalBlue="#2d46b9",R=t.glueSalmon="#f573a0",w=t.glueSpearmint="#27856a",O=t.glueStorm="#a0c3d2",A=t.glueSunflower="#ffc864",I=t.glueTan="#c39687",N=t.glueTangerine="#e3230e",C=t.glueViolet="#af2896",P=t.glueSuccess="#1db954",L=t.glueAnnouncement="#2e77d0",k=t.glueInfo="#eeeeee",D=t.glueWarning="#ff5722",x=t.glueFailure="#e22134",M=t.glueGray7="#121212",U=t.glueGray10="#181818",F=t.glueGray15="#282828",j=t.glueGray20="#333333",B=t.glueGray30="#535353",V=t.glueGray50="#7f7f7f",G=t.glueGray70="#b3b3b3",W=t.glueGray80="#cccccc",H=t.glueGray85="#d9d9d9",K=t.glueGray90="#eeeeee",q=t.glueGray95="#f8f8f8",Y=t.glueGray25="#404040",z=t.glueBlack0="rgba(0, 0, 0, 0)",X=t.glueBlack10="rgba(0, 0, 0, 0.1)",Q=t.glueBlack30="rgba(0, 0, 0, 0.3)",J=t.glueBlack50="rgba(0, 0, 0, 0.5)",$=t.glueBlack70="rgba(0, 0, 0, 0.7)",Z=t.glueBlack90="rgba(0, 0, 0, 0.9)",ee=t.glueWhite0="rgba(255, 255, 255, 0)",te=t.glueWhite10="rgba(255, 255, 255, 0.1)",ne=t.glueWhite30="rgba(255, 255, 255, 0.3)",re=t.glueWhite50="rgba(255, 255, 255, 0.5)",ie=t.glueWhite70="rgba(255, 255, 255, 0.7)",oe=t.glueWhite90="rgba(255, 255, 255, 0.9)",ae=t.glueBlack20="rgba(0, 0, 0, 0.2)",se=t.glueBlack40="rgba(0, 0, 0, 0.4)",ue=t.glueWhite5="rgba(255, 255, 255, 0.05)",ce=t.glueWhite20="rgba(255, 255, 255, 0.2)",le=t.glueWhite40="rgba(255, 255, 255, 0.4)",fe=t.glueGreen="#1db954",pe=t.glueGreenLight="#1ed760",he=t.glueGreenFocus="#1da64d",de=t.glueGreenDark="#14833b",_e=t.glueBlack="#000000",ye=t.glueWhite="#ffffff",ve=t.glueRed="#cd1a2b",me=t.glueRedLight="#e22134",ge=t.glueRedDark="#941320",Ee=t.glueBlue="#2e77d0",be=t.glueBlueLight="#4687d6",Te=t.glueBlueFacebook="#3a5897",Se=t.glueBlueDark="#1d4c85",Re=t.glueOrangeLight="#ff5722",we=t.glueOpacity0="0",Oe=t.glueOpacity10="0.1",Ae=t.glueOpacity30="0.3",Ie=t.glueOpacity50="0.5",Ne=t.glueOpacity70="0.7",Ce=t.glueOpacity90="0.9",Pe=t.glueSpacer4="4px",Le=t.glueSpacer8="8px",ke=t.glueSpacer12="12px",De=t.glueSpacer16="16px",xe=t.glueSpacer20="20px",Me=t.glueSpacer24="24px",Ue=t.glueSpacer32="32px",Fe=t.glueSpacer40="40px",je=t.glueSpacer48="48px",Be=t.glueSpacer56="56px",Ve=t.glueSpacer64="64px",Ge=t.glueSpacer72="72px",We=t.glueSpacer80="80px",He=t.glueBalladFontSize="14px",Ke=t.glueBalladLineHeight="20px",qe=t.glueBalladTracking="-0.02em",Ye=t.glueBalladWeight="200",ze=t.glueBalladFont="Circular",Xe=t.glueBassFontSize="48px",Qe=t.glueBassFontSizeMedium="72px",Je=t.glueBassFontSizeLarge="96px",$e=t.glueBassLineHeight="56px",Ze=t.glueBassLineHeightMedium="82px",et=t.glueBassLineHeightLarge="96px",tt=t.glueBassTracking="-0.04em",nt=t.glueBassWeight="600",rt=t.glueBassFont="Circular",it=t.glueForteFontSize="36px",ot=t.glueForteLineHeight="44px",at=t.glueForteTracking="-0.04em",st=t.glueForteWeight="600",ut=t.glueForteFont="Circular",ct=t.glueBrioFontSize="28px",lt=t.glueBrioLineHeight="36px",ft=t.glueBrioTracking="-0.04em",pt=t.glueBrioWeight="600",ht=t.glueBrioFont="Circular",dt=t.glueMinuetFontSize="11px",_t=t.glueMinuetLineHeight="16px",yt=t.glueMinuetTracking="0.17em",vt=t.glueMinuetWeight="200",mt=t.glueMinuetFont="Circular",gt=t.glueMinuetBoldFontSize="11px",Et=t.glueMinuetBoldLineHeight="16px",bt=t.glueMinuetBoldTracking="0.17em",Tt=t.glueMinuetBoldWeight="400",St=t.glueMinuetBoldFont="Circular",Rt=t.glueAltoFontSize="18px",wt=t.glueAltoLineHeight="24px",Ot=t.glueAltoTracking="-0.04em",At=t.glueAltoWeight="600",It=t.glueAltoFont="Circular",Nt=t.glueCanonFontSize="16px",Ct=t.glueCanonLineHeight="22px",Pt=t.glueCanonTracking="-0.02em",Lt=t.glueCanonWeight="600",kt=t.glueCanonFont="Circular",Dt=t.glueCelloFontSize="14px",xt=t.glueCelloLineHeight="20px",Mt=t.glueCelloTracking="-0.02em",Ut=t.glueCelloWeight="400",Ft=t.glueCelloFont="Circular";t.color={glueAquamarine:r,glueAubergine:i,glueAzure:o,glueBole:a,glueBrightRed:s,glueChocolate:u,glueCitric:c,glueElectricSeafoam:l,glueFactoryYellow:f,glueForest:p,glueFuchsia:h,glueGold:d,glueKleinBlue:_,glueLavender:y,glueMaroon:v,glueMidnight:m,glueNeonGreen:g,glueOrange:E,gluePink:b,gluePowderGreen:T,glueRoyalBlue:S,glueSalmon:R,glueSpearmint:w,glueStorm:O,glueSunflower:A,glueTan:I,glueTangerine:N,glueViolet:C,glueSuccess:P,glueAnnouncement:L,glueInfo:k,glueWarning:D,glueFailure:x,glueGray7:M,glueGray10:U,glueGray15:F,glueGray20:j,glueGray30:B,glueGray50:V,glueGray70:G,glueGray80:W,glueGray85:H,glueGray90:K,glueGray95:q,glueGray25:Y,glueBlack0:z,glueBlack10:X,glueBlack30:Q,glueBlack50:J,glueBlack70:$,glueBlack90:Z,glueWhite0:ee,glueWhite10:te,glueWhite30:ne,glueWhite50:re,glueWhite70:ie,glueWhite90:oe,glueBlack20:ae,glueBlack40:se,glueWhite5:ue,glueWhite20:ce,glueWhite40:le,glueGreen:fe,glueGreenLight:pe,glueGreenFocus:he,glueGreenDark:de,glueBlack:_e,glueWhite:ye,glueRed:ve,glueRedLight:me,glueRedDark:ge,glueBlue:Ee,glueBlueLight:be,glueBlueFacebook:Te,glueBlueDark:Se,glueOrangeLight:Re},t.opacity={glueOpacity0:we,glueOpacity10:Oe,glueOpacity30:Ae,glueOpacity50:Ie,glueOpacity70:Ne,glueOpacity90:Ce},t.spacer={glueSpacer4:Pe,glueSpacer8:Le,glueSpacer12:ke,glueSpacer16:De,glueSpacer20:xe,glueSpacer24:Me,glueSpacer32:Ue,glueSpacer40:Fe,glueSpacer48:je,glueSpacer56:Be,glueSpacer64:Ve,glueSpacer72:Ge,glueSpacer80:We},t.type={glueBalladFontSize:He,glueBalladLineHeight:Ke,glueBalladTracking:qe,glueBalladWeight:Ye,glueBalladFont:ze,glueBassFontSize:Xe,glueBassFontSizeMedium:Qe,glueBassFontSizeLarge:Je,glueBassLineHeight:$e,glueBassLineHeightMedium:Ze,glueBassLineHeightLarge:et,glueBassTracking:tt,glueBassWeight:nt,glueBassFont:rt,glueForteFontSize:it,glueForteLineHeight:ot,glueForteTracking:at,glueForteWeight:st,glueForteFont:ut,glueBrioFontSize:ct,glueBrioLineHeight:lt,glueBrioTracking:ft,glueBrioWeight:pt,glueBrioFont:ht,glueMinuetFontSize:dt,glueMinuetLineHeight:_t,glueMinuetTracking:yt,glueMinuetWeight:vt,glueMinuetFont:mt,glueMinuetBoldFontSize:gt,glueMinuetBoldLineHeight:Et,glueMinuetBoldTracking:bt,glueMinuetBoldWeight:Tt,glueMinuetBoldFont:St,glueAltoFontSize:Rt,glueAltoLineHeight:wt,glueAltoTracking:Ot,glueAltoWeight:At,glueAltoFont:It,glueCanonFontSize:Nt,glueCanonLineHeight:Ct,glueCanonTracking:Pt,glueCanonWeight:Lt,glueCanonFont:kt,glueCelloFontSize:Dt,glueCelloLineHeight:xt,glueCelloTracking:Mt,glueCelloWeight:Ut,glueCelloFont:Ft}},R3KX:function(e,t,n){"use strict";(function(e){var r=n("63Ad"),i=r(n("SDJZ")),o=r(n("NToG")),a=r(n("nxTg"));Object.defineProperty(t,"__esModule",{value:!0}),t.supportsHighResolutionTime=function(){return e&&"function"==typeof e.hrtime},t.getTime=function(){return t.supportsHighResolutionTime()?e.hrtime():Date.now()},t.getHighResolutionTime=function(t){var n=e.hrtime(t),r=(0,a.default)(n,2),i=1e9*r[0]+r[1];return{nanoseconds:i,milliseconds:i/1e6,seconds:i/1e9}};var s=function(){function e(t){(0,i.default)(this,e),this.startTime=t}return(0,o.default)(e,[{key:"end",value:function(){return t.supportsHighResolutionTime()?t.getHighResolutionTime(this.startTime):t.getTime()-this.startTime}}],[{key:"start",value:function(){return new e(t.getTime())}}]),e}();t.Timer=s}).call(this,n("5IsQ"))},"RB/r":function(e){e.exports=JSON.parse('{"tagged":"1.6.0-pre1-c8acf0c","version":"1.6.0-pre1","revision":"c8acf0c"}')},RBTS:function(e,t,n){"use strict";var r=16,i=Array.prototype.slice;function o(e,t,n){this.tag=e,this.description=t,this._predicate=n,this._tagParts=e.split("."),this._tagText="["+e+"]","true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG?this._enabled=!0:this._enabled=!1,this._level=0,this.log=this.log.bind(this),this.debug=this.debug.bind(this),this.warn=this.warn.bind(this),this.error=this.error.bind(this)}o.prototype.matchesTag=function(e){var t=Array.isArray(e)?e:e.split("."),n=this._tagParts;if(t.length>n.length)return!1;for(var r=0,i=t.length;r<i;r++)if(("*"!==t[r]||!n[r])&&t[r]!==n[r])return!1;return!0},o.prototype.setLevel=function(e){var t=0;switch(e){case"error":t=r;break;case"warn":t=24;break;case"info":t=28;break;case"debug":t=30;break;case"log":default:t=31}this._level=t},o.prototype.enable=function(){"true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG&&(this._enabled=!0)},o.prototype.disable=function(){"true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG&&(this._enabled=!1)},o.prototype.log=function(){if("true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG){if(!(this._enabled||1&this._level))return;var e=i.call(arguments),t=([this._tagText].concat(e),{type:"log",tag:this.tag,args:e});if(this._predicate(t))return}},o.prototype.debug=function(){if("true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG){if(!(this._enabled||2&this._level))return;var e=i.call(arguments),t=([this._tagText].concat(e),{type:"debug",tag:this.tag,args:e});if(this._predicate(t))return}},o.prototype.info=function(){if("true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG){if(!(this._enabled||4&this._level))return;var e=i.call(arguments),t=([this._tagText].concat(e),{type:"info",tag:this.tag,args:e});if(this._predicate(t))return}},o.prototype.warn=function(){if("true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG){if(!(this._enabled||8&this._level))return;var e=i.call(arguments),t=([this._tagText].concat(e),{type:"warn",tag:this.tag,args:e});if(this._predicate(t))return}},o.prototype.error=function(){if("true"===Object({NODE_ENV:"production",ORIGIN:"https://open.spotify.com",SPCLIENT_WG_URL:"https://spclient.wg.spotify.com",EXP_WG_URL:"https://exp.wg.spotify.com",WEB_API_URL:"https://api.spotify.com",DEBUG_EVENTSENDER:!1}).DEBUG){if(!(this._enabled||this._level&r))return;var e=i.call(arguments),t=([this._tagText].concat(e),{type:"error",tag:this.tag,args:e});if(this._predicate(t))return}},e.exports=o},REJ4:function(e,t,n){"use strict";e.exports={createHash:function(){throw new Error("fingerprinting not supported in the browser")}}},RIcX:function(e,t,n){"use strict";function r(e){var t=typeof e;return"object"===t?e?Object.prototype.toString.call(e).slice(8,-1):null:t}function i(e,t){for(var n=0,i=e.length;n<i;n++)if(r(e[n])!==t)throw new ReferenceError("Wrong subtype in data array.")}e.exports=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if(!t.hasOwnProperty(n))throw new ReferenceError("Bad key, mismatching schema in logging data.");if(!t[n].nullable||e[n]){if(!e[n])throw new ReferenceError("Missing non-nullable value.");var o=r(e[n]),a=t[n].type;if("Array"===o)i(e[n],t[n].inner_type);else if(o!==a)throw new ReferenceError("Type mismatch in logging data.")}}return e}},RN9m:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){function e(){var e=this;this.handleTimeUpdate=function(t){e.observersForMediaPositions.forEach(function(e){e(t)}),e.observersForPeriodicEvents.forEach(function(e){e(t)})},this.observersForMediaPositions=[],this.observersForPeriodicEvents=[]}return e.prototype.addObserverForMediaPositions=function(e,t){var n=e.slice();this.observersForMediaPositions.push(function(e){var r=e.target.currentTime,i=e.target.duration,o=Math.min(Math.max(r/i,0),1);n=n.filter(function(e){return!(o>=e&&(t(e),1))})})},e.prototype.addObserverForPeriodicEvents=function(e,t){var n=0;this.observersForPeriodicEvents.push(function(r){var i=r.target.currentTime;Math.abs(n-i)>=e&&(t(i),n=Math.floor(i))})},e}();t.default=r},Rblx:function(e,t,n){"use strict";(function(e,r){var i,o=n("XNbM");i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(o.a)(i);t.a=a}).call(this,n("pCvA"),n("Ono3")(e))},ReJW:function(e,t,n){"use strict";(function(t){var r=n("PQZM"),i=n("qG8n"),o=n("asuC"),a=n("f/Q/"),s=n("uDox").forTag("playback.acme_player"),u=n("zCec"),c=n("jGCg"),l=n("nfhW"),f=n("gD/h"),p=n("BU6D"),h=n("8Pwi"),d=n("gY3k"),_=n("J+ux"),y=n("qt0y"),v=n("icRp");function m(e){return document.createElement(e)}function g(e){return Math.ceil(1e3*e)}function E(e){return e/1e3}var b=2,T=/^blob:/,S="hidden";function R(e){i.call(this),this.id=e.id,this._createPlayer=e.createPlayer||m,this._videoPlayerContainer=e.videoPlayerContainer||null,this._subtitlesVisible=!1,this._cubicVolume=e.cubicVolume,this._subtitleLanguage="",this._audioResolver=e.audioResolver,this._videoResolver=e.videoResolver,this._licenseURLResolver=e.licenseURLResolver,this._player=null,this._emeManager=e.disallowProtectedTracks?null:e.emeManager,this._tracker=e.tracker,this._activeCodecs="",this._cache=new a(e.trackCacheSize||b),s.info("Setting ACMEPlayer track cache to:",e.trackCacheSize||b),this._synthesizeEnded=e.synthesizeEnded,this._newElementPerTrack=e.newElementPerTrack,this._newBufferPerTrack=e.newBufferPerTrack,this._newMediaKeysPerTrack=e.newMediaKeysPerTrack,this._clearBufferOnSeek=e.clearBufferOnSeek,this._rebufferOnQuotaExceeded=e.rebufferOnQuotaExceeded,this._disableCache=e.disableCache,this._disableBufferAbort=e.disableBufferAbort,this._acmeTrack=null,this._upcomingACMETrack=null,this._lastLoadedTS=0,this._preloadingTracks={},this._playId=0,this._loaded=!1,this._pauseToken=null,this._syntheticEndedToken=null,this._transport=e.transport,this._canPreloadEmitted=!1,this._playerVolume=1,this._fatalOnNextError=!1,this._lastTimeUpdatePostion=0,this._onCanPlay=this._onCanPlay.bind(this),this._onCanPlayThrough=this._onCanPlayThrough.bind(this),this._onTimeUpdate=this._onTimeUpdate.bind(this),this._onDurationChange=this._onDurationChange.bind(this),this._onPlaying=this._onPlaying.bind(this),this._onPause=this._onPause.bind(this),this._onSeeking=this._onSeeking.bind(this),this._onEncrypted=this._onEncrypted.bind(this),this._onEnded=this._onEnded.bind(this),this._onError=this._onError.bind(this),this._onRequiresDuration=this._onRequiresDuration.bind(this),this._onQuotaExceeded=this._onQuotaExceeded.bind(this),this._onLoadedMetadata=this._onLoadedMetadata.bind(this),this._onWaiting=this._onWaiting.bind(this),this.proxyEmitSync(this._tracker,h.TRACKER_TRACKING_DATA_CREATED,h.PLAYER_TRACKING_DATA_CREATED),this.proxyEmitSync(this._tracker,h.TRACKER_TRACKING_DATA_FINALIZED,h.PLAYER_TRACKING_DATA_FINALIZED),this.proxyEmitSync(this._tracker,h.TRACKER_PLAYBACK_START,h.PLAYER_PLAYBACK_START),this._tracker.on(h.TRACKER_PLAYED_THRESHOLD_REACHED,this._onPlayedThresholdReached.bind(this)),this._emeManager&&(this._emeManager.on(h.EME_LICENSE_REQUEST_CAPPED,this._onLicenseRequestCapped.bind(this)),this._emeManager.on(h.EME_LICENSE_REQUEST_ERROR,this._onLicenseRequestError.bind(this))),this._init()}r(R,i),R.prototype._onLicenseRequestError=function(e){if(e.playId===this._playId){var t=this._acmeTrack;if(t){var n=e.error;n.shouldRefreshEndpoint&&this._licenseURLResolver.remove(t.getKeySystem(),t.getMediaType()),this._emitError(n,!n.unrecoverable,t.toLogJSON())}}},R.prototype._onLicenseRequestCapped=function(e){e.playId===this._playId&&this._acmeTrack&&(this.pause(),this.emit(h.PLAYER_CAPPED))},R.create=function(e){return e.disableProtection?R.createWithOptions(e):d.create({transport:e.transport,disallowRobustnessValues:e.disallowRobustnessValues,noServerCertificate:e.noServerCertificate,preferredKeySystems:e.preferredKeySystems}).then(function(t){return e.emeManager=t,new R(e)})},R.createWithOptions=function(e){return new o(function(t){t(new R(e))})},R.prototype._init=function(){this._disableCache&&s.info("Cache disabled."),this._transport.on(this._transport.EVENT_CONNECTION_OFFLINE,this._onNavigatorOffline.bind(this)),this._abrManager=new l,this._buffer=_.create(this._tracker,null,{disableBufferAbort:this._disableBufferAbort}),this._buffer.on(h.BUFFER_APPEND_ERROR,this._onBufferError.bind(this)),this._buffer.on(h.BUFFER_QUOTA_EXCEEDED,this._onQuotaExceeded),this.proxyEmit(this._buffer,h.BUFFER_STALLED,h.PLAYER_BUFFER_STALLED),this.proxyEmit(this._buffer,h.BUFFERING_START,h.PLAYER_BUFFERING_START),this.proxyEmit(this._buffer,h.BUFFERING_END,h.PLAYER_BUFFERING_END)},R.prototype._onNavigatorOffline=function(){this._tracker.trackNavigatorOffline()},R.prototype._onBufferError=function(e){this._emitError(e.error,e.canPlayNext,e.track)},R.prototype._addPlayerEvents=function(e){e.addEventListener(h.MEDIA_TIMEUPDATE,this._onTimeUpdate),e.addEventListener(h.MEDIA_PLAYING,this._onPlaying),e.addEventListener(h.MEDIA_PAUSE,this._onPause),e.addEventListener(h.MEDIA_SEEKING,this._onSeeking),e.addEventListener(h.MEDIA_ENCRYPTED,this._onEncrypted),e.addEventListener(h.MEDIA_ENDED,this._onEnded),e.addEventListener(h.MEDIA_ERROR,this._onError),e.addEventListener(h.MEDIA_LOADEDMETADATA,this._onLoadedMetadata),e.addEventListener(h.MEDIA_DURATIONCHANGE,this._onDurationChange),e.addEventListener(h.MEDIA_WAITING,this._onWaiting),e.addEventListener(h.MEDIA_CANPLAY,this._onCanPlay),e.addEventListener(h.MEDIA_CANPLAYTHROUGH,this._onCanPlayThrough),e.addEventListener(h.INTERNAL_MEDIA_REQUIRES_DURATION,this._onRequiresDuration)},R.prototype._removePlayerEvents=function(e){e.removeEventListener(h.MEDIA_TIMEUPDATE,this._onTimeUpdate),e.removeEventListener(h.MEDIA_PLAYING,this._onPlaying),e.removeEventListener(h.MEDIA_PAUSE,this._onPause),e.removeEventListener(h.MEDIA_SEEKING,this._onSeeking),e.removeEventListener(h.MEDIA_ENCRYPTED,this._onEncrypted),e.removeEventListener(h.MEDIA_ENDED,this._onEnded),e.removeEventListener(h.MEDIA_ERROR,this._onError),e.removeEventListener(h.MEDIA_WAITING,this._onWaiting),e.removeEventListener(h.MEDIA_CANPLAY,this._onCanPlay),e.removeEventListener(h.MEDIA_CANPLAYTHROUGH,this._onCanPlayThrough),e.removeEventListener(h.MEDIA_LOADEDMETADATA,this._onLoadedMetadata),e.removeEventListener(h.MEDIA_DURATIONCHANGE,this._onDurationChange),e.removeEventListener(h.INTERNAL_MEDIA_REQUIRES_DURATION,this._onRequiresDuration)},R.prototype._recreateMediaElement=function(e,t,n,r){if(n!==this._playId)return s.info("Recreate player dropped: playId has changed."),o.resolve(!1);var i=this._activeCodecs===t.join(""),a=this._player;if(a){if(!this._newElementPerTrack){for(var u=!0,c=0,l=t.length;c<l;c++)if("probably"!==a.canPlayType(t[c])){u=!1;break}if(i&&u&&a.withProtection)return s.info("Reusing old audio player with default protection."),this._newBufferPerTrack&&(s.info("Recreating buffer."),this._buffer.recreate(t)),o.resolve(!0);if(i&&a.withProtection===e)return s.info("Reusing old audio player with variable protection."),this._newBufferPerTrack&&(s.info("Recreating buffer."),this._buffer.recreate(t)),o.resolve(!0)}this._removePlayerEvents(a),a.pause(),this._emeManager&&this._emeManager.removeMediaKeys(a).catch(function(e){s.warn("Failed to remove media keys.",e)}),this._player=null}s.info("Creating new media element.");var f=this._createPlayer(r),p=this._playerVolume;return f.autoplay=!1,f.loop=!1,f.volume=this._cubicVolume?p*p*p:p,f.withProtection=e,this._player=f,this._addPlayerEvents(f),this._buffer.recreate(t),this._activeCodecs=t.join(""),o.resolve(!0)},R.prototype._getVideoContainer=function(){return"string"==typeof this._videoPlayerContainer?document.querySelector(this._videoPlayerContainer):this._videoPlayerContainer||null},R.prototype.getVideoProfiles=function(){if(!this._acmeTrack||"video"!==this._acmeTrack.getMediaType())return[];for(var e=[],t=this._acmeTrack.getVideoProfiles(),n=0,r=t.length;n<r;n++){var i=t[n];e.push({width:i.video_width,height:i.video_height,bitrate:i.video_bitrate})}return e},R.prototype.setPreferredBitrate=function(e){return"number"!=typeof e?o.resolve(u.INVALID):(this._acmeTrack&&"video"===this._acmeTrack.getMediaType()&&e>0&&this._buffer.abort(!0),this._abrManager.overrideBitrate(e),o.resolve(u.SUCCESS))},R.prototype._createAudioTrack=function(e,t){var n={manifestLatency:0,resolveLatency:0};return(this._emeManager?this._emeManager.getKeySystemInfo():o.resolve({keySystem:"com.spotify.invalid"})).then(function(r){return f.create({abrManager:this._abrManager,keySystem:r.keySystem,licenseEndpoint:t.licenseEndpoint,transport:this._transport,resolver:this._audioResolver,uri:e,fileId:t.fileId,format:t.format,isAd:t.isAd,resolvedURL:t.resolvedURL,noManifest:t.noManifest,preloadedManifest:t.preloadedManifest,logData:t.logData,disableCache:this._disableCache,emitWarning:this._emitWarning.bind(this)}).load(n)}.bind(this)).then(function(e){var r=this._tracker;return r.setResolveLatency(n.resolveLatency),r.setManifestLatency(n.manifestLatency),e.isProtected()&&t.fileId&&!this._disableCache&&this._cache.set(t.fileId,e),e}.bind(this))},R.prototype._createVideoTrack=function(e){var t={manifestLatency:0,resolveLatency:0},n=e.fileId;return this._emeManager.getKeySystemInfo().then(function(r){var i=r.audioFormats[0],o=r.videoFormats[0];return p.create({abrManager:this._abrManager,resolver:this._videoResolver,keySystem:r.keySystem,licenseEndpoint:e.licenseEndpoint,fileId:n,isAd:e.isAd,transport:this._transport,videoCodec:o.codec,videoMimeType:o.mimeType,audioCodec:i.codec,audioMimeType:i.mimeType,disableCache:this._disableCache}).load(t)}.bind(this)).then(function(e){var r=this._tracker;return r.setResolveLatency(t.resolveLatency),r.setManifestLatency(t.manifestLatency),e.isProtected()&&n&&!this._disableCache&&this._cache.set(n,e),e}.bind(this))},R.prototype._onDurationChange=function(){var e=this._playId,t=function(){if(e===this._playId){var t=g(this._player.duration);this._tracker.setActualDuration(t),this.emit(h.PLAYER_DURATION_CHANGED,{timestamp:Date.now(),position:g(this._player.currentTime),duration:t})}else s.info("Duration changed drop: playId has changed.")}.bind(this);this._loaded?t():this.once(h.PLAYER_LOAD,t)},R.prototype._onPlaying=function(){var e=this._acmeTrack,t=g(this._player.currentTime);this._tracker.trackPlaying(t),this.emit(h.PLAYER_PLAYING,{timestamp:Date.now(),position:t,logData:e?e.getLogData():null})},R.prototype._onPause=function(){var e=g(this._player.currentTime);this._tracker.trackPaused(e);var t=this._acmeTrack?this._acmeTrack.getLogData():null;this._pauseToken=setTimeout(function(){clearTimeout(this._syntheticEndedToken),this.emit(h.PLAYER_PAUSED,{position:e,logData:t})}.bind(this),10)},R.prototype._onSeeking=function(){this._buffer.abort(this._clearBufferOnSeek),this._onTimeUpdate()},R.prototype._onRequiresDuration=function(){this._acmeTrack&&this._acmeTrack.isProtected()&&(this._player.duration=this._acmeTrack.getCalculatedDuration())},R.prototype._onQuotaExceeded=function(){if(this._rebufferOnQuotaExceeded)s.info("Exceeded quota: rebuffering current track."),this._buffer.abort(!0),this._player.currentTime=this._player.currentTime,this._onTimeUpdate();else{s.info("Exceeded quota: moving to next track."),this._player.pause(),this._buffer.abort();var e=new v(y.PLAYER_BUFFER_QUOTA_EXCEEDED,"Buffer quota exceeded.");this._emitError(e,!0,this._acmeTrack?this._acmeTrack.toLogJSON():{})}},R.prototype._onEncrypted=function(){s.info("Got Encrypted event")},R.prototype._onEnded=function(){this._synthesizeEnded&&this._acmeTrack.isProtected()||(s.info("Native ended emitted."),this._emitEnded())},R.prototype._onSyntheticEnded=function(){this._synthesizeEnded&&this._acmeTrack&&this._acmeTrack.isProtected()&&(s.info("Synthetic ended emitted."),this._emitEnded())},R.prototype._onError=function(){var e,n,r,i=this._player,o=i.error,a={},s=!1,u=this._acmeTrack,c=!1;u&&(s=u.isProtected(),a=u.toLogJSON(),c=u.isAd(),u.clearCachedBuffers());var l=!0,f=!u||c||!this._fatalOnNextError,p=o&&o.msExtendedCode?"0x"+(o.msExtendedCode>>>0).toString(16).toUpperCase():null;if(o instanceof t.MediaError){var h=t.MediaError;switch(o.code){case h.MEDIA_ERR_ABORTED:e=y.MEDIA_ABORTED,n="Media aborted.";break;case h.MEDIA_ERR_NETWORK:e=y.MEDIA_NETWORK_ERROR,n="Network error.";break;case h.MEDIA_ERR_DECODE:e=y.MEDIA_DECODING_ERROR,n="Media decoding error.",l=f;break;case h.MEDIA_ERR_SRC_NOT_SUPPORTED:e=y.MEDIA_NOT_SUPPORTED,n="Media not supported.",l=f;break;default:e=y.PLAYER_MEDIA_ERROR,n="Media error.",r=!0}n+=" ("+(o.message||p||o.toString())+")"}else e=y.PLAYER_PLAYBACK_ERROR,n=o?o.message||o.toString():"Error message undefined",r=!0;this._buffer.abort(!0);var d=new v(e,n);l||d.fatal(),d.listPlayerIgnore=c,d.debug.src_url=i.src,d.debug.protected=s,d.debug.extendedCode=p,d.debug.rawExCode=o&&o.msExtendedCode||null,r&&o&&(d.debug.nativeCode=o.code||null,d.debug.errorData=o),this._emitError(d,l,a)},R.prototype._onLoadedMetadata=function(){this.emitSync(h.INTERNAL_PLAYER_LOADED_METADATA)},R.prototype._onCanPlay=function(){this.emitSync(h.INTERNAL_PLAYER_CANPLAY),this.emit(h.PLAYER_FIRST_BYTES)},R.prototype._onCanPlayThrough=function(){this.emitSync(h.INTERNAL_PLAYER_CANPLAYTHROUGH)},R.prototype._onWaiting=function(){clearTimeout(this._syntheticEndedToken),this._player.seeking||this._getBufferingLatency().then(function(e){this._tracker.trackMsStalled(e)}.bind(this))},R.prototype._onPlayedThresholdReached=function(e){this._acmeTrack&&this.emit(h.PLAYER_PLAYED_THRESHOLD_REACHED,{played:e.played,threshold:e.threshold,position:g(this._player.currentTime)})},R.prototype._emitEnded=function(){"video"===this._acmeTrack.getMediaType()&&this.emit(h.PLAYER_ENDED_VIDEO),clearTimeout(this._pauseToken),this.emit(h.PLAYER_ENDED)},R.prototype._emitError=function(e,t,n){s.error("Player Error",e,n,t),this._tracker.setHadError(!0),!this._disableCache&&n&&n.fileId&&this._cache.remove(n.fileId),this.emit(h.PLAYER_ERROR,{playId:this._playId,error:e,track:n,canPlayNext:t,position:this._player?g(this._player.currentTime):0})},R.prototype._emitWarning=function(e,t){s.error("Player Warning",e,t,!0),this._tracker.trackWarning(),this.emit(h.PLAYER_WARNING,{playId:this._playId,error:e,track:t,canPlayNext:!0,position:g(this._player.currentTime)})},R.prototype._prepareMediaElement=function(e,t){return t===this._playId&&this._upcomingACMETrack?this._recreateMediaElement(this._upcomingACMETrack.isProtected(),this._upcomingACMETrack.getPlayableCodecs(),t,this._upcomingACMETrack.getMediaType()).then(function(e){if(!e||t!==this._playId)return s.info("Load ACMETrack dropped after recreate: playId has changed."),o.resolve(!1);var n=this._player;return n.withProtection&&this._emeManager&&(!n.mediaKeys||n.mediaKeys.shouldRefreshPerTrack||this._newMediaKeysPerTrack)?this._emeManager.createMediaKeys(n).then(function(){return!0}).catch(function(e){return e.fatal?e.fatal():e.unrecoverable=!0,this._emitError(e,!1,this._upcomingACMETrack.toLogJSON()),o.reject(e)}.bind(this)):o.resolve(!0)}.bind(this)):(s.info("Load ACMETrack dropped: playId has changed."),o.resolve(!1))},R.prototype._handleLoadingComplete=function(e){var t=this._acmeTrack.getMediaType(),n=this._getVideoContainer();return"video"===t&&n&&this._player.parentNode!==n&&(n.appendChild(this._player),this.emit(h.PLAYER_VIDEO_ELEMENT_APPENDED)),this._upcomingACMETrack=null,e},R.prototype._handleLoadingError=function(e,t,n,r){if(this._upcomingACMETrack=null,n!==this._playId)return o.resolve(!1);if(this._tracker.trackLoadFailed(),this.emit(h.PLAYER_LOADING_FAILED,{uri:e,logData:t.logData}),r){var i=r.track||{uri:e,fileId:t.fileId,format:t.format,deviceId:t.logData.deviceId};this._emitError(r,!(r instanceof c)||r.canPlayNext,i)}return o.reject(r)},R.prototype._handleLoadedMetadata=function(e,t,n){if(e===this._playId){this._loaded=!0;var r=this._player;this._buffer.dequeueUpdates();var i=n.position||0;if(i>r.duration&&(i=0),this._lastTimeUpdatePostion=0,r.currentTime=i,this._tracker.trackLoadDone(g(r.currentTime)),setTimeout(this._onTimeUpdate.bind(this),10),this.emitSync(h.PLAYER_LOAD,{autoplay:n.autoplay,position:i,logData:t}),n.autoplay&&!r.error){var a=function(){this._playId===e?new o(function(e){e(this._player.play())}.bind(this)).catch(function(e){if(e){if("NotSupportedError"===e.name)return o.reject(e);if("NotAllowedError"===e.name)return this.emit(h.PLAYER_AUTOPLAY_FAILED),o.reject(e)}return this._player.play()}.bind(this)).catch(function(){this._onPause()}.bind(this)):s.info("Play trigger dropped; different playId")}.bind(this);r.readyState>2?(s.info("Ready to play, triggering play."),a()):(s.info("Waiting to be playable."),this.once(h.INTERNAL_PLAYER_CANPLAY,a))}}else s.info("LoadedMetadata operations dropped: playId has changed.")},R.prototype._handleCanPlayThrough=function(e){e===this._playId?this._tracker.trackCanPlayThrough():s.info("CanPlayThrough operations dropped: playId has changed.")},R.prototype._loadACMETrack=function(e,t){if(t!==this._playId||!this._upcomingACMETrack)return s.info("Load ACMETrack dropped: playId has changed."),o.resolve(!1);this._canPreloadEmitted=!1;var n=this._upcomingACMETrack;this._upcomingACMETrack=null,this._acmeTrack=n;var r=e.callback;this.once(h.PLAYER_LOAD,function(){t===this._playId?r():s.info("Load ACMETrack event dropped: playId has changed.")}.bind(this)),this.once(h.INTERNAL_PLAYER_LOADED_METADATA,this._handleLoadedMetadata.bind(this,t,this._acmeTrack.getLogData(),e)),this.once(h.INTERNAL_PLAYER_CANPLAYTHROUGH,this._handleCanPlayThrough.bind(this,t));var i=n.isProtected();return this._tracker.setProtected(i),n instanceof p?this._loadVideoTrack(e,t):i?this._loadProtectedTrack(e,t):this._loadUnprotectedTrack()},R.prototype._getBufferingLatency=function(){return new o(function(e){var t=Date.now();this._player.addEventListener("canplaythrough",function n(){this.removeEventListener("canplaythrough",n),e(Date.now()-t)})}.bind(this))},R.prototype._loadVideoTrack=function(e,n){var r=this._acmeTrack;s.info("_loadVideoTrack"),this._buffer.once(h.BUFFER_SOURCE_OPEN,function(e){this._acmeTrack.isProtected()&&this._requestLicense(e)}.bind(this,n)),this._player.src=t.URL.createObjectURL(this._buffer.getMediaSource());var i=r.getVideoProfile(),a=r.getAudioProfile();this._tracker.trackVideoLoadStart({bitrate:i.video_bitrate,audioProfile:a,videoProfile:i}),this._tracker.trackBufferLoadStart();var u=r.getInitFragment();return this._buffer.appendFragment(r,u).then(this._buffer.setDuration.bind(this._buffer,r.getCalculatedDuration())).then(function(){return this._subtitleLanguage&&this.setSubtitleLanguage(this._subtitleLanguage),o.resolve(!0)}.bind(this)).then(this._onAppendedHeadSegment(n))},R.prototype._loadUnprotectedTrack=function(){s.info("_loadUnprotectedTrack",this._acmeTrack.getURI()),this._tracker.trackBufferLoadStart();var e=this._acmeTrack.getResolvedURL();return this._tracker.trackBufferURL(e,{bandwidth:0}),this._player.src=e,!0},R.prototype._onAppendedHeadSegment=function(e){return function(){return e===this._playId&&(this._player.spload&&this._player.spload(),s.info("Head segment appended."),!0)}.bind(this)},R.prototype._loadProtectedTrack=function(e,n){var r=this._acmeTrack;s.info("_loadProtectedTrack",r.getURI()),this._buffer.once(h.BUFFER_SOURCE_OPEN,this._requestLicense.bind(this,n)),this._player.src=t.URL.createObjectURL(this._buffer.getMediaSource()),this._tracker.trackBufferLoadStart();var i=null,a=r.getFragmentForTime(e.position||0);return a===r.getFirstFragment()?(s.info("Appending combined init and playable fragment."),i=this._buffer.appendFragment(r,r.getHeadFragment())):(s.info("Appending split init and playable fragment."),i=o.all([this._buffer.appendFragment(r,r.getInitFragment()),a?r.getBufferForFragment(a):o.resolve(!1)])),i.then(this._onAppendedHeadSegment(n)).then(function(){return o.resolve(n===this._playId)}.bind(this))},R.prototype._requestLicense=function(e){if(e!==this._playId)return s.info("Request license dropped: playId has changed."),o.resolve(!1);var t=Date.now(),n=this._player.mediaKeys,r=this._acmeTrack,i=r.getFileId(),a=r.getLogData(),u=r.toLogJSON(),c=r.getKeySystem(),l=this._emeManager,f=this._tracker;return f.setKeySystem(c),f.setKeySystemImpl(l.getKeySystemImpl()),o.all([r.getLicenseEndpoint()||this._licenseURLResolver.get(c,r.getMediaType()),r.getInitParams()]).spread(function(r,o){return f.setLicenseSessionLatency(Date.now()-t),o.licenseServer=r.replace(/\{contentId\}/,i),o.playId=e,o.mediaKeys=n,l.createSessionWithParams(o)}).then(function(n){if(e!==this._playId)return s.info("License tracking dropped: playId has changed."),o.resolve(!1);n&&n.elapsed&&(f.setLicenseGenerationLatency(n.elapsed.generate),f.setLicenseRequestLatency(n.elapsed.request),f.setLicenseUpdateLatency(n.elapsed.update));var r=Date.now()-t;return f.setKeyLatency(r),this.emit(h.PLAYER_KEY_RECEIVED,{requestTime:r,logData:a}),s.info("License updated."),o.resolve(!0)}.bind(this)).catch(function(t){if(!t||e!==this._playId)return o.resolve(!1);var n=!(t&&"canPlayNext"in t)||t.canPlayNext;return this._emitError(t,n,u),o.reject(t)}.bind(this))},R.prototype._onTimeUpdate=function(){if(this._loaded){var e=0,t=this._player.seeking,n=this._player.currentTime,r="video"===this._acmeTrack.getMediaType();if(r&&(e=this._acmeTrack.getBitrateForTime(this._player.currentTime)),t||!this._lastTimeUpdatePostion||this._lastTimeUpdatePostion!==n){this._lastTimeUpdatePostion=t?0:n,(r||this._acmeTrack.isProtected())&&this._buffer.progress(this._acmeTrack,t,n,r);var i=g(n),o=this._acmeTrack?this._acmeTrack.getLogData():null;t?(this._tracker.trackPositionChanged(i,this._player.paused),this.emit(h.PLAYER_POSITION_CHANGED,{position:i,logData:o})):(this._tracker.trackProgress(i,e),this.emit(h.PLAYER_PROGRESS,{timestamp:Date.now(),position:i,played:this._tracker.getMSPlayed(),interval:500,logData:o})),!this._canPreloadEmitted&&this._player.duration-n<=10?(this._canPreloadEmitted=!0,this.emit(h.PLAYER_CAN_PRELOAD)):this._canPreloadEmitted=!1,clearTimeout(this._syntheticEndedToken),this._synthesizeEnded&&this._acmeTrack.isProtected()&&this._isPlaying()&&(this._syntheticEndedToken=setTimeout(this._onSyntheticEnded.bind(this),g(this._player.duration-n)))}else s.warn("Dropping duplicate time update.")}},R.prototype._isPlaying=function(){return!!this._player&&!this._player.paused},R.prototype._shouldNextErrorBeFatal=function(){var e=this._acmeTrack;if(!e||e.isAd()||!e.isProtected())return!1;var n=this._player.error,r=t.MediaError;if(!(n&&n instanceof r))return this._fatalOnNextError=!1,!1;switch(n.code){case r.MEDIA_ERR_SRC_NOT_SUPPORTED:case r.MEDIA_ERR_DECODE:return!0;default:return!1}},R.prototype.getId=function(){return this.id},R.prototype.getCodecInfo=function(){return{audiocodec:"mp3",bitrate:160}},R.prototype.getMediaSource=function(){return this._buffer.getMediaSource()},R.prototype.load=function(e,t,n){var r=t||{},i=e[r.uriProperty||"uri"];if(s.info("load",i),!i)return o.reject(new v(y.PLAYER_CANNOT_FIND_PLAYABLE_URI,"Cannot find a playable URI."));if(!e.logData)return o.reject(Error("Invalid track: logging info not specified"));this.stop(e.logData,e.mediaType),this._loaded=!1,this._acmeTrack=null;var a=++this._playId,u=this._tracker;u.trackLoadStart(i,e.fileId,a.toString(),e.logData),this.emit(h.PLAYER_BEFORE_LOAD,{track:e,options:t,logData:e.logData,uri:i,timestamp:Date.now()}),this._buffer.setPlayId(a);var c,l={position:E(r.position||0),autoplay:!("autoplay"in r)||r.autoplay,callback:n||function(){}};u.setPlayIntended(l.autoplay),u.setPlayedThreshold(r.playedThreshold);var f=this._cache;if("video"===e.mediaType&&!this._emeManager)return o.reject(new v(y.DISALLOW_PROTECTED_TRACK_ERROR,"Protected tracks not supported"));var p="video"===e.mediaType?this._createVideoTrack.bind(this,e):this._createAudioTrack.bind(this,i,e,a),d=this._preloadingTracks[e.fileId],_=this._disableCache?null:f.get(e.fileId);return d?(s.info("Waiting for preloading track.",e.fileId),c=d.then(function(t){return s.info("Preloading succeeded.",e.fileId),u.setResolveLatency(t.resolveLatency),u.setManifestLatency(t.manifestLatency),f.get(e.fileId)},function(){return s.info("Preloading failed, creating new track",e.fileId),p()})):_?(s.info("Using cached track.",e.fileId,_),u.setMemoryCached(!0),c=o.resolve(_)):(s.info("Creating new track",e.fileId),c=p()),c.then(function(t){return t.isProtected()&&!this._emeManager?o.reject(new v(y.DISALLOW_PROTECTED_TRACK_ERROR,"Protected tracks not supported")):(t.setLogData(e.logData),u.setCalculatedDuration(g(t.getCalculatedDuration())),this._upcomingACMETrack=t,o.resolve())}.bind(this)).then(this._prepareMediaElement.bind(this,l,a)).then(this._loadACMETrack.bind(this,l,a)).then(this._handleLoadingComplete.bind(this),this._handleLoadingError.bind(this,i,e,a))},R.prototype.preload=function(e){var t=e.playableURI,n=e.fileId,r=this._cache;if(!n)return o.resolve(!1);if(!this._emeManager)return o.resolve(!1);var i=!this._disableCache,a="video"===e.mediaType,u="MP4"===e.format||"MP4_DUAL"===e.format;if(!i||!u||a||i&&r.get(n))return o.resolve(!1);var c=this._preloadingTracks;if(c[n])return c[n];s.info("Preloading track",n);var l={manifestLatency:0,resolveLatency:0},p=this._emeManager.getKeySystemInfo().then(function(r){return f.create({abrManager:this._abrManager,keySystem:r.keySystem,licenseEndpoint:e.licenseEndpoint,transport:this._transport,resolver:this._audioResolver,uri:t,fileId:n,format:e.format,isAd:e.isAd,resolvedURL:e.resolvedURL,noManifest:e.noManifest,preloadedManifest:e.preloadedManifest,logData:e.logData,disableCache:this._disableCache,emitWarning:this._emitWarning.bind(this)}).load(l)}.bind(this)).then(function(e){return o.all([e,e.getBufferForFragment(e.getHeadFragment())])}).spread(function(e){return r.set(n,e),c[n]=null,s.info("Cached",n),l}).catch(function(e){return c[n]=null,this.emit(h.PLAYER_PRELOADING_ERROR,{error:e,track:e.track||null,canPlayNext:!("canPlayNext"in e)||e.canPlayNext,preloading:!0}),o.reject(e)}.bind(this));return c[n]=p,p},R.prototype.togglePlay=function(){this._isPlaying()?this.pause():this.resume()},R.prototype.setSubtitleLanguage=function(e){if(this._subtitleLanguage=e,"video"===this._acmeTrack.getMediaType())if(this._acmeTrack.getSubtitleLanguages().indexOf(e)<0)s.warn("No available subtitle for language: ",e);else{var t=document.createElement("track");t.label=e+" subtitles",t.kind="subtitles",t.srclang=e,t.src=this._acmeTrack.getSubtitleForLanguage(e),this._player.appendChild(t),this._subtitlesVisible&&this.showSubtitles()}},R.prototype.getSubtitleLanguages=function(){return"video"===this._acmeTrack.getMediaType()?this._acmeTrack.getSubtitleLanguages():[]},R.prototype.setVolume=function(e){if(!this.emitSync(h.PLAYER_BEFORE_VOLUME_CHANGE,{volume:e}).defaultPrevented){if(e<0||e>1)throw new v(y.PLAYER_ATTEMPTED_VOLUME_OUT_OF_RANGE,"Volume should be in range [0, 1]");this._playerVolume=e,this._player&&(this._player.volume=this._cubicVolume?e*e*e:e)}},R.prototype.getVolume=function(){return this._playerVolume},R.prototype.getPlayerState=function(){var e=this._player;return{playing:this._isPlaying(),position:e?g(e.currentTime):0,duration:e?g(e.duration):0,volume:e?this._playerVolume:1}},R.prototype.seek=function(e){if(this._player){var t=this._playId,n=function(){if(t===this._playId){var n=E(e);n<0?n=0:n>=this._player.duration&&(n=this._player.duration),this._player.currentTime=n}else s.info("Seek dropped: playId has changed.")}.bind(this);this._loaded?n():this.once(h.PLAYER_LOAD,n),this._getBufferingLatency().then(function(e){this._tracker.trackSeekRebuffering(e)}.bind(this))}},R.prototype.pause=function(){this._player&&this._isPlaying()&&new o(function(e){e(this._player.pause())}.bind(this)).catch(function(){})},R.prototype.resume=function(){this._player&&!this._isPlaying()&&new o(function(e){e(this._player.play())}.bind(this)).catch(function(){})},R.prototype.stop=function(e,n){var r=[],i=e||{};if(this.emit(h.PLAYER_BEFORE_STOP,{timestamp:Date.now(),logData:i}),this._tracker.trackStopped(e),this._buffer.abort(!0),this._emeManager&&r.push(this._emeManager.destroySessions()),this._player){this._fatalOnNextError=this._shouldNextErrorBeFatal(),this._fatalOnNextError&&s.warn("MediaError detected: next immediate media error will be fatal.");var a=this._player.src;T.test(a)&&t.URL.revokeObjectURL(a),this._player.removeAttribute("src"),this._player.load()}if(this._acmeTrack&&this._disableCache&&this._acmeTrack.clearCachedBuffers(),this._acmeTrack&&"video"===this._acmeTrack.getMediaType()){for(var u=this._player.children,c=0,l=u.length;c<l;c++)this._player.removeChild(u[c]);var f=this._getVideoContainer();f&&this._player.parentNode===f&&(this._newElementPerTrack||"video"!==n)&&(f.removeChild(this._player),this.emit(h.PLAYER_VIDEO_ELEMENT_REMOVED))}return this.emit(h.PLAYER_STOPPED),o.all(r).then(function(){return!0})},R.prototype.hideSubtitles=function(){for(var e=this._player.textTracks,t=0,n=e.length;t<n;t++)e[t].mode=S;this._subtitlesVisible=!1},R.prototype.showSubtitles=function(){for(var e=this._player.textTracks,t=0,n=e.length;t<n;t++){var r=e[t];r.language===this._subtitleLanguage?r.mode="showing":r.mode=S}this._subtitlesVisible=!0},R.prototype.getKeySystemInfo=function(){return this._emeManager?this._emeManager.getKeySystemInfo():o.resolve(null)},e.exports=R}).call(this,n("pCvA"))},RiSW:function(e,t,n){var r=n("PE9J");e.exports=function(e,t){if(null==e)return{};var n,i,o=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},RoC8:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Rzld:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"S+Ue":function(e,t,n){"use strict";var r=n("vdEC"),i=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,a=i(n("e+GP")),s=r(n("tE6N")),u=n("hBZP"),c=n("DNnd"),l=r(n("OwjE")),f=n("czHv"),p=n("J9Vn"),h=n("TTuV"),d=n("cifS"),_=n("FWK2"),y=n("MN4F"),v=n("fFKA"),m=(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),g=function(){return(g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},E=function(e){function t(n){var r=n.clientId,i=n.getToken,o=n.transport,a=n.eventSender,u=n.properties,p=n.storage,_=void 0===p?(0,y.getLocalStorage)():p,m=n.timeout,g=void 0===m?300:m,E=n.installationId,b=void 0===E?(0,h.defaultInstallationId)(_||void 0):E,T=n.backgroundFetchInterval,S=void 0===T?_&&c.DEFAULT_BACKGROUND_FETCH_INTERVAL||void 0:T,R=e.call(this)||this;if(R.context=null,R.configuration=null,R.activeProperties=null,R.brokenState=null,R.clientId=r,R.properties=new s.default(u),R.propertySetKey=R.properties.getPropertySetKey(r),R.defaultProperties=(0,d.propertyMapFromDefaults)(R.properties.properties),R.installationId=b,R.timeout=g,R.rcsClient=new l.default({clientId:r,installationId:b,getToken:i,transport:o,eventSender:a}),(0,h.isValidInstallationId)(b)||(R.brokenState="Missing valid installationId"),_){var w=new f.SingleItemCache(_,"rcs:"+R.clientId);R.setupCacheStrategy(w)}if(S){if(S<c.MIN_BACKGROUND_FETCH_INTERVAL)throw new Error("backgroundFetchInterval must be at least "+v.TimeUnit.stringify(c.MIN_BACKGROUND_FETCH_INTERVAL));_||t.logDeveloperWarning("You have disabled storage but configured backgroundFetch. And explain how this doesn't make sense..."),R.setupBackgroundFetchStrategy(S)}return R.on("refresh",function(e){(e&&e.userKey)!==(R.context&&R.context.userKey)&&R.rcsClient.refresh()}),R}return m(t,e),t.logDeveloperWarning=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},t.swallowException=function(e){t.logDeveloperWarning("Caught exception that would have been swallowed in production:",e)},t.prototype.refresh=function(e){if(void 0===e&&(e=null),"object"!==(0,a.default)(e))throw new TypeError("context must be of type object or null");null!==e&&(0,s.hashJsonValue)(this.context)===(0,s.hashJsonValue)(e)||this.updateContext(e)},t.prototype.fetchConfig=function(){return t.logDeveloperWarning('"fetchConfig" method in Resolver has been renamed to "fetch" and soon will be removed.'),this.fetch()},t.prototype.fetch=function(e){var n=this,r=void 0===e?{}:e,i=r.timeout,o=void 0===i?this.timeout:i,a=r.fetchType;if(this.brokenState)return t.logDeveloperWarning("Will not fetch due to "+this.brokenState),Promise.resolve(!1);var u=this.propertySetKey,c=(0,s.hashJsonValue)(this.context);return this.rcsClient.resolveConfig({timeout:o,propertySetKey:u,fetchType:a}).then(function(e){return(0,s.hashJsonValue)(n.context)===c&&(n.updateConfiguration(e),!0)}).catch(function(e){return t.logDeveloperWarning("Remote Config Resolver: Fetch failed.",e),!1})},t.prototype.activateFetched=function(){t.logDeveloperWarning('"activateFetched" method in Resolver has been renamed to "activate" and soon will be removed.'),this.activate()},t.prototype.activate=function(){this.updateActive(this.configuration)},t.prototype.load=function(e){return t.logDeveloperWarning('"load" method in Resolver has been renamed to "resolve" and soon will be removed.'),this.resolve(e)},t.prototype.resolve=function(e){if(void 0===e&&(e={}),"object"!==(0,a.default)(e))throw new TypeError("context must be of type object or null");return this.guardedLoad(e)},t.prototype.getBool=function(e){return this.get("bool",e)},t.prototype.getInt=function(e){return this.get("int",e)},t.prototype.getEnum=function(e){return this.get("enum",e)},t.prototype.getPropertiesAsObject=function(){if(!this.activeProperties)throw new Error("Active properties are not yet available. Did you call resolver.load() and wait for it to complete?");return(0,d.propertyMapToValueObject)(this.activeProperties)},Object.defineProperty(t.prototype,"isActive",{get:function(){return null!==this.activeProperties},enumerable:!0,configurable:!0}),t.prototype.setupCacheStrategy=function(e){var n=this;this.on(t.Event.FETCH,function(){if(n.context&&n.configuration)try{e.set((0,s.hashJsonValue)(n.context),n.configuration)}catch(e){t.swallowException(e)}}),this.on(t.Event.REFRESH,function(){try{n.configuration=e.get((0,s.hashJsonValue)(n.context))||null}catch(e){t.swallowException(e)}})},t.prototype.setupBackgroundFetchStrategy=function(e){var n=this,r=new _.ScheduledTask(function(e){n.fetch({timeout:!1,fetchType:e})}),i=!1,o=!1;this.on(t.Event.REFRESH,function(){r.cancel(),o=!1,i=!1}),this.on(t.Event.ACTIVATE,function(){o||(o=!0,r.reschedule(i?(0,y.resolveTimeout)(e).then(function(){return l.FetchType.BACKGROUND_SYNC}):(0,y.resolveOnLoad)().then(function(){return l.FetchType.DELAYED})))}),this.on(t.Event.FETCH,function(){i=!0,o&&r.reschedule((0,y.resolveTimeout)(e).then(function(){return l.FetchType.BACKGROUND_SYNC}))})},t.prototype.guardedLoad=function(e){return function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function(){var t;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,function(n){switch(n.label){case 0:return t=!e||null===e.userKey,this.refresh(e),this.configuration||t?[3,2]:[4,this.fetch({fetchType:l.FetchType.BLOCKING})];case 1:n.sent(),n.label=2;case 2:return this.activeProperties&&!t||this.activate(),[2]}})})},t.prototype.updateContext=function(e){this.configuration=null,this.activeProperties=null;var n=this.context;this.context=e?Object.freeze(g({},e)):null,this.emit(t.Event.REFRESH,n)},t.prototype.updateConfiguration=function(e){this.configuration=e,this.emit(t.Event.FETCH)},t.prototype.updateActive=function(e){this.activeProperties=(0,d.mergePropertyMaps)(this.defaultProperties,e&&e.properties),this.logApplied(this.configuration).catch(function(e){t.swallowException(e)}),this.emit(t.Event.ACTIVATE)},t.prototype.logApplied=function(e){var t=this.propertySetKey;if(null===e)return this.rcsClient.defaultConfigApplied(t);var n=e.rcsFetchTime,r=(0,d.getUniquePropertyGroupIds)(e.properties);return 0===r.length?this.rcsClient.defaultConfigApplied(t,e.configurationAssignmentId):this.rcsClient.configApplied(t,e.configurationAssignmentId,r,n)},t.prototype.get=function(e,t){if(!this.activeProperties)throw new Error("You must activate a config before getting values.");var n=this.activeProperties[t];if(!n)throw new Error('Property "'+t+'" could not be found. Did you forget to define it in properties.yaml?');if(n.type!==e)throw new Error('Property "'+t+'" of type '+n.type+" was accessed as "+e);return n.value},function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,a.default)(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);o>3&&s&&Object.defineProperty(t,n,s)}([p.memoizeAsync],t.prototype,"guardedLoad",null),t}(u.EventEmitter);!function(e){!function(e){e.FETCH="fetch",e.ACTIVATE="activate",e.REFRESH="refresh"}(e.Event||(e.Event={}))}(E||(E={}));var b=E;t.default=b},S0cF:function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("OlH2")),o=new i.default.abr.SimpleAbrManager;o.configure({defaultBandwidthEstimate:8e6});var a=function(){function e(e){this.player=new i.default.Player(e)}return e.prototype.configure=function(e){return e.abrFactory||(e.abrFactory=function(){return o}),this.player.configure(e)},e.prototype.getNetworkingEngine=function(){return this.player.getNetworkingEngine()},e.prototype.load=function(e,t,n){return this.player.load(e,t,n)},e.prototype.unload=function(){return this.player.unload()},e.prototype.keySystem=function(){return this.player.keySystem()},e.prototype.getTextTracks=function(){return this.player.getTextTracks()},e.prototype.getVariantTracks=function(){return this.player.getVariantTracks()},e.prototype.getStats=function(){return this.player.getStats()},e.prototype.addEventListener=function(e,t,n){return this.player.addEventListener(e,t,n)},e.prototype.removeEventListener=function(e,t,n){return this.player.removeEventListener(e,t,n)},e.prototype.selectTextLanguage=function(e,t){return this.player.selectTextLanguage(e,t)},e.prototype.setTextTrackVisibility=function(e){return this.player.setTextTrackVisibility(e)},e.prototype.isTextTrackVisible=function(){return this.player.isTextTrackVisible()},e}();t.default=a},S411:function(e,t){e.exports=function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}},S6y8:function(e,t,n){"use strict";(function(t){var n=void 0!==t.performance&&"function"==typeof t.performance.now;function r(e,t){this._name=e,this._logger=t,this._steps=[],this._stepMap={},this._rootStep=null,this._lastStep=null,this._calculated=null}r.create=function(e,t){return new r(e,t)},r.prototype._walkStepTree=function(e){for(var t=[],n=0,r=0,i=e.children,o=0;o<i.length;o++){var a=i[o],s=Math.ceil(a.timestamp-e.timestamp);r=Math.max(s,r),t.push({name:a.name,ms_duration:s,parent:"__init__"===e.name?null:e.name});var u=this._walkStepTree(a);n+=u.ms_duration,t.push.apply(t,u.breakdown)}return{ms_duration:n+=r,breakdown:t}},r.prototype._getTimestamp=function(){return n?performance.now():Date.now()},r.prototype.start=function(){if(this._lastStep)throw new Error("StepTimer already started.");return this._rootStep=this._createStep("__init__"),this},r.prototype._createStep=function(e,t){var n={name:e,timestamp:this._getTimestamp(),children:[]};return this._stepMap[n.name]=n,t&&t.children.push(n),this._lastStep=n,this._calculated=null,n},r.prototype.markStep=function(e){return this.markStepFrom(this._lastStep&&this._lastStep.name,e)},r.prototype.markStepFrom=function(e,t){if(!this._lastStep)throw new TypeError("Cannot add step to a non-started StepTimer.");if(t in this._stepMap)return this;var n=e?this._stepMap[e]:this._rootStep;return n?(this._createStep(t,n),this):this},r.prototype.calculate=function(){if(this._calculated)return this._calculated;var e=this._walkStepTree(this._rootStep),t={timer_name:this._name,ms_duration:Math.ceil(e.ms_duration),breakdown:e.breakdown,breakdown_version:"1.0.0"};return this._calculated=t,t},r.prototype.sendLog=function(e,t){var n=e||{},r=this.calculate();return r.json_data=n.json_data,r.json_data_version=n.json_data_version,this._logger.logJSSDKTimer(r,t)},e.exports=r}).call(this,n("pCvA"))},SDJZ:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},"Sk/a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("uIAw"))},T1e2:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},T2JW:function(e,t,n){"use strict";var r=n("63Ad");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("WshP"),o=r(n("WnZh")),a=n("gMC6"),s=r(n("fyAB")),u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},c=function(){function e(e,t,n,r,i){this.endVideo=n,this.logError=r,this.clientModel=t,this.live=e,this.streamingRulesProvider=i}return e.prototype.init=function(e,t){var n=this;this.sessionId=t.sessionId,this.nSeekfwd=0,this.msSeekfwd=0,this.nSeekback=0,this.msSeekback=0,this.nStalls=0,this.msInitialBuffering=-1,this.msStalled=0,this.maxMsStalled=0,this.msSeekRebuffering=0,this.maxMsSeekRebuffering=0,this.startBitrate=0,this.oldBitrate=0,this.initTime=(new Date).getTime(),this.latency=0,this.bitrates=[],this.options=t,this.logged=!1,this.endVideoSent=!1,this.shouldSendEndVideo=!1,this.endReason=s.default.END_UNKNOWN,this.duration=0,this.connection_type_current="unknown",this.connection_type_start="unknown",this.incognito=!1,this.keySystem="",this.playRanges={lastPosition:t.initialPosition,ranges:[]},o.default.bindAll(this),this.clientModel.register();var r=this.live("spotify:client");r.query("session(connection, incognito)",function(e,t){e?n.logError("Failed to load client connection:",e):(n.connection_type_start=t.session.connection,n.connection_type_current=t.session.connection,n.incognito=t.session.incognito,r.get("session").on("update",function(e){"connection"in e&&(n.connection_type_current=e.connection),"incognito"in e&&(n.incognito=e.incognito)}))}),e.on(i.InternalEvents.CHANGE,this.onChange.bind(this))},e.prototype.onChange=function(e,t,n){t.isLoaded!==n.isLoaded&&(this.keySystem=this.parseKeySystem(n.keySystem));var r=(0,a.retrieveEndvideoMetadata)(this.options.metadata||{});if(0===this.latency&&n.currentTime>=0){var o=(new Date).getTime(),u=r[a.COMMAND_INITIATED_TIME_MS];this.latency=o-this.initTime,this.ui_latency=u>-1?o-u:-1}n.isSeeking&&n.currentTime!==t.currentTime&&this.seekTo(t,n),0===this.duration&&n.duration>=0&&(this.duration=n.duration),this.endReason!==n.endReason&&(this.endReason=n.endReason),n.bitrate!==this.oldBitrate&&this.updatePlayedSegment(n.currentTime,t.bitrate,n.currentTime,!1);var c=n.isEnded&&n.isBuffering,l=this.msInitialBuffering>=0;if(t.isBuffering&&!n.isBuffering||c){var f=n.time-n.lastBufferStart;l?t.bufferType===i.BufferType.SEEK?(this.msSeekRebuffering+=f,this.maxMsSeekRebuffering=Math.max(this.maxMsSeekRebuffering,f)):(this.nStalls++,this.msStalled+=f,this.maxMsStalled=Math.max(this.maxMsStalled,f)):this.msInitialBuffering=f}n.manifestLatency&&!this.manifestLatency&&(this.manifestLatency=n.manifestLatency),n.keyLatency&&!this.keyLatency&&(this.keyLatency=n.keyLatency),this.oldBitrate=n.bitrate,0===this.startBitrate&&(this.startBitrate=n.bitrate);var p=null;if(n.timeUpdate?p=s.default.END_UNEXPECTED_EXIT:!t.isPaused&&n.isPaused&&(p=s.default.END_UNEXPECTED_EXIT_WHILE_PAUSED),p&&(this.updatePlayedSegment(n.currentTime,t.bitrate,n.currentTime,!1),this.updateEndVideo(p)),n.isEnded&&!this.logged){this.updatePlayedSegment(n.currentTime,t.bitrate,n.currentTime,!0);var h=this.bitrates.length>0?this.bitrates[0].timeDiff:0,d=this.bitrates.length<=1&&h<.1;r[a.REASON_START]===s.default.END_APPLOAD&&d||this.logEndVideo(this.endReason),this.logged=!0}},e.prototype.seekTo=function(e,t){this.updatePlayedSegment(e.currentTime,e.bitrate,t.currentTime,!0);var n=t.currentTime-e.currentTime;n>0?(this.nSeekfwd++,this.msSeekfwd+=n):(this.nSeekback++,this.msSeekback-=n)},e.prototype.updatePlayedSegment=function(e,t,n,r){if(e>=0){var i=e-this.playRanges.lastPosition;i>0&&this.playRanges.ranges.push({position:this.playRanges.lastPosition,length:i}),this.playRanges.lastPosition=n}if(void 0!==this.segmentStartTime){var o=e-this.segmentStartTime;o>.01&&this.bitrates.push({timeDiff:o,endSegment:r,bitrate:t})}e>=0&&(this.segmentStartTime=n)},e.prototype.calculatePlayTimesAndBitrates=function(){for(var e=0,t=0,n=0,r=0,i={},o=0,a=this.playRanges.ranges.sort(function(e,t){return e.position<t.position?-1:e.position===t.position?0:1}),s=0,u=0;u<a.length;u++){var c=a[u].position,l=a[u].length;e+=l,c>=s?(t+=l,s=c+l):(t+=Math.max(0,c+l-s),s=Math.max(s,c+l)),o===c?r+=l:(n=Math.max(n,r),r=l),o=c+l}for(var f in n=Math.max(n,r),this.bitrates)if(this.bitrates.hasOwnProperty(f)){var p=this.bitrates[f];i.hasOwnProperty(p.bitrate)?i[p.bitrate]+=p.timeDiff:i[p.bitrate]=p.timeDiff}var h=0;for(var d in i)i.hasOwnProperty(d)&&(h+=d*i[d]/e);return{msPlayed:Math.round(1e3*e),unionPlayed:Math.round(1e3*t),maxContinuous:Math.round(1e3*n),timeWeightedBitrate:Math.round(h)}},e.prototype.parseKeySystem=function(e){switch(e){case"com.widevine.alpha":return"widevine";default:return e||""}},e.prototype.createMessage=function(e){var t=this.calculatePlayTimesAndBitrates(),n=(0,a.retrieveEndvideoMetadata)(this.options.metadata||{});return u({sequence_number:this.sequenceNumber,sequence_id:this.sequenceId,video_session_id:this.sessionId,reason_end:e,ms_played:t.msPlayed,ms_total_est:Math.round(1e3*this.duration),live:!1,ms_manifest_latency:this.manifestLatency||-1,n_seekback:this.nSeekback,ms_seekback:Math.round(1e3*this.msSeekback),n_seekfwd:this.nSeekfwd,ms_seekfwd:Math.round(1e3*this.msSeekfwd),ms_latency:Math.round(this.latency),ui_latency:this.ui_latency,start_offset_ms:Math.round(1e3*this.options.initialPosition),ms_initial_buffering:this.msInitialBuffering,ms_seek_rebuffering:this.msSeekRebuffering,ms_stalled:this.msStalled,max_ms_seek_rebuffering:this.maxMsSeekRebuffering,max_ms_stalled:this.maxMsStalled,n_stalls:this.nStalls,shuffle:!1,max_continous:t.maxContinuous,union_played:t.unionPlayed,audiocodec:"mp4a.40.5",videocodec:"vp9",incognito_mode:this.incognito,referrer_vendor:"com.spotify",streaming_rule:this.streamingRulesProvider.streamingRules(),start_bitrate:this.startBitrate,full_screen:0,time_weighted_bitrate:t.timeWeightedBitrate,prefetched_bytes:0,prefetched_bytes_loaded:-1,key_system:this.keySystem,ms_key_latency:this.keyLatency||-1,total_bytes:Math.round(t.timeWeightedBitrate*t.msPlayed/1e3/8),local_time_ms:Math.round(this.initTime),connection_type_start:this.connection_type_start,connection_type_end:this.connection_type_current,ms_played_background:0},n)},e.prototype.updateEndVideoInternal=function(e){var t=this,n=this.createMessage(e);this.endVideo.update(this.sequenceNumber,n,function(e){e?t.logError("logEndVideo, failed update:",e):t.shoul