1var tns = (function () { 2 var t = window, 3 Ai = 4 t.requestAnimationFrame || 5 t.webkitRequestAnimationFrame || 6 t.mozRequestAnimationFrame || 7 t.msRequestAnimationFrame || 8 function (t) { 9 return setTimeout(t, 16); 10 }, 11 e = window, 12 Ni = 13 e.cancelAnimationFrame || 14 e.mozCancelAnimationFrame || 15 function (t) { 16 clearTimeout(t); 17 }; 18 function Li() { 19 for (var t, e, n, i = arguments[0] || {}, a = 1, r = arguments.length; a < r; a++) if (null !== (t = arguments[a])) for (e in t) i !== (n = t[e]) && void 0 !== n && (i[e] = n); 20 return i; 21 } 22 function Bi(t) { 23 return 0 <= ["true", "false"].indexOf(t) ? JSON.parse(t) : t; 24 } 25 function Si(t, e, n, i) { 26 if (i) 27 try { 28 t.setItem(e, n); 29 } catch (t) {} 30 return n; 31 } 32 function Hi() { 33 var t = document, 34 e = t.body; 35 return e || ((e = t.createElement("body")).fake = !0), e; 36 } 37 var n = document.documentElement; 38 function Oi(t) { 39 var e = ""; 40 return t.fake && ((e = n.style.overflow), (t.style.background = ""), (t.style.overflow = n.style.overflow = "hidden"), n.appendChild(t)), e; 41 } 42 function Di(t, e) { 43 t.fake && (t.remove(), (n.style.overflow = e), n.offsetHeight); 44 } 45 function ki(t, e, n, i) { 46 "insertRule" in t ? t.insertRule(e + "{" + n + "}", i) : t.addRule(e, n, i); 47 } 48 function Ri(t) { 49 return ("insertRule" in t ? t.cssRules : t.rules).length; 50 } 51 function Ii(t, e, n) { 52 for (var i = 0, a = t.length; i < a; i++) e.call(n, t[i], i); 53 } 54 var i = "classList" in document.createElement("_"), 55 Pi = i 56 ? function (t, e) { 57 return t.classList.contains(e); 58 } 59 : function (t, e) { 60 return 0 <= t.className.indexOf(e); 61 }, 62 zi = i 63 ? function (t, e) { 64 Pi(t, e) || t.classList.add(e); 65 } 66 : function (t, e) { 67 Pi(t, e) || (t.className += " " + e); 68 }, 69 Wi = i 70 ? function (t, e) { 71 Pi(t, e) && t.classList.remove(e); 72 } 73 : function (t, e) { 74 Pi(t, e) && (t.className = t.className.replace(e, "")); 75 }; 76 function qi(t, e) { 77 return t.hasAttribute(e); 78 } 79 function Fi(t, e) { 80 return t.getAttribute(e); 81 } 82 function r(t) { 83 return void 0 !== t.item; 84 } 85 function ji(t, e) { 86 if (((t = r(t) || t instanceof Array ? t : [t]), "[object Object]" === Object.prototype.toString.call(e))) for (var n = t.length; n--; ) for (var i in e) t[n].setAttribute(i, e[i]); 87 } 88 function Vi(t, e) { 89 t = r(t) || t instanceof Array ? t : [t]; 90 for (var n = (e = e instanceof Array ? e : [e]).length, i = t.length; i--; ) for (var a = n; a--; ) t[i].removeAttribute(e[a]); 91 } 92 function Gi(t) { 93 for (var e = [], n = 0, i = t.length; n < i; n++) e.push(t[n]); 94 return e; 95 } 96 function Qi(t, e) { 97 "none" !== t.style.display && (t.style.display = "none"); 98 } 99 function Xi(t, e) { 100 "none" === t.style.display && (t.style.display = ""); 101 } 102 function Yi(t) { 103 return "none" !== window.getComputedStyle(t).display; 104 } 105 function Ki(e) { 106 if ("string" == typeof e) { 107 var n = [e], 108 i = e.charAt(0).toUpperCase() + e.substr(1); 109 ["Webkit", "Moz", "ms", "O"].forEach(function (t) { 110 ("ms" === t && "transform" !== e) || n.push(t + i); 111 }), 112 (e = n); 113 } 114 for (var t = document.createElement("fakeelement"), a = (e.length, 0); a < e.length; a++) { 115 var r = e[a]; 116 if (void 0 !== t.style[r]) return r; 117 } 118 return !1; 119 } 120 function Ji(t, e) { 121 var n = !1;
122 return /^Webkit/.test(t) ? (n = "webkit" + e + "End") : /^O/.test(t) ? (n = "o" + e + "End") : t && (n = e.toLowerCase() + "end"), n; 123 } 124 var a = !1; 125 try { 126 var o = Object.defineProperty({}, "passive", { 127 get: function () { 128 a = !0; 129 }, 130 }); 131 window.addEventListener("test", null, o); 132 } catch (t) {} 133 var u = !!a && { passive: !0 }; 134 function Ui(t, e, n) { 135 for (var i in e) { 136 var a = 0 <= ["touchstart", "touchmove"].indexOf(i) && !n && u; 137 t.addEventListener(i, e[i], a); 138 } 139 } 140 function _i(t, e) { 141 for (var n in e) { 142 var i = 0 <= ["touchstart", "touchmove"].indexOf(n) && u; 143 t.removeEventListener(n, e[n], i); 144 } 145 } 146 function Zi() { 147 return { 148 topics: {}, 149 on: function (t, e) { 150 (this.topics[t] = this.topics[t] || []), this.topics[t].push(e); 151 }, 152 off: function (t, e) { 153 if (this.topics[t]) 154 for (var n = 0; n < this.topics[t].length; n++) 155 if (this.topics[t][n] === e) { 156 this.topics[t].splice(n, 1); 157 break; 158 } 159 }, 160 emit: function (e, n) { 161 (n.type = e), 162 this.topics[e] && 163 this.topics[e].forEach(function (t) { 164 t(n, e); 165 }); 166 }, 167 }; 168 } 169 Object.keys || 170 (Object.keys = function (t) { 171 var e = []; 172 for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.push(n); 173 return e; 174 }), 175 "remove" in Element.prototype || 176 (Element.prototype.remove = function () { 177 this.parentNode && this.parentNode.removeChild(this); 178 }); 179 var $i = function (H) { 180 H = Li( 181 { 182 container: ".slider", 183 mode: "carousel", 184 axis: "horizontal", 185 items: 1, 186 gutter: 0, 187 edgePadding: 0, 188 fixedWidth: !1, 189 autoWidth: !1, 190 viewportMax: !1, 191 slideBy: 1, 192 center: !1, 193 controls: !0, 194 controlsPosition: "top", 195 controlsText: ["prev", "next"], 196 controlsContainer: !1, 197 prevButton: !1, 198 nextButton: !1, 199 nav: !0, 200 navPosition: "top", 201 navContainer: !1, 202 navAsThumbnails: !1, 203 arrowKeys: !1, 204 speed: 300, 205 autoplay: !1, 206 autoplayPosition: "top", 207 autoplayTimeout: 5e3, 208 autoplayDirection: "forward", 209 autoplayText: ["start", "stop"], 210 autoplayHoverPause: !1, 211 autoplayButton: !1, 212 autoplayButtonOutput: !0, 213 autoplayResetOnVisibility: !0, 214 animateIn: "tns-fadeIn", 215 animateOut: "tns-fadeOut", 216 animateNormal: "tns-normal", 217 animateDelay: !1, 218 loop: !0, 219 rewind: !1, 220 autoHeight: !1, 221 responsive: !1, 222 lazyload: !1, 223 lazyloadSelector: ".tns-lazy-img", 224 touch: !0, 225 mouseDrag: !1, 226 swipeAngle: 15, 227 nested: !1, 228 preventActionWhenRunning: !1, 229 preventScrollOnTouch: !1, 230 freezable: !0, 231 onInit: !1, 232 useLocalStorage: !0, 233 nonce: !1, 234 }, 235 H || {} 236 ); 237 var O = document, 238 m = window, 239 a = { ENTER: 13, SPACE: 32, LEFT: 37, RIGHT: 39 }, 240 e = {}, 241 n = H.useLocalStorage; 242 if (n) { 243 var t = navigator.userAgent, 244 i = new Date(); 245 try { 246 (e = m.localStorage) ? (e.setItem(i, i), (n = e.getItem(i) == i), e.removeItem(i)) : (n = !1), n || (e = {}); 247 } catch (t) { 248 n = !1; 249 } 250 n && 251 (e.tnsApp && 252 e.tnsApp !== t && 253 ["tC", "tPL", "tMQ", "tTf", "t3D", "tTDu", "tTDe", "tADu", "tADe", "tTE", "tAE"].forEach(function (t) { 254 e.removeItem(t); 255 }), 256 (localStorage.tnsApp = t)); 257 } 258 var y = e.tC 259 ? Bi(e.tC) 260 : Si( 261 e, 262 "tC", 263 (function () { 264 var t = document, 265 e = Hi(), 266 n = Oi(e), 267 i = t.createElement("div"), 268 a = !1; 269 e.appendChild(i); 270 try { 271 for (var r, o = "(10px * 10)", u = ["calc" + o, "-moz-calc" + o, "-webkit-calc" + o], l = 0; l < 3; l++) 272 if (((r = u[l]), (i.style.width = r), 100 === i.offsetWidth)) { 273 a = r.replace(o, ""); 274 break; 275 } 276 } catch (t) {} 277 return e.fake ? Di(e, n) : i.remove(), a; 278 })(), 279 n 280 ), 281 g = e.tPL 282 ? Bi(e.tPL) 283 : Si( 284 e, 285 "tPL", 286 (function () { 287 var t, 288 e = document, 289 n = Hi(), 290 i = Oi(n), 291 a = e.createElement("div"), 292 r = e.createElement("div"), 293 o = ""; 294 (a.className = "tns-t-subp2"), (r.className = "tns-t-ct"); 295 for (var u = 0; u < 70; u++) o += "<div></div>"; 296 return (r.innerHTML = o), a.appendChild(r), n.appendChild(a), (t = Math.abs(a.getBoundingClientRect().left - r.children[
29667].getBoundingClientRect().left) < 2), n.fake ? Di(n, i) : a.remove(), t; 297 })(), 298 n 299 ), 300 D = e.tMQ 301 ? Bi(e.tMQ) 302 : Si( 303 e, 304 "tMQ", 305 (function () { 306 if (window.matchMedia || window.msMatchMedia) return !0; 307 var t, 308 e = document, 309 n = Hi(), 310 i = Oi(n), 311 a = e.createElement("div"), 312 r = e.createElement("style"), 313 o = "@media all and (min-width:1px){.tns-mq-test{position:absolute}}"; 314 return ( 315 (r.type = "text/css"), 316 (a.className = "tns-mq-test"), 317 n.appendChild(r), 318 n.appendChild(a), 319 r.styleSheet ? (r.styleSheet.cssText = o) : r.appendChild(e.createTextNode(o)), 320 (t = window.getComputedStyle ? window.getComputedStyle(a).position : a.currentStyle.position), 321 n.fake ? Di(n, i) : a.remove(), 322 "absolute" === t 323 ); 324 })(), 325 n 326 ), 327 r = e.tTf ? Bi(e.tTf) : Si(e, "tTf", Ki("transform"), n), 328 o = e.t3D 329 ? Bi(e.t3D) 330 : Si( 331 e, 332 "t3D", 333 (function (t) { 334 if (!t) return !1; 335 if (!window.getComputedStyle) return !1; 336 var e, 337 n = document, 338 i = Hi(), 339 a = Oi(i), 340 r = n.createElement("p"), 341 o = 9 < t.length ? "-" + t.slice(0, -9).toLowerCase() + "-" : ""; 342 return ( 343 (o += "transform"), 344 i.insertBefore(r, null), 345 (r.style[t] = "translate3d(1px,1px,1px)"), 346 (e = window.getComputedStyle(r).getPropertyValue(o)), 347 i.fake ? Di(i, a) : r.remove(), 348 void 0 !== e && 0 < e.length && "none" !== e 349 ); 350 })(r), 351 n 352 ), 353 x = e.tTDu ? Bi(e.tTDu) : Si(e, "tTDu", Ki("transitionDuration"), n), 354 u = e.tTDe ? Bi(e.tTDe) : Si(e, "tTDe", Ki("transitionDelay"), n), 355 b = e.tADu ? Bi(e.tADu) : Si(e, "tADu", Ki("animationDuration"), n), 356 l = e.tADe ? Bi(e.tADe) : Si(e, "tADe", Ki("animationDelay"), n), 357 s = e.tTE ? Bi(e.tTE) : Si(e, "tTE", Ji(x, "Transition"), n), 358 c = e.tAE ? Bi(e.tAE) : Si(e, "tAE", Ji(b, "Animation"), n), 359 f = m.console && "function" == typeof m.console.warn, 360 d = ["container", "controlsContainer", "prevButton", "nextButton", "navContainer", "autoplayButton"], 361 v = {}; 362 if ( 363 (d.forEach(function (t) { 364 if ("string" == typeof H[t]) { 365 var e = H[t],
366 n = O.querySelector(e); 367 if (((v[t] = e), !n || !n.nodeName)) return void (f && console.warn("Can't find", H[t])); 368 H[t] = n; 369 } 370 }), 371 !(H.container.children.length < 1)) 372 ) { 373 var k = H.responsive, 374 R = H.nested, 375 I = "carousel" === H.mode; 376 if (k) { 377 0 in k && ((H = Li(H, k[0])), delete k[0]); 378 var p = {}; 379 for (var h in k) { 380 var w = k[h]; 381 (w = "number" == typeof w ? { items: w } : w), (p[h] = w); 382 } 383 (k = p), (p = null); 384 } 385 if ( 386 (I || 387 (function t(e) { 388 for (var n in e) I || ("slideBy" === n && (e[n] = "page"), "edgePadding" === n && (e[n] = !1), "autoHeight" === n && (e[n] = !1)), "responsive" === n && t(e[n]); 389 })(H), 390 !I) 391 ) { 392 (H.axis = "horizontal"), (H.slideBy = "page"), (H.edgePadding = !1); 393 var P = H.animateIn, 394 z = H.animateOut, 395 C = H.animateDelay, 396 W = H.animateNormal; 397 } 398 var M, 399 q, 400 F = "horizontal" === H.axis, 401 T = O.createElement("div"), 402 j = O.createElement("div"), 403 V = H.container, 404 E = V.parentNode, 405 A = V.outerHTML, 406 G = V.children, 407 Q = G.length, 408 X = rn(), 409 Y = !1; 410 k && En(), I && (V.className += " tns-vpfix"); 411 var N, 412 L, 413 B, 414 S, 415 K, 416 J, 417 U, 418 _, 419 Z, 420 $ = H.autoWidth, 421 tt = sn("fixedWidth"), 422 et = sn("edgePadding"), 423 nt = sn("gutter"), 424 it = un(), 425 at = sn("center"), 426 rt = $ ? 1 : Math.floor(sn("items")), 427 ot = sn("slideBy"), 428 ut = H.viewportMax || H.fixedWidthViewportWidth, 429 lt = sn("arrowKeys"), 430 st = sn("speed"), 431 ct = H.rewind, 432 ft = !ct && H.loop, 433 dt = sn("autoHeight"), 434 vt = sn("controls"), 435 pt = sn("controlsText"), 436 ht = sn("nav"), 437 mt = sn("touch"), 438 yt = sn("mouseDrag"), 439 gt = sn("autoplay"), 440 xt = sn("autoplayTimeout"), 441 bt = sn("autoplayText"), 442 wt = sn("autoplayHoverPause"), 443 Ct = sn("autoplayResetOnVisibility"), 444 Mt = ((U = null), (_ = sn("nonce")), (Z = document.createElement("style")), U && Z.setAttribute("media", U), _ && Z.setAttribute("nonce", _), document.querySelector("head").appendChild(Z), Z.sheet ? Z.sheet : Z.styleSheet), 445 Tt = H.lazyload, 446 Et = H.lazyloadSelector, 447 At = [], 448 Nt = ft 449 ? ((K = (function () { 450 { 451 if ($ || (tt && !ut)) return Q - 1; 452 var t = tt ? "fixedWidth" : "items", 453 e = []; 454 if (((tt || H[t] < Q) && e.push(H[t]), k)) 455 for (var n in k) { 456 var i = k[n][t]; 457 i && (tt || i < Q) && e.push(i); 458 } 459 return e.length || e.push(0), Math.ceil(tt ? ut / Math.min.apply(null, e) : Math.max.apply(null, e)); 460 } 461 })()), 462 (J = I ? Math.ceil((5 * K - Q) / 2) : 4 * K - Q), 463 (J = Math.max(K, J)), 464 ln("edgePadding") ? J + 1 : J) 465 : 0, 466 Lt = I ? Q + 2 * Nt : Q + Nt, 467 Bt = !((!tt && !$) || ft), 468 St = tt ? _n() : null, 469 Ht = !I || !ft, 470 Ot = F ? "left" : "top", 471 Dt = "", 472 kt = "", 473 Rt = tt 474 ? function () { 475 return at && !ft ? Q - 1 : Math.ceil(-St / (tt + nt)); 476 } 477 : $ 478 ? function () { 479 for (var t = 0; t < Lt; t++) if (N[t] >= -St) return t; 480 } 481 : function () { 482 return at && I && !ft ? Q - 1 : ft || I ? Math.max(0, Lt - Math.
482ceil(rt)) : Lt - 1; 483 }, 484 It = en(sn("startIndex")), 485 Pt = It, 486 zt = (tn(), 0), 487 Wt = $ ? null : Rt(), 488 qt = H.preventActionWhenRunning, 489 Ft = H.swipeAngle, 490 jt = !Ft || "?", 491 Vt = !1, 492 Gt = H.onInit, 493 Qt = new Zi(), 494 Xt = " tns-slider tns-" + H.mode, 495 Yt = V.id || ((S = window.tnsId), (window.tnsId = S ? S + 1 : 1), "tns" + window.tnsId), 496 Kt = sn("disable"), 497 Jt = !1, 498 Ut = H.freezable, 499 _t = !(!Ut || $) && Tn(), 500 Zt = !1, 501 $t = { 502 click: oi, 503 keydown: function (t) { 504 t = pi(t); 505 var e = [a.LEFT, a.RIGHT].indexOf(t.keyCode); 506 0 <= e && (0 === e ? we.disabled || oi(t, -1) : Ce.disabled || oi(t, 1)); 507 }, 508 }, 509 te = { 510 click: function (t) { 511 if (Vt) { 512 if (qt) return; 513 ai(); 514 } 515 var e = hi((t = pi(t))); 516 for (; e !== Ae && !qi(e, "data-nav"); ) e = e.parentNode; 517 if (qi(e, "data-nav")) { 518 var n = (Se = Number(Fi(e, "data-nav"))), 519 i = tt || $ ? (n * Q) / Le : n * rt, 520 a = le ? n : Math.min(Math.ceil(i), Q - 1); 521 ri(a, t), He === n && (Pe && fi(), (Se = -1)); 522 } 523 }, 524 keydown: function (t) { 525 t = pi(t); 526 var e = O.activeElement; 527 if (!qi(e, "data-nav")) return; 528 var n = [a.LEFT, a.RIGHT, a.ENTER, a.SPACE].indexOf(t.keyCode), 529 i = Number(Fi(e, "data-nav")); 530 0 <= n && (0 === n ? 0 < i && vi(Ee[i - 1]) : 1 === n ? i < Le - 1 && vi(Ee[i + 1]) : ri((Se = i), t)); 531 }, 532 }, 533 ee = { 534 mouseover: function () { 535 Pe && (li(), (ze = !0)); 536 }, 537 mouseout: function () { 538 ze && (ui(), (ze = !1)); 539 }, 540 }, 541 ne = { 542 visibilitychange: function () { 543 O.hidden ? Pe && (li(), (qe = !0)) : qe && (ui(), (qe = !1)); 544 }, 545 }, 546 ie = { 547 keydown: function (t) { 548 t = pi(t); 549 var e = [a.LEFT, a.RIGHT].indexOf(t.keyCode); 550 0 <= e && oi(t, 0 === e ? -1 : 1); 551 }, 552 }, 553 ae = { touchstart: xi, touchmove: bi, touchend: wi, touchcancel: wi }, 554 re = { mousedown: xi, mousemove: bi, mouseup: wi, mouseleave: wi }, 555 oe = ln("controls"), 556 ue = ln("nav"), 557 le = !!$ || H.navAsThumbnails, 558 se = ln("autoplay"), 559 ce = ln("touch"), 560 fe = ln("mouseDrag"), 561 de = "tns-slide-active", 562 ve = "tns-slide-cloned", 563 pe = "tns-complete", 564 he = { 565 load: function (t) { 566 kn(hi(t)); 567 }, 568 error: function (t) { 569 (e = hi(t)), zi(e, "failed"), Rn(e); 570 var e; 571 }, 572 }, 573 me = "force" === H.preventScrollOnTouch; 574 if (oe) 575 var ye, 576 ge, 577 xe = H.controlsContainer, 578 be = H.controlsContainer ? H.controlsContainer.outerHTML : "", 579 we = H.prevButton, 580 Ce = H.nextButton, 581 Me = H.prevButton ? H.prevButton.outerHTML : "", 582 Te = H.nextButton ? H.nextButton.outerHTML : ""; 583 if (ue) 584 var Ee, 585 Ae = H.navContainer, 586 Ne = H.navContainer ? H.navContainer.outerHTML : "", 587 Le = $ ? Q : Mi(), 588 Be = 0, 589 Se = -1, 590 He = an(), 591 Oe = He, 592 De = "tns-nav-active", 593 ke = "Carousel Page ", 594 Re = " (Current Slide)"; 595 if (se) 596 var Ie, 597 Pe, 598 ze, 599 We, 600 qe, 601 Fe = "forward" === H.autoplayDirection ? 1 : -1, 602 je = H.autoplayButton, 603 Ve = H.autoplayButton ? H.autoplayButton.outerHTML : "", 604 Ge = ["<span class='tns-visually-hidden'>", " animation</span>"]; 605 if (ce || fe) 606 var Qe, 607 Xe, 608 Ye = {}, 609 Ke = {}, 610 Je = !1, 611 Ue = F 612 ? function (t, e) { 613 return t.x - e.x; 614 } 615 : function (t, e) { 616 return t.y - e.y; 617 }; 618 $ || $e(Kt || _t), 619 r && ((Ot = r), (Dt = "translate"), o ? ((Dt += F ? "3d(" : "3d(0px, "), (kt = F ? ", 0px, 0px)" : ", 0px)")) : ((Dt += F ? "X(" : "Y("), (kt = ")"))), 620 I && (V.className = V.className.replace("tns-vpfix", "")), 621 (function () { 622 ln("gutter"); 623 (T.className = "tns-outer"), (j.className = "tns-inner"), (T.id = Yt + "-ow"), (j.id = Yt + "-iw"), "" === V.id && (V.id = Yt); 624 (Xt += g || $ ? " tns-subpixel" : " tns-no-subpixel"), (Xt += y ? " tns-calc" : " tns-no-calc"), $ && (Xt += " tns-autowidth"); 625 (Xt += " tns-" + H.axis), (V.className += Xt), I ? (((M = O.createElement("div")).id = Yt + "-mw"), (M.className = "tns-ovh"), T.appendChild(M), M.appendChild(j)) : T.appendChild(j); 626 if (dt) { 627 var t = M || j; 628 t.className += " tns-ah"; 629 } 630 if ( 631 (E.insertBefore(T, V), 632 j.appendChild(V), 633 Ii(G, function (t, e) { 634 zi(t, "tns-item"), t.id || (t.id = Yt + "-item" + e), !I && W && zi(t, W), ji(t, { "aria-hidden": "true", tabindex: "-1" }); 635 }), 636 Nt) 637 ) { 638 for (var e = O.createDocumentFragment(), n = O.createDocumentFragment(), i = Nt; i--; ) { 639 var a = i % Q, 640 r = G[a].cloneNode(!0); 641 if ((zi(r, ve), Vi(r, "id"), n.insertBefore(r, n.firstChild), I)) { 642 var o = G[Q - 1 - a].cloneNode(!0); 643 zi(o, ve), Vi(o, "id"), e.appendChild(o); 644 } 645 } 646 V.insertBefore(e, V.firstChild), V.appendChild(n), (G = V.children); 647 } 648 })(), 649 (function () { 650 if (!I) 651 for (var t = It, e = It + Math.min(Q, rt); t < e; t++) { 652 var n = G[t]; 653 (n.style.left = (100 * (t - It)) / rt + "%"), zi(n, P), Wi(n, W); 654 } 655 F && 656 (g || $ 657 ? (ki(Mt, "#" + Yt + " > .tns-item", "font-size:" + m.getComputedStyle(G[0]).fontSize + ";", Ri(Mt)), ki(Mt, "#" + Yt, "font-size:0;", Ri(Mt))) 658 : I && 659 Ii(G, function (t, e) { 660 var n; 661 t.style.marginLeft = ((n = e), y ? y + "(" + 100 * n + "% / " + Lt + ")" : (100 * n) / Lt + "%"); 662 })); 663 if (D) { 664 if (x) { 665 var i = M && H.autoHeight ? hn(H.speed) : ""; 666 ki(Mt, "#" + Yt + "-mw", i, Ri(Mt)); 667 } 668 (i = cn(H.edgePadding, H.gutter, H.fixedWidth, H.speed, H.autoHeight)), 669 ki(Mt, "#" + Yt + "-iw", i, Ri(Mt)),
670 I && ((i = F && !$ ? "width:" + fn(H.fixedWidth, H.gutter, H.items) + ";" : ""), x && (i += hn(st)), ki(Mt, "#" + Yt, i, Ri(Mt))), 671 (i = F && !$ ? dn(H.fixedWidth, H.gutter, H.items) : ""), 672 H.gutter && (i += vn(H.gutter)), 673 I || (x && (i += hn(st)), b && (i += mn(st))), 674 i && ki(Mt, "#" + Yt + " > .tns-item", i, Ri(Mt)); 675 } else { 676 I && dt && (M.style[x] = st / 1e3 + "s"), (j.style.cssText = cn(et, nt, tt, dt)), I && F && !$ && (V.style.width = fn(tt, nt, rt)); 677 var i = F && !$ ? dn(tt, nt, rt) : ""; 678 nt && (i += vn(nt)), i && ki(Mt, "#" + Yt + " > .tns-item", i, Ri(Mt)); 679 } 680 if (k && D) 681 for (var a in k) { 682 a = parseInt(a); 683 var r = k[a], 684 i = "", 685 o = "", 686 u = "", 687 l = "", 688 s = "", 689 c = $ ? null : sn("items", a), 690 f = sn("fixedWidth", a), 691 d = sn("speed", a), 692 v = sn("edgePadding", a), 693 p = sn("autoHeight", a), 694 h = sn("gutter", a); 695 x && M && sn("autoHeight", a) && "speed" in r && (o = "#" + Yt + "-mw{" + hn(d) + "}"),
696 ("edgePadding" in r || "gutter" in r) && (u = "#" + Yt + "-iw{" + cn(v, h, f, d, p) + "}"), 697 I && F && !$ && ("fixedWidth" in r || "items" in r || (tt && "gutter" in r)) && (l = "width:" + fn(f, h, c) + ";"), 698 x && "speed" in r && (l += hn(d)), 699 l && (l = "#" + Yt + "{" + l + "}"), 700 ("fixedWidth" in r || (tt && "gutter" in r) || (!I && "items" in r)) && (s += dn(f, h, c)), 701 "gutter" in r && (s += vn(h)), 702 !I && "speed" in r && (x && (s += hn(d)), b && (s += mn(d))), 703 s && (s = "#" + Yt + " > .tns-item{" + s + "}"), 704 (i = o + u + l + s) && Mt.insertRule("@media (min-width: " + a / 16 + "em) {" + i + "}", Mt.cssRules.length); 705 } 706 })(), 707 yn(); 708 var _e = ft 709 ? I 710 ? function () { 711 var t = zt, 712 e = Wt; 713 (t += ot), (e -= ot), et ? ((t += 1), (e -= 1)) : tt && (it + nt) % (tt + nt) && (e -= 1), Nt && (e < It ? (It -= Q) : It < t && (It += Q)); 714 } 715 : function () { 716 if (Wt < It) for (; zt + Q <= It; ) It -= Q; 717 else if (It < zt) for (; It <= Wt - Q; ) It += Q; 718 } 719 : function () { 720 It = Math.max(zt, Math.min(Wt, It)); 721 }, 722 Ze = I 723 ? function () { 724 var e, n, i, a, t, r, o, u, l, s, c; 725 Jn(V, ""), 726 x || !st 727 ? (ti(), (st && Yi(V)) || ai()) 728 : ((e = V), 729 (n = Ot), 730 (i = Dt), 731 (a = kt), 732 (t = Zn()), 733 (r = st), 734 (o = ai), 735 (u = Math.min(r, 10)), 736 (l = 0 <= t.indexOf("%") ? "%" : "px"), 737 (t = t.replace(l, "")), 738 (s = Number(e.style[n].replace(i, "").replace(a, "").replace(l, ""))), 739 (c = ((t - s) / r) * u), 740 setTimeout(function t() { 741 (r -= u), (s += c), (e.style[n] = i + s + l + a), 0 < r ? setTimeout(t, u) : o(); 742 }, u)), 743 F || Ci(); 744 } 745 : function () { 746 At = []; 747 var t = {}; 748 (t[s] = t[c] = ai), _i(G[Pt], t), Ui(G[It], t), ei(Pt, P, z, !0), ei(It, W, P), (s && c && st && Yi(V)) || ai(); 749 }; 750 return { 751 version: "2.9.4", 752 getInfo: Ei, 753 events: Qt, 754 goTo: ri, 755 play: function () { 756 gt && !Pe && (ci(), (We = !1)); 757 }, 758 pause: function () { 759 Pe && (fi(), (We = !0)); 760 }, 761 isOn: Y, 762 updateSliderHeight: Fn, 763 refresh: yn, 764 destroy: function () { 765 if ( 766 ((Mt.disabled = !0), 767 Mt.ownerNode && Mt.ownerNode.remove(), 768 _i(m, { resize: Cn }), 769 lt && _i(O, ie), 770 xe && _i(xe, $t), 771 Ae && _i(Ae, te), 772 _i(V, ee), 773 _i(V, ne), 774 je && _i(je, { click: di }), 775 gt && clearInterval(Ie), 776 I && s) 777 ) { 778 var t = {}; 779 (t[s] = ai), _i(V, t); 780 } 781 mt && _i(V, ae), yt && _i(V, re); 782 var r = [A, be, Me, Te, Ne, Ve];
783 for (var e in (d.forEach(function (t, e) { 784 var n = "container" === t ? T : H[t]; 785 if ("object" == typeof n && n) { 786 var i = !!n.previousElementSibling && n.previousElementSibling, 787 a = n.parentNode; 788 (n.outerHTML = r[e]), (H[t] = i ? i.nextElementSibling : a.firstElementChild); 789 } 790 }), 791 (d = P = z = C = W = F = T = j = V = E = A = G = Q = q = X = $ = tt = et = nt = it = rt = ot = ut = lt = st = ct = ft = dt = Mt = Tt = N = At = Nt = Lt = Bt = St = Ht = Ot = Dt = kt = Rt = It = Pt = zt = Wt = Ft = jt = Vt = Gt = Qt = Xt = Yt = Kt = Jt = Ut = _t = Zt = $t = te = ee = ne = ie = ae = re = oe = ue = le = se = ce = fe = de = pe = he = L = vt = pt = xe = be = we = Ce = ye = ge = ht = Ae = Ne = Ee = Le = Be = Se = He = Oe = De = ke = Re = gt = xt = Fe = bt = wt = je = Ve = Ct = Ge = Ie = Pe = ze = We = qe = Ye = Ke = Qe = Je = Xe = Ue = mt = yt = null), 792 this)) 793 "rebuild" !== e && (this[e] = null); 794 Y = !1; 795 }, 796 rebuild: function () { 797 return $i(Li(H, v)); 798 }, 799 }; 800 } 801 function $e(t) { 802 t && (vt = ht = mt = yt = lt = gt = wt = Ct = !1); 803 } 804 function tn() { 805 for (var t = I ? It - Nt : It; t < 0; ) t += Q; 806 return (t % Q) + 1; 807 } 808 function en(t) { 809 return (t = t ? Math.max(0, Math.min(ft ? Q - 1 : Q - rt, t)) : 0), I ? t + Nt : t; 810 } 811 function nn(t) { 812 for (null == t && (t = It), I && (t -= Nt); t < 0; ) t += Q; 813 return Math.floor(t % Q); 814 } 815 function an() { 816 var t, 817 e = nn(); 818 return (t = le ? e : tt || $ ? Math.ceil(((e + 1) * Le) / Q - 1) : Math.floor(e / rt)), !ft && I && It === Wt && (t = Le - 1), t; 819 } 820 function rn() { 821 return m.innerWidth || O.documentElement.clientWidth || O.body.clientWidth; 822 } 823 function on(t) { 824 return "top" === t ? "afterbegin" : "beforeend"; 825 } 826 function un() { 827 var t = et ? 2 * et - nt : 0; 828 return ( 829 (function t(e) { 830 if (null != e) { 831 var n, 832 i, 833 a = O.createElement("div"); 834 return e.appendChild(a), (i = (n = a.getBoundingClientRect()).right - n.left), a.remove(), i || t(e.parentNode); 835 } 836 })(E) - t 837 ); 838 } 839 function ln(t) { 840 if (H[t]) return !0; 841 if (k) for (var e in k) if (k[e][t]) return !0; 842 return !1; 843 } 844 function sn(t, e) { 845 if ((null == e && (e = X), "items" === t && tt)) return Math.floor((it + nt) / (tt + nt)) || 1; 846 var n = H[t]; 847 if (k) for (var i in k) e >= parseInt(i) && t in k[i] && (n = k[i][t]); 848 return "slideBy" === t && "page" === n && (n = sn("items")), I || ("slideBy" !== t && "items" !== t) || (n = Math.floor(n)), n; 849 } 850 function cn(t, e, n, i, a) { 851 var r = ""; 852 if (void 0 !== t) { 853 var o = t; 854 e && (o -= e), (r = F ? "margin: 0 " + o + "px 0 " + t + "px;" : "margin: " + t + "px 0 " + o + "px 0;"); 855 } else if (e && !n) { 856 var u = "-" + e + "px"; 857 r = "margin: 0 " + (F ? u + " 0 0" : "0 " + u + " 0") + ";"; 858 } 859 return !I && a && x && i && (r += hn(i)), r; 860 } 861 function fn(t, e, n) { 862 return t ? (t + e) * Lt + "px" : y ? y + "(" + 100 * Lt + "% / " + n + ")" : (100 * Lt) / n + "%"; 863 } 864 function dn(t, e, n) { 865 var i; 866 if (t) i = t + e + "px"; 867 else { 868 I || (n = Math.floor(n)); 869 var a = I ? Lt : n; 870 i = y ? y + "(100% / " + a + ")" : 100 / a + "%"; 871 }
872 return (i = "width:" + i), "inner" !== R ? i + ";" : i + " !important;"; 873 } 874 function vn(t) { 875 var e = ""; 876 !1 !== t && (e = (F ? "padding-" : "margin-") + (F ? "right" : "bottom") + ": " + t + "px;"); 877 return e; 878 } 879 function pn(t, e) { 880 var n = t.substring(0, t.length - e).toLowerCase(); 881 return n && (n = "-" + n + "-"), n; 882 } 883 function hn(t) { 884 return pn(x, 18) + "transition-duration:" + t / 1e3 + "s;"; 885 } 886 function mn(t) { 887 return pn(b, 17) + "animation-duration:" + t / 1e3 + "s;"; 888 } 889 function yn() { 890 if (ln("autoHeight") || $ || !F) { 891 var t = V.querySelectorAll("img"); 892 Ii(t, function (t) { 893 var e = t.src; 894 Tt || (e && e.indexOf("data:image") < 0 ? ((t.src = ""), Ui(t, he), zi(t, "loading"), (t.src = e)) : kn(t)); 895 }), 896 Ai(function () { 897 zn(Gi(t), function () { 898 L = !0; 899 }); 900 }), 901 ln("autoHeight") && (t = In(It, Math.min(It + rt - 1, Lt - 1))), 902 Tt 903 ? gn() 904 : Ai(function () { 905 zn(Gi(t), gn); 906 }); 907 } else I && $n(), bn(), wn(); 908 } 909 function gn() { 910 if ($ && 1 < Q) { 911 var i = ft ? It : Q - 1; 912 !(function t() { 913 var e = G[i].getBoundingClientRect().left, 914 n = G[i - 1].getBoundingClientRect().right; 915 Math.abs(e - n) <= 1 916 ? xn() 917 : setTimeout(function () { 918 t(); 919 }, 16); 920 })(); 921 } else xn(); 922 } 923 function xn() { 924 (F && !$) || (jn(), $ ? ((St = _n()), Ut && (_t = Tn()), (Wt = Rt()), $e(Kt || _t)) : Ci()), I && $n(), bn(), wn(); 925 } 926 function bn() { 927 if ( 928 (Vn(), 929 T.insertAdjacentHTML("afterbegin", '<div class="tns-liveregion tns-visually-hidden" aria-live="polite" aria-atomic="true">slide <span class="current">' + Hn() + "</span> of " + Q + "</div>"), 930 (B = T.querySelector(".tns-liveregion .current")), 931 se) 932 ) { 933 var t = gt ? "stop" : "start"; 934 je 935 ? ji(je, { "data-action": t }) 936 : H.autoplayButtonOutput && (T.insertAdjacentHTML(on(H.autoplayPosition), '<button type="button" data-action="' + t + '">' + Ge[0] + t + Ge[1] + bt[0] + "</button>"), (je = T.querySelector("[data-action]"))), 937 je && Ui(je, { click: di }), 938 gt && (ci(), wt && Ui(V, ee), Ct && Ui(V, ne)); 939 } 940 if (ue) { 941 if (Ae) 942 ji(Ae, { "aria-label": "Carousel Pagination" }), 943 Ii((Ee = Ae.children), function (t, e) { 944 ji(t, { "data-nav": e, tabindex: "-1", "aria-label": ke + (e + 1), "aria-controls": Yt }); 945 }); 946 else { 947 for (var e = "", n = le ? "" : 'style="display:none"', i = 0; i < Q; i++) e += '<button type="button" data-nav="' + i + '" tabindex="-1" aria-controls="' + Yt + '" ' + n + ' aria-label="' + ke + (i + 1) + '"></button>'; 948 (e = '<div class="tns-nav" aria-label="Carousel Pagination">' + e + "</div>"), T.insertAdjacentHTML(on(H.navPosition), e), (Ae = T.querySelector(".tns-nav")), (Ee = Ae.children); 949 } 950 if ((Ti(), x)) { 951 var a = x.substring(0, x.length - 18).toLowerCase(), 952 r = "transition: all " + st / 1e3 + "s"; 953 a && (r = "-" + a + "-" + r), ki(Mt, "[aria-controls^=" + Yt + "-item]", r, Ri(Mt)); 954 } 955 ji(Ee[He], { "aria-label": ke + (He + 1) + Re }), Vi(Ee[He], "tabindex"), zi(Ee[He], De), Ui(Ae, te); 956 } 957 oe && 958 (xe || 959 (we && Ce) || 960 (T.insertAdjacentHTML( 961 on(H.controlsPosition), 962 '<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button type="button" data-controls="prev" tabindex="-1" aria-controls="' + 963 Yt + 964 '">' + 965 pt[0] + 966 '</button><button type="button" data-controls="next" tabindex="-1" aria-controls="' + 967 Yt + 968 '">' + 969 pt[1] + 970 "</button></div>" 971 ), 972 (xe = T.querySelector(".tns-controls"))), 973 (we && Ce) || ((we = xe.children[0]), (Ce = xe.children[1])), 974 H.controlsContainer && ji(xe, { "aria-label": "Carousel Navigation", tabindex: "0" }), 975 (H.controlsContainer || (H.prevButton && H.nextButton)) && ji([we, Ce], { "aria-controls": Yt, tabindex: "-1" }), 976 (H.controlsContainer || (H.prevButton && H.nextButton)) && (ji(we, { "data-controls": "prev" }), ji(Ce, { "data-controls": "next" })), 977 (ye = Qn(we)), 978 (ge = Qn(Ce)), 979 Kn(), 980 xe ? Ui(xe, $t) : (Ui(we, $t), Ui(Ce, $t))), 981 An(); 982 } 983 function wn() { 984 if (I && s) { 985 var t = {}; 986 (t[s] = ai), Ui(V, t); 987 } 988 mt && Ui(V, ae, H.preventScrollOnTouch), 989 yt && Ui(V, re), 990 lt && Ui(O, ie), 991 "inner" === R 992 ? Qt.on("outerResized", function () { 993 Mn(), Qt.emit("innerLoaded", Ei()); 994 }) 995 : (k || tt || $ || dt || !F) && Ui(m, { resize: Cn }), 996 dt && ("outer" === R ? Qt.on("innerLoaded", Pn) : Kt || Pn()), 997 Dn(), 998 Kt ? Bn() : _t && Ln(), 999 Qt.on("indexChanged", Wn), 1000 "inner" === R && Qt.emit("innerLoaded", Ei()), 1001 "function" == typeof Gt && Gt(Ei()), 1002 (Y = !0); 1003 } 1004 function Cn(t) { 1005 Ai(function () { 1006 Mn(pi(t)); 1007 }); 1008 } 1009 function Mn(t) { 1010 if (Y) { 1011 "outer" === R && Qt.emit("outerResized", Ei(t)), (X = rn()); 1012 var e, 1013 n = q, 1014 i = !1; 1015 k && (En(), (e = n !== q) && Qt.emit("newBreakpointStart", Ei(t))); 1016 var a, 1017 r, 1018 o, 1019 u, 1020 l = rt, 1021 s = Kt, 1022 c = _t, 1023 f = lt, 1024 d = vt, 1025 v = ht, 1026 p = mt, 1027 h = yt, 1028 m = gt, 1029 y = wt, 1030 g = Ct, 1031 x = It; 1032 if (e) { 1033 var b = tt, 1034 w = dt, 1035 C = pt, 1036 M = at, 1037 T = bt; 1038 if (!D) 1039 var E = nt, 1040 A = et; 1041 } 1042 if ( 1043 ((lt = sn("arrowKeys")), 1044 (vt = sn("controls")), 1045 (ht = sn("nav")), 1046 (mt = sn("touch")), 1047 (at = sn("center")), 1048 (yt = sn("mouseDrag")), 1049 (gt = sn("autoplay")), 1050 (wt = sn("autoplayHoverPause")), 1051 (Ct = sn("autoplayResetOnVisibility")), 1052 e && 1053 ((Kt = sn("disable")), 1054 (tt = sn("fixedWidth")), 1055 (st = sn("speed")), 1056 (dt = sn("autoHeight")), 1057 (pt = sn("controlsText")), 1058 (bt = sn("autoplayText")), 1059 (xt = sn("autoplayTimeout")), 1060 D || ((et = sn("edgePadding")), (nt = sn("gutter")))), 1061 $e(Kt), 1062 (it = un()), 1063 (F && !$) || Kt || (jn(), F || (Ci(), (i = !0))), 1064 (tt || $) && ((St = _n()), (Wt = Rt())), 1065 (e || tt) && ((rt = sn("items")), (ot = sn("slideBy")), (r = rt !== l) && (tt || $ || (Wt = Rt()), _e())), 1066 e && 1067 Kt !== s && 1068 (Kt 1069 ? Bn() 1070 : (function () { 1071 if (!Jt) return; 1072 if (((Mt.disabled = !1), (V.className += Xt), $n(), ft)) for (var t = Nt; t--; ) I && Xi(G[t]), Xi(G[Lt - t - 1]); 1073 if (!I) 1074 for (var e = It, n = It + Q; e < n; e++) { 1075 var i = G[e], 1076 a = e < It + rt ? P : W; 1077 (i.style.left = (100 * (e - It)) / rt + "%"), zi(i, a); 1078 } 1079 Nn(), (Jt = !1); 1080 })()), 1081 Ut && 1082 (e || tt || $) && 1083 (_t = Tn()) !== c && 1084 (_t 1085 ? (ti(Zn(en(0))), Ln()) 1086 : (!(function () { 1087 if (!Zt) return; 1088 et && D && (j.style.margin = ""); 1089 if (Nt) for (var t = "tns-transparent", e = Nt; e--; ) I && Wi(G[e], t), Wi(G[Lt - e - 1], t); 1090 Nn(), (Zt = !1); 1091 })(), 1092 (i = !0))), 1093 $e(Kt || _t), 1094 gt || (wt = Ct = !1), 1095 lt !== f && (lt ? Ui(O, ie) : _i(O, ie)), 1096 vt !== d && (vt ? (xe ? Xi(xe) : (we && Xi(we), Ce && Xi(Ce))) : xe ? Qi(xe) : (we && Qi(we), Ce && Qi(Ce))), 1097 ht !== v && (ht ? (Xi(Ae), Ti()) : Qi(Ae)), 1098 mt !== p && (mt ? Ui(V, ae, H.preventScrollOnTouch) : _i(V, ae)), 1099 yt !== h && (yt ? Ui(V, re) : _i(V, re)), 1100 gt !== m && (gt ? (je && Xi(je), Pe || We || ci()) : (je && Qi(je), Pe && fi())), 1101 wt !== y && (wt ? Ui(V, ee) : _i(V, ee)), 1102 Ct !== g && (Ct ? Ui(O, ne) : _i(O, ne)), 1103 e) 1104 ) { 1105 if (((tt === b && at === M) || (i = !0), dt !== w && (dt || (j.style.height = "")), vt && pt !== C && ((we.innerHTML = pt[0]), (Ce.innerHTML = pt[1])), je && bt !== T)) { 1106 var N = gt ? 1 : 0, 1107 L = je.innerHTML, 1108 B = L.length - T[N].length; 1109 L.substring(B) === T[N] && (je.innerHTML = L.substring(0, B) + bt[N]); 1110 } 1111 } else at && (tt || $) && (i = !0); 1112 if ( 1113 ((r || (tt && !$)) && ((Le = Mi()), Ti()), 1114 (a = It !== x) ? (Qt.emit("indexChanged", Ei()), (i = !0)) : r ? a || Wn() : (tt || $) && (Dn(), Vn(), Sn()), 1115 r && 1116 !I && 1117 (function () { 1118 for (var t = It + Math.min(Q, rt), e = Lt; e--; ) { 1119 var n = G[e]; 1120 It <= e && e < t ? (zi(n, "tns-moving"), (n.style.left = (100 * (e - It)) / rt + "%"), zi(n, P), Wi(n, W)) : n.style.left && ((n.style.left = ""), zi(n, W), Wi(n, P)), Wi(n, z); 1121 } 1122 setTimeout(function () { 1123 Ii(G, function (t) { 1124 Wi(t, "tns-moving"); 1125 }); 1126 }, 300); 1127 })(), 1128 !Kt && !_t) 1129 ) { 1130 if (e && !D && ((et === A && nt === E) || (j.style.cssText = cn(et, nt, tt, st, dt)), F)) { 1131 I && (V.style.width = fn(tt, nt, rt)); 1132 var S = dn(tt, nt, rt) + vn(nt); 1133 (u = Ri((o = Mt)) - 1), "deleteRule" in o ? o.deleteRule(u) : o.removeRule(u), ki(Mt, "#" + Yt + " > .tns-item", S, Ri(Mt)); 1134 } 1135 dt && Pn(), i && ($n(), (Pt = It)); 1136 } 1137 e && Qt.emit("newBreakpointEnd", Ei(t)); 1138 } 1139 } 1140 function Tn() { 1141 if (!tt && !$) return Q <= (at ? rt - (rt - 1) / 2 : rt); 1142 var t = tt ? (tt + nt) * Q : N[Q], 1143 e = et ? it + 2 * et : it + nt; 1144 return at && (e -= tt ? (it - tt) / 2 : (it - (N[It + 1] - N[It] - nt)) / 2), t <= e; 1145 } 1146 function En() { 1147 for (var t in ((q = 0), k)) (t = parseInt(t)) <= X && (q = t); 1148 } 1149 function An() { 1150 !gt && je && Qi(je), !ht && Ae && Qi(Ae), vt || (xe ? Qi(xe) : (we && Qi(we), Ce && Qi(Ce))); 1151 } 1152 function Nn() { 1153 gt && je && Xi(je), ht && Ae && Xi(Ae), vt && (xe ? Xi(xe) : (we && Xi(we), Ce && Xi(Ce))); 1154 } 1155 function Ln() { 1156 if (!Zt) { 1157 if ((et && (j.style.margin = "0px"), Nt)) for (var t = "tns-transparent", e = Nt; e--; ) I && zi(G[e], t), zi(G[Lt - e - 1], t); 1158 An(), (Zt = !0); 1159 } 1160 } 1161 function Bn() { 1162 if (!Jt) { 1163 if (((Mt.disabled = !0), (V.className = V.className.replace(Xt.substring(1), "")), Vi(V, ["style"]), ft)) for (var t = Nt; t--; ) I && Qi(G[t]), Qi(G[Lt - t - 1]); 1164 if (((F && I) || Vi(j, ["style"]), !I)) 1165 for (var e = It, n = It + Q; e < n; e++) { 1166 var i = G[e]; 1167 Vi(i, ["style"]), Wi(i, P), Wi(i, W); 1168 } 1169 An(), (Jt = !0); 1170 } 1171 } 1172 function Sn() { 1173 var t = Hn(); 1174 B.innerHTML !== t && (B.innerHTML = t); 1175 } 1176 function Hn() { 1177 var t = On(), 1178 e = t[0] + 1, 1179 n = t[1] + 1; 1180 return e === n ? e + "" : e + " to " + n; 1181 } 1182 function On(t) { 1183 null == t && (t = Zn()); 1184 var n, 1185 i, 1186 a, 1187 r = It; 1188 if ((at || et ? ($ || tt) && ((i = -(parseFloat(t) + et)), (a = i + it + 2 * et)) : $ && ((i = N[It]), (a = i + it)), $))
1189 N.forEach(function (t, e) { 1190 e < Lt && ((at || et) && t <= i + 0.5 && (r = e), 0.5 <= a - t && (n = e)); 1191 }); 1192 else { 1193 if (tt) { 1194 var e = tt + nt; 1195 at || et ? ((r = Math.floor(i / e)), (n = Math.ceil(a / e - 1))) : (n = r + Math.ceil(it / e) - 1); 1196 } else if (at || et) { 1197 var o = rt - 1; 1198 if ((at ? ((r -= o / 2), (n = It + o / 2)) : (n = It + o), et)) { 1199 var u = (et * rt) / it; 1200 (r -= u), (n += u); 1201 } 1202 (r = Math.floor(r)), (n = Math.ceil(n)); 1203 } else n = r + rt - 1; 1204 (r = Math.max(r, 0)), (n = Math.min(n, Lt - 1)); 1205 } 1206 return [r, n]; 1207 } 1208 function Dn() { 1209 if (Tt && !Kt) { 1210 var t = On(); 1211 t.push(Et), 1212 In.apply(null, t).forEach(function (t) { 1213 if (!Pi(t, pe)) { 1214 var e = {}; 1215 (e[s] = function (t) { 1216 t.stopPropagation(); 1217 }), 1218 Ui(t, e), 1219 Ui(t, he), 1220 (t.src = Fi(t, "data-src")); 1221 var n = Fi(t, "data-srcset"); 1222 n && (t.srcset = n), zi(t, "loading"); 1223 } 1224 }); 1225 } 1226 } 1227 function kn(t) { 1228 zi(t, "loaded"), Rn(t); 1229 } 1230 function Rn(t) { 1231 zi(t, pe), Wi(t, "loading"), _i(t, he); 1232 } 1233 function In(t, e, n) { 1234 var i = []; 1235 for (n || (n = "img"); t <= e; ) 1236 Ii(G[t].querySelectorAll(n), function (t) { 1237 i.push(t); 1238 }), 1239 t++; 1240 return i; 1241 } 1242 function Pn() { 1243 var t = In.apply(null, On()); 1244 Ai(function () { 1245 zn(t, Fn); 1246 }); 1247 } 1248 function zn(n, t) { 1249 return L 1250 ? t() 1251 : (n.forEach(function (t, e) { 1252 !Tt && t.complete && Rn(t), Pi(t, pe) && n.splice(e, 1); 1253 }), 1254 n.length 1255 ? void Ai(function () { 1256 zn(n, t); 1257 }) 1258 : t()); 1259 } 1260 function Wn() { 1261 Dn(), 1262 Vn(), 1263 Sn(), 1264 Kn(), 1265 (function () { 1266 if (ht && ((He = 0 <= Se ? Se : an()), (Se = -1), He !== Oe)) { 1267 var t = Ee[Oe], 1268 e = Ee[He]; 1269 ji(t, { tabindex: "-1", "aria-label": ke + (Oe + 1) }), Wi(t, De), ji(e, { "aria-label": ke + (He + 1) + Re }), Vi(e, "tabindex"), zi(e, De), (Oe = He); 1270 } 1271 })(); 1272 } 1273 function qn(t, e) { 1274 for (var n = [], i = t, a = Math.min(t + e, Lt); i < a; i++) n.push(G[i].offsetHeight); 1275 return Math.max.apply(null, n); 1276 } 1277 function Fn() { 1278 var t = dt ? qn(It, rt) : qn(Nt, Q), 1279 e = M || j; 1280 e.style.height !== t && (e.style.height = t + "px"); 1281 } 1282 function jn() { 1283 N = [0]; 1284 var n = F ? "left" : "top", 1285 i = F ? "right" : "bottom", 1286 a = G[0].getBoundingClientRect()[n]; 1287 Ii(G, function (t, e) { 1288 e && N.push(t.getBoundingClientRect()[n] - a), e === Lt - 1 && N.push(t.getBoundingClientRect()[i] - a); 1289 }); 1290 } 1291 function Vn() { 1292 var t = On(), 1293 n = t[0], 1294 i = t[1]; 1295 Ii(G, function (t, e) { 1296 n <= e && e <= i ? qi(t, "aria-hidden") && (Vi(t, ["aria-hidden", "tabindex"]), zi(t, de)) : qi(t, "aria-hidden") || (ji(t, { "aria-hidden": "true", tabindex: "-1" }), Wi(t, de)); 1297 }); 1298 } 1299 function Gn(t) { 1300 return t.nodeName.toLowerCase(); 1301 } 1302 function Qn(t) { 1303 return "button" === Gn(t); 1304 } 1305 function Xn(t) { 1306 return "true" === t.getAttribute("aria-disabled"); 1307 } 1308 function Yn(t, e, n) { 1309 t ? (e.disabled = n) : e.setAttribute("aria-disabled", n.toString()); 1310 } 1311 function Kn() { 1312 if (vt && !ct && !ft) { 1313 var t = ye ? we.disabled : Xn(we), 1314 e = ge ? Ce.disabled : Xn(Ce), 1315 n = It <= zt, 1316 i = !ct && Wt <= It; 1317 n && !t && Yn(ye, we, !0), !n && t && Yn(ye, we, !1), i && !e && Yn(ge, Ce, !0), !i && e && Yn(ge, Ce, !1); 1318 } 1319 } 1320 function Jn(t, e) { 1321 x && (t.style[x] = e); 1322 } 1323 function Un(t) { 1324 return null == t && (t = It), $ ? (it - (et ? nt : 0)
1324- (N[t + 1] - N[t] - nt)) / 2 : tt ? (it - tt) / 2 : (rt - 1) / 2; 1325 } 1326 function _n() { 1327 var t = it + (et ? nt : 0) - (tt ? (tt + nt) * Lt : N[Lt]); 1328 return at && !ft && (t = tt ? -(tt + nt) * (Lt - 1) - Un() : Un(Lt - 1) - N[Lt - 1]), 0 < t && (t = 0), t; 1329 } 1330 function Zn(t) { 1331 var e; 1332 if ((null == t && (t = It), F && !$)) 1333 if (tt) (e = -(tt + nt) * t), at && (e += Un()); 1334 else { 1335 var n = r ? Lt : rt; 1336 at && (t -= Un()), (e = (100 * -t) / n); 1337 } 1338 else (e = -N[t]), at && $ && (e += Un()); 1339 return Bt && (e = Math.max(e, St)), (e += !F || $ || tt ? "px" : "%"); 1340 } 1341 function $n(t) { 1342 Jn(V, "0s"), ti(t); 1343 } 1344 function ti(t) { 1345 null == t && (t = Zn()), (V.style[Ot] = Dt + t + kt); 1346 } 1347 function ei(t, e, n, i) { 1348 var a = t + rt; 1349 ft || (a = Math.min(a, Lt)); 1350 for (var r = t; r < a; r++) { 1351 var o = G[r]; 1352 i || (o.style.left = (100 * (r - It)) / rt + "%"), C && u && (o.style[u] = o.style[l] = (C * (r - t)) / 1e3 + "s"), Wi(o, e), zi(o, n), i && At.push(o); 1353 } 1354 } 1355 function ni(t, e) { 1356 Ht && _e(), (It !== Pt || e) && (Qt.emit("indexChanged", Ei()), Qt.emit("transitionStart", Ei()), dt && Pn(), Pe && t && 0 <= ["click", "keydown"].indexOf(t.type) && fi(), (Vt = !0), Ze()); 1357 } 1358 function ii(t) { 1359 return t.toLowerCase().replace(/-/g, ""); 1360 } 1361 function ai(t) { 1362 if (I || Vt) { 1363 if ((Qt.emit("transitionEnd", Ei(t)), !I && 0 < At.length)) 1364 for (var e = 0; e < At.length; e++) { 1365 var n = At[e]; 1366 (n.style.left = ""), l && u && ((n.style[l] = ""), (n.style[u] = "")), Wi(n, z), zi(n, W); 1367 } 1368 if (!t || (!I && t.target.parentNode === V) || (t.target === V && ii(t.propertyName) === ii(Ot))) { 1369 if (!Ht) { 1370 var i = It; 1371 _e(), It !== i && (Qt.emit("indexChanged", Ei()), $n()); 1372 } 1373 "inner" === R && Qt.emit("innerLoaded", Ei()), (Vt = !1), (Pt = It); 1374 } 1375 } 1376 } 1377 function ri(t, e) { 1378 if (!_t) 1379 if ("prev" === t) oi(e, -1); 1380 else if ("next" === t) oi(e, 1); 1381 else { 1382 if (Vt) { 1383 if (qt) return; 1384 ai(); 1385 } 1386 var n = nn(), 1387 i = 0; 1388 if ( 1389 ("first" === t ? (i = -n) : "last" === t ? (i = I ? Q - rt - n : Q - 1 - n) : ("number" != typeof t && (t = parseInt(t)), isNaN(t) || (e || (t = Math.max(0, Math.min(Q - 1, t))), (i = t - n))), 1390 !I && i && Math.abs(i) < rt) 1391 ) { 1392 var a = 0 < i ? 1 : -1; 1393 i += zt <= It + i - Q ? Q * a : 2 * Q * a * -1; 1394 } 1395 (It += i), I && ft && (It < zt && (It += Q), Wt < It && (It -= Q)), nn(It) !== nn(Pt) && ni(e); 1396 } 1397 } 1398 function oi(t, e) { 1399 if (Vt) { 1400 if (qt) return; 1401 ai(); 1402 } 1403 var n; 1404 if (!e) { 1405 for (var i = hi((t = pi(t))); i !== xe && [we, Ce].indexOf(i) < 0; ) i = i.parentNode; 1406 var a = [we, Ce].indexOf(i); 1407 0 <= a && ((n = !0), (e = 0 === a ? -1 : 1)); 1408 } 1409 if (ct) { 1410 if (It === zt && -1 === e) return void ri("last", t); 1411 if (It === Wt && 1 === e) return void ri("first", t); 1412 } 1413 e && ((It += ot * e), $ && (It = Math.floor(It)), ni(n || (t && "keydown" === t.type) ? t : null)); 1414 } 1415 function ui() { 1416 (Ie = setInterval(function () { 1417 oi(null, Fe); 1418 }, xt)), 1419 (Pe = !0); 1420 } 1421 function li() { 1422 clearInterval(Ie), (Pe = !1); 1423 } 1424 function si(t, e) { 1425 ji(je, { "data-action": t }), (je.innerHTML = Ge[0] + t + Ge[1] + e); 1426 } 1427 function ci() { 1428 ui(), je && si("stop", bt[1]); 1429 } 1430 function fi() { 1431 li(), je && si("start", bt[0]); 1432 } 1433 function di() { 1434 Pe ? (fi(), (We = !0)) : (ci(), (We = !1)); 1435 } 1436 function vi(t) { 1437 t.focus(); 1438 } 1439 function pi(t) { 1440 return mi((t = t || m.event)) ? t.changedTouches[0] : t; 1441 } 1442 function hi(t) { 1443 return t.target || m.event.srcElement; 1444 } 1445 function mi(t) { 1446 return 0 <= t.type.indexOf("touch"); 1447 } 1448 function yi(t) { 1449 t.preventDefault ? t.preventDefault() : (t.returnValue = !1); 1450 } 1451 function gi() { 1452 return (a = Ke.y - Ye.y), (r = Ke.x - Ye.x), (t = Math.atan2(a, r) * (180 / Math.PI)), (e = Ft), (n = !1), (i = Math.abs(90 - Math.abs(t))), 90 - e <= i ? (n = "horizontal") : i <= e && (n = "vertical"), n === H.axis; 1453 var t, e, n, i, a, r; 1454 } 1455 function xi(t) { 1456 if (Vt) { 1457 if (qt) return; 1458 ai(); 1459 } 1460 gt && Pe && li(), (Je = !0), Xe && (Ni(Xe), (Xe = null)); 1461 var e = pi(t); 1462 Qt.emit(mi(t) ? "touchStart" : "dragStart", Ei(t)), 1463 !mi(t) && 0 <= ["img", "a"].indexOf(Gn(hi(t))) && yi(t), 1464 (Ke.x = Ye.x = e.clientX), 1465 (Ke.y = Ye.y = e.clientY), 1466 I && ((Qe = parseFloat(V.style[Ot].replace(Dt, ""))), Jn(V, "0s")); 1467 } 1468 function bi(t) { 1469 if (Je) { 1470 var e = pi(t); 1471 (Ke.x = e.clientX), 1472 (Ke.y = e.clientY), 1473 I 1474 ? Xe || 1475 (Xe = Ai(function () { 1476 !(function t(e) { 1477 if (!jt) return void (Je = !1); 1478 Ni(Xe); 1479 Je && 1480 (Xe = Ai(function () { 1481 t(e); 1482 })); 1483 "?" === jt && (jt = gi()); 1484 if (jt) { 1485 !me && mi(e) && (me = !0); 1486 try { 1487 e.type && Qt.emit(mi(e) ? "touchMove" : "dragMove", Ei(e)); 1488 } catch (t) {} 1489 var n = Qe, 1490 i = Ue(Ke, Ye); 1491 if (!F || tt || $) (n += i), (n += "px"); 1492 else { 1493 var a = r ? (i * rt * 100) / ((it + nt) * Lt) : (100 * i) / (it
1493+ nt); 1494 (n += a), (n += "%"); 1495 } 1496 V.style[Ot] = Dt + n + kt; 1497 } 1498 })(t); 1499 })) 1500 : ("?" === jt && (jt = gi()), jt && (me = !0)), 1501 ("boolean" != typeof t.cancelable || t.cancelable) && me && t.preventDefault(); 1502 } 1503 } 1504 function wi(i) { 1505 if (Je) { 1506 Xe && (Ni(Xe), (Xe = null)), I && Jn(V, ""), (Je = !1); 1507 var t = pi(i); 1508 (Ke.x = t.clientX), (Ke.y = t.clientY); 1509 var a = Ue(Ke, Ye); 1510 if (Math.abs(a)) { 1511 if (!mi(i)) { 1512 var n = hi(i); 1513 Ui(n, { 1514 click: function t(e) { 1515 yi(e), _i(n, { click: t }); 1516 }, 1517 }); 1518 } 1519 I 1520 ? (Xe = Ai(function () { 1521 if (F && !$) { 1522 var t = (-a * rt) / (it + nt); 1523 (t = 0 < a ? Math.floor(t) : Math.ceil(t)), (It += t); 1524 } else { 1525 var e = -(Qe + a); 1526 if (e <= 0) It = zt; 1527 else if (e >= N[Lt - 1]) It = Wt; 1528 else for (var n = 0; n < Lt && e >= N[n]; ) e > N[(It = n)] && a < 0 && (It += 1), n++; 1529 } 1530 ni(i, a), Qt.emit(mi(i) ? "touchEnd" : "dragEnd", Ei(i)); 1531 })) 1532 : jt && oi(i, 0 < a ? -1 : 1); 1533 } 1534 } 1535 "auto" === H.preventScrollOnTouch && (me = !1), Ft && (jt = "?"), gt && !Pe && ui(); 1536 } 1537 function Ci() { 1538 (M || j).style.height = N[It + rt] - N[It] + "px"; 1539 } 1540 function Mi() { 1541 var t = tt ? ((tt + nt) * Q) / it : Q / rt; 1542 return Math.min(Math.ceil(t), Q); 1543 } 1544 function Ti() { 1545 if (ht && !le && Le !== Be) { 1546 var t = Be, 1547 e = Le, 1548 n = Xi; 1549 for (Le < Be && ((t = Le), (e = Be), (n = Qi)); t < e; ) n(Ee[t]), t++; 1550 Be = Le; 1551 } 1552 } 1553 function Ei(t) { 1554 return { 1555 container: V, 1556 slideItems: G, 1557 navContainer: Ae, 1558 navItems: Ee, 1559 controlsContainer: xe, 1560 hasControls: oe, 1561 prevButton: we, 1562 nextButton: Ce, 1563 items: rt, 1564 slideBy: ot, 1565 cloneCount: Nt, 1566 slideCount: Q, 1567 slideCountNew: Lt, 1568 index: It, 1569 indexCached: Pt, 1570 displayIndex: tn(), 1571 navCurrentIndex: He, 1572 navCurrentIndexCached: Oe, 1573 pages: Le, 1574 pagesCached: Be, 1575 sheet: Mt, 1576 isOn: Y, 1577 event: t || {}, 1578 }; 1579 } 1580 f && console.warn("No slides found in", H.container); 1581 }; 1582 return $i; 1583})();
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.