-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_angular_platform_browser.YlwlCQvpgi.js
More file actions
376 lines (375 loc) · 27.8 KB
/
_angular_platform_browser.YlwlCQvpgi.js
File metadata and controls
376 lines (375 loc) · 27.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
import { a as b, b as Q } from "@nf-internal/chunk-2AVGQ2MQ";
import { \u0275DomAdapter as Ue, \u0275setRootDomAdapter as xe, \u0275parseCookieValue as Be, \u0275getDOM as pe, DOCUMENT as U, \u0275PLATFORM_BROWSER_ID as Fe, XhrFactory as Ve, CommonModule as ze } from "@angular/common";
import * as p from "@angular/core";
import { \u0275global as y, \u0275RuntimeError as Ge, \u0275internalCreateApplication as he, PLATFORM_ID as $e, PLATFORM_INITIALIZER as Ze, createPlatformFactory as Ye, platformCore as Ke, InjectionToken as Kt, \u0275TESTABILITY_GETTER as Y, \u0275TESTABILITY as Xe, Testability as K, NgZone as de, TestabilityRegistry as ue, \u0275INJECTOR_SCOPE as We, ErrorHandler as me, RendererFactory2 as Je, ApplicationModule as qe, \u0275setDocument as Qe } from "@angular/core";
import { DOCUMENT as $, \u0275getDOM as Ae } from "@angular/common";
import * as c from "@angular/core";
import { InjectionToken as re, \u0275RuntimeError as V, APP_ID as oe, CSP_NONCE as se, PLATFORM_ID as ie, ViewEncapsulation as O, \u0275TracingService as be, RendererStyleFlags2 as N, \u0275allLeavingAnimations as Oe } from "@angular/core";
var v = class {
_doc;
constructor(r) { this._doc = r; }
manager;
}, w = (() => { class n extends v {
constructor(e) { super(e); }
supports(e) { return !0; }
addEventListener(e, t, o, s) { return e.addEventListener(t, o, s), () => this.removeEventListener(e, t, o, s); }
removeEventListener(e, t, o, s) { return e.removeEventListener(t, o, s); }
static \u0275fac = function (t) { return new (t || n)(c.\u0275\u0275inject($)); };
static \u0275prov = c.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac });
} return n; })(), S = new re(""), H = (() => { class n {
_zone;
_plugins;
_eventNameToPlugin = new Map;
constructor(e, t) { this._zone = t, e.forEach(i => { i.manager = this; }); let o = e.filter(i => !(i instanceof w)); this._plugins = o.slice().reverse(); let s = e.find(i => i instanceof w); s && this._plugins.push(s); }
addEventListener(e, t, o, s) { return this._findPluginFor(t).addEventListener(e, t, o, s); }
getZone() { return this._zone; }
_findPluginFor(e) { let t = this._eventNameToPlugin.get(e); if (t)
return t; if (t = this._plugins.find(s => s.supports(e)), !t)
throw new V(5101, !1); return this._eventNameToPlugin.set(e, t), t; }
static \u0275fac = function (t) { return new (t || n)(c.\u0275\u0275inject(S), c.\u0275\u0275inject(c.NgZone)); };
static \u0275prov = c.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac });
} return n; })(), L = "ng-app-id";
function ee(n) { for (let r of n)
r.remove(); }
function te(n, r) { let e = r.createElement("style"); return e.textContent = n, e; }
function Ne(n, r, e, t) { let o = n.head?.querySelectorAll(`style[${L}="${r}"],link[${L}="${r}"]`); if (o)
for (let s of o)
s.removeAttribute(L), s instanceof HTMLLinkElement ? t.set(s.href.slice(s.href.lastIndexOf("/") + 1), { usage: 0, elements: [s] }) : s.textContent && e.set(s.textContent, { usage: 0, elements: [s] }); }
function z(n, r) { let e = r.createElement("link"); return e.setAttribute("rel", "stylesheet"), e.setAttribute("href", n), e; }
var k = (() => { class n {
doc;
appId;
nonce;
inline = new Map;
external = new Map;
hosts = new Set;
constructor(e, t, o, s = {}) { this.doc = e, this.appId = t, this.nonce = o, Ne(e, t, this.inline, this.external), this.hosts.add(e.head); }
addStyles(e, t) { for (let o of e)
this.addUsage(o, this.inline, te); t?.forEach(o => this.addUsage(o, this.external, z)); }
removeStyles(e, t) { for (let o of e)
this.removeUsage(o, this.inline); t?.forEach(o => this.removeUsage(o, this.external)); }
addUsage(e, t, o) { let s = t.get(e); s ? s.usage++ : t.set(e, { usage: 1, elements: [...this.hosts].map(i => this.addElement(i, o(e, this.doc))) }); }
removeUsage(e, t) { let o = t.get(e); o && (o.usage--, o.usage <= 0 && (ee(o.elements), t.delete(e))); }
ngOnDestroy() { for (let [, { elements: e }] of [...this.inline, ...this.external])
ee(e); this.hosts.clear(); }
addHost(e) { this.hosts.add(e); for (let [t, { elements: o }] of this.inline)
o.push(this.addElement(e, te(t, this.doc))); for (let [t, { elements: o }] of this.external)
o.push(this.addElement(e, z(t, this.doc))); }
removeHost(e) { this.hosts.delete(e); }
addElement(e, t) { return this.nonce && t.setAttribute("nonce", this.nonce), typeof ngServerMode < "u" && ngServerMode && t.setAttribute(L, this.appId), e.appendChild(t); }
static \u0275fac = function (t) { return new (t || n)(c.\u0275\u0275inject($), c.\u0275\u0275inject(oe), c.\u0275\u0275inject(se, 8), c.\u0275\u0275inject(ie)); };
static \u0275prov = c.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac });
} return n; })(), F = { svg: "http://www.w3.org/2000/svg", xhtml: "http://www.w3.org/1999/xhtml", xlink: "http://www.w3.org/1999/xlink", xml: "http://www.w3.org/XML/1998/namespace", xmlns: "http://www.w3.org/2000/xmlns/", math: "http://www.w3.org/1998/Math/MathML" }, Z = /%COMP%/g;
var ae = "%COMP%", Le = `_nghost-${ae}`, Pe = `_ngcontent-${ae}`, He = !0, ce = new re("", { providedIn: "root", factory: () => He });
function ke(n) { return Pe.replace(Z, n); }
function je(n) { return Le.replace(Z, n); }
function le(n, r) { return r.map(e => e.replace(Z, n)); }
var j = (() => { class n {
eventManager;
sharedStylesHost;
appId;
removeStylesOnCompDestroy;
doc;
platformId;
ngZone;
nonce;
tracingService;
rendererByCompId = new Map;
defaultRenderer;
platformIsServer;
constructor(e, t, o, s, i, a, l, f = null, u = null) { this.eventManager = e, this.sharedStylesHost = t, this.appId = o, this.removeStylesOnCompDestroy = s, this.doc = i, this.platformId = a, this.ngZone = l, this.nonce = f, this.tracingService = u, this.platformIsServer = typeof ngServerMode < "u" && ngServerMode, this.defaultRenderer = new _(e, i, l, this.platformIsServer, this.tracingService); }
createRenderer(e, t) { if (!e || !t)
return this.defaultRenderer; typeof ngServerMode < "u" && ngServerMode && t.encapsulation === O.ShadowDom && (t = Q(b({}, t), { encapsulation: O.Emulated })); let o = this.getOrCreateRenderer(e, t); return o instanceof P ? o.applyToHost(e) : o instanceof T && o.applyStyles(), o; }
getOrCreateRenderer(e, t) { let o = this.rendererByCompId, s = o.get(t.id); if (!s) {
let i = this.doc, a = this.ngZone, l = this.eventManager, f = this.sharedStylesHost, u = this.removeStylesOnCompDestroy, g = this.platformIsServer, h = this.tracingService;
switch (t.encapsulation) {
case O.Emulated:
s = new P(l, f, t, this.appId, u, i, a, g, h);
break;
case O.ShadowDom: return new G(l, f, e, t, i, a, this.nonce, g, h);
default:
s = new T(l, f, t, u, i, a, g, h);
break;
}
o.set(t.id, s);
} return s; }
ngOnDestroy() { this.rendererByCompId.clear(); }
componentReplaced(e) { this.rendererByCompId.delete(e); }
static \u0275fac = function (t) { return new (t || n)(c.\u0275\u0275inject(H), c.\u0275\u0275inject(k), c.\u0275\u0275inject(oe), c.\u0275\u0275inject(ce), c.\u0275\u0275inject($), c.\u0275\u0275inject(ie), c.\u0275\u0275inject(c.NgZone), c.\u0275\u0275inject(se), c.\u0275\u0275inject(be, 8)); };
static \u0275prov = c.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac });
} return n; })(), _ = class {
eventManager;
doc;
ngZone;
platformIsServer;
tracingService;
data = Object.create(null);
throwOnSyntheticProps = !0;
constructor(r, e, t, o, s) { this.eventManager = r, this.doc = e, this.ngZone = t, this.platformIsServer = o, this.tracingService = s; }
destroy() { }
destroyNode = null;
createElement(r, e) { return e ? this.doc.createElementNS(F[e] || e, r) : this.doc.createElement(r); }
createComment(r) { return this.doc.createComment(r); }
createText(r) { return this.doc.createTextNode(r); }
appendChild(r, e) { (ne(r) ? r.content : r).appendChild(e); }
insertBefore(r, e, t) { r && (ne(r) ? r.content : r).insertBefore(e, t); }
removeChild(r, e) { e.remove(); }
selectRootElement(r, e) { let t = typeof r == "string" ? this.doc.querySelector(r) : r; if (!t)
throw new V(-5104, !1); return e || (t.textContent = ""), t; }
parentNode(r) { return r.parentNode; }
nextSibling(r) { return r.nextSibling; }
setAttribute(r, e, t, o) { if (o) {
e = o + ":" + e;
let s = F[o];
s ? r.setAttributeNS(s, e, t) : r.setAttribute(e, t);
}
else
r.setAttribute(e, t); }
removeAttribute(r, e, t) { if (t) {
let o = F[t];
o ? r.removeAttributeNS(o, e) : r.removeAttribute(`${t}:${e}`);
}
else
r.removeAttribute(e); }
addClass(r, e) { r.classList.add(e); }
removeClass(r, e) { r.classList.remove(e); }
setStyle(r, e, t, o) { o & (N.DashCase | N.Important) ? r.style.setProperty(e, t, o & N.Important ? "important" : "") : r.style[e] = t; }
removeStyle(r, e, t) { t & N.DashCase ? r.style.removeProperty(e) : r.style[e] = ""; }
setProperty(r, e, t) { r != null && (r[e] = t); }
setValue(r, e) { r.nodeValue = e; }
listen(r, e, t, o) { if (typeof r == "string" && (r = Ae().getGlobalEventTarget(this.doc, r), !r))
throw new V(5102, !1); let s = this.decoratePreventDefault(t); return this.tracingService?.wrapEventListener && (s = this.tracingService.wrapEventListener(r, e, s)), this.eventManager.addEventListener(r, e, s, o); }
decoratePreventDefault(r) { return e => { if (e === "__ngUnwrap__")
return r; (typeof ngServerMode < "u" && ngServerMode ? this.ngZone.runGuarded(() => r(e)) : r(e)) === !1 && e.preventDefault(); }; }
};
function ne(n) { return n.tagName === "TEMPLATE" && n.content !== void 0; }
var G = class extends _ {
sharedStylesHost;
hostEl;
shadowRoot;
constructor(r, e, t, o, s, i, a, l, f) { super(r, s, i, l, f), this.sharedStylesHost = e, this.hostEl = t, this.shadowRoot = t.attachShadow({ mode: "open" }), this.sharedStylesHost.addHost(this.shadowRoot); let u = o.styles; u = le(o.id, u); for (let h of u) {
let E = document.createElement("style");
a && E.setAttribute("nonce", a), E.textContent = h, this.shadowRoot.appendChild(E);
} let g = o.getExternalStyles?.(); if (g)
for (let h of g) {
let E = z(h, s);
a && E.setAttribute("nonce", a), this.shadowRoot.appendChild(E);
} }
nodeOrShadowRoot(r) { return r === this.hostEl ? this.shadowRoot : r; }
appendChild(r, e) { return super.appendChild(this.nodeOrShadowRoot(r), e); }
insertBefore(r, e, t) { return super.insertBefore(this.nodeOrShadowRoot(r), e, t); }
removeChild(r, e) { return super.removeChild(null, e); }
parentNode(r) { return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r))); }
destroy() { this.sharedStylesHost.removeHost(this.shadowRoot); }
}, T = class extends _ {
sharedStylesHost;
removeStylesOnCompDestroy;
styles;
styleUrls;
constructor(r, e, t, o, s, i, a, l, f) { super(r, s, i, a, l), this.sharedStylesHost = e, this.removeStylesOnCompDestroy = o; let u = t.styles; this.styles = f ? le(f, u) : u, this.styleUrls = t.getExternalStyles?.(f); }
applyStyles() { this.sharedStylesHost.addStyles(this.styles, this.styleUrls); }
destroy() { this.removeStylesOnCompDestroy && Oe.size === 0 && this.sharedStylesHost.removeStyles(this.styles, this.styleUrls); }
}, P = class extends T {
contentAttr;
hostAttr;
constructor(r, e, t, o, s, i, a, l, f) { let u = o + "-" + t.id; super(r, e, t, s, i, a, l, f, u), this.contentAttr = ke(u), this.hostAttr = je(u); }
applyToHost(r) { this.applyStyles(), this.setAttribute(r, this.hostAttr, ""); }
createElement(r, e) { let t = super.createElement(r, e); return super.setAttribute(t, this.contentAttr, ""), t; }
};
var x = class n extends Ue {
supportsDOMEvents = !0;
static makeCurrent() { xe(new n); }
onAndCancel(r, e, t, o) { return r.addEventListener(e, t, o), () => { r.removeEventListener(e, t, o); }; }
dispatchEvent(r, e) { r.dispatchEvent(e); }
remove(r) { r.remove(); }
createElement(r, e) { return e = e || this.getDefaultDocument(), e.createElement(r); }
createHtmlDocument() { return document.implementation.createHTMLDocument("fakeTitle"); }
getDefaultDocument() { return document; }
isElementNode(r) { return r.nodeType === Node.ELEMENT_NODE; }
isShadowRoot(r) { return r instanceof DocumentFragment; }
getGlobalEventTarget(r, e) { return e === "window" ? window : e === "document" ? r : e === "body" ? r.body : null; }
getBaseHref(r) { let e = et(); return e == null ? null : tt(e); }
resetBaseElement() { D = null; }
getUserAgent() { return window.navigator.userAgent; }
getCookie(r) { return Be(document.cookie, r); }
}, D = null;
function et() { return D = D || document.head.querySelector("base"), D ? D.getAttribute("href") : null; }
function tt(n) { return new URL(n, document.baseURI).pathname; }
var B = class {
addToWindow(r) { y.getAngularTestability = (t, o = !0) => { let s = r.findTestabilityInTree(t, o); if (s == null)
throw new Ge(5103, !1); return s; }, y.getAllAngularTestabilities = () => r.getAllTestabilities(), y.getAllAngularRootElements = () => r.getAllRootElements(); let e = t => { let o = y.getAllAngularTestabilities(), s = o.length, i = function () { s--, s == 0 && t(); }; o.forEach(a => { a.whenStable(i); }); }; y.frameworkStabilizers || (y.frameworkStabilizers = []), y.frameworkStabilizers.push(e); }
findTestabilityInTree(r, e, t) { if (e == null)
return null; let o = r.getTestability(e); return o ?? (t ? pe().isShadowRoot(e) ? this.findTestabilityInTree(r, e.host, !0) : this.findTestabilityInTree(r, e.parentElement, !0) : null); }
}, nt = (() => { class n {
build() { return new XMLHttpRequest; }
static \u0275fac = function (t) { return new (t || n); };
static \u0275prov = p.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac });
} return n; })(), fe = ["alt", "control", "meta", "shift"], rt = { "\b": "Backspace", " ": "Tab", "\x7F": "Delete", "\x1B": "Escape", Del: "Delete", Esc: "Escape", Left: "ArrowLeft", Right: "ArrowRight", Up: "ArrowUp", Down: "ArrowDown", Menu: "ContextMenu", Scroll: "ScrollLock", Win: "OS" }, ot = { alt: n => n.altKey, control: n => n.ctrlKey, meta: n => n.metaKey, shift: n => n.shiftKey }, ge = (() => { class n extends v {
constructor(e) { super(e); }
supports(e) { return n.parseEventName(e) != null; }
addEventListener(e, t, o, s) { let i = n.parseEventName(t), a = n.eventCallback(i.fullKey, o, this.manager.getZone()); return this.manager.getZone().runOutsideAngular(() => pe().onAndCancel(e, i.domEventName, a, s)); }
static parseEventName(e) { let t = e.toLowerCase().split("."), o = t.shift(); if (t.length === 0 || !(o === "keydown" || o === "keyup"))
return null; let s = n._normalizeKey(t.pop()), i = "", a = t.indexOf("code"); if (a > -1 && (t.splice(a, 1), i = "code."), fe.forEach(f => { let u = t.indexOf(f); u > -1 && (t.splice(u, 1), i += f + "."); }), i += s, t.length != 0 || s.length === 0)
return null; let l = {}; return l.domEventName = o, l.fullKey = i, l; }
static matchEventFullKeyCode(e, t) { let o = rt[e.key] || e.key, s = ""; return t.indexOf("code.") > -1 && (o = e.code, s = "code."), o == null || !o ? !1 : (o = o.toLowerCase(), o === " " ? o = "space" : o === "." && (o = "dot"), fe.forEach(i => { if (i !== o) {
let a = ot[i];
a(e) && (s += i + ".");
} }), s += o, s === t); }
static eventCallback(e, t, o) { return s => { n.matchEventFullKeyCode(s, e) && o.runGuarded(() => t(s)); }; }
static _normalizeKey(e) { return e === "esc" ? "escape" : e; }
static \u0275fac = function (t) { return new (t || n)(p.\u0275\u0275inject(U)); };
static \u0275prov = p.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac });
} return n; })();
function st(n, r, e) { let t = b({ rootComponent: n, platformRef: e?.platformRef }, ve(r)); return he(t); }
function it(n) { return he(ve(n)); }
function ve(n) { return { appProviders: [...Se, ...n?.providers ?? []], platformProviders: ye }; }
function at() { return [...Ee]; }
function ct() { x.makeCurrent(); }
function lt() { return new me; }
function dt() { return Qe(document), document; }
var ye = [{ provide: $e, useValue: Fe }, { provide: Ze, useValue: ct, multi: !0 }, { provide: U, useFactory: dt }], ut = Ye(Ke, "browser", ye);
var Ee = [{ provide: Y, useClass: B }, { provide: Xe, useClass: K, deps: [de, ue, Y] }, { provide: K, useClass: K, deps: [de, ue, Y] }], Se = [{ provide: We, useValue: "root" }, { provide: me, useFactory: lt }, { provide: S, useClass: w, multi: !0, deps: [U] }, { provide: S, useClass: ge, multi: !0, deps: [U] }, j, k, H, { provide: Je, useExisting: j }, { provide: Ve, useClass: nt }, []], ft = (() => { class n {
constructor() { }
static \u0275fac = function (t) { return new (t || n); };
static \u0275mod = p.\u0275\u0275defineNgModule({ type: n });
static \u0275inj = p.\u0275\u0275defineInjector({ providers: [...Se, ...Ee], imports: [ze, qe] });
} return n; })();
import { \u0275getDOM as _e, DOCUMENT as I } from "@angular/common";
import { \u0275getDOM as Nn } from "@angular/common";
import * as d from "@angular/core";
import { \u0275global as Me, ApplicationRef as pt, InjectionToken as Te, \u0275Console as on, Optional as ht, Injector as mt, \u0275RuntimeError as X, SecurityContext as M, \u0275allowSanitizationBypassAndThrow as R, \u0275unwrapSafeValue as C, \u0275_sanitizeUrl as gt, \u0275_sanitizeHtml as vt, \u0275bypassSanitizationTrustHtml as yt, \u0275bypassSanitizationTrustStyle as Et, \u0275bypassSanitizationTrustScript as St, \u0275bypassSanitizationTrustUrl as Mt, \u0275bypassSanitizationTrustResourceUrl as wt, \u0275withI18nSupport as _t, \u0275withEventReplay as Tt, \u0275withIncrementalHydration as Dt, makeEnvironmentProviders as Rt, \u0275withDomHydration as Ct, ENVIRONMENT_INITIALIZER as ln, inject as dn, NgZone as un, \u0275ZONELESS_ENABLED as fn, \u0275formatRuntimeError as pn, \u0275IS_ENABLED_BLOCKING_INITIAL_NAVIGATION as hn, Version as It } from "@angular/core";
import { \u0275withHttpTransferCache as De } from "@angular/common/http";
var vn = (() => { class n {
_doc;
_dom;
constructor(e) { this._doc = e, this._dom = _e(); }
addTag(e, t = !1) { return e ? this._getOrCreateElement(e, t) : null; }
addTags(e, t = !1) { return e ? e.reduce((o, s) => (s && o.push(this._getOrCreateElement(s, t)), o), []) : []; }
getTag(e) { return e && this._doc.querySelector(`meta[${e}]`) || null; }
getTags(e) { if (!e)
return []; let t = this._doc.querySelectorAll(`meta[${e}]`); return t ? [].slice.call(t) : []; }
updateTag(e, t) { if (!e)
return null; t = t || this._parseSelector(e); let o = this.getTag(t); return o ? this._setMetaElementAttributes(e, o) : this._getOrCreateElement(e, !0); }
removeTag(e) { this.removeTagElement(this.getTag(e)); }
removeTagElement(e) { e && this._dom.remove(e); }
_getOrCreateElement(e, t = !1) { if (!t) {
let i = this._parseSelector(e), a = this.getTags(i).filter(l => this._containsAttributes(e, l))[0];
if (a !== void 0)
return a;
} let o = this._dom.createElement("meta"); return this._setMetaElementAttributes(e, o), this._doc.getElementsByTagName("head")[0].appendChild(o), o; }
_setMetaElementAttributes(e, t) { return Object.keys(e).forEach(o => t.setAttribute(this._getMetaKeyMap(o), e[o])), t; }
_parseSelector(e) { let t = e.name ? "name" : "property"; return `${t}="${e[t]}"`; }
_containsAttributes(e, t) { return Object.keys(e).every(o => t.getAttribute(this._getMetaKeyMap(o)) === e[o]); }
_getMetaKeyMap(e) { return At[e] || e; }
static \u0275fac = function (t) { return new (t || n)(d.\u0275\u0275inject(I)); };
static \u0275prov = d.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac, providedIn: "root" });
} return n; })(), At = { httpEquiv: "http-equiv" }, yn = (() => { class n {
_doc;
constructor(e) { this._doc = e; }
getTitle() { return this._doc.title; }
setTitle(e) { this._doc.title = e || ""; }
static \u0275fac = function (t) { return new (t || n)(d.\u0275\u0275inject(I)); };
static \u0275prov = d.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac, providedIn: "root" });
} return n; })();
function Re(n, r) { if (typeof COMPILED > "u" || !COMPILED) {
let e = Me.ng = Me.ng || {};
e[n] = r;
} }
var W = class {
msPerTick;
numTicks;
constructor(r, e) { this.msPerTick = r, this.numTicks = e; }
}, J = class {
appRef;
constructor(r) { this.appRef = r.injector.get(pt); }
timeChangeDetection(r) { let e = r && r.record, t = "Change Detection"; e && "profile" in console && typeof console.profile == "function" && console.profile(t); let o = performance.now(), s = 0; for (; s < 5 || performance.now() - o < 500;)
this.appRef.tick(), s++; let i = performance.now(); e && "profileEnd" in console && typeof console.profileEnd == "function" && console.profileEnd(t); let a = (i - o) / s; return console.log(`ran ${s} change detection cycles`), console.log(`${a.toFixed(2)} ms per check`), new W(a, s); }
}, Ce = "profiler";
function En(n) { return Re(Ce, new J(n)), n; }
function Sn() { Re(Ce, null); }
var we = class {
static all() { return () => !0; }
static css(r) { return e => e.nativeElement != null ? bt(e.nativeElement, r) : !1; }
static directive(r) { return e => e.providerTokens.indexOf(r) !== -1; }
};
function bt(n, r) { return _e().isElementNode(n) ? n.matches && n.matches(r) || n.msMatchesSelector && n.msMatchesSelector(r) || n.webkitMatchesSelector && n.webkitMatchesSelector(r) : !1; }
var Ot = { pan: !0, panstart: !0, panmove: !0, panend: !0, pancancel: !0, panleft: !0, panright: !0, panup: !0, pandown: !0, pinch: !0, pinchstart: !0, pinchmove: !0, pinchend: !0, pinchcancel: !0, pinchin: !0, pinchout: !0, press: !0, pressup: !0, rotate: !0, rotatestart: !0, rotatemove: !0, rotateend: !0, rotatecancel: !0, swipe: !0, swipeleft: !0, swiperight: !0, swipeup: !0, swipedown: !0, tap: !0, doubletap: !0 }, q = new Te(""), Ie = new Te(""), Nt = (() => { class n {
events = [];
overrides = {};
options;
buildHammer(e) { let t = new Hammer(e, this.options); t.get("pinch").set({ enable: !0 }), t.get("rotate").set({ enable: !0 }); for (let o in this.overrides)
t.get(o).set(this.overrides[o]); return t; }
static \u0275fac = function (t) { return new (t || n); };
static \u0275prov = d.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac });
} return n; })(), Lt = (() => { class n extends v {
_config;
_injector;
loader;
_loaderPromise = null;
constructor(e, t, o, s) { super(e), this._config = t, this._injector = o, this.loader = s; }
supports(e) { return !(!Ot.hasOwnProperty(e.toLowerCase()) && !this.isCustomEvent(e) || !window.Hammer && !this.loader); }
addEventListener(e, t, o) { let s = this.manager.getZone(); if (t = t.toLowerCase(), !window.Hammer && this.loader) {
this._loaderPromise = this._loaderPromise || s.runOutsideAngular(() => this.loader());
let i = !1, a = () => { i = !0; };
return s.runOutsideAngular(() => this._loaderPromise.then(() => { if (!window.Hammer) {
a = () => { };
return;
} i || (a = this.addEventListener(e, t, o)); }).catch(() => { a = () => { }; })), () => { a(); };
} return s.runOutsideAngular(() => { let i = this._config.buildHammer(e), a = function (l) { s.runGuarded(function () { o(l); }); }; return i.on(t, a), () => { i.off(t, a), typeof i.destroy == "function" && i.destroy(); }; }); }
isCustomEvent(e) { return this._config.events.indexOf(e) > -1; }
static \u0275fac = function (t) { return new (t || n)(d.\u0275\u0275inject(I), d.\u0275\u0275inject(q), d.\u0275\u0275inject(d.Injector), d.\u0275\u0275inject(Ie, 8)); };
static \u0275prov = d.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac });
} return n; })(), Mn = (() => { class n {
static \u0275fac = function (t) { return new (t || n); };
static \u0275mod = d.\u0275\u0275defineNgModule({ type: n });
static \u0275inj = d.\u0275\u0275defineInjector({ providers: [{ provide: S, useClass: Lt, multi: !0, deps: [I, q, mt, [new ht, Ie]] }, { provide: q, useClass: Nt }] });
} return n; })(), Pt = (() => { class n {
static \u0275fac = function (t) { return new (t || n); };
static \u0275prov = d.\u0275\u0275defineInjectable({ token: n, factory: function (t) { let o = null; return t ? o = new (t || n) : o = d.\u0275\u0275inject(Ht), o; }, providedIn: "root" });
} return n; })(), Ht = (() => { class n extends Pt {
_doc;
constructor(e) { super(), this._doc = e; }
sanitize(e, t) { if (t == null)
return null; switch (e) {
case M.NONE: return t;
case M.HTML: return R(t, "HTML") ? C(t) : vt(this._doc, String(t)).toString();
case M.STYLE: return R(t, "Style") ? C(t) : t;
case M.SCRIPT:
if (R(t, "Script"))
return C(t);
throw new X(5200, !1);
case M.URL: return R(t, "URL") ? C(t) : gt(String(t));
case M.RESOURCE_URL:
if (R(t, "ResourceURL"))
return C(t);
throw new X(5201, !1);
default: throw new X(5202, !1);
} }
bypassSecurityTrustHtml(e) { return yt(e); }
bypassSecurityTrustStyle(e) { return Et(e); }
bypassSecurityTrustScript(e) { return St(e); }
bypassSecurityTrustUrl(e) { return Mt(e); }
bypassSecurityTrustResourceUrl(e) { return wt(e); }
static \u0275fac = function (t) { return new (t || n)(d.\u0275\u0275inject(I)); };
static \u0275prov = d.\u0275\u0275defineInjectable({ token: n, factory: n.\u0275fac, providedIn: "root" });
} return n; })(), m = (function (n) { return n[n.NoHttpTransferCache = 0] = "NoHttpTransferCache", n[n.HttpTransferCacheOptions = 1] = "HttpTransferCacheOptions", n[n.I18nSupport = 2] = "I18nSupport", n[n.EventReplay = 3] = "EventReplay", n[n.IncrementalHydration = 4] = "IncrementalHydration", n; })(m || {});
function A(n, r = [], e = {}) { return { \u0275kind: n, \u0275providers: r }; }
function wn() { return A(m.NoHttpTransferCache); }
function _n(n) { return A(m.HttpTransferCacheOptions, De(n)); }
function Tn() { return A(m.I18nSupport, _t()); }
function Dn() { return A(m.EventReplay, Tt()); }
function Rn() { return A(m.IncrementalHydration, Dt()); }
function Cn(...n) { let r = [], e = new Set; for (let { \u0275providers: o, \u0275kind: s } of n)
e.add(s), o.length && r.push(o); let t = e.has(m.HttpTransferCacheOptions); return Rt([[], [], Ct(), e.has(m.NoHttpTransferCache) || t ? [] : De({}), r]); }
var In = new It("20.3.7");
export { ft as BrowserModule, we as By, Pt as DomSanitizer, S as EVENT_MANAGER_PLUGINS, H as EventManager, v as EventManagerPlugin, q as HAMMER_GESTURE_CONFIG, Ie as HAMMER_LOADER, Nt as HammerGestureConfig, Mn as HammerModule, m as HydrationFeatureKind, vn as Meta, ce as REMOVE_STYLES_ON_COMPONENT_DESTROY, yn as Title, In as VERSION, st as bootstrapApplication, it as createApplication, Sn as disableDebugTools, En as enableDebugTools, ut as platformBrowser, Cn as provideClientHydration, at as provideProtractorTestingSupport, Dn as withEventReplay, _n as withHttpTransferCacheOptions, Tn as withI18nSupport, Rn as withIncrementalHydration, wn as withNoHttpTransferCache, x as \u0275BrowserDomAdapter, B as \u0275BrowserGetTestability, w as \u0275DomEventsPlugin, j as \u0275DomRendererFactory2, Ht as \u0275DomSanitizerImpl, Lt as \u0275HammerGesturesPlugin, ge as \u0275KeyEventsPlugin, k as \u0275SharedStylesHost, Nn as \u0275getDOM };
/*! Bundled license information:
@angular/platform-browser/fesm2022/dom_renderer.mjs:
@angular/platform-browser/fesm2022/browser.mjs:
@angular/platform-browser/fesm2022/platform-browser.mjs:
(**
* @license Angular v20.3.7
* (c) 2010-2025 Google LLC. https://angular.dev/
* License: MIT
*)
*/