tf-access-login.cranky-hoover.144-126-234-62.plesk.page
Open in
urlscan Pro
144.126.234.62
Public Scan
Submitted URL: http://tf-access-login.cranky-hoover.144-126-234-62.plesk.page/polyfills.680d1e78701adc84.js
Effective URL: https://tf-access-login.cranky-hoover.144-126-234-62.plesk.page/polyfills.680d1e78701adc84.js
Submission: On November 08 via api from US — Scanned from GB
Effective URL: https://tf-access-login.cranky-hoover.144-126-234-62.plesk.page/polyfills.680d1e78701adc84.js
Submission: On November 08 via api from US — Scanned from GB
Form analysis
0 forms found in the DOMText Content
(self.webpackChunkwebclient=self.webpackChunkwebclient||[]).push([[3461],{39108:(Le,De,Ue)=>{"use strict";Ue(89171),Ue(96935);var ee=Ue(72447);window.originalSetInterval=window.setInterval,window.originalSetTimeout=window.setTimeout,(0,ee.polyfill)()},72447:(Le,De,Ue)=>{var Ge,ce;!function(){var O,ye={polyfill:function y(){if(!("KeyboardEvent"in window)||"key"in KeyboardEvent.prototype)return!1;var n={get:function(t){var l=ye.keys[this.which||this.keyCode];return Array.isArray(l)&&(l=l[+this.shiftKey]),l}};return Object.defineProperty(KeyboardEvent.prototype,"key",n),n},keys:{3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"}};for(O=1;O<25;O++)ye.keys[111+O]="F"+O;var ee="";for(O=65;O<91;O++)ee=String.fromCharCode(O),ye.keys[O]=[ee.toLowerCase(),ee.toUpperCase()];void 0!==(ce="function"==typeof(Ge=ye)?Ge.call(De,Ue,De,Le):Ge)&&(Le.exports=ce)}()},89171:Le=>{Le.exports=function(){return function ce(ye,O,ee){function y(l,m){if(!O[l]){if(!ye[l]){if(n)return n(l,!0);var j=new Error("Cannot find module '"+l+"'");throw j.code="MODULE_NOT_FOUND",j}var U=O[l]={exports:{}};ye[l][0].call(U.exports,function(Q){return y(ye[l][1][Q]||Q)},U,U.exports,ce,ye,O,ee)}return O[l].exports}for(var n=void 0,t=0;t<ee.length;t++)y(ee[t]);return y}}()({1:[function(ce,ye,O){"use strict";var y=(0,ce("./adapter_factory.js").adapterFactory)({window:typeof window>"u"?void 0:window});ye.exports=y},{"./adapter_factory.js":2}],2:[function(ce,ye,O){"use strict";function ee(G){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(_){return typeof _}:function(_){return _&&"function"==typeof Symbol&&_.constructor===Symbol&&_!==Symbol.prototype?"symbol":typeof _})(G)}Object.defineProperty(O,"__esModule",{value:!0}),O.adapterFactory=function Q(){var _=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).window,J=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shimChrome:!0,shimFirefox:!0,shimSafari:!0},v=y.log,r=y.detectBrowser(_),p={browserDetails:r,commonShim:m,extractVersion:y.extractVersion,disableLog:y.disableLog,disableWarnings:y.disableWarnings,sdp:P};switch(r.browser){case"chrome":if(!n||!n.shimPeerConnection||!J.shimChrome)return v("Chrome shim is not included in this adapter release."),p;if(null===r.version)return v("Chrome shim can not determine version, not shimming."),p;v("adapter.js shimming chrome."),p.browserShim=n,m.shimAddIceCandidateNullOrEmpty(_,r),m.shimParameterlessSetLocalDescription(_,r),n.shimGetUserMedia(_,r),n.shimMediaStream(_,r),n.shimPeerConnection(_,r),n.shimOnTrack(_,r),n.shimAddTrackRemoveTrack(_,r),n.shimGetSendersWithDtmf(_,r),n.shimSenderReceiverGetStats(_,r),n.fixNegotiationNeeded(_,r),m.shimRTCIceCandidate(_,r),m.shimRTCIceCandidateRelayProtocol(_,r),m.shimConnectionState(_,r),m.shimMaxMessageSize(_,r),m.shimSendThrowTypeError(_,r),m.removeExtmapAllowMixed(_,r);break;case"firefox":if(!t||!t.shimPeerConnection||!J.shimFirefox)return v("Firefox shim is not included in this adapter release."),p;v("adapter.js shimming firefox."),p.browserShim=t,m.shimAddIceCandidateNullOrEmpty(_,r),m.shimParameterlessSetLocalDescription(_,r),t.shimGetUserMedia(_,r),t.shimPeerConnection(_,r),t.shimOnTrack(_,r),t.shimRemoveStream(_,r),t.shimSenderGetStats(_,r),t.shimReceiverGetStats(_,r),t.shimRTCDataChannel(_,r),t.shimAddTransceiver(_,r),t.shimGetParameters(_,r),t.shimCreateOffer(_,r),t.shimCreateAnswer(_,r),m.shimRTCIceCandidate(_,r),m.shimConnectionState(_,r),m.shimMaxMessageSize(_,r),m.shimSendThrowTypeError(_,r);break;case"safari":if(!l||!J.shimSafari)return v("Safari shim is not included in this adapter release."),p;v("adapter.js shimming safari."),p.browserShim=l,m.shimAddIceCandidateNullOrEmpty(_,r),m.shimParameterlessSetLocalDescription(_,r),l.shimRTCIceServerUrls(_,r),l.shimCreateOfferLegacy(_,r),l.shimCallbacksAPI(_,r),l.shimLocalStreamsAPI(_,r),l.shimRemoteStreamsAPI(_,r),l.shimTrackEventTransceiver(_,r),l.shimGetUserMedia(_,r),l.shimAudioContext(_,r),m.shimRTCIceCandidate(_,r),m.shimRTCIceCandidateRelayProtocol(_,r),m.shimMaxMessageSize(_,r),m.shimSendThrowTypeError(_,r),m.removeExtmapAllowMixed(_,r);break;default:v("Unsupported browser!")}return p};var y=U(ce("./utils")),n=U(ce("./chrome/chrome_shim")),t=U(ce("./firefox/firefox_shim")),l=U(ce("./safari/safari_shim")),m=U(ce("./common_shim")),P=U(ce("sdp"));function j(G){if("function"!=typeof WeakMap)return null;var _=new WeakMap,J=new WeakMap;return(j=function(r){return r?J:_})(G)}function U(G,_){if(!_&&G&&G.__esModule)return G;if(null===G||"object"!=ee(G)&&"function"!=typeof G)return{default:G};var J=j(_);if(J&&J.has(G))return J.get(G);var v={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in G)if("default"!==p&&{}.hasOwnProperty.call(G,p)){var e=r?Object.getOwnPropertyDescriptor(G,p):null;e&&(e.get||e.set)?Object.defineProperty(v,p,e):v[p]=G[p]}return v.default=G,J&&J.set(G,v),v}},{"./chrome/chrome_shim":3,"./common_shim":5,"./firefox/firefox_shim":6,"./safari/safari_shim":9,"./utils":10,sdp:11}],3:[function(ce,ye,O){"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.fixNegotiationNeeded=function p(e,s){ee.wrapPeerConnectionEvent(e,"negotiationneeded",function(i){var d=i.target;if(!(s.version<72||d.getConfiguration&&"plan-b"===d.getConfiguration().sdpSemantics)||"stable"===d.signalingState)return i})},O.shimAddTrackRemoveTrack=function v(e,s){if(e.RTCPeerConnection){if(e.RTCPeerConnection.prototype.addTrack&&s.version>=65)return J(e);var i=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){var T=this,A=i.apply(this);return this._reverseStreams=this._reverseStreams||{},A.map(function(N){return T._reverseStreams[N.id]})};var d=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(T){var A=this;if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},T.getTracks().forEach(function(Z){if(A.getSenders().find(function(ve){return ve.track===Z}))throw new DOMException("Track already exists.","InvalidAccessError")}),!this._reverseStreams[T.id]){var N=new e.MediaStream(T.getTracks());this._streams[T.id]=N,this._reverseStreams[N.id]=T,T=N}d.apply(this,[T])};var S=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(T){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},S.apply(this,[this._streams[T.id]||T]),delete this._reverseStreams[this._streams[T.id]?this._streams[T.id].id:T.id],delete this._streams[T.id]},e.RTCPeerConnection.prototype.addTrack=function(T,A){var N=this;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");var Z=[].slice.call(arguments,1);if(1!==Z.length||!Z[0].getTracks().find(function(je){return je===T}))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");if(this.getSenders().find(function(je){return je.track===T}))throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};var ve=this._streams[A.id];if(ve)ve.addTrack(T),Promise.resolve().then(function(){N.dispatchEvent(new Event("negotiationneeded"))});else{var Ce=new e.MediaStream([T]);this._streams[A.id]=Ce,this._reverseStreams[Ce.id]=A,this.addStream(Ce)}return this.getSenders().find(function(je){return je.track===T})},["createOffer","createAnswer"].forEach(function(o){var T=e.RTCPeerConnection.prototype[o],A=l({},o,function(){var N=this,Z=arguments;return arguments.length&&"function"==typeof arguments[0]?T.apply(this,[function(ve){var Ce=D(N,ve);Z[0].apply(null,[Ce])},function(ve){Z[1]&&Z[1].apply(null,ve)},arguments[2]]):T.apply(this,arguments).then(function(ve){return D(N,ve)})});e.RTCPeerConnection.prototype[o]=A[o]});var E=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type?(arguments[0]=function R(o,T){var A=T.sdp;return Object.keys(o._reverseStreams||[]).forEach(function(N){var Z=o._reverseStreams[N],se=o._streams[Z.id];A=A.replace(new RegExp(Z.id,"g"),se.id)}),new RTCSessionDescription({type:T.type,sdp:A})}(this,arguments[0]),E.apply(this,arguments)):E.apply(this,arguments)};var k=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get:function(){var T=k.get.apply(this);return""===T.type?T:D(this,T)}}),e.RTCPeerConnection.prototype.removeTrack=function(T){var Z,A=this;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!T._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(T._pc!==this)throw new DOMException("Sender was not created by this connection.","InvalidAccessError");this._streams=this._streams||{},Object.keys(this._streams).forEach(function(se){A._streams[se].getTracks().find(function(Ce){return T.track===Ce})&&(Z=A._streams[se])}),Z&&(1===Z.getTracks().length?this.removeStream(this._reverseStreams[Z.id]):Z.removeTrack(T.track),this.dispatchEvent(new Event("negotiationneeded")))}}function D(o,T){var A=T.sdp;return Object.keys(o._reverseStreams||[]).forEach(function(N){var Z=o._reverseStreams[N];A=A.replace(new RegExp(o._streams[Z.id].id,"g"),Z.id)}),new RTCSessionDescription({type:T.type,sdp:A})}},O.shimAddTrackRemoveTrackWithNative=J,O.shimGetSendersWithDtmf=function G(e){if("object"===j(e)&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){var s=function(k,o){return{track:o,get dtmf(){return void 0===this._dtmf&&(this._dtmf="audio"===o.kind?k.createDTMFSender(o):null),this._dtmf},_pc:k}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};var i=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(k,o){var T=i.apply(this,arguments);return T||(T=s(this,k),this._senders.push(T)),T};var d=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(k){d.apply(this,arguments);var o=this._senders.indexOf(k);-1!==o&&this._senders.splice(o,1)}}var S=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(k){var o=this;this._senders=this._senders||[],S.apply(this,[k]),k.getTracks().forEach(function(T){o._senders.push(s(o,T))})};var D=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(k){var o=this;this._senders=this._senders||[],D.apply(this,[k]),k.getTracks().forEach(function(T){var A=o._senders.find(function(N){return N.track===T});A&&o._senders.splice(o._senders.indexOf(A),1)})}}else if("object"===j(e)&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){var R=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){var k=this,o=R.apply(this,[]);return o.forEach(function(T){return T._pc=k}),o},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get:function(){return void 0===this._dtmf&&(this._dtmf="audio"===this.track.kind?this._pc.createDTMFSender(this.track):null),this._dtmf}})}},Object.defineProperty(O,"shimGetUserMedia",{enumerable:!0,get:function(){return y.shimGetUserMedia}}),O.shimMediaStream=function U(e){e.MediaStream=e.MediaStream||e.webkitMediaStream},O.shimOnTrack=function Q(e){if("object"===j(e)&&e.RTCPeerConnection&&!("ontrack"in e.RTCPeerConnection.prototype)){Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(d){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=d)},enumerable:!0,configurable:!0});var s=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){var d=this;return this._ontrackpoly||(this._ontrackpoly=function(S){S.stream.addEventListener("addtrack",function(D){var R;R=e.RTCPeerConnection.prototype.getReceivers?d.getReceivers().find(function(k){return k.track&&k.track.id===D.track.id}):{track:D.track};var E=new Event("track");E.track=D.track,E.receiver=R,E.transceiver={receiver:R},E.streams=[S.stream],d.dispatchEvent(E)}),S.stream.getTracks().forEach(function(D){var R;R=e.RTCPeerConnection.prototype.getReceivers?d.getReceivers().find(function(k){return k.track&&k.track.id===D.id}):{track:D};var E=new Event("track");E.track=D,E.receiver=R,E.transceiver={receiver:R},E.streams=[S.stream],d.dispatchEvent(E)})},this.addEventListener("addstream",this._ontrackpoly)),s.apply(this,arguments)}}else ee.wrapPeerConnectionEvent(e,"track",function(i){return i.transceiver||Object.defineProperty(i,"transceiver",{value:{receiver:i.receiver}}),i})},O.shimPeerConnection=function r(e,s){!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),e.RTCPeerConnection&&s.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(i){var d=e.RTCPeerConnection.prototype[i],S=l({},i,function(){return arguments[0]=new("addIceCandidate"===i?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),d.apply(this,arguments)});e.RTCPeerConnection.prototype[i]=S[i]})},O.shimSenderReceiverGetStats=function _(e){if("object"===j(e)&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver){if(!("getStats"in e.RTCRtpSender.prototype)){var s=e.RTCPeerConnection.prototype.getSenders;s&&(e.RTCPeerConnection.prototype.getSenders=function(){var R=this,E=s.apply(this,[]);return E.forEach(function(k){return k._pc=R}),E});var i=e.RTCPeerConnection.prototype.addTrack;i&&(e.RTCPeerConnection.prototype.addTrack=function(){var R=i.apply(this,arguments);return R._pc=this,R}),e.RTCRtpSender.prototype.getStats=function(){var R=this;return this._pc.getStats().then(function(E){return ee.filterStats(E,R.track,!0)})}}if(!("getStats"in e.RTCRtpReceiver.prototype)){var d=e.RTCPeerConnection.prototype.getReceivers;d&&(e.RTCPeerConnection.prototype.getReceivers=function(){var R=this,E=d.apply(this,[]);return E.forEach(function(k){return k._pc=R}),E}),ee.wrapPeerConnectionEvent(e,"track",function(D){return D.receiver._pc=D.srcElement,D}),e.RTCRtpReceiver.prototype.getStats=function(){var R=this;return this._pc.getStats().then(function(E){return ee.filterStats(E,R.track,!1)})}}if("getStats"in e.RTCRtpSender.prototype&&"getStats"in e.RTCRtpReceiver.prototype){var S=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){var E,k,o,R=arguments[0];return this.getSenders().forEach(function(T){T.track===R&&(E?o=!0:E=T)}),this.getReceivers().forEach(function(T){return T.track===R&&(k?o=!0:k=T),T.track===R}),o||E&&k?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):E?E.getStats():k?k.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return S.apply(this,arguments)}}}};var ee=function t(e,s){if(!s&&e&&e.__esModule)return e;if(null===e||"object"!=j(e)&&"function"!=typeof e)return{default:e};var i=n(s);if(i&&i.has(e))return i.get(e);var d={__proto__:null},S=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in e)if("default"!==D&&{}.hasOwnProperty.call(e,D)){var R=S?Object.getOwnPropertyDescriptor(e,D):null;R&&(R.get||R.set)?Object.defineProperty(d,D,R):d[D]=e[D]}return d.default=e,i&&i.set(e,d),d}(ce("../utils.js")),y=ce("./getusermedia");function n(e){if("function"!=typeof WeakMap)return null;var s=new WeakMap,i=new WeakMap;return(n=function(S){return S?i:s})(e)}function l(e,s,i){return(s=function m(e){var s=function P(e,s){if("object"!=j(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var d=i.call(e,s||"default");if("object"!=j(d))return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(e)}(e,"string");return"symbol"==j(s)?s:s+""}(s))in e?Object.defineProperty(e,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[s]=i,e}function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s})(e)}function J(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){var R=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(function(E){return R._shimmedLocalStreams[E][0]})};var s=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(R,E){if(!E)return s.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};var k=s.apply(this,arguments);return this._shimmedLocalStreams[E.id]?-1===this._shimmedLocalStreams[E.id].indexOf(k)&&this._shimmedLocalStreams[E.id].push(k):this._shimmedLocalStreams[E.id]=[E,k],k};var i=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(R){var E=this;this._shimmedLocalStreams=this._shimmedLocalStreams||{},R.getTracks().forEach(function(T){if(E.getSenders().find(function(N){return N.track===T}))throw new DOMException("Track already exists.","InvalidAccessError")});var k=this.getSenders();i.apply(this,arguments);var o=this.getSenders().filter(function(T){return-1===k.indexOf(T)});this._shimmedLocalStreams[R.id]=[R].concat(o)};var d=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(R){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[R.id],d.apply(this,arguments)};var S=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(R){var E=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},R&&Object.keys(this._shimmedLocalStreams).forEach(function(k){var o=E._shimmedLocalStreams[k].indexOf(R);-1!==o&&E._shimmedLocalStreams[k].splice(o,1),1===E._shimmedLocalStreams[k].length&&delete E._shimmedLocalStreams[k]}),S.apply(this,arguments)}}},{"../utils.js":10,"./getusermedia":4}],4:[function(ce,ye,O){"use strict";function y(P){if("function"!=typeof WeakMap)return null;var j=new WeakMap,U=new WeakMap;return(y=function(G){return G?U:j})(P)}function t(P){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(j){return typeof j}:function(j){return j&&"function"==typeof Symbol&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j})(P)}Object.defineProperty(O,"__esModule",{value:!0}),O.shimGetUserMedia=function m(P,j){var U=P&&P.navigator;if(U.mediaDevices){var Q=function(p){if("object"!==t(p)||p.mandatory||p.optional)return p;var e={};return Object.keys(p).forEach(function(s){if("require"!==s&&"advanced"!==s&&"mediaSource"!==s){var i="object"===t(p[s])?p[s]:{ideal:p[s]};void 0!==i.exact&&"number"==typeof i.exact&&(i.min=i.max=i.exact);var d=function(R,E){return R?R+E.charAt(0).toUpperCase()+E.slice(1):"deviceId"===E?"sourceId":E};if(void 0!==i.ideal){e.optional=e.optional||[];var S={};"number"==typeof i.ideal?(S[d("min",s)]=i.ideal,e.optional.push(S),(S={})[d("max",s)]=i.ideal,e.optional.push(S)):(S[d("",s)]=i.ideal,e.optional.push(S))}void 0!==i.exact&&"number"!=typeof i.exact?(e.mandatory=e.mandatory||{},e.mandatory[d("",s)]=i.exact):["min","max"].forEach(function(D){void 0!==i[D]&&(e.mandatory=e.mandatory||{},e.mandatory[d(D,s)]=i[D])})}}),p.advanced&&(e.optional=(e.optional||[]).concat(p.advanced)),e},G=function(p,e){if(j.version>=61)return e(p);if((p=JSON.parse(JSON.stringify(p)))&&"object"===t(p.audio)){var s=function(R,E,k){E in R&&!(k in R)&&(R[k]=R[E],delete R[E])};s((p=JSON.parse(JSON.stringify(p))).audio,"autoGainControl","googAutoGainControl"),s(p.audio,"noiseSuppression","googNoiseSuppression"),p.audio=Q(p.audio)}if(p&&"object"===t(p.video)){var i=p.video.facingMode;i=i&&("object"===t(i)?i:{ideal:i});var S,d=j.version<66;if(i&&("user"===i.exact||"environment"===i.exact||"user"===i.ideal||"environment"===i.ideal)&&(!U.mediaDevices.getSupportedConstraints||!U.mediaDevices.getSupportedConstraints().facingMode||d)&&(delete p.video.facingMode,"environment"===i.exact||"environment"===i.ideal?S=["back","rear"]:("user"===i.exact||"user"===i.ideal)&&(S=["front"]),S))return U.mediaDevices.enumerateDevices().then(function(D){var R=(D=D.filter(function(E){return"videoinput"===E.kind})).find(function(E){return S.some(function(k){return E.label.toLowerCase().includes(k)})});return!R&&D.length&&S.includes("back")&&(R=D[D.length-1]),R&&(p.video.deviceId=i.exact?{exact:R.deviceId}:{ideal:R.deviceId}),p.video=Q(p.video),l("chrome: "+JSON.stringify(p)),e(p)});p.video=Q(p.video)}return l("chrome: "+JSON.stringify(p)),e(p)},_=function(p){return j.version>=64?p:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[p.name]||p.name,message:p.message,constraint:p.constraint||p.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};if(U.getUserMedia=function(p,e,s){G(p,function(i){U.webkitGetUserMedia(i,e,function(d){s&&s(_(d))})})}.bind(U),U.mediaDevices.getUserMedia){var v=U.mediaDevices.getUserMedia.bind(U.mediaDevices);U.mediaDevices.getUserMedia=function(r){return G(r,function(p){return v(p).then(function(e){if(p.audio&&!e.getAudioTracks().length||p.video&&!e.getVideoTracks().length)throw e.getTracks().forEach(function(s){s.stop()}),new DOMException("","NotFoundError");return e},function(e){return Promise.reject(_(e))})})}}}};var l=function n(P,j){if(!j&&P&&P.__esModule)return P;if(null===P||"object"!=t(P)&&"function"!=typeof P)return{default:P};var U=y(j);if(U&&U.has(P))return U.get(P);var Q={__proto__:null},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in P)if("default"!==_&&{}.hasOwnProperty.call(P,_)){var J=G?Object.getOwnPropertyDescriptor(P,_):null;J&&(J.get||J.set)?Object.defineProperty(Q,_,J):Q[_]=P[_]}return Q.default=P,U&&U.set(P,Q),Q}(ce("../utils.js")).log},{"../utils.js":10}],5:[function(ce,ye,O){"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.removeExtmapAllowMixed=function _(r,p){if(r.RTCPeerConnection&&!("chrome"===p.browser&&p.version>=71)&&!("safari"===p.browser&&p.version>=605)){var e=r.RTCPeerConnection.prototype.setRemoteDescription;r.RTCPeerConnection.prototype.setRemoteDescription=function(i){if(i&&i.sdp&&-1!==i.sdp.indexOf("\na=extmap-allow-mixed")){var d=i.sdp.split("\n").filter(function(S){return"a=extmap-allow-mixed"!==S.trim()}).join("\n");r.RTCSessionDescription&&i instanceof r.RTCSessionDescription?arguments[0]=new r.RTCSessionDescription({type:i.type,sdp:d}):i.sdp=d}return e.apply(this,arguments)}}},O.shimAddIceCandidateNullOrEmpty=function J(r,p){if(r.RTCPeerConnection&&r.RTCPeerConnection.prototype){var e=r.RTCPeerConnection.prototype.addIceCandidate;!e||0===e.length||(r.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?("chrome"===p.browser&&p.version<78||"firefox"===p.browser&&p.version<68||"safari"===p.browser)&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():e.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}},O.shimConnectionState=function G(r){if(r.RTCPeerConnection&&!("connectionState"in r.RTCPeerConnection.prototype)){var p=r.RTCPeerConnection.prototype;Object.defineProperty(p,"connectionState",{get:function(){return{completed:"connected",checking:"connecting"}[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(p,"onconnectionstatechange",{get:function(){return this._onconnectionstatechange||null},set:function(s){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),s&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=s)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach(function(e){var s=p[e];p[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=function(i){var d=i.target;if(d._lastConnectionState!==d.connectionState){d._lastConnectionState=d.connectionState;var S=new Event("connectionstatechange",i);d.dispatchEvent(S)}return i},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),s.apply(this,arguments)}})}},O.shimMaxMessageSize=function U(r,p){if(r.RTCPeerConnection){"sctp"in r.RTCPeerConnection.prototype||Object.defineProperty(r.RTCPeerConnection.prototype,"sctp",{get:function(){return typeof this._sctp>"u"?null:this._sctp}});var S=r.RTCPeerConnection.prototype.setRemoteDescription;r.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===p.browser&&p.version>=76&&"plan-b"===this.getConfiguration().sdpSemantics&&Object.defineProperty(this,"sctp",{get:function(){return typeof this._sctp>"u"?null:this._sctp},enumerable:!0,configurable:!0}),function(R){if(!R||!R.sdp)return!1;var E=ee.default.splitSections(R.sdp);return E.shift(),E.some(function(k){var o=ee.default.parseMLine(k);return o&&"application"===o.kind&&-1!==o.protocol.indexOf("SCTP")})}(arguments[0])){var A,k=function(R){var E=R.sdp.match(/mozilla...THIS_IS_SDPARTA-(\d+)/);if(null===E||E.length<2)return-1;var k=parseInt(E[1],10);return k!=k?-1:k}(arguments[0]),o=(R=k,E=65536,"firefox"===p.browser&&(E=p.version<57?-1===R?16384:2147483637:p.version<60?57===p.version?65535:65536:2147483637),E),T=function(R,E){var k=65536;"firefox"===p.browser&&57===p.version&&(k=65535);var o=ee.default.matchPrefix(R.sdp,"a=max-message-size:");return o.length>0?k=parseInt(o[0].substring(19),10):"firefox"===p.browser&&-1!==E&&(k=2147483637),k}(arguments[0],k);A=0===o&&0===T?Number.POSITIVE_INFINITY:0===o||0===T?Math.max(o,T):Math.min(o,T);var N={};Object.defineProperty(N,"maxMessageSize",{get:function(){return A}}),this._sctp=N}var R,E;return S.apply(this,arguments)}}},O.shimParameterlessSetLocalDescription=function v(r,p){if(r.RTCPeerConnection&&r.RTCPeerConnection.prototype){var e=r.RTCPeerConnection.prototype.setLocalDescription;!e||0===e.length||(r.RTCPeerConnection.prototype.setLocalDescription=function(){var i=this,d=arguments[0]||{};if("object"!==m(d)||d.type&&d.sdp)return e.apply(this,arguments);if(!(d={type:d.type,sdp:d.sdp}).type)switch(this.signalingState){case"stable":case"have-local-offer":case"have-remote-pranswer":d.type="offer";break;default:d.type="answer"}return d.sdp||"offer"!==d.type&&"answer"!==d.type?e.apply(this,[d]):("offer"===d.type?this.createOffer:this.createAnswer).apply(this).then(function(D){return e.apply(i,[D])})})}},O.shimRTCIceCandidate=function P(r){if(!(!r.RTCIceCandidate||r.RTCIceCandidate&&"foundation"in r.RTCIceCandidate.prototype)){var p=r.RTCIceCandidate;r.RTCIceCandidate=function(s){if("object"===m(s)&&s.candidate&&0===s.candidate.indexOf("a=")&&((s=JSON.parse(JSON.stringify(s))).candidate=s.candidate.substring(2)),s.candidate&&s.candidate.length){var i=new p(s),d=ee.default.parseCandidate(s.candidate);for(var S in d)S in i||Object.defineProperty(i,S,{value:d[S]});return i.toJSON=function(){return{candidate:i.candidate,sdpMid:i.sdpMid,sdpMLineIndex:i.sdpMLineIndex,usernameFragment:i.usernameFragment}},i}return new p(s)},r.RTCIceCandidate.prototype=p.prototype,y.wrapPeerConnectionEvent(r,"icecandidate",function(e){return e.candidate&&Object.defineProperty(e,"candidate",{value:new r.RTCIceCandidate(e.candidate),writable:"false"}),e})}},O.shimRTCIceCandidateRelayProtocol=function j(r){!r.RTCIceCandidate||r.RTCIceCandidate&&"relayProtocol"in r.RTCIceCandidate.prototype||y.wrapPeerConnectionEvent(r,"icecandidate",function(p){if(p.candidate){var e=ee.default.parseCandidate(p.candidate.candidate);"relay"===e.type&&(p.candidate.relayProtocol={0:"tls",1:"tcp",2:"udp"}[e.priority>>24])}return p})},O.shimSendThrowTypeError=function Q(r){if(r.RTCPeerConnection&&"createDataChannel"in r.RTCPeerConnection.prototype){var e=r.RTCPeerConnection.prototype.createDataChannel;r.RTCPeerConnection.prototype.createDataChannel=function(){var i=e.apply(this,arguments);return p(i,this),i},y.wrapPeerConnectionEvent(r,"datachannel",function(s){return p(s.channel,s.target),s})}function p(s,i){var d=s.send;s.send=function(){var D=arguments[0];if("open"===s.readyState&&i.sctp&&(D.length||D.size||D.byteLength)>i.sctp.maxMessageSize)throw new TypeError("Message too large (can send a maximum of "+i.sctp.maxMessageSize+" bytes)");return d.apply(s,arguments)}}};var ee=function l(r){return r&&r.__esModule?r:{default:r}}(ce("sdp")),y=function t(r,p){if(!p&&r&&r.__esModule)return r;if(null===r||"object"!=m(r)&&"function"!=typeof r)return{default:r};var e=n(p);if(e&&e.has(r))return e.get(r);var s={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var d in r)if("default"!==d&&{}.hasOwnProperty.call(r,d)){var S=i?Object.getOwnPropertyDescriptor(r,d):null;S&&(S.get||S.set)?Object.defineProperty(s,d,S):s[d]=r[d]}return s.default=r,e&&e.set(r,s),s}(ce("./utils"));function n(r){if("function"!=typeof WeakMap)return null;var p=new WeakMap,e=new WeakMap;return(n=function(i){return i?e:p})(r)}function m(r){return(m="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})(r)}},{"./utils":10,sdp:11}],6:[function(ce,ye,O){"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.shimAddTransceiver=function D(o){if("object"===r(o)&&o.RTCPeerConnection){var T=o.RTCPeerConnection.prototype.addTransceiver;T&&(o.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];var N=arguments[1]&&arguments[1].sendEncodings;void 0===N&&(N=[]);var Z=(N=function m(o){return function Q(o){if(Array.isArray(o))return G(o)}(o)||function U(o){if(typeof Symbol<"u"&&null!=o[Symbol.iterator]||null!=o["@@iterator"])return Array.from(o)}(o)||function j(o,T){if(o){if("string"==typeof o)return G(o,T);var A=Object.prototype.toString.call(o).slice(8,-1);if("Object"===A&&o.constructor&&(A=o.constructor.name),"Map"===A||"Set"===A)return Array.from(o);if("Arguments"===A||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return G(o,T)}}(o)||function P(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(N)).length>0;Z&&N.forEach(function(je){if("rid"in je&&!/^[a-z0-9]{0,16}$/i.test(je.rid))throw new TypeError("Invalid RID value provided.");if("scaleResolutionDownBy"in je&&!(parseFloat(je.scaleResolutionDownBy)>=1))throw new RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in je&&!(parseFloat(je.maxFramerate)>=0))throw new RangeError("max_framerate must be >= 0.0")});var se=T.apply(this,arguments);if(Z){var ve=se.sender,Ce=ve.getParameters();(!("encodings"in Ce)||1===Ce.encodings.length&&0===Object.keys(Ce.encodings[0]).length)&&(Ce.encodings=N,ve.sendEncodings=N,this.setParametersPromises.push(ve.setParameters(Ce).then(function(){delete ve.sendEncodings}).catch(function(){delete ve.sendEncodings})))}return se})}},O.shimCreateAnswer=function k(o){if("object"===r(o)&&o.RTCPeerConnection){var T=o.RTCPeerConnection.prototype.createAnswer;o.RTCPeerConnection.prototype.createAnswer=function(){var N=arguments,Z=this;return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(function(){return T.apply(Z,N)}).finally(function(){Z.setParametersPromises=[]}):T.apply(this,arguments)}}},O.shimCreateOffer=function E(o){if("object"===r(o)&&o.RTCPeerConnection){var T=o.RTCPeerConnection.prototype.createOffer;o.RTCPeerConnection.prototype.createOffer=function(){var N=arguments,Z=this;return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then(function(){return T.apply(Z,N)}).finally(function(){Z.setParametersPromises=[]}):T.apply(this,arguments)}}},Object.defineProperty(O,"shimGetDisplayMedia",{enumerable:!0,get:function(){return n.shimGetDisplayMedia}}),O.shimGetParameters=function R(o){if("object"===r(o)&&o.RTCRtpSender){var T=o.RTCRtpSender.prototype.getParameters;T&&(o.RTCRtpSender.prototype.getParameters=function(){var N=T.apply(this,arguments);return"encodings"in N||(N.encodings=[].concat(this.sendEncodings||[{}])),N})}},Object.defineProperty(O,"shimGetUserMedia",{enumerable:!0,get:function(){return y.shimGetUserMedia}}),O.shimOnTrack=function p(o){"object"===r(o)&&o.RTCTrackEvent&&"receiver"in o.RTCTrackEvent.prototype&&!("transceiver"in o.RTCTrackEvent.prototype)&&Object.defineProperty(o.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})},O.shimPeerConnection=function e(o,T){if("object"===r(o)&&(o.RTCPeerConnection||o.mozRTCPeerConnection)){!o.RTCPeerConnection&&o.mozRTCPeerConnection&&(o.RTCPeerConnection=o.mozRTCPeerConnection),T.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(Z){var se=o.RTCPeerConnection.prototype[Z],ve=function _(o,T,A){return(T=function J(o){var T=function v(o,T){if("object"!=r(o)||!o)return o;var A=o[Symbol.toPrimitive];if(void 0!==A){var N=A.call(o,T||"default");if("object"!=r(N))return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===T?String:Number)(o)}(o,"string");return"symbol"==r(T)?T:T+""}(T))in o?Object.defineProperty(o,T,{value:A,enumerable:!0,configurable:!0,writable:!0}):o[T]=A,o}({},Z,function(){return arguments[0]=new("addIceCandidate"===Z?o.RTCIceCandidate:o.RTCSessionDescription)(arguments[0]),se.apply(this,arguments)});o.RTCPeerConnection.prototype[Z]=ve[Z]});var A={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},N=o.RTCPeerConnection.prototype.getStats;o.RTCPeerConnection.prototype.getStats=function(){var se=Array.prototype.slice.call(arguments),Ce=se[1],je=se[2];return N.apply(this,[se[0]||null]).then(function(ze){if(T.version<53&&!Ce)try{ze.forEach(function(Ke){Ke.type=A[Ke.type]||Ke.type})}catch(Ke){if("TypeError"!==Ke.name)throw Ke;ze.forEach(function(et,rt){ze.set(rt,Object.assign({},et,{type:A[et.type]||et.type}))})}return ze}).then(Ce,je)}}},O.shimRTCDataChannel=function S(o){o.DataChannel&&!o.RTCDataChannel&&(o.RTCDataChannel=o.DataChannel)},O.shimReceiverGetStats=function i(o){if("object"===r(o)&&o.RTCPeerConnection&&o.RTCRtpSender&&(!o.RTCRtpSender||!("getStats"in o.RTCRtpReceiver.prototype))){var T=o.RTCPeerConnection.prototype.getReceivers;T&&(o.RTCPeerConnection.prototype.getReceivers=function(){var N=this,Z=T.apply(this,[]);return Z.forEach(function(se){return se._pc=N}),Z}),ee.wrapPeerConnectionEvent(o,"track",function(A){return A.receiver._pc=A.srcElement,A}),o.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}},O.shimRemoveStream=function d(o){!o.RTCPeerConnection||"removeStream"in o.RTCPeerConnection.prototype||(o.RTCPeerConnection.prototype.removeStream=function(A){var N=this;ee.deprecated("removeStream","removeTrack"),this.getSenders().forEach(function(Z){Z.track&&A.getTracks().includes(Z.track)&&N.removeTrack(Z)})})},O.shimSenderGetStats=function s(o){if("object"===r(o)&&o.RTCPeerConnection&&o.RTCRtpSender&&(!o.RTCRtpSender||!("getStats"in o.RTCRtpSender.prototype))){var T=o.RTCPeerConnection.prototype.getSenders;T&&(o.RTCPeerConnection.prototype.getSenders=function(){var Z=this,se=T.apply(this,[]);return se.forEach(function(ve){return ve._pc=Z}),se});var A=o.RTCPeerConnection.prototype.addTrack;A&&(o.RTCPeerConnection.prototype.addTrack=function(){var Z=A.apply(this,arguments);return Z._pc=this,Z}),o.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}};var ee=function l(o,T){if(!T&&o&&o.__esModule)return o;if(null===o||"object"!=r(o)&&"function"!=typeof o)return{default:o};var A=t(T);if(A&&A.has(o))return A.get(o);var N={__proto__:null},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var se in o)if("default"!==se&&{}.hasOwnProperty.call(o,se)){var ve=Z?Object.getOwnPropertyDescriptor(o,se):null;ve&&(ve.get||ve.set)?Object.defineProperty(N,se,ve):N[se]=o[se]}return N.default=o,A&&A.set(o,N),N}(ce("../utils")),y=ce("./getusermedia"),n=ce("./getdisplaymedia");function t(o){if("function"!=typeof WeakMap)return null;var T=new WeakMap,A=new WeakMap;return(t=function(Z){return Z?A:T})(o)}function G(o,T){(null==T||T>o.length)&&(T=o.length);for(var A=0,N=new Array(T);A<T;A++)N[A]=o[A];return N}function r(o){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(T){return typeof T}:function(T){return T&&"function"==typeof Symbol&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T})(o)}},{"../utils":10,"./getdisplaymedia":7,"./getusermedia":8}],7:[function(ce,ye,O){"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.shimGetDisplayMedia=function ee(y,n){y.navigator.mediaDevices&&"getDisplayMedia"in y.navigator.mediaDevices||y.navigator.mediaDevices&&(y.navigator.mediaDevices.getDisplayMedia=function(l){if(!l||!l.video){var m=new DOMException("getDisplayMedia without video constraints is undefined");return m.name="NotFoundError",m.code=8,Promise.reject(m)}return!0===l.video?l.video={mediaSource:n}:l.video.mediaSource=n,y.navigator.mediaDevices.getUserMedia(l)})}},{}],8:[function(ce,ye,O){"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.shimGetUserMedia=function l(m,P){var j=m&&m.navigator,U=m&&m.MediaStreamTrack;if(j.getUserMedia=function(v,r,p){ee.deprecated("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),j.mediaDevices.getUserMedia(v).then(r,p)},!(P.version>55&&"autoGainControl"in j.mediaDevices.getSupportedConstraints())){var Q=function(r,p,e){p in r&&!(e in r)&&(r[e]=r[p],delete r[p])},G=j.mediaDevices.getUserMedia.bind(j.mediaDevices);if(j.mediaDevices.getUserMedia=function(v){return"object"===t(v)&&"object"===t(v.audio)&&(v=JSON.parse(JSON.stringify(v)),Q(v.audio,"autoGainControl","mozAutoGainControl"),Q(v.audio,"noiseSuppression","mozNoiseSuppression")),G(v)},U&&U.prototype.getSettings){var _=U.prototype.getSettings;U.prototype.getSettings=function(){var v=_.apply(this,arguments);return Q(v,"mozAutoGainControl","autoGainControl"),Q(v,"mozNoiseSuppression","noiseSuppression"),v}}if(U&&U.prototype.applyConstraints){var J=U.prototype.applyConstraints;U.prototype.applyConstraints=function(v){return"audio"===this.kind&&"object"===t(v)&&(v=JSON.parse(JSON.stringify(v)),Q(v,"autoGainControl","mozAutoGainControl"),Q(v,"noiseSuppression","mozNoiseSuppression")),J.apply(this,[v])}}}};var ee=function n(m,P){if(!P&&m&&m.__esModule)return m;if(null===m||"object"!=t(m)&&"function"!=typeof m)return{default:m};var j=y(P);if(j&&j.has(m))return j.get(m);var U={__proto__:null},Q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var G in m)if("default"!==G&&{}.hasOwnProperty.call(m,G)){var _=Q?Object.getOwnPropertyDescriptor(m,G):null;_&&(_.get||_.set)?Object.defineProperty(U,G,_):U[G]=m[G]}return U.default=m,j&&j.set(m,U),U}(ce("../utils"));function y(m){if("function"!=typeof WeakMap)return null;var P=new WeakMap,j=new WeakMap;return(y=function(Q){return Q?j:P})(m)}function t(m){return(t="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})(m)}},{"../utils":10}],9:[function(ce,ye,O){"use strict";Object.defineProperty(O,"__esModule",{value:!0}),O.shimAudioContext=function J(v){"object"!==t(v)||v.AudioContext||(v.AudioContext=v.webkitAudioContext)},O.shimCallbacksAPI=function P(v){if("object"===t(v)&&v.RTCPeerConnection){var r=v.RTCPeerConnection.prototype,p=r.createOffer,e=r.createAnswer,s=r.setLocalDescription,i=r.setRemoteDescription,d=r.addIceCandidate;r.createOffer=function(R,E){var o=p.apply(this,[arguments.length>=2?arguments[2]:arguments[0]]);return E?(o.then(R,E),Promise.resolve()):o},r.createAnswer=function(R,E){var o=e.apply(this,[arguments.length>=2?arguments[2]:arguments[0]]);return E?(o.then(R,E),Promise.resolve()):o};var S=function(R,E,k){var o=s.apply(this,[R]);return k?(o.then(E,k),Promise.resolve()):o};r.setLocalDescription=S,r.setRemoteDescription=S=function(R,E,k){var o=i.apply(this,[R]);return k?(o.then(E,k),Promise.resolve()):o},r.addIceCandidate=S=function(R,E,k){var o=d.apply(this,[R]);return k?(o.then(E,k),Promise.resolve()):o}}},O.shimConstraints=U,O.shimCreateOfferLegacy=function _(v){var r=v.RTCPeerConnection.prototype.createOffer;v.RTCPeerConnection.prototype.createOffer=function(e){if(e){typeof e.offerToReceiveAudio<"u"&&(e.offerToReceiveAudio=!!e.offerToReceiveAudio);var s=this.getTransceivers().find(function(d){return"audio"===d.receiver.track.kind});!1===e.offerToReceiveAudio&&s?"sendrecv"===s.direction?s.setDirection?s.setDirection("sendonly"):s.direction="sendonly":"recvonly"===s.direction&&(s.setDirection?s.setDirection("inactive"):s.direction="inactive"):!0===e.offerToReceiveAudio&&!s&&this.addTransceiver("audio",{direction:"recvonly"}),typeof e.offerToReceiveVideo<"u"&&(e.offerToReceiveVideo=!!e.offerToReceiveVideo);var i=this.getTransceivers().find(function(d){return"video"===d.receiver.track.kind});!1===e.offerToReceiveVideo&&i?"sendrecv"===i.direction?i.setDirection?i.setDirection("sendonly"):i.direction="sendonly":"recvonly"===i.direction&&(i.setDirection?i.setDirection("inactive"):i.direction="inactive"):!0===e.offerToReceiveVideo&&!i&&this.addTransceiver("video",{direction:"recvonly"})}return r.apply(this,arguments)}},O.shimGetUserMedia=function j(v){var r=v&&v.navigator;if(r.mediaDevices&&r.mediaDevices.getUserMedia){var p=r.mediaDevices,e=p.getUserMedia.bind(p);r.mediaDevices.getUserMedia=function(s){return e(U(s))}}!r.getUserMedia&&r.mediaDevices&&r.mediaDevices.getUserMedia&&(r.getUserMedia=function(i,d,S){r.mediaDevices.getUserMedia(i).then(d,S)}.bind(r))},O.shimLocalStreamsAPI=function l(v){if("object"===t(v)&&v.RTCPeerConnection){if("getLocalStreams"in v.RTCPeerConnection.prototype||(v.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in v.RTCPeerConnection.prototype)){var r=v.RTCPeerConnection.prototype.addTrack;v.RTCPeerConnection.prototype.addStream=function(e){var s=this;this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach(function(i){return r.call(s,i,e)}),e.getVideoTracks().forEach(function(i){return r.call(s,i,e)})},v.RTCPeerConnection.prototype.addTrack=function(e){for(var s=this,i=arguments.length,d=new Array(i>1?i-1:0),S=1;S<i;S++)d[S-1]=arguments[S];return d&&d.forEach(function(D){s._localStreams?s._localStreams.includes(D)||s._localStreams.push(D):s._localStreams=[D]}),r.apply(this,arguments)}}"removeStream"in v.RTCPeerConnection.prototype||(v.RTCPeerConnection.prototype.removeStream=function(e){var s=this;this._localStreams||(this._localStreams=[]);var i=this._localStreams.indexOf(e);if(-1!==i){this._localStreams.splice(i,1);var d=e.getTracks();this.getSenders().forEach(function(S){d.includes(S.track)&&s.removeTrack(S)})}})}},O.shimRTCIceServerUrls=function Q(v){if(v.RTCPeerConnection){var r=v.RTCPeerConnection;v.RTCPeerConnection=function(e,s){if(e&&e.iceServers){for(var i=[],d=0;d<e.iceServers.length;d++){var S=e.iceServers[d];void 0===S.urls&&S.url?(ee.deprecated("RTCIceServer.url","RTCIceServer.urls"),(S=JSON.parse(JSON.stringify(S))).urls=S.url,delete S.url,i.push(S)):i.push(e.iceServers[d])}e.iceServers=i}return new r(e,s)},v.RTCPeerConnection.prototype=r.prototype,"generateCertificate"in r&&Object.defineProperty(v.RTCPeerConnection,"generateCertificate",{get:function(){return r.generateCertificate}})}},O.shimRemoteStreamsAPI=function m(v){if("object"===t(v)&&v.RTCPeerConnection&&("getRemoteStreams"in v.RTCPeerConnection.prototype||(v.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),!("onaddstream"in v.RTCPeerConnection.prototype))){Object.defineProperty(v.RTCPeerConnection.prototype,"onaddstream",{get:function(){return this._onaddstream},set:function(e){var s=this;this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=function(i){i.streams.forEach(function(d){if(s._remoteStreams||(s._remoteStreams=[]),!s._remoteStreams.includes(d)){s._remoteStreams.push(d);var S=new Event("addstream");S.stream=d,s.dispatchEvent(S)}})})}});var r=v.RTCPeerConnection.prototype.setRemoteDescription;v.RTCPeerConnection.prototype.setRemoteDescription=function(){var e=this;return this._onaddstreampoly||this.addEventListener("track",this._onaddstreampoly=function(s){s.streams.forEach(function(i){if(e._remoteStreams||(e._remoteStreams=[]),!(e._remoteStreams.indexOf(i)>=0)){e._remoteStreams.push(i);var d=new Event("addstream");d.stream=i,e.dispatchEvent(d)}})}),r.apply(e,arguments)}}},O.shimTrackEventTransceiver=function G(v){"object"===t(v)&&v.RTCTrackEvent&&"receiver"in v.RTCTrackEvent.prototype&&!("transceiver"in v.RTCTrackEvent.prototype)&&Object.defineProperty(v.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})};var ee=function n(v,r){if(!r&&v&&v.__esModule)return v;if(null===v||"object"!=t(v)&&"function"!=typeof v)return{default:v};var p=y(r);if(p&&p.has(v))return p.get(v);var e={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in v)if("default"!==i&&{}.hasOwnProperty.call(v,i)){var d=s?Object.getOwnPropertyDescriptor(v,i):null;d&&(d.get||d.set)?Object.defineProperty(e,i,d):e[i]=v[i]}return e.default=v,p&&p.set(v,e),e}(ce("../utils"));function y(v){if("function"!=typeof WeakMap)return null;var r=new WeakMap,p=new WeakMap;return(y=function(s){return s?p:r})(v)}function t(v){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(v)}function U(v){return v&&void 0!==v.video?Object.assign({},v,{video:ee.compactObject(v.video)}):v}},{"../utils":10}],10:[function(ce,ye,O){"use strict";function ee(s,i,d){return(i=function y(s){var i=function n(s,i){if("object"!=t(s)||!s)return s;var d=s[Symbol.toPrimitive];if(void 0!==d){var S=d.call(s,i||"default");if("object"!=t(S))return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(s)}(s,"string");return"symbol"==t(i)?i:i+""}(i))in s?Object.defineProperty(s,i,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[i]=d,s}function t(s){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(s)}Object.defineProperty(O,"__esModule",{value:!0}),O.compactObject=function r(s){return v(s)?Object.keys(s).reduce(function(i,d){var S=v(s[d]),D=S?r(s[d]):s[d],R=S&&!Object.keys(D).length;return void 0===D||R?i:Object.assign(i,ee({},d,D))},{}):s},O.deprecated=function _(s,i){m&&console.warn(s+" is deprecated, please use "+i+" instead.")},O.detectBrowser=function J(s){var i={browser:null,version:null};if(typeof s>"u"||!s.navigator||!s.navigator.userAgent)return i.browser="Not a browser.",i;var d=s.navigator;if(d.userAgentData&&d.userAgentData.brands){var S=d.userAgentData.brands.find(function(D){return"Chromium"===D.brand});if(S)return{browser:"chrome",version:parseInt(S.version,10)}}if(d.mozGetUserMedia)i.browser="firefox",i.version=P(d.userAgent,/Firefox\/(\d+)\./,1);else if(d.webkitGetUserMedia||!1===s.isSecureContext&&s.webkitRTCPeerConnection)i.browser="chrome",i.version=P(d.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else{if(!s.RTCPeerConnection||!d.userAgent.match(/AppleWebKit\/(\d+)\./))return i.browser="Not a supported browser.",i;i.browser="safari",i.version=P(d.userAgent,/AppleWebKit\/(\d+)\./,1),i.supportsUnifiedPlan=s.RTCRtpTransceiver&&"currentDirection"in s.RTCRtpTransceiver.prototype}return i},O.disableLog=function U(s){return"boolean"!=typeof s?new Error("Argument type: "+t(s)+". Please use a boolean."):(l=s,s?"adapter.js logging disabled":"adapter.js logging enabled")},O.disableWarnings=function Q(s){return"boolean"!=typeof s?new Error("Argument type: "+t(s)+". Please use a boolean."):(m=!s,"adapter.js deprecation warnings "+(s?"disabled":"enabled"))},O.extractVersion=P,O.filterStats=function e(s,i,d){var S=d?"outbound-rtp":"inbound-rtp",D=new Map;if(null===i)return D;var R=[];return s.forEach(function(E){"track"===E.type&&E.trackIdentifier===i.id&&R.push(E)}),R.forEach(function(E){s.forEach(function(k){k.type===S&&k.trackId===E.id&&p(s,k,D)})}),D},O.log=function G(){if("object"===(typeof window>"u"?"undefined":t(window))){if(l)return;typeof console<"u"&&"function"==typeof console.log&&console.log.apply(console,arguments)}},O.walkStats=p,O.wrapPeerConnectionEvent=function j(s,i,d){if(s.RTCPeerConnection){var S=s.RTCPeerConnection.prototype,D=S.addEventListener;S.addEventListener=function(E,k){if(E!==i)return D.apply(this,arguments);var o=function(A){var N=d(A);N&&(k.handleEvent?k.handleEvent(N):k(N))};return this._eventMap=this._eventMap||{},this._eventMap[i]||(this._eventMap[i]=new Map),this._eventMap[i].set(k,o),D.apply(this,[E,o])};var R=S.removeEventListener;S.removeEventListener=function(E,k){if(E!==i||!this._eventMap||!this._eventMap[i])return R.apply(this,arguments);if(!this._eventMap[i].has(k))return R.apply(this,arguments);var o=this._eventMap[i].get(k);return this._eventMap[i].delete(k),0===this._eventMap[i].size&&delete this._eventMap[i],0===Object.keys(this._eventMap).length&&delete this._eventMap,R.apply(this,[E,o])},Object.defineProperty(S,"on"+i,{get:function(){return this["_on"+i]},set:function(k){this["_on"+i]&&(this.removeEventListener(i,this["_on"+i]),delete this["_on"+i]),k&&this.addEventListener(i,this["_on"+i]=k)},enumerable:!0,configurable:!0})}};var l=!0,m=!0;function P(s,i,d){var S=s.match(i);return S&&S.length>=d&&parseInt(S[d],10)}function v(s){return"[object Object]"===Object.prototype.toString.call(s)}function p(s,i,d){!i||d.has(i.id)||(d.set(i.id,i),Object.keys(i).forEach(function(S){S.endsWith("Id")?p(s,s.get(i[S]),d):S.endsWith("Ids")&&i[S].forEach(function(D){p(s,s.get(D),d)})}))}},{}],11:[function(ce,ye,O){"use strict";var ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},y={generateIdentifier:function(){return Math.random().toString(36).substring(2,12)}};y.localCName=y.generateIdentifier(),y.splitLines=function(n){return n.trim().split("\n").map(function(t){return t.trim()})},y.splitSections=function(n){return n.split("\nm=").map(function(l,m){return(m>0?"m="+l:l).trim()+"\r\n"})},y.getDescription=function(n){var t=y.splitSections(n);return t&&t[0]},y.getMediaSections=function(n){var t=y.splitSections(n);return t.shift(),t},y.matchPrefix=function(n,t){return y.splitLines(n).filter(function(l){return 0===l.indexOf(t)})},y.parseCandidate=function(n){for(var t=void 0,l={foundation:(t=0===n.indexOf("a=candidate:")?n.substring(12).split(" "):n.substring(10).split(" "))[0],component:{1:"rtp",2:"rtcp"}[t[1]]||t[1],protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],address:t[4],port:parseInt(t[5],10),type:t[7]},m=8;m<t.length;m+=2)switch(t[m]){case"raddr":l.relatedAddress=t[m+1];break;case"rport":l.relatedPort=parseInt(t[m+1],10);break;case"tcptype":l.tcpType=t[m+1];break;case"ufrag":l.ufrag=t[m+1],l.usernameFragment=t[m+1];break;default:void 0===l[t[m]]&&(l[t[m]]=t[m+1])}return l},y.writeCandidate=function(n){var t=[];t.push(n.foundation);var l=n.component;t.push("rtp"===l?1:"rtcp"===l?2:l),t.push(n.protocol.toUpperCase()),t.push(n.priority),t.push(n.address||n.ip),t.push(n.port);var m=n.type;return t.push("typ"),t.push(m),"host"!==m&&n.relatedAddress&&n.relatedPort&&(t.push("raddr"),t.push(n.relatedAddress),t.push("rport"),t.push(n.relatedPort)),n.tcpType&&"tcp"===n.protocol.toLowerCase()&&(t.push("tcptype"),t.push(n.tcpType)),(n.usernameFragment||n.ufrag)&&(t.push("ufrag"),t.push(n.usernameFragment||n.ufrag)),"candidate:"+t.join(" ")},y.parseIceOptions=function(n){return n.substring(14).split(" ")},y.parseRtpMap=function(n){var t=n.substring(9).split(" "),l={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),l.name=t[0],l.clockRate=parseInt(t[1],10),l.channels=3===t.length?parseInt(t[2],10):1,l.numChannels=l.channels,l},y.writeRtpMap=function(n){var t=n.payloadType;void 0!==n.preferredPayloadType&&(t=n.preferredPayloadType);var l=n.channels||n.numChannels||1;return"a=rtpmap:"+t+" "+n.name+"/"+n.clockRate+(1!==l?"/"+l:"")+"\r\n"},y.parseExtmap=function(n){var t=n.substring(9).split(" ");return{id:parseInt(t[0],10),direction:t[0].indexOf("/")>0?t[0].split("/")[1]:"sendrecv",uri:t[1],attributes:t.slice(2).join(" ")}},y.writeExtmap=function(n){return"a=extmap:"+(n.id||n.preferredId)+(n.direction&&"sendrecv"!==n.direction?"/"+n.direction:"")+" "+n.uri+(n.attributes?" "+n.attributes:"")+"\r\n"},y.parseFmtp=function(n){for(var t={},l=void 0,m=n.substring(n.indexOf(" ")+1).split(";"),P=0;P<m.length;P++)t[(l=m[P].trim().split("="))[0].trim()]=l[1];return t},y.writeFmtp=function(n){var t="",l=n.payloadType;if(void 0!==n.preferredPayloadType&&(l=n.preferredPayloadType),n.parameters&&Object.keys(n.parameters).length){var m=[];Object.keys(n.parameters).forEach(function(P){m.push(void 0!==n.parameters[P]?P+"="+n.parameters[P]:P)}),t+="a=fmtp:"+l+" "+m.join(";")+"\r\n"}return t},y.parseRtcpFb=function(n){var t=n.substring(n.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},y.writeRtcpFb=function(n){var t="",l=n.payloadType;return void 0!==n.preferredPayloadType&&(l=n.preferredPayloadType),n.rtcpFeedback&&n.rtcpFeedback.length&&n.rtcpFeedback.forEach(function(m){t+="a=rtcp-fb:"+l+" "+m.type+(m.parameter&&m.parameter.length?" "+m.parameter:"")+"\r\n"}),t},y.parseSsrcMedia=function(n){var t=n.indexOf(" "),l={ssrc:parseInt(n.substring(7,t),10)},m=n.indexOf(":",t);return m>-1?(l.attribute=n.substring(t+1,m),l.value=n.substring(m+1)):l.attribute=n.substring(t+1),l},y.parseSsrcGroup=function(n){var t=n.substring(13).split(" ");return{semantics:t.shift(),ssrcs:t.map(function(l){return parseInt(l,10)})}},y.getMid=function(n){var t=y.matchPrefix(n,"a=mid:")[0];if(t)return t.substring(6)},y.parseFingerprint=function(n){var t=n.substring(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1].toUpperCase()}},y.getDtlsParameters=function(n,t){return{role:"auto",fingerprints:y.matchPrefix(n+t,"a=fingerprint:").map(y.parseFingerprint)}},y.writeDtlsParameters=function(n,t){var l="a=setup:"+t+"\r\n";return n.fingerprints.forEach(function(m){l+="a=fingerprint:"+m.algorithm+" "+m.value+"\r\n"}),l},y.parseCryptoLine=function(n){var t=n.substring(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},y.writeCryptoLine=function(n){return"a=crypto:"+n.tag+" "+n.cryptoSuite+" "+("object"===ee(n.keyParams)?y.writeCryptoKeyParams(n.keyParams):n.keyParams)+(n.sessionParams?" "+n.sessionParams.join(" "):"")+"\r\n"},y.parseCryptoKeyParams=function(n){if(0!==n.indexOf("inline:"))return null;var t=n.substring(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},y.writeCryptoKeyParams=function(n){return n.keyMethod+":"+n.keySalt+(n.lifeTime?"|"+n.lifeTime:"")+(n.mkiValue&&n.mkiLength?"|"+n.mkiValue+":"+n.mkiLength:"")},y.getCryptoParameters=function(n,t){return y.matchPrefix(n+t,"a=crypto:").map(y.parseCryptoLine)},y.getIceParameters=function(n,t){var l=y.matchPrefix(n+t,"a=ice-ufrag:")[0],m=y.matchPrefix(n+t,"a=ice-pwd:")[0];return l&&m?{usernameFragment:l.substring(12),password:m.substring(10)}:null},y.writeIceParameters=function(n){var t="a=ice-ufrag:"+n.usernameFragment+"\r\na=ice-pwd:"+n.password+"\r\n";return n.iceLite&&(t+="a=ice-lite\r\n"),t},y.parseRtpParameters=function(n){var t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},m=y.splitLines(n)[0].split(" ");t.profile=m[2];for(var P=3;P<m.length;P++){var j=m[P],U=y.matchPrefix(n,"a=rtpmap:"+j+" ")[0];if(U){var Q=y.parseRtpMap(U),G=y.matchPrefix(n,"a=fmtp:"+j+" ");switch(Q.parameters=G.length?y.parseFmtp(G[0]):{},Q.rtcpFeedback=y.matchPrefix(n,"a=rtcp-fb:"+j+" ").map(y.parseRtcpFb),t.codecs.push(Q),Q.name.toUpperCase()){case"RED":case"ULPFEC":t.fecMechanisms.push(Q.name.toUpperCase())}}}y.matchPrefix(n,"a=extmap:").forEach(function(J){t.headerExtensions.push(y.parseExtmap(J))});var _=y.matchPrefix(n,"a=rtcp-fb:* ").map(y.parseRtcpFb);return t.codecs.forEach(function(J){_.forEach(function(v){J.rtcpFeedback.find(function(p){return p.type===v.type&&p.parameter===v.parameter})||J.rtcpFeedback.push(v)})}),t},y.writeRtpDescription=function(n,t){var l="";l+="m="+n+" ",l+=t.codecs.length>0?"9":"0",l+=" "+(t.profile||"UDP/TLS/RTP/SAVPF")+" ",l+=t.codecs.map(function(P){return void 0!==P.preferredPayloadType?P.preferredPayloadType:P.payloadType}).join(" ")+"\r\n",l+="c=IN IP4 0.0.0.0\r\n",l+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach(function(P){l+=y.writeRtpMap(P),l+=y.writeFmtp(P),l+=y.writeRtcpFb(P)});var m=0;return t.codecs.forEach(function(P){P.maxptime>m&&(m=P.maxptime)}),m>0&&(l+="a=maxptime:"+m+"\r\n"),t.headerExtensions&&t.headerExtensions.forEach(function(P){l+=y.writeExtmap(P)}),l},y.parseRtpEncodingParameters=function(n){var t=[],l=y.parseRtpParameters(n),m=-1!==l.fecMechanisms.indexOf("RED"),P=-1!==l.fecMechanisms.indexOf("ULPFEC"),j=y.matchPrefix(n,"a=ssrc:").map(function(J){return y.parseSsrcMedia(J)}).filter(function(J){return"cname"===J.attribute}),U=j.length>0&&j[0].ssrc,Q=void 0,G=y.matchPrefix(n,"a=ssrc-group:FID").map(function(J){return J.substring(17).split(" ").map(function(r){return parseInt(r,10)})});G.length>0&&G[0].length>1&&G[0][0]===U&&(Q=G[0][1]),l.codecs.forEach(function(J){if("RTX"===J.name.toUpperCase()&&J.parameters.apt){var v={ssrc:U,codecPayloadType:parseInt(J.parameters.apt,10)};U&&Q&&(v.rtx={ssrc:Q}),t.push(v),m&&((v=JSON.parse(JSON.stringify(v))).fec={ssrc:U,mechanism:P?"red+ulpfec":"red"},t.push(v))}}),0===t.length&&U&&t.push({ssrc:U});var _=y.matchPrefix(n,"b=");return _.length&&(_=0===_[0].indexOf("b=TIAS:")?parseInt(_[0].substring(7),10):0===_[0].indexOf("b=AS:")?1e3*parseInt(_[0].substring(5),10)*.95-16e3:void 0,t.forEach(function(J){J.maxBitrate=_})),t},y.parseRtcpParameters=function(n){var t={},l=y.matchPrefix(n,"a=ssrc:").map(function(j){return y.parseSsrcMedia(j)}).filter(function(j){return"cname"===j.attribute})[0];l&&(t.cname=l.value,t.ssrc=l.ssrc);var m=y.matchPrefix(n,"a=rtcp-rsize");t.reducedSize=m.length>0,t.compound=0===m.length;var P=y.matchPrefix(n,"a=rtcp-mux");return t.mux=P.length>0,t},y.writeRtcpParameters=function(n){var t="";return n.reducedSize&&(t+="a=rtcp-rsize\r\n"),n.mux&&(t+="a=rtcp-mux\r\n"),void 0!==n.ssrc&&n.cname&&(t+="a=ssrc:"+n.ssrc+" cname:"+n.cname+"\r\n"),t},y.parseMsid=function(n){var t=void 0,l=y.matchPrefix(n,"a=msid:");if(1===l.length)return{stream:(t=l[0].substring(7).split(" "))[0],track:t[1]};var m=y.matchPrefix(n,"a=ssrc:").map(function(P){return y.parseSsrcMedia(P)}).filter(function(P){return"msid"===P.attribute});return m.length>0?{stream:(t=m[0].value.split(" "))[0],track:t[1]}:void 0},y.parseSctpDescription=function(n){var t=y.parseMLine(n),l=y.matchPrefix(n,"a=max-message-size:"),m=void 0;l.length>0&&(m=parseInt(l[0].substring(19),10)),isNaN(m)&&(m=65536);var P=y.matchPrefix(n,"a=sctp-port:");if(P.length>0)return{port:parseInt(P[0].substring(12),10),protocol:t.fmt,maxMessageSize:m};var j=y.matchPrefix(n,"a=sctpmap:");if(j.length>0){var U=j[0].substring(10).split(" ");return{port:parseInt(U[0],10),protocol:U[1],maxMessageSize:m}}},y.writeSctpDescription=function(n,t){var l=[];return l="DTLS/SCTP"!==n.protocol?["m="+n.kind+" 9 "+n.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+n.kind+" 9 "+n.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&l.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),l.join("")},y.generateSessionId=function(){return Math.random().toString().substr(2,22)},y.writeSessionBoilerplate=function(n,t,l){var P=void 0!==t?t:2;return"v=0\r\no="+(l||"thisisadapterortc")+" "+(n||y.generateSessionId())+" "+P+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},y.getDirection=function(n,t){for(var l=y.splitLines(n),m=0;m<l.length;m++)switch(l[m]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return l[m].substring(2)}return t?y.getDirection(t):"sendrecv"},y.getKind=function(n){return y.splitLines(n)[0].split(" ")[0].substring(2)},y.isRejected=function(n){return"0"===n.split(" ",2)[1]},y.parseMLine=function(n){var l=y.splitLines(n)[0].substring(2).split(" ");return{kind:l[0],port:parseInt(l[1],10),protocol:l[2],fmt:l.slice(3).join(" ")}},y.parseOLine=function(n){var l=y.matchPrefix(n,"o=")[0].substring(2).split(" ");return{username:l[0],sessionId:l[1],sessionVersion:parseInt(l[2],10),netType:l[3],addressType:l[4],address:l[5]}},y.isValidSDP=function(n){if("string"!=typeof n||0===n.length)return!1;for(var t=y.splitLines(n),l=0;l<t.length;l++)if(t[l].length<2||"="!==t[l].charAt(1))return!1;return!0},"object"===(typeof ye>"u"?"undefined":ee(ye))&&(ye.exports=y)},{}]},{},[1])(1)},96935:()=>{"use strict";const Le=globalThis;function De(a){return(Le.__Zone_symbol_prefix||"__zone_symbol__")+a}const ce=Object.getOwnPropertyDescriptor,ye=Object.defineProperty,O=Object.getPrototypeOf,ee=Object.create,y=Array.prototype.slice,n="addEventListener",t="removeEventListener",l=De(n),m=De(t),P="true",j="false",U=De("");function Q(a,f){return Zone.current.wrap(a,f)}function G(a,f,b,c,C){return Zone.current.scheduleMacroTask(a,f,b,c,C)}const _=De,J=typeof window<"u",v=J?window:void 0,r=J&&v||globalThis,p="removeAttribute";function e(a,f){for(let b=a.length-1;b>=0;b--)"function"==typeof a[b]&&(a[b]=Q(a[b],f+"_"+b));return a}function i(a){return!a||!1!==a.writable&&!("function"==typeof a.get&&typeof a.set>"u")}const d=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,S=!("nw"in r)&&typeof r.process<"u"&&"[object process]"===r.process.toString(),D=!S&&!d&&!(!J||!v.HTMLElement),R=typeof r.process<"u"&&"[object process]"===r.process.toString()&&!d&&!(!J||!v.HTMLElement),E={},k=_("enable_beforeunload"),o=function(a){if(!(a=a||r.event))return;let f=E[a.type];f||(f=E[a.type]=_("ON_PROPERTY"+a.type));const b=this||a.target||r,c=b[f];let C;return D&&b===v&&"error"===a.type?(C=c&&c.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===C&&a.preventDefault()):(C=c&&c.apply(this,arguments),"beforeunload"===a.type&&r[k]&&"string"==typeof C?a.returnValue=C:null!=C&&!C&&a.preventDefault()),C};function T(a,f,b){let c=ce(a,f);if(!c&&b&&ce(b,f)&&(c={enumerable:!0,configurable:!0}),!c||!c.configurable)return;const C=_("on"+f+"patched");if(a.hasOwnProperty(C)&&a[C])return;delete c.writable,delete c.value;const L=c.get,H=c.set,V=f.slice(2);let K=E[V];K||(K=E[V]=_("ON_PROPERTY"+V)),c.set=function(oe){let W=this;!W&&a===r&&(W=r),W&&("function"==typeof W[K]&&W.removeEventListener(V,o),H&&H.call(W,null),W[K]=oe,"function"==typeof oe&&W.addEventListener(V,o,!1))},c.get=function(){let oe=this;if(!oe&&a===r&&(oe=r),!oe)return null;const W=oe[K];if(W)return W;if(L){let re=L.call(this);if(re)return c.set.call(this,re),"function"==typeof oe[p]&&oe.removeAttribute(f),re}return null},ye(a,f,c),a[C]=!0}function A(a,f,b){if(f)for(let c=0;c<f.length;c++)T(a,"on"+f[c],b);else{const c=[];for(const C in a)"on"==C.slice(0,2)&&c.push(C);for(let C=0;C<c.length;C++)T(a,c[C],b)}}const N=_("originalInstance");function Z(a){const f=r[a];if(!f)return;r[_(a)]=f,r[a]=function(){const C=e(arguments,a);switch(C.length){case 0:this[N]=new f;break;case 1:this[N]=new f(C[0]);break;case 2:this[N]=new f(C[0],C[1]);break;case 3:this[N]=new f(C[0],C[1],C[2]);break;case 4:this[N]=new f(C[0],C[1],C[2],C[3]);break;default:throw new Error("Arg list too long.")}},Ce(r[a],f);const b=new f(function(){});let c;for(c in b)"XMLHttpRequest"===a&&"responseBlob"===c||function(C){"function"==typeof b[C]?r[a].prototype[C]=function(){return this[N][C].apply(this[N],arguments)}:ye(r[a].prototype,C,{set:function(L){"function"==typeof L?(this[N][C]=Q(L,a+"."+C),Ce(this[N][C],L)):this[N][C]=L},get:function(){return this[N][C]}})}(c);for(c in f)"prototype"!==c&&f.hasOwnProperty(c)&&(r[a][c]=f[c])}function se(a,f,b){let c=a;for(;c&&!c.hasOwnProperty(f);)c=O(c);!c&&a[f]&&(c=a);const C=_(f);let L=null;if(c&&(!(L=c[C])||!c.hasOwnProperty(C))&&(L=c[C]=c[f],i(c&&ce(c,f)))){const V=b(L,C,f);c[f]=function(){return V(this,arguments)},Ce(c[f],L)}return L}function ve(a,f,b){let c=null;function C(L){const H=L.data;return H.args[H.cbIdx]=function(){L.invoke.apply(this,arguments)},c.apply(H.target,H.args),L}c=se(a,f,L=>function(H,V){const K=b(H,V);return K.cbIdx>=0&&"function"==typeof V[K.cbIdx]?G(K.name,V[K.cbIdx],K,C):L.apply(H,V)})}function Ce(a,f){a[_("OriginalDelegate")]=f}let je=!1,ze=!1;function et(){if(je)return ze;je=!0;try{const a=v.navigator.userAgent;(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))&&(ze=!0)}catch{}return ze}function rt(a){return"function"==typeof a}function ct(a){return"number"==typeof a}let Ye=!1;if(typeof window<"u")try{const a=Object.defineProperty({},"passive",{get:function(){Ye=!0}});window.addEventListener("test",a,a),window.removeEventListener("test",a,a)}catch{Ye=!1}const Et={useG:!0},Fe={},ut={},lt=new RegExp("^"+U+"(\\w+)(true|false)$"),ft=_("propagationStopped");function pt(a,f){const b=(f?f(a):a)+j,c=(f?f(a):a)+P,C=U+b,L=U+c;Fe[a]={},Fe[a][j]=C,Fe[a][P]=L}function St(a,f,b,c){const C=c&&c.add||n,L=c&&c.rm||t,H=c&&c.listeners||"eventListeners",V=c&&c.rmAll||"removeAllListeners",K=_(C),oe="."+C+":",W="prependListener",re="."+W+":",de=function(Y,F,ge){if(Y.isRemoved)return;const Te=Y.callback;let Ie;"object"==typeof Te&&Te.handleEvent&&(Y.callback=B=>Te.handleEvent(B),Y.originalDelegate=Te);try{Y.invoke(Y,F,[ge])}catch(B){Ie=B}const Ee=Y.options;return Ee&&"object"==typeof Ee&&Ee.once&&F[L].call(F,ge.type,Y.originalDelegate?Y.originalDelegate:Y.callback,Ee),Ie};function _e(Y,F,ge){if(!(F=F||a.event))return;const Te=Y||F.target||a,Ie=Te[Fe[F.type][ge?P:j]];if(Ie){const Ee=[];if(1===Ie.length){const B=de(Ie[0],Te,F);B&&Ee.push(B)}else{const B=Ie.slice();for(let Re=0;Re<B.length&&(!F||!0!==F[ft]);Re++){const ue=de(B[Re],Te,F);ue&&Ee.push(ue)}}if(1===Ee.length)throw Ee[0];for(let B=0;B<Ee.length;B++){const Re=Ee[B];f.nativeScheduleMicroTask(()=>{throw Re})}}}const Pe=function(Y){return _e(this,Y,!1)},Ae=function(Y){return _e(this,Y,!0)};function xe(Y,F){if(!Y)return!1;let ge=!0;F&&void 0!==F.useG&&(ge=F.useG);const Te=F&&F.vh;let Ie=!0;F&&void 0!==F.chkDup&&(Ie=F.chkDup);let Ee=!1;F&&void 0!==F.rt&&(Ee=F.rt);let B=Y;for(;B&&!B.hasOwnProperty(C);)B=O(B);if(!B&&Y[C]&&(B=Y),!B||B[K])return!1;const Re=F&&F.eventNameToString,ue={},ne=B[K]=B[C],w=B[_(L)]=B[L],ae=B[_(H)]=B[H],Ne=B[_(V)]=B[V];let ke;F&&F.prepend&&(ke=B[_(F.prepend)]=B[F.prepend]);const Oe=ge?function(g){if(!ue.isExisting)return ne.call(ue.target,ue.eventName,ue.capture?Ae:Pe,ue.options)}:function(g){return ne.call(ue.target,ue.eventName,g.invoke,ue.options)},me=ge?function(g){if(!g.isRemoved){const I=Fe[g.eventName];let $;I&&($=I[g.capture?P:j]);const ie=$&&g.target[$];if(ie)for(let q=0;q<ie.length;q++)if(ie[q]===g){ie.splice(q,1),g.isRemoved=!0,g.removeAbortListener&&(g.removeAbortListener(),g.removeAbortListener=null),0===ie.length&&(g.allRemoved=!0,g.target[$]=null);break}}if(g.allRemoved)return w.call(g.target,g.eventName,g.capture?Ae:Pe,g.options)}:function(g){return w.call(g.target,g.eventName,g.invoke,g.options)},Be=F&&F.diff?F.diff:function(g,I){const $=typeof I;return"function"===$&&g.callback===I||"object"===$&&g.originalDelegate===I},qe=Zone[_("UNPATCHED_EVENTS")],Ze=a[_("PASSIVE_EVENTS")],M=function(g,I,$,ie,q=!1,fe=!1){return function(){const pe=this||a;let he=arguments[0];F&&F.transferEventName&&(he=F.transferEventName(he));let Se=arguments[1];if(!Se)return g.apply(this,arguments);if(S&&"uncaughtException"===he)return g.apply(this,arguments);let be=!1;if("function"!=typeof Se){if(!Se.handleEvent)return g.apply(this,arguments);be=!0}if(Te&&!Te(g,Se,pe,arguments))return;const Xe=Ye&&!!Ze&&-1!==Ze.indexOf(he),He=function x(g){if("object"==typeof g&&null!==g){const I={...g};return g.signal&&(I.signal=g.signal),I}return g}(function le(g,I){return!Ye&&"object"==typeof g&&g?!!g.capture:Ye&&I?"boolean"==typeof g?{capture:g,passive:!0}:g?"object"==typeof g&&!1!==g.passive?{...g,passive:!0}:g:{passive:!0}:g}(arguments[2],Xe)),Qe=He?.signal;if(Qe?.aborted)return;if(qe)for(let Ve=0;Ve<qe.length;Ve++)if(he===qe[Ve])return Xe?g.call(pe,he,Se,He):g.apply(this,arguments);const st=!!He&&("boolean"==typeof He||He.capture),yt=!(!He||"object"!=typeof He)&&He.once,Nt=Zone.current;let at=Fe[he];at||(pt(he,Re),at=Fe[he]);const gt=at[st?P:j];let it,we=pe[gt],_t=!1;if(we){if(_t=!0,Ie)for(let Ve=0;Ve<we.length;Ve++)if(Be(we[Ve],Se))return}else we=pe[gt]=[];const Tt=pe.constructor.name,Ct=ut[Tt];Ct&&(it=Ct[he]),it||(it=Tt+I+(Re?Re(he):he)),ue.options=He,yt&&(ue.options.once=!1),ue.target=pe,ue.capture=st,ue.eventName=he,ue.isExisting=_t;const tt=ge?Et:void 0;tt&&(tt.taskData=ue),Qe&&(ue.options.signal=void 0);const We=Nt.scheduleEventTask(it,Se,tt,$,ie);if(Qe){ue.options.signal=Qe;const Ve=()=>We.zone.cancelTask(We);g.call(Qe,"abort",Ve,{once:!0}),We.removeAbortListener=()=>Qe.removeEventListener("abort",Ve)}return ue.target=null,tt&&(tt.taskData=null),yt&&(ue.options.once=!0),!Ye&&"boolean"==typeof We.options||(We.options=He),We.target=pe,We.capture=st,We.eventName=he,be&&(We.originalDelegate=Se),fe?we.unshift(We):we.push(We),q?pe:void 0}};return B[C]=M(ne,oe,Oe,me,Ee),ke&&(B[W]=M(ke,re,function(g){return ke.call(ue.target,ue.eventName,g.invoke,ue.options)},me,Ee,!0)),B[L]=function(){const g=this||a;let I=arguments[0];F&&F.transferEventName&&(I=F.transferEventName(I));const $=arguments[2],ie=!!$&&("boolean"==typeof $||$.capture),q=arguments[1];if(!q)return w.apply(this,arguments);if(Te&&!Te(w,q,g,arguments))return;const fe=Fe[I];let pe;fe&&(pe=fe[ie?P:j]);const he=pe&&g[pe];if(he)for(let Se=0;Se<he.length;Se++){const be=he[Se];if(Be(be,q))return he.splice(Se,1),be.isRemoved=!0,0!==he.length||(be.allRemoved=!0,g[pe]=null,ie||"string"!=typeof I)||(g[U+"ON_PROPERTY"+I]=null),be.zone.cancelTask(be),Ee?g:void 0}return w.apply(this,arguments)},B[H]=function(){const g=this||a;let I=arguments[0];F&&F.transferEventName&&(I=F.transferEventName(I));const $=[],ie=ht(g,Re?Re(I):I);for(let q=0;q<ie.length;q++){const fe=ie[q];$.push(fe.originalDelegate?fe.originalDelegate:fe.callback)}return $},B[V]=function(){const g=this||a;let I=arguments[0];if(I){F&&F.transferEventName&&(I=F.transferEventName(I));const $=Fe[I];if($){const fe=g[$[j]],pe=g[$[P]];if(fe){const he=fe.slice();for(let Se=0;Se<he.length;Se++){const be=he[Se];this[L].call(this,I,be.originalDelegate?be.originalDelegate:be.callback,be.options)}}if(pe){const he=pe.slice();for(let Se=0;Se<he.length;Se++){const be=he[Se];this[L].call(this,I,be.originalDelegate?be.originalDelegate:be.callback,be.options)}}}}else{const $=Object.keys(g);for(let ie=0;ie<$.length;ie++){const fe=lt.exec($[ie]);let pe=fe&&fe[1];pe&&"removeListener"!==pe&&this[V].call(this,pe)}this[V].call(this,"removeListener")}if(Ee)return this},Ce(B[C],ne),Ce(B[L],w),Ne&&Ce(B[V],Ne),ae&&Ce(B[H],ae),!0}let Me=[];for(let Y=0;Y<b.length;Y++)Me[Y]=xe(b[Y],c);return Me}function ht(a,f){if(!f){const L=[];for(let H in a){const V=lt.exec(H);let K=V&&V[1];if(K&&(!f||K===f)){const oe=a[H];if(oe)for(let W=0;W<oe.length;W++)L.push(oe[W])}}return L}let b=Fe[f];b||(pt(f),b=Fe[f]);const c=a[b[j]],C=a[b[P]];return c?C?c.concat(C):c.slice():C?C.slice():[]}function bt(a,f){const b=a.Event;b&&b.prototype&&f.patchMethod(b.prototype,"stopImmediatePropagation",c=>function(C,L){C[ft]=!0,c&&c.apply(C,L)})}const nt=_("zoneTask");function $e(a,f,b,c){let C=null,L=null;b+=c;const H={};function V(oe){const W=oe.data;W.args[0]=function(){return oe.invoke.apply(this,arguments)};const re=C.apply(a,W.args);return ct(re)?W.handleId=re:(W.handle=re,W.isRefreshable=rt(re.refresh)),oe}function K(oe){const{handle:W,handleId:re}=oe.data;return L.call(a,W??re)}C=se(a,f+=c,oe=>function(W,re){if(rt(re[0])){const de={isRefreshable:!1,isPeriodic:"Interval"===c,delay:"Timeout"===c||"Interval"===c?re[1]||0:void 0,args:re},_e=re[0];re[0]=function(){try{return _e.apply(this,arguments)}finally{const{handle:ge,handleId:Te,isPeriodic:Ie,isRefreshable:Ee}=de;!Ie&&!Ee&&(Te?delete H[Te]:ge&&(ge[nt]=null))}};const Pe=G(f,re[0],de,V,K);if(!Pe)return Pe;const{handleId:Ae,handle:xe,isRefreshable:Me,isPeriodic:Y}=Pe.data;if(Ae)H[Ae]=Pe;else if(xe&&(xe[nt]=Pe,Me&&!Y)){const F=xe.refresh;xe.refresh=function(){const{zone:ge,state:Te}=Pe;return"notScheduled"===Te?(Pe._state="scheduled",ge._updateTaskCount(Pe,1)):"running"===Te&&(Pe._state="scheduling"),F.call(this)}}return xe??Ae??Pe}return oe.apply(a,re)}),L=se(a,b,oe=>function(W,re){const de=re[0];let _e;ct(de)?(_e=H[de],delete H[de]):(_e=de?.[nt],_e?de[nt]=null:_e=de),_e?.type?_e.cancelFn&&_e.zone.cancelTask(_e):oe.apply(a,re)})}function dt(a,f,b){if(!b||0===b.length)return f;const c=b.filter(L=>L.target===a);if(!c||0===c.length)return f;const C=c[0].ignoreProperties;return f.filter(L=>-1===C.indexOf(L))}function mt(a,f,b,c){a&&A(a,dt(a,f,b),c)}function ot(a){return Object.getOwnPropertyNames(a).filter(f=>f.startsWith("on")&&f.length>2).map(f=>f.substring(2))}function jt(a,f,b,c,C){const L=Zone.__symbol__(c);if(f[L])return;const H=f[L]=f[c];f[c]=function(V,K,oe){return K&&K.prototype&&C.forEach(function(W){const re=`${b}.${c}::`+W,de=K.prototype;try{if(de.hasOwnProperty(W)){const _e=a.ObjectGetOwnPropertyDescriptor(de,W);_e&&_e.value?(_e.value=a.wrapWithCurrentZone(_e.value,re),a._redefineProperty(K.prototype,W,_e)):de[W]&&(de[W]=a.wrapWithCurrentZone(de[W],re))}else de[W]&&(de[W]=a.wrapWithCurrentZone(de[W],re))}catch{}}),H.call(f,V,K,oe)},a.attachOriginToPatched(f[c],H)}const vt=function Ge(){const a=globalThis,f=!0===a[De("forceDuplicateZoneCheck")];if(a.Zone&&(f||"function"!=typeof a.Zone.__symbol__))throw new Error("Zone already loaded.");return a.Zone??=function Ue(){const a=Le.performance;function f(le){a&&a.mark&&a.mark(le)}function b(le,z){a&&a.measure&&a.measure(le,z)}f("Zone");let c=(()=>{class le{static#e=this.__symbol__=De;static assertZonePatched(){if(Le.Promise!==ue.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let u=le.current;for(;u.parent;)u=u.parent;return u}static get current(){return w.zone}static get currentTask(){return ae}static __load_patch(u,h,X=!1){if(ue.hasOwnProperty(u)){const te=!0===Le[De("forceDuplicateZoneCheck")];if(!X&&te)throw Error("Already loaded patch: "+u)}else if(!Le["__Zone_disable_"+u]){const te="Zone:"+u;f(te),ue[u]=h(Le,le,ne),b(te,te)}}get parent(){return this._parent}get name(){return this._name}constructor(u,h){this._parent=u,this._name=h?h.name||"unnamed":"<root>",this._properties=h&&h.properties||{},this._zoneDelegate=new L(this,this._parent&&this._parent._zoneDelegate,h)}get(u){const h=this.getZoneWith(u);if(h)return h._properties[u]}getZoneWith(u){let h=this;for(;h;){if(h._properties.hasOwnProperty(u))return h;h=h._parent}return null}fork(u){if(!u)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,u)}wrap(u,h){if("function"!=typeof u)throw new Error("Expecting function got: "+u);const X=this._zoneDelegate.intercept(this,u,h),te=this;return function(){return te.runGuarded(X,this,arguments,h)}}run(u,h,X,te){w={parent:w,zone:this};try{return this._zoneDelegate.invoke(this,u,h,X,te)}finally{w=w.parent}}runGuarded(u,h=null,X,te){w={parent:w,zone:this};try{try{return this._zoneDelegate.invoke(this,u,h,X,te)}catch(Oe){if(this._zoneDelegate.handleError(this,Oe))throw Oe}}finally{w=w.parent}}runTask(u,h,X){if(u.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(u.zone||xe).name+"; Execution: "+this.name+")");const te=u,{type:Oe,data:{isPeriodic:me=!1,isRefreshable:Je=!1}={}}=u;if(u.state===Me&&(Oe===Re||Oe===B))return;const Be=u.state!=ge;Be&&te._transitionTo(ge,F);const qe=ae;ae=te,w={parent:w,zone:this};try{Oe==B&&u.data&&!me&&!Je&&(u.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,te,h,X)}catch(Ze){if(this._zoneDelegate.handleError(this,Ze))throw Ze}}finally{const Ze=u.state;if(Ze!==Me&&Ze!==Ie)if(Oe==Re||me||Je&&Ze===Y)Be&&te._transitionTo(F,ge,Y);else{const x=te._zoneDelegates;this._updateTaskCount(te,-1),Be&&te._transitionTo(Me,ge,Me),Je&&(te._zoneDelegates=x)}w=w.parent,ae=qe}}scheduleTask(u){if(u.zone&&u.zone!==this){let X=this;for(;X;){if(X===u.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${u.zone.name}`);X=X.parent}}u._transitionTo(Y,Me);const h=[];u._zoneDelegates=h,u._zone=this;try{u=this._zoneDelegate.scheduleTask(this,u)}catch(X){throw u._transitionTo(Ie,Y,Me),this._zoneDelegate.handleError(this,X),X}return u._zoneDelegates===h&&this._updateTaskCount(u,1),u.state==Y&&u._transitionTo(F,Y),u}scheduleMicroTask(u,h,X,te){return this.scheduleTask(new H(Ee,u,h,X,te,void 0))}scheduleMacroTask(u,h,X,te,Oe){return this.scheduleTask(new H(B,u,h,X,te,Oe))}scheduleEventTask(u,h,X,te,Oe){return this.scheduleTask(new H(Re,u,h,X,te,Oe))}cancelTask(u){if(u.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(u.zone||xe).name+"; Execution: "+this.name+")");if(u.state===F||u.state===ge){u._transitionTo(Te,F,ge);try{this._zoneDelegate.cancelTask(this,u)}catch(h){throw u._transitionTo(Ie,Te),this._zoneDelegate.handleError(this,h),h}return this._updateTaskCount(u,-1),u._transitionTo(Me,Te),u.runCount=-1,u}}_updateTaskCount(u,h){const X=u._zoneDelegates;-1==h&&(u._zoneDelegates=null);for(let te=0;te<X.length;te++)X[te]._updateTaskCount(u.type,h)}}return le})();const C={name:"",onHasTask:(le,z,u,h)=>le.hasTask(u,h),onScheduleTask:(le,z,u,h)=>le.scheduleTask(u,h),onInvokeTask:(le,z,u,h,X,te)=>le.invokeTask(u,h,X,te),onCancelTask:(le,z,u,h)=>le.cancelTask(u,h)};class L{get zone(){return this._zone}constructor(z,u,h){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=z,this._parentDelegate=u,this._forkZS=h&&(h&&h.onFork?h:u._forkZS),this._forkDlgt=h&&(h.onFork?u:u._forkDlgt),this._forkCurrZone=h&&(h.onFork?this._zone:u._forkCurrZone),this._interceptZS=h&&(h.onIntercept?h:u._interceptZS),this._interceptDlgt=h&&(h.onIntercept?u:u._interceptDlgt),this._interceptCurrZone=h&&(h.onIntercept?this._zone:u._interceptCurrZone),this._invokeZS=h&&(h.onInvoke?h:u._invokeZS),this._invokeDlgt=h&&(h.onInvoke?u:u._invokeDlgt),this._invokeCurrZone=h&&(h.onInvoke?this._zone:u._invokeCurrZone),this._handleErrorZS=h&&(h.onHandleError?h:u._handleErrorZS),this._handleErrorDlgt=h&&(h.onHandleError?u:u._handleErrorDlgt),this._handleErrorCurrZone=h&&(h.onHandleError?this._zone:u._handleErrorCurrZone),this._scheduleTaskZS=h&&(h.onScheduleTask?h:u._scheduleTaskZS),this._scheduleTaskDlgt=h&&(h.onScheduleTask?u:u._scheduleTaskDlgt),this._scheduleTaskCurrZone=h&&(h.onScheduleTask?this._zone:u._scheduleTaskCurrZone),this._invokeTaskZS=h&&(h.onInvokeTask?h:u._invokeTaskZS),this._invokeTaskDlgt=h&&(h.onInvokeTask?u:u._invokeTaskDlgt),this._invokeTaskCurrZone=h&&(h.onInvokeTask?this._zone:u._invokeTaskCurrZone),this._cancelTaskZS=h&&(h.onCancelTask?h:u._cancelTaskZS),this._cancelTaskDlgt=h&&(h.onCancelTask?u:u._cancelTaskDlgt),this._cancelTaskCurrZone=h&&(h.onCancelTask?this._zone:u._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const X=h&&h.onHasTask;(X||u&&u._hasTaskZS)&&(this._hasTaskZS=X?h:C,this._hasTaskDlgt=u,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,h.onScheduleTask||(this._scheduleTaskZS=C,this._scheduleTaskDlgt=u,this._scheduleTaskCurrZone=this._zone),h.onInvokeTask||(this._invokeTaskZS=C,this._invokeTaskDlgt=u,this._invokeTaskCurrZone=this._zone),h.onCancelTask||(this._cancelTaskZS=C,this._cancelTaskDlgt=u,this._cancelTaskCurrZone=this._zone))}fork(z,u){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,z,u):new c(z,u)}intercept(z,u,h){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,z,u,h):u}invoke(z,u,h,X,te){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,z,u,h,X,te):u.apply(h,X)}handleError(z,u){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,z,u)}scheduleTask(z,u){let h=u;if(this._scheduleTaskZS)this._hasTaskZS&&h._zoneDelegates.push(this._hasTaskDlgtOwner),h=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,z,u),h||(h=u);else if(u.scheduleFn)u.scheduleFn(u);else{if(u.type!=Ee)throw new Error("Task is missing scheduleFn.");Pe(u)}return h}invokeTask(z,u,h,X){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,z,u,h,X):u.callback.apply(h,X)}cancelTask(z,u){let h;if(this._cancelTaskZS)h=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,z,u);else{if(!u.cancelFn)throw Error("Task is not cancelable");h=u.cancelFn(u)}return h}hasTask(z,u){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,z,u)}catch(h){this.handleError(z,h)}}_updateTaskCount(z,u){const h=this._taskCounts,X=h[z],te=h[z]=X+u;if(te<0)throw new Error("More tasks executed then were scheduled.");0!=X&&0!=te||this.hasTask(this._zone,{microTask:h.microTask>0,macroTask:h.macroTask>0,eventTask:h.eventTask>0,change:z})}}class H{constructor(z,u,h,X,te,Oe){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=z,this.source=u,this.data=X,this.scheduleFn=te,this.cancelFn=Oe,!h)throw new Error("callback is not defined");this.callback=h;const me=this;this.invoke=z===Re&&X&&X.useG?H.invokeTask:function(){return H.invokeTask.call(Le,me,this,arguments)}}static invokeTask(z,u,h){z||(z=this),Ne++;try{return z.runCount++,z.zone.runTask(z,u,h)}finally{1==Ne&&Ae(),Ne--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(Me,Y)}_transitionTo(z,u,h){if(this._state!==u&&this._state!==h)throw new Error(`${this.type} '${this.source}': can not transition to '${z}', expecting state '${u}'${h?" or '"+h+"'":""}, was '${this._state}'.`);this._state=z,z==Me&&(this._zoneDelegates=null)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const V=De("setTimeout"),K=De("Promise"),oe=De("then");let de,W=[],re=!1;function _e(le){if(de||Le[K]&&(de=Le[K].resolve(0)),de){let z=de[oe];z||(z=de.then),z.call(de,le)}else Le[V](le,0)}function Pe(le){0===Ne&&0===W.length&&_e(Ae),le&&W.push(le)}function Ae(){if(!re){for(re=!0;W.length;){const le=W;W=[];for(let z=0;z<le.length;z++){const u=le[z];try{u.zone.runTask(u,null,null)}catch(h){ne.onUnhandledError(h)}}}ne.microtaskDrainDone(),re=!1}}const xe={name:"NO ZONE"},Me="notScheduled",Y="scheduling",F="scheduled",ge="running",Te="canceling",Ie="unknown",Ee="microTask",B="macroTask",Re="eventTask",ue={},ne={symbol:De,currentZoneFrame:()=>w,onUnhandledError:ke,microtaskDrainDone:ke,scheduleMicroTask:Pe,showUncaughtError:()=>!c[De("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ke,patchMethod:()=>ke,bindArguments:()=>[],patchThen:()=>ke,patchMacroTask:()=>ke,patchEventPrototype:()=>ke,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ke,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ke,wrapWithCurrentZone:()=>ke,filterProperties:()=>[],attachOriginToPatched:()=>ke,_redefineProperty:()=>ke,patchCallbacks:()=>ke,nativeScheduleMicroTask:_e};let w={parent:null,zone:new c(null,null)},ae=null,Ne=0;function ke(){}return b("Zone","Zone"),c}(),a.Zone}();(function xt(a){(function It(a){a.__load_patch("ZoneAwarePromise",(f,b,c)=>{const C=Object.getOwnPropertyDescriptor,L=Object.defineProperty,V=c.symbol,K=[],oe=!1!==f[V("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],W=V("Promise"),re=V("then"),de="__creationTrace__";c.onUnhandledError=x=>{if(c.showUncaughtError()){const M=x&&x.rejection;M?console.error("Unhandled Promise rejection:",M instanceof Error?M.message:M,"; Zone:",x.zone.name,"; Task:",x.task&&x.task.source,"; Value:",M,M instanceof Error?M.stack:void 0):console.error(x)}},c.microtaskDrainDone=()=>{for(;K.length;){const x=K.shift();try{x.zone.runGuarded(()=>{throw x.throwOriginal?x.rejection:x})}catch(M){Pe(M)}}};const _e=V("unhandledPromiseRejectionHandler");function Pe(x){c.onUnhandledError(x);try{const M=b[_e];"function"==typeof M&&M.call(this,x)}catch{}}function Ae(x){return x&&x.then}function xe(x){return x}function Me(x){return me.reject(x)}const Y=V("state"),F=V("value"),ge=V("finally"),Te=V("parentPromiseValue"),Ie=V("parentPromiseState"),Ee="Promise.then",B=null,Re=!0,ue=!1,ne=0;function w(x,M){return g=>{try{le(x,M,g)}catch(I){le(x,!1,I)}}}const ae=function(){let x=!1;return function(g){return function(){x||(x=!0,g.apply(null,arguments))}}},Ne="Promise resolved with itself",ke=V("currentTaskTrace");function le(x,M,g){const I=ae();if(x===g)throw new TypeError(Ne);if(x[Y]===B){let $=null;try{("object"==typeof g||"function"==typeof g)&&($=g&&g.then)}catch(ie){return I(()=>{le(x,!1,ie)})(),x}if(M!==ue&&g instanceof me&&g.hasOwnProperty(Y)&&g.hasOwnProperty(F)&&g[Y]!==B)u(g),le(x,g[Y],g[F]);else if(M!==ue&&"function"==typeof $)try{$.call(g,I(w(x,M)),I(w(x,!1)))}catch(ie){I(()=>{le(x,!1,ie)})()}else{x[Y]=M;const ie=x[F];if(x[F]=g,x[ge]===ge&&M===Re&&(x[Y]=x[Ie],x[F]=x[Te]),M===ue&&g instanceof Error){const q=b.currentTask&&b.currentTask.data&&b.currentTask.data[de];q&&L(g,ke,{configurable:!0,enumerable:!1,writable:!0,value:q})}for(let q=0;q<ie.length;)h(x,ie[q++],ie[q++],ie[q++],ie[q++]);if(0==ie.length&&M==ue){x[Y]=ne;let q=g;try{throw new Error("Uncaught (in promise): "+function H(x){return x&&x.toString===Object.prototype.toString?(x.constructor&&x.constructor.name||"")+": "+JSON.stringify(x):x?x.toString():Object.prototype.toString.call(x)}(g)+(g&&g.stack?"\n"+g.stack:""))}catch(fe){q=fe}oe&&(q.throwOriginal=!0),q.rejection=g,q.promise=x,q.zone=b.current,q.task=b.currentTask,K.push(q),c.scheduleMicroTask()}}}return x}const z=V("rejectionHandledHandler");function u(x){if(x[Y]===ne){try{const M=b[z];M&&"function"==typeof M&&M.call(this,{rejection:x[F],promise:x})}catch{}x[Y]=ue;for(let M=0;M<K.length;M++)x===K[M].promise&&K.splice(M,1)}}function h(x,M,g,I,$){u(x);const ie=x[Y],q=ie?"function"==typeof I?I:xe:"function"==typeof $?$:Me;M.scheduleMicroTask(Ee,()=>{try{const fe=x[F],pe=!!g&&ge===g[ge];pe&&(g[Te]=fe,g[Ie]=ie);const he=M.run(q,void 0,pe&&q!==Me&&q!==xe?[]:[fe]);le(g,!0,he)}catch(fe){le(g,!1,fe)}},g)}const te=function(){},Oe=f.AggregateError;class me{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(M){return M instanceof me?M:le(new this(null),Re,M)}static reject(M){return le(new this(null),ue,M)}static withResolvers(){const M={};return M.promise=new me((g,I)=>{M.resolve=g,M.reject=I}),M}static any(M){if(!M||"function"!=typeof M[Symbol.iterator])return Promise.reject(new Oe([],"All promises were rejected"));const g=[];let I=0;try{for(let q of M)I++,g.push(me.resolve(q))}catch{return Promise.reject(new Oe([],"All promises were rejected"))}if(0===I)return Promise.reject(new Oe([],"All promises were rejected"));let $=!1;const ie=[];return new me((q,fe)=>{for(let pe=0;pe<g.length;pe++)g[pe].then(he=>{$||($=!0,q(he))},he=>{ie.push(he),I--,0===I&&($=!0,fe(new Oe(ie,"All promises were rejected")))})})}static race(M){let g,I,$=new this((fe,pe)=>{g=fe,I=pe});function ie(fe){g(fe)}function q(fe){I(fe)}for(let fe of M)Ae(fe)||(fe=this.resolve(fe)),fe.then(ie,q);return $}static all(M){return me.allWithCallback(M)}static allSettled(M){return(this&&this.prototype instanceof me?this:me).allWithCallback(M,{thenCallback:I=>({status:"fulfilled",value:I}),errorCallback:I=>({status:"rejected",reason:I})})}static allWithCallback(M,g){let I,$,ie=new this((he,Se)=>{I=he,$=Se}),q=2,fe=0;const pe=[];for(let he of M){Ae(he)||(he=this.resolve(he));const Se=fe;try{he.then(be=>{pe[Se]=g?g.thenCallback(be):be,q--,0===q&&I(pe)},be=>{g?(pe[Se]=g.errorCallback(be),q--,0===q&&I(pe)):$(be)})}catch(be){$(be)}q++,fe++}return q-=2,0===q&&I(pe),ie}constructor(M){const g=this;if(!(g instanceof me))throw new Error("Must be an instanceof Promise.");g[Y]=B,g[F]=[];try{const I=ae();M&&M(I(w(g,Re)),I(w(g,ue)))}catch(I){le(g,!1,I)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return me}then(M,g){let I=this.constructor?.[Symbol.species];(!I||"function"!=typeof I)&&(I=this.constructor||me);const $=new I(te),ie=b.current;return this[Y]==B?this[F].push(ie,$,M,g):h(this,ie,$,M,g),$}catch(M){return this.then(null,M)}finally(M){let g=this.constructor?.[Symbol.species];(!g||"function"!=typeof g)&&(g=me);const I=new g(te);I[ge]=ge;const $=b.current;return this[Y]==B?this[F].push($,I,M,M):h(this,$,I,M,M),I}}me.resolve=me.resolve,me.reject=me.reject,me.race=me.race,me.all=me.all;const Je=f[W]=f.Promise;f.Promise=me;const Be=V("thenPatched");function qe(x){const M=x.prototype,g=C(M,"then");if(g&&(!1===g.writable||!g.configurable))return;const I=M.then;M[re]=I,x.prototype.then=function($,ie){return new me((fe,pe)=>{I.call(this,fe,pe)}).then($,ie)},x[Be]=!0}return c.patchThen=qe,Je&&(qe(Je),se(f,"fetch",x=>function Ze(x){return function(M,g){let I=x.apply(M,g);if(I instanceof me)return I;let $=I.constructor;return $[Be]||qe($),I}}(x))),Promise[b.__symbol__("uncaughtPromiseErrors")]=K,me})})(a),function Lt(a){a.__load_patch("toString",f=>{const b=Function.prototype.toString,c=_("OriginalDelegate"),C=_("Promise"),L=_("Error"),H=function(){if("function"==typeof this){const W=this[c];if(W)return"function"==typeof W?b.call(W):Object.prototype.toString.call(W);if(this===Promise){const re=f[C];if(re)return b.call(re)}if(this===Error){const re=f[L];if(re)return b.call(re)}}return b.call(this)};H[c]=b,Function.prototype.toString=H;const V=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":V.call(this)}})}(a),function At(a){a.__load_patch("util",(f,b,c)=>{const C=ot(f);c.patchOnProperties=A,c.patchMethod=se,c.bindArguments=e,c.patchMacroTask=ve;const L=b.__symbol__("BLACK_LISTED_EVENTS"),H=b.__symbol__("UNPATCHED_EVENTS");f[H]&&(f[L]=f[H]),f[L]&&(b[L]=b[H]=f[L]),c.patchEventPrototype=bt,c.patchEventTarget=St,c.isIEOrEdge=et,c.ObjectDefineProperty=ye,c.ObjectGetOwnPropertyDescriptor=ce,c.ObjectCreate=ee,c.ArraySlice=y,c.patchClass=Z,c.wrapWithCurrentZone=Q,c.filterProperties=dt,c.attachOriginToPatched=Ce,c._redefineProperty=Object.defineProperty,c.patchCallbacks=jt,c.getGlobalObjects=()=>({globalSources:ut,zoneSymbolEventNames:Fe,eventNames:C,isBrowser:D,isMix:R,isNode:S,TRUE_STR:P,FALSE_STR:j,ZONE_SYMBOL_PREFIX:U,ADD_EVENT_LISTENER_STR:n,REMOVE_EVENT_LISTENER_STR:t})})}(a)})(vt),function Mt(a){a.__load_patch("legacy",f=>{const b=f[a.__symbol__("legacyPatch")];b&&b()}),a.__load_patch("timers",f=>{const b="set",c="clear";$e(f,b,c,"Timeout"),$e(f,b,c,"Interval"),$e(f,b,c,"Immediate")}),a.__load_patch("requestAnimationFrame",f=>{$e(f,"request","cancel","AnimationFrame"),$e(f,"mozRequest","mozCancel","AnimationFrame"),$e(f,"webkitRequest","webkitCancel","AnimationFrame")}),a.__load_patch("blocking",(f,b)=>{const c=["alert","prompt","confirm"];for(let C=0;C<c.length;C++)se(f,c[C],(H,V,K)=>function(oe,W){return b.current.run(H,f,W,K)})}),a.__load_patch("EventTarget",(f,b,c)=>{(function Ot(a,f){f.patchEventPrototype(a,f)})(f,c),function kt(a,f){if(Zone[f.symbol("patchEventTarget")])return;const{eventNames:b,zoneSymbolEventNames:c,TRUE_STR:C,FALSE_STR:L,ZONE_SYMBOL_PREFIX:H}=f.getGlobalObjects();for(let K=0;K<b.length;K++){const oe=b[K],de=H+(oe+L),_e=H+(oe+C);c[oe]={},c[oe][L]=de,c[oe][C]=_e}const V=a.EventTarget;V&&V.prototype&&f.patchEventTarget(a,f,[V&&V.prototype])}(f,c);const C=f.XMLHttpRequestEventTarget;C&&C.prototype&&c.patchEventTarget(f,c,[C.prototype])}),a.__load_patch("MutationObserver",(f,b,c)=>{Z("MutationObserver"),Z("WebKitMutationObserver")}),a.__load_patch("IntersectionObserver",(f,b,c)=>{Z("IntersectionObserver")}),a.__load_patch("FileReader",(f,b,c)=>{Z("FileReader")}),a.__load_patch("on_property",(f,b,c)=>{!function Dt(a,f){if(S&&!R||Zone[a.symbol("patchEvents")])return;const b=f.__Zone_ignore_on_properties;let c=[];if(D){const C=window;c=c.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const L=function Ke(){try{const a=v.navigator.userAgent;if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:C,ignoreProperties:["error"]}]:[];mt(C,ot(C),b&&b.concat(L),O(C))}c=c.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let C=0;C<c.length;C++){const L=f[c[C]];L&&L.prototype&&mt(L.prototype,ot(L.prototype),b)}}(c,f)}),a.__load_patch("customElements",(f,b,c)=>{!function Rt(a,f){const{isBrowser:b,isMix:c}=f.getGlobalObjects();(b||c)&&a.customElements&&"customElements"in a&&f.patchCallbacks(f,a.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(f,c)}),a.__load_patch("XHR",(f,b)=>{!function oe(W){const re=W.XMLHttpRequest;if(!re)return;const de=re.prototype;let Pe=de[l],Ae=de[m];if(!Pe){const ne=W.XMLHttpRequestEventTarget;if(ne){const w=ne.prototype;Pe=w[l],Ae=w[m]}}const xe="readystatechange",Me="scheduled";function Y(ne){const w=ne.data,ae=w.target;ae[H]=!1,ae[K]=!1;const Ne=ae[L];Pe||(Pe=ae[l],Ae=ae[m]),Ne&&Ae.call(ae,xe,Ne);const ke=ae[L]=()=>{if(ae.readyState===ae.DONE)if(!w.aborted&&ae[H]&&ne.state===Me){const z=ae[b.__symbol__("loadfalse")];if(0!==ae.status&&z&&z.length>0){const u=ne.invoke;ne.invoke=function(){const h=ae[b.__symbol__("loadfalse")];for(let X=0;X<h.length;X++)h[X]===ne&&h.splice(X,1);!w.aborted&&ne.state===Me&&u.call(ne)},z.push(ne)}else ne.invoke()}else!w.aborted&&!1===ae[H]&&(ae[K]=!0)};return Pe.call(ae,xe,ke),ae[c]||(ae[c]=ne),Re.apply(ae,w.args),ae[H]=!0,ne}function F(){}function ge(ne){const w=ne.data;return w.aborted=!0,ue.apply(w.target,w.args)}const Te=se(de,"open",()=>function(ne,w){return ne[C]=0==w[2],ne[V]=w[1],Te.apply(ne,w)}),Ee=_("fetchTaskAborting"),B=_("fetchTaskScheduling"),Re=se(de,"send",()=>function(ne,w){if(!0===b.current[B]||ne[C])return Re.apply(ne,w);{const ae={target:ne,url:ne[V],isPeriodic:!1,args:w,aborted:!1},Ne=G("XMLHttpRequest.send",F,ae,Y,ge);ne&&!0===ne[K]&&!ae.aborted&&Ne.state===Me&&Ne.invoke()}}),ue=se(de,"abort",()=>function(ne,w){const ae=function _e(ne){return ne[c]}(ne);if(ae&&"string"==typeof ae.type){if(null==ae.cancelFn||ae.data&&ae.data.aborted)return;ae.zone.cancelTask(ae)}else if(!0===b.current[Ee])return ue.apply(ne,w)})}(f);const c=_("xhrTask"),C=_("xhrSync"),L=_("xhrListener"),H=_("xhrScheduled"),V=_("xhrURL"),K=_("xhrErrorBeforeScheduled")}),a.__load_patch("geolocation",f=>{f.navigator&&f.navigator.geolocation&&function s(a,f){const b=a.constructor.name;for(let c=0;c<f.length;c++){const C=f[c],L=a[C];if(L){if(!i(ce(a,C)))continue;a[C]=(V=>{const K=function(){return V.apply(this,e(arguments,b+"."+C))};return Ce(K,V),K})(L)}}}(f.navigator.geolocation,["getCurrentPosition","watchPosition"])}),a.__load_patch("PromiseRejectionEvent",(f,b)=>{function c(C){return function(L){ht(f,C).forEach(V=>{const K=f.PromiseRejectionEvent;if(K){const oe=new K(C,{promise:L.promise,reason:L.rejection});V.invoke(oe)}})}}f.PromiseRejectionEvent&&(b[_("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),b[_("rejectionHandledHandler")]=c("rejectionhandled"))}),a.__load_patch("queueMicrotask",(f,b,c)=>{!function Pt(a,f){f.patchMethod(a,"queueMicrotask",b=>function(c,C){Zone.current.scheduleMicroTask("queueMicrotask",C[0])})}(f,c)})}(vt)}},Le=>{Le(Le.s=39108)}]);