PageSourceSearch

https://wdn-cdn.unl.edu/wdn/templates_6.1/js/plugins/plugin.event-list.js?v=6.1.6

js unl.edu collected 2026-09-24 06:51:35 UTC 2,423 bytes, 67 lines download raw bytes

1var __defProp = Object.defineProperty;
2var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
3import { l as loadStyleSheet } from "../chunks/chunk.dcf-utility.js?v=6.1.6";
4const eventsCssUrl = "/wdn/templates_6.1/css/components-js/_events.css?v=6.1.6";
5let UNLEventList = null;
6const querySelector = ".unl-event-list:not(.unl-event-list-initialized)", pluginType = "multi", pluginLoadAfterWatch = !1;
7let isInitialized = !1, initializationPromise = null;
8function getQuerySelector() {
9  return querySelector;
10}
11__name(getQuerySelector, "getQuerySelector");
12function getPluginType() {
13  return pluginType;
14}
15__name(getPluginType, "getPluginType");
16function getPluginLoadAfterWatch() {
17  return pluginLoadAfterWatch;
18}
19__name(getPluginLoadAfterWatch, "getPluginLoadAfterWatch");
20function getIsInitialized() {
21  return isInitialized;
22}
23__name(getIsInitialized, "getIsInitialized");
24async function initialize() {
25  return isInitialized ? UNLEventList : (initializationPromise !== null || (initializationPromise = (async () => (UNLEventList = (await import("../components/component.event-list.js?v=6.1.6")).default, await loadStyleSheet(eventsCssUrl), isInitialized = !0, document.dispatchEvent(new CustomEvent("UNLPluginInitialized", {
26    detail: {
27      pluginType,
28      pluginComponent: UNLEventList,
29      styleSheetsLoaded: [
30        eventsCssUrl
31      ]
32    }
33  })), UNLEventList))()), initializationPromise);
34}
35__name(initialize, "initialize");
36async function loadElement(element, options) {
37  isInitialized || await initialize();
38  const loadedElement = new UNLEventList(element, options);
39  return document.dispatchEvent(new CustomEvent("UNLPluginLoadedElement", {
40    detail: {
41      loadedElement
42    }
43  })), loadedElement;
44}
45__name(loadElement, "loadElement");
46async function loadElements(elements, options) {
47  return await Promise.all(
48    Array.from(elements).map((element) => loadElement(element, options))
49  );
50}
51__name(loadElements, "loadElements");
52async function loadElementsOnPage(options) {
53  const allEventBands = document.querySelectorAll(querySelector);
54  return await loadElements(allEventBands, options);
55}
56__name(loadElementsOnPage, "loadElementsOnPage");
57export {
58  getIsInitialized,
59  getPluginLoadAfterWatch,
60  getPluginType,
61  getQuerySelector,
62  initialize,
63  loadElement,
64  loadElements,
65  loadElementsOnPage
66};
67//# sourceMappingURL=plugin.event-list.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.