1/*! For license information please see clientParamBuilder.bundle.js.LICENSE.txt */ 2/* eslint-disable */ 3!(function (t, r) { 4 'object' == typeof exports && 'object' == typeof module 5 ? (module.exports = r()) 6 : 'function' == typeof define && define.amd 7 ? define([], r) 8 : 'object' == typeof exports 9 ? (exports.clientParamBuilder = r()) 10 : (t.clientParamBuilder = r()); 11})(self, () => 12 (() => { 13 'use strict'; 14 var t = { 15 d: (r, e) => { 16 for (var n in e) t.o(e, n) && !t.o(r, n) && Object.defineProperty(r, n, { enumerable: !0, get: e[n] }); 17 }, 18 o: (t, r) => Object.prototype.hasOwnProperty.call(t, r), 19 r: (t) => { 20 ('undefined' != typeof Symbol && 21 Symbol.toStringTag && 22 Object.defineProperty(t, Symbol.toStringTag, { value: 'Module' }), 23 Object.defineProperty(t, '__esModule', { value: !0 })); 24 }, 25 }, 26 r = {}; 27 (t.r(r), 28 t.d(r, { 29 getFbc: () => S, 30 getFbp: () => k, 31 processAndCollectAllParams: () => R, 32 processAndCollectParams: () => C, 33 })); 34 var e = 999999999, 35 n = 7776e6, 36 o = 'fb', 37 i = 'fbclid', 38 a = '_fbc', 39 u = 'fbc', 40 c = '_fbp', 41 l = 'fbp', 42 f = 4, 43 s = 5, 44 h = 'Bg', 45 p = ['AQ', 'Ag', 'Aw', 'BA', 'BQ', 'Bg']; 46 function y(t, r) { 47 (null == r || r > t.length) && (r = t.length); 48 for (var e = 0, n = Array(r); e < r; e++) n[e] = t[e]; 49 return n; 50 } 51 function d(t, r, e) { 52 return [o, t, r, e, h].join('.'); 53 } 54 function v(t, r) { 55 var e = new RegExp('[?#&]' + r.replace(/[\[\]]/g, '\\$&') + '(=([^&#]*)|&|#|$)').exec(t); 56 return e ? (e[2] ? decodeURIComponent(e[2].replace(/\+/g, ' ')) : '') : null; 57 } 58 // function g(t) { 59 // var r = []; 60 // try { 61 // for ( 62 // var e = document.cookie.split(';'), n = '^\\s*'.concat(t, '=\\s*(.*?)\\s*$'), o = new RegExp(n), i = 0; 63 // i < e.length; 64 // i++ 65 // ) { 66 // var a = e[i].match(o); 67 // a && r.push(a[1]); 68 // } 69 // return r && r.hasOwnProperty(0) && 'string' == typeof r[0] ? r[0] : ''; 70 // } catch (t) { 71 // throw new Error('Fail to read from cookie: ' + t.message); 72 // } 73 // } 74 function g(t) { 75 var r = [];
76 try { 77 for ( 78 var e = document.cookie.split(';'), n = '^\\s*'.concat(t, '=\\s*(.*?)\\s*$'), o = new RegExp(n), i = 0; 79 i < e.length; 80 i++ 81 ) { 82 var a = e[i].match(o); 83 a && r.push(a[1]); 84 } 85 86 if (r && r.hasOwnProperty(0) && 'string' == typeof r[0]) { 87 return r[0]; 88 } 89 90 // â ï¸ fallbackï¼cookie 䏿²¡æï¼ä» URL åæ°ä¸å 91 var u = new URLSearchParams(window.location.search).get(t); 92 return u || ''; 93 } catch (t) { 94 throw new Error('Fail to read from cookie or URL: ' + t.message); 95 } 96 } 97 98 function m(t, r) { 99 return t.slice(t.length - 1 - r).join('.'); 100 } 101 function w(t, r, e) { 102 var o, 103 i, 104 a, 105 u, 106 c, 107 l, 108 f = ((o = n), new Date(Date.now() + Math.round(o)).toUTCString()); 109 if ('string' == typeof t && 'string' == typeof r && 'string' == typeof e) 110 try { 111 var s = encodeURIComponent(r); 112 document.cookie = 113 ''.concat(t, '=').concat(s, ';') + 114 'expires='.concat(f, ';') + 115 'domain=.'.concat(e, ';') + 116 'SameSite=None; Secure;' + // è·¨å iframe å¿ é¡» 117 'path=/'; 118 // document.cookie = 119 // ''.concat(t, '=').concat(s, ';') + 120 // 'expires='.concat(f, ';') + 121 // 'domain=.'.concat(e, ';') + 122 // ''.concat( 123 // ((i = window.chrome), 124 // (u = (a = window.navigator).vendor), 125 // (c = void 0 !== window.opr), 126 // (l = a.userAgent.indexOf('Edg') > -1), 127 // a.userAgent.match('CriOS') || null == i || 'Google Inc.' !== u || !1 !== c || !1 !== l 128 // ? '' 129 // : 'SameSite=Lax;'), 130 // ) + 131 // 'path=/'; 132 } catch (t) { 133 throw new Error('Fail to write cookie: ' + t.message); 134 } 135 } 136 function b(t) { 137 var r = g(t); 138 return 'string' != typeof r || '' === r 139 ? null 140 : (function (t) { 141 var r = t.split('.'); 142 if (r.length !== f && r.length !== s) return null; 143 var e, 144 n, 145 i = 146 ((n = 5), 147 (function (t) { 148 if (Array.isArray(t)) return t; 149 })((e = r)) || 150 (function (t, r) { 151 var e = null == t ? null : ('undefined' != typeof Symbol && t[Symbol.iterator]) || t['@@iterator']; 152 if (null != e) { 153 var n, 154 o, 155 i, 156 a, 157 u = [], 158 c = !0, 159 l = !1; 160 try { 161 if (((i = (e = e.call(t)).next), 0 === r)) { 162 if (Object(e) !== e) return; 163 c = !1; 164 } else for (; !(c = (n = i.call(e)).done) && (u.push(n.value), u.length !== r); c = !0); 165 } catch (t) { 166 ((l = !0), (o = t)); 167 } finally { 168 try { 169 if (!c && null != e.return && ((a = e.return()), Object(a) !== a)) return; 170 } finally { 171 if (l) throw o; 172 } 173 } 174 return u; 175 } 176 })(e, n) || 177 (function (t, r) { 178 if (t) { 179 if ('string' == typeof t) return y(t, r); 180 var e = {}.toString.call(t).slice(8, -1); 181 return ( 182 'Object' === e && t.constructor && (e = t.constructor.name), 183 'Map' === e || 'Set' === e 184 ? Array.from(t) 185 : 'Arguments' === e || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) 186 ? y(t, r) 187 : void 0 188 ); 189 } 190 })(e, n) || 191 (function () { 192 throw new TypeError(
193 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.', 194 ); 195 })()), 196 a = i[0], 197 u = i[1], 198 c = i[2], 199 l = i[3], 200 h = i[4]; 201 if (null != h && !p.includes(h)) return null; 202 if (a !== o) return null; 203 var d = parseInt(u, 10); 204 if (isNaN(d)) return null; 205 var v = parseInt(c, 10); 206 if (isNaN(v)) return null; 207 if (null == l || '' === l) return null; 208 var g = {}; 209 return ((g.creationTime = v), (g.payload = l), (g.subdomainIndex = d), (g.languageToken = h), g); 210 })(r); 211 } 212 function x(t, r) { 213 for (var e = window.location.hostname.split('.'), n = 0; n < e.length; n++) { 214 var o = m(e, n), 215 i = d(n, new Date().getTime(), r); 216 if ((w(t, i, o), '' !== g(t))) return i; 217 } 218 return null; 219 } 220 function L(t, r) { 221 var e = window.location.hostname.split('.'); 222 if (null == r.subdomainIndex || null == r.creationTime || null == r.payload) 223 throw new Error(t + ' only partially set on cookie.'); 224 var n = m(e, r.subdomainIndex), 225 o = d(r.subdomainIndex, r.creationTime, r.payload); 226 return (w(t, o, n), o); 227 } 228 function E() { 229 var t = Math.floor(Math.random() * e), 230 r = Math.floor(Math.random() * e); 231 return t.toString() + r.toString(); 232 } 233 function O(t) { 234 var r = v(t, i); 235 if ( 236 (null === r && null === (r = v(window.location.href, i)) && (r = v(document.referrer, i)), 237 null != r && r.length > 500) 238 ) 239 return null; 240 var e = b(a); 241 if (null != r) { 242 if (null == e) return x(a, r); 243 var n = (function (t, r) { 244 if (null === t || t.payload !== r) { 245 var e = {}; 246 e.payload = r; 247 var n = Date.now(); 248 return ( 249 (e.creationTime = 'number' == typeof n ? n : new Date().getTime()), 250 (e.subdomainIndex = t.subdomainIndex), 251 e 252 ); 253 } 254 return t; 255 })(e, r); 256 return L(a, n); 257 } 258 return null != e ? L(a, e) : e; 259 } 260 function j() { 261 var t = b(c); 262 if (null != t) return L(c, t); 263 var r = E(); 264 return x(c, r); 265 } 266 function S() { 267 return g(a); 268 } 269 function k() { 270 return g(c); 271 } 272 function _(t) { 273 return ( 274 (_ = 275 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator 276 ? function (t) { 277 return typeof t; 278 } 279 : function (t) { 280 return t && 'function' == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype 281 ? 'symbol' 282 : typeof t; 283 }), 284 _(t) 285 ); 286 } 287 function P() { 288 P = function () { 289 return r; 290 }; 291 var t, 292 r = {}, 293 e = Object.prototype, 294 n = e.hasOwnProperty, 295 o = 296 Object.defineProperty || 297 function (t, r, e) { 298 t[r] = e.value; 299 }, 300 i = 'function' == typeof Symbol ? Symbol : {}, 301 a = i.iterator || '@@iterator', 302 u = i.asyncIterator || '@@asyncIterator', 303 c = i.toStringTag || '@@toStringTag'; 304 function l(t, r, e) { 305 return (Object.defineProperty(t, r, { value: e, enumerable: !0, configurable: !0, writable: !0 }), t[r]); 306 } 307 try { 308 l({}, ''); 309 } catch (t) { 310 l = function (t, r, e) { 311 return (t[r] = e); 312 }; 313 } 314 function f(t, r, e, n) { 315 var i = r && r.prototype instanceof g ? r : g, 316 a = Object.create(i.prototype), 317 u = new A(n || []); 318 return (o(a, '_invoke', { value: S(t, e, u) }), a); 319 } 320 function s(t, r, e) { 321 try { 322 return { type: 'normal', arg: t.call(r, e) }; 323 } catch (t) { 324 return { type: 'throw', arg: t }; 325 } 326 } 327 r.wrap = f; 328 var h = 'suspendedStart', 329 p = 'suspendedYield', 330 y = 'executing', 331 d = 'completed', 332 v = {}; 333 function g() {} 334 function m() {} 335 function w() {} 336 var b = {}; 337 l(b, a, function () { 338 return this; 339 }); 340 var x = Object.getPrototypeOf, 341 L = x && x(x(N([]))); 342 L && L !== e && n.call(L, a) && (b = L); 343 var E = (w.prototype = g.prototype = Object.create(b)); 344 function O(t) { 345 ['next', 'throw', 'return'].forEach(function (r) { 346 l(t, r, function (t) { 347 return this._invoke(r, t); 348 }); 349 }); 350 } 351 function j(t, r) { 352 function e(o, i, a, u) { 353 var c = s(t[o], t, i); 354 if ('throw' !== c.type) { 355 var l = c.arg, 356 f = l.value; 357 return f && 'object' == _(f) && n.call(f, '__await') 358 ? r.resolve(f.__await).then( 359 function (t) { 360 e('next', t, a, u); 361 }, 362 function (t) { 363 e('throw', t, a, u); 364 }, 365 ) 366 : r.resolve(f).then( 367 function (t) { 368 ((l.value = t), a(l)); 369 }, 370 function (t) { 371 return e('throw', t, a, u); 372 }, 373 ); 374 } 375 u(c.arg); 376 } 377 var i; 378 o(this, '_invoke', { 379 value: function (t, n) { 380 function o() { 381 return new r(function (r, o) { 382 e(t, n, r, o); 383 }); 384 } 385 return (i = i ? i.then(o, o) : o()); 386 }, 387 }); 388 } 389 function S(r, e, n) { 390 var o = h; 391 return function (i, a) { 392 if (o === y) throw Error('Generator is already running'); 393 if (o === d) { 394 if ('throw' === i) throw a; 395 return { value: t, done: !0 }; 396 } 397 for (n.method = i, n.arg = a; ; ) { 398 var u = n.delegate; 399 if (u) { 400 var c = k(u, n); 401 if (c) { 402 if (c === v) continue; 403 return c; 404 } 405 } 406 if ('next' === n.method) n.sent = n._sent = n.arg; 407 else if ('throw' === n.method) { 408 if (o === h) throw ((o = d), n.arg); 409 n.dispatchException(n.arg); 410 } else 'return' === n.method && n.abrupt('return', n.arg); 411 o = y; 412 var l = s(r, e, n); 413 if ('normal' === l.type) { 414 if (((o = n.done ? d : p), l.arg === v)) continue; 415 return { value: l.arg, done: n.done }; 416 } 417 'throw' === l.type && ((o = d), (n.method = 'throw'), (n.arg = l.arg)); 418 } 419 }; 420 } 421 function k(r, e) { 422 var n = e.method, 423 o = r.iterator[n]; 424 if (o === t) 425 return ( 426 (e.delegate = null),
427 ('throw' === n && 428 r.iterator.return && 429 ((e.method = 'return'), (e.arg = t), k(r, e), 'throw' === e.method)) || 430 ('return' !== n && 431 ((e.method = 'throw'), (e.arg = new TypeError("The iterator does not provide a '" + n + "' method")))), 432 v 433 ); 434 var i = s(o, r.iterator, e.arg); 435 if ('throw' === i.type) return ((e.method = 'throw'), (e.arg = i.arg), (e.delegate = null), v); 436 var a = i.arg; 437 return a 438 ? a.done 439 ? ((e[r.resultName] = a.value), 440 (e.next = r.nextLoc), 441 'return' !== e.method && ((e.method = 'next'), (e.arg = t)), 442 (e.delegate = null), 443 v) 444 : a 445 : ((e.method = 'throw'), (e.arg = new TypeError('iterator result is not an object')), (e.delegate = null), v); 446 } 447 function I(t) { 448 var r = { tryLoc: t[0] }; 449 (1 in t && (r.catchLoc = t[1]), 450 2 in t && ((r.finallyLoc = t[2]), (r.afterLoc = t[3])), 451 this.tryEntries.push(r)); 452 } 453 function T(t) { 454 var r = t.completion || {}; 455 ((r.type = 'normal'), delete r.arg, (t.completion = r)); 456 } 457 function A(t) { 458 ((this.tryEntries = [{ tryLoc: 'root' }]), t.forEach(I, this), this.reset(!0)); 459 } 460 function N(r) { 461 if (r || '' === r) { 462 var e = r[a]; 463 if (e) return e.call(r); 464 if ('function' == typeof r.next) return r; 465 if (!isNaN(r.length)) { 466 var o = -1, 467 i = function e() { 468 for (; ++o < r.length; ) if (n.call(r, o)) return ((e.value = r[o]), (e.done = !1), e); 469 return ((e.value = t), (e.done = !0), e); 470 }; 471 return (i.next = i); 472 } 473 } 474 throw new TypeError(_(r) + ' is not iterable'); 475 } 476 return ( 477 (m.prototype = w), 478 o(E, 'constructor', { value: w, configurable: !0 }), 479 o(w, 'constructor', { value: m, configurable: !0 }), 480 (m.displayName = l(w, c, 'GeneratorFunction')), 481 (r.isGeneratorFunction = function (t) { 482 var r = 'function' == typeof t && t.constructor; 483 return !!r && (r === m || 'GeneratorFunction' === (r.displayName || r.name)); 484 }), 485 (r.mark = function (t) { 486 return ( 487 Object.setPrototypeOf ? Object.setPrototypeOf(t, w) : ((t.__proto__ = w), l(t, c, 'GeneratorFunction')), 488 (t.prototype = Object.create(E)), 489 t 490 ); 491 }), 492 (r.awrap = function (t) { 493 return { __await: t }; 494 }), 495 O(j.prototype), 496 l(j.prototype, u, function () { 497 return this; 498 }), 499 (r.AsyncIterator = j), 500 (r.async = function (t, e, n, o, i) { 501 void 0 === i && (i = Promise); 502 var a = new j(f(t, e, n, o), i); 503 return r.isGeneratorFunction(e) 504 ? a 505 : a.next().then(function (t) { 506 return t.done ? t.value : a.next(); 507 }); 508 }), 509 O(E), 510 l(E, c, 'Generator'), 511 l(E, a, function () { 512 return this; 513 }), 514 l(E, 'toString', function () { 515 return '[object Generator]'; 516 }), 517 (r.keys = function (t) { 518 var r = Object(t), 519 e = []; 520 for (var n in r) e.push(n); 521 return ( 522 e.reverse(), 523 function t() { 524 for (; e.length; ) { 525 var n = e.pop(); 526 if (n in r) return ((t.value = n), (t.done = !1), t); 527 } 528 return ((t.done = !0), t); 529 } 530 ); 531 }), 532 (r.values = N), 533 (A.prototype = { 534 constructor: A, 535 reset: function (r) { 536 if ( 537 ((this.prev = 0), 538 (this.next = 0), 539 (this.sent = this._sent = t), 540 (this.done = !1), 541 (this.delegate = null), 542 (this.method = 'next'), 543 (this.arg = t),
544 this.tryEntries.forEach(T), 545 !r) 546 ) 547 for (var e in this) 't' === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); 548 }, 549 stop: function () { 550 this.done = !0; 551 var t = this.tryEntries[0].completion; 552 if ('throw' === t.type) throw t.arg; 553 return this.rval; 554 }, 555 dispatchException: function (r) { 556 if (this.done) throw r; 557 var e = this; 558 function o(n, o) { 559 return ((u.type = 'throw'), (u.arg = r), (e.next = n), o && ((e.method = 'next'), (e.arg = t)), !!o); 560 } 561 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 562 var a = this.tryEntries[i], 563 u = a.completion; 564 if ('root' === a.tryLoc) return o('end'); 565 if (a.tryLoc <= this.prev) { 566 var c = n.call(a, 'catchLoc'), 567 l = n.call(a, 'finallyLoc'); 568 if (c && l) { 569 if (this.prev < a.catchLoc) return o(a.catchLoc, !0); 570 if (this.prev < a.finallyLoc) return o(a.finallyLoc); 571 } else if (c) { 572 if (this.prev < a.catchLoc) return o(a.catchLoc, !0); 573 } else { 574 if (!l) throw Error('try statement without catch or finally'); 575 if (this.prev < a.finallyLoc) return o(a.finallyLoc); 576 } 577 } 578 } 579 }, 580 abrupt: function (t, r) { 581 for (var e = this.tryEntries.length - 1; e >= 0; --e) { 582 var o = this.tryEntries[e]; 583 if (o.tryLoc <= this.prev && n.call(o, 'finallyLoc') && this.prev < o.finallyLoc) { 584 var i = o; 585 break; 586 } 587 } 588 i && ('break' === t || 'continue' === t) && i.tryLoc <= r && r <= i.finallyLoc && (i = null); 589 var a = i ? i.completion : {}; 590 return ( 591 (a.type = t), 592 (a.arg = r), 593 i ? ((this.method = 'next'), (this.next = i.finallyLoc), v) : this.complete(a) 594 ); 595 }, 596 complete: function (t, r) { 597 if ('throw' === t.type) throw t.arg; 598 return ( 599 'break' === t.type || 'continue' === t.type 600 ? (this.next = t.arg) 601 : 'return' === t.type 602 ? ((this.rval = this.arg = t.arg), (this.method = 'return'), (this.next = 'end')) 603 : 'normal' === t.type && r && (this.next = r), 604 v 605 ); 606 }, 607 finish: function (t) { 608 for (var r = this.tryEntries.length - 1; r >= 0; --r) { 609 var e = this.tryEntries[r]; 610 if (e.finallyLoc === t) return (this.complete(e.completion, e.afterLoc), T(e), v); 611 } 612 }, 613 catch: function (t) { 614 for (var r = this.tryEntries.length - 1; r >= 0; --r) { 615 var e = this.tryEntries[r]; 616 if (e.tryLoc === t) { 617 var n = e.completion; 618 if ('throw' === n.type) { 619 var o = n.arg; 620 T(e); 621 } 622 return o; 623 } 624 } 625 throw Error('illegal catch attempt'); 626 }, 627 delegateYield: function (r, e, n) { 628 return ( 629 (this.delegate = { iterator: N(r), resultName: e, nextLoc: n }), 630 'next' === this.method && (this.arg = t), 631 v 632 ); 633 }, 634 }), 635 r 636 ); 637 } 638 function I(t, r, e, n, o, i, a) { 639 try { 640 var u = t[i](a), 641 c = u.value; 642 } catch (t) { 643 return void e(t); 644 } 645 u.done ? r(c) : Promise.resolve(c).then(n, o); 646 } 647 function T(t) { 648 return function () { 649 var r = this, 650 e = arguments; 651 return new Promise(function (n, o) { 652 var i = t.apply(r, e); 653 function a(t) { 654 I(i, n, o, a, u, 'next', t); 655 } 656 function u(t) { 657 I(i, n, o, a, u, 'throw', t); 658 } 659 a(void 0); 660 }); 661 }; 662 } 663 function A() { 664 return N.apply(this, arguments); 665 } 666 function N() { 667 return (N = T( 668 P().mark(function t() { 669 var r, e; 670 return P().wrap(function (t) { 671 for (;;) 672 switch ((t.prev = t.next)) { 673 case 0: 674 if ( 675 !0 !== 676 (null != window.webkit && 677 null != window.webkit.messageHandlers && 678 null != window.webkit.messageHandlers.browserProperties) 679 ) { 680 t.next = 6; 681 break; 682 } 683 return ((t.next = 4), window.webkit.messageHandlers.browserProperties.postMessage('clickID')); 684 case 4: 685 return ((r = t.sent), t.abrupt('return', r)); 686 case 6: 687 if ( 688 !0 !== 689 ((n = 397), 690 (o = 264), 691 (i = void 0), 692 (a = void 0), 693 (u = void 0), 694 (c = void 0), 695 (l = void 0), 696 (f = void 0), 697 (i = window.navigator.userAgent), 698 (a = i.indexOf('Android') >= 0), 699 (u = i.indexOf('FB_IAB') >= 0), 700 (c = i.indexOf('Instagram') >= 0), 701 (l = (function (t) { 702 var r = 0, 703 e = t.match(/(FBAV|Instagram)[/\s](\d+)/); 704 if (null != e) { 705 var n = e[0].match(/(\d+)/); 706 null != n && (r = parseInt(n[0], 10)); 707 } 708 return r; 709 })(i)), 710 !!(f = a && (u || c)) && 711 (u && null != n ? n <= l : c && null != o ? o <= l : f) && 712 void 0 !== window.XMLHttpRequest) 713 ) { 714 t.next = 12; 715 break; 716 } 717 return ( 718 (t.next = 10), 719 new Promise(function (t, r) { 720 var e = new window.XMLHttpRequest(); 721 (e.open('GET', 'properties://browser/clickID'), 722 (e.onload = function () { 723 e.readyState === e.DONE && 724 e.status >= 200 && 725 e.status < 300 && 726 e.responseText && 727 t(e.responseText); 728 }), 729 (e.onerror = function () { 730 r(new Error('warning: ebp got overrides.')); 731 }), 732 e.send()); 733 }) 734 ); 735 case 10: 736 return ((e = t.sent), t.abrupt('return', e)); 737 case 12: 738 case 'end': 739 return t.stop(); 740 } 741 var n, o, i, a, u, c, l, f; 742 }, t); 743 }), 744 )).apply(this, arguments); 745 } 746 function G(t) { 747 return F.apply(this, arguments); 748 } 749 function F() { 750 return (F = T( 751 P().mark(function t(r) { 752 var e, n, o, i, u; 753 return P().wrap(function (t) { 754 for (;;) 755 switch ((t.prev = t.next)) { 756 case 0: 757 if (!0 === r) { 758 t.next = 2; 759 break; 760 } 761 return t.abrupt('return', !1); 762 case 2: 763 if (((e = !1), (n = !1), (o = S()), (i = k()), o && '' != o)) { 764 t.next = 11; 765 break; 766 } 767 return ((t.next = 9), A()); 768 case 9: 769 (u = t.sent) && (x(a, u), (e = !0)); 770 case 11: 771 return ((i && '' != i) || (x(c, E()), (n = !0)), t.abrupt('return', e || n)
771); 772 case 13: 773 case 'end': 774 return t.stop(); 775 } 776 }, t); 777 }), 778 )).apply(this, arguments); 779 } 780 function M(t) { 781 return ( 782 (M = 783 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator 784 ? function (t) { 785 return typeof t; 786 } 787 : function (t) { 788 return t && 'function' == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype 789 ? 'symbol' 790 : typeof t; 791 }), 792 M(t) 793 ); 794 } 795 function B() { 796 B = function () { 797 return r; 798 }; 799 var t, 800 r = {}, 801 e = Object.prototype, 802 n = e.hasOwnProperty, 803 o = 804 Object.defineProperty || 805 function (t, r, e) { 806 t[r] = e.value; 807 }, 808 i = 'function' == typeof Symbol ? Symbol : {}, 809 a = i.iterator || '@@iterator', 810 u = i.asyncIterator || '@@asyncIterator', 811 c = i.toStringTag || '@@toStringTag'; 812 function l(t, r, e) { 813 return (Object.defineProperty(t, r, { value: e, enumerable: !0, configurable: !0, writable: !0 }), t[r]); 814 } 815 try { 816 l({}, ''); 817 } catch (t) { 818 l = function (t, r, e) { 819 return (t[r] = e); 820 }; 821 } 822 function f(t, r, e, n) { 823 var i = r && r.prototype instanceof g ? r : g, 824 a = Object.create(i.prototype), 825 u = new I(n || []); 826 return (o(a, '_invoke', { value: S(t, e, u) }), a); 827 } 828 function s(t, r, e) { 829 try { 830 return { type: 'normal', arg: t.call(r, e) }; 831 } catch (t) { 832 return { type: 'throw', arg: t }; 833 } 834 } 835 r.wrap = f; 836 var h = 'suspendedStart', 837 p = 'suspendedYield', 838 y = 'executing', 839 d = 'completed', 840 v = {}; 841 function g() {} 842 function m() {} 843 function w() {} 844 var b = {}; 845 l(b, a, function () { 846 return this; 847 }); 848 var x = Object.getPrototypeOf, 849 L = x && x(x(T([]))); 850 L && L !== e && n.call(L, a) && (b = L); 851 var E = (w.prototype = g.prototype = Object.create(b)); 852 function O(t) { 853 ['next', 'throw', 'return'].forEach(function (r) { 854 l(t, r, function (t) { 855 return this._invoke(r, t); 856 }); 857 }); 858 } 859 function j(t, r) { 860 function e(o, i, a, u) { 861 var c = s(t[o], t, i); 862 if ('throw' !== c.type) { 863 var l = c.arg, 864 f = l.value; 865 return f && 'object' == M(f) && n.call(f, '__await') 866 ? r.resolve(f.__await).then( 867 function (t) { 868 e('next', t, a, u); 869 }, 870 function (t) { 871 e('throw', t, a, u); 872 }, 873 ) 874 : r.resolve(f).then( 875 function (t) { 876 ((l.value = t), a(l)); 877 }, 878 function (t) { 879 return e('throw', t, a, u); 880 }, 881 ); 882 } 883 u(c.arg); 884 } 885 var i; 886 o(this, '_invoke', { 887 value: function (t, n) { 888 function o() { 889 return new r(function (r, o) { 890 e(t, n, r, o); 891 }); 892 } 893 return (i = i ? i.then(o, o) : o()); 894 }, 895 }); 896 } 897 function S(r, e, n) { 898 var o = h; 899 return function (i, a) { 900 if (o === y) throw Error('Generator is already running'); 901 if (o === d) { 902 if ('throw' === i) throw a; 903 return { value: t, done: !0 }; 904 } 905 for (n.method = i, n.arg = a; ; ) { 906 var u = n.delegate; 907 if (u) { 908 var c = k(u, n); 909 if (c) { 910 if (c === v) continue; 911 return c; 912 } 913 } 914 if ('next' === n.method) n.sent = n._sent = n.arg; 915 else if ('throw' === n.method) { 916 if (o === h) throw ((o = d), n.arg); 917 n.dispatchException(n.arg); 918 } else 'return' === n.method && n.abrupt('return', n.arg); 919 o = y; 920 var l = s(r, e, n); 921 if ('normal' === l.type) { 922 if (((o = n.done ? d : p), l.arg === v)) continue; 923 return { value: l.arg, done: n.done }; 924 } 925 'throw' === l.type && ((o = d), (n.method = 'throw'), (n.arg = l.arg)); 926 } 927 }; 928 } 929 function k(r, e) { 930 var n = e.method, 931 o = r.iterator[n]; 932 if (o === t) 933 return ( 934 (e.delegate = null),
935 ('throw' === n && 936 r.iterator.return && 937 ((e.method = 'return'), (e.arg = t), k(r, e), 'throw' === e.method)) || 938 ('return' !== n && 939 ((e.method = 'throw'), (e.arg = new TypeError("The iterator does not provide a '" + n + "' method")))), 940 v 941 ); 942 var i = s(o, r.iterator, e.arg); 943 if ('throw' === i.type) return ((e.method = 'throw'), (e.arg = i.arg), (e.delegate = null), v); 944 var a = i.arg; 945 return a 946 ? a.done 947 ? ((e[r.resultName] = a.value), 948 (e.next = r.nextLoc), 949 'return' !== e.method && ((e.method = 'next'), (e.arg = t)), 950 (e.delegate = null), 951 v) 952 : a 953 : ((e.method = 'throw'), (e.arg = new TypeError('iterator result is not an object')), (e.delegate = null), v); 954 } 955 function _(t) { 956 var r = { tryLoc: t[0] }; 957 (1 in t && (r.catchLoc = t[1]), 958 2 in t && ((r.finallyLoc = t[2]), (r.afterLoc = t[3])), 959 this.tryEntries.push(r)); 960 } 961 function P(t) { 962 var r = t.completion || {}; 963 ((r.type = 'normal'), delete r.arg, (t.completion = r)); 964 } 965 function I(t) { 966 ((this.tryEntries = [{ tryLoc: 'root' }]), t.forEach(_, this), this.reset(!0)); 967 } 968 function T(r) { 969 if (r || '' === r) { 970 var e = r[a]; 971 if (e) return e.call(r); 972 if ('function' == typeof r.next) return r; 973 if (!isNaN(r.length)) { 974 var o = -1, 975 i = function e() { 976 for (; ++o < r.length; ) if (n.call(r, o)) return ((e.value = r[o]), (e.done = !1), e); 977 return ((e.value = t), (e.done = !0), e); 978 }; 979 return (i.next = i); 980 } 981 } 982 throw new TypeError(M(r) + ' is not iterable'); 983 } 984 return ( 985 (m.prototype = w), 986 o(E, 'constructor', { value: w, configurable: !0 }), 987 o(w, 'constructor', { value: m, configurable: !0 }), 988 (m.displayName = l(w, c, 'GeneratorFunction')), 989 (r.isGeneratorFunction = function (t) { 990 var r = 'function' == typeof t && t.constructor; 991 return !!r && (r === m || 'GeneratorFunction' === (r.displayName || r.name)); 992 }), 993 (r.mark = function (t) { 994 return ( 995 Object.setPrototypeOf ? Object.setPrototypeOf(t, w) : ((t.__proto__ = w), l(t, c, 'GeneratorFunction')), 996 (t.prototype = Object.create(E)), 997 t 998 ); 999 }), 1000 (r.awrap = function (t) { 1001 return { __await: t }; 1002 }), 1003 O(j.prototype), 1004 l(j.prototype, u, function () { 1005 return this; 1006 }), 1007 (r.AsyncIterator = j), 1008 (r.async = function (t, e, n, o, i) { 1009 void 0 === i && (i = Promise); 1010 var a = new j(f(t, e, n, o), i); 1011 return r.isGeneratorFunction(e) 1012 ? a 1013 : a.next().then(function (t) { 1014 return t.done ? t.value : a.next(); 1015 }); 1016 }), 1017 O(E), 1018 l(E, c, 'Generator'), 1019 l(E, a, function () { 1020 return this; 1021 }), 1022 l(E, 'toString', function () { 1023 return '[object Generator]'; 1024 }), 1025 (r.keys = function (t) { 1026 var r = Object(t), 1027 e = []; 1028 for (var n in r) e.push(n); 1029 return ( 1030 e.reverse(), 1031 function t() { 1032 for (; e.length; ) { 1033 var n = e.pop(); 1034 if (n in r) return ((t.value = n), (t.done = !1), t); 1035 } 1036 return ((t.done = !0), t); 1037 } 1038 ); 1039 }), 1040 (r.values = T), 1041 (I.prototype = { 1042 constructor: I, 1043 reset: function (r) { 1044 if ( 1045 ((this.prev = 0), 1046 (this.next = 0), 1047 (this.sent = this._sent = t), 1048 (this.done = !1), 1049 (this.delegate = null), 1050 (this.method = 'next'), 1051 (this.arg = t),
1052 this.tryEntries.forEach(P), 1053 !r) 1054 ) 1055 for (var e in this) 't' === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); 1056 }, 1057 stop: function () { 1058 this.done = !0; 1059 var t = this.tryEntries[0].completion; 1060 if ('throw' === t.type) throw t.arg; 1061 return this.rval; 1062 }, 1063 dispatchException: function (r) { 1064 if (this.done) throw r; 1065 var e = this; 1066 function o(n, o) { 1067 return ((u.type = 'throw'), (u.arg = r), (e.next = n), o && ((e.method = 'next'), (e.arg = t)), !!o); 1068 } 1069 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 1070 var a = this.tryEntries[i], 1071 u = a.completion; 1072 if ('root' === a.tryLoc) return o('end'); 1073 if (a.tryLoc <= this.prev) { 1074 var c = n.call(a, 'catchLoc'), 1075 l = n.call(a, 'finallyLoc'); 1076 if (c && l) { 1077 if (this.prev < a.catchLoc) return o(a.catchLoc, !0); 1078 if (this.prev < a.finallyLoc) return o(a.finallyLoc); 1079 } else if (c) { 1080 if (this.prev < a.catchLoc) return o(a.catchLoc, !0); 1081 } else { 1082 if (!l) throw Error('try statement without catch or finally'); 1083 if (this.prev < a.finallyLoc) return o(a.finallyLoc); 1084 } 1085 } 1086 } 1087 }, 1088 abrupt: function (t, r) { 1089 for (var e = this.tryEntries.length - 1; e >= 0; --e) { 1090 var o = this.tryEntries[e]; 1091 if (o.tryLoc <= this.prev && n.call(o, 'finallyLoc') && this.prev < o.finallyLoc) { 1092 var i = o; 1093 break; 1094 } 1095 } 1096 i && ('break' === t || 'continue' === t) && i.tryLoc <= r && r <= i.finallyLoc && (i = null); 1097 var a = i ? i.completion : {}; 1098 return ( 1099 (a.type = t), 1100 (a.arg = r), 1101 i ? ((this.method = 'next'), (this.next = i.finallyLoc), v) : this.complete(a) 1102 ); 1103 }, 1104 complete: function (t, r) { 1105 if ('throw' === t.type) throw t.arg; 1106 return ( 1107 'break' === t.type || 'continue' === t.type 1108 ? (this.next = t.arg) 1109 : 'return' === t.type 1110 ? ((this.rval = this.arg = t.arg), (this.method = 'return'), (this.next = 'end')) 1111 : 'normal' === t.type && r && (this.next = r), 1112 v 1113 ); 1114 }, 1115 finish: function (t) { 1116 for (var r = this.tryEntries.length - 1; r >= 0; --r) { 1117 var e = this.tryEntries[r]; 1118 if (e.finallyLoc === t) return (this.complete(e.completion, e.afterLoc), P(e), v); 1119 } 1120 }, 1121 catch: function (t) { 1122 for (var r = this.tryEntries.length - 1; r >= 0; --r) { 1123 var e = this.tryEntries[r]; 1124 if (e.tryLoc === t) { 1125 var n = e.completion; 1126 if ('throw' === n.type) { 1127 var o = n.arg; 1128 P(e); 1129 } 1130 return o; 1131 } 1132 } 1133 throw Error('illegal catch attempt'); 1134 }, 1135 delegateYield: function (r, e, n) { 1136 return ( 1137 (this.delegate = { iterator: T(r), resultName: e, nextLoc: n }), 1138 'next' === this.method && (this.arg = t), 1139 v 1140 ); 1141 }, 1142 }), 1143 r 1144 ); 1145 } 1146 function D(t, r, e, n, o, i, a) { 1147 try { 1148 var u = t[i](a), 1149 c = u.value; 1150 } catch (t) { 1151 return void e(t); 1152 } 1153 u.done ? r(c) : Promise.resolve(c).then(n, o); 1154 } 1155 function C(t) { 1156 var r = {}, 1157 e = O(t), 1158 n = j(); 1159 return (null != e && (r[u] = e), null != n && (r[l] = n), r); 1160 } 1161 function R(t) { 1162 return H.apply(this, arguments); 1163 } 1164 function H() { 1165 var t; 1166 return ( 1167 (t = B().mark(function t(r) { 1168 var e; 1169 return B().wrap(function (t) { 1170 for (;;) 1171 switch ((t.prev = t.next)) { 1172 case 0: 1173 return ((e = {}), O(r), j(), (t.next = 5), G(!0)); 1174 case 5: 1175 return ((e[u] = S()), (e[l] = k()), t.abrupt('return', e)); 1176 case 8: 1177 case 'end': 1178 return t.stop(); 1179 } 1180 }, t); 1181 })), 1182 (H = function () { 1183 var r = this, 1184 e = arguments; 1185 return new Promise(function (n, o) { 1186 var i = t.apply(r, e); 1187 function a(t) { 1188 D(i, n, o, a, u, 'next', t); 1189 } 1190 function u(t) { 1191 D(i, n, o, a, u, 'throw', t); 1192 } 1193 a(void 0); 1194 }); 1195 }), 1196 H.apply(this, arguments) 1197 ); 1198 } 1199 return r; 1200 })(), 1201);
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.