1(self.webpackChunkequidia=self.webpackChunkequidia||[]).push([[7028],{8498:(L,P,_)=>{"use strict";_.d(P,{Z:()=>w});var i=_(4438),n=_(5717),y=_(7793),c=_(6918),l=_(1113),a=_(5144),s=_(8287),f=_(4127);function p(h,x){if(1&h&&(i.j41(0,"a",0),i.nrm(1,"video",1),i.k0s()),2&h){const d=i.XpG();i.Y8G("href",d.getLivePlayerUrl(),i.B4B),i.R7$(),i.Y8G("autoplay",d.config.autoplayLive)}}function u(h,x){if(1&h&&(i.j41(0,"div",2),i.nrm(1,"video",1),i.k0s()),2&h){const d=i.XpG();i.R7$(),i.Y8G("autoplay",d.config.autoplayLive)}}let w=(()=>{class h{constructor(d,g,b,k,C){this.isBrowser=d,this.requestService=g,this.route=b,this.directService=k,this.minimalLayoutModeService=C,this.fluxUrl=null,this.isLive=new i.bkB,this.currentTime=0,this.config=y.c}ngOnInit(){if(this.isBrowser){if(this.isMinimalLayoutMode())return void(this.directService.currentUrl=this.getFlux());n.A.injectHexaglobeScript(),setTimeout(()=>{this.initPlayer()},0)}}ngOnDestroy(){c.N.fireStop(),this.interval&&clearInterval(this.interval),this.intervalDelay&&clearInterval(this.intervalDelay)}initPlayer(){this.interval=setInterval(()=>{typeof hexaplayerNamespace<"u"&&(clearInterval(this.interval),this.initPlayerWhenScriptIsReady())},100)}initPlayerWhenScriptIsReady(){const d=this.getFlux();this.directService.currentUrl=d,this.requestService.get(`racing/directs/${d}/hls?urlOnly=true`).then(g=>{hexaplayerNamespace.initPlayerLive({idDivContainer:"liveContainer",UrlStreamInfo:g.url,titleVideo:d}),n.A.hotfixHexaglobe(),this.intervalDelay=setInterval(()=>{const k=hexaplayerNamespace.getDelayTimeFromLive();this.isLive.emit(k<10)},1e3)}).catch(console.error)}isMinimalLayoutMode(){return this.minimalLayoutModeService.isMinimalMode()}getLivePlayerUrl(){const d=this.getFlux();return`${this.config.baseUrl.api}racing/directs/${d}/hls`}getFlux(){return this.fluxUrl||this.route.snapshot.queryParams.flux||"live2"}switchChannel(){let d="racing1";this.requestService.get(`racing/directs/${d}/hls?urlOnly=true`).then(g=>{hexaplayerNamespace.switchChannel({UrlStreamInfo:g.url,titleVideo:d}),this.directService.pushChapters(d)}).catch(console.error)}static#t=this.\u0275fac=function(g){return new(g||h)(i.rXU("isBrowser"),i.rXU(l.B),i.rXU(a.nX),i.rXU(s.f),i.rXU(f.U))};static#e=this.\u0275cmp=i.VBU({type:h,selectors:[["app-block-live"]],inputs:{block:"block",context:"context",fluxUrl:"fluxUrl"},outputs:{isLive:"isLive"},decls:2,vars:1,consts:[["aria-label","Voir le direct",1,"live-player-link",3,"href"],["playsinline","",1,"video",2,"width","100%","height","100%",3,"autoplay"],["id","liveContainer"]],template:function(g,b){1&g&&i.DNE(0,p,2,2,"a",0)(1,u,2,1),2&g&&i.vxM(0,b.isMinimalLayoutMode()?0:1)},styles:[".marginBottom[_ngcontent-%COMP%]{margin-bottom:30px}@media (max-width: 1023px){#hexaglobePlayer[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]{padding:0;margin:0 -20px}}"]})}return h})()},7813:(L,P,_)=>{"use strict";_.d(P,{d:()=>y});var i=_(177),n=_(4438);let y=(()=>{class c{static#t=this.\u0275fac=function(s){return new(s||c)};static#e=this.\u0275mod=n.$C({type:c});static#n=this.\u0275inj=n.G2t({imports:[i.MD]})}return c})()},6404:(L,P,_)=>{"use strict";_.d(P,{I:()=>w});var i=_(177),n=_(4438);function y(h,x){if(1&h&&(n.qSk(),n.j41(0,"svg",3),n.nrm(1,"use"),n.k0s()),2&h){const d=n.XpG(2);n.R7$(),n.BMQ("href","#logo-R"+d.reunion.num_reunion,null,"xlink")}}function c(h,x){if(1&h&&(n.qSk(),n.j41(0,"svg",4),n.nrm(1,"use"),n.k0s()),2&h){const d=n.XpG(2);n.R7$(),n.BMQ("href","#logo-R"+d.reunion.num_reunion,null,"xlink")}}function l(h,x){1&h&&(n.qSk(),n.j41(0,"svg",4),n.nrm(1,"use",5),n.k0s())}function a(h,x){if(1&h&&(n.j41(0,"div"),n.DNE(1,y,2,1,"svg",1)(2,c,2,1,"svg",2)(3,l,2,0,"svg",2),n.k0s()),2&h){const d=n.XpG();n.R7$(),n.Y8G("ngIf",(!1===d.forcePMH||null===d.forcePMH&&!d.reunion.is_pmh)&&d.reunion.num_reunion<=9),n.R7$(),n.Y8G("ngIf",(!1===d.forcePMH||null===d.forcePMH&&!d.reunion.is_pmh)&&d.reunion.num_reunion>9&&d.reunion.num_reunion<=17),n.R7$(),n.Y8G("ngIf",!0===d.forcePMH||null===d.forcePMH&&d.reunion.is_pmh||d.reunion.num_reunion>17)}}function s(h,x){if(1&h&&(n.qSk(),n.j41(0,"svg",8),n.nrm(1,"use"),n.k0s()),2&h){const d=n.XpG(2);n.R7$(),n.BMQ("href","#logo-ER"+d.reunion.num_reunion,null,"xlink")}}function f(h,x){if(1&h&&(n.qSk(),n.j41(0,"svg",9),n.nrm(1,"use"),n.k0s()),2&h){const d=n.XpG(2);n.R7$(),n.BMQ("href","#logo-ER"+d.reunion.num_reunion,null,"xlink")}}function p(h,x){1&h&&(n.qSk(),n.j41(0,"svg",4),n.nrm(1,"use",5),n.k0s())}function u(h,x){if(1&h&&(n.j41(0,"div"),n.DNE(1,s,2,1,"svg",6)(2,f,2,1,"svg",7)(3,p,2,0,"svg",2),n.k0s()),2&h){const d=n.XpG();n.R7$(),n.Y8G("ngIf",(!1===d.forcePMH||null===d.forcePMH&&!d.reunion.is_pmh)&&d.reunion.num_reunion<=9),n.R7$(),n.Y8G("ngIf",(!1===d.forcePMH||null===d.forcePMH&&!d.reunion.is_pmh)&&d.reunion.num_reunion>9&&d.reunion.num_reunion<=17),n.R7$(),n.Y8G("ngIf",!0===d.forcePMH||null===d.forcePMH&&d.reunion.is_pmh||d.reunion.num_reunion>17)}}let w=(()=>{class h{constructor(){this.reunion={},this.etag=!1,this.forcePMH=null}static#t=this.\u0275fac=function(g){return new(g||h)};static#e=this.\u0275cmp=n.VBU({type:h,selectors:[["app-reunion-tag"]],inputs:{reunion:"reunion",etag:"etag",forcePMH:"forcePMH"},standalone:!0,features:[n.aNF],decls:2,vars:2,consts:[[4,"ngIf"],["viewBox","0 0 32 21",4,"ngIf"],["viewBox","0 0 43 22",4,"ngIf"],["viewBox","0 0 32 21"],["viewBox","0 0 43 22"],[0,"xlink","href","#logo-pmh"],["viewBox","0 0 57 26",4,"ngIf"],["viewBox","0 0 64 26",4,"ngIf"],["viewBox","0 0 57 26"],["viewBox","0 0 64 26"]],template:function(g,b){1&g&&n.DNE(0,a,4,3,"div",0)(1,u,4,3,"div",0),2&g&&(n.Y8G("ngIf",!1===b.etag),n.R7$(),n.Y8G("ngIf",!0===b.etag))},dependencies:[i.bT],styles:[".num-reunion[_ngcontent-%COMP%]{font-family:Saira;font-style:italic;font-weight:700;font-size:18px;margin-left:5px}"]})}return h})()}
1,7766:(L,P,_)=>{"use strict";_.d(P,{v:()=>s});var i=_(7793),n=_(4438),y=_(177);const c=["*"];function l(f,p){1&f&&(n.qSk(),n.j41(0,"svg",5),n.nrm(1,"use",6),n.k0s())}function a(f,p){if(1&f&&n.nrm(0,"img",7),2&f){const u=n.XpG();n.Mz_("src","",u.config.baseUrl.assets,"/design-system/icone/star.svg",n.B4B)}}let s=(()=>{class f{constructor(){this.title="",this.race="",this.isQuinte=!1,this.isQuinteNew=!1,this.isFavorite=!1,this.hight="",this.config=i.c}ngOnChanges(u){!u.race||!this.race||(this.hight=this._formatRace(this.race))}_formatRace(u){if(2===u.split(" ").length)return u;const h=u.toUpperCase().split("C");return 2!==h.length?u:`${h[0]} C${h[1]}`}static#t=this.\u0275fac=function(w){return new(w||f)};static#e=this.\u0275cmp=n.VBU({type:f,selectors:[["app-timeline-title"]],inputs:{title:"title",race:"race",isQuinte:"isQuinte",isQuinteNew:"isQuinteNew",isFavorite:"isFavorite"},features:[n.OA$],ngContentSelectors:c,decls:7,vars:3,consts:[[1,"skew-title"],[1,"skew-title__part-high"],["class","is-quinte","viewBox","0 0 327 150",4,"ngIf"],["class","is-favorite","alt","Course favorite","loading","lazy",3,"src",4,"ngIf"],[1,"skew-title__part-reg"],["viewBox","0 0 327 150",1,"is-quinte"],[0,"xlink","href","#logo-quinte-plus"],["alt","Course favorite","loading","lazy",1,"is-favorite",3,"src"]],template:function(w,h){1&w&&(n.NAR(),n.j41(0,"span",0)(1,"span",1),n.EFF(2),n.DNE(3,l,2,0,"svg",2)(4,a,1,2,"img",3),n.k0s(),n.j41(5,"span",4),n.SdG(6),n.k0s()()),2&w&&(n.R7$(2),n.SpI(" ",h.hight," "),n.R7$(),n.Y8G("ngIf",h.isQuinte),n.R7$(),n.Y8G("ngIf",h.isFavorite))},dependencies:[y.bT],styles:['[_ngcontent-%COMP%]::root{--global-font-color: #fff}.skew-title[_ngcontent-%COMP%]{display:inline-block;font-family:Saira;font-size:14px;font-style:normal;font-weight:700;line-height:16px;text-transform:uppercase;min-height:26px;background:linear-gradient(90deg,#00000026 55px,#fff 75px);margin-bottom:16px}.skew-title__part-high[_ngcontent-%COMP%]{display:inline-block;min-width:55px;background-color:#090a3a;color:#fff;padding:5px 3px 5px 10px;position:relative;margin-right:30px}.skew-title__part-high[_ngcontent-%COMP%]:after{position:absolute;right:-8px;top:0;content:"";height:100%;width:8px;background:inherit;transform:skew(-10deg);transform-origin:top left}.skew-title__part-reg[_ngcontent-%COMP%]{position:relative;z-index:0;left:-9px;color:#090a3a;padding-right:10px}.is-quinte[_ngcontent-%COMP%]{position:absolute;height:14px;bottom:-9px;right:-12px;z-index:25}.is-favorite[_ngcontent-%COMP%]{position:absolute;top:-13px;right:-18px;z-index:24}']})}return f})()},8665:(L,P,_)=>{"use strict";_.d(P,{q:()=>y});var i=_(177),n=_(4438);let y=(()=>{class c{static#t=this.\u0275fac=function(s){return new(s||c)};static#e=this.\u0275mod=n.$C({type:c});static#n=this.\u0275inj=n.G2t({imports:[i.MD]})}return c})()},6847:(L,P,_)=>{"use strict";_.d(P,{L:()=>l});var i=_(1985),n=_(5581),c=_(7793);class l{constructor(){this.url=c.c.baseUrl.socket}getMessages(s){return new i.c(p=>(this.socket=n(this.url,{transports:["websocket"]}),this.socket.emit("subscribe",s),this.socket.on(s,u=>{p.next(u)}),()=>{this.socket.emit("unsubscribe",s),this.socket.disconnect()}))}}},8287:(L,P,_)=>{"use strict";_.d(P,{f:()=>l});var i=_(4438),n=_(1113),y=_(1282),c=_(1898);let l=(()=>{class a{constructor(f,p,u){this.requestService=f,this._amplitudeService=p,this._contentTypeService=u,this.contentType="Direct",this.currentUrl=null,this.selectedChannels=[],this.directs=null,this.events=new i.bkB}ngOnInit(){this._sendContentTypeToService()}switchChannel(f){this.events.emit({switchChannel:f}),this.currentUrl=f,console.warn("on switch sur "+f),this.requestService.get(`racing/directs/${f}/hls?urlOnly=true`).then(p=>{console.warn("url hexaglobe = "+p.url),hexaplayerNamespace.switchChannel({UrlStreamInfo:p.url,titleVideo:f}
1),this.pushChapters(f),this._getAmplitudeInfos()}).catch(console.error)}pushChapters(f){setTimeout(()=>{if(!(!this.directs?.length||typeof hexaplayerNamespace>"u"||typeof hexaplayerNamespace.setJson>"u")){hexaplayerNamespace.setJson([]);for(const p of this.directs)if(p.url===f){p.chapters&&(hexaplayerNamespace.setJson(p.chapters||[]),console.warn("setJson",p.chapters));break}}})}resetChannel(){this.currentUrl=null}_getAmplitudeInfos(){this._amplitudeService.pageTrack({"Content Audio Mode":null,"Content Id":this.currentUrl||null,"Content Name":this.currentUrl||null,"Content Slug":this.currentUrl||null,"Content Type":this.contentType,"Content View Mode":null})}_sendContentTypeToService(){this._contentTypeService.saveContentType(this.contentType)}static#t=this.\u0275fac=function(p){return new(p||a)(i.KVO(n.B),i.KVO(y.r),i.KVO(c.n))};static#e=this.\u0275prov=i.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},5581:L=>{typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Function("return this")(),L.exports=function(P){var _={};function i(n){if(_[n])return _[n].exports;var y=_[n]={i:n,l:!1,exports:{}};return P[n].call(y.exports,y,y.exports,i),y.l=!0,y.exports}return i.m=P,i.c=_,i.d=function(n,y,c){i.o(n,y)||Object.defineProperty(n,y,{enumerable:!0,get:c})},i.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(n,y){if(1&y&&(n=i(n)),8&y||4&y&&"object"==typeof n&&n&&n.__esModule)return n;var c=Object.create(null);if(i.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:n}),2&y&&"string"!=typeof n)for(var l in n)i.d(c,l,function(a){return n[a]}.bind(null,l));return c},i.n=function(n){var y=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(y,"a",y),y},i.o=function(n,y){return Object.prototype.hasOwnProperty.call(n,y)},i.p="",i(i.s="./build/index.js")}({
1"./build/index.js":function(P,_,i){"use strict";function n(w){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(x){return typeof x}:function(x){return x&&"function"==typeof Symbol&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(w)}Object.defineProperty(_,"__esModule",{value:!0}),_.Socket=_.io=_.Manager=_.protocol=void 0;var y=i( 2/*! ./url */ 3"./build/url.js"),c=i( 4/*! ./manager */ 5"./build/manager.js"),l=i( 6/*! ./socket */ 7"./build/socket.js");Object.defineProperty(_,"Socket",{enumerable:!0,get:function(){return l.Socket}});var a=i( 8/*! debug */ 9"./node_modules/debug/src/browser.js")("socket.io-client");P.exports=_=f;var s=_.managers={};function f(w,h){"object"===n(w)&&(h=w,w=void 0),h=h||{};var x,d=y.url(w),g=d.source,b=d.id;return h.forceNew||h["force new connection"]||!1===h.multiplex||s[b]&&d.path in s[b].nsps?(a("ignoring socket cache for %s",g),x=new c.Manager(g,h)):(s[b]||(a("new io instance for %s",g),s[b]=new c.Manager(g,h)),x=s[b]),d.query&&!h.query&&(h.query=d.query),x.socket(d.path,h)}_.io=f;var p=i( 10/*! socket.io-parser */ 11"./node_modules/socket.io-parser/dist/index.js");Object.defineProperty(_,"protocol",{enumerable:!0,get:function(){return p.protocol}}),_.connect=f;var u=i( 12/*! ./manager */ 13"./build/manager.js");Object.defineProperty(_,"Manager",{enumerable:!0,get:function(){return u.Manager}})},
13"./build/manager.js":function(P,_,i){"use strict";function n(b){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(C){return typeof C}:function(C){return C&&"function"==typeof Symbol&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C})(b)}function y(b,k){for(var C=0;C<k.length;C++){var S=k[C];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(b,S.key,S)}}function c(b,k,C){return(c=typeof Reflect<"u"&&Reflect.get?Reflect.get:function(O,E,v){var o=function(r,m){for(;!Object.prototype.hasOwnProperty.call(r,m)&&null!==(r=a(r)););return r}(O,E);if(o){var e=Object.getOwnPropertyDescriptor(o,E);return e.get?e.get.call(v):e.value}})(b,k,C||b)}function l(b,k){return(l=Object.setPrototypeOf||function(S,O){return S.__proto__=O,S})(b,k)}function a(b){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(C){return C.__proto__||Object.getPrototypeOf(C)})(b)}Object.defineProperty(_,"__esModule",{value:!0}),_.Manager=void 0;var s=i( 14/*! engine.io-client */ 15"./node_modules/engine.io-client/lib/index.js"),f=i( 16/*! ./socket */ 17"./build/socket.js"),p=i( 18/*! component-emitter */ 19"./node_modules/component-emitter/index.js"),u=i( 20/*! socket.io-parser */ 21"./node_modules/socket.io-parser/dist/index.js"),w=i( 22/*! ./on */ 23"./build/on.js"),h=i( 24/*! component-bind */ 25"./node_modules/component-bind/index.js"),x=i( 26/*! backo2 */ 27"./node_modules/backo2/index.js"),d=i( 28/*! debug */ 29"./node_modules/debug/src/browser.js")("socket.io-client:manager"),g=function(b){!function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&l(t,r)}(o,b);var k,C,O,v=(k=o,C=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}(),function(){var r,m,j=a(k);if(C){var T=a(this).constructor;m=Reflect.construct(j,arguments,T)}else m=j.apply(this,arguments);return this,!(r=m)||"object"!==n(r)&&"function"!=typeof r?function(A){if(void 0===A)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(this):r});function o(e,t){(function(T,R){if(!(T instanceof R))throw TypeError("Cannot call a class as a function")})(this,o),(r=v.call(this)).nsps={},r.subs=[],e&&"object"===n(e)&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",r.opts=t,r.reconnection(!1!==t.reconnection),r.reconnectionAttempts(t.reconnectionAttempts||1/0),r.reconnectionDelay(t.reconnectionDelay||1e3),r.reconnectionDelayMax(t.reconnectionDelayMax||5e3),r.randomizationFactor(t.randomizationFactor||.5),r.backoff=new x({min:r.reconnectionDelay(),max:r.reconnectionDelayMax(),jitter:r.randomizationFactor()}),r.timeout(null==t.timeout?2e4:t.timeout),r._readyState="closed",r.uri=e;var r,m=t.parser||u;return r.encoder=new m.Encoder,r.decoder=new m.Decoder,r._autoConnect=!1!==t.autoConnect,r._autoConnect&&r.open(),r}return O=[{key:"reconnection",value:function(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}},{key:"reconnectionAttempts",value:function(t){return void 0===t?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}},{key:"reconnectionDelay",value:function(t){var r;return void 0===t?this._reconnectionDelay:(this._reconnectionDelay=t,null===(r=this.backoff)||void 0===r||r.setMin(t),this)}},{key:"randomizationFactor",value:function(t){var r;return void 0===t?this._randomizationFactor:(this._randomizationFactor=t,null===(r=this.backoff)||void 0===r||r.setJitter(t),this)}},{key:"reconnectionDelayMax",value:function(t){var r;return void 0===t?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,null===(r=this.backoff)||void 0===r||r.setMax(t),this)}},{key:"timeout",value:function(t){return arguments.length?(this._timeout=t,this):this._timeout}},{key:"maybeReconnectOnOpen",value:function(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}},{key:"open",value:function(t){var r=this;if(d("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;d("opening %s",this.uri),this.engine=s(this.uri,this.opts);var m=this.engine,j=this;this._readyState="opening",this.skipReconnect=!1;var T=w.on(m,"open",function(){j.onopen(),t&&t()}),R=w.on(m,"error",function(M){d("error"),j.cleanup(),j._readyState="closed",c(a(o.prototype),"emit",r).call(r,"error",M),t?t(M):j.maybeReconnectOnOpen()});if(!1!==this._timeout){var A=this._timeout;d("connect attempt will timeout after %d",A),0===A&&T.destroy();var B=setTimeout(function(){d("connect attempt timed out after %d",A),T.destroy(),m.close(),m.emit("error",Error("timeout"))},A);this.subs.push({destroy:function(){clearTimeout(B)}})}return this.subs.push(T),this.subs.push(R),this}},{key:"connect",value:function(t){return this.open(t)}},{key:"onopen",value:function(){d("open"),this.cleanup(),this._readyState="open",c(a(o.prototype),"emit",this).call(this,"open");var t=this.engine;this.subs.push(w.on(t,"data",h(this,"ondata")),w.on(t,"ping",h(this,"onping")),w.on(t,"error",h(this,"onerror")),w.on(t,"close",h(this,"onclose")),w.on(this.decoder,"decoded",h(this,"ondecoded")))}},{key:"onping",value:function(){c(a(o.prototype),"emit",this).call(this,"ping")}},{key:"ondata",value:function(t){this.decoder.add(t)}},{key:"ondecoded",value:function(t){c(a(o.prototype),"emit",this).call(this,"packet",t)}},{key:"onerror",value:function(t){d("error",t),c(a(o.prototype),"emit",this).call(this,"error",t)}},{key:"socket",value:function(t,r){var m=this.nsps[t];return m||(m=new f.Socket(this,t,r),this.nsps[t]=m),m}},{key:"_destroy",value:function(t){for(var m=0,j=Object.keys(this.nsps);m<j.length;m++){var T=j[m];if(this.nsps[T].active)return void d("socket %s is still active, skipping close",T)}this._close()}},{key:"_packet",value:function(t){d("writing packet %j",t),t.query&&0===t.type&&(t.nsp+="?"+t.query);for(var r=this.encoder.encode(t),m=0;m<r.length;m++)this.engine.write(r[m],t.options)}},{key:"cleanup",value:function(){d("cleanup");for(var t=this.subs.length,r=0;r<t;r++)this.subs.shift().destroy();this.decoder.destroy()}},{key:"_close",value:function(){d("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,"opening"===this._readyState&&this.cleanup(),this.backoff.reset(),this._readyState="closed",this.engine&&this.engine.close()}},{key:"disconnect",value:function(){return this._close()}},{key:"onclose",value:function(t){d("onclose"),this.cleanup(),this.backoff.reset(),this._readyState="closed",c(a(o.prototype),"emit",this).call(this,"close",t),this._reconnection&&!this.skipReconnect&&this.reconnect()}},{key:"reconnect",value:function(){var t=this;if(this._reconnecting||this.skipReconnect)return this;var r=this;if(this.backoff.attempts>=this._reconnectionAttempts)d("reconnect failed"),this.backoff.reset(),c(a(o.prototype),"emit",this).call(this,"reconnect_failed"),this._reconnecting=!1;else{var m=this.backoff.duration();d("will wait %dms before reconnect attempt",m),this._reconnecting=!0;var j=setTimeout(function(){!r.skipReconnect&&(d("attempting reconnect"),c(a(o.prototype),"emit",t).call(t,"reconnect_attempt",r.backoff.attempts),r.skipReconnect||r.open(function(T){T?(d("reconnect attempt error"),r._reconnecting=!1,r.reconnect(),c(a(o.prototype),"emit",t).call(t,"reconnect_error",T)):(d("reconnect success"),r.onreconnect())}
29))},m);this.subs.push({destroy:function(){clearTimeout(j)}})}}},{key:"onreconnect",value:function(){var t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),c(a(o.prototype),"emit",this).call(this,"reconnect",t)}}],y(o.prototype,O),o}(p);_.Manager=g},
29"./build/on.js":function(P,_,i){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.on=void 0,_.on=function(y,c,l){return y.on(c,l),{destroy:function(){y.off(c,l)}}}},
29"./build/socket.js":function(P,_,i){"use strict";function n(g){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(k){return typeof k}:function(k){return k&&"function"==typeof Symbol&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k})(g)}function y(g,b){(null==b||b>g.length)&&(b=g.length);for(var k=0,C=Array(b);k<b;k++)C[k]=g[k];return C}function c(g,b){for(var k=0;k<b.length;k++){var C=b[k];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(g,C.key,C)}}function l(g,b,k){return(l=typeof Reflect<"u"&&Reflect.get?Reflect.get:function(S,O,E){var v=function(t,r){for(;!Object.prototype.hasOwnProperty.call(t,r)&&null!==(t=s(t)););return t}(S,O);if(v){var o=Object.getOwnPropertyDescriptor(v,O);return o.get?o.get.call(E):o.value}})(g,b,k||g)}function a(g,b){return(a=Object.setPrototypeOf||function(C,S){return C.__proto__=S,C})(g,b)}function s(g){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)})(g)}Object.defineProperty(_,"__esModule",{value:!0}),_.Socket=void 0;var f=i( 30/*! socket.io-parser */ 31"./node_modules/socket.io-parser/dist/index.js"),p=i( 32/*! component-emitter */ 33"./node_modules/component-emitter/index.js"),u=i( 34/*! ./on */ 35"./build/on.js"),w=i( 36/*! component-bind */ 37"./node_modules/component-bind/index.js"),h=i( 38/*! debug */ 39"./node_modules/debug/src/browser.js")("socket.io-client:socket"),x=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),d=function(g){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(v,g);var b,k,S,E=(b=v,k=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}(),function(){var t,r,m=s(b);if(k){var j=s(this).constructor;r=Reflect.construct(m,arguments,j)}else r=m.apply(this,arguments);return this,!(t=r)||"object"!==n(t)&&"function"!=typeof t?function(R){if(void 0===R)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(this):t});function v(o,e,t){var r;return function(j,T){if(!(j instanceof T))throw TypeError("Cannot call a class as a function")}(this,v),(r=E.call(this)).ids=0,r.acks={},r.receiveBuffer=[],r.sendBuffer=[],r.flags={},r.io=o,r.nsp=e,r.ids=0,r.acks={},r.receiveBuffer=[],r.sendBuffer=[],r.connected=!1,r.disconnected=!0,r.flags={},t&&t.auth&&(r.auth=t.auth),r.io._autoConnect&&r.open(),r}return S=[{key:"subEvents",value:function(){if(!this.subs){var e=this.io;this.subs=[u.on(e,"open",w(this,"onopen")),u.on(e,"packet",w(this,"onpacket")),u.on(e,"close",w(this,"onclose"))]}}},{key:"connect",value:function(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}},{key:"open",value:function(){return this.connect()}},{key:"send",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.unshift("message"),this.emit.apply(this,t),this}},{key:"emit",value:function(e){if(x.hasOwnProperty(e))throw Error('"'+e+'" is a reserved event name');for(var t=arguments.length,r=Array(t>1?t-1:0),m=1;m<t;m++)r[m-1]=arguments[m];r.unshift(e);var j={type:f.PacketType.EVENT,data:r,options:{}};return j.options.compress=!1!==this.flags.compress,"function"==typeof r[r.length-1]&&(h("emitting packet with ack id %d",this.ids),this.acks[this.ids]=r.pop(),j.id=this.ids++),!this.flags.volatile||this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable&&this.connected?this.connected?this.packet(j):this.sendBuffer.push(j):h("discard packet as the transport is not currently writable"),this.flags={},this}},{key:"packet",value:function(e){e.nsp=this.nsp,this.io._packet(e)}},{key:"onopen",value:function(){var e=this;h("transport is open - connecting"),"function"==typeof this.auth?this.auth(function(t){e.packet({type:f.PacketType.CONNECT,data:t})}):this.packet({type:f.PacketType.CONNECT,data:this.auth})}},{key:"onclose",value:function(e){h("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,l(s(v.prototype),"emit",this).call(this,"disconnect",e)}},{key:"onpacket",value:function(e){if(e.nsp===this.nsp)switch(e.type){case f.PacketType.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid):l(s(v.prototype),"emit",this).call(this,"connect_error",Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case f.PacketType.EVENT:case f.PacketType.BINARY_EVENT:this.onevent(e);break;case f.PacketType.ACK:case f.PacketType.BINARY_ACK:this.onack(e);break;case f.PacketType.DISCONNECT:this.ondisconnect();break;case f.PacketType.CONNECT_ERROR:var r=Error(e.data.message);r.data=e.data.data,l(s(v.prototype),"emit",this).call(this,"connect_error",r)}}},{key:"onevent",value:function(e){var t=e.data||[];
39h("emitting event %j",t),null!=e.id&&(h("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}},{key:"emitEvent",value:function(e){if(this._anyListeners&&this._anyListeners.length){var t,r=function(j,T){if(typeof Symbol>"u"||null==j[Symbol.iterator]){if(Array.isArray(j)||(B=function(N,q){if(N){if("string"==typeof N)return y(N,q);var U=Object.prototype.toString.call(N).slice(8,-1);if("Object"===U&&N.constructor&&(U=N.constructor.name),"Map"===U||"Set"===U)return Array.from(N);if("Arguments"===U||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return y(N,q)}}(j))){B&&(j=B);var R=0,A=function(){};return{s:A,n:function(){return R>=j.length?{done:!0}:{done:!1,value:j[R++]}},e:function(N){throw N},f:A}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var B,M,D=!0,I=!1;return{s:function(){B=j[Symbol.iterator]()},n:function(){var N=B.next();return D=N.done,N},e:function(N){I=!0,M=N},f:function(){try{D||null==B.return||B.return()}finally{if(I)throw M}}}}(this._anyListeners.slice());try{for(r.s();!(t=r.n()).done;
39)t.value.apply(this,e)}catch(m){r.e(m)}finally{r.f()}}l(s(v.prototype),"emit",this).apply(this,e)}},{key:"ack",value:function(e){var t=this,r=!1;return function(){if(!r){r=!0;for(var m=arguments.length,j=Array(m),T=0;T<m;T++)j[T]=arguments[T];h("sending ack %j",j),t.packet({type:f.PacketType.ACK,id:e,data:j})}}}},{key:"onack",value:function(e){var t=this.acks[e.id];"function"==typeof t?(h("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):h("bad ack %s",e.id)}},{key:"onconnect",value:function(e){h("socket connected with id %s",e),this.id=e,this.connected=!0,this.disconnected=!1,l(s(v.prototype),"emit",this).call(this,"connect"),this.emitBuffered()}},{key:"emitBuffered",value:function(){var e=this;this.receiveBuffer.forEach(function(t){return e.emitEvent(t)}),this.receiveBuffer=[],this.sendBuffer.forEach(function(t){return e.packet(t)}),this.sendBuffer=[]}},{key:"ondisconnect",value:function(){h("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}},{key:"destroy",value:function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io._destroy(this)}},{key:"disconnect",value:function(){return this.connected&&(h("performing disconnect (%s)",this.nsp),this.packet({type:f.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}},{key:"close",value:function(){return this.disconnect()}},{key:"compress",value:function(e){return this.flags.compress=e,this}},{key:"onAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}},{key:"prependAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}},{key:"offAny",value:function(e){if(!this._anyListeners)return this;if(e){for(var t=this._anyListeners,r=0;r<t.length;r++)if(e===t[r]){t.splice(r,1);break}}else this._anyListeners=[];return this}},{key:"listenersAny",value:function(){return this._anyListeners||[]}},{key:"active",get:function(){return!!this.subs}},{key:"volatile",get:function(){return this.flags.volatile=!0,this}}],c(v.prototype,S),v}(p);_.Socket=d},
39"./build/url.js":function(P,_,i){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.url=void 0;var n=i( 40/*! parseuri */ 41"./node_modules/parseuri/index.js"),y=i( 42/*! debug */ 43"./node_modules/debug/src/browser.js")("socket.io-client:url");_.url=function(l,a){var s=l;a=a||typeof location<"u"&&location,null==l&&(l=a.protocol+"//"+a.host),"string"==typeof l&&("/"===l.charAt(0)&&(l="/"===l.charAt(1)?a.protocol+l:a.host+l),/^(https?|wss?):\/\//.test(l)||(y("protocol-less url %s",l),l=void 0!==a?a.protocol+"//"+l:"https://"+l),y("parse %s",l),s=n(l)),!s.port&&(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";var f=-1!==s.host.indexOf(":")?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+f+":"+s.port,s.href=s.protocol+"://"+f+(a&&a.port===s.port?"":":"+s.port),s}},
vendor: 598 bytes, line 43
43"./node_modules/backo2/index.js":function(P,_){function i(n){this.ms=(n=n||{}).min||100,this.max=n.max||1e4,this.factor=n.factor||2,this.jitter=n.jitter>0&&n.jitter<=1?n.jitter:0,this.attempts=0}P.exports=i,i.prototype.duration=function(){var n=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var y=Math.random(),c=Math.floor(y*this.jitter*n);n=1&Math.floor(10*y)?n+c:n-c}return 0|Math.min(n,this.max)},i.prototype.reset=function(){this.attempts=0},i.prototype.setMin=function(n){this.ms=n},i.prototype.setMax=function(n){this.max=n},i.prototype.setJitter=function(n){this.jitter=n}},
vendor: 838 bytes, line 43
43"./node_modules/base64-arraybuffer/lib/base64-arraybuffer.js":function(P,_){!function(){"use strict";for(var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),y=0;y<64;y++)n[i.charCodeAt(y)]=y;_.encode=function(c){var l,a=new Uint8Array(c),s=a.length,f="";for(l=0;l<s;l+=3)f+=i[a[l]>>2],f+=i[(3&a[l])<<4|a[l+1]>>4],f+=i[(15&a[l+1])<<2|a[l+2]>>6],f+=i[63&a[l+2]];return s%3==2?f=f.substring(0,f.length-1)+"=":s%3==1&&(f=f.substring(0,f.length-2)+"=="),f},_.decode=function(c){var l,a,s,f,p,u=.75*c.length,w=c.length,h=0;"="===c[c.length-1]&&(u--,"="===c[c.length-2]&&u--);var x=new ArrayBuffer(u),d=new Uint8Array(x);for(l=0;l<w;l+=4)a=n[c.charCodeAt(l)],s=n[c.charCodeAt(l+1)],f=n[c.charCodeAt(l+2)],p=n[c.charCodeAt(l+3)],d[h++]=a<<2|s>>4,d[h++]=(15&s)<<4|f>>2,d[h++]=(3&f)<<6|63&p;return x}}()},
vendor: 282 bytes, line 43
43"./node_modules/component-bind/index.js":function(P,_){var i=[].slice;P.exports=function(n,y){if("string"==typeof y&&(y=n[y]),"function"!=typeof y)throw Error("bind() requires a function");var c=i.call(arguments,2);return function(){return y.apply(n,c.concat(i.call(arguments)))}}},
vendor: 1,337 bytes, line 43
43"./node_modules/component-emitter/index.js":function(P,_,i){function n(y){if(y)return function(l){for(var a in n.prototype)l[a]=n.prototype[a];return l}(y)}P.exports=n,n.prototype.on=n.prototype.addEventListener=function(y,c){return this._callbacks=this._callbacks||{},(this._callbacks["$"+y]=this._callbacks["$"+y]||[]).push(c),this},n.prototype.once=function(y,c){function l(){this.off(y,l),c.apply(this,arguments)}return l.fn=c,this.on(y,l),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(y,c){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var l,a=this._callbacks["$"+y];if(!a)return this;if(1==arguments.length)return delete this._callbacks["$"+y],this;for(var s=0;s<a.length;s++)if((l=a[s])===c||l.fn===c){a.splice(s,1);break}return 0===a.length&&delete this._callbacks["$"+y],this},n.prototype.emit=function(y){this._callbacks=this._callbacks||{};for(var c=Array(arguments.length-1),l=this._callbacks["$"+y],a=1;a<arguments.length;a++)c[a-1]=arguments[a];if(l){a=0;for(var s=(l=l.slice(0)).length;a<s;++a)l[a].apply(this,c)}return this},n.prototype.listeners=function(y){return this._callbacks=this._callbacks||{},this._callbacks["$"+y]||[]},n.prototype.hasListeners=function(y){return!!this.listeners(y).length}},
vendor: 2,806 bytes, lines 43-47
43"./node_modules/debug/src/browser.js":function(P,_,i){(function(n){function y(c){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(c)}_.log=function(){var l;return"object"===(typeof console>"u"?"undefined":y(console))&&console.log&&(l=console).log.apply(l,arguments)},_.formatArgs=function(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+P.exports.humanize(this.diff),this.useColors){var a="color: "+this.color;l.splice(1,0,a,"color: inherit");var s=0,f=0;l[0].replace(/%[a-zA-Z%]/g,function(p){"%%"!==p&&(s++,"%c"===p&&(f=s))}),l.splice(f,0,a)}},_.save=function(l){try{l?_.storage.setItem("debug",l):_.storage.removeItem("debug")}catch{}},_.load=function(){var l;try{l=_.storage.getItem("debug")}catch{}return!l&&void 0!==n&&"env"in n&&(l=n.env.DEBUG),l},_.useColors=function(){return typeof window<"u"&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},_.storage=function(){try{return localStorage}catch{}}(),_.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],P.exports=i( 44/*! ./common */ 45"./node_modules/debug/src/common.js")(_),P.exports.formatters.j=function(c){try{return JSON.stringify(c)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}}).call(this,i( 46/*! ./../../process/browser.js */ 47"./node_modules/process/browser.js"))},
vendor: 2,780 bytes, lines 47-49
47"./node_modules/debug/src/common.js":function(P,_,i){function n(c){return function(a){if(Array.isArray(a))return y(a)}(c)||function(a){if(typeof Symbol<"u"&&Symbol.iterator in Object(a))return Array.from(a)}(c)||function(a,s){if(a){if("string"==typeof a)return y(a,s);var f=Object.prototype.toString.call(a).slice(8,-1);if("Object"===f&&a.constructor&&(f=a.constructor.name),"Map"===f||"Set"===f)return Array.from(a);if("Arguments"===f||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return y(a,s)}}(c)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(c,l){(null==l||l>c.length)&&(l=c.length);for(var a=0,s=Array(l);a<l;a++)s[a]=c[a];return s}P.exports=function(l){function a(w){for(var h=0,x=0;x<w.length;x++)h=(h<<5)-h+w.charCodeAt(x),h|=0;return s.colors[Math.abs(h)%s.colors.length]}function s(w){var h;function x(){for(var d=arguments.length,g=Array(d),b=0;b<d;b++)g[b]=arguments[b];if(x.enabled){var k=x,C=Number(new Date);k.diff=C-(h||C),k.prev=h,k.curr=C,h=C,g[0]=s.coerce(g[0]),"string"!=typeof g[0]&&g.unshift("%O");var O=0;g[0]=g[0].replace(/%([a-zA-Z%])/g,function(E,v){if("%%"===E)return E;O++;var o=s.formatters[v];return"function"==typeof o&&(E=o.call(k,g[O]),g.splice(O,1),O--),E}),s.formatArgs.call(k,g),(k.log||s.log).apply(k,g)}}return x.namespace=w,x.enabled=s.enabled(w),x.useColors=s.useColors(),x.color=a(w),x.destroy=f,x.extend=p,"function"==typeof s.init&&s.init(x),s.instances.push(x),x}function f(){var w=s.instances.indexOf(this);return-1!==w&&(s.instances.splice(w,1),!0)}function p(w,h){var x=s(this.namespace+(void 0===h?":":h)+w);return x.log=this.log,x}function u(w){return w.toString().substring(2,w.toString().length-2).replace(/\.\*\?$/,"*")}return s.debug=s,s.default=s,s.coerce=function(h){return h instanceof Error?h.stack||h.message:h},s.disable=function(){var h=[].concat(n(s.names.map(u)),n(s.skips.map(u).map(function(x){return"-"+x}))).join(",");return s.enable(""),h},s.enable=function(h){s.save(h),s.names=[],s.skips=[];var x,d=("string"==typeof h?h:"").split(/[\s,]+/),g=d.length;for(x=0;x<g;x++)d[x]&&("-"===(h=d[x].replace(/\*/g,".*?"))[0]?s.skips.push(RegExp("^"+h.substr(1)+"$")):s.names.push(RegExp("^"+h+"$")));for(x=0;x<s.instances.length;x++){var b=s.instances[x];b.enabled=s.enabled(b.namespace)}},s.enabled=function(h){var x,d;if("*"===h[h.length-1])return!0;for(x=0,d=s.skips.length;x<d;x++)if(s.skips[x].test(h))return!1;for(x=0,d=s.names.length;x<d;x++)if(s.names[x].test(h))return!0;return!1},s.humanize=i( 48/*! ms */ 49"./node_modules/ms/index.js"),Object.keys(l).forEach(function(w){s[w]=l[w]}),s.instances=[],s.names=[],s.skips=[],s.formatters={},s.selectColor=a,s.enable(s.load()),s}},
vendor: 157 bytes, line 49
49"./node_modules/engine.io-client/lib/globalThis.browser.js":function(P,_){P.exports=typeof self<"u"?self:typeof window<"u"?window:Function("return this")()},
vendor: 525 bytes, lines 49-57
49"./node_modules/engine.io-client/lib/index.js":function(P,_,i){var n=i( 50/*! ./socket */ 51"./node_modules/engine.io-client/lib/socket.js");P.exports=function(y,c){return new n(y,c)},P.exports.Socket=n,P.exports.protocol=n.protocol,P.exports.Transport=i( 52/*! ./transport */ 53"./node_modules/engine.io-client/lib/transport.js"),P.exports.transports=i( 54/*! ./transports/index */ 55"./node_modules/engine.io-client/lib/transports/index.js"),P.exports.parser=i( 56/*! engine.io-parser */ 57"./node_modules/engine.io-parser/lib/index.js")},
vendor: 9,713 bytes, lines 57-69
57"./node_modules/engine.io-client/lib/socket.js":function(P,_,i){function n(){return(n=Object.assign||function(d){for(var g=1;g<arguments.length;g++){var b=arguments[g];for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(d[k]=b[k])}return d}).apply(this,arguments)}function y(d){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(b){return typeof b}:function(b){return b&&"function"==typeof Symbol&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b})(d)}function c(d,g){for(var b=0;b<g.length;b++){var k=g[b];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(d,k.key,k)}}function l(d,g){return(l=Object.setPrototypeOf||function(k,C){return k.__proto__=C,k})(d,g)}function a(d){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)})(d)}var s=i( 58/*! ./transports/index */ 59"./node_modules/engine.io-client/lib/transports/index.js"),f=i( 60/*! component-emitter */ 61"./node_modules/component-emitter/index.js"),p=i( 62/*! debug */ 63"./node_modules/debug/src/browser.js")("engine.io-client:socket"),u=i( 64/*! engine.io-parser */ 65"./node_modules/engine.io-parser/lib/index.js"),w=i( 66/*! parseuri */ 67"./node_modules/parseuri/index.js"),h=i( 68/*! parseqs */ 69"./node_modules/parseqs/index.js"),x=function(d){!function(o,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),e&&l(o,e)}(E,d);var g,b,O=(g=E,b=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}(),function(){var e,t,r=a(g);if(b){var m=a(this).constructor;t=Reflect.construct(r,arguments,m)}else t=r.apply(this,arguments);return this,!(e=t)||"object"!==y(e)&&"function"!=typeof e?function(T){if(void 0===T)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return T}(this):e});function E(v){var o,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r,m){if(!(r instanceof m))throw TypeError("Cannot call a class as a function")}(this,E),o=O.call(this),v&&"object"===y(v)&&(e=v,v=null),v?(v=w(v),e.hostname=v.host,e.secure="https"===v.protocol||"wss"===v.protocol,e.port=v.port,v.query&&(e.query=v.query)):e.host&&(e.hostname=w(e.host).host),o.secure=null!=e.secure?e.secure:typeof location<"u"&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=o.secure?"443":"80"),o.hostname=e.hostname||(typeof location<"u"?location.hostname:"localhost"),o.port=e.port||(typeof location<"u"&&location.port?location.port:o.secure?443:80),o.transports=e.transports||["polling","websocket"],o.readyState="",o.writeBuffer=[],o.prevBufferLen=0,o.opts=n({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,jsonp:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{}},e),o.opts.path=o.opts.path.replace(/\/$/,"")+"/","string"==typeof o.opts.query&&(o.opts.query=h.decode(o.opts.query)),o.id=null,o.upgrades=null,o.pingInterval=null,o.pingTimeout=null,o.pingTimeoutTimer=null,o.open(),o}return c(E.prototype,[{key:"createTransport",value:function(o){p('creating transport "%s"',o);var e=function(m){var j={};for(var T in m)m.hasOwnProperty(T)&&(j[T]=m[T]);return j}(this.opts.query);e.EIO=u.protocol,e.transport=o,this.id&&(e.sid=this.id);var t=n({},this.opts.transportOptions[o],this.opts,{query:e,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return p("options: %j",t),new s[o](t)}},{key:"open",value:function(){var o;if(this.opts.rememberUpgrade&&E.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))o="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout(function(){e.emit("error","No transports available")},0)}o=this.transports[0]}this.readyState="opening";try{o=this.createTransport(o)}catch(t){return p("error while creating transport: %s",t),this.transports.shift(),void this.open()}o.open(),this.setTransport(o)}},{key:"setTransport",value:function(o){p("setting transport %s",o.name);var e=this;this.transport&&(p("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=o,o.on("drain",function(){e.onDrain()}).on("packet",function(t){e.onPacket(t)}).on("error",function(t){e.onError(t)}).on("close",function(){e.onClose("transport close")})}},{key:"probe",value:function(o){p('probing transport "%s"',o);var e=this.createTransport(o,{probe:1}),t=!1,r=this;function m(){r.onlyBinaryUpgrades&&(t=t||!this.supportsBinary&&r.transport.supportsBinary),t||(p('probe transport "%s" opened',o),e.send([{type:"ping",data:"probe"}]),e.once("packet",function(I){if(!t)if("pong"===I.type&&"probe"===I.data)p('probe transport "%s" pong',o),r.upgrading=!0,r.emit("upgrading",e),e&&(E.priorWebsocketSuccess="websocket"===e.name,p('pausing current transport "%s"',r.transport.name),r.transport.pause(function(){!t&&"closed"!==r.readyState&&(p("changing transport and sending upgrade packet"),M(),r.setTransport(e),e.send([{type:"upgrade"}]),r.emit("upgrade",e),e=null,r.upgrading=!1,r.flush())}));else{p('probe transport "%s" failed',o);var F=Error("probe error");F.transport=e.name,r.emit("upgradeError",F)}}))}function j(){t||(t=!0,M(),e.close(),e=null)}function T(D){var I=Error("probe error: "+D);I.transport=e.name,j(),p('probe transport "%s" failed because of error: %s',o,D),r.emit("upgradeError",I)}function R(){T("transport closed")}function A(){T("socket closed")}function B(D){e&&D.name!==e.name&&(p('"%s" works - aborting "%s"',D.name,e.name),j())}function M(){e.removeListener("open",m),e.removeListener("error",T),e.removeListener("close",R),r.removeListener("close",A),r.removeListener("upgrading",B)}E.priorWebsocketSuccess=!1,e.once("open",m),e.once("error",T),e.once("close",R),this.once("close",A),this.once("upgrading",B),e.open()}},{key:"onOpen",value:function(){if(p("socket open"),this.readyState="open",E.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){p("starting upgrade probes");for(var o=0,e=this.upgrades.length;o<e;o++)this.probe(this.upgrades[o])}}},{key:"onPacket",value:function(o){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(p('socket receive: type "%s", data "%s"',o.type,o.data),this.emit("packet",o),this.emit("heartbeat"),o.type){case"open":this.onHandshake(JSON.parse(o.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emit("pong");break;case"error":var e=Error("server error");e.code=o.data,this.onError(e);break;case"message":this.emit("data",o.data),this.emit("message",o.data)}else p('packet received with socket readyState "%s"',this.readyState)}},{key:"onHandshake",value:function(o){this.emit("handshake",o),this.id=o.sid,this.transport.query.sid=o.sid,this.upgrades=this.filterUpgrades(o.upgrades),this.pingInterval=o.pingInterval,this.pingTimeout=o.pingTimeout,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}},{key:"resetPingTimeout",value:function(){var o=this;clearTimeout(this.pingTimeoutTimer),this.pingTimeoutTimer=setTimeout(function(){o.onClose("ping timeout")},this.pingInterval+this.pingTimeout)}},{key:"onDrain",value:function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()}},{key:"flush",value:function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(p("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))}},{key:"write",value:function(o,e,t){return this.sendPacket("message",o,e,t),this}},{key:"send",value:function(o,e,t){return this.sendPacket("message",o,e,t),this}},{key:"sendPacket",value:function(o,e,t,r){if("function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=null),"closing"!==this.readyState&&"closed"!==this.readyState){(t=t||{}).compress=!1!==t.compress;var m={type:o,data:e,options:t};this.emit("packetCreate",m),this.writeBuffer.push(m),r&&this.once("flush",r),this.flush()}}},{key:"close",value:function(){var o=this;function e(){o.onClose("forced close"),p("socket closing - telling transport to close"),o.transport.close()}function t(){o.removeListener("upgrade",t),o.removeListener("upgradeError",t),e()}function r(){o.once("upgrade",t),o.once("upgradeError",t)}return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",function(){this.upgrading?r():e()}):this.upgrading?r():e()),this}},{key:"onError",value:function(o){p("socket error %j",o),E.priorWebsocketSuccess=!1,this.emit("error",o),this.onClose("transport error",o)}},{key:"onClose",value:function(o,e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){p('socket close with reason: "%s"',o);clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",o,e),this.writeBuffer=[],this.prevBufferLen=0}}},{key:"filterUpgrades",value:function(o){for(var e=[],t=0,r=o.length;t<r;t++)~this.transports.indexOf(o[t])&&e.push(o[t]);return e}}]),E}(f);x.priorWebsocketSuccess=!1,x.protocol=u.protocol,P.exports=x},
vendor: 2,700 bytes, lines 69-73
69"./node_modules/engine.io-client/lib/transport.js":function(P,_,i){function n(f){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(f)}function y(f,p){for(var u=0;u<p.length;u++){var w=p[u];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(f,w.key,w)}}function c(f,p){return(c=Object.setPrototypeOf||function(w,h){return w.__proto__=h,w})(f,p)}function l(f){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(u){return u.__proto__||Object.getPrototypeOf(u)})(f)}var a=i( 70/*! engine.io-parser */ 71"./node_modules/engine.io-parser/lib/index.js"),s=function(f){!function(k,C){if("function"!=typeof C&&null!==C)throw TypeError("Super expression must either be null or a function");k.prototype=Object.create(C&&C.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),C&&c(k,C)}(g,f);var p,u,d=(p=g,u=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}(),function(){var C,S,O=l(p);if(u){var E=l(this).constructor;S=Reflect.construct(O,arguments,E)}else S=O.apply(this,arguments);return this,!(C=S)||"object"!==n(C)&&"function"!=typeof C?function(o){if(void 0===o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(this):C});function g(b){var k;return function(S,O){if(!(S instanceof O))throw TypeError("Cannot call a class as a function")}(this,g),(k=d.call(this)).opts=b,k.query=b.query,k.readyState="",k.socket=b.socket,k}return y(g.prototype,[{key:"onError",value:function(k,C){var S=Error(k);return S.type="TransportError",S.description=C,this.emit("error",S),this}},{key:"open",value:function(){return("closed"===this.readyState||""===this.readyState)&&(this.readyState="opening",this.doOpen()),this}},{key:"close",value:function(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}},{key:"send",value:function(k){if("open"!==this.readyState)throw Error("Transport not open");this.write(k)}},{key:"onOpen",value:function(){this.readyState="open",this.writable=!0,this.emit("open")}},{key:"onData",value:function(k){var C=a.decodePacket(k,this.socket.binaryType);this.onPacket(C)}},{key:"onPacket",value:function(k){this.emit("packet",k)}},{key:"onClose",value:function(){this.readyState="closed",this.emit("close")}}]),g}(i( 72/*! component-emitter */ 73"./node_modules/component-emitter/index.js"));P.exports=s},
vendor: 785 bytes, lines 73-81
73"./node_modules/engine.io-client/lib/transports/index.js":function(P,_,i){var n=i( 74/*! xmlhttprequest-ssl */ 75"./node_modules/engine.io-client/lib/xmlhttprequest.js"),y=i( 76/*! ./polling-xhr */ 77"./node_modules/engine.io-client/lib/transports/polling-xhr.js"),c=i( 78/*! ./polling-jsonp */ 79"./node_modules/engine.io-client/lib/transports/polling-jsonp.js"),l=i( 80/*! ./websocket */ 81"./node_modules/engine.io-client/lib/transports/websocket.js");_.polling=function(s){var p=!1,u=!1,w=!1!==s.jsonp;if(typeof location<"u"){var h="https:"===location.protocol,x=location.port;x||(x=h?443:80),p=s.hostname!==location.hostname||x!==s.port,u=s.secure!==h}if(s.xdomain=p,s.xscheme=u,"open"in new n(s)&&!s.forceJSONP)return new y(s);if(!w)throw Error("JSONP disabled");return new c(s)},_.websocket=l},
vendor: 4,303 bytes, lines 81-85
81"./node_modules/engine.io-client/lib/transports/polling-jsonp.js":function(P,_,i){function n(g){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(k){return typeof k}:function(k){return k&&"function"==typeof Symbol&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k})(g)}function y(g,b){for(var k=0;k<b.length;k++){var C=b[k];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(g,C.key,C)}}function c(g,b,k){return(c=typeof Reflect<"u"&&Reflect.get?Reflect.get:function(S,O,E){var v=function(t,r){for(;!Object.prototype.hasOwnProperty.call(t,r)&&null!==(t=s(t)););return t}(S,O);if(v){var o=Object.getOwnPropertyDescriptor(v,O);return o.get?o.get.call(E):o.value}})(g,b,k||g)}function l(g,b){return(l=Object.setPrototypeOf||function(C,S){return C.__proto__=S,C})(g,b)}function a(g){if(void 0===g)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function s(g){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)})(g)}var f,p=i( 82/*! ./polling */ 83"./node_modules/engine.io-client/lib/transports/polling.js"),u=i( 84/*! ../globalThis */ 85"./node_modules/engine.io-client/lib/globalThis.browser.js"),w=/\n/g,h=/\\n/g;function x(){}var d=function(g){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(v,g);var b,k,E=(b=v,k=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}(),function(){var t,r,m=s(b);if(k){var j=s(this).constructor;r=Reflect.construct(m,arguments,j)}else r=m.apply(this,arguments);return this,!(t=r)||"object"!==n(t)&&"function"!=typeof t?a(this):t});function v(o){(function(m,j){if(!(m instanceof j))throw TypeError("Cannot call a class as a function")})(this,v),(e=E.call(this,o)).query=e.query||{},f||(f=u.___eio=u.___eio||[]),e.index=f.length;var e,t=a(e);return f.push(function(r){t.onData(r)}),e.query.j=e.index,"function"==typeof addEventListener&&addEventListener("beforeunload",function(){t.script&&(t.script.onerror=x)},!1),e}return y(v.prototype,[{key:"doClose",value:function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),c(s(v.prototype),"doClose",this).call(this)}},{key:"doPoll",value:function(){var e=this,t=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),t.async=!0,t.src=this.uri(),t.onerror=function(m){e.onError("jsonp poll error",m)};var r=document.getElementsByTagName("script")[0];r?r.parentNode.insertBefore(t,r):(document.head||document.body).appendChild(t),this.script=t,typeof navigator<"u"&&/gecko/i.test(navigator.userAgent)&&setTimeout(function(){var m=document.createElement("iframe");document.body.appendChild(m),document.body.removeChild(m)},100)}},{key:"doWrite",value:function(e,t){var r,m=this;if(!this.form){var j=document.createElement("form"),T=document.createElement("textarea"),R=this.iframeId="eio_iframe_"+this.index;j.className="socketio",j.style.position="absolute",j.style.top="-1000px",j.style.left="-1000px",j.target=R,j.method="POST",j.setAttribute("accept-charset","utf-8"),T.name="d",j.appendChild(T),document.body.appendChild(j),this.form=j,this.area=T}function A(){B(),t()}function B(){if(m.iframe)try{m.form.removeChild(m.iframe)}catch(D){m.onError("jsonp polling iframe removal error",D)}try{r=document.createElement('<iframe src="javascript:0" name="'+m.iframeId+'">')}catch{(r=document.createElement("iframe")).name=m.iframeId,r.src="javascript:0"}r.id=m.iframeId,m.form.appendChild(r),m.iframe=r}this.form.action=this.uri(),B(),e=e.replace(h,"\\\n"),this.area.value=e.replace(w,"\\n");try{this.form.submit()}catch{}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===m.iframe.readyState&&A()}:this.iframe.onload=A}},{key:"supportsBinary",get:function(){return!1}}]),v}(p);P.exports=d},
vendor: 5,698 bytes, lines 85-97
85"./node_modules/engine.io-client/lib/transports/polling-xhr.js":function(P,_,i){function n(v){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(v)}function y(){return(y=Object.assign||function(v){for(var o=1;o<arguments.length;o++){var e=arguments[o];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(v[t]=e[t])}return v}).apply(this,arguments)}function c(v,o){if(!(v instanceof o))throw TypeError("Cannot call a class as a function")}function l(v,o){for(var e=0;e<o.length;e++){var t=o[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(v,t.key,t)}}function a(v,o,e){return o&&l(v.prototype,o),e&&l(v,e),v}function s(v,o){if("function"!=typeof o&&null!==o)throw TypeError("Super expression must either be null or a function");v.prototype=Object.create(o&&o.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),o&&f(v,o)}function f(v,o){return(f=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(v,o)}function p(v){var o=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var r,m,j=u(v);if(o){var T=u(this).constructor;m=Reflect.construct(j,arguments,T)}else m=j.apply(this,arguments);return this,!(r=m)||"object"!==n(r)&&"function"!=typeof r?function(A){if(void 0===A)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return A}(this):r}}function u(v){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(v)}var w=i( 86/*! xmlhttprequest-ssl */ 87"./node_modules/engine.io-client/lib/xmlhttprequest.js"),h=i( 88/*! ./polling */ 89"./node_modules/engine.io-client/lib/transports/polling.js"),x=i( 90/*! component-emitter */ 91"./node_modules/component-emitter/index.js"),d=i( 92/*! ../util */ 93"./node_modules/engine.io-client/lib/util.js").pick,g=i( 94/*! ../globalThis */ 95"./node_modules/engine.io-client/lib/globalThis.browser.js"),b=i( 96/*! debug */ 97"./node_modules/debug/src/browser.js")("engine.io-client:polling-xhr");function k(){}var C=null!=new w({xdomain:!1}).responseType,S=function(v){s(e,v);var o=p(e);function e(t){if(c(this,e),r=o.call(this,t),typeof location<"u"){var r,m="https:"===location.protocol,j=location.port;j||(j=m?443:80),r.xd=typeof location<"u"&&t.hostname!==location.hostname||j!==t.port,r.xs=t.secure!==m}return r.supportsBinary=C&&!(t&&t.forceBase64),r}return a(e,[{key:"request",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y(r,{xd:this.xd,xs:this.xs},this.opts),new O(this.uri(),r)}},{key:"doWrite",value:function(r,m){var j=this.request({method:"POST",data:r}),T=this;j.on("success",m),j.on("error",function(R){T.onError("xhr post error",R)})}},{key:"doPoll",value:function(){b("xhr poll");var r=this.request(),m=this;r.on("data",function(j){m.onData(j)}),r.on("error",function(j){m.onError("xhr poll error",j)}),this.pollXhr=r}}]),e}(h),O=function(v){s(e,v);var o=p(e);function e(t,r){var m;return c(this,e),(m=o.call(this)).opts=r,m.method=r.method||"GET",m.uri=t,m.async=!1!==r.async,m.data=void 0!==r.data?r.data:null,m.create(),m}return a(e,[{key:"create",value:function(){var r=d(this.opts,"agent","enablesXDR","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized");r.xdomain=!!this.opts.xd,r.xscheme=!!this.opts.xs;var m=this.xhr=new w(r),j=this;try{b("xhr open %s: %s",this.method,this.uri),m.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders)for(var T in m.setDisableHeaderCheck&&m.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(T)&&m.setRequestHeader(T,this.opts.extraHeaders[T])}catch{}if("POST"===this.method)try{m.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{m.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in m&&(m.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(m.timeout=this.opts.requestTimeout),this.hasXDR()?(m.onload=function(){j.onLoad()},m.onerror=function(){j.onError(m.responseText)}):m.onreadystatechange=function(){4===m.readyState&&(200===m.status||1223===m.status?j.onLoad():setTimeout(function(){j.onError("number"==typeof m.status?m.status:0)},0))},b("xhr data %s",this.data),m.send(this.data)}catch(R){return void setTimeout(function(){j.onError(R)},0)}typeof document<"u"&&(this.index=e.requestsCount++,e.requests[this.index]=this)}},{key:"onSuccess",value:function(){this.emit("success"),this.cleanup()}},{key:"onData",value:function(r){this.emit("data",r),this.onSuccess()}},{key:"onError",value:function(r){this.emit("error",r),this.cleanup(!0)}},{key:"cleanup",value:function(r){if(null!=this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=k:this.xhr.onreadystatechange=k,r)try{this.xhr.abort()}catch{}typeof document<"u"&&delete e.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var r=this.xhr.responseText;null!==r&&this.onData(r)}},{key:"hasXDR",value:function(){return typeof XDomainRequest<"u"&&!this.xs&&this.enablesXDR}},{key:"abort",value:function(){this.cleanup()}}]),e}(x);function E(){for(var v in O.requests)O.requests.hasOwnProperty(v)&&O.requests[v].abort()}O.requestsCount=0,O.requests={},typeof document<"u"&&("function"==typeof attachEvent?attachEvent("onunload",E):"function"==typeof addEventListener&&addEventListener("onpagehide"in g?"pagehide":"unload",E,!1)),P.exports=S,P.exports.Request=O},
vendor: 3,937 bytes, lines 97-107
97"./node_modules/engine.io-client/lib/transports/polling.js":function(P,_,i){function n(h){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(d){return typeof d}:function(d){return d&&"function"==typeof Symbol&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(h)}function y(h,x){for(var d=0;d<x.length;d++){var g=x[d];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(h,g.key,g)}}function c(h,x){return(c=Object.setPrototypeOf||function(g,b){return g.__proto__=b,g})(h,x)}function l(h){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)})(h)}var a=i( 98/*! ../transport */ 99"./node_modules/engine.io-client/lib/transport.js"),s=i( 100/*! parseqs */ 101"./node_modules/parseqs/index.js"),f=i( 102/*! engine.io-parser */ 103"./node_modules/engine.io-parser/lib/index.js"),p=i( 104/*! yeast */ 105"./node_modules/yeast/index.js"),u=i( 106/*! debug */ 107"./node_modules/debug/src/browser.js")("engine.io-client:polling"),w=function(h){!function(E,v){if("function"!=typeof v&&null!==v)throw TypeError("Super expression must either be null or a function");E.prototype=Object.create(v&&v.prototype,{constructor:{value:E,writable:!0,configurable:!0}}),v&&c(E,v)}(S,h);var x,d,C=(x=S,d=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}(),function(){var v,o,e=l(x);if(d){var t=l(this).constructor;o=Reflect.construct(e,arguments,t)}else o=e.apply(this,arguments);return this,!(v=o)||"object"!==n(v)&&"function"!=typeof v?function(m){if(void 0===m)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return m}(this):v});function S(){return function(E,v){if(!(E instanceof v))throw TypeError("Cannot call a class as a function")}(this,S),C.apply(this,arguments)}return y(S.prototype,[{key:"doOpen",value:function(){this.poll()}},{key:"pause",value:function(E){var v=this;function o(){u("paused"),v.readyState="paused",E()}if(this.readyState="pausing",this.polling||!this.writable){var e=0;this.polling&&(u("we are currently polling - waiting to pause"),e++,this.once("pollComplete",function(){u("pre-pause polling complete"),--e||o()})),this.writable||(u("we are currently writing - waiting to pause"),e++,this.once("drain",function(){u("pre-pause writing complete"),--e||o()}))}else o()}},{key:"poll",value:function(){u("polling"),this.polling=!0,this.doPoll(),this.emit("poll")}},{key:"onData",value:function(E){var v=this;u("polling got data %s",E);f.decodePayload(E,this.socket.binaryType).forEach(function(t,r,m){if("opening"===v.readyState&&"open"===t.type&&v.onOpen(),"close"===t.type)return v.onClose(),!1;v.onPacket(t)}),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():u('ignoring poll - transport state "%s"',this.readyState))}},{key:"doClose",value:function(){var E=this;function v(){u("writing close packet"),E.write([{type:"close"}])}"open"===this.readyState?(u("transport open - closing"),v()):(u("transport not open - deferring close"),this.once("open",v))}},{key:"write",value:function(E){var v=this;this.writable=!1,f.encodePayload(E,function(o){v.doWrite(o,function(){v.writable=!0,v.emit("drain")})})}},{key:"uri",value:function(){var E=this.query||{},v=this.opts.secure?"https":"http",o="";return!1!==this.opts.timestampRequests&&(E[this.opts.timestampParam]=p()),this.supportsBinary||E.sid||(E.b64=1),E=s.encode(E),this.opts.port&&("https"===v&&443!==Number(this.opts.port)||"http"===v&&80!==Number(this.opts.port))&&(o=":"+this.opts.port),E.length&&(E="?"+E),v+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+o+this.opts.path+E}},{key:"name",get:function(){return"polling"}}]),S}(a);P.exports=w},
vendor: 297 bytes, lines 107-109
107"./node_modules/engine.io-client/lib/transports/websocket-constructor.browser.js":function(P,_,i){var n=i( 108/*! ../globalThis */ 109"./node_modules/engine.io-client/lib/globalThis.browser.js");P.exports={WebSocket:n.WebSocket||n.MozWebSocket,usingBrowserWebSocket:!0,defaultBinaryType:"arraybuffer"}},
vendor: 4,342 bytes, lines 109-123
109"./node_modules/engine.io-client/lib/transports/websocket.js":function(P,_,i){function n(C){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(O){return typeof O}:function(O){return O&&"function"==typeof Symbol&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(C)}function y(C,S){for(var O=0;O<S.length;O++){var E=S[O];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(C,E.key,E)}}function c(C,S){return(c=Object.setPrototypeOf||function(E,v){return E.__proto__=v,E})(C,S)}function l(C){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)})(C)}var a=i( 110/*! ../transport */ 111"./node_modules/engine.io-client/lib/transport.js"),s=i( 112/*! engine.io-parser */ 113"./node_modules/engine.io-parser/lib/index.js"),f=i( 114/*! parseqs */ 115"./node_modules/parseqs/index.js"),p=i( 116/*! yeast */ 117"./node_modules/yeast/index.js"),u=i( 118/*! ../util */ 119"./node_modules/engine.io-client/lib/util.js").pick,w=i( 120/*! ./websocket-constructor */ 121"./node_modules/engine.io-client/lib/transports/websocket-constructor.browser.js"),h=w.WebSocket,x=w.usingBrowserWebSocket,d=w.defaultBinaryType,g=i( 122/*! debug */ 123"./node_modules/debug/src/browser.js")("engine.io-client:websocket"),b=typeof navigator<"u"&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),k=function(C){!function(m,j){if("function"!=typeof j&&null!==j)throw TypeError("Super expression must either be null or a function");m.prototype=Object.create(j&&j.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),j&&c(m,j)}(t,C);var S,O,e=(S=t,O=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}(),function(){var j,T,R=l(S);if(O){var A=l(this).constructor;T=Reflect.construct(R,arguments,A)}else T=R.apply(this,arguments);return this,!(j=T)||"object"!==n(j)&&"function"!=typeof j?function(M){if(void 0===M)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return M}(this):j});function t(r){var m;return function(T,R){if(!(T instanceof R))throw TypeError("Cannot call a class as a function")}(this,t),(m=e.call(this,r)).supportsBinary=!r.forceBase64,m}return y(t.prototype,[{key:"doOpen",value:function(){if(this.check()){var m=this.uri(),j=this.opts.protocols,T=b?{}:u(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress");this.opts.extraHeaders&&(T.headers=this.opts.extraHeaders);try{this.ws=x&&!b?j?new h(m,j):new h(m):new h(m,j,T)}catch(R){return this.emit("error",R)}this.ws.binaryType=this.socket.binaryType||d,this.addEventListeners()}}},{key:"addEventListeners",value:function(){var m=this;this.ws.onopen=function(){m.onOpen()},this.ws.onclose=function(){m.onClose()},this.ws.onmessage=function(j){m.onData(j.data)},this.ws.onerror=function(j){m.onError("websocket error",j)}}},{key:"write",value:function(m){var j=this;this.writable=!1;for(var T=m.length,R=0,A=T;R<A;R++)!function(M){s.encodePacket(M,j.supportsBinary,function(D){var I={};!x&&(M.options&&(I.compress=M.options.compress),j.opts.perMessageDeflate)&&("string"==typeof D?Buffer.byteLength(D):D.length)<j.opts.perMessageDeflate.threshold&&(I.compress=!1);try{x?j.ws.send(D):j.ws.send(D,I)}catch{g("websocket closed before onclose event")}--T||(j.emit("flush"),setTimeout(function(){j.writable=!0,j.emit("drain")},0))})}(m[R])}},{key:"onClose",value:function(){a.prototype.onClose.call(this)}},{key:"doClose",value:function(){void 0!==this.ws&&this.ws.close()}},{key:"uri",value:function(){var m=this.query||{},j=this.opts.secure?"wss":"ws",T="";return this.opts.port&&("wss"===j&&443!==Number(this.opts.port)||"ws"===j&&80!==Number(this.opts.port))&&(T=":"+this.opts.port),this.opts.timestampRequests&&(m[this.opts.timestampParam]=p()),this.supportsBinary||(m.b64=1),(m=f.encode(m)).length&&(m="?"+m),j+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+T+this.opts.path+m}},{key:"check",value:function(){return!(!h||"__initialize"in h&&this.name===t.prototype.name)}},{key:"name",get:function(){return"websocket"}}]),t}(a);P.exports=k},
vendor: 221 bytes, line 123
123"./node_modules/engine.io-client/lib/util.js":function(P,_){P.exports.pick=function(i){for(var n=arguments.length,y=Array(n>1?n-1:0),c=1;c<n;c++)y[c-1]=arguments[c];return y.reduce(function(l,a){return l[a]=i[a],l},{})}},
vendor: 526 bytes, lines 123-127
123"./node_modules/engine.io-client/lib/xmlhttprequest.js":function(P,_,i){var n=i( 124/*! has-cors */ 125"./node_modules/has-cors/index.js"),y=i( 126/*! ./globalThis */ 127"./node_modules/engine.io-client/lib/globalThis.browser.js");P.exports=function(c){var l=c.xdomain,a=c.xscheme,s=c.enablesXDR;try{if(typeof XMLHttpRequest<"u"&&(!l||n))return new XMLHttpRequest}catch{}try{if(typeof XDomainRequest<"u"&&!a&&s)return new XDomainRequest}catch{}if(!l)try{return new(y[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch{}}},
vendor: 345 bytes, line 127
127"./node_modules/engine.io-parser/lib/commons.js":function(P,_){var i=Object.create(null);i.open="0",i.close="1",i.ping="2",i.pong="3",i.message="4",i.upgrade="5",i.noop="6";var n=Object.create(null);Object.keys(i).forEach(function(y){n[i[y]]=y}),P.exports={PACKET_TYPES:i,PACKET_TYPES_REVERSE:n,ERROR_PACKET:{type:"error",data:"parser error"}}},
vendor: 687 bytes, lines 127-131
127"./node_modules/engine.io-parser/lib/decodePacket.browser.js":function(P,_,i){var n,y=i( 128/*! ./commons */ 129"./node_modules/engine.io-parser/lib/commons.js"),c=y.PACKET_TYPES_REVERSE,l=y.ERROR_PACKET;"function"==typeof ArrayBuffer&&(n=i( 130/*! base64-arraybuffer */ 131"./node_modules/base64-arraybuffer/lib/base64-arraybuffer.js"));var s=function(u,w){return n?f(n.decode(u),w):{base64:!0,data:u}},f=function(u,w){return"blob"===w&&u instanceof ArrayBuffer?new Blob([u]):u};P.exports=function(u,w){if("string"!=typeof u)return{type:"message",data:f(u,w)};var h=u.charAt(0);return"b"===h?{type:"message",data:s(u.substring(1),w)}:c[h]?u.length>1?{type:c[h],data:u.substring(1)}:{type:c[h]}:l}},
vendor: 727 bytes, lines 131-133
131"./node_modules/engine.io-parser/lib/encodePacket.browser.js":function(P,_,i){var n=i( 132/*! ./commons */ 133"./node_modules/engine.io-parser/lib/commons.js").PACKET_TYPES,y="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),c="function"==typeof ArrayBuffer,a=function(f,p){var u=new FileReader;return u.onload=function(){p("b"+u.result.split(",")[1])},u.readAsDataURL(f)};P.exports=function(f,p,u){var w,h=f.type,x=f.data;return y&&x instanceof Blob?p?u(x):a(x,u):c&&(x instanceof ArrayBuffer||(w=x,"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(w):w&&w.buffer instanceof ArrayBuffer))?p?u(x instanceof ArrayBuffer?x:x.buffer):a(new Blob([x]),u):u(n[h]+(x||""))}},
vendor: 582 bytes, lines 133-137
133"./node_modules/engine.io-parser/lib/index.js":function(P,_,i){var n=i( 134/*! ./encodePacket */ 135"./node_modules/engine.io-parser/lib/encodePacket.browser.js"),y=i( 136/*! ./decodePacket */ 137"./node_modules/engine.io-parser/lib/decodePacket.browser.js");P.exports={protocol:4,encodePacket:n,encodePayload:function(s,f){var p=s.length,u=Array(p),w=0;s.forEach(function(h,x){n(h,!1,function(d){u[x]=d,++w===p&&f(u.join("\x1e"))})})},decodePacket:y,decodePayload:function(s,f){for(var p=s.split("\x1e"),u=[],w=0;w<p.length;w++){var h=y(p[w],f);if(u.push(h),"error"===h.type)break}return u}}},
vendor: 150 bytes, line 137
137"./node_modules/has-cors/index.js":function(P,_){try{P.exports=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{P.exports=!1}},
vendor: 1,540 bytes, line 137
137"./node_modules/ms/index.js":function(P,_){function i(s){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(p){return typeof p}:function(p){return p&&"function"==typeof Symbol&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p})(s)}var n=36e5,y=24*n;function a(s,f,p,u){return Math.round(s/p)+" "+u+(f>=1.5*p?"s":"")}P.exports=function(s,f){f=f||{};var p,u,w,h,x=i(s);if("string"===x&&s.length>0)return function(g){if(!((g=String(g)).length>100)){var b=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(g);if(b){var k=parseFloat(b[1]);switch((b[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*k;case"weeks":case"week":case"w":return 6048e5*k;case"days":case"day":case"d":return k*y;case"hours":case"hour":case"hrs":case"hr":case"h":return k*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*k;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*k;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return k;default:return}}}}(s);if("number"===x&&isFinite(s))return f.long?(p=s,(u=Math.abs(p))>=y?a(p,u,y,"day"):u>=n?a(p,u,n,"hour"):u>=6e4?a(p,u,6e4,"minute"):u>=1e3?a(p,u,1e3,"second"):p+" ms"):(w=s,(h=Math.abs(w))>=y?Math.round(w/y)+"d":h>=n?Math.round(w/n)+"h":h>=6e4?Math.round(w/6e4)+"m":h>=1e3?Math.round(w/1e3)+"s":w+"ms");throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))}},
vendor: 358 bytes, line 137
137"./node_modules/parseqs/index.js":function(P,_){_.encode=function(i){var n="";for(var y in i)i.hasOwnProperty(y)&&(n.length&&(n+="&"),n+=encodeURIComponent(y)+"="+encodeURIComponent(i[y]));return n},_.decode=function(i){for(var n={},y=i.split("&"),c=0,l=y.length;c<l;c++){var a=y[c].split("=");n[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}return n}},
vendor: 1,087 bytes, line 137
137"./node_modules/parseuri/index.js":function(P,_){var i=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];P.exports=function(c){var a,s,u,w=c,h=c.indexOf("["),x=c.indexOf("]");-1!=h&&-1!=x&&(c=c.substring(0,h)+c.substring(h,x).replace(/:/g,";")+c.substring(x,c.length));for(var d=i.exec(c||""),g={},b=14;b--;)g[n[b]]=d[b]||"";return-1!=h&&-1!=x&&(g.source=w,g.host=g.host.substring(1,g.host.length-1).replace(/;/g,":"),g.authority=g.authority.replace("[","").replace("]","").replace(/;/g,":"),g.ipv6uri=!0),g.pathNames=(s=(a=g.path).replace(/\/{2,9}/g,"/").split("/"),("/"==a.substr(0,1)||0===a.length)&&s.splice(0,1),"/"==a.substr(a.length-1,1)&&s.splice(s.length-1,1),s),g.queryKey=(u={},g.query.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(k,C,S){C&&(u[C]=S)}),u),g}},
vendor: 1,680 bytes, line 137
137"./node_modules/process/browser.js":function(P,_){var i,n,y,c=P.exports={};function l(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(g){if(i===setTimeout)return setTimeout(g,0);if((i===l||!i)&&setTimeout)return i=setTimeout,setTimeout(g,0);try{return i(g,0)}catch{try{return i.call(null,g,0)}catch{return i.call(this,g,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:l}catch{i=l}try{n="function"==typeof clearTimeout?clearTimeout:a}catch{n=a}}();var f=[],p=!1,u=-1;function w(){p&&y&&(p=!1,y.length?f=y.concat(f):u=-1,f.length&&h())}function h(){if(!p){var g=s(w);p=!0;for(var b=f.length;b;){for(y=f,f=[];++u<b;)y&&y[u].run();u=-1,b=f.length}y=null,p=!1,function(C){if(n===clearTimeout)return clearTimeout(C);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(C);try{return n(C)}catch{try{return n.call(null,C)}catch{return n.call(this,C)}}}(g)}}function x(g,b){this.fun=g,this.array=b}function d(){}c.nextTick=function(g){var b=Array(arguments.length-1);if(arguments.length>1)for(var k=1;k<arguments.length;k++)b[k-1]=arguments[k];f.push(new x(g,b)),1!==f.length||p||s(h)},x.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=d,c.addListener=d,c.once=d,c.off=d,c.removeListener=d,c.removeAllListeners=d,c.emit=d,c.prependListener=d,c.prependOnceListener=d,c.listeners=function(g){return[]},c.binding=function(g){throw Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(g){throw Error("process.chdir is not supported")},c.umask=function(){return 0}},
vendor: 1,216 bytes, lines 137-139
137"./node_modules/socket.io-parser/dist/binary.js":function(P,_,i){"use strict";function n(c){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a})(c)}Object.defineProperty(_,"__esModule",{value:!0}),_.reconstructPacket=_.deconstructPacket=void 0;var y=i( 138/*! ./is-binary */ 139"./node_modules/socket.io-parser/dist/is-binary.js");_.deconstructPacket=function(l){var a=[],f=l;return f.data=function p(u,w){if(!u)return u;if(y.isBinary(u)){var h={_placeholder:!0,num:w.length};return w.push(u),h}if(Array.isArray(u)){for(var x=Array(u.length),d=0;d<u.length;d++)x[d]=p(u[d],w);return x}if("object"===n(u)&&!(u instanceof Date)){var g={};for(var b in u)u.hasOwnProperty(b)&&(g[b]=p(u[b],w));return g}return u}(l.data,a),f.attachments=a.length,{packet:f,buffers:a}},_.reconstructPacket=function(l,a){return l.data=function s(f,p){if(!f)return f;if(f&&f._placeholder)return p[f.num];if(Array.isArray(f))for(var u=0;u<f.length;u++)f[u]=s(f[u],p);else if("object"===n(f))for(var w in f)f.hasOwnProperty(w)&&(f[w]=s(f[w],p));return f}(l.data,a),l.attachments=void 0,l}},
vendor: 5,588 bytes, lines 139-147
139"./node_modules/socket.io-parser/dist/index.js":function(P,_,i){"use strict";function n(C){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(O){return typeof O}:function(O){return O&&"function"==typeof Symbol&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O})(C)}function y(C,S,O){return(y=typeof Reflect<"u"&&Reflect.get?Reflect.get:function(v,o,e){var t=function(j,T){for(;!Object.prototype.hasOwnProperty.call(j,T)&&null!==(j=l(j)););return j}(v,o);if(t){var r=Object.getOwnPropertyDescriptor(t,o);return r.get?r.get.call(e):r.value}})(C,S,O||C)}function c(C,S){return(c=Object.setPrototypeOf||function(E,v){return E.__proto__=v,E})(C,S)}function l(C){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)})(C)}function a(C,S){if(!(C instanceof S))throw TypeError("Cannot call a class as a function")}function s(C,S){for(var O=0;O<S.length;O++){var E=S[O];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(C,E.key,E)}}function f(C,S,O){return S&&s(C.prototype,S),O&&s(C,O),C}Object.defineProperty(_,"__esModule",{value:!0}),_.Decoder=_.Encoder=_.PacketType=_.protocol=void 0;var p,u,w=i( 140/*! component-emitter */ 141"./node_modules/component-emitter/index.js"),h=i( 142/*! ./binary */ 143"./node_modules/socket.io-parser/dist/binary.js"),x=i( 144/*! ./is-binary */ 145"./node_modules/socket.io-parser/dist/is-binary.js"),d=i( 146/*! debug */ 147"./node_modules/debug/src/browser.js")("socket.io-parser");_.protocol=5,(u=p=_.PacketType||(_.PacketType={}))[u.CONNECT=0]="CONNECT",u[u.DISCONNECT=1]="DISCONNECT",u[u.EVENT=2]="EVENT",u[u.ACK=3]="ACK",u[u.CONNECT_ERROR=4]="CONNECT_ERROR",u[u.BINARY_EVENT=5]="BINARY_EVENT",u[u.BINARY_ACK=6]="BINARY_ACK";var g=function(){function C(){a(this,C)}return f(C,[{key:"encode",value:function(O){return d("encoding packet %j",O),O.type!==p.EVENT&&O.type!==p.ACK||!x.hasBinary(O)?[this.encodeAsString(O)]:(O.type=O.type===p.EVENT?p.BINARY_EVENT:p.BINARY_ACK,this.encodeAsBinary(O))}},{key:"encodeAsString",value:function(O){var E=""+O.type;return(O.type===p.BINARY_EVENT||O.type===p.BINARY_ACK)&&(E+=O.attachments+"-"),O.nsp&&"/"!==O.nsp&&(E+=O.nsp+","),null!=O.id&&(E+=O.id),null!=O.data&&(E+=JSON.stringify(O.data)),d("encoded %j as %s",O,E),E}},{key:"encodeAsBinary",value:function(O){var E=h.deconstructPacket(O),v=this.encodeAsString(E.packet),o=E.buffers;return o.unshift(v),o}}]),C}();_.Encoder=g;var b=function(C){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(v,C);var S,O,E=(S=v,O=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}(),function(){var t,r,m=l(S);if(O){var j=l(this).constructor;r=Reflect.construct(m,arguments,j)}else r=m.apply(this,arguments);return this,!(t=r)||"object"!==n(t)&&"function"!=typeof t?function(R){if(void 0===R)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return R}(this):t});function v(){return a(this,v),E.call(this)}return f(v,[{key:"add",value:function(e){var t;if("string"==typeof e)(t=this.decodeString(e)).type===p.BINARY_EVENT||t.type===p.BINARY_ACK?(this.reconstructor=new k(t),0===t.attachments&&y(l(v.prototype),"emit",this).call(this,"decoded",t)):y(l(v.prototype),"emit",this).call(this,"decoded",t);else{if(!x.isBinary(e)&&!e.base64)throw Error("Unknown type: "+e);if(!this.reconstructor)throw Error("got binary data when not reconstructing a packet");(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,y(l(v.prototype),"emit",this).call(this,"decoded",t))}}},{key:"decodeString",value:function(e){var t=0,r={type:Number(e.charAt(0))};if(void 0===p[r.type])throw Error("unknown packet type "+r.type);if(r.type===p.BINARY_EVENT||r.type===p.BINARY_ACK){for(var m=t+1;"-"!==e.charAt(++t)&&t!=e.length;);var j=e.substring(m,t);if(j!=Number(j)||"-"!==e.charAt(t))throw Error("Illegal attachments");r.attachments=Number(j)}if("/"===e.charAt(t+1)){for(var T=t+1;++t&&","!==e.charAt(t)&&t!==e.length;);r.nsp=e.substring(T,t)}else r.nsp="/";var R=e.charAt(t+1);if(""!==R&&Number(R)==R){for(var A=t+1;++t;){var B=e.charAt(t);if(null==B||Number(B)!=B){--t;break}if(t===e.length)break}r.id=Number(e.substring(A,t+1))}if(e.charAt(++t)){var M=function(I){try{return JSON.parse(I)}catch{return!1}}(e.substr(t));if(!v.isPayloadValid(r.type,M))throw Error("invalid payload");r.data=M}return d("decoded %s as %j",e,r),r}},{key:"destroy",value:function(){this.reconstructor&&this.reconstructor.finishedReconstruction()}}],[{key:"isPayloadValid",value:function(e,t){switch(e){case p.CONNECT:return"object"===n(t);case p.DISCONNECT:return void 0===t;case p.CONNECT_ERROR:return"string"==typeof t||"object"===n(t);case p.EVENT:case p.BINARY_EVENT:return Array.isArray(t)&&"string"==typeof t[0];case p.ACK:case p.BINARY_ACK:return Array.isArray(t)}}}]),v}(w);_.Decoder=b;var k=function(){function C(S){a(this,C),this.packet=S,this.buffers=[],this.reconPack=S}return f(C,[{key:"takeBinaryData",value:function(O){if(this.buffers.push(O),this.buffers.length===this.reconPack.attachments){var E=h.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),E}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}]),C}()},
vendor: 1,173 bytes, line 147
147"./node_modules/socket.io-parser/dist/is-binary.js":function(P,_,i){"use strict";function n(f){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(u){return typeof u}:function(u){return u&&"function"==typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(f)}Object.defineProperty(_,"__esModule",{value:!0}),_.hasBinary=_.isBinary=void 0;var y="function"==typeof ArrayBuffer,c=Object.prototype.toString,l="function"==typeof Blob||typeof Blob<"u"&&"[object BlobConstructor]"===c.call(Blob),a="function"==typeof File||typeof File<"u"&&"[object FileConstructor]"===c.call(File);function s(f){var p;return y&&(f instanceof ArrayBuffer||(p=f,"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(p):p.buffer instanceof ArrayBuffer))||l&&f instanceof Blob||a&&f instanceof File}_.isBinary=s,_.hasBinary=function f(p,u){if(!p||"object"!==n(p))return!1;if(Array.isArray(p)){for(var w=0,h=p.length;w<h;w++)if(f(p[w]))return!0;return!1}if(s(p))return!0;if(p.toJSON&&"function"==typeof p.toJSON&&1===arguments.length)return f(p.toJSON(),!0);for(var x in p)if(Object.prototype.hasOwnProperty.call(p,x)&&f(p[x]))return!0;return!1}},
vendor: 435 bytes, line 147
147"./node_modules/yeast/index.js":function(P,_,i){"use strict";var n,y="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),c={},l=0,a=0;function s(p){var u="";do{u=y[p%64]+u,p=Math.floor(p/64)}while(p>0);return u}function f(){var p=s(+new Date);return p!==n?(l=0,n=p):p+"."+s(l++)}for(;a<64;a++)c[y[a]]=a;f.encode=s,f.decode=function(u){var w=0;for(a=0;a<u.length;a++)w=64*w+c[u.charAt(a)];return w},P.exports=f}
147})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.