mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.6 KiB
41 lines
1.6 KiB
'use strict';
|
|
/**
|
|
* @license Angular
|
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
* License: MIT
|
|
*/ (function (g, f) { if (typeof define == "function" && define.amd) {
|
|
define(f);
|
|
}
|
|
else if (typeof exports == "object" && typeof module < "u") {
|
|
module.exports = f();
|
|
}
|
|
else {
|
|
var m = f();
|
|
for (var i in m)
|
|
g[i] = m[i];
|
|
} }(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : this, function () {
|
|
var exports = {};
|
|
var __exports = exports;
|
|
var module = { exports: exports };
|
|
// packages/zone.js/lib/browser/webapis-rtc-peer-connection.js
|
|
function patchRtcPeerConnection(Zone2) {
|
|
Zone2.__load_patch("RTCPeerConnection", function (global, Zone3, api) {
|
|
var RTCPeerConnection = global["RTCPeerConnection"];
|
|
if (!RTCPeerConnection) {
|
|
return;
|
|
}
|
|
var addSymbol = api.symbol("addEventListener");
|
|
var removeSymbol = api.symbol("removeEventListener");
|
|
RTCPeerConnection.prototype.addEventListener = RTCPeerConnection.prototype[addSymbol];
|
|
RTCPeerConnection.prototype.removeEventListener = RTCPeerConnection.prototype[removeSymbol];
|
|
RTCPeerConnection.prototype[addSymbol] = null;
|
|
RTCPeerConnection.prototype[removeSymbol] = null;
|
|
api.patchEventTarget(global, api, [RTCPeerConnection.prototype], { useG: false });
|
|
});
|
|
}
|
|
// packages/zone.js/lib/browser/rollup-webapis-rtc-peer-connection.js
|
|
patchRtcPeerConnection(Zone);
|
|
if (__exports != exports)
|
|
module.exports = exports;
|
|
return module.exports;
|
|
}));
|
|
|