1// (() => { 2// "use strict"; 3// var t = { 4// 857: (t) => { 5// var e = function (t) { 6// var e; 7// return ( 8// !!t && 9// "object" == typeof t && 10// "[object RegExp]" !== (e = Object.prototype.toString.call(t)) && 11// "[object Date]" !== e && 12// t.$$typeof !== r 13// ); 14// }, 15// r = 16// "function" == typeof Symbol && Symbol.for 17// ? Symbol.for("react.element") 18// : 60103; 19// function i(t, e) { 20// return !1 !== e.clone && e.isMergeableObject(t) 21// ? a(Array.isArray(t) ? [] : {}, t, e) 22// : t; 23// } 24// function n(t, e, r) { 25// return t.concat(e).map(function (t) { 26// return i(t, r); 27// }); 28// } 29// function o(t) { 30// return Object.keys(t).concat( 31// Object.getOwnPropertySymbols 32// ? Object.getOwnPropertySymbols(t).filter(function (e) { 33// return Object.propertyIsEnumerable.call(t, e); 34// }) 35// : [] 36// ); 37// } 38// function s(t, e) { 39// try { 40// return e in t; 41// } catch (t) { 42// return !1; 43// } 44// } 45// function a(t, r, l) { 46// ((l = l || {}).arrayMerge = l.arrayMerge || n), 47// (l.isMergeableObject = l.isMergeableObject || e), 48// (l.cloneUnlessOtherwiseSpecified = i); 49// var c, 50// u, 51// d = Array.isArray(r); 52// return d !== Array.isArray(t) 53// ? i(r, l) 54// : d 55// ? l.arrayMerge(t, r, l) 56// : ((u = {}), 57// (c = l).isMergeableObject(t) && 58// o(t).forEach(function (e) { 59// u[e] = i(t[e], c); 60// }), 61// o(r).forEach(function (e) { 62// (!s(t, e) || 63// (Object.hasOwnProperty.call(t, e) && 64// Object.propertyIsEnumerable.call(t, e))) && 65// (s(t, e) && c.isMergeableObject(r[e]) 66// ? (u[e] = (function (t, e) { 67// if (!e.customMerge) return a; 68// var r = e.customMerge(t); 69// return "function" == typeof r ? r : a; 70// })(e, c)(t[e], r[e], c)) 71// : (u[e] = i(r[e], c))); 72// }), 73// u); 74// } 75// (a.all = function (t, e) { 76// if (!Array.isArray(t)) 77// throw Error("first argument should be an array"); 78// return t.reduce(function (t, r) { 79// return a(t, r, e); 80// }, {}); 81// }), 82// (t.exports = a); 83// }, 84// }, 85// e = {}; 86// function r(i) { 87// var n = e[i]; 88// if (void 0 !== n) return n.exports; 89// var o = (e[i] = { exports: {} }); 90// return t[i](o, o.exports, r), o.exports; 91// } 92// (() => { 93// r.n = (t) => { 94// var e = t && t.__esModule ? () => t.default : () => t; 95// return r.d(e, { a: e }), e; 96// }; 97// })(), 98// (() => { 99// r.d = (t, e) => { 100// for (var i in e) 101// r.o(e, i) && 102// !r.o(t, i) && 103// Object.defineProperty(t, i, { enumerable: !0, get: e[i] }); 104// }; 105// })(), 106// (() => { 107// r.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e); 108// })(), 109// (() => { 110// var t = r(857), 111// e = r.n(t); 112// class i { 113// static ucFirst(t) { 114// return t.charAt(0).toUpperCase() + t.slice(1); 115// } 116// static lcFirst(t) { 117// return t.charAt(0).toLowerCase() + t.slice(1); 118// } 119// static toDashCase(t) { 120// return t 121// .replace(/([A-Z])/g, "-$1") 122// .replace(/^-/, "") 123// .toLowerCase(); 124// } 125// static toLowerCamelCase(t, e) { 126// let r = i.toUpperCamelCase(t, e); 127// return i.lcFirst(r); 128// } 129// static toUpperCamelCase(t, e) { 130// return e 131// ? t 132// .split(e) 133// .map((t) => i.ucFirst(t.toLowerCase())) 134// .join("") 135// : i.ucFirst(t.toLowerCase()); 136// } 137// static parsePrimitive(t) { 138// try { 139// return ( 140// /^\d+(.|,)\d+$/.test(t) && (t = t.replace(",", ".")), 141// JSON.parse(t) 142// ); 143// } catch (e) { 144// return t.toString(); 145// } 146// } 147// } 148// class n { 149// static isNode(t) { 150// return ( 151// "object" == typeof t && 152// null !== t && 153// (t === document || t === window || t instanceof Node) 154// ); 155// } 156// static hasAttribute(t, e) { 157// if (!n.isNode(t)) 158// throw Error("The element must be a valid HTML Node!"); 159// return "function" == typeof t.hasAttribute && t.hasAttribute(e); 160// } 161// static getAttribute(t, e) { 162// let r = 163// !(arguments.length > 2) || void 0 === arguments[2] || arguments[2]; 164// if (r && !1 === n.hasAttribute(t, e)) 165// throw Error( 166// 'The required property "'.concat(e, '" does not exist!') 167// ); 168// if ("function" != typeof t.getAttribute) { 169// if (r) 170// throw Error( 171// "This node doesn't support the getAttribute function!" 172// ); 173// return; 174// } 175// return t.getAttribute(e); 176// } 177// static getDataAttribute(t, e) { 178// let r = 179// !(arguments.length > 2) || 180// void 0 === arguments[2] || 181// arguments[2], 182// o = e.replace(/^data(|-)/, ""), 183// s = i.toLowerCamelCase(o, "-"); 184// if (!n.isNode(t)) { 185// if (r) throw Error("The passed node is not a valid HTML Node!"); 186// return; 187// } 188// if (void 0 === t.dataset) { 189// if (r) 190// throw Error("This node doesn't support the dataset attribute!"); 191// return; 192// } 193// let a = t.dataset[s]; 194// if (void 0 === a) { 195// if (r) 196// throw Error( 197// 'The required data attribute "' 198// .concat(e, '" does not exist on ') 199// .concat(t, "!") 200// ); 201// return a; 202// } 203// return i.parsePrimitive(a); 204// } 205// static querySelector(t, e) { 206// let r = 207// !(arguments.length > 2) || void 0 === arguments[2] || arguments[2]; 208// if (r && !n.isNode(t)) 209// throw Error("The parent node is not a valid HTML Node!"); 210// let i = t.querySelector(e) || !1; 211// if (r && !1 === i) 212// throw Error( 213// 'The required element "'.concat( 214// e, 215// '" does not exist in parent node!' 216// ) 217// ); 218// return i; 219// } 220// static querySelectorAll(t, e) { 221// let r = 222// !(arguments.length > 2) || void 0 === arguments[2] || arguments[2]; 223// if (r && !n.isNode(t)) 224// throw Error("The parent node is not a valid HTML Node!"); 225// let i = t.querySelectorAll(e); 226// if ((0 === i.length && (i = !1), r && !1 === i)) 227// throw Error( 228// 'At least one item of "'.concat(e, '" must exist in parent node!') 229// ); 230// return i; 231// } 232// static getFocusableElements() { 233// let t = 234// arguments.length > 0 && void 0 !== arguments[0] 235// ? arguments[0] 236// : document.body; 237// return t.querySelectorAll( 238// '\n input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),\n select:not([tabindex^="-"]):not([disabled]),\n textarea:not([tabindex^="-"]):not([disabled]),\n button:not([tabindex^="-"]):not([disabled]),\n a[href]:not([tabindex^="-"]):not([disabled]),\n [tabindex]:not
238([tabindex^="-"]):not([disabled])\n ' 239// ); 240// } 241// static getFirstFocusableElement() { 242// let t = 243// arguments.length > 0 && void 0 !== arguments[0] 244// ? arguments[0] 245// : document.body; 246// return this.getFocusableElements(t)[0]; 247// } 248// static getLastFocusableElement() { 249// let t = 250// arguments.length > 0 && void 0 !== arguments[0] 251// ? arguments[0] 252// : document, 253// e = this.getFocusableElements(t); 254// return e[e.length - 1]; 255// } 256// } 257// class o { 258// publish(t) { 259// let e = 260// arguments.length > 1 && void 0 !== arguments[1] 261// ? arguments[1] 262// : {}, 263// r = arguments.length > 2 && void 0 !== arguments[2] && arguments[2], 264// i = new CustomEvent(t, { detail: e, cancelable: r }); 265// return this.el.dispatchEvent(i), i; 266// } 267// subscribe(t, e) { 268// let r = 269// arguments.length > 2 && void 0 !== arguments[2] 270// ? arguments[2] 271// : {}, 272// i = this, 273// n = t.split("."), 274// o = r.scope ? e.bind(r.scope) : e; 275// if (r.once && !0 === r.once) { 276// let e = o; 277// o = function (r) { 278// i.unsubscribe(t), e(r); 279// }; 280// } 281// return ( 282// this.el.addEventListener(n[0], o), 283// this.listeners.push({ splitEventName: n, opts: r, cb: o }), 284// !0 285// ); 286// } 287// unsubscribe(t) { 288// let e = t.split("."); 289// return ( 290// (this.listeners = this.listeners.reduce( 291// (t, r) => ( 292// [...r.splitEventName].sort().toString() === e.sort().toString() 293// ? this.el.removeEventListener(r.splitEventName[0], r.cb) 294// : t.push(r), 295// t 296// ), 297// [] 298// )), 299// !0 300// ); 301// } 302// reset() { 303// return ( 304// this.listeners.forEach((t) => { 305// this.el.removeEventListener(t.splitEventName[0], t.cb); 306// }), 307// (this.listeners = []), 308// !0 309// ); 310// } 311// get el() { 312// return this._el; 313// } 314// set el(t) { 315// this._el = t; 316// } 317// get listeners() { 318// return this._listeners; 319// } 320// set listeners(t) { 321// this._listeners = t; 322// } 323// constructor(t = document) { 324// (this._el = t), (t.$emitter = this), (this._listeners = []); 325// } 326// } 327// class s { 328// init() { 329// throw Error( 330// 'The "init" method for the plugin "'.concat( 331// this._pluginName, 332// '" is not defined.' 333// ) 334// ); 335// } 336// update() {} 337// _init() { 338// this._initialized || (this.init(), (this._initialized = !0)); 339// } 340// _update() { 341// this._initialized && this.update(); 342// } 343// _mergeOptions(t) { 344// let r = i.toDashCase(this._pluginName), 345// o = n.getDataAttribute(this.el, "data-".concat(r, "-config"), !1), 346// s = n.getAttribute(this.el, "data-".concat(r, "-options"), !1), 347// a = [this.constructor.options, this.options, t]; 348// o && a.push(window.PluginConfigManager.get(this._pluginName, o)); 349// try { 350// s && a.push(JSON.parse(s)); 351// } catch (t) { 352// throw ( 353// (console.error(this.el), 354// Error( 355// 'The data attribute "data-' 356// .concat(r, '-options" could not be parsed to json: ') 357// .concat(t.message) 358// )) 359// ); 360// } 361// return e().all( 362// a 363// .filter((t) => t instanceof Object && !(t instanceof Array)) 364// .map((t) => t || {}) 365// ); 366// } 367// _registerInstance() { 368// window.PluginManager.getPluginInstancesFromElement(this.el).set( 369// this._pluginName, 370// this 371// ), 372// window.PluginManager.getPlugin(this._pluginName, !1) 373// .get("instances") 374// .push(this); 375// } 376// _getPluginName(t) { 377// return t || (t = this.constructor.name), t;
378// } 379// constructor(t, e = {}, r = !1) { 380// if (!n.isNode(t)) throw Error("There is no valid element given."); 381// (this.el = t), 382// (this.$emitter = new o(this.el)), 383// (this._pluginName = this._getPluginName(r)), 384// (this.options = this._mergeOptions(e)), 385// (this._initialized = !1), 386// this._registerInstance(), 387// this._init(); 388// } 389// } 390// window.PluginManager.register( 391// "ExamplePlugin", 392// class extends s { 393// init() { 394// window.addEventListener("scroll", this.onScroll.bind(this)); 395// } 396// onScroll() { 397// window.innerHeight + window.pageYOffset >= 398// document.body.offsetHeight && 399// alert("Seems like there's nothing more to see here."); 400// } 401// }, 402// "[data-example-plugin]" 403// ); 404// })(); 405// })();
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.