CINXE.COM
Utah News, Sports, Weather, Cars and Classifieds | KSL News
<!DOCTYPE html> <html lang="en"><head><!-- Google tag (gtag.js) --><script async src="https://www.googletagmanager.com/gtag/js?id=AW-787090944"></script><script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-787090944'); </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Utah News, Sports, Weather, Cars and Classifieds | KSL News</title><meta name="description" content=""><link rel="shortcut icon" type="image/x-icon" href="https://storage.pardot.com/911272/1651599468yzNsQJZy/favicon.ico"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin=""><link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&display=swap" rel="stylesheet"><link rel="stylesheet" type="text/css" href="https://storage.pardot.com/911272/1648552156TJaP2EBq/bundle.css"><!-- CSS --><style> @import url('https://--primary.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,500;1,600;1,700;1,800;1,900&display=swap'); /*@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'); */ :root { --color1: #ffffff; --color2: #000000; --color3: #BCBEC0; --primary: 'Nunito Sans', sans-serif; --secondary: 'Raleway', sans-serif; } * { margin: 0; padding: 0; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; scroll-behavior: smooth; } * { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); font-variant-ligatures: none; } html, body.up, .up div, .up span, .up applet, .up object, .up iframe, .up h1, .up h2, .up h3, .up h4, .up h5, .up h6, .up p, .up blockquote, .up pre, .up a, .up abbr, .up acronym, .up address, .up big, .up cite, .up code, .up del, .up dfn, .up up, .up font, .up img, .up ins, .up kbd, .up q, .up s, .up samp, .up small, .up strike, .up strong, .up sub, .up sup, .up tt, .up var, .up dl, .up dt, .up dd, .up ol, .up ul, .up li, .up fieldset, .up form, .up label, .up legend, .up table, .up caption, .up tbody, .up tfoot, .up thead, .up tr, .up th, .up td, .up select, .up input, .up option { border: 0; outline: 0; } html { -webkit-text-size-adjust: none; scroll-behavior: smooth; overflow-x: hidden; } .btn-group { text-align: right; padding: 0 20px; } #reopenBtn { margin-top: -20px; background-color: #e0f3fa; color: #009dd6; border: none; font-weight: bold; font-size: 16px; padding: 10px 20px; border-radius: 6px 6px 0 0; transition: all 0.3s; } button#exitBtn { right: 10px; position: absolute; transition: all 0.3s; } .up sup { font-size: 50%; position: relative; right: 0px; } .up sub { bottom: -0.25em } .up nav .up ul, .up ol .up li { list-style: none; list-style-image: none; } .up button, .up input, .up select, .up textarea { font-size: 100%; margin: 0; vertical-align: baseline; box-shadow: none; -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important; transition: all 0.3s; } .up textarea { overflow: auto; vertical-align: top } .up input[type="button"], .up input[type="submit"] { appearance: none !important; -webkit-appearance: none !important; } :focus { outline: 0; } .up caption, .up th, .up td { text-align: left; font-weight: normal; } .up table { border: 0 none; border-collapse: collapse; border-spacing: 0; } .up td { vertical-align: top; } .up img { border: 0 none; max-width: 100%; vertical-align: middle; } .up a { outline: none; cursor: pointer; text-decoration: none; } .up a:hover { text-decoration: none; } .up a:focus { text-decoration: none !important; outline: none !important; } .up .preloader { display: none; } .up select::-ms-expand { display: none; } /*Placeholder opacity cross browsers*/ .up input::-webkit-input-placeholder { color: var(--color8); opacity:1; } /* WebKit browsers */ .up input:-moz-placeholder { color: var(--color8); opacity:1; } /* Mozilla Firefox 4 to 18 */ .up input::-moz-placeholder { color: var(--color8); opacity:1; } /* Mozilla Firefox 19+ */ .up input:-ms-input-placeholder { color: var(--color8); opacity:1; } /* Internet Explorer 10+ */ .up textarea::-webkit-input-placeholder { color: var(--color8); opacity:1; } /* WebKit browsers */ .up textarea:-moz-placeholder { color: var(--color8); opacity:1; } /* Mozilla Firefox 4 to 18 */ .up textarea::-moz-placeholder { color: var(--color8); opacity:1; } /* Mozilla Firefox 19+ */ .up textarea:-ms-input-placeholder { color: var(--color8); opacity:1; } /* Internet Explorer 10+ */ .up button::-moz-focus-inner, input[type="submit"]::-moz-focus-inner { border: 0; } /* ~~~~~ Typography ~~~~~ */ .up h1, .up h2, .up h3, .up h4, .up h5, .up h6 { font-family: var(--primary); line-height: 1.2; font-weight: bold; letter-spacing: 0.005em; margin: 0; padding: 0; } .up h1 { font-size: 48px; font-weight: 800; line-height: 1.2; color: var(--color1); } .up h2 { font-size: 36px; } .up h3 { font-size: 28px; } .up h4 { font-size: 22px; } .up h5 { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--color1); } .up h6 { font-size: 18px; } .up p { font-size: 16px; line-height: 1.25; letter-spacing: 0.09px; } .up .cta a { font-family: var(--primary); font-size: 16px; font-weight: 700; line-height: 1; background: #fff; border: 1px solid #009DD6; padding: 11px 58px 11px 32px; color: #009DD6; text-align: center; border-radius: 5px; display: inline-block; vertical-align: middle; letter-spacing: 0.2px; position: relative; z-index: 1; } .up .cta a:hover { background: transparent; border: 1px solid #009DD6; color: var(--color7); } .d_flex { display: flex; flex-wrap: wrap; justify-content: space-between; } .row_rev { flex-direction: row-reverse; } .up ul, .up ol { padding-left: 20px; margin: 0; } .up ul li, .up ol li { font-size: 20px; line-height: 1.3571; font-weight: 400; font-family: var(--primary); color: var(--color6); position: relative; z-index: 0; } /* #Page Structure ================================================== */ body.up { margin: 0; padding: 0; color: var(--color2); background: var(--color1); font-family: var(--primary); font-weight: normal; font-size: 18px; line-height: 1.5; letter-spacing: 0; transition: opacity 0.3s; } .up .wrapper { width: 100%; overflow: hidden; } .up .main { max-width: 1440px; margin: 0 auto; width: 100%; padding: 0px 30px; } .up .main::after { clear: both; display: table; content: ""; } .up a, .up button { transition: 0.5s; -webkit-transition: 0.5s; -moz-transition: 0.5s; -o-transition: 0.5s; } .up .get-bg img { display: none; } .up .bg { background-repeat: no-repeat; background-size: cover; background-position: center center; } /* Banner Style ======================== */ .up .banner { display: block; width: 100%; position: relative; z-index: 0; padding: 0; } .up .banner .main { padding: 0 49px; } .up .banner::after { content: ""; background: linear-gradient(0deg, rgba(0, 59, 78, 0.1848) 0%, rgba(0, 125, 164, 0) 100%); height: 42px; width: 100%; position: absolute; bottom: 0; left: 0; z-index: 0; } .up .banner .bannerinner { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 0; } .up .banner .bannerLeft { width: 50%; padding: 13.56% 0; } .up .banner .bannerRight { width: 50%; } .up .banner h1 { margin: 0 0 8px 0; } .up .banner .bxImg { position: absolute; right: 0; bottom: 0; z-index: 0; overflow: hidden; padding-bottom: 37%; text-align: center; width: 50%; } .up .banner .bxImg img { width: 100%; height: 100%; position: absolute; bottom: 0; left: 0; object-fit: cover; } /* Newsletter Style ======================== */ .up .newsletter { display: block; width: 100%; padding: 80px 0 40px; } .up .newsletter .innerblk { max-width: 1380px; margin: 0 auto; } .up .newsletter .subsblk { display: flex; margin-left: -20px; margin-right: -20px; flex-wrap: wrap; justify-content: center; } .up .newsletter .subItem { border-radius: 10px; overflow: hidden; border: 1px solid #009DD6; margin: 0 20px 40px; width: 315px; } .up .newsletter .subImg { width: 100%; display: block; padding-bottom: 62.223%; } .up .newsletter .subImg img { width: 100%; display: none; } .up .newsletter .subbody { padding: 20px 15px; } .up .newsletter .subHead { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--color3); padding: 0 0 13px; margin: 0 0 17px; position: relative; z-index: 0; } .up .newsletter .subHead::before { content: ""; background: transparent url('https://storage.pardot.com/911272/1684479964c0MHRVfa/caret_down.png') right center; background-size: cover; width: 18px; height: 10px; position: absolute; right: 0; top: 10px; display: none; transition: all 0.5s ease; } .up .newsletter .subHead.active::before { transform: rotateX(180deg); } .up .newsletter .subHead p { font-size: 15px; line-height: 1.2; color: #767676; } .up .newsletter .paratxt { margin: 0 0 15px; } .up .newsletter .paratxt p { color: #002D65; } .up .c-button-reset { display: inline-block; font-family: inherit; font-size: 1em; outline: none; border: none; border-radius: 0; box-shadow: none; text-shadow: none; color: inherit; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; } .up .c-plus-to-check { position: relative; min-width: 18px; min-height: 18px; width: 18px; height: 18px; background-color: transparent; border: 1px solid #009DD6; border-radius: 100%; margin: 0 0 0 9px; } .up .c-plus-to-check:before, .up .c-plus-to-check:after { background-color: #2AB2C0; content: ""; display: inline-block; position: absolute; top: 49%; left: 0.35em; right: 0.35em; height: 1px; transition: transform 300ms cubic-bezier(0.75, -0.6, 0.14, 1.59) 150ms; will-change: transform background-color; } .up .c-plus-to-check:before { transform: translate(0, 0) rotate(-90deg) scale(2, 1); } .up .c-plus-to-check:after { transform: translate(0, 0) rotate(180deg) scale(2, 1); } .up .c-plus-to-check__text { position: absolute; top: -3125rem; left: -3125rem; font-size: 0; height: 0; width: 0; overflow: hidden; visibility: hidden; } .up .newsletter button[data-state=active] .c-plus-to-check:before, .up .newsletter button[data-state=active] .c-plus-to-check:after { background-color: #fff; transition-duration: 150ms; transition-timing-function: ease-out; transition-delay: 0s; } .up .newsletter button[data-state=active] .c-plus-to-check:before { transform: translate(calc(83% - .175em), 0px) rotate(-45deg) scale(1.7, 1); } .up .newsletter button[data-state=active] .c-plus-to-check:after { transform: translate(-60%, 1px) rotate(45deg) scale(1.0, 1); } .up .newsletter button[data-state=active] { background-color: #8ECA5F; border: 1px solid #8ECA5F; color: #ffffff; } .up .newsletter button[data-state=active] .c-plus-to-check { border-color: #fff; } .up .subCta { display: inline-block; vertical-align: middle; min-width: 166px; position: relative; z-index: 0; } .up .subCta input { position: absolute; width: 100%; height: 100%; } /* Sign up Style ======================== */ .up .signUpblk { display: block; width: 100%; background-color: #E0F3FA; padding: 23px 0; box-shadow: 0 -4px 20px #11111140; border: 1px solid #f2f4f5; position: fixed; transform: translateY(100%); transition: .5s; width: 100%; z-index: 5666666; bottom: 0; } body.up.activebtn .signUpblk { transform: translateY(0%); } .up .newslatterCount { display: flex; align-items: center; justify-content: flex-start; margin: 0 0 6px 0; } .up .newslatterCount .icon { max-width: 23px; margin: 0 9px 0 0; } .up .newslatterCount .icon img { width: 100%; } .up .newslatterCount p { font-weight: 700; color: #002D65; } /******/ .up .mainForm { padding: 0px; border-radius: 0px; background: transparent; margin: 0px auto; width: 100%; } .up .mainForm p { text-align: left; font-size: 10px; line-height: 1.2; font-weight: 400; font-family: var(--secondary); color: #000000; padding: 0; letter-spacing: 0; } .up .mainForm p a { color: #006FBC; } .up .mainForm p a:hover { color: #000000; } .up .form h2 { text-align: left; font-weight: bold; font-family: Arial, sans-serif; color: #ffffff; padding: 0; } .up .form { padding: 0px !important; margin: 0px !important; width: 100%!important; display: flex; flex-wrap: nowrap; justify-content: space-between; max-width: 643px; } .up .form .form-field { margin: 0px !important; margin-bottom: 0px !important; width: 100% !important; clear: none !important; text-align: left; max-width: 423px; } .up .form .form-field.col50 { width: 49% !important; } .up .form label { padding: 0; max-width: 100%; margin-bottom: 5px !important; width: 100% !important; font-family: var(--primary) !important; font-weight: 400 !important; text-align: left !important; background: none !important; font-size: 16px; line-height: 1.2; color: #767676 !important; display: inline-block; vertical-align: middle; display: none; } .up .form input, .up .form select, .up .form textarea { appearance: none!important; -webkit-appearance: none !important; box-shadow: none !important; height: 48px !important; border: 1px solid #949494; border-radius: 4px; padding: 3px 10px !important; color: #767676; font-size: 16px; width: 100% !important; font-family: var(--primary) !important; background-color: #fff !important; margin-bottom: 10px !important; font-weight: 400; box-sizing: border-box; } .up .form textarea { resize: none!important; height: 140px !important; padding-top: 10px !important; padding-bottom: 10px !important; } .up .form select { background: transparent url("./images/down_arrow.png") no-repeat 98% center; cursor: pointer !important; background-size: 9px auto!important; padding-right: 35px !important; } .up .form .form-field.error input, .up .form .form-field.error select, .up .form .form-field.error textarea { border-color: red !important; } .up .form input:focus, .up .form select:focus, .up .form textarea:focus { outline: none !important; } .up .form .errors { color: red !important; font-size: 16px; padding-bottom: 0px; text-align: left !important; margin: 10px 0; display: block; width: 100%; } .up .form .error.no-label { color: red !important; font-size: 16px; padding-bottom: 0px; text-align: left !important; margin: 5px 0; } .up .form .pd-radio span { display: block!important; width: 100%!important; } .up .form .pd-radio span { margin: 0 0 15px 0px!important; width: 100%; color: #fff; } .up .form .submit, .up .form .btn-group { margin: 0px 0 0 0 !important; padding: 0px!important; width: 100% !important; text-align: center !important; display: inline-block!important; max-width: 196px; } .up .form input[type="submit"], .up .form .btn-group button[type="submit"] { width: 100%; background: #009DD6 !important; display: inline-block; border-radius: 0; text-align: center; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important; border-radius: 4px !important; padding: 15px 30px !important; font-weight: 700 !important; font-size: 16px !important; color: #fff !important; border: 1px solid #009DD6 !important; font-family: var(--primary) !important; line-height: 1; -webkit-appearance: none; appearance: none; cursor: pointer; height: auto !important; } .up .form input[type="submit"]:hover, .up .form .btn-group button[type="submit"]:hover { color: #009DD6 !important; border-color: #009DD6 !important; background: transparent !important; } .up .form .pd-radio .field-label, .up .form .pd-checkbox .field-label { margin: 0px 0px 0px !important; display: inline-block; } .up .form .pd-radio label.inline, .up .form .pd-checkbox label.inline { font-size: 16px; color: #767676 !important; line-height: 1.36; font-family: var(--primary) !important; font-weight: 400 !important; width: 100% !important; position: relative; padding-left: 40px; letter-spacing: 0; cursor: pointer!important; } .up .form .pd-radio input, .up .form .pd-checkbox input { cursor: pointer!important; } .up .form .pd-radio span.value, .up .form .pd-checkbox span.value { display: flex !important; flex-wrap: wrap; width: 100% !important; padding: 0 !important; } .up .form .pd-radio span, .up .form .pd-checkbox span { width: calc(100% / 3)!important; display: block!important; margin: 0px 0px 10px !important; padding: 0 15px 0 0 !important; box-sizing: border-box; width: 100%!important; margin: 5px 0px !important; } .up .form .pd-radio span:last-child, .up .form .pd-checkbox span:last-child { margin-bottom: 0px!important; } .up .form .pd-radio label.inline, .up .form .pd-checkbox label.inline { margin: 0px!important; } .up .form .pd-radio input[type="radio"], .up .form .pd-checkbox input[type="checkbox"] { opacity: 0!important; position: absolute!important; width: auto !important; padding: 0 !important; height: inherit !important; } .up .form .pd-checkbox input[type="checkbox"] + label.inline:before { content: ''!important; background: #fff!important; border: 1px solid #000!important; vertical-align: middle!important; width: 28px!important; height: 28px !important; padding: 0px!important; margin-right: 0px!important; margin-bottom: 0px!important; box-sizing: border-box !important; text-align: center!important; margin-top: 0px !important; left: 0!important; position: absolute!important; top: -2px; } .up .form .pd-checkbox input[type="checkbox"]:checked + label.inline:after { content: ""; position: absolute; width: 6px; height: 11px; border-right: 3px solid #000; border-bottom: 3px solid #000; transform: rotate(45deg); top: 4px; left: 10px; } .up .form .pd-radio input[type="radio"] + label.inline:before { content: ''!important; background: #fff!important; border: 1px solid #000!important; vertical-align: middle!important; width: 28px!important; height: 28px!important; padding: 0px!important; margin-right: 0px!important; margin-bottom: 0px!important; text-align: center!important; left: 0!important; position: absolute!important; border-radius: 50px!important; -webkit-border-radius: 50px !important; top: -3px; } .up .form .pd-radio input[type="radio"]:checked + label.inline:after { content: ""; background: #000; width: 16px; height: 16px; border-radius: 100%; position: absolute; top: 3px; left: 6px; box-sizing: border-box; border: 1px solid #000; } .up .mainForm .thankyou { width: 100%!important; text-align: center!important; padding: 20px 0px!important; } .up .mainForm .thankyou h2 { font-family: var(--primary)!important; width: 100%!important; display: inline-block!important; color: #002D65!important; margin: 0px 0px 15px 0px !important; text-align: left!important; } .up .mainForm .thankyou p { font-family: var(--primary)!important; text-align: left!important; font-size: 16px!important; color: #002D65!important; width: 100%!important; display: inline-block!important; margin: 0px !important; padding: 0px !important; } .up .form span.description { width: 100%!important; display: inline-block!important; margin: 10px 0px!important; font-size: 20px!important; line-height: 1.25 !important; font-family: Arial, sans-serif !important; font-weight: 400!important; color: #000; margin: 0 0 15px 0px!important; width: 100%; color: #fff; } .up .form p { color: #000; } .up #js_error { color: red !important; font-size: 16px; padding-bottom: 0px; text-align: left !important; margin: 10px 0; display: block; width: 100%; } .up form .form-field label { display: none; } .up .subCta { position: relative; z-index: 0; width: 100%; max-width: 166px; height: 40px; border: 1px solid #009DD6; cursor: pointer; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1.25; color: #fff; font-family: var(--primary); font-weight: 700; padding: 0; background: #009DD6; } .up .subCta input[type="checkbox"] { height: 100%; width: 100%; visibility: visible; cursor: pointer; } .up .subCta label { cursor: pointer; text-indent: -9999px; width: 30px; height: 16px; background: grey; display: block; border-radius: 100px; position: relative; margin: 0 0 0 10px; } .up .subCta label:after { content: ""; position: absolute; top: 2px; left: 3px; width: 12px; height: 12px; background: #fff; border-radius: 100%; transition: 0.3s; } .up .subCta input:checked + label { background: #8eca5f; } .up .subCta input:checked + label:after { left: calc(100% - 2px); transform: translateX(-100%); } .up .subCta label:active:after { width: 20px; } @media (max-width: 1440px) { /* =============== */ .up .banner .bannerLeft { width: 47%; max-width: 436px; } /* =============== */ .up .newsletter .innerblk { max-width: 670px; } .up .newsletter { padding: 40px 0 0px; } /* =============== */ } @media (max-width: 1023px) { /* =============== */ .up h1 { font-size: 36px; } .up h5 { font-size: 18px; } /* =============== */ .up .banner .bxImg { right: -30px; padding-bottom: 39%; width: 53%; } /* =============== */ } @media (max-width: 767px) { /* =============== */ .up h1 { font-size: 28px; } .up h5 { font-size: 16px; line-height: 1.4; } /* =============== */ .up .banner { padding: 30px 0px 0; background-position: center top; } .up .banner .bannerCaption { max-width: 291px; margin: 0 auto; } .up .banner .main { padding: 0 30px; } .up .banner .bannerinner { flex-wrap: wrap; } .up .banner .bannerLeft { width: 100%; max-width: 100%; padding: 0 0 15px; } .up .banner .bannerRight { width: 100%; } .up .banner .bxImg { left: 0; right: 0; padding-bottom: 0; width: 100%; position: relative; max-width: 400px; margin: 0 auto; } .up .banner .bxImg img { position: relative; } /* =============== */ .up .newsletter { padding: 30px 0 0px; } .up .newslatterCount { margin-bottom: 15px; } .up .newsletter .subbody { padding: 22px 13px; } .up .newsletter .subHead p { font-size: 14px; line-height: 1.6; } .up .newslatterCount p { letter-spacing: 0; } /* =============== */ .up .form { flex-wrap: wrap; } .up .form .form-field { max-width: 100%; margin-bottom: 15px !important; } .up .form .submit { max-width: 100%; } .up .mainForm .thankyou h2 { margin-bottom: 10px !important; } .up .mainForm .thankyou h2, .up .mainForm .thankyou p { text-align: center !important; } /* =============== */ .up .newsletter .subHead { flex-wrap: wrap; } .up .newsletter .subHead h4 { width: 100%; } .up .newsletter .subHead::before { display: block; right: 8px; top: 7px; } .up .newsletter .subItem { margin: 0 20px 30px; } .up .newsletter .subContent { display: none; } .up .newsletter .paratxt { height: inherit !important; } /* =============== */ } </style><!-- CSS --><style> @media (max-width: 959px) { .nav-open .ksl-header-menu--right { left: 0; } .ksl-header-menu--right { z-index: 1000 !important; } body.nav-open { overflow: hidden; } } @media (max-width: 767px) { .ksl-site-footer .inside { padding-top: 20px !important; } .hero .hero__media img { max-width: 170px; width: 100%; margin-bottom: 15px; } } </style><!-- JS --><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script><!-- JS --><script type="text/javascript"> piAId = '912272'; piCId = '32225'; piHostname = 'pi.pardot.com'; (function() { function async_load(){ var s = document.createElement('script'); s.type = 'text/javascript'; s.src = ('https:' == document.location.protocol ? 'https://pi' : 'http://cdn') + '.pardot.com/pd.js'; var c = document.getElementsByTagName('script')[0]; c.parentNode.insertBefore(s, c); } if(window.attachEvent) { window.attachEvent('onload', async_load); } else { window.addEventListener('load', async_load, false); } })(); </script></head><body class="up"> <div class="wrapper"> <!-- HEADER CODE START --> <link href="https://storage.pardot.com/911272/1648805668GNkhOZNQ/ksl_header.css" rel="stylesheet"><!-- <script charset="UTF-8" src="https://storage.pardot.com/911272/1648805668USMqowuE/ksl_header.js.download"></script> --><div id="kslHeaderContainer"> <div> <div> </div> <a class="ksl-header-skip-to-content" href="#ksl-header-skip">Skip to content</a> <div class="ksl-header ksl-header--xlarge" role="navigation" aria-label="main menu"> <div class="ksl-header__outer"> <div class="ksl-header__inner"><a class="ksl-header-logo" href="//www.ksl.com" aria-labelledby="ksl-header-logo-label"> <div class="ksl-header-logo__large"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 89.7 47" height="64" width="118"><title id="ksl-header-logo-label">KSL homepage</title><path fill="#FFF" d="M42.7 33.2C39 40.4 31.6 45 23.5 45 11.6 45 2 35.3 2 23.5S11.6 2 23.5 2C35.3 2 45 11.6 45 23.5v.6h2v-.6C47 10.5 36.4 0 23.5 0 10.5 0 0 10.5 0 23.5S10.5 47 23.5 47c9.2 0 17.6-5.4 21.4-13.8h-2.2z"></path><g fill="#FFF"><path d="M43.3 31.4h-10V30c.6-1 .9-2.1.9-3.4v-.1c0-1.2-.3-2.2-.9-3.1v-7.7h4.2v12h5.2s-.6 1.7.6 3.7zM17.3 31.4l-4.6-5.6-1.9 2.1v3.5H6.7V15.8h4.1v6.6l5.6-6.6h4.7l-6 7.1 7.2 8.5z"></path><path d="M32.7 26.6c-.1 3.1-2.5 5-6.4 5-.8 0-1.7-.2-1.9-.3l-4-4.8c2.7 1.6 4.5 1.6 6.1 1.6 1.2 0 1.9-.4 1.9-1.2 0-.7-.6-1.1-2.7-1.6-3.2-.7-5.8-1.6-5.8-4.9.1-3 2.5-5 6.1-5 2.5 0 4.6.7 6.3 2l-2.1 2.9c-1.4-1-3-1.5-4.4-1.5-1.2 0-1.7.6-1.7 1.1 0 .8.6 1.1 2.8 1.6 3.5 1 5.8 2.1 5.8 5.1z"></path></g><path fill="#FFF" d="M66.3 31.7c-3.3 0-5.7-2.5-5.7-5.6 0-3.1 2.5-5.7 5.8-5.7s5.7 2.5 5.7 5.6c0 3.2-2.5 5.7-5.8 5.7zm0-9.1c-2 0-3.3 1.6-3.3 3.5s1.4 3.5 3.3 3.5c2 0 3.3-1.6 3.3-3.5s-1.3-3.5-3.3-3.5zm19.6-2.1c2.4 0 3.8 1.5 3.8 4.1v6.9h-2.5v-6.1c0-1.7-.8-2.6-2.2-2.6-1.3 0-2.3.9-2.3 2.7v6.1h-2.5v-6.2c0-1.7-.8-2.6-2.2-2.6-1.4 0-2.3 1-2.3 2.7v6.1h-2.5V20.7h2.5v1.6c.7-1 1.6-1.9 3.3-1.9 1.6 0 2.6.8 3.2 1.9.9-1.1 2.1-1.8 3.7-1.8zm-26.8 7.7c-.8.8-1.6 1.3-2.8 1.3-1.9 0-3.2-1.6-3.2-3.5s1.3-3.5 3.1-3.5c1.2 0 2 .6 2.8 1.3l1.5-1.7c-1-1.1-2.3-1.9-4.3-1.9-3 0-5.2 2.2-5.6 4.9.9.9 1.5 2.1 1.5 3.5 0 .4 0 .7-.1 1.1 1 1.1 2.4 1.8 4.1 1.8 2.1 0 3.4-.8 4.4-2l-1.4-1.3zm-14.7.7c0 1.7 1.3 3 3 3s3-1.3 3-3-1.3-3-3-3-3 1.4-3 3"></path></svg></div> <div class="ksl-header-logo__small"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 83.098 16.607" height="22" width="110"><title id="ksl-header-logo-label">KSL homepage</title><path fill="#FFF" d="M59.641 16.209c-3.291 0-5.726-2.516-5.726-5.604 0-3.106 2.454-5.661 5.766-5.661 3.314 0 5.745 2.516 5.745 5.623 0 3.085-2.453 5.642-5.785 5.642zm0-9.099c-1.984 0-3.251 1.554-3.251 3.456 0 1.92 1.369 3.495 3.291 3.495 2.004 0 3.272-1.554 3.272-3.457 0-1.919-1.37-3.494-3.312-3.494zm19.608-2.167c2.351 0 3.782 1.492 3.782 4.129v6.892h-2.475V9.829c0-1.718-.797-2.639-2.187-2.639-1.35 0-2.311.941-2.311 2.681v6.093h-2.476V9.808c0-1.677-.817-2.617-2.187-2.617-1.369 0-2.312 1.023-2.312 2.7v6.073H66.61V5.166h2.473v1.637c.695-.961 1.637-1.859 3.292-1.859 1.554 0 2.639.755 3.212 1.9.88-1.146 2.026-1.901 3.662-1.901zm-26.865 7.77c-.777.797-1.637 1.349-2.804 1.349-1.9 0-3.231-1.554-3.231-3.495 0-1.902 1.311-3.456 3.108-3.456 1.248 0 2.047.551 2.804 1.349l1.534-1.656c-1.004-1.104-2.272-1.859-4.314-1.859-2.972 0-5.21 2.178-5.553 4.928.947.872 1.541 2.118 1.541 3.505 0 .363-.044.718-.122 1.059 1.001 1.088 2.439 1.774 4.11 1.774 2.107 0 3.355-.838 4.417-2.024l-1.49-1.474zm-14.692.698c0 1.65 1.342 2.994 2.995 2.994 1.652 0 2.996-1.344 2.996-2.994 0-1.656-1.344-2.997-2.996-2.997-1.653 0-2.995 1.341-2.995 2.997m-1.093 2.436H26.594v-1.412c.603-.97.913-2.104.913-3.352v-.051c0-1.176-.311-2.239-.913-3.129V.234h4.191v11.971h5.249s-.644 1.649.565 3.642zm-25.952.007L6 10.294l-1.823 2.131v3.429H0V.271h4.177v6.571L9.754.271h4.723L8.45 7.397l7.198 8.457h-5.001zm15.343-4.771c-.06 3.106-2.48 5.045-6.366 5.045-.787 0-1.731-.208-1.92-.252l-3.952-4.808c2.736 1.626 4.509 1.622 6.097 1.622 1.197 0 1.904-.426 1.918-1.176l.001-.049c.016-.748-.617-1.12-2.704-1.592-3.191-.736-5.848-1.614-5.792-4.864l.002-.048C13.328 1.998 15.786 0 19.388 0c2.541 0 4.611.665 6.319 2.024l-2.132 2.938c-1.403-.981-2.964-1.519-4.374-1.519-1.226 0-1.692.569-1.702 1.103v.045c-.016.79.56 1.118 2.78 1.627 3.468.761 5.771 1.868 5.712 4.813l-.001.052z"></path></svg></div> </a> <div class="ksl-header-nav-group ksl-header-nav-group--level-1 ksl-header-news"> <div class="ksl-header-nav-group__head" aria-hidden="true"></div> <div class="ksl-header-nav-group__body"> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--news-home"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="//www.ksl.com/" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">News</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/coronavirus" role="menuitem" rel="">Coronavirus</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/utah" role="menuitem" rel="">Utah</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/southern-utah" role="menuitem" rel="">Southern Utah</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/idaho" role="menuitem" rel="">Idaho</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/features" role="menuitem" rel="">Features</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/us" role="menuitem" rel="">U.S.</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/world" role="menuitem" rel="">World</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/politics" role="menuitem" rel="">Politics</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/traffic" role="menuitem" rel="">Traffic</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/business" role="menuitem" rel="">Business</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/entertainment" role="menuitem" rel="">Entertainment</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/news/outdoors" role="menuitem" rel="">Outdoors</a></div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--news-sports"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="//www.ksl.com/sports" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">Sports</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/utah-jazz" role="menuitem" rel="">Utah Jazz</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/byu-cougars" role="menuitem" rel="">BYU Cougars</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/utah-utes" role="menuitem" rel="">Utah Utes</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/pac-12-hotline" role="menuitem" rel="">Pac-12 Hotline</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/utah-state-aggies" role="menuitem" rel="">Utah State Aggies</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/weber-state-wildcats" role="menuitem" rel="">Weber State Wildcats</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/real-salt-lake" role="menuitem" rel="">Real Salt Lake</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/national" role="menuitem" rel="">National</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/pickem" role="menuitem" rel="">Pick'em</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/high-school" role="menuitem" rel="">High School</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/stats/scoreboard" role="menuitem" rel="">Scores</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/sports/stats-and-scores" role="menuitem" rel="">Stats</a></div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--news-brandview"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="//www.ksl.com/brandview" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">Brandview</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/brad-debry-law" role="menuitem" rel="">Brad DeBry Law</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/the-drivers-seat" role="menuitem" rel="">The Driver's Seat</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/minky-couture" role="menuitem" rel="">Minky Couture</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/salt-lake-chamber" role="menuitem" rel="">Salt Lake Chamber</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/u-of-u-health-care" role="menuitem" rel="">U of U Health</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/utah-adventures" role="menuitem" rel="">Utah Adventures</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/intermountain-healthcare" role="menuitem" rel="">Intermountain Healthcare</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/utah-office-of-tourism" role="menuitem" rel="">Utah Office of Tourism</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/accident-resource-center" role="menuitem" rel="">Accident Resource Center</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/homie" role="menuitem" rel="">Homie</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/brandview/retirement-planning" role="menuitem" rel="">Retirement Planning</a></div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--news-tv"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="https://www.ksltv.com" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">TV</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://live.ksl.com" role="menuitem" rel="">Watch Live</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://www.ksltv.com/meet-our-team" role="menuitem" rel="">Meet Our Team</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://www.ksltv.com/category/contests/" role="menuitem" rel="">Contests & Promotions</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://www.ksltv.com/category/kslinvestigates/" role="menuitem" rel="">KSL Investigators</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://www.ksltv.com/category/high-5/" role="menuitem" rel="">High 5</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://studio5.ksl.com" role="menuitem" rel="">Studio 5</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://www.ksl.com/?nid=1113&sid=17217040" role="menuitem" rel="">Outdoors with Adam Eakle</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://www.ksl.com/?nid=1174" role="menuitem" rel="">Your Life Your Health</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://www.ksltv.com/category/wednesdays-child/" role="menuitem" rel="">Wednesday's Child</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="http://www.readtoday.com" role="menuitem" rel="">Read Today</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://ksltv.com/ksl-tv-program-guide/" role="menuitem" rel="">Program Guide</a></div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--news-radio"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="https://kslnewsradio.com" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">Radio</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://kslnewsradio.com/listen/" role="menuitem" target="_blank" rel="noopener">Listen Live</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://kslnewsradio.com" role="menuitem" rel="">Top Stories</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://kslnewsradio.com/schedule/" role="menuitem" rel="">KSL Schedule</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://kslnewsradio.com/category/podcasts" role="menuitem" rel="">Podcasts</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://kslnewsradio.com/meet-our-team/" role="menuitem" rel="">Meet Our Team</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://kslnewsradio.com/category/contests" role="menuitem" rel="">Contests & Promotions</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://kslnewsradio.com/subscribe-to-the-ksl-newsradio-newsletter/" role="menuitem" rel="">Newsletter Signup</a></div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--news-live"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="https://live.ksl.com" rel=""><span class="ksl-header-nav-link">Live</span></a></div> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--news-obituaries"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="https://www.thememories.com/ksl/obituaries" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">Obituaries</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://www.thememories.com/ksl/obituaries/create-life-story" role="menuitem" rel="nofollow">Create Life Story</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://www.thememories.com/ksl/obituaries/account" role="menuitem" rel="nofollow">My Life Stories</a></div> </div> </div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-1 ksl-header-weather ksl-header-weather-dropdown"> <div class="ksl-header-nav-group__head"></div> <div class="ksl-header-dropdown wrapper--weather-widget"><a href="https://www.ksl.com/weather/forecast" class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow wrapper--weather-toggle" aria-expanded="false" aria-haspopup="true"> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--news-weather "><a class="ksl-header-dropdown__toggle ksl-header-nav-group__head" href="/weather/forecast" tabindex="-1"><span class="ksl-header-nav-link weatherMedLabel">Weather</span> <div class="weather-toggle"><img src="http://go.pardot.com/l/911272/2024-03-05/snwdb/911272/1709684016I3eWOVzz/sunny.svg" alt="sunny" class="weather-widget__icon weather-toggle__icon"><span class="weather-toggle__temp">NA掳</span></div> </a></div> </a> <div class="ksl-header-dropdown__body weather-dropdown" aria-hidden="true"> <div class="weather-widget"> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 level-2-weather"> <div class="ksl-header-nav-group__body"> <div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/forecast" role="menuitem" rel="_none">Weather Home</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/radar" role="menuitem" rel="_none">VORTEX</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/microcast" role="menuitem" rel="_none">MicroCast</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/currents" role="menuitem" rel="_none">Current Conditions</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/cameras" role="menuitem" rel="_none">Cameras</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/photoContest" role="menuitem" rel="_none">Photo Contest</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/alerts" role="menuitem" rel="_none">Weather Alerts</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/outdoorPlanner" role="menuitem" rel="_none">Outdoor Weather Planner</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/airQuality" role="menuitem" rel="_none">Air Quality</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/weatherWorks" role="menuitem" rel="_none">Weather Works</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/snowpack" role="menuitem" rel="_none">Snowpack</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/weather/skiReport" role="menuitem" rel="_none">Ski Report</a></div> </div> </div> </div> </div> </div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-1 ksl-header-marketplace"> <div class="ksl-header-nav-group__head" aria-hidden="true">Marketplace</div> <div class="ksl-header-nav-group__body"> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--marketplace-classifieds"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="https://classifieds.ksl.com" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">Classifieds</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://myaccount.ksl.com/listings?vertical=Classifieds" role="menuitem" rel="nofollow">My Listings</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://myaccount.ksl.com/favorites?section=Classifieds" role="menuitem" rel="nofollow">Favorites</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/myaccount/saved-searches-classified" role="menuitem" rel="nofollow">Saved Searches</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://classifieds.ksl.com/sell" role="menuitem" rel="nofollow">Add Listing</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://support.ksl.com/hc/en-us" role="menuitem" rel="">Support</a></div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--marketplace-cars"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="https://cars.ksl.com" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">Cars</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://myaccount.ksl.com/listings?vertical=Cars" role="menuitem" rel="nofollow">My Listings</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://myaccount.ksl.com/favorites?section=Cars" role="menuitem" rel="nofollow">Favorites</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/myaccount/saved-searches-car" role="menuitem" rel="nofollow">Saved Searches</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://cars.ksl.com/sell" role="menuitem" rel="nofollow">Add Listing</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://cars.ksl.com/resources" role="menuitem" rel="nofollow">Resources</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://support.ksl.com/hc/en-us" role="menuitem" rel="">Support</a></div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--marketplace-homes"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="https://homes.ksl.com" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">Homes</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://myaccount.ksl.com/listings?vertical=Homes" role="menuitem" rel="nofollow">My Listings</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://myaccount.ksl.com/favorites?section=Homes" role="menuitem" rel="nofollow">Favorites</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://myaccount.ksl.com/alerts?vertical=Homes" role="menuitem" rel="nofollow">Saved Searches</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://homes.ksl.com/sell/sell-choice" role="menuitem" rel="nofollow">Add Listing</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://support.ksl.com/hc/en-us" role="menuitem" rel="">Support</a></div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--marketplace-jobs"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="https://jobs.ksl.com" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">Jobs</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://myaccount.ksl.com/listings?vertical=Jobs" role="menuitem" rel="nofollow">My Listings</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://myaccount.ksl.com/favorites?section=Jobs" role="menuitem" rel="nofollow">Favorites</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="//www.ksl.com/myaccount/saved-searches-job" role="menuitem" rel="nofollow">Saved Searches</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://jobs.ksl.com/edit" role="menuitem" rel="nofollow">Add Listing</a></div> </div> </div> <div class="ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--marketplace-services"><a class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head" href="https://services.ksl.com" rel="" aria-haspopup="true" aria-expanded="false"><span class="ksl-header-nav-link">Services</span></a> <div class="ksl-header-dropdown__body ksl-header-nav-group__body" role="menu"> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://myaccount.ksl.com/listings?vertical=Services" role="menuitem" rel="nofollow">My Listings</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://classifieds.ksl.com/services/sell" role="menuitem" rel="nofollow">List a Business</a></div> <div class="ksl-header-nav-item ksl-header-nav-item--level-3" role="none"><a class="ksl-header-nav-link" href="https://services.ksl.com/faq" role="menuitem" rel="">Support</a></div> </div> </div> </div> </div> <div class="ksl-header__stacking-section"> <div class="ksl-header-dropdown ksl-header-search-dropdown"><span class="ksl-header-dropdown__toggle ksl-header-search-toggle"> <button class="ksl-header-search-toggle__icon" aria-labelledby="ksl-header-search-label" aria-haspopup="true" aria-expanded="false"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 500 500"><title id="ksl-header-search-label">search</title><path d="M489.8 451.3l-145.2-146c50.9-69.2 44.8-167.4-18.3-229.6-68.9-69.8-181.8-69.8-250.7 0-68.9 68.9-68.9 181.8 0 250.7 62.2 63.1 160.4 69.1 229.6 18.3l146 145.2c3.7 4.6 10.1 4.6 13.8 0l24.8-24.8c4.5-3.7 4.5-10.2 0-13.8zM105.9 296c-52.3-52.3-52.3-137.8 0-190.1 52.3-53.3 137.8-53.3 191 0 52.3 52.3 52.3 137.8 0 190.1-53.3 53.3-138.7 53.3-191 0z"></path></svg></button> </span> <div class="ksl-header-dropdown__body"> <form class="ksl-header-search" action="//www.ksl.com/news/search" method="get"> <input type="hidden" name="cx" value="partner-pub-3771868546990559:r955z1-wmf4"><input type="hidden" name="cof" value="FORID:9"><input type="hidden" name="ie" value="ISO-8859-1"><input type="hidden" name="sa" value="Search"><input type="hidden" name="searchtype" value="kslcom"><input type="hidden" name="x" value="15"><input type="hidden" name="y" value="19"><input class="ksl-header-search__input" aria-label="Search KSL.com" type="text" placeholder="Keyword" name="q"><button class="ksl-header-search__button ksl-header-button ksl-header-button--squared" type="submit">Search</button> </form> </div> </div> <div class="ksl-header-dropdown ksl-header-account-dropdown ksl-header-dropdown--has-close-action"><span class="ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-account-toggle"> <button class="ksl-header-account-toggle__icon" aria-labelledby="ksl-header-account-label" aria-haspopup="true" aria-expanded="false"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 500 500"><title id="ksl-header-account-label">account - logged out</title><path fill="#FFF" d="M354.9 224h-14.1c20.8-22.3 33.4-52.4 33.4-85.4 0-67.9-55.1-123.9-123.9-123.9s-123.9 56-123.9 123.9c0 33 12.7 63 33.4 85.4h-14.1c-45.9 0-83.5 37.6-83.5 83.5v177.2h376.4V307.6c-.1-45.9-37.8-83.6-83.7-83.6zm-190-85.3c0-46.8 38.6-85.4 85.4-85.4s85.4 38.6 85.4 85.4c0 43.5-32 79.3-73 85.4H238c-41.1-6.1-73.1-42-73.1-85.4zM399 446.2H101.6V307.6c0-24.8 20.2-44.1 44.1-44.1H355c23.9 0 44.1 19.3 44.1 44.1v138.6z"></path></svg></button> </span> <div class="ksl-header-dropdown__body account-dropdown"> <div class="ksl-header-account"> <div class="ksl-header-account__logged-out"><a class="ksl-header-account__login-button ksl-header-button" href="https://www.ksl.com/public/member/login?login_forward=https%3A%2F%2Fgo.pardot.com%2Fl%2F911272%2F2023-02-17%2Fqhnpt">Sign In</a><a class="ksl-header-account__create-account-link ksl-header-link" href="https://www.ksl.com/public/member/new?login_forward=https%3A%2F%2Fgo.pardot.com%2Fl%2F911272%2F2023-02-17%2Fqhnpt">Or Create an Account</a></div> <div class="ksl-header-account__links"> <div class="ksl-header-nav-item"><a class="ksl-header-nav-link" href="https://support.ksl.com/hc/en-us"><span class="ksl-header-nav-link__icon ksl-header-nav-link__icon--support"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 500 500"><title>Support</title><path d="M493.4,275.6c0-42.1-21.3-75.6-49.8-81.2c-2.8-9-9.8-16.1-18.8-19c-9-87.7-83.3-156.4-173.3-156.4 C161.3,19.1,87,87.8,78,175.5c-9,2.9-16,10-18.8,19c-28.5,5.6-49.8,39-49.8,81.2c0,42.1,21.3,75.6,49.8,81.1 c3.7,11.8,14.6,20.5,27.6,20.5c16,0,29-13,29-29V203c0-12.2-7.6-22.7-18.3-26.9c8.6-77.3,74.3-137.6,153.9-137.6 c79.6,0,145.3,60.3,153.9,137.6c-10.7,4.3-18.3,14.7-18.3,26.9v145.2c0,12.6,8.1,23.2,19.3,27.2c-0.7,30.8-24.2,57-55.6,59.9 c-3.7,0.4-7.5,0.3-12.1,0h-30.8c-4-11.2-14.7-19.4-27.3-19.4H232c-16,0-29,13-29,29s13,29,29,29h48.4c12.6,0,23.2-8.1,27.3-19.4 l29.9,0c2.5,0.2,4.9,0.3,7.4,0.3c2.5,0,4.9-0.1,7.4-0.3c41.4-3.8,72.4-38.5,73.1-79.2c8.6-3,15.3-10,18.1-18.7 C472,351.2,493.4,317.8,493.4,275.6z M28.7,275.6c0-28.7,12.6-53.4,29-60.6v121.2C41.3,329,28.7,304.3,28.7,275.6z M96.5,348.2 c0,5.3-4.3,9.7-9.7,9.7c-5.3,0-9.7-4.3-9.7-9.7V203c0-5.3,4.3-9.7,9.7-9.7c5.3,0,9.7,4.3,9.7,9.7V348.2z M280.4,454.7H232 c-5.3,0-9.7-4.3-9.7-9.7c0-5.3,4.3-9.7,9.7-9.7h48.4c5.3,0,9.7,4.3,9.7,9.7C290.1,450.4,285.7,454.7,280.4,454.7z M425.6,348.2 c0,5.3-4.3,9.7-9.7,9.7s-9.7-4.3-9.7-9.7V203c0-5.3,4.3-9.7,9.7-9.7s9.7,4.3,9.7,9.7V348.2z M445,336.2V215 c16.5,7.2,29.1,31.9,29.1,60.6S461.4,329,445,336.2z"></path></svg></span>Support<span class="ksl-header-nav-link__arrow"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 500 500"><title id="ksl-header-arrow-right">arrow right</title><path d="M152,88.41a16.25,16.25,0,0,1,23-23L348,238.52a16.25,16.25,0,0,1,0,23L175,434.57a16.25,16.25,0,1,1-23-23L313.37,250Z"></path></svg></span></a></div> </div> </div> </div> </div> </div> </div> </div> <div class="ksl-header-reserved ksl-header-reserved--xlarge"></div> </div> <div id="ksl-header-skip" tabindex="-1"></div> </div> </div> <!-- HEADER CODE END --> <!-- midd-container Section Start --> <div class="midd-container"> <!-- Banner --> <section class="banner set-bg bg"><div class="get-bg" pardot-region="banner_bg_image" pardot-region-type="WYSIWYG"> <img fetchpriority="high" src="https://storage.pardot.com/911272/1684479908B0Z0Ri2l/bannerBG.jpg" alt="Banner image"></div> <div class="main"> <div class="bannerinner"> <!----> <div class="bannerLeft" pardot-region="banner_content" pardot-region-type="WYSIWYG"> <h1>Stay in the Know</h1> <h5>The biggest stories in your community, delivered directly to your inbox.</h5> </div> <!----> <!----> <div class="bannerRight"> <div class="bxImg" pardot-region="banner_right_image" pardot-region-type="WYSIWYG"> <img src="https://storage.pardot.com/911272/1684479932RVSvPFTm/bannerImg.png" alt="Banner Right Image"></div> </div> <!----> </div> </div> </section><!-- Banner --><!-- Newsletter --><section class="newsletter"><div class="main"> <div class="innerblk"> <div class="subsblk"> <!----> <div class="subItem"> <!----> <div class="subImg set-bg bg"> <div class="get-bg" pardot-region="subscribe_box_1_image" pardot-region-type="WYSIWYG"> <img fetchpriority="high" src="https://storage.pardot.com/911272/1684479935BZoAF3Qg/Box1Img.png" alt="Box1 image"></div> </div> <!----> <!----> <div class="subbody"> <div class="subHead" pardot-region="subscribe_box_1_title_and_sub_title" pardot-region-type="WYSIWYG"> <h4>KSL.com Trending 5 </h4> <p>Weekly</p> </div> <div class="subContent"> <div class="paratxt" pardot-region="subscribe_box_1_content" pardot-region-type="WYSIWYG" data-id="22987" data-hml-enabled="1"><p>From local news to national headlines, we'll keep you up to date on the week's top stories from KSL.com.<br> 聽</p></div> </div> <div class="subCta"> <input type="checkbox" name="subscribe" id="switch1"> Subscribe <label for="switch1"></label> </div> </div> <!----> </div> <!----> <!----> <div class="subItem"> <!----> <div class="subImg set-bg bg"> <div class="get-bg" pardot-region="subscribe_box_2_image" pardot-region-type="WYSIWYG"> <img fetchpriority="high" src="https://storage.pardot.com/911272/1684479939DvCw0Y9E/Box2Img.png" alt="Box2 image"></div> </div> <!----> <!----> <div class="subbody"> <div class="subHead" pardot-region="subscribe_box_2_title_and_sub_title" pardot-region-type="WYSIWYG"> <h4>Voces de Utah</h4> <p>Bi-Monthly</p> </div> <div class="subContent"> <div class="paratxt" pardot-region="subscribe_box_2_content" pardot-region-type="WYSIWYG"> <p>The most important stories affecting Hispanic and Latino communities in Utah, from human interest pieces to recent news.</p> </div> </div> <div class="subCta"> <input type="checkbox" name="subscribe" id="switch2"> Subscribe <label for="switch2"></label> </div> </div> <!----> </div> <!----> <!----> <div class="subItem"> <!----> <div class="subImg set-bg bg"> <div class="get-bg" pardot-region="subscribe_box_3_image" pardot-region-type="WYSIWYG"> <img fetchpriority="high" src="https://storage.pardot.com/911272/1684479944evGRVicZ/Box3Img.png" alt="Box3 image"></div> </div> <!----> <!----> <div class="subbody"> <div class="subHead" pardot-region="subscribe_box_3_title_and_sub_title" pardot-region-type="WYSIWYG" data-id="22993" data-hml-enabled="1"><h4>KSL Sports</h4> <p>3x聽per week</p></div> <div class="subContent"> <div class="paratxt" pardot-region="subscribe_box_3_content" pardot-region-type="WYSIWYG" data-id="22990" data-hml-enabled="1"><p>Utes, Cougars, Aggies and all that Jazz. Your go-to newsletter for all things Utah sports.<br> 聽</p></div> </div> <div class="subCta"> <input type="checkbox" name="subscribe" id="switch3"> Subscribe <label for="switch3"></label> </div> </div> <!----> </div> <!----> <!----> <div class="subItem"> <!----> <div class="subImg set-bg bg"> <div class="get-bg" pardot-region="subscribe_box_4_image" pardot-region-type="WYSIWYG"> <img fetchpriority="high" src="https://storage.pardot.com/911272/1684479960ZS4mMICf/Box4Img.png" alt="Box4 image"></div> </div> <!----> <!----> <div class="subbody"> <div class="subHead" pardot-region="subscribe_box_4_title_and_sub_title" pardot-region-type="WYSIWYG"> <h4>Utah.com</h4> <p>Weekly</p> </div> <div class="subContent"> <div class="paratxt" pardot-region="subscribe_box_4_content" pardot-region-type="WYSIWYG"> <p>Looking for hidden gems in Utah? Consider us your jeweler. Activities and destinations for weekend warriors and world travelers alike.</p> </div> </div> <div class="subCta"> <input type="checkbox" name="subscribe" id="switch4"> Subscribe <label for="switch4"></label> </div> </div> <!----> </div> <!----> </div> </div> </div> </section><!-- Newsletter --><!-- Sign up Block --><div class="btn-group"> <button id="reopenBtn" style="display:none;">Reopen Form</button> </div> <section class="signUpblk"><button type="button" id="exitBtn" class="btn btn-exit" style="background: none; border: none;"> <svg width="24" height="24" viewbox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="11.5" stroke="#009DD6"></circle><path d="M8 8L16 16" stroke="#009DD6" stroke-width="1.5"></path><path d="M8 16L16 8" stroke="#009DD6" stroke-width="1.5"></path></svg></button> <div class="main"> <div class="newslatterCount"> <div class="icon"><img src="https://storage.pardot.com/911272/1684479970Z7kyMUEM/envelope.png" alt=""></div> <p><span id="newsletter-count">1 Newsletter</span> selected.</p> </div> <!----> <div class="mainForm"> <form name="js_form" class="form" method="post"> <div class="form-field"> <label for="email">Email Address</label> <input name="email" type="email" placeholder="Enter your email" id="email" class="form-control form-msg" required><p>By subscribing, you acknowledge and agree to KSL.com's <a href="#">Terms of Use</a> and <a href="#">Privacy Policy</a>.</p> </div> <div class="btn-group"> <button type="submit" value="Sign Me Up" id="SubmitBtn" class="btn btn-submit js_submit">Sign Me Up</button> </div> </form> <div id="js_error" style="display: none;"> Please enter valid email address. </div> <div class="thankyou" style="display: none;"> <h2>Thank You</h2> <p>We will connect you soon...</p> </div> </div> <!----> </div> </section><!-- Sign up Block --></div> <!-- midd-container Section End --> <!-- FOOTER CODE START --> <footer><div class="ksl-site-footer"> <div class="container"> <div class="inside"> <div class="top"> <a href="https://www.ksl.com/?sid=&nid=210"> <img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE3LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA4My4wOTggMTYuNjA3IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4My4wOTggMTYuNjA3IiB4bWw6c3BhY2U9InByZXNlcnZlIiBoZWlnaHQ9IjIyIiB3aWR0aD0iMTEwIj4KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTU5LjY0MSwxNi4yMDljLTMuMjkxLDAtNS43MjYtMi41MTYtNS43MjYtNS42MDRjMC0zLjEwNiwyLjQ1NC01LjY2MSw1Ljc2Ni01LjY2MQoJYzMuMzE0LDAsNS43NDUsMi41MTYsNS43NDUsNS42MjNDNjUuNDI2LDEzLjY1Miw2Mi45NzMsMTYuMjA5LDU5LjY0MSwxNi4yMDl6IE01OS42NDEsNy4xMWMtMS45ODQsMC0zLjI1MSwxLjU1NC0zLjI1MSwzLjQ1NgoJYzAsMS45MiwxLjM2OSwzLjQ5NSwzLjI5MSwzLjQ5NWMyLjAwNCwwLDMuMjcyLTEuNTU0LDMuMjcyLTMuNDU3QzYyLjk1Myw4LjY4NSw2MS41ODMsNy4xMSw1OS42NDEsNy4xMXogTTc5LjI0OSw0Ljk0MwoJYzIuMzUxLDAsMy43ODIsMS40OTIsMy43ODIsNC4xMjl2Ni44OTJoLTIuNDc1VjkuODI5YzAtMS43MTgtMC43OTctMi42MzktMi4xODctMi42MzljLTEuMzUsMC0yLjMxMSwwLjk0MS0yLjMxMSwyLjY4MXY2LjA5MwoJaC0yLjQ3NlY5LjgwOGMwLTEuNjc3LTAuODE3LTIuNjE3LTIuMTg3LTIuNjE3Yy0xLjM2OSwwLTIuMzEyLDEuMDIzLTIuMzEyLDIuN3Y2LjA3M2gtMi40NzNWNS4xNjZoMi40NzN2MS42MzcKCWMwLjY5NS0wLjk2MSwxLjYzNy0xLjg1OSwzLjI5Mi0xLjg1OWMxLjU1NCwwLDIuNjM5LDAuNzU1LDMuMjEyLDEuOUM3Ni40NjcsNS42OTgsNzcuNjEzLDQuOTQzLDc5LjI0OSw0Ljk0M3ogTTUyLjM4NCwxMi43MTMKCWMtMC43NzcsMC43OTctMS42MzcsMS4zNDktMi44MDQsMS4zNDljLTEuOSwwLTMuMjMxLTEuNTU0LTMuMjMxLTMuNDk1YzAtMS45MDIsMS4zMTEtMy40NTYsMy4xMDgtMy40NTYKCWMxLjI0OCwwLDIuMDQ3LDAuNTUxLDIuODA0LDEuMzQ5bDEuNTM0LTEuNjU2Yy0xLjAwNC0xLjEwNC0yLjI3Mi0xLjg1OS00LjMxNC0xLjg1OWMtMi45NzIsMC01LjIxLDIuMTc4LTUuNTUzLDQuOTI4CgljMC45NDcsMC44NzIsMS41NDEsMi4xMTgsMS41NDEsMy41MDVjMCwwLjM2My0wLjA0NCwwLjcxOC0wLjEyMiwxLjA1OWMxLjAwMSwxLjA4OCwyLjQzOSwxLjc3NCw0LjExLDEuNzc0CgljMi4xMDcsMCwzLjM1NS0wLjgzOCw0LjQxNy0yLjAyNEw1Mi4zODQsMTIuNzEzeiBNMzcuNjkyLDEzLjQxMWMwLDEuNjUsMS4zNDIsMi45OTQsMi45OTUsMi45OTRjMS42NTIsMCwyLjk5Ni0xLjM0NCwyLjk5Ni0yLjk5NAoJYzAtMS42NTYtMS4zNDQtMi45OTctMi45OTYtMi45OTdDMzkuMDM0LDEwLjQxNCwzNy42OTIsMTEuNzU1LDM3LjY5MiwxMy40MTEgTTM2LjU5OSwxNS44NDdIMjYuNTk0di0xLjQxMgoJYzAuNjAzLTAuOTcsMC45MTMtMi4xMDQsMC45MTMtMy4zNTJ2LTAuMDUxYzAtMS4xNzYtMC4zMTEtMi4yMzktMC45MTMtMy4xMjlWMC4yMzRoNC4xOTF2MTEuOTcxaDUuMjQ5CglDMzYuMDM0LDEyLjIwNSwzNS4zOSwxMy44NTQsMzYuNTk5LDE1Ljg0N3ogTTEwLjY0NywxNS44NTRMNiwxMC4yOTRsLTEuODIzLDIuMTMxdjMuNDI5SDBWMC4yNzFoNC4xNzd2Ni41NzFsNS41NzctNi41NzFoNC43MjMKCUw4LjQ1LDcuMzk3bDcuMTk4LDguNDU3SDEwLjY0N3ogTTI1Ljk5LDExLjA4M2MtMC4wNiwzLjEwNi0yLjQ4LDUuMDQ1LTYuMzY2LDUuMDQ1Yy0wLjc4NywwLTEuNzMxLTAuMjA4LTEuOTItMC4yNTJsLTMuOTUyLTQuODA4CgljMi43MzYsMS42MjYsNC41MDksMS42MjIsNi4wOTcsMS42MjJjMS4xOTcsMCwxLjkwNC0wLjQyNiwxLjkxOC0xLjE3NmwwLjAwMS0wLjA0OWMwLjAxNi0wLjc0OC0wLjYxNy0xLjEyLTIuNzA0LTEuNTkyCgljLTMuMTkxLTAuNzM2LTUuODQ4LTEuNjE0LTUuNzkyLTQuODY0bDAuMDAyLTAuMDQ4QzEzLjMyOCwxLjk5OCwxNS43ODYsMCwxOS4zODgsMGMyLjU0MSwwLDQuNjExLDAuNjY1LDYuMzE5LDIuMDI0bC0yLjEzMiwyLjkzOAoJYy0xLjQwMy0wLjk4MS0yLjk2NC0xLjUxOS00LjM3NC0xLjUxOWMtMS4yMjYsMC0xLjY5MiwwLjU2OS0xLjcwMiwxLjEwM3YwLjA0NWMtMC4wMTYsMC43OSwwLjU2LDEuMTE4LDIuNzgsMS42MjcKCWMzLjQ2OCwwLjc2MSw1Ljc3MSwxLjg2OCw1LjcxMiw0LjgxM0wyNS45OSwxMS4wODN6Ii8+Cjwvc3ZnPgo=" alt="ksl.com logo"></a> <div class="main_links"> <a href="https://www.ksl.com/news/apps">Mobile Apps</a> | <a href="https://www.deseretdigital.com/advertising" rel="noreferrer" target="_blank">Advertise</a> | <a href="https://www.ksl.com/news/feedback">Feedback</a> | <a href="https://www.ksl.com/?nid=205">Contact Us</a> | <a href="https://jobs.ksl.com/search/memberId/2199918" data-test="careers-with-ddm-link">Careers with DDM</a> | <a href="http://bonneville.com/careers/">Careers with KSL</a> </div> </div> <div class="legal"> <a href="https://support.ksl.com/hc/en-us/articles/1260800721790-Terms-of-Use">Terms of use</a> | <a href="https://support.ksl.com/hc/en-us/articles/1260800721670-KSL-Classifieds-Terms-of-Use">Classifieds Terms of Use</a> | <a href="https://www.ksl.com/article/50065715">Privacy Statement</a> | <a href="https://www.ksl.com/article/50065542">DMCA Notice</a> | <a href="https://www.ksl.com/eeo/EEO_Public_File.pdf">EEO Public File Report</a> | <a href="https://publicfiles.fcc.gov/tv-profile/ksl-tv">TV FCC Public File</a> | <a href="https://publicfiles.fcc.gov/am-profile/ksl">Radio FCC Public File</a> | <a href="https://www.ksl.com/article/50065799">Closed Captioning Assistance</a> </div> <div class="copyright"> 漏 2020 <span id="gpt-click-target">KSL.com</span> | KSL Broadcasting Salt Lake City UT | Site hosted & managed by <a href="http://deseretdigital.com/">Deseret Digital Media</a> - a <a href="http://deseretmediacompanies.com/">Deseret Media Company</a> </div> </div> </div> </div> <!-- this could be placed in a stylesheet or within the head tag --> <style> /* expected global styles START */ body { margin: 0; } /* expected global styles END */ .ksl-site-footer { background: #30302f; float: left; width: 100%; font-family: Nunito Sans, sans-serif; } .ksl-site-footer a { color: #fff; white-space: nowrap; text-decoration: none; } .ksl-site-footer .container { max-width: 1280px; margin: 0 auto; } .ksl-site-footer .inside { padding: 5px 5px 20px; font-size: 9px; color: #fff; } .ksl-site-footer .top { padding-bottom: 20px; } .ksl-site-footer .KSLlogo img { width: 37%; height: auto; } .ksl-site-footer .main_links { float: left; padding: 20px 0; font-size: 13px; } .ksl-site-footer .copyright { border-top: 1px dotted #fff; padding: 1em 0 0; margin: 1em 0 0; } .ksl-site-footer.fixed-footer-present:after { content: ""; display: block; height: 50px; } @media (min-width: 550px) { .ksl-site-footer .inside { padding: 10px 10px 20px; } .ksl-site-footer .KSLlogo img { width: 15%; } .ksl-site-footer .main_links { float: right; padding: initial; font-size: 11px; } } @media (min-width: 750px) { .ksl-site-footer .inside { padding: 20px; } .ksl-site-footer .main_links { font-size: 13px; } } @media (min-width: 768px) { .ksl-site-footer.fixed-footer-present:after { height: 90px; } } </style></footer><!-- FOOTER CODE END --></div> <!--scripts starts here--> <script> /*! For license information please see ksl-header.js.LICENSE.txt */ !(function (e, t) { "object" == typeof exports && "object" == typeof module ? (module.exports = t()) : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? (exports.KslHeader = t()) : (e.KslHeader = t()); })(this, function () { return (function (e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var o = (t[n] = { i: n, l: !1, exports: {} }); return e[n].call(o.exports, o, o.exports, r), (o.l = !0), o.exports; } return ( (r.m = e), (r.c = t), (r.d = function (e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }); }), (r.r = function (e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }); }), (r.t = function (e, t) { if ((1 & t && (e = r(e)), 8 & t)) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if ((r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e)) for (var o in e) r.d( n, o, function (t) { return e[t]; }.bind(null, o) ); return n; }), (r.n = function (e) { var t = e && e.__esModule ? function () { return e.default; } : function () { return e; }; return r.d(t, "a", t), t; }), (r.o = function (e, t) { return Object.prototype.hasOwnProperty.call(e, t); }), (r.p = ""), r((r.s = 25)) ); })([ function (e, t, r) { "use strict"; r.r(t), r.d(t, "h", function () { return c; }), r.d(t, "createElement", function () { return c; }), r.d(t, "cloneElement", function () { return p; }), r.d(t, "createRef", function () { return B; }), r.d(t, "Component", function () { return D; }), r.d(t, "render", function () { return H; }), r.d(t, "rerender", function () { return v; }), r.d(t, "options", function () { return o; }); var n = function () { }, o = {}, a = [], s = []; function c(e, t) { var r, c, i, l, u = s; for (l = arguments.length; l-- > 2;) a.push(arguments[l]); for (t && null != t.children && (a.length || a.push(t.children), delete t.children); a.length;) if ((c = a.pop()) && void 0 !== c.pop) for (l = c.length; l--;) a.push(c[l]); else "boolean" == typeof c && (c = null), (i = "function" != typeof e) && (null == c ? (c = "") : "number" == typeof c ? (c = String(c)) : "string" != typeof c && (i = !1)), i && r ? (u[u.length - 1] += c) : u === s ? (u = [c]) : u.push(c), (r = i); var p = new n(); return (p.nodeName = e), (p.children = u), (p.attributes = null == t ? void 0 : t), (p.key = null == t ? void 0 : t.key), void 0 !== o.vnode && o.vnode(p), p; } function i(e, t) { for (var r in t) e[r] = t[r]; return e; } function l(e, t) { e && ("function" == typeof e ? e(t) : (e.current = t)); } var u = "function" == typeof Promise ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout; function p(e, t) { return c(e.nodeName, i(i({}, e.attributes), t), arguments.length > 2 ? [].slice.call(arguments, 2) : e.children); } var f = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i, h = []; function d(e) { !e._dirty && (e._dirty = !0) && 1 == h.push(e) && (o.debounceRendering || u)(v); } function v() { for (var e; (e = h.pop());) e._dirty && L(e); } function m(e, t, r) { return "string" == typeof t || "number" == typeof t ? void 0 !== e.splitText : "string" == typeof t.nodeName ? !e._componentConstructor && y(e, t.nodeName) : r || e._componentConstructor === t.nodeName; } function y(e, t) { return e.normalizedNodeName === t || e.nodeName.toLowerCase() === t.toLowerCase(); } function g(e) { var t = i({}, e.attributes); t.children = e.children; var r = e.nodeName.defaultProps; if (void 0 !== r) for (var n in r) void 0 === t[n] && (t[n] = r[n]); return t; } function b(e) { var t = e.parentNode; t && t.removeChild(e); } function w(e, t, r, n, o) { if (("className" === t && (t = "class"), "key" === t)); else if ("ref" === t) l(r, null), l(n, e); else if ("class" !== t || o) if ("style" === t) { if (((n && "string" != typeof n && "string" != typeof r) || (e.style.cssText = n || ""), n && "object" == typeof n)) { if ("string" != typeof r) for (var a in r) a in n || (e.style[a] = ""); for (var a in n) e.style[a] = "number" == typeof n[a] && !1 === f.test(a) ? n[a] + "px" : n[a]; } } else if ("dangerouslySetInnerHTML" === t) n && (e.innerHTML = n.__html || ""); else if ("o" == t[0] && "n" == t[1]) { var s = t !== (t = t.replace(/Capture$/, "")); (t = t.toLowerCase().substring(2)), n ? r || e.addEventListener(t, _, s) : e.removeEventListener(t, _, s), ((e._listeners || (e._listeners = {}))[t] = n); } else if ("list" !== t && "type" !== t && !o && t in e) { try { e[t] = null == n ? "" : n; } catch (e) { } (null != n && !1 !== n) || "spellcheck" == t || e.removeAttribute(t); } else { var c = o && t !== (t = t.replace(/^xlink:?/, "")); null == n || !1 === n ? c ? e.removeAttributeNS("http://www.w3.org/1999/xlink", t.toLowerCase()) : e.removeAttribute(t) : "function" != typeof n && (c ? e.setAttributeNS("http://www.w3.org/1999/xlink", t.toLowerCase(), n) : e.setAttribute(t, n)); } else e.className = n || ""; } function _(e) { return this._listeners[e.type]((o.event && o.event(e)) || e); } var O = [], k = 0, x = !1, j = !1; function C() { for (var e; (e = O.shift());) o.afterMount && o.afterMount(e), e.componentDidMount && e.componentDidMount(); } function S(e, t, r, n, o, a) { k++ || ((x = null != o && void 0 !== o.ownerSVGElement), (j = null != e && !("__preactattr_" in e))); var s = A(e, t, r, n, a); return o && s.parentNode !== o && o.appendChild(s), --k || ((j = !1), a || C()), s; } function A(e, t, r, n, o) { var a = e, s = x; if (((null != t && "boolean" != typeof t) || (t = ""), "string" == typeof t || "number" == typeof t)) return ( e && void 0 !== e.splitText && e.parentNode && (!e._component || o) ? e.nodeValue != t && (e.nodeValue = t) : ((a = document.createTextNode(t)), e && (e.parentNode && e.parentNode.replaceChild(a, e), T(e, !0))), (a.__preactattr_ = !0), a ); var c, i, l = t.nodeName; if ("function" == typeof l) return (function (e, t, r, n) { var o = e && e._component, a = o, s = e, c = o && e._componentConstructor === t.nodeName, i = c, l = g(t); for (; o && !i && (o = o._parentComponent);) i = o.constructor === t.nodeName; o && i && (!n || o._component) ? (I(o, l, 3, r, n), (e = o.base)) : (a && !c && (R(a), (e = s = null)), (o = E(t.nodeName, l, r)), e && !o.nextBase && ((o.nextBase = e), (s = null)), I(o, l, 1, r, n), (e = o.base), s && e !== s && ((s._component = null), T(s, !1))); return e; })(e, t, r, n); if ( ((x = "svg" === l || ("foreignObject" !== l && x)), (l = String(l)), (!e || !y(e, l)) && ((c = l), ((i = x ? document.createElementNS("http://www.w3.org/2000/svg", c) : document.createElement(c)).normalizedNodeName = c), (a = i), e)) ) { for (; e.firstChild;) a.appendChild(e.firstChild); e.parentNode && e.parentNode.replaceChild(a, e), T(e, !0); } var u = a.firstChild, p = a.__preactattr_, f = t.children; if (null == p) { p = a.__preactattr_ = {}; for (var h = a.attributes, d = h.length; d--;) p[h[d].name] = h[d].value; } return ( !j && f && 1 === f.length && "string" == typeof f[0] && null != u && void 0 !== u.splitText && null == u.nextSibling ? u.nodeValue != f[0] && (u.nodeValue = f[0]) : ((f && f.length) || null != u) && (function (e, t, r, n, o) { var a, s, c, i, l, u = e.childNodes, p = [], f = {}, h = 0, d = 0, v = u.length, y = 0, g = t ? t.length : 0; if (0 !== v) for (var w = 0; w < v; w++) { var _ = u[w], O = _.__preactattr_; null != (k = g && O ? (_._component ? _._component.__key : O.key) : null) ? (h++, (f[k] = _)) : (O || (void 0 !== _.splitText ? !o || _.nodeValue.trim() : o)) && (p[y++] = _); } if (0 !== g) for (w = 0; w < g; w++) { var k; if (((i = t[w]), (l = null), null != (k = i.key))) h && void 0 !== f[k] && ((l = f[k]), (f[k] = void 0), h--); else if (d < y) for (a = d; a < y; a++) if (void 0 !== p[a] && m((s = p[a]), i, o)) { (l = s), (p[a] = void 0), a === y - 1 && y--, a === d && d++; break; } (l = A(l, i, r, n)), (c = u[w]), l && l !== e && l !== c && (null == c ? e.appendChild(l) : l === c.nextSibling ? b(c) : e.insertBefore(l, c)); } if (h) for (var w in f) void 0 !== f[w] && T(f[w], !1); for (; d <= y;) void 0 !== (l = p[y--]) && T(l, !1); })(a, f, r, n, j || null != p.dangerouslySetInnerHTML), (function (e, t, r) { var n; for (n in r) (t && null != t[n]) || null == r[n] || w(e, n, r[n], (r[n] = void 0), x); for (n in t) "children" === n || "innerHTML" === n || (n in r && t[n] === ("value" === n || "checked" === n ? e[n] : r[n])) || w(e, n, r[n], (r[n] = t[n]), x); })(a, t.attributes, p), (x = s), a ); } function T(e, t) { var r = e._component; r ? R(r) : (null != e.__preactattr_ && l(e.__preactattr_.ref, null), (!1 !== t && null != e.__preactattr_) || b(e), N(e)); } function N(e) { for (e = e.lastChild; e;) { var t = e.previousSibling; T(e, !0), (e = t); } } var P = []; function E(e, t, r) { var n, o = P.length; for (e.prototype && e.prototype.render ? ((n = new e(t, r)), D.call(n, t, r)) : (((n = new D(t, r)).constructor = e), (n.render = M)); o--;) if (P[o].constructor === e) return (n.nextBase = P[o].nextBase), P.splice(o, 1), n; return n; } function M(e, t, r) { return this.constructor(e, r); } function I(e, t, r, n, a) { e._disable || ((e._disable = !0), (e.__ref = t.ref), (e.__key = t.key), delete t.ref, delete t.key, void 0 === e.constructor.getDerivedStateFromProps && (!e.base || a ? e.componentWillMount && e.componentWillMount() : e.componentWillReceiveProps && e.componentWillReceiveProps(t, n)), n && n !== e.context && (e.prevContext || (e.prevContext = e.context), (e.context = n)), e.prevProps || (e.prevProps = e.props), (e.props = t), (e._disable = !1), 0 !== r && (1 !== r && !1 === o.syncComponentUpdates && e.base ? d(e) : L(e, 1, a)), l(e.__ref, e)); } function L(e, t, r, n) { if (!e._disable) { var a, s, c, l = e.props, u = e.state, p = e.context, f = e.prevProps || l, h = e.prevState || u, d = e.prevContext || p, v = e.base, m = e.nextBase, y = v || m, b = e._component, w = !1, _ = d; if ( (e.constructor.getDerivedStateFromProps && ((u = i(i({}, u), e.constructor.getDerivedStateFromProps(l, u))), (e.state = u)), v && ((e.props = f), (e.state = h), (e.context = d), 2 !== t && e.shouldComponentUpdate && !1 === e.shouldComponentUpdate(l, u, p) ? (w = !0) : e.componentWillUpdate && e.componentWillUpdate(l, u, p), (e.props = l), (e.state = u), (e.context = p)), (e.prevProps = e.prevState = e.prevContext = e.nextBase = null), (e._dirty = !1), !w) ) { (a = e.render(l, u, p)), e.getChildContext && (p = i(i({}, p), e.getChildContext())), v && e.getSnapshotBeforeUpdate && (_ = e.getSnapshotBeforeUpdate(f, h)); var x, j, A = a && a.nodeName; if ("function" == typeof A) { var N = g(a); (s = b) && s.constructor === A && N.key == s.__key ? I(s, N, 1, p, !1) : ((x = s), (e._component = s = E(A, N, p)), (s.nextBase = s.nextBase || m), (s._parentComponent = e), I(s, N, 0, p, !1), L(s, 1, r, !0)), (j = s.base); } else (c = y), (x = b) && (c = e._component = null), (y || 1 === t) && (c && (c._component = null), (j = S(c, a, p, r || !v, y && y.parentNode, !0))); if (y && j !== y && s !== b) { var P = y.parentNode; P && j !== P && (P.replaceChild(j, y), x || ((y._component = null), T(y, !1))); } if ((x && R(x), (e.base = j), j && !n)) { for (var M = e, D = e; (D = D._parentComponent);) (M = D).base = j; (j._component = M), (j._componentConstructor = M.constructor); } } for (!v || r ? O.push(e) : w || (e.componentDidUpdate && e.componentDidUpdate(f, h, _), o.afterUpdate && o.afterUpdate(e)); e._renderCallbacks.length;) e._renderCallbacks.pop().call(e); k || n || C(); } } function R(e) { o.beforeUnmount && o.beforeUnmount(e); var t = e.base; (e._disable = !0), e.componentWillUnmount && e.componentWillUnmount(), (e.base = null); var r = e._component; r ? R(r) : t && (null != t.__preactattr_ && l(t.__preactattr_.ref, null), (e.nextBase = t), b(t), P.push(e), N(t)), l(e.__ref, null); } function D(e, t) { (this._dirty = !0), (this.context = t), (this.props = e), (this.state = this.state || {}), (this._renderCallbacks = []); } function H(e, t, r) { return S(r, e, {}, !1, t, !1); } function B() { return {}; } i(D.prototype, { setState: function (e, t) { this.prevState || (this.prevState = this.state), (this.state = i(i({}, this.state), "function" == typeof e ? e(this.state, this.props) : e)), t && this._renderCallbacks.push(t), d(this); }, forceUpdate: function (e) { e && this._renderCallbacks.push(e), L(this, 2); }, render: function () { }, }); var U = { h: c, createElement: c, cloneElement: p, createRef: B, Component: D, render: H, rerender: v, options: o }; t.default = U; }, function (e, t) { (e.exports = function (e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e; }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t) { (e.exports = function (e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t) { function r(t) { return ( (e.exports = r = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) { return e.__proto__ || Object.getPrototypeOf(e); }), (e.exports.default = e.exports), (e.exports.__esModule = !0), r(t) ); } (e.exports = r), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t) { (e.exports = function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t) { function r(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; (n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } (e.exports = function (e, t, n) { return t && r(e.prototype, t), n && r(e, n), e; }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t, r) { var n = r(26); (e.exports = function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), t && n(e, t); }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t, r) { var n = r(16).default, o = r(2); (e.exports = function (e, t) { return !t || ("object" !== n(t) && "function" != typeof t) ? o(e) : t; }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t, r) { var n; !(function () { "use strict"; var r = {}.hasOwnProperty; function o() { for (var e = [], t = 0; t < arguments.length; t++) { var n = arguments[t]; if (n) { var a = typeof n; if ("string" === a || "number" === a) e.push(n); else if (Array.isArray(n) && n.length) { var s = o.apply(null, n); s && e.push(s); } else if ("object" === a) for (var c in n) r.call(n, c) && n[c] && e.push(c); } } return e.join(" "); } e.exports ? ((o.default = o), (e.exports = o)) : void 0 === (n = function () { return o; }.apply(t, [])) || (e.exports = n); })(); }, function (e, t) { function r() { return ( (e.exports = r = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]); } return e; }), (e.exports.default = e.exports), (e.exports.__esModule = !0), r.apply(this, arguments) ); } (e.exports = r), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t, r) { var n = r(28); (e.exports = function (e, t) { if (null == e) return {}; var r, o, a = n(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (o = 0; o < s.length; o++) (r = s[o]), t.indexOf(r) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, r) && (a[r] = e[r])); } return a; }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t, r) { e.exports = r(27); }, function (e, t, r) { var n = r(29), o = r(30), a = r(31), s = r(33); (e.exports = function (e, t) { return n(e) || o(e, t) || a(e, t) || s(); }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t) { function r(e, t, r, n, o, a, s) { try { var c = e[a](s), i = c.value; } catch (e) { return void r(e); } c.done ? t(i) : Promise.resolve(i).then(n, o); } (e.exports = function (e) { return function () { var t = this, n = arguments; return new Promise(function (o, a) { var s = e.apply(t, n); function c(e) { r(s, o, a, c, i, "next", e); } function i(e) { r(s, o, a, c, i, "throw", e); } c(void 0); }); }; }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t, r) { "use strict"; var n = r(41); e.exports = Function.prototype.bind || n; }, function (e, t, r) { "use strict"; var n = r(18), o = "function" == typeof Symbol && "symbol" == typeof Symbol("foo"), a = Object.prototype.toString, s = Array.prototype.concat, c = Object.defineProperty, i = c && (function () { var e = {}; try { for (var t in (c(e, "x", { enumerable: !1, value: e }), e)) return !1; return e.x === e; } catch (e) { return !1; } })(), l = function (e, t, r, n) { var o; (!(t in e) || ("function" == typeof (o = n) && "[object Function]" === a.call(o) && n())) && (i ? c(e, t, { configurable: !0, enumerable: !1, value: r, writable: !0 }) : (e[t] = r)); }, u = function (e, t) { var r = arguments.length > 2 ? arguments[2] : {}, a = n(t); o && (a = s.call(a, Object.getOwnPropertySymbols(t))); for (var c = 0; c < a.length; c += 1) l(e, a[c], t[a[c]], r[a[c]]); }; (u.supportsDescriptors = !!i), (e.exports = u); }, function (e, t) { function r(t) { return ( "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? ((e.exports = r = function (e) { return typeof e; }), (e.exports.default = e.exports), (e.exports.__esModule = !0)) : ((e.exports = r = function (e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; }), (e.exports.default = e.exports), (e.exports.__esModule = !0)), r(t) ); } (e.exports = r), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t, r) { "use strict"; var n = Object.prototype.hasOwnProperty, o = Object.prototype.toString, a = Object.defineProperty, s = Object.getOwnPropertyDescriptor, c = function (e) { return "function" == typeof Array.isArray ? Array.isArray(e) : "[object Array]" === o.call(e); }, i = function (e) { if (!e || "[object Object]" !== o.call(e)) return !1; var t, r = n.call(e, "constructor"), a = e.constructor && e.constructor.prototype && n.call(e.constructor.prototype, "isPrototypeOf"); if (e.constructor && !r && !a) return !1; for (t in e); return void 0 === t || n.call(e, t); }, l = function (e, t) { a && "__proto__" === t.name ? a(e, t.name, { enumerable: !0, configurable: !0, value: t.newValue, writable: !0 }) : (e[t.name] = t.newValue); }, u = function (e, t) { if ("__proto__" === t) { if (!n.call(e, t)) return; if (s) return s(e, t).value; } return e[t]; }; e.exports = function e() { var t, r, n, o, a, s, p = arguments[0], f = 1, h = arguments.length, d = !1; for ("boolean" == typeof p && ((d = p), (p = arguments[1] || {}), (f = 2)), (null == p || ("object" != typeof p && "function" != typeof p)) && (p = {}); f < h; ++f) if (null != (t = arguments[f])) for (r in t) (n = u(p, r)), p !== (o = u(t, r)) && (d && o && (i(o) || (a = c(o))) ? (a ? ((a = !1), (s = n && c(n) ? n : [])) : (s = n && i(n) ? n : {}), l(p, { name: r, newValue: e(d, s, o) })) : void 0 !== o && l(p, { name: r, newValue: o })); return p; }; }, function (e, t, r) { "use strict"; var n = Array.prototype.slice, o = r(19), a = Object.keys, s = a ? function (e) { return a(e); } : r(36), c = Object.keys; (s.shim = function () { Object.keys ? (function () { var e = Object.keys(arguments); return e && e.length === arguments.length; })(1, 2) || (Object.keys = function (e) { return o(e) ? c(n.call(e)) : c(e); }) : (Object.keys = s); return Object.keys || s; }), (e.exports = s); }, function (e, t, r) { "use strict"; var n = Object.prototype.toString; e.exports = function (e) { var t = n.call(e), r = "[object Arguments]" === t; return r || (r = "[object Array]" !== t && null !== e && "object" == typeof e && "number" == typeof e.length && e.length >= 0 && "[object Function]" === n.call(e.callee)), r; }; }, function (e, t, r) { "use strict"; var n = Object, o = TypeError; e.exports = function () { if (null != this && this !== n(this)) throw new o("RegExp.prototype.flags getter called on non-object"); var e = ""; return this.global && (e += "g"), this.ignoreCase && (e += "i"), this.multiline && (e += "m"), this.dotAll && (e += "s"), this.unicode && (e += "u"), this.sticky && (e += "y"), e; }; }, function (e, t, r) { "use strict"; var n = r(20), o = r(15).supportsDescriptors, a = Object.getOwnPropertyDescriptor, s = TypeError; e.exports = function () { if (!o) throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors"); if ("gim" === /a/gim.flags) { var e = a(RegExp.prototype, "flags"); if (e && "function" == typeof e.get && "boolean" == typeof /a/.dotAll) return e.get; } return n; }; }, function (e, t) { e.exports = { getDefaultProps: function () { return { injectStyles: !0, features: { hidden: !1, headerIsResponsive: !0 }, search: { action: "", hidden: !1 }, account: { name: null, links: [] }, nav: { nofollowAll: !1, activePath: "", hrefBase: "//www.ksl.com", items: { news: { text: "", items: { home: { text: "News", href: "/", items: { newsHome: { text: "News Home", href: "/", sizes: ["small"] }, coronavirus: { text: "Coronavirus", href: "/news/coronavirus" }, utah: { text: "Utah", href: "/news/utah" }, southernutah: { text: "Southern Utah", href: "/news/southern-utah" }, idaho: { text: "Idaho", href: "/news/idaho" }, features: { text: "Features", href: "/news/features" }, us: { text: "U.S.", href: "/news/us" }, world: { text: "World", href: "/news/world" }, politics: { text: "Politics", href: "/news/politics" }, traffic: { text: "Traffic", href: "/news/traffic" }, business: { text: "Business", href: "/news/business" }, pics: { text: "Entertainment", href: "/news/entertainment" }, outdoors: { text: "Outdoors", href: "/news/outdoors" }, }, }, sports: { text: "Sports", href: "/sports", items: { sportsHome: { text: "Sports Home", href: "/sports", sizes: ["small"] }, jazz: { text: "Utah Jazz", href: "/sports/utah-jazz" }, byu: { text: "BYU Cougars", href: "/sports/byu-cougars" }, uofu: { text: "Utah Utes", href: "/sports/utah-utes" }, pac12: { text: "Pac-12 Hotline", href: "/sports/pac-12-hotline" }, usu: { text: "Utah State Aggies", href: "/sports/utah-state-aggies" }, weber: { text: "Weber State Wildcats", href: "/sports/weber-state-wildcats" }, rsl: { text: "Real Salt Lake", href: "/sports/real-salt-lake" }, nationalSports: { text: "National", href: "/sports/national" }, pickem: { text: "Pick'em", href: "/sports/pickem" }, prep: { text: "High School", href: "/sports/high-school" }, scores: { text: "Scores", href: "/sports/stats/scoreboard" }, stats: { text: "Stats", href: "/sports/stats-and-scores" }, }, }, brandview: { text: "Brandview", href: "/brandview", items: { branviewHome: { text: "BrandView Home", href: "/brandview", sizes: ["small"] }, braddebrylaw: { text: "Brad DeBry Law", href: "/brandview/brad-debry-law" }, thedriversseat: { text: "The Driver's Seat", href: "/brandview/the-drivers-seat" }, minkycouture: { text: "Minky Couture", href: "/brandview/minky-couture" }, saltlakechamber: { text: "Salt Lake Chamber", href: "/brandview/salt-lake-chamber" }, uofuh: { text: "U of U Health", href: "/brandview/u-of-u-health-care" }, utahadventures: { text: "Utah Adventures", href: "/brandview/utah-adventures" }, intermountainhealthcare: { text: "Intermountain Healthcare", href: "/brandview/intermountain-healthcare" }, utahofficeoftourism: { text: "Utah Office of Tourism", href: "/brandview/utah-office-of-tourism" }, accidentresourcecenter: { text: "Accident Resource Center", href: "/brandview/accident-resource-center" }, homie: { text: "Homie", href: "/brandview/homie" }, retirementplanning: { text: "Retirement Planning", href: "/brandview/retirement-planning" }, }, }, tv: { text: "TV", href: "https://www.ksltv.com", items: { tvHome: { text: "TV Home", href: "https://www.ksltv.com", sizes: ["small"] }, watchlive: { text: "Watch Live", href: "https://live.ksl.com" }, tvmeetourteam: { text: "Meet Our Team", href: "https://www.ksltv.com/meet-our-team" }, tvcontests: { text: "Contests & Promotions", href: "https://www.ksltv.com/category/contests/" }, kslinvestigators: { text: "KSL Investigators", href: "https://www.ksltv.com/category/kslinvestigates/" }, high5: { text: "High 5", href: "https://www.ksltv.com/category/high-5/" }, studio5: { text: "Studio 5", href: "https://studio5.ksl.com" }, tvoutdoors: { text: "Outdoors with Adam Eakle", href: "https://www.ksl.com/?nid=1113&sid=17217040" }, yourlife: { text: "Your Life Your Health", href: "https://www.ksl.com/?nid=1174" }, wednesdayschild: { text: "Wednesday's Child", href: "https://www.ksltv.com/category/wednesdays-child/" }, readtoday: { text: "Read Today", href: "http://www.readtoday.com" }, programguide: { text: "Program Guide", href: "https://ksltv.com/ksl-tv-program-guide/" }, }, }, radio: { text: "Radio", href: "https://kslnewsradio.com", items: { radioHome: { text: "Radio Home", href: "https://kslnewsradio.com", sizes: ["small"] }, listenlive: { text: "Listen Live", href: "https://kslnewsradio.com/listen/", target: "_blank" }, storyaudio: { text: "Top Stories", href: "https://kslnewsradio.com" }, kslschedule: { text: "KSL Schedule", href: "https://kslnewsradio.com/schedule/" }, podcasts: { text: "Podcasts", href: "https://kslnewsradio.com/category/podcasts" }, radiomeetourteam: { text: "Meet Our Team", href: "https://kslnewsradio.com/meet-our-team/" }, radiocontests: { text: "Contests & Promotions", href: "https://kslnewsradio.com/category/contests" }, newslettersignup: { text: "Newsletter Signup", href: "https://kslnewsradio.com/subscribe-to-the-ksl-newsradio-newsletter/" }, }, }, live: { text: "Live", href: "https://live.ksl.com" }, obituaries: { text: "Obituaries", hrefBase: "https://www.thememories.com", href: "/ksl/obituaries", items: { obituariesHome: { text: "Obituaries Home", href: "/ksl/obituaries", sizes: ["small"] }, createlifestory: { text: "Create Life Story", href: "/ksl/obituaries/create-life-story", rel: "nofollow" }, mylifestories: { text: "My Life Stories", href: "/ksl/obituaries/account", rel: "nofollow" }, }, }, weather: { text: "Weather", href: "/weather/forecast", sizes: ["small"] }, }, }, weather: { text: "Weather", href: "/weather/forecast", items: { weatherHome: { text: "Weather Home", href: "/weather/forecast" }, vortex: { text: "VORTEX", href: "/weather/radar" }, microcast: { text: "MicroCast", href: "/weather/microcast" }, conditions: { text: "Current Conditions", href: "/weather/currents" }, cameras: { text: "Cameras", href: "/weather/cameras" }, photocontest: { text: "Photo Contest", href: "/weather/photoContest" }, alerts: { text: "Weather Alerts", href: "/weather/alerts" }, weatherplanner: { text: "Outdoor Weather Planner", href: "/weather/outdoorPlanner" }, airquality: { text: "Air Quality", href: "/weather/airQuality" }, weatherworks: { text: "Weather Works", href: "/weather/weatherWorks" }, snowpack: { text: "Snowpack", href: "/weather/snowpack" }, skireport: { text: "Ski Report", href: "/weather/skiReport" }, }, }, marketplace: { text: "Marketplace", items: { classifieds: { text: "Classifieds", href: "https://classifieds.ksl.com", items: { classifieds: { text: "Classifieds Home", href: "https://classifieds.ksl.com", sizes: ["small"] }, myAds: { text: "My Listings", href: "https://myaccount.ksl.com/listings?vertical=Classifieds", rel: "nofollow" }, favorites: { text: "Favorites", href: "https://myaccount.ksl.com/favorites?section=Classifieds", rel: "nofollow" }, savedSearches: { text: "Saved Searches", href: "/myaccount/saved-searches-classified", rel: "nofollow" }, placeAnAd: { text: "Add Listing", href: "https://classifieds.ksl.com/sell", rel: "nofollow" }, support: { text: "Support", href: "https://support.ksl.com/hc/en-us" }, }, }, cars: { text: "Cars", href: "https://cars.ksl.com", items: { cars: { text: "Cars Home", href: "https://cars.ksl.com", sizes: ["small"] }, myAds: { text: "My Listings", href: "https://myaccount.ksl.com/listings?vertical=Cars", rel: "nofollow" }, favorites: { text: "Favorites", href: "https://myaccount.ksl.com/favorites?section=Cars", rel: "nofollow" }, savedSearches: { text: "Saved Searches", href: "/myaccount/saved-searches-car", rel: "nofollow" }, placeAnAd: { text: "Add Listing", href: "https://cars.ksl.com/sell", rel: "nofollow" }, resources: { text: "Resources", href: "https://cars.ksl.com/resources", rel: "nofollow" }, support: { text: "Support", href: "https://support.ksl.com/hc/en-us" }, }, }, homes: { text: "Homes", href: "https://homes.ksl.com", items: { homes: { text: "Homes Home", href: "https://homes.ksl.com", sizes: ["small"] }, myAds: { text: "My Listings", href: "https://myaccount.ksl.com/listings?vertical=Homes", rel: "nofollow" }, favorites: { text: "Favorites", href: "https://myaccount.ksl.com/favorites?section=Homes", rel: "nofollow" }, savedSearches: { text: "Saved Searches", href: "https://myaccount.ksl.com/alerts?vertical=Homes", rel: "nofollow" }, placeAnAd: { text: "Add Listing", href: "https://homes.ksl.com/sell/sell-choice", rel: "nofollow" }, support: { text: "Support", href: "https://support.ksl.com/hc/en-us" }, }, }, jobs: { text: "Jobs", href: "https://jobs.ksl.com", items: { jobs: { text: "Jobs Home", href: "https://jobs.ksl.com", sizes: ["small"] }, myAds: { text: "My Listings", href: "https://myaccount.ksl.com/listings?vertical=Jobs", rel: "nofollow" }, favorites: { text: "Favorites", href: "https://myaccount.ksl.com/favorites?section=Jobs", rel: "nofollow" }, savedSearches: { text: "Saved Searches", href: "/myaccount/saved-searches-job", rel: "nofollow" }, placeAnAd: { text: "Add Listing", href: "https://jobs.ksl.com/edit", rel: "nofollow" }, }, }, services: { text: "Services", href: "https://services.ksl.com", items: { services: { text: "Services Home", href: "https://services.ksl.com", sizes: ["small"] }, myAds: { text: "My Listings", href: "https://myaccount.ksl.com/listings?vertical=Services", rel: "nofollow" }, listABusiness: { text: "List a Business", href: "https://classifieds.ksl.com/services/sell", rel: "nofollow" }, support: { text: "Support", href: "https://services.ksl.com/faq" }, }, }, }, }, account: { hrefBase: { protocol: "https://" }, items: { placeAnAd: { loggedIn: !0, text: "Add Listing", icon: "add", items: { generalClassifieds: { text: "Classifieds", href: "https://classifieds.ksl.com/sell", rel: "nofollow" }, cars: { text: "Cars", href: "https://cars.ksl.com/sell", rel: "nofollow" }, homes: { text: "Homes", href: "https://homes.ksl.com/sell/sell-choice", rel: "nofollow" }, jobs: { text: "Jobs", href: "https://jobs.ksl.com/edit", rel: "nofollow" }, services: { text: "Services", href: "https://classifieds.ksl.com/services/sell/", rel: "nofollow" }, }, }, myListings: { loggedIn: !0, text: "My Listings", icon: "couch", items: { generalClassifieds: { text: "Classifieds", href: "https://myaccount.ksl.com/listings?vertical=Classifieds", rel: "nofollow" }, cars: { text: "Cars", href: "https://myaccount.ksl.com/listings?vertical=Cars", rel: "nofollow" }, homes: { text: "Homes", href: "https://myaccount.ksl.com/listings?vertical=Homes", rel: "nofollow" }, jobs: { text: "Jobs", href: "https://myaccount.ksl.com/listings?vertical=Jobs", rel: "nofollow" }, services: { text: "Services", href: "https://myaccount.ksl.com/listings?vertical=Services", rel: "nofollow" }, }, }, favorites: { loggedIn: !0, text: "Favorites", icon: "favorites", items: { generalClassifieds: { text: "Classifieds", href: "https://myaccount.ksl.com/favorites?section=Classifieds", rel: "nofollow" }, cars: { text: "Cars", href: "https://myaccount.ksl.com/favorites?section=Cars", rel: "nofollow" }, homes: { text: "Homes", href: "https://myaccount.ksl.com/favorites?section=Homes", rel: "nofollow" }, jobs: { text: "Jobs", href: "https://myaccount.ksl.com/favorites?section=Jobs", rel: "nofollow" }, }, }, savedSearches: { showAlertCounts: !0, loggedIn: !0, text: "Saved Searches", icon: "save", items: { generalClassifieds: { text: "Classifieds", href: "https://myaccount.ksl.com/alerts?vertical=Classifieds", rel: "nofollow" }, cars: { text: "Cars", href: "https://myaccount.ksl.com/alerts?vertical=Cars", rel: "nofollow" }, homes: { text: "Homes", href: "https://myaccount.ksl.com/alerts?vertical=Homes", rel: "nofollow" }, jobs: { text: "Jobs", href: "https://myaccount.ksl.com/alerts?vertical=Jobs", rel: "nofollow" }, }, }, support: { text: "Support", icon: "support", href: "https://support.ksl.com/hc/en-us" }, signup: { href: function () { var e = "/public/member/new"; "undefined" != typeof document && (e = e + "?login_forward=" + encodeURIComponent(document.URL)); return e; }, }, login: { href: function () { var e = "/public/member/login"; "undefined" != typeof document && (e = e + "?login_forward=" + encodeURIComponent(document.URL)); return e; }, }, logout: { href: function () { var e = "/public/member/logout"; "undefined" != typeof document && (e = e + "?logout_forward=" + encodeURIComponent(document.URL)); return e; }, }, account: { icon: "account", text: "Account", href: "/public/member/home" }, }, }, }, }, }; }, }; }, function (e, t, r) { e.exports = (function (e) { "use strict"; !(function () { function e(e) { this.value = e; } function t(t) { var r, n; function o(r, n) { try { var s = t[r](n), c = s.value; c instanceof e ? Promise.resolve(c.value).then( function (e) { o("next", e); }, function (e) { o("throw", e); } ) : a(s.done ? "return" : "normal", s.value); } catch (e) { a("throw", e); } } function a(e, t) { switch (e) { case "return": r.resolve({ value: t, done: !0 }); break; case "throw": r.reject(t); break; default: r.resolve({ value: t, done: !1 }); } (r = r.next) ? o(r.key, r.arg) : (n = null); } (this._invoke = function (e, t) { return new Promise(function (a, s) { var c = { key: e, arg: t, resolve: a, reject: s, next: null }; n ? (n = n.next = c) : ((r = n = c), o(e, t)); }); }), "function" != typeof t.return && (this.return = void 0); } "function" == typeof Symbol && Symbol.asyncIterator && (t.prototype[Symbol.asyncIterator] = function () { return this; }), (t.prototype.next = function (e) { return this._invoke("next", e); }), (t.prototype.throw = function (e) { return this._invoke("throw", e); }), (t.prototype.return = function (e) { return this._invoke("return", e); }); })(); var t = function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); }, r = function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } })), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : (e.__proto__ = t)); }, n = function (e, t) { if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return !t || ("object" != typeof t && "function" != typeof t) ? e : t; }, o = (function (o) { function s() { return t(this, s), n(this, o.apply(this, arguments)); } return ( r(s, o), (s.prototype.componentDidUpdate = function (e) { for (var t in e) if (e[t] !== this.props[t]) return setTimeout(this.renderLayer); }), (s.prototype.componentDidMount = function () { (this.isMounted = !0), (this.renderLayer = this.renderLayer.bind(this)), this.renderLayer(); }), (s.prototype.componentWillUnmount = function () { this.renderLayer(!1), (this.isMounted = !1), this.remote && this.remote.parentNode.removeChild(this.remote); }), (s.prototype.findNode = function (e) { return "string" == typeof e ? document.querySelector(e) : e; }), (s.prototype.renderLayer = function () { var t = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0]; this.isMounted && (this.props.into !== this.intoPointer && ((this.intoPointer = this.props.into), this.into && this.remote && (this.remote = e.render(e.h(a, null), this.into, this.remote)), (this.into = this.findNode(this.props.into))), (this.remote = e.render(e.h(a, { context: this.context }, (t && this.props.children) || null), this.into, this.remote))); }), (s.prototype.render = function () { return null; }), s ); })(e.Component), a = (function (e) { function o() { return t(this, o), n(this, e.apply(this, arguments)); } return ( r(o, e), (o.prototype.getChildContext = function () { return this.props.context; }), (o.prototype.render = function (e) { var t = e.children; return (t && t[0]) || null; }), o ); })(e.Component); return o; })(r(0)); }, function (e, t, r) { t.__esModule = !0; var n = (function () { function e(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; (n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n); } } return function (t, r, n) { return r && e(t.prototype, r), n && e(t, n), t; }; })(), o = Object.assign || function (e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]); } return e; }, a = r(0), s = u(r(34)), c = u(r(35)), i = u(r(50)), l = r(51); function u(e) { return e && e.__esModule ? e : { default: e }; } function p(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } function f(e, t) { if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return !t || ("object" != typeof t && "function" != typeof t) ? e : t; } function h(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e; } var d, v, m, y = "data-preact-helmet", g = function (e) { return String(e).replace(/&/g, "&").replace(/, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"); }, b = function (e, t) { for (var r = e.length - 1; r >= 0; r--) { var n = e[r]; if (n[t]) return n[t]; } return null; }, w = function (e) { var t = b(e, "title"), r = b(e, "titleTemplate"); if (r && t) return r.replace(/%s/g, function () { return t; }); var n = b(e, "defaultTitle"); return t || n || ""; }, _ = function (e) { return b(e, "onChangeClientState") || function () { }; }, O = function (e, t) { return t .filter(function (t) { return void 0 !== t[e]; }) .map(function (t) { return t[e]; }) .reduce(function (e, t) { return o({}, e, t); }, {}); }, k = function (e, t) { return t .filter(function (e) { return void 0 !== e[l.TAG_NAMES.BASE]; }) .map(function (e) { return e[l.TAG_NAMES.BASE]; }) .reverse() .reduce(function (t, r) { if (!t.length) for (var n = Object.keys(r), o = 0; o < n.length; o++) { var a = n[o].toLowerCase(); if (-1 !== e.indexOf(a) && r[a]) return t.concat(r); } return t; }, []); }, x = function (e, t, r) { var n = {}; return r .filter(function (t) { return void 0 !== t[e]; }) .map(function (t) { return t[e]; }) .reverse() .reduce(function (e, r) { var o = {}; r.filter(function (e) { for (var r = void 0, a = Object.keys(e), s = 0; s < a.length; s++) { var c = a[s], i = c.toLowerCase(); -1 === t.indexOf(i) || (r === l.TAG_PROPERTIES.REL && "canonical" === e[r].toLowerCase()) || (i === l.TAG_PROPERTIES.REL && "stylesheet" === e[i].toLowerCase()) || (r = i), -1 === t.indexOf(c) || (c !== l.TAG_PROPERTIES.INNER_HTML && c !== l.TAG_PROPERTIES.CSS_TEXT && c !== l.TAG_PROPERTIES.ITEM_PROP) || (r = c); } if (!r || !e[r]) return !1; var u = e[r].toLowerCase(); return n[r] || (n[r] = {}), o[r] || (o[r] = {}), !n[r][u] && ((o[r][u] = !0), !0); }) .reverse() .forEach(function (t) { return e.push(t); }); for (var a = Object.keys(o), s = 0; s < a.length; s++) { var c = a[s], u = (0, i.default)({}, n[c], o[c]); n[c] = u; } return e; }, []) .reverse(); }, j = function (e, t) { for (var r = document.getElementsByTagName(e)[0], n = r.getAttribute(y), o = n ? n.split(",") : [], a = [].concat(o), s = Object.keys(t), c = 0; c < s.length; c++) { var i = s[c], l = t[i] || ""; r.setAttribute(i, l), -1 === o.indexOf(i) && o.push(i); var u = a.indexOf(i); -1 !== u && a.splice(u, 1); } for (var p = a.length - 1; p >= 0; p--) r.removeAttribute(a[p]); o.length === a.length ? r.removeAttribute(y) : r.setAttribute(y, o.join(",")); }, C = function (e, t) { var r = document.head || document.querySelector("head"), n = r.querySelectorAll(e + "[" + y + "]"), o = Array.prototype.slice.call(n), a = [], s = void 0; return ( t && t.length && t.forEach(function (t) { var r = document.createElement(e); for (var n in t) if (t.hasOwnProperty(n)) if ("innerHTML" === n) r.innerHTML = t.innerHTML; else if ("cssText" === n) r.styleSheet ? (r.styleSheet.cssText = t.cssText) : r.appendChild(document.createTextNode(t.cssText)); else { var c = void 0 === t[n] ? "" : t[n]; r.setAttribute(n, c); } r.setAttribute(y, "true"), o.some(function (e, t) { return (s = t), r.isEqualNode(e); }) ? o.splice(s, 1) : a.push(r); }), o.forEach(function (e) { return e.parentNode.removeChild(e); }), a.forEach(function (e) { return r.appendChild(e); }), { oldTags: o, newTags: a } ); }, S = function (e) { return Object.keys(e).reduce(function (t, r) { var n = void 0 !== e[r] ? r + '="' + e[r] + '"' : "" + r; return t ? t + " " + n : n; }, ""); }, A = function (e, t) { switch (e) { case l.TAG_NAMES.TITLE: return { toComponent: function () { return ( (e = t.title), (r = t.titleAttributes), (n = h({ key: e }, y, !0)), (o = Object.keys(r).reduce(function (e, t) { return (e[t] = r[t]), e; }, n)), [(0, a.h)(l.TAG_NAMES.TITLE, o, e)] ); var e, r, n, o; }, toString: function () { return (function (e, t, r) { var n = S(r); return n ? "<" + e + " " + y + " " + n + ">" + g(t) + "</" + e + ">" : "<" + e + " " + y + ">" + g(t) + "</" + e + ">"; })(e, t.title, t.titleAttributes); }, }; case l.TAG_NAMES.HTML: return { toComponent: function () { return t; }, toString: function () { return S(t); }, }; default: return { toComponent: function () { return (function (e, t) { return t.map(function (t, r) { var n = h({ key: r }, y, !0); return ( Object.keys(t).forEach(function (e) { var r = e; if ("innerHTML" === r || "cssText" === r) { var o = t.innerHTML || t.cssText; n.dangerouslySetInnerHTML = { __html: o }; } else n[r] = t[e]; }), (0, a.h)(e, n) ); }); })(e, t); }, toString: function () { return (function (e, t) { return t.reduce(function (t, r) { var n = Object.keys(r) .filter(function (e) { return !("innerHTML" === e || "cssText" === e); }) .reduce(function (e, t) { var n = void 0 === r[t] ? t : t + '="' + g(r[t]) + '"'; return e ? e + " " + n : n; }, ""), o = r.innerHTML || r.cssText || "", a = -1 === [l.TAG_NAMES.NOSCRIPT, l.TAG_NAMES.SCRIPT, l.TAG_NAMES.STYLE].indexOf(e); return t + "<" + e + " " + y + " " + n + (a ? ">" : ">" + o + "</" + e + ">"); }, ""); })(e, t); }, }; } }, T = function (e) { var t = e.htmlAttributes, r = e.title, n = e.titleAttributes, o = e.baseTag, a = e.metaTags, s = e.linkTags, c = e.scriptTags, i = e.noscriptTags, u = e.styleTags; return { htmlAttributes: A(l.TAG_NAMES.HTML, t), title: A(l.TAG_NAMES.TITLE, { title: r, titleAttributes: n }), base: A(l.TAG_NAMES.BASE, o), meta: A(l.TAG_NAMES.META, a), link: A(l.TAG_NAMES.LINK, s), script: A(l.TAG_NAMES.SCRIPT, c), noscript: A(l.TAG_NAMES.NOSCRIPT, i), style: A(l.TAG_NAMES.STYLE, u), }; }, N = (0, s.default)( function (e) { return { htmlAttributes: O(l.TAG_NAMES.HTML, e), title: w(e), titleAttributes: O("titleAttributes", e), baseTag: k([l.TAG_PROPERTIES.HREF], e), metaTags: x(l.TAG_NAMES.META, [l.TAG_PROPERTIES.NAME, l.TAG_PROPERTIES.CHARSET, l.TAG_PROPERTIES.HTTPEQUIV, l.TAG_PROPERTIES.PROPERTY, l.TAG_PROPERTIES.ITEM_PROP], e), linkTags: x(l.TAG_NAMES.LINK, [l.TAG_PROPERTIES.REL, l.TAG_PROPERTIES.HREF], e), scriptTags: x(l.TAG_NAMES.SCRIPT, [l.TAG_PROPERTIES.SRC, l.TAG_PROPERTIES.INNER_HTML], e), noscriptTags: x(l.TAG_NAMES.NOSCRIPT, [l.TAG_PROPERTIES.INNER_HTML], e), styleTags: x(l.TAG_NAMES.STYLE, [l.TAG_PROPERTIES.CSS_TEXT], e), onChangeClientState: _(e), }; }, function (e) { var t = e.htmlAttributes, r = e.title, n = e.titleAttributes, o = e.baseTag, a = e.metaTags, s = e.linkTags, c = e.scriptTags, i = e.noscriptTags, u = e.styleTags, p = e.onChangeClientState; j("html", t), (function (e, t) { (document.title = e || document.title), j(l.TAG_NAMES.TITLE, t); })(r, n); var f = { baseTag: C(l.TAG_NAMES.BASE, o), metaTags: C(l.TAG_NAMES.META, a), linkTags: C(l.TAG_NAMES.LINK, s), scriptTags: C(l.TAG_NAMES.SCRIPT, c), noscriptTags: C(l.TAG_NAMES.NOSCRIPT, i), styleTags: C(l.TAG_NAMES.STYLE, u), }, h = {}, d = {}; Object.keys(f).forEach(function (e) { var t = f[e], r = t.newTags, n = t.oldTags; r.length && (h[e] = r), n.length && (d[e] = f[e].oldTags); }), p(e, h, d); }, T )(function () { return null; }); (t.default = ((d = N), (m = v = (function (e) { function t() { return p(this, t), f(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments)); } return ( (function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } })), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : (e.__proto__ = t)); })(t, e), n( t, [ { key: "shouldComponentUpdate", value: function (e) { var t = o({}, e); return (t.children && t.children.length) || delete t.children, !(0, c.default)(this.props, t); }, }, { key: "render", value: function () { return (0, a.h)(d, this.props); }, }, ], [ { key: "canUseDOM", set: function (e) { d.canUseDOM = e; }, }, ] ), t ); })(a.Component)), (v.peek = d.peek), (v.rewind = function () { var e = d.rewind(); return e || (e = T({ htmlAttributes: {}, title: "", titleAttributes: {}, baseTag: [], metaTags: [], linkTags: [], scriptTags: [], noscriptTags: [], styleTags: [] })), e; }), m)), (e.exports = t.default); }, function (e, t, r) { "use strict"; r.r(t); var n = r(9), o = r.n(n), a = r(13), s = r.n(a), c = r(4), i = r.n(c), l = r(5), u = r.n(l), p = r(2), f = r.n(p), h = r(6), d = r.n(h), v = r(7), m = r.n(v), y = r(3), g = r.n(y), b = r(1), w = r.n(b), _ = r(11), O = r.n(_), k = r(0); function x(e) { return function () { var t, r = g()(e); if (j()) { var n = g()(this).constructor; t = Reflect.construct(r, arguments, n); } else t = r.apply(this, arguments); return m()(this, t); }; } function j() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var C = r(17), S = (function (e) { d()(r, e); var t = x(r); function r(e) { var n; i()(this, r), (n = t.call(this, e)), w()(f()(n), "_setWeather", function (e) { var t = C(n.state.store, { weather: e }); n.setState({ store: t }); }), w()(f()(n), "_setTotalAlertCount", function (e) { var t = C(n.state.store, { totalAlertCount: e, alertsUpdated: !0 }); n.setState({ store: t }); }), w()(f()(n), "_setAlertCounts", function (e) { var t = C(n.state.store, { alertCounts: e, alertsUpdated: !0 }); n.setState({ store: t }); }), w()(f()(n), "_setIsCarsDealer", function (e) { var t = n.state.store.nav; e && (t.items.marketplace.items.cars.items.dealerExchange = { text: "Dealer Exchange", href: "https://cars.ksl.com/dealer-exchange/search" }); var r = C(n.state.store, { isCarsDealer: e, nav: t }); n.setState({ store: r }); }); var o = e.store; return (o.weather = []), (o.alertCounts = []), (o.totalAlertCount = 0), (o.alertsUpdated = !1), (o.isCarsDealer = !1), (n.state = { store: o }), n; } return ( u()(r, [ { key: "getChildContext", value: function () { return w()({}, "__kslHeaderStore__", { store: this.state.store, actions: { setWeather: this._setWeather, setTotalAlertCount: this._setTotalAlertCount, setAlertCounts: this._setAlertCounts, setIsCarsDealer: this._setIsCarsDealer }, }); }, }, { key: "componentWillReceiveProps", value: function (e) { var t = C(this.state.store, e.store); this.setState({ store: t }); }, }, { key: "render", value: function (e) { return e.children && e.children[0]; }, }, ]), r ); })(k.Component), A = (function (e) { d()(r, e); var t = x(r); function r() { return i()(this, r), t.apply(this, arguments); } return ( u()(r, [ { key: "render", value: function () { var e = this.context.__kslHeaderStore__, t = e.store, r = e.actions; return this.props.map && (t = this.props.map(t, r)), this.props.render({ store: t }); }, }, ]), r ); })(k.Component); function T(e) { return function (t) { return function (r) { return Object(k.h)(A, { map: e, render: function (e) { var n = e.store; return Object(k.h)(t, o()({}, n, r)); }, }); }; }; } var N = r(8), P = r.n(N), E = r(22), M = r(10), I = r.n(M); function L(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), r.push.apply(r, n); } return r; } function R(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? L(Object(r), !0).forEach(function (t) { w()(e, t, r[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : L(Object(r)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)); }); } return e; } function D(e) { return function () { var t, r = g()(e); if (H()) { var n = g()(this).constructor; t = Reflect.construct(r, arguments, n); } else t = r.apply(this, arguments); return m()(this, t); }; } function H() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var B = "__kslHeaderDropdown__", U = (function (e) { d()(r, e); var t = D(r); function r() { var e; i()(this, r); for (var n = arguments.length, o = new Array(n), a = 0; a < n; a++) o[a] = arguments[a]; return ( (e = t.call.apply(t, [this].concat(o))), w()(f()(e), "state", { component: null }), w()(f()(e), "_open", function (t) { var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : function () { }; e.state.component && e.state.component !== t && e.state.component._close(), e.setState({ component: t }, r); }), w()(f()(e), "_close", function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : function () { }; e.setState(function () { return { component: null }; }, t), "function" == typeof e.props.onClose && e.props.onClose(); }), e ); } return ( u()(r, [ { key: "getChildContext", value: function () { return w()({}, B, { component: this.state.component, open: this._open, close: this._close }); }, }, { key: "render", value: function (e) { return e.children && e.children[0]; }, }, ]), r ); })(k.Component), z = (function (e) { d()(r, e); var t = D(r); function r() { var e; i()(this, r); for (var n = arguments.length, o = new Array(n), a = 0; a < n; a++) o[a] = arguments[a]; return ( (e = t.call.apply(t, [this].concat(o))), w()(f()(e), "state", { open: !1 }), w()(f()(e), "_getTriggerProps", function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, r = t.onClick, n = t.onKeydown, o = t.ref, a = I()(t, ["onClick", "onKeydown", "ref"]); return R( { onClick: function (t) { e._toggle(), r && r(t); }, onKeydown: function (t) { 32 === t.keyCode && (t.preventDefault(), e._open()), n && n(t); }, ref: function (t) { (e.domTrigger = t), o && o(t); }, }, a ); }), w()(f()(e), "_getContainerProps", function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, r = t.onMouseEnter, n = t.onMouseLeave, o = t.onFocusOut, a = t.ref, s = I()(t, ["onMouseEnter", "onMouseLeave", "onFocusOut", "ref"]), c = R( { ref: function (t) { (e.domContainer = t), a && a(t); }, onFocusOut: function (t) { null === t.relatedTarget || e.domContainer.contains(t.relatedTarget) || e._close(), o && o(t); }, onMouseEnter: r, onMouseLeave: n, }, s ); return ( e.props.hover && ((c.onMouseEnter = function (t) { clearTimeout(e.closeTimeout), (e.openTimeout = setTimeout(e._open, e.props.hoverDelay)), r && r(t); }), (c.onMouseLeave = function (t) { clearTimeout(e.openTimeout), (e.closeTimeout = setTimeout(e._close, e.props.hoverDelay)), n && n(t); })), c ); }), w()(f()(e), "_toggle", function () { e._getOpen() ? e._close() : e._open(); }), w()(f()(e), "_closeOnClick", function (t) { e.domContainer.contains(t.target) || e._close(); }), w()(f()(e), "_closeOnEscape", function (t) { 27 === t.keyCode && (e._close(), e.domTrigger.focus()); }), w()(f()(e), "_cleanUp", function () { clearTimeout(e.closeTimeout), document.body.classList.remove("ksl-header-dropdown-is-open"), document.removeEventListener("click", e._closeOnClick), document.removeEventListener("keydown", e._closeOnEscape); }), w()(f()(e), "_getOpen", function () { return e._isOpenControlled(e.context[B]) ? e.context[B].component === f()(e) : e.state.open; }), w()(f()(e), "_isOpenControlled", function () { return e.context[B] && void 0 !== e.context[B].component; }), w()(f()(e), "_open", function () { clearTimeout(e.openTimeout); var t = function () { document.body.classList.add("ksl-header-dropdown-is-open"), document.addEventListener("click", e._closeOnClick, !1), document.addEventListener("keydown", e._closeOnEscape, !1), e.props.onOpen && e.props.onOpen(); }; e._isOpenControlled() ? !e._getOpen() && e.context[B].open(f()(e), t) : !e.state.open && e.setState({ open: !0 }, t); }), w()(f()(e), "_close", function () { e._cleanUp(); var t = function () { e.props.onClose && e.props.onClose(); }; e._isOpenControlled() ? e._getOpen() && e.context[B].close(t) : e.state.open && e.setState({ open: !1 }, t); }), e ); } return ( u()(r, [ { key: "componentWillUnmount", value: function () { this._cleanUp(); }, }, { key: "render", value: function () { return this.props.render({ open: this._getOpen(), getContainerProps: this._getContainerProps, getTriggerProps: this._getTriggerProps }); }, }, ]), r ); })(k.Component); w()(z, "defaultProps", { hover: !1, hoverDelay: 300, closeOnClick: !0 }); var F = r(16), W = r.n(F); function G(e, t) { for (var r = t.split("."), n = e.split("."), o = 0; o < n.length; o++) if (n[o] !== r[o]) return !1; return !0; } function V(e) { return !!(e.name || e.username || e.member_id); } function K(e, t) { var r = null; return 0 === t.length ? null : (t.forEach(function (t) { t.id === e && (r = t); }), r); } function $(e, t) { var r = t + " " + e; return isNaN(parseInt(e, 10)) && (r = e.toLowerCase()), r; } function q(e, t) { var r = !1; return e.indexOf(t) >= 0 && (r = !0), r; } var J = function (e) { var t = /^(?:((?:https?:)?\/\/)([^\/\?]*))?(.*?|)$/g.exec(e); return { protocol: t[1] || null, hostname: t[2] || null, path: t[3] || null }; }, Y = function (e) { return (e.protocol || "") + (e.hostname || "") + (e.path || ""); }, Z = function (e, t) { return (e = new X(e)), (t = new X(t)).resolve(e).toString(); }, X = function (e) { this.props = e; }; X.prototype = { toObject: function () { var e = this.props; if ((e || (e = ""), "function" == typeof e && (e = e()), "string" == typeof e && (e = J(e)), "object" === W()(e))) return (e = { protocol: e.protocol, hostname: e.hostname, path: e.path }); }, toString: function () { return Y(this.toObject()); }, resolve: function (e) { var t = this.toObject(); return (e = e.toObject()), (t.protocol && "//" !== t.protocol) || (t.protocol = e.protocol), t.hostname || (t.hostname = e.hostname), new X(t); }, }; var Q = function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "not specified", r = arguments.length > 2 ? arguments[2] : void 0, n = new ee({ category: e, hrefBase: r, label: t }); n.triggerGTM(); }, ee = function (e) { this.props = e; }; ee.prototype = { triggerGTM: function () { var e = this.props, t = e.category, r = e.hrefBase, n = e.label, o = this.formatGtmCategory(t), a = Z(r, n); this.pushGtmEvent(o, window.location.href, a); }, pushGtmEvent: function (e, t, r) { window.headerDataLayer.push({ event: "trigger-ga-event", eventCategory: e, eventAction: t, eventLabel: r }); }, formatGtmCategory: function (e) { var t = ""; return ( e.forEach(function (r, n) { "string" == typeof r && ("weather" === r.toLowerCase() && (r = "weather text"), (r = r .replace(/[-_\/]/g, " ") .replace(/[^a-zA-Z0-9\s]/g, "") .replace(/\s\s+/g, " ") .toLowerCase()), (t += r), e.length > 1 && (n < e.length - 1 || n < 2) && (t += "|")); }), t ); }, }; var te = null; function re(e) { return V(e) ? (te || (te = fetch("https://myaccount.ksl.com/api/v1/notifications", { credentials: "include" }) .then(function (e) { return e.json(); }) .then(function (e) { return e.data && e.data.unread && e.data.alerts && { alerts: e.data.alerts, total: e.data.unread.alerts }; })), te) : Promise.resolve({ alerts: 0, total: 0 }); } var ne = null; function oe() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var ae = function () { return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 89.7 47", height: "64", width: "118" }, Object(k.h)("title", { id: "ksl-header-logo-label" }, "KSL homepage"), Object(k.h)("path", { fill: "#FFF", d: "M42.7 33.2C39 40.4 31.6 45 23.5 45 11.6 45 2 35.3 2 23.5S11.6 2 23.5 2C35.3 2 45 11.6 45 23.5v.6h2v-.6C47 10.5 36.4 0 23.5 0 10.5 0 0 10.5 0 23.5S10.5 47 23.5 47c9.2 0 17.6-5.4 21.4-13.8h-2.2z", }), Object(k.h)( "g", { fill: "#FFF" }, Object(k.h)("path", { d: "M43.3 31.4h-10V30c.6-1 .9-2.1.9-3.4v-.1c0-1.2-.3-2.2-.9-3.1v-7.7h4.2v12h5.2s-.6 1.7.6 3.7zM17.3 31.4l-4.6-5.6-1.9 2.1v3.5H6.7V15.8h4.1v6.6l5.6-6.6h4.7l-6 7.1 7.2 8.5z" }), Object(k.h)("path", { d: "M32.7 26.6c-.1 3.1-2.5 5-6.4 5-.8 0-1.7-.2-1.9-.3l-4-4.8c2.7 1.6 4.5 1.6 6.1 1.6 1.2 0 1.9-.4 1.9-1.2 0-.7-.6-1.1-2.7-1.6-3.2-.7-5.8-1.6-5.8-4.9.1-3 2.5-5 6.1-5 2.5 0 4.6.7 6.3 2l-2.1 2.9c-1.4-1-3-1.5-4.4-1.5-1.2 0-1.7.6-1.7 1.1 0 .8.6 1.1 2.8 1.6 3.5 1 5.8 2.1 5.8 5.1z", }) ), Object(k.h)("path", { fill: "#FFF", d: "M66.3 31.7c-3.3 0-5.7-2.5-5.7-5.6 0-3.1 2.5-5.7 5.8-5.7s5.7 2.5 5.7 5.6c0 3.2-2.5 5.7-5.8 5.7zm0-9.1c-2 0-3.3 1.6-3.3 3.5s1.4 3.5 3.3 3.5c2 0 3.3-1.6 3.3-3.5s-1.3-3.5-3.3-3.5zm19.6-2.1c2.4 0 3.8 1.5 3.8 4.1v6.9h-2.5v-6.1c0-1.7-.8-2.6-2.2-2.6-1.3 0-2.3.9-2.3 2.7v6.1h-2.5v-6.2c0-1.7-.8-2.6-2.2-2.6-1.4 0-2.3 1-2.3 2.7v6.1h-2.5V20.7h2.5v1.6c.7-1 1.6-1.9 3.3-1.9 1.6 0 2.6.8 3.2 1.9.9-1.1 2.1-1.8 3.7-1.8zm-26.8 7.7c-.8.8-1.6 1.3-2.8 1.3-1.9 0-3.2-1.6-3.2-3.5s1.3-3.5 3.1-3.5c1.2 0 2 .6 2.8 1.3l1.5-1.7c-1-1.1-2.3-1.9-4.3-1.9-3 0-5.2 2.2-5.6 4.9.9.9 1.5 2.1 1.5 3.5 0 .4 0 .7-.1 1.1 1 1.1 2.4 1.8 4.1 1.8 2.1 0 3.4-.8 4.4-2l-1.4-1.3zm-14.7.7c0 1.7 1.3 3 3 3s3-1.3 3-3-1.3-3-3-3-3 1.4-3 3", }) ); }, se = function () { return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 83.098 16.607", height: "22", width: "110" }, Object(k.h)("title", { id: "ksl-header-logo-label" }, "KSL homepage"), Object(k.h)("path", { fill: "#FFF", d: "M59.641 16.209c-3.291 0-5.726-2.516-5.726-5.604 0-3.106 2.454-5.661 5.766-5.661 3.314 0 5.745 2.516 5.745 5.623 0 3.085-2.453 5.642-5.785 5.642zm0-9.099c-1.984 0-3.251 1.554-3.251 3.456 0 1.92 1.369 3.495 3.291 3.495 2.004 0 3.272-1.554 3.272-3.457 0-1.919-1.37-3.494-3.312-3.494zm19.608-2.167c2.351 0 3.782 1.492 3.782 4.129v6.892h-2.475V9.829c0-1.718-.797-2.639-2.187-2.639-1.35 0-2.311.941-2.311 2.681v6.093h-2.476V9.808c0-1.677-.817-2.617-2.187-2.617-1.369 0-2.312 1.023-2.312 2.7v6.073H66.61V5.166h2.473v1.637c.695-.961 1.637-1.859 3.292-1.859 1.554 0 2.639.755 3.212 1.9.88-1.146 2.026-1.901 3.662-1.901zm-26.865 7.77c-.777.797-1.637 1.349-2.804 1.349-1.9 0-3.231-1.554-3.231-3.495 0-1.902 1.311-3.456 3.108-3.456 1.248 0 2.047.551 2.804 1.349l1.534-1.656c-1.004-1.104-2.272-1.859-4.314-1.859-2.972 0-5.21 2.178-5.553 4.928.947.872 1.541 2.118 1.541 3.505 0 .363-.044.718-.122 1.059 1.001 1.088 2.439 1.774 4.11 1.774 2.107 0 3.355-.838 4.417-2.024l-1.49-1.474zm-14.692.698c0 1.65 1.342 2.994 2.995 2.994 1.652 0 2.996-1.344 2.996-2.994 0-1.656-1.344-2.997-2.996-2.997-1.653 0-2.995 1.341-2.995 2.997m-1.093 2.436H26.594v-1.412c.603-.97.913-2.104.913-3.352v-.051c0-1.176-.311-2.239-.913-3.129V.234h4.191v11.971h5.249s-.644 1.649.565 3.642zm-25.952.007L6 10.294l-1.823 2.131v3.429H0V.271h4.177v6.571L9.754.271h4.723L8.45 7.397l7.198 8.457h-5.001zm15.343-4.771c-.06 3.106-2.48 5.045-6.366 5.045-.787 0-1.731-.208-1.92-.252l-3.952-4.808c2.736 1.626 4.509 1.622 6.097 1.622 1.197 0 1.904-.426 1.918-1.176l.001-.049c.016-.748-.617-1.12-2.704-1.592-3.191-.736-5.848-1.614-5.792-4.864l.002-.048C13.328 1.998 15.786 0 19.388 0c2.541 0 4.611.665 6.319 2.024l-2.132 2.938c-1.403-.981-2.964-1.519-4.374-1.519-1.226 0-1.692.569-1.702 1.103v.045c-.016.79.56 1.118 2.78 1.627 3.468.761 5.771 1.868 5.712 4.813l-.001.052z", }) ); }, ce = T(function (e) { return { hrefBase: e.nav.hrefBase, homeHref: e.nav.items.news.items.home }; })( (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (oe()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { return i()(this, n), r.apply(this, arguments); } return ( u()(n, [ { key: "render", value: function () { var e = this.props, t = e.hrefBase, r = e.homeHref, n = Z(t, r); return Object(k.h)( "a", { className: "ksl-header-logo", href: n, "aria-labelledby": "ksl-header-logo-label", onClick: function () { return Q(["ksl logo"], r.href); }, }, Object(k.h)("div", { className: "ksl-header-logo__large" }, Object(k.h)(ae, null)), Object(k.h)("div", { className: "ksl-header-logo__small" }, Object(k.h)(se, null)) ); }, }, ]), n ); })(k.Component) ), ie = r(12), le = r.n(ie); function ue(e) { return function () { var t, r = g()(e); if (pe()) { var n = g()(this).constructor; t = Reflect.construct(r, arguments, n); } else t = r.apply(this, arguments); return m()(this, t); }; } function pe() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var fe = (function (e) { d()(r, e); var t = ue(r); function r() { var e; i()(this, r); for (var n = arguments.length, o = new Array(n), a = 0; a < n; a++) o[a] = arguments[a]; return ( (e = t.call.apply(t, [this].concat(o))), w()(f()(e), "_getNavItemRel", function (e, t) { var r = e.rel; return r || (r = q(["_none", "_blank"], e.target) ? "noopener" : ""), t && !e.nofollowAllException && r.indexOf("nofollow") < 0 && (r = r ? r + " nofollow" : "nofollow"), r; }), w()(f()(e), "_getNavClasses", function (t, r) { return P()( w()( { "ksl-header-nav-group": !0, "ksl-header-nav-group--level-2": !0, "ksl-header-nav-group--active": G(t, e.props.nav.activePath), "ksl-header-dropdown": !0, "ksl-header-dropdown--open": r }, "ksl-header-nav-group--".concat(t.replace(".", "-")), !0 ) ); }), w()(f()(e), "_getHref", function (e, t) { return Z(e, t); }), e ); } return ( u()(r, [ { key: "render", value: function () { var e = this, t = this.props, r = t.nav, n = t.section, o = t.navItemsKey, a = t.navItem, s = t.subNavItems, c = t.hrefBase, i = t.navItemHrefBase, l = i || c; return ( !a.disabled && Object(k.h)(z, { hover: !a.subNavDisabled, render: function (t) { var u = t.open, p = t.getContainerProps, f = t.getTriggerProps; return Object(k.h)( "div", p({ className: e._getNavClasses("".concat(n, ".").concat(o), u && s) }), a.beta && Object(k.h)("div", { className: "ksl-header-nav-item-beta-link", "aria-hidden": "true" }, "Beta"), a.new && Object(k.h)("div", { className: "ksl-header-nav-item-new-link", "aria-hidden": "true" }, "New"), Object(k.h)( "a", f({ className: "ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow ksl-header-nav-group__head", href: e._getHref(l, a.href), target: a.target || null, rel: e._getNavItemRel(a, r.nofollowAll), onClick: function (e) { !u && s && e.preventDefault(), Q([n, a.text], a.href, a.hrefBase); }, "aria-haspopup": s ? "true" : null, "aria-expanded": s ? (u ? "true" : "false") : null, }), Object(k.h)("span", { className: "ksl-header-nav-link" }, a.text), a.beta && Object(k.h)("span", { className: "ksl-header-screen-reader" }, " (In Beta)") ), s && !a.subNavDisabled ? Object(k.h)( "div", { className: "ksl-header-dropdown__body ksl-header-nav-group__body", role: "menu" }, Object.keys(s).map(function (t) { var o = s[t], l = o.hrefBase || i || c; return Object(k.h)( "div", { className: "ksl-header-nav-item ksl-header-nav-item--level-3", key: t, role: "none" }, Object(k.h)( "a", { className: "ksl-header-nav-link", href: e._getHref(l, o.href), onClick: function () { Q([n, a.text, o.text], o.href, o.hrefBase); }, role: "menuitem", target: o.target || null, rel: e._getNavItemRel(o, r.nofollowAll), }, o.text ) ); }) ) : null ); }, }) ); }, }, ]), r ); })(k.Component), he = T(function (e) { return { nav: e.nav }; })( (function (e) { d()(r, e); var t = ue(r); function r() { var e; i()(this, r); for (var n = arguments.length, o = new Array(n), a = 0; a < n; a++) o[a] = arguments[a]; return ( (e = t.call.apply(t, [this].concat(o))), w()(f()(e), "_getContainerClasses", function () { var t = { "ksl-header-nav-group": !0, "ksl-header-marketplace--noSearch": e.props.searchHidden, "ksl-header-nav-group--level-1": !0, "ksl-header-nav-group--active": G(e.props.section, e.props.nav.activePath), }; return (t["ksl-header-" + e.props.section] = !0), P()(t); }), w()(f()(e), "_filterNavItems", function (t) { return t ? Object.entries(t) .filter(function (t) { var r = le()(t, 2)[1].sizes; return !r || r.indexOf(e.props.size) > -1; }) .reduce(function () { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, r = le()(t, 2), n = r[0], o = r[1]; return (e[n] = o), e; }, {}) : null; }), e ); } return ( u()(r, [ { key: "render", value: function () { var e = this, t = this.props, r = t.section, n = t.nav, a = n.items, s = n.hrefBase, c = this._filterNavItems(a[r].items); return Object(k.h)( "div", { className: this._getContainerClasses() }, Object(k.h)("div", { className: "ksl-header-nav-group__head", "aria-hidden": "true" }, a[r].text), Object(k.h)( "div", { className: "ksl-header-nav-group__body" }, Object.keys(c).map(function (t) { var a = c[t], i = e._filterNavItems(a.items), l = a.hrefBase, u = { nav: n, section: r, navItemsKey: t, navItem: a, subNavItems: i, hrefBase: s, navItemHrefBase: l }; return Object(k.h)(fe, o()({ key: t }, u)); }) ) ); }, }, ]), r ); })(k.Component) ); function de() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var ve = (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (de()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { var e; i()(this, n); for (var t = arguments.length, o = new Array(t), a = 0; a < t; a++) o[a] = arguments[a]; return ( (e = r.call.apply(r, [this].concat(o))), w()(f()(e), "bodyElement", document.body), w()(f()(e), "disableScrollPageClass", "ksl-header-disable-scroll-page"), w()(f()(e), "scrollLockCountAttr", "data-scroll-lock-count"), w()(f()(e), "handleEventDelta", function (t, r) { var n = r > 0, o = e.scrollLock.firstElementChild, a = o.scrollTop, s = o.scrollHeight, c = o.clientHeight, i = !1; n && r > s - c - a ? ((e.scrollLock.scrollTop = s), (i = !0)) : !n && -r > a && ((e.scrollLock.scrollTop = 0), (i = !0)), i && e.cancelScrollEvent(t); }), w()(f()(e), "onTouchStartHandler", function (t) { e.touchStart = t.changedTouches[0].clientY; }), w()(f()(e), "onTouchMoveHandler", function (t) { for (var r = !1, n = e.touchStart - t.changedTouches[0].clientY, o = t.target, a = e.scrollLock.getElementsByClassName(e.touchSafeClasses), s = 0; s < a.length; s++) if (a[s].contains(o)) { r = !0; break; } r || e.handleEventDelta(t, n); }), w()(f()(e), "cancelScrollEvent", function (e) { return e.stopImmediatePropagation(), e.cancelable && e.preventDefault(), !1; }), w()(f()(e), "lockScroll", function () { e.incrementScrollLock(), e.addBodyClass(), e.scrollLock.addEventListener("touchstart", e.onTouchStartHandler, !1), e.scrollLock.addEventListener("touchmove", e.onTouchMoveHandler, !1); }), w()(f()(e), "unlockScroll", function () { 0 >= e.decrementScrollLock() && e.removeBodyClass(), e.scrollLock.removeEventListener("touchstart", e.onTouchStartHandler, !1), e.scrollLock.removeEventListener("touchmove", e.onTouchMoveHandler, !1); }), w()(f()(e), "incrementScrollLock", function () { var t = parseInt(e.bodyElement.getAttribute(e.scrollLockCountAttr) || 0); return e.bodyElement.setAttribute(e.scrollLockCountAttr, t + 1), t; }), w()(f()(e), "decrementScrollLock", function () { var t = parseInt(e.bodyElement.getAttribute(e.scrollLockCountAttr) || 0); return t > 0 && ((t -= 1), e.bodyElement.setAttribute(e.scrollLockCountAttr, t)), t; }), w()(f()(e), "addBodyClass", function () { e.bodyElement.classList.add(e.disableScrollPageClass); }), w()(f()(e), "removeBodyClass", function () { e.bodyElement.classList.remove(e.disableScrollPageClass); }), w()(f()(e), "setSafeClasses", function () { var t = e.props.touchSafeClasses; (e.touchSafeClasses = "scroll-lock-touch-safe"), t && (e.touchSafeClasses = "".concat(e.touchSafeClasses, " ").concat(t)); }), e ); } return ( u()(n, [ { key: "componentDidMount", value: function () { this.setSafeClasses(), this.props.enabled && this.lockScroll(); }, }, { key: "componentWillUnmount", value: function () { this.unlockScroll(); }, }, { key: "componentWillReceiveProps", value: function (e) { this.props.enabled !== e.enabled && (e.enabled ? this.lockScroll() : this.unlockScroll()); }, }, { key: "render", value: function () { var e = this, t = this.props, r = t.children, n = I()(t, ["children"]); return ( delete n.enabled, n.className || delete n.className, Object(k.h)( "div", o()({}, n, { ref: function (t) { return (e.scrollLock = t); }, }), r ) ); }, }, ]), n ); })(k.Component); ve.defaultProps = { enabled: !1, className: "" }; var me = ve, ye = r(23), ge = r.n(ye); function be() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var we = (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (be()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { return i()(this, n), r.apply(this, arguments); } return ( u()(n, [ { key: "render", value: function (e) { var t = e.children, r = I()(e, ["children"]); return Object(k.h)( "button", o()({ className: "ksl-header-close-toggle", "aria-labelledby": "ksl-header-close-menu-label" }, r), Object(k.h)("span", { className: "ksl-header-close-toggle__close-text" }, t), Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", { id: "ksl-header-close-menu-label" }, "close menu"), Object(k.h)("path", { d: "M264.9 249.4l217.9-218c3.9-3.9 3.9-10.2 0-14.1-3.9-3.9-10.2-3.9-14.1 0l-218 217.9L32.8 17.3c-3.9-3.9-10.2-3.9-14.1 0-3.9 3.9-3.9 10.2 0 14.1l217.9 217.9-218 218c-3.9 3.9-3.9 10.2 0 14.1 2 2 4.5 2.9 7.1 2.9s5.1-1 7.1-2.9l217.9-217.9 217.9 217.9c2 2 4.5 2.9 7.1 2.9s5.1-1 7.1-2.9c3.9-3.9 3.9-10.2 0-14.1L264.9 249.4z", }) ) ); }, }, ]), n ); })(k.Component); function _e() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var Oe = (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (_e()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { var e; i()(this, n); for (var t = arguments.length, o = new Array(t), a = 0; a < t; a++) o[a] = arguments[a]; return ( (e = r.call.apply(r, [this].concat(o))), w()(f()(e), "_renderCloseMenuToggle", function () { var t = e.props.menuOpen ? "0" : "-1"; return e.props.onToggle && Object(k.h)(we, { onClick: e.props.onToggle, onKeydown: e._onCloseKeydown, tabIndex: t }, "Close"); }), w()(f()(e), "_closeOnEscape", function (t) { 27 === t.keyCode && e.props.onToggle(t); }), w()(f()(e), "_onCloseKeydown", function (t) { 13 === t.keyCode && (t.preventDefault(), e.props.onToggle(t)); }), w()(f()(e), "_handleFocusOut", function (t) { e.props.menuOpen && null !== t.relatedTarget && !e.domMenu.contains(t.relatedTarget) && e.props.onToggle(t); }), e ); } return ( u()(n, [ { key: "componentDidMount", value: function () { this.domMenu.addEventListener("keydown", this._closeOnEscape, !1); }, }, { key: "componentDidUpdate", value: function (e) { e.menuOpen && !this.props.menuOpen && (this.domMenu.scrollTop = 0), !e.menuOpen && this.props.menuOpen && this.domMenu.focus(); }, }, { key: "render", value: function () { var e = this, t = this.props.menuOpen; return Object(k.h)( me, { enabled: t }, Object(k.h)( "div", { className: this.props.containerClasses, "aria-hidden": t ? "false" : "true", ref: function (t) { return (e.domMenu = t); }, onFocusOut: this._handleFocusOut, tabIndex: "-1", }, Object(k.h)( "div", { className: "ksl-header-menu__inner" }, Object(k.h)( ge.a, { into: ".ksl-header-menu-container" }, Object(k.h)(me, { enabled: t }, Object(k.h)("button", { className: "ksl-header-menu-container__overlay", onClick: this.props.onToggle })) ), Object(k.h)("div", { className: "ksl-header-menu__nav" }, this._renderCloseMenuToggle()), this.props.children ) ) ); }, }, ]), n ); })(k.Component), ke = function (e) { var t = e.title, r = e.titleId; return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", { id: r }, t), Object(k.h)("path", { d: "M152,88.41a16.25,16.25,0,0,1,23-23L348,238.52a16.25,16.25,0,0,1,0,23L175,434.57a16.25,16.25,0,1,1-23-23L313.37,250Z" }) ); }; ke.defaultProps = { title: "arrow right", titleId: "ksl-header-arrow-right" }; var xe = ke; function je(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), r.push.apply(r, n); } return r; } function Ce(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? je(Object(r), !0).forEach(function (t) { w()(e, t, r[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : je(Object(r)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)); }); } return e; } function Se() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var Ae = "open", Te = (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (Se()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { var e; i()(this, n); for (var t = arguments.length, o = new Array(t), a = 0; a < t; a++) o[a] = arguments[a]; return ( (e = r.call.apply(r, [this].concat(o))), w()(f()(e), "state", { status: "closed" }), w()(f()(e), "_getTriggerProps", function (t) { var r = t.onClick, n = t.onKeydown, o = t.ref; return Ce( { onClick: function (t) { t.stopPropagation(), e._toggle(), r && r(t); }, ref: function (t) { (e.domTrigger = t), o && o(t); }, onKeydown: function (t) { 32 === t.keyCode && (t.preventDefault(), e._open()), n && n(t); }, }, I()(t, ["onClick", "onKeydown", "ref"]) ); }), w()(f()(e), "_getBodyProps", function (t) { var r = t.ref, n = t.onFocusOut; return Ce( { ref: function (t) { (e.domBody = t), r && r(t); }, tabIndex: "-1", onFocusOut: function (t) { e._handleFocusOut(t), n && n(t); }, onTouchMove: function (e) { e.stopPropagation(); }, }, I()(t, ["ref", "onFocusOut"]) ); }), w()(f()(e), "_renderSlidesInNav", function () { return Object(k.h)( "div", { className: "ksl-header-slides-in__nav" }, Object(k.h)( "button", { className: "ksl-header-close-toggle ksl-header-close-sub-menu", onClick: e._toggle, onKeyDown: e._onBackKeydown, "aria-labelledby": "ksl-header-close-sub-menu-label", tabIndex: e._getTabIndex() }, Object(k.h)(xe, { title: "close sub menu", titleId: "ksl-header-close-sub-menu-label" }), Object(k.h)("span", { className: "ksl-header-close-toggle__close-text" }, "Back") ), e.props.onClose && Object(k.h)(we, { onClick: e.props.onClose, tabIndex: e._getTabIndex(), onKeydown: e._onCloseKeydown }, "Close") ); }), w()(f()(e), "_closeOnEscape", function (t) { t.stopImmediatePropagation(), 27 === t.keyCode && (e._close(), e.domTrigger.focus()); }), w()(f()(e), "_onBackKeydown", function (t) { 13 === t.keyCode && (t.preventDefault(), e._close(), e.domTrigger.focus()); }), w()(f()(e), "_onCloseKeydown", function (t) { e.props.onClose && 13 === t.keyCode && (t.preventDefault(), e.props.onClose(t)); }), w()(f()(e), "_handleFocusOut", function (t) { e.state.status !== Ae || null === t.relatedTarget || e.domBody.contains(t.relatedTarget) || e._close(); }), w()(f()(e), "_open", function () { e.state.status !== Ae && "opening" !== e.state.status && (e.domBody.addEventListener("keydown", e._closeOnEscape, !1), e.props.onOpen && e.props.onOpen(), e.setState({ status: "opening" }, function () { setTimeout(function () { e.setState({ status: Ae }, function () { e.domBody.focus(); }); }, 300); })); }), w()(f()(e), "_close", function () { "closed" !== e.state.status && "closing" !== e.state.status && (e.domBody.removeEventListener("keydown", e._closeOnEscape, !1), e.setState({ status: "closing" }, function () { setTimeout(function () { e.setState({ status: "closed" }); }, 300); })); }), w()(f()(e), "_toggle", function () { "closed" === e.state.status ? e._open() : e._close(); }), w()(f()(e), "_getTabIndex", function () { return e.state.status === Ae ? "0" : "-1"; }), e ); } return ( u()(n, [ { key: "render", value: function () { return this.props.render({ status: this.state.status, getTriggerProps: this._getTriggerProps, getBodyProps: this._getBodyProps, renderSlidesInNav: this._renderSlidesInNav }); }, }, ]), n ); })(k.Component), Ne = function (e) { var t = e.title, r = I()(e, ["title"]); return Object(k.h)( "svg", o()({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, r), Object(k.h)("title", null, t), Object(k.h)("polyline", { style: { fill: "none", strokeMiterlimit: "10", strokeWidth: "29px" }, points: "23.76 289.81 200.85 450 472.66 28.38" }) ); }; Ne.defaultProps = { title: "check mark" }; var Pe, Ee, Me = Ne; function Ie(e) { return function () { var t, r = g()(e); if (Le()) { var n = g()(this).constructor; t = Reflect.construct(r, arguments, n); } else t = r.apply(this, arguments); return m()(this, t); }; } function Le() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var Re = (function (e) { d()(r, e); var t = Ie(r); function r() { var e; i()(this, r); for (var n = arguments.length, o = new Array(n), a = 0; a < n; a++) o[a] = arguments[a]; return ( (e = t.call.apply(t, [this].concat(o))), w()(f()(e), "_getImageSrc", function () { return "//static.ksl.com/images/weather/New2013/SVG/" + e.props.icon + ".svg"; }), w()(f()(e), "_getAlt", function () { var t = e.props, r = t.city, n = t.icon; return n && "string" == typeof n ? "".concat(r ? r + " " : "").concat(n.replace(/[-_]/g, " ")) : "Weather icon"; }), e ); } return ( u()(r, [ { key: "render", value: function () { var e = { "weather-widget__icon": !0 }; return ( this.props.className.split(" ").forEach(function (t) { e[t] = !0; }), Object(k.h)("img", { src: this._getImageSrc(), alt: this._getAlt(), className: P()(e), key: this.props.icon }) ); }, }, ]), r ); })(k.Component); w()(Re, "defaultProps", { className: "" }); var De = T(function (e, t) { return { weatherData: e.weather, setWeather: t.setWeather, nofollowAll: e.nav.nofollowAll, nav: e.nav, hrefBase: e.nav.hrefBase }; })( ((Ee = Pe = (function (e) { d()(r, e); var t = Ie(r); function r(e) { var n; i()(this, r), (n = t.call(this, e)), w()(f()(n), "_renderLoading", function () { var e = "news.weather" == n.props.nav.activePath ? "ksl-header-nav-group--active" : ""; return Object(k.h)( "div", { className: "ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--news-weather ".concat(e) }, Object(k.h)( "a", { className: "ksl-header-dropdown__toggle ksl-header-nav-group__head", href: "/weather/forecast", onClick: function (e) { "small" === n.props.size && e.preventDefault(); }, tabIndex: -1, }, Object(k.h)("span", { className: "ksl-header-nav-link weatherMedLabel" }, "Weather"), Object(k.h)( "div", { className: P()({ "weather-toggle": !0, "weather-toggle--searchHidden": n.props.searchHidden }) }, Object(k.h)(Re, { icon: "sunny", className: "weather-toggle__icon" }), Object(k.h)("span", { className: "weather-toggle__temp" }, "NA掳") ) ) ); }), w()(f()(n), "_renderToggle", function (e) { if (null === n.state.selectedCity) return n._renderLoading(); var t = K(n.state.selectedCity.id, n.props.weatherData); if (null === t) return n._renderLoading(); var r = t.forecast.now, o = "news.weather" == n.props.nav.activePath ? "ksl-header-nav-group--active" : ""; return Object(k.h)( "div", { className: "ksl-header-nav-group ksl-header-nav-group--level-2 ksl-header-dropdown ksl-header-nav-group--news-weather ".concat(o) }, Object(k.h)( "a", { className: "ksl-header-dropdown__toggle ksl-header-nav-group__head", href: n._href(e), onClick: function (e) { "small" === n.props.size && e.preventDefault(); }, tabIndex: -1, }, Object(k.h)("span", { className: "ksl-header-nav-link weatherMedLabel" }, "Weather"), Object(k.h)( "div", { className: P()({ "weather-toggle": !0, "weather-toggle--searchHidden": n.props.searchHidden }) }, Object(k.h)(Re, { icon: r.icon, city: n.state.selectedCity.name, className: "weather-toggle__icon" }), Object(k.h)("span", { className: "weather-toggle__temp" }, r.tempF, "掳") ) ) ); }), w()(f()(n), "_renderWidget", function (e) { var t = n.props, r = t.gtmCategory, o = t.linkHref, a = K(n.state.selectedCity.id, n.props.weatherData); if (null === a) return Object(k.h)( "div", { className: "weather-widget" }, Object(k.h)( "div", { className: "ksl-header-nav-group ksl-header-nav-group--level-2 level-2-weather" }, Object(k.h)("div", { className: "ksl-header-nav-group__body" }, n._renderMenu(n.props.nav.items.weather)) ) ); var s = n._renderCurrentWeather(a), c = n._renderHourlyWeather(a); return Object(k.h)( "div", { className: "weather-widget" }, Object(k.h)( "div", { className: "weather-widget__location" }, Object(k.h)(Te, { ref: function (e) { return (n.slidesInComponent = e); }, onOpen: n._focusOnSelections, render: function (t) { var o = t.status, a = t.getTriggerProps, s = t.getBodyProps, c = t.renderSlidesInNav; return Object(k.h)( "div", { className: "ksl-header-slides-in ksl-header-slides-in--" + o, ref: function (e) { return (n.domCollapsibleContainer = e); }, onFocusOut: n._handleFocusOut, }, Object(k.h)( "button", a({ className: "ksl-header-slides-in__head", "aria-haspopup": "true", "aria-expanded": "open" === o ? "true" : "false", "aria-label": "Edit Forecast City", ref: function (e) { return (n.domCollapsibleTrigger = e); }, tabIndex: e ? "0" : "-1", onClick: function () { return n._triggerGTM(r, "change weather city" + ("open" === o ? "collapse" : "expand")); }, }), Object(k.h)("span", { className: "weather-widget__location-current" }, n.state.selectedCity.name), Object(k.h)("span", { className: "weather-widget__location-current changeWeather" }, "Change") ), Object(k.h)("div", s({ className: "ksl-header-slides-in__body" }), c(), n._renderCityList(o)) ); }, }) ), Object(k.h)( "a", { href: n._href({ href: o }), tabIndex: e ? "0" : "-1", rel: "nofollow", onClick: function () { return n._triggerGTM(r, "full forcast", o); }, "aria-label": "\n " .concat(n.state.selectedCity.name, "\n ") .concat(a.forecast.now.icon.replace(/[-_]/g, " "), " ") .concat(a.forecast.now.tempF, " degrees\n Humidity: ") .concat(a.forecast.now.humidity, "%\n Wind: ") .concat($(a.forecast.now.windMph, a.forecast.now.windDir), " mph\n\n\n "), className: "forecastLink", }, Object(k.h)("span", { className: "weather-widget__group" }, s, c) ), Object(k.h)( "div", { className: "ksl-header-nav-group ksl-header-nav-group--level-2 level-2-weather" }, Object(k.h)("div", { className: "ksl-header-nav-group__body" }, n._renderMenu(n.props.nav.items.weather)) ) ); }), w()(f()(n), "_renderMenu", function (e) { var t = e.href, r = e.items; return Object(k.h)( "div", null, Object.keys(r).map(function (e) { var o = r[e]; return Object(k.h)( "div", { className: "ksl-header-nav-item ksl-header-nav-item--level-3", key: e, role: "none" }, Object(k.h)( "a", { className: "ksl-header-nav-link", href: n._href(o), onClick: function () { Q(["news", "weather", o.text], o.href, t); }, role: "menuitem", rel: "_none", }, o.text, "small" === n.props.size.toLowerCase() && Object(k.h)("span", { className: "ksl-header-nav-link__arrow" }, Object(k.h)(xe, null)) ) ); }) ); }), w()(f()(n), "_renderCityList", function (e) { var t = n.props.cities.map(function (t) { var r = t.name === n.state.selectedCity.name; return Object(k.h)( "li", { className: P()({ "weather-widget__location-option": !0, "weather-widget__location-option--selected": r }), key: t.id, tabIndex: "open" === e ? "0" : "-1", role: "option", "aria-selected": r, onClick: function () { n._triggerGTM(n.props.gtmCategory, "change city", "".concat(n.state.selectedCity.name, "|").concat(t.name)), n._selectCity(t); }, onKeyDown: n._cityListKeyDown.bind(f()(n), t), }, Object(k.h)("span", { className: "location-city" }, t.name, r && Object(k.h)(Me, { className: "selected-city-checkmark" })) ); }); return Object(k.h)( "ul", { className: "weather-widget__location-options", role: "listbox", ref: function (e) { return (n.domSelectionsContainer = e); }, }, t ); }), w()(f()(n), "_handleFocusOut", function (e) { null === e.relatedTarget || n.domCollapsibleContainer.contains(e.relatedTarget) || n.slidesInComponent._close(); }), w()(f()(n), "_focusOnSelections", function () { n.domSelectionsContainer.firstChild.focus(); }), w()(f()(n), "_cityListKeyDown", function (e, t) { 13 === t.keyCode && n._selectCity(e); }), w()(f()(n), "_loadWeatherJson", function (e) { var t = []; for (var r in e.response) e.response[r] && t.push(e.response[r]); n.props.setWeather(t); }), w()(f()(n), "_getAjaxWeatherData", function () { var e = f()(n), t = new XMLHttpRequest(); t.addEventListener("load", function r() { e._handleAjaxWeatherData(this, e), t.removeEventListener("load", r); }), t.open("GET", n.props.url), t.send(); }), w()(f()(n), "_closeSelections", function () { n.slidesInComponent._close(); }), w()(f()(n), "_openMobileWeather", function () { document.getElementsByClassName("ksl-header-menu-container")[0].classList.add("ksl-header-weather--open"), !n.state.mobileWeatherOpen && n.setState({ mobileWeatherOpen: !0 }); }), w()(f()(n), "_closeMobileWeather", function (e) { document.getElementsByClassName("ksl-header-menu-container")[0].classList.remove("ksl-header-weather--open"), n.state.mobileWeatherOpen && n.setState({ mobileWeatherOpen: !1 }, function () { e && "keydown" === e.type && n.mobileWeatherTrigger.focus(); }); }), w()(f()(n), "_toggleMobileWeather", function (e) { n.state.mobileWeatherOpen ? n._closeMobileWeather(e) : n._openMobileWeather(); }), w()(f()(n), "_href", function (e) { return Z(n.props.hrefBase, e.href); }); var o = e.cities[0], a = (function (e) { if ("undefined" != typeof document) for (var t = e + "=", r = decodeURIComponent(document.cookie).split(";"), n = 0; n < r.length; n++) { for (var o = r[n]; " " == o.charAt(0);) o = o.substring(1); if (0 == o.indexOf(t)) return o.substring(t.length, o.length); } return ""; })("weather_city"); return ( a && e.cities.forEach(function (e) { e.id === a && (o = e); }), (n.state = { selectedCity: o, mobileWeatherOpen: !1 }), n ); } return ( u()(r, [ { key: "componentDidMount", value: function () { this.props.url && !this.props.weatherData.length && this._getAjaxWeatherData(), this.props.updateFrequency && (this._updateTimeout = setInterval(this._getAjaxWeatherData, 1e3 * this.props.updateFrequency)); }, }, { key: "_renderDropdown", value: function () { var e = this, t = this.props, r = t.gtmCategory, n = t.linkHref, o = t.nofollowAll, a = t.nav; return Object(k.h)(z, { hover: !0, onOpen: function () { Q(["news", "weather icon", "hover"], e.state.selectedCity.name); }, onClose: this._closeSelections, render: function (t) { var s = t.open, c = t.getContainerProps, i = t.getTriggerProps; return Object(k.h)( "div", c({ className: P()({ "ksl-header-nav-group": !0, "ksl-header-nav-group--level-1": !0, "ksl-header-weather": !0, "ksl-header-weather-dropdown": !0, "ksl-header-weather-dropdown--searchHidden": e.props.searchHidden, }), }), Object(k.h)("div", { className: "ksl-header-nav-group__head" }), Object(k.h)( "div", { className: e._getDropdownClasses(s) }, Object(k.h)( "a", i({ href: n, className: "ksl-header-dropdown__toggle ksl-header-dropdown__toggle--with-arrow wrapper--weather-toggle", onClick: function (t) { !s && t.preventDefault(), e._triggerGTM(r, "", n); }, "aria-expanded": s ? "true" : "false", "aria-haspopup": "true", rel: o ? "nofollow" : null, }), e._renderToggle(a.items.weather) ), Object(k.h)("div", { className: "ksl-header-dropdown__body weather-dropdown", "aria-hidden": s ? "false" : "true" }, e._renderWidget(s)) ) ); }, }); }, }, { key: "render", value: function () { var e = this; if (this.props.renderWidgetOnly) return this._renderWidget(!0); var t = this.state.mobileWeatherOpen; switch (this.props.size.toLowerCase()) { case "small": return Object(k.h)( "span", null, Object(k.h)( "button", { ref: function (t) { return (e.mobileWeatherTrigger = t); }, className: P()({ "ksl-header-weather-toggle": !0, "ksl-header-weather-toggle--searchHidden": this.props.searchHidden }), onClick: this._toggleMobileWeather, "aria-labelledby": "ksl-header-toggle-weather-label", "aria-expanded": t ? "true" : "false", "aria-haspopup": "true", tabIndex: 0, }, this._renderToggle(this.props.nav.items.weather) ), Object(k.h)(Oe, { onToggle: this._toggleMobileWeather, menuOpen: t, containerClasses: P()({ "ksl-header-weather--mobile": !0, "ksl-header-weather--open": t }) }, this._renderWidget(t)) ); default: return this._renderDropdown(); } }, }, { key: "_getDropdownClasses", value: function (e) { return P()({ "ksl-header-dropdown": !0, "ksl-header-dropdown--open": e, "wrapper--weather-widget": !0 }); }, }, { key: "_getLocationDropdownClasses", value: function (e) { return P()({ "ksl-weather-location-dropdown": !0, "ksl-weather-location-dropdown--open": e }); }, }, { key: "_triggerGTM", value: function (e, t) { var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "not specified", n = e.slice(); n.push(t), Q(n, r); }, }, { key: "_renderCurrentWeather", value: function (e) { var t = e.forecast.now, r = $(t.windMph, t.windDir); return Object(k.h)( "div", { className: "weather-widget__current" }, Object(k.h)( "div", { className: "weather-widget__now" }, Object(k.h)("span", { className: "weather-widget__now-icon" }, Object(k.h)(Re, { icon: t.icon })), Object(k.h)("span", { className: "weather-widget__now-temp" }, t.tempF, "掳") ), Object(k.h)("div", { className: "weather-widget__details" }, Object(k.h)("div", null, "Humidity ", t.humidity, "%"), Object(k.h)("div", null, "Winds ", r)) ); }, }, { key: "_renderHourlyWeather", value: function (e) { for (var t = [], r = 0; r < 3; ++r) { var n = e.forecast.today[0].times[r], o = Object(k.h)( "tr", { className: "weather-widget__hourly-item", key: "hourly_" + n.time }, Object(k.h)("td", { className: "weather-widget__hourly-time" }, n.time), Object(k.h)("td", { className: "weather-widget__hourly-icon" }, Object(k.h)(Re, { icon: n.icon })), Object(k.h)("td", { className: "weather-widget__hourly-temp" }, n.tempF, "掳") ); t.push(o); } return Object(k.h)("table", { className: "weather-widget__hourly" }, Object(k.h)("tbody", null, t)); }, }, { key: "_handleAjaxWeatherData", value: function (e, t) { if (e.responseText) try { var r = JSON.parse(e.responseText); t._loadWeatherJson(r); } catch (e) { } }, }, { key: "_selectCity", value: function (e) { this.setState({ selectedCity: e }), (function (e, t, r) { var n = new Date(); n.setTime(n.getTime() + 24 * r * 60 * 60 * 1e3); var o = "expires=" + n.toUTCString(); document.cookie = e + "=" + t + ";" + o + ";path=/"; })("weather_city", e.id, 365), this.slidesInComponent._close(), this.domCollapsibleTrigger.focus(); }, }, ]), r ); })(k.Component)), w()(Pe, "defaultProps", { linkHref: "https://www.ksl.com/weather/forecast", url: "https://news-api.ksl.com/v1/weather/getHeaderWeather", updateFrequency: 3600, gtmCategory: ["news", "weather icon"], cities: [ { name: "Salt Lake", id: "USUT0225" }, { name: "Provo", id: "USUT0208" }, { name: "Ogden", id: "USUT0187" }, { name: "St. George", id: "USUT0222" }, { name: "Logan", id: "USUT0147" }, ], showAsLabel: !1, }), Ee) ); function He() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var Be = T(function (e) { return { action: e.search.action || "//www.ksl.com/news/search", hidden: e.search.hidden }; })( (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (He()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { var e; i()(this, n); for (var t = arguments.length, o = new Array(t), a = 0; a < t; a++) o[a] = arguments[a]; return ( (e = r.call.apply(r, [this].concat(o))), w()(f()(e), "_renderHiddenInputs", function () { var t = [], r = e._getQueryParams(); for (var n in r) t.push(Object(k.h)("input", { type: "hidden", name: n, value: r[n], key: n })); return t; }), w()(f()(e), "_focusInput", function () { setTimeout(function () { e.domInput.focus(); }, 0); }), w()(f()(e), "_blurInput", function () { e.domInput.blur(); }), e ); } return ( u()(n, [ { key: "render", value: function () { var e = this; return this.props.hidden ? null : Object(k.h)(z, { onOpen: this._focusInput, onClose: this._blurInput, render: function (t) { var r = t.open, n = t.getContainerProps, o = t.getTriggerProps; return Object(k.h)( "div", n({ className: e._getClasses(r) }), Object(k.h)( "span", { className: "ksl-header-dropdown__toggle ksl-header-search-toggle" }, Object(k.h)( "button", o({ className: "ksl-header-search-toggle__icon", "aria-labelledby": "ksl-header-search-label", "aria-haspopup": "true", "aria-expanded": r ? "true" : "false", onClick: function () { return Q(["account", "search", r ? "collapse" : "expand"]); }, }), Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", { id: "ksl-header-search-label" }, "search"), Object(k.h)("path", { d: "M489.8 451.3l-145.2-146c50.9-69.2 44.8-167.4-18.3-229.6-68.9-69.8-181.8-69.8-250.7 0-68.9 68.9-68.9 181.8 0 250.7 62.2 63.1 160.4 69.1 229.6 18.3l146 145.2c3.7 4.6 10.1 4.6 13.8 0l24.8-24.8c4.5-3.7 4.5-10.2 0-13.8zM105.9 296c-52.3-52.3-52.3-137.8 0-190.1 52.3-53.3 137.8-53.3 191 0 52.3 52.3 52.3 137.8 0 190.1-53.3 53.3-138.7 53.3-191 0z", }) ) ) ), Object(k.h)( "div", { className: "ksl-header-dropdown__body" }, Object(k.h)( "form", { className: "ksl-header-search", action: e.props.action, method: "get", onSubmit: function () { Q(["account", "search", "search"], e.domInput.value); }, }, e._renderHiddenInputs(), Object(k.h)("input", { className: "ksl-header-search__input", "aria-label": "Search KSL.com", type: "text", placeholder: "Keyword", name: "q", ref: function (t) { return (e.domInput = t); }, }), Object(k.h)("button", { className: "ksl-header-search__button ksl-header-button ksl-header-button--squared", type: "submit" }, "Search") ) ) ); }, }); }, }, { key: "_getClasses", value: function (e) { return P()({ "ksl-header-dropdown": !0, "ksl-header-dropdown--open": e, "ksl-header-search-dropdown": !0 }); }, }, { key: "_getQueryParams", value: function () { return { cx: "partner-pub-3771868546990559:r955z1-wmf4", cof: "FORID:9", ie: "ISO-8859-1", sa: "Search", searchtype: "kslcom", x: 15, y: 19 }; }, }, ]), n ); })(k.Component) ), Ue = function () { return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", { id: "ksl-header-account-label" }, "account - logged out"), Object(k.h)("path", { fill: "#FFF", d: "M354.9 224h-14.1c20.8-22.3 33.4-52.4 33.4-85.4 0-67.9-55.1-123.9-123.9-123.9s-123.9 56-123.9 123.9c0 33 12.7 63 33.4 85.4h-14.1c-45.9 0-83.5 37.6-83.5 83.5v177.2h376.4V307.6c-.1-45.9-37.8-83.6-83.7-83.6zm-190-85.3c0-46.8 38.6-85.4 85.4-85.4s85.4 38.6 85.4 85.4c0 43.5-32 79.3-73 85.4H238c-41.1-6.1-73.1-42-73.1-85.4zM399 446.2H101.6V307.6c0-24.8 20.2-44.1 44.1-44.1H355c23.9 0 44.1 19.3 44.1 44.1v138.6z", }) ); }, ze = function () { return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", { id: "ksl-header-account-label" }, "account - logged in"), Object(k.h)("path", { fill: "#FFF", d: "M372.6 392.4v53.8H75.1V307.6c0-24.8 20.2-44.1 44.1-44.1h209.3c19.4 0 36.4 12.7 42.1 30.8l25.8-35.3c-15.2-21.2-40-35-67.9-35h-14.1c20.8-22.3 33.4-52.4 33.4-85.4 0-67.9-55.1-123.9-123.9-123.9s-124 56-124 124c0 33 12.7 63 33.4 85.4h-14.1c-45.9 0-83.5 37.6-83.5 83.5v177.2H412v-146l-39.4 53.6zM138.5 138.7c0-46.8 38.6-85.4 85.4-85.4s85.4 38.6 85.4 85.4c0 43.5-32 79.3-73 85.4h-24.7c-41.1-6.1-73.1-42-73.1-85.4z", }), Object(k.h)("path", { fill: "#FFF", d: "M345.5 403.9l-78.8-90.4 22.4-18.8 54.6 61.8 97.6-133.4 24.1 17.9z" }) ); }, Fe = function (e) { var t = e.title; return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", null, t), Object(k.h)("path", { d: "M369.84,240H260.52V130.72a10,10,0,1,0-20,0V240H131.19a10,10,0,0,0,0,20H240.52V369.37a10,10,0,1,0,20,0V260H369.84a10,10,0,1,0,0-20Z" }), Object(k.h)("path", { d: "M416.69,83.87A235,235,0,1,0,84.35,416.21,235,235,0,1,0,416.69,83.87Zm-14.14,318.2A215,215,0,0,1,98.49,98,215,215,0,0,1,402.55,402.07Z" }) ); }; Fe.defaultProps = { title: "add" }; var We = Fe, Ge = function (e) { var t = e.title; return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", null, t), Object(k.h)("path", { d: "M446,190.2v-6.5c1.4-25.7-7.2-50.5-24.3-69.7c-17.2-19.3-40.9-30.8-66.7-32.3c-3.6-0.2-7.3-0.2-11,0H160 c-25.7-1.4-50.5,7.3-69.7,24.4c-19.3,17.2-30.7,40.9-32.2,66.7c-0.2,3.6-0.2,7.3,0,11v6.4c-11.3,2.6-21.7,8.3-30.2,16.7 C16,218.7,9.5,234.5,9.5,251.2c0,15.8,5.9,30.9,16.5,42.5c8.6,9.4,19.8,15.9,32.1,18.7V366c0,26.5,16,49.3,38.9,59.3v25.2 c0,5.2,4.2,9.3,9.3,9.3h58.3c5.2,0,9.3-4.2,9.3-9.3v-19.8h156.3v19.8c0,5.2,4.2,9.3,9.3,9.3h58.3c5.2,0,9.3-4.2,9.3-9.3v-25.2 c22.8-10,38.9-32.8,38.9-59.3v-53.5c12.3-2.8,23.4-9.3,32-18.7c10.7-11.6,16.5-26.7,16.5-42.5C494.6,221.6,473.8,196.6,446,190.2z M76.7,173.8c1.2-20.8,10.4-40,26-53.9c15.6-13.9,35.6-20.9,56.5-19.7l0.3,0h184.9l0.5,0c3-0.2,6.1-0.2,9.1,0 c20.8,1.2,40,10.5,53.8,26.1c13.9,15.6,20.8,35.7,19.6,56.5l0,5.8c-32.5,2.3-58.3,29.5-58.3,62.6c0,9-1.9,53.8-39.3,53.8H174.3 c-37.4,0-39.3-44.8-39.3-53.8c0-33.1-25.8-60.4-58.3-62.7v-5.2l0-0.5C76.5,179.9,76.5,176.8,76.7,173.8z M155.3,441.2h-39.6v-10.9 c2.4,0.3,4.8,0.4,7.2,0.4h32.5V441.2z M388.5,441.2h-39.6v-10.5h32.4c0,0,0,0,0,0c2.4,0,4.8-0.1,7.2-0.4V441.2z M476,251.3 c0,22.7-17.7,42-40.4,44l-9.6,0.8l1.1,9.5c0.2,1.6,0.3,3.3,0.3,5V366c0,20.5-13.5,37.9-32.1,43.9c-0.2,0.1-0.4,0.1-0.6,0.2 c-4.3,1.3-8.8,2-13.4,2c0,0,0,0,0,0h-40.6c-0.4,0-0.8-0.1-1.1-0.1s-0.8,0-1.1,0.1H165.7c-0.4,0-0.8-0.1-1.1-0.1s-0.8,0-1.1,0.1 h-40.6c-4.7,0-9.2-0.7-13.5-2c-0.2-0.1-0.3-0.1-0.5-0.1C90.3,404,76.8,386.5,76.8,366v-55.4c0-1.7,0.1-3.3,0.3-5l1.1-9.5l-9.6-0.8 c-22.7-1.9-40.4-21.2-40.4-44c0-11.8,4.6-22.9,12.9-31.2c8.3-8.3,19.4-12.9,31.2-12.9c0,0,0,0,0,0c24.3,0,44.1,19.8,44.1,44.2 c0,7.9,1.1,28,10.9,45.3c10.2,17.8,26.4,27.2,47,27.2h155.5c20.6,0,36.8-9.4,47-27.2c9.9-17.3,10.9-37.5,10.9-45.3 c0-24.3,19.8-44.1,44.1-44.1C456.2,207.2,476,227,476,251.3L476,251.3z", }) ); }; Ge.defaultProps = { title: "my listings" }; var Ve = Ge, Ke = function (e) { var t = e.title; return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", null, t), Object(k.h)("path", { d: "M480.61,121.32,377.88,18.59a10,10,0,0,0-7.07-2.93H43.95A28.71,28.71,0,0,0,15.27,44.34V455.25a28.71,28.71,0,0,0,28.68,28.68H454.86a28.71,28.71,0,0,0,28.68-28.68V128.39A10,10,0,0,0,480.61,121.32ZM360.81,35.66V174.42H138V35.66Zm28,428.27H110V285.28a6.82,6.82,0,0,1,6.81-6.81H382a6.82,6.82,0,0,1,6.81,6.81Zm74.71-8.68a8.69,8.69,0,0,1-8.68,8.68h-46V285.28A26.84,26.84,0,0,0,382,258.48H116.79A26.84,26.84,0,0,0,90,285.28V463.93h-46a8.69,8.69,0,0,1-8.68-8.68V44.34a8.69,8.69,0,0,1,8.68-8.68H118V175.08a19.36,19.36,0,0,0,19.34,19.34H361.47a19.36,19.36,0,0,0,19.34-19.34V49.8l82.73,82.73Z", }) ); }; Ke.defaultProps = { title: "saved searches" }; var $e = Ke, qe = function (e) { var t = e.title; return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", null, t), Object(k.h)("path", { d: "M447.88,68.89a119.09,119.09,0,0,0-92-43.11c-35,0-68.49,15.68-91.94,43-4,4.54-7.15,8.46-9.7,11.62-1.33,1.65-2.75,3.4-4,4.83-1.73-2-3.94-4.75-6.11-7.46S239.75,72.3,237,69l-.13-.15c-23.79-27.76-56.45-43-92-43s-68.18,15.29-92,43C28.73,97.09,15.39,133.73,15.39,172c0,86.08,88.86,166.19,160.26,230.57C200.5,425,224,446.19,239.06,463.76a13.76,13.76,0,0,0,6.85,8.12,10,10,0,0,0,8.94,0,13.76,13.76,0,0,0,6.85-8.12c15-17.57,38.56-38.76,63.42-61.18C396.53,338.21,485.39,258.1,485.39,172,485.39,133.76,472.07,97.14,447.88,68.89ZM311.74,387.73c-24.37,22-45.75,41.24-61.35,58.62-15.6-17.37-37-36.65-61.35-58.62C120.58,326,35.39,249.2,35.39,172c0-33,11.94-65.89,32.75-90.17,19.93-23.25,47.2-36.06,76.78-36.06s56.79,12.78,76.72,36c2.63,3.19,4.89,6,6.88,8.51,8.79,11,13.63,17,21.87,17,7.79,0,12.4-5.69,19.37-14.31,2.46-3,5.51-6.81,9.25-11.07l.07-.08c19.64-22.92,47.63-36.06,76.78-36.06a99.15,99.15,0,0,1,76.67,35.93l.11.13C453.45,106.12,465.39,139,465.39,172,465.39,249.2,380.19,326,311.74,387.73Z", }) ); }; qe.defaultProps = { title: "favorites" }; var Je = qe, Ye = function (e) { var t = e.title; return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", null, t), Object(k.h)("path", { d: "M493.4,275.6c0-42.1-21.3-75.6-49.8-81.2c-2.8-9-9.8-16.1-18.8-19c-9-87.7-83.3-156.4-173.3-156.4 C161.3,19.1,87,87.8,78,175.5c-9,2.9-16,10-18.8,19c-28.5,5.6-49.8,39-49.8,81.2c0,42.1,21.3,75.6,49.8,81.1 c3.7,11.8,14.6,20.5,27.6,20.5c16,0,29-13,29-29V203c0-12.2-7.6-22.7-18.3-26.9c8.6-77.3,74.3-137.6,153.9-137.6 c79.6,0,145.3,60.3,153.9,137.6c-10.7,4.3-18.3,14.7-18.3,26.9v145.2c0,12.6,8.1,23.2,19.3,27.2c-0.7,30.8-24.2,57-55.6,59.9 c-3.7,0.4-7.5,0.3-12.1,0h-30.8c-4-11.2-14.7-19.4-27.3-19.4H232c-16,0-29,13-29,29s13,29,29,29h48.4c12.6,0,23.2-8.1,27.3-19.4 l29.9,0c2.5,0.2,4.9,0.3,7.4,0.3c2.5,0,4.9-0.1,7.4-0.3c41.4-3.8,72.4-38.5,73.1-79.2c8.6-3,15.3-10,18.1-18.7 C472,351.2,493.4,317.8,493.4,275.6z M28.7,275.6c0-28.7,12.6-53.4,29-60.6v121.2C41.3,329,28.7,304.3,28.7,275.6z M96.5,348.2 c0,5.3-4.3,9.7-9.7,9.7c-5.3,0-9.7-4.3-9.7-9.7V203c0-5.3,4.3-9.7,9.7-9.7c5.3,0,9.7,4.3,9.7,9.7V348.2z M280.4,454.7H232 c-5.3,0-9.7-4.3-9.7-9.7c0-5.3,4.3-9.7,9.7-9.7h48.4c5.3,0,9.7,4.3,9.7,9.7C290.1,450.4,285.7,454.7,280.4,454.7z M425.6,348.2 c0,5.3-4.3,9.7-9.7,9.7s-9.7-4.3-9.7-9.7V203c0-5.3,4.3-9.7,9.7-9.7s9.7,4.3,9.7,9.7V348.2z M445,336.2V215 c16.5,7.2,29.1,31.9,29.1,60.6S461.4,329,445,336.2z", }) ); }; Ye.defaultProps = { title: "support" }; var Ze = Ye, Xe = function (e) { var t = e.title; return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", null, t), Object(k.h)("path", { d: "M422.26,74.27c-44-39-102.4-60.41-164.47-60.41S137.31,35.31,93.32,74.27C49,113.53,24.56,165.83,24.56,221.55c0,55,23.78,106.53,67.07,145.65C89.4,414.68,51.5,442.48,33,456c-3.58,2.63-6.41,4.7-8.54,6.56a10,10,0,0,0,4,17.2,125.46,125.46,0,0,0,32.54,4c53,0,115.83-28.9,152.69-58.41a261.72,261.72,0,0,0,44.14,3.8c62.07,0,120.48-21.46,164.47-60.42C466.6,329.56,491,277.25,491,221.55S466.6,113.53,422.26,74.27Zm-164.47,335a242.4,242.4,0,0,1-45-4.29,10,10,0,0,0-8.3,2.18c-32.65,27.5-94,56.72-143.48,56.72q-2.51,0-5-.1a180.11,180.11,0,0,0,29.74-28.92c17.26-21.7,26-45.94,26-72a10,10,0,0,0-3.45-7.56c-41.09-35.62-63.73-83.09-63.73-133.68,0-103.5,95.65-187.7,213.23-187.7S471,118.05,471,221.55,375.37,409.24,257.79,409.24Z", }) ); }; Xe.defaultProps = { title: "comments" }; var Qe = Xe, et = function (e) { var t = e.title; return Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 27 27.1" }, Object(k.h)("title", null, t), Object(k.h)( "g", { transform: "translate(-6.9)" }, Object(k.h)("path", { d: "M20.4,27c-7.4,0-13.5-6.1-13.5-13.5C6.9,6,12.9,0,20.4,0s13.5,6,13.5,13.5 C33.9,20.9,27.9,27,20.4,27C20.4,27,20.4,27,20.4,27z M20.4,1.1C13.5,1.1,8,6.6,8,13.5c0,6.9,5.6,12.4,12.4,12.4 c6.8,0,12.4-5.6,12.4-12.4C32.8,6.6,27.3,1.1,20.4,1.1C20.4,1.1,20.4,1.1,20.4,1.1L20.4,1.1z", }), Object(k.h)("path", { d: "M20.5,27.1c-4.2,0-7.8-3.3-8.2-3.7L11.9,23l0.4-0.4c0.9-0.8,1.9-1.4,3.1-1.7 c1.1-0.4,2-0.8,2.3-1.5v-0.1c-1.4-0.2-3-0.7-3.3-1.5l-0.1-0.1l0.1-0.3l-0.1-0.4l0.3-0.1c0.3-1.1,0.5-2.2,0.4-3.3 c0.1-3.5,0.2-8.9,5.6-9.4c0.7,0,1.4,0.2,2,0.6l0,0c0.9,0,1.7,0.3,2.3,1c1.5,1.6,1.5,4.7,1.5,7.5c0,1.6,0,3.2,0.3,3.7l0.2,0.1v0.4 c0,1.1-1.8,1.6-3.5,1.8v0.1c0.3,0.7,1.2,1.1,2.4,1.6c1.1,0.4,2.1,1,2.9,1.7l0.3,0.3l-0.3,0.4C26.6,25.8,23.6,27.1,20.5,27.1z M13.4,23c1.1,1,4,3,7.1,3c2.7,0,5.2-1,7.1-2.9c-0.7-0.5-1.5-0.9-2.3-1.2c-1.3-0.6-2.5-1.1-2.9-2.3v-1.3l0.5-0.1c1,0,2.1-0.3,3-0.8 c-0.5-0.8-0.5-2.4-0.5-4.2c0-2.4,0-5.5-1.2-6.8C23.6,6,23,5.8,22.3,5.8h-0.2L22,5.7c-0.4-0.3-1-0.5-1.5-0.4 c-4.5,0.4-4.6,4.7-4.6,8.3c-0.1,1.7-0.1,3-0.5,3.8c0.9,0.5,1.9,0.8,2.9,0.8l0.4,0.1v0.5c0,0.2,0,0.4-0.1,0.7v0.1 c-0.4,1.2-1.6,1.7-2.9,2.1C14.9,22.1,14.1,22.5,13.4,23z", }) ) ); }; et.defaultProps = { title: "account" }; var tt = { user: Ue, add: We, couch: Ve, save: $e, favorites: Je, comments: Qe, account: et, support: Ze, arrow: xe }; function rt() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var nt = (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (rt()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { return i()(this, n), r.apply(this, arguments); } return ( u()(n, [ { key: "render", value: function (e) { return Object(k.h)("a", o()({}, e, { className: P()(e.className, "ksl-header-button"), href: e.href, onClick: e.onClick }), this.props.children); }, }, ]), n ); })(k.Component); function ot() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var at = (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (ot()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { return i()(this, n), r.apply(this, arguments); } return ( u()(n, [ { key: "render", value: function (e) { return Object(k.h)( "a", { className: P()(e.className, "ksl-header-account__welcome", "ksl-header-button", "ksl-header-button--ghost", "ksl-header-button--strong"), href: e.href, tabIndex: e.tabIndex, onClick: function () { gtm.triggerGTM(["account", "account", "welcome"], e.href), "function" == typeof e.onClick && e.onClick(); }, }, "Welcome ", e.name || e.username || "User ".concat(e.memberId) ); }, }, ]), n ); })(k.Component); function st() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var ct = (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (st()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { return i()(this, n), r.apply(this, arguments); } return ( u()(n, [ { key: "render", value: function (e) { return e.count ? Object(k.h)("span", { className: "ksl-header-alert-badge ".concat(e.count >= 100 && "ksl-header-alert-badge__extra") }, Object(k.h)("span", null, e.count >= 100 ? "99+" : e.count)) : null; }, }, ]), n ); })(k.Component); function it() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } function lt(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), r.push.apply(r, n); } return r; } var ut = T(function (e, t) { var r = e.nav.hrefBase, n = e.nav.items.account; return (function (e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? lt(Object(r), !0).forEach(function (t) { w()(e, t, r[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : lt(Object(r)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)); }); } return e; })({ account: e.account }, e.account, {}, n, { hrefBase: Z(r, n.hrefBase), nofollowAll: Boolean(e.nav.nofollowAll), totalAlertCount: e.totalAlertCount, alertCounts: e.alertCounts, alertsUpdated: e.alertsUpdated, setTotalAlertCount: t.setTotalAlertCount, setAlertCounts: t.setAlertCounts, }); })( (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (it()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { var e; i()(this, n); for (var t = arguments.length, o = new Array(t), a = 0; a < t; a++) o[a] = arguments[a]; return ( (e = r.call.apply(r, [this].concat(o))), w()(f()(e), "slidesIn", {}), w()( f()(e), "_updateAlertCounts", s()( O.a.mark(function t() { var r, n, o; return O.a.wrap(function (t) { for (; ;) switch ((t.prev = t.next)) { case 0: if (!e.props.alertsUpdated && V(e.props.account)) { t.next = 2; break; } return t.abrupt("return"); case 2: return (t.next = 4), re(e.props.account); case 4: (r = t.sent), (n = r.total), (o = r.alerts), e.props.setTotalAlertCount(n), e.props.setAlertCounts(o); case 9: case "end": return t.stop(); } }, t); }) ) ), w()(f()(e), "_closeSlideIns", function () { Object.values(e.slidesIn).forEach(function (e) { return e._close(); }); }), w()(f()(e), "_getNavClasses", function (e, t) { return P()(w()({ "ksl-header-nav-group": !0, "ksl-header-nav-group--level-1": !0, "ksl-header-slides-in": !0 }, "ksl-header-slides-in--".concat(t), !0)); }), w()(f()(e), "_renderCloseToggle", function () { return Object(k.h)(we, { onClick: e._closeDropdown, tabIndex: e._getTabIndex() }, "Close"); }), w()(f()(e), "_renderIcon", function (e) { var t = e.icon; if (t && tt[t]) { var r = tt[t], n = e.text ? { title: e.text } : {}; return Object(k.h)("span", { className: "ksl-header-nav-link__icon ksl-header-nav-link__icon--".concat(t) }, Object(k.h)(r, n)); } return null; }), w()(f()(e), "_renderArrow", function () { return Object(k.h)("span", { className: "ksl-header-nav-link__arrow" }, Object(k.h)(xe, null)); }), w()(f()(e), "_getVerticalNotifications", function (e, t) { var r; if (e.length && t) return null === (r = e.find(function (e) { return e.vertical === t.toLowerCase(); })) || void 0 === r ? void 0 : r.unviewed; }), w()(f()(e), "_renderAccountLinksList", function () { var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [], r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : -1, n = { "ksl-header-account__links": !0, "ksl-header-account__links--empty": 0 === t.length }; return Object(k.h)( "div", { className: P()(n) }, t.map(function (t, n) { return Object(k.h)( "div", { className: "ksl-header-nav-item", key: "link-".concat(n) }, Object(k.h)("a", { className: "ksl-header-nav-link", href: e._href({ href: t.href }), tabIndex: r }, e._renderIcon(t), t.text, e._renderArrow()) ); }) ); }), w()(f()(e), "_onSlidesInClose", function () { e._closeDropdown(), e.props.onToggle && e.props.onToggle(); }), w()(f()(e), "_renderSlidesIn", function (t, r, n) { return Object(k.h)(Te, { onClose: e._onSlidesInClose, ref: function (t) { return (e.slidesIn[r] = t); }, key: r, render: function (o) { var a = o.status, s = o.getTriggerProps, c = o.getBodyProps, i = o.renderSlidesInNav; return Object(k.h)( "div", { className: "ksl-header-slides-in-group ksl-header-nav-group__body" }, Object(k.h)( "div", { className: e._getNavClasses(r, a) }, Object(k.h)( "div", { className: "ksl-header-slides-in__head ksl-header-nav-item" }, Object(k.h)( "a", s({ className: "ksl-header-nav-link", href: t.href ? e._href(t) : "#", tabIndex: n, rel: e._getNavItemRel(t), onClick: function () { } }), e._renderIcon(t), t.text, t.showAlertCounts && Object(k.h)(ct, { count: e.props.totalAlertCount }), e._renderArrow() ) ), Object(k.h)( "div", c({ className: "ksl-header-slides-in__body ksl-header-menu__inner" }), Object(k.h)( "div", { className: "ksl-header-nav-group__body" }, i(), t.items && Object.values(t.items).map(function (r, n) { return Object(k.h)( "div", { className: "ksl-header-nav-item ksl-header-nav-item--level-3", key: n }, e._renderIcon(r), Object(k.h)( "a", { className: "ksl-header-nav-link", href: e._href(r), onClick: function () { Q(["account", t.text, r.text], r.href, r.hrefBase); }, rel: e._getNavItemRel(r), tabIndex: "open" === a ? "0" : "-1", }, r.text, t.showAlertCounts && Object(k.h)(ct, { count: e._getVerticalNotifications(e.props.alertCounts, r.text) }), e._renderArrow() ) ); }) ) ) ) ); }, }); }), w()(f()(e), "_closeDropdown", function () { e._closeSlideIns(), e.context[B] && e.context[B].close(); }), w()(f()(e), "_getNavItemRel", function (t) { var r = t.rel; return r || (r = ["_none", "_blank"].indexOf(t.target) > -1 ? "noopener" : ""), e.props.nofollowAll && !t.nofollowAllException && r.indexOf("nofollow") < 0 && (r = r ? r + " nofollow" : "nofollow"), r; }), w()(f()(e), "_renderDropdown", function () { return Object(k.h)(z, { onClose: e._closeSlideIns, hover: !0, render: function (t) { var r = t.open, n = t.getContainerProps, o = t.getTriggerProps; return Object(k.h)( "div", n({ className: e._getDropdownClasses(r) }), Object(k.h)( "span", { className: e._getAccountDropdownClasses() }, Object(k.h)( "button", o({ className: "ksl-header-account-toggle__icon", "aria-labelledby": "ksl-header-account-label", "aria-haspopup": "true", "aria-expanded": r ? "true" : "false", onClick: function (t) { !r && t.preventDefault(), r && t.stopPropagation() && t.preventDefault(), Q(["account", "account", r ? "collapse" : "expand"], e.props.hrefBase); }, }), V(e.props.account) ? Object(k.h)("div", null, Object(k.h)(ze, null), Object(k.h)(ct, { count: e.props.totalAlertCount })) : Object(k.h)(Ue, null) ) ), Object(k.h)("div", { className: "ksl-header-dropdown__body account-dropdown" }, e._renderContent()) ); }, }); }), w()(f()(e), "_getAccountDropdownClasses", function () { var t = V(e.props.account); return P()({ "ksl-header-dropdown__toggle": !0, "ksl-header-dropdown__toggle--with-arrow": !0, "ksl-header-account-toggle": !0, "ksl-header-account-toggle--logged-in": t }); }), w()(f()(e), "_renderContent", function () { return V(e.props.account) ? e._renderLoggedIn() : e._renderLoggedOut(); }), w()(f()(e), "_renderLoggedOut", function () { var t = null; "small" === e.props.size.toLowerCase() && (t = e.props.mobileAccountOpen ? "0" : "-1"); var r = e._href(e.props.items.login), n = e._href(e.props.items.signup); return Object(k.h)( "div", { className: "ksl-header-account" }, Object(k.h)( "div", { className: "ksl-header-account__logged-out" }, Object(k.h)( nt, { className: "ksl-header-account__login-button", href: r, tabIndex: t, onClick: function () { Q(["account", "account", "login"], r); }, }, "Sign In" ), Object(k.h)( "a", { className: "ksl-header-account__create-account-link ksl-header-link", href: n, tabIndex: t, onClick: function () { Q(["account", "account", "create account"], n); }, }, "Or Create an Account" ) ), e.props.items.support && e._renderAccountLinksList([e.props.items.support], t) ); }), w()(f()(e), "_getTabIndex", function () { var t = null; return "small" === e.props.size.toLowerCase() && (t = e.props.mobileAccountOpen ? "0" : "-1"), t; }), w()(f()(e), "_renderLoggedInItems", function (t, r) { return e._renderSlidesIn(t, r, e._getTabIndex()); }), w()(f()(e), "_renderLoggedIn", function () { var t = "small" === e.props.size.toLowerCase(), r = e._getTabIndex(), n = e._href(e.props.items.account), o = e._href(e.props.items.logout); return Object(k.h)( "div", { className: "ksl-header-account ksl-header-account--logged-in" }, Object(k.h)( "div", { className: "ksl-header-account__logged-in" }, !t && Object(k.h)("div", { className: "ksl-header-menu__nav" }, e._renderCloseToggle()), Object.entries(e.props.items) .filter(function (e) { var t = le()(e, 2)[1].loggedIn; return Boolean(t); }) .map(function (t) { var r = le()(t, 2), n = r[0], o = r[1]; return e._renderLoggedInItems(o, n); }), e.props.items.account && Object(k.h)( "div", { className: "ksl-header-slides-in__head ksl-header-nav-item" }, Object(k.h)("a", { className: "ksl-header-nav-link", href: n, tabIndex: r, onClick: function () { } }, e._renderIcon(e.props.items.account), e.props.items.account.text, e._renderArrow()) ), e.props.items.support && e._renderAccountLinksList([e.props.items.support], r), Object(k.h)( "div", { className: "ksl-header-nav-item ksl-header-nav-item--welcome" }, Object(k.h)( "div", { className: "ksl-header-nav-item__split" }, Object(k.h)(at, { href: n, memberId: e.props.member_id, name: e.props.name, tabIndex: r, username: e.props.username }), Object(k.h)( "a", { className: "ksl-header-account__logout-button ksl-header-button ksl-header-button--ghost", href: o, tabIndex: r, onClick: function () { Q(["account", "account", "logout"], o); }, }, "Sign Out" ) ) ) ) ); }), w()(f()(e), "_href", function (t) { return Z(e.props.hrefBase, t.href); }), e ); } return ( u()(n, [ { key: "componentDidMount", value: function () { this._updateAlertCounts(); }, }, { key: "componentDidUpdate", value: function (e) { e.mobileAccountOpen && !this.props.mobileAccountOpen && this._closeSlideIns(), this._updateAlertCounts(); }, }, { key: "render", value: function () { switch (this.props.size.toLowerCase()) { case "small": return this._renderContent(); default: return this._renderDropdown(); } }, }, { key: "_getDropdownClasses", value: function (e) { return P()({ "ksl-header-dropdown": !0, "ksl-header-dropdown--open": e, "ksl-header-account-dropdown": !0, "ksl-header-dropdown--has-close-action": !0 }); }, }, ]), n ); })(k.Component) ); function pt() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var ft = T(function (e) { return { nav: e.nav }; })( (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (pt()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { var e; i()(this, n); for (var t = arguments.length, o = new Array(t), a = 0; a < t; a++) o[a] = arguments[a]; return ( (e = r.call.apply(r, [this].concat(o))), w()(f()(e), "slidesIn", {}), w()(f()(e), "_getNavItemRel", function (e, t) { var r = e.rel; return r || (r = ["_none", "_blank"].indexOf(e.target) > -1 ? "noopener" : ""), t && !e.nofollowAllException && r.indexOf("nofollow") < 0 && (r = r ? r + " nofollow" : "nofollow"), r; }), w()(f()(e), "_renderLink", function (t, r, n) { var o = e.props.section, a = e.props.nav.hrefBase, s = t.hrefBase; return Object(k.h)( "div", { key: r, className: e._getNavClasses("".concat(o, ".").concat(r)) }, Object(k.h)( "div", { className: "ksl-header-nav-group__head" }, Object(k.h)( "a", { className: "ksl-header-nav-link", href: e._getHref(s || a, t.href), onClick: function () { Q([o, t.text], t.href, t.hrefBase); }, rel: e._getNavItemRel(t, e.props.nav.nofollowAll), tabIndex: n, }, t.text, t.beta && Object(k.h)("span", { className: "ksl-header-screen-reader" }, " (In Beta)"), t.new && Object(k.h)("span", { className: "ksl-header-screen-reader" }, " (New)"), t.beta && Object(k.h)("span", { className: "ksl-header-nav-item-beta-link-mobile", "aria-hidden": "true" }, " Beta"), t.new && Object(k.h)("span", { className: "ksl-header-nav-item-new-link-mobile", "aria-hidden": "true" }, " New"), Object(k.h)("span", { className: "ksl-header-nav-link__arrow" }, Object(k.h)(xe, null)) ) ) ); }), w()(f()(e), "_renderSlidesIn", function (t, r, n) { var o = e.props, a = o.section, s = o.onToggle, c = e.props.nav.hrefBase, i = t.items, l = t.hrefBase, u = l || c; return Object(k.h)(Te, { onClose: s, ref: function (t) { return (e.slidesIn[r] = t); }, key: r, render: function (o) { var s = o.status, p = o.getTriggerProps, f = o.getBodyProps, h = o.renderSlidesInNav; return Object(k.h)( "div", { className: "ksl-header-slides-in-group ksl-header-nav-group__body" }, Object(k.h)( "div", { className: e._getNavClasses("".concat(a, ".").concat(r), s) }, Object(k.h)( "div", { className: "ksl-header-slides-in__head ksl-header-nav-group__head" }, Object(k.h)( "a", { className: "ksl-header-nav-link", href: e._getHref(u, t.href), onClick: function (e) { e.stopPropagation(), Q([a, t.text], t.href, t.hrefBase); }, rel: e._getNavItemRel(t, e.props.nav.nofollowAll), tabIndex: n, }, t.text, t.beta && Object(k.h)("span", { className: "ksl-header-screen-reader" }, " ", "(In Beta)"), t.new && Object(k.h)("span", { className: "ksl-header-screen-reader" }, " (New)"), t.beta && Object(k.h)("span", { className: "ksl-header-nav-item-beta-link-mobile", "aria-hidden": "true" }, " Beta"), t.new && Object(k.h)("span", { className: "ksl-header-nav-item-new-link-mobile", "aria-hidden": "true" }, " New") ), Object(k.h)( "button", p({ className: "ksl-header-nav-link__arrow", tabIndex: n, onClick: function () { Q([a, t.text, "open" === s ? "collapse" : "expand"], void 0, t.hrefBase); }, "aria-haspopup": "true", "aria-expanded": "open" === s ? "true" : "false", "aria-label": "".concat(t.text, " slides-in"), }), Object(k.h)(xe, null) ) ), Object(k.h)( "div", f({ className: "ksl-header-slides-in__body ksl-header-menu__inner" }), i ? Object(k.h)( "div", { className: "ksl-header-nav-group__body" }, h(), Object.keys(i).map(function (r) { var n = i[r], o = n.hrefBase || l || c; return Object(k.h)( "div", { className: "ksl-header-nav-item ksl-header-nav-item--level-3", key: r }, Object(k.h)( "a", { className: "ksl-header-nav-link", href: e._getHref(o, n.href), onClick: function () { Q([a, t.text, n.text], n.href, n.hrefBase); }, rel: e._getNavItemRel(n, e.props.nav.nofollowAll || t.nofollowAll), tabIndex: "open" === s ? "0" : "-1", }, n.text, Object(k.h)("span", { className: "ksl-header-nav-link__arrow" }, Object(k.h)(xe, null)) ) ); }) ) : null ) ) ); }, }); }), w()(f()(e), "_renderWeatherSlidesIn", function (t, r) { var n = e.props, o = n.section, a = n.onToggle, s = e.props.nav.hrefBase, c = t.hrefBase || s; return Object(k.h)(Te, { onClose: a, ref: function (t) { return (e.slidesIn.weather = t); }, render: function (n) { var a = n.status, s = n.getTriggerProps, i = n.getBodyProps, l = n.renderSlidesInNav; return Object(k.h)( "div", { className: "ksl-header-slides-in-group ksl-header-nav-group__body" }, Object(k.h)( "div", { className: e._getNavClasses("".concat(o, ".weather"), a) }, Object(k.h)( "div", { className: "ksl-header-slides-in__head ksl-header-nav-group__head" }, Object(k.h)( "a", { className: "ksl-header-nav-link", href: e._getHref(c, t.href), onClick: function (e) { e.stopPropagation(), Q([o, t.text], t.href, t.hrefBase); }, rel: e._getNavItemRel(t, e.props.nofollowAll), tabIndex: r, }, t.text ), Object(k.h)( "button", s({ className: "ksl-header-nav-link__arrow", tabIndex: r, onClick: function () { Q([o, t.text, "open" === a ? "collapse" : "expand"], void 0, t.hrefBase); }, "aria-haspopup": "true", "aria-expanded": "open" === a ? "true" : "false", "aria-label": "".concat(t.text, " slides-in"), }), Object(k.h)(xe, null) ) ), Object(k.h)( "div", i({ className: "ksl-header-slides-in__body ksl-header-menu__inner" }), Object(k.h)("div", { className: "ksl-header-nav-group__body" }, l(), Object(k.h)(De, { size: "small", renderWidgetOnly: !0 })) ) ) ); }, }); }), w()(f()(e), "_getContainerClasses", function () { var t = { "ksl-header-nav-group": !0, "ksl-header-nav-group--level-1": !0, "ksl-header-nav-group--active": G(e.props.section, e.props.nav.activePath) }; return (t["ksl-header-" + e.props.section] = !0), P()(t); }), w()(f()(e), "_getNavClasses", function (t, r) { var n = { "ksl-header-nav-group": !0, "ksl-header-nav-group--level-2": !0, "ksl-header-nav-group--active": G(t, e.props.nav.activePath) }; return r && ((n["ksl-header-slides-in"] = !0), (n["ksl-header-slides-in--" + r] = !0)), P()(n); }), w()(f()(e), "_getHref", function (e, t) { return Z(e, t); }), e ); } return ( u()(n, [ { key: "componentDidUpdate", value: function (e) { e.mobileMenuOpen && !this.props.mobileMenuOpen && Object.values(this.slidesIn).forEach(function (e) { e && e._close(); }); }, }, { key: "render", value: function () { var e = this, t = this.props.section, r = this.props.nav.items, n = r[t].items, o = this.props.mobileMenuOpen ? "0" : "-1"; return Object(k.h)( "div", { className: "ksl-header-mobile-links" }, Object(k.h)( "div", { className: this._getContainerClasses() }, r[t].text && Object(k.h)("div", { className: "ksl-header-nav-group__head" }, r[t].text), Object(k.h)( "div", { className: "ksl-header-nav-group__body" }, Object.keys(n).map(function (t) { var r = n[t]; return r.disabled ? null : "weather" === t ? e._renderWeatherSlidesIn(r, o) : r.items && !r.subNavDisabled ? e._renderSlidesIn(r, t, o) : e._renderLink(r, t, o); }) ) ) ); }, }, ]), n ); })(k.Component) ), ht = r(24), dt = r.n(ht); function vt() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var mt = (function (e) { d()(n, e); var t, r = ((t = n), function () { var e, r = g()(t); if (vt()) { var n = g()(this).constructor; e = Reflect.construct(r, arguments, n); } else e = r.apply(this, arguments); return m()(this, e); }); function n() { return i()(this, n), r.apply(this, arguments); } return ( u()(n, [ { key: "render", value: function () { return Object(k.h)( "div", null, Object(k.h)(dt.a, { script: [ { innerHTML: "window.headerDataLayer = window.headerDataLayer || [];" }, { innerHTML: "\n \x3c!-- Google Tag Manager --\x3e\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','headerDataLayer','GTM-NKMQVGQ');\n \x3c!-- End Google Tag Manager --\x3e\n ", }, ], }) ); }, }, ]), n ); })(k.Component); function yt(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), r.push.apply(r, n); } return r; } function gt(e) { return function () { var t, r = g()(e); if (bt()) { var n = g()(this).constructor; t = Reflect.construct(r, arguments, n); } else t = r.apply(this, arguments); return m()(this, t); }; } function bt() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], function () { })), !0; } catch (e) { return !1; } } var wt = r(17), _t = T(function (e, t) { return { nav: e.nav, features: e.features, searchHidden: e.search.hidden, nofollowAll: e.nav.nofollowAll, totalAlertCount: e.totalAlertCount, account: e.account, isCarsDealer: e.isCarsDealer, setIsCarsDealer: t.setIsCarsDealer, }; })( (function (e) { d()(r, e); var t = gt(r); function r(e) { var n; return ( i()(this, r), (n = t.call(this, e)), w()(f()(n), "state", { compact: !1, hidden: !1, mobileMenuOpen: !1, mobileAccountOpen: !1, size: null, carsDealerInfoLoaded: !1 }), w()(f()(n), "_checkWindowSize", function () { var e = n.state.size; n.props.features.headerIsResponsive ? window.matchMedia("(max-width: 959px)").matches ? "Small" !== e && n.setState({ size: "Small", mobileMenuOpen: !1, mobileAccountOpen: !1 }) : window.matchMedia("(min-width: 960px) and (max-width: 1023px)").matches ? "Medium" !== e && n.setState({ size: "Medium", mobileMenuOpen: !1, mobileAccountOpen: !1 }) : window.matchMedia("(min-width: 1024px) and (max-width: 1119px)").matches ? "Large" !== e && n.setState({ size: "Large", mobileMenuOpen: !1, mobileAccountOpen: !1 }) : "XLarge" !== e && n.setState({ size: "XLarge", mobileMenuOpen: !1, mobileAccountOpen: !1 }) : "Large" !== e && n.setState({ size: "Large" }); }), w()(f()(n), "_handleScroll", function () { var e = n.scrollTop, t = void 0 !== window.pageYOffset ? window.pageYOffset : (document.documentElement || document.body.parentNode || document.body).scrollTop; n.scrollTop = t; var r = n._shouldBeCompact(e, t), o = n._shouldBeHidden(e, t); (n.state.compact !== r || n.state.hidden !== o) && n.setState({ compact: r, hidden: o }); }), w()(f()(n), "_shouldBeHidden", function (e, t) { if (!0 !== n.props.features.hidden) return !1; var r = n.state.hidden; if (t !== e) { var o = t > e, a = 2 * n.domOuter.offsetHeight; r = o && t > a && t; } return r; }), w()(f()(n), "_getClasses", function () { var e = { "ksl-header": !0, "ksl-header--compact": n.state.compact, "ksl-header--hidden": n.state.hidden }; return (e["ksl-header--" + n.state.size.toLowerCase()] = !0), P()(e); }), w()( f()(n), "_getCarsDealerInfo", s()( O.a.mark(function e() { var t; return O.a.wrap(function (e) { for (; ;) switch ((e.prev = e.next)) { case 0: if (!n.state.carsDealerInfoLoaded) { e.next = 2; break; } return e.abrupt("return"); case 2: return ( (e.next = 4), ne || (ne = fetch("https://myaccount.ksl.com/api/v1/dealer/cars-dealer-info", { credentials: "include" }) .then(function (e) { return e.json(); }) .then(function (e) { return e.data; })), ne ); case 4: (t = e.sent), n.props.setIsCarsDealer(!!t); case 6: case "end": return e.stop(); } }, e); }) ) ), w()(f()(n), "_renderSmall", function () { var e = n.state, t = e.mobileMenuOpen, r = e.mobileAccountOpen; return Object(k.h)( "div", o()({ className: n._getClasses() }, n._getNavA11y()), Object(k.h)( "div", { className: "ksl-header__outer", ref: function (e) { return (n.domOuter = e); }, }, Object(k.h)( "div", { className: "ksl-header__inner" }, Object(k.h)(ce, null), Object(k.h)(De, { size: (n.state.size || "").toLowerCase(), searchHidden: n.props.searchHidden }), Object(k.h)(U, null, Object(k.h)("span", null, Object(k.h)(Be, null))), Object(k.h)( "button", { ref: function (e) { return (n.mobileAccountTrigger = e); }, className: "ksl-header-account-toggle__icon", onClick: n._toggleMobileAccount, "aria-labelledby": "ksl-header-account-label", "aria-expanded": r ? "true" : "false", "aria-haspopup": "true", }, V(n.props.account) ? Object(k.h)("div", null, Object(k.h)(ze, null), Object(k.h)(ct, { count: n.props.totalAlertCount })) : Object(k.h)(Ue, null) ), Object(k.h)( "button", { ref: function (e) { return (n.mobileMenuTrigger = e); }, className: "ksl-header-menu-toggle", onClick: n._toggleMobileMenu, "aria-labelledby": "ksl-header-toggle-menu-label", "aria-expanded": t ? "true" : "false", "aria-haspopup": "true", }, Object(k.h)( "svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 500 500" }, Object(k.h)("title", { id: "ksl-header-toggle-menu-label" }, "toggle menu"), Object(k.h)("path", { d: "M485 66.5c0 5.5-4.6 10.1-10.1 10.1H25.1C19.6 76.6 15 72 15 66.5V39c0-5.5 4.6-10.1 10.1-10.1h449.8c5.5 0 10.1 4.6 10.1 10.1v27.5zm0 113.2c0 5.5-4.6 10.1-10.1 10.1H25.1c-5.5 0-10.1-4.6-10.1-10.1v-27.5c0-5.5 4.6-10.1 10.1-10.1h449.8c5.5 0 10.1 4.6 10.1 10.1v27.5zm0 114.2c0 5.5-4.6 10.1-10.1 10.1H25.1c-5.5 0-10.1-4.6-10.1-10.1v-27.5c0-5.5 4.6-10.1 10.1-10.1h449.8c5.5 0 10.1 4.6 10.1 10.1v27.5zM116.6 470.3v-90l-38.7 69h-8.4l-38.9-69v90H15.9V353.8h15.6l42.1 75.6 42.3-75.6h15.4v116.4h-14.7zM238.2 457.2v13.1h-79V353.8h77.6V367H174v37.7h54.6V417H174v40.2h64.2zM274 381.4v88.9h-14.8V353.8h11.5l72.2 90.7V354h14.8v116.3h-12.5L274 381.4zM468.2 412.7v-58.9H483v58.9c0 31.5-13.8 58.4-49.5 58.4-37.1 0-49.7-28.5-49.7-58.4v-58.9h14.8v58.9c0 23 8.2 45.1 34.8 45.1 26.9 0 34.8-22.8 34.8-45.1z", }) ) ) ) ), Object(k.h)( Oe, { onToggle: n._toggleMobileAccount, menuOpen: r, containerClasses: P()({ "ksl-header-account--mobile": !0, "ksl-header-account--open": r }) }, Object(k.h)(ut, { onToggle: n._toggleMobileAccount, size: (n.state.size || "").toLowerCase(), mobileAccountOpen: r }) ), Object(k.h)( Oe, { onToggle: n._toggleMobileMenu, menuOpen: t, containerClasses: P()({ "ksl-header-menu": !0, "ksl-header-menu--right": !0, "ksl-header-menu--open": t }) }, Object(k.h)(ft, { section: "news", onToggle: n._toggleMobileMenu, mobileMenuOpen: t }), Object(k.h)(ft, { section: "marketplace", onToggle: n._toggleMobileMenu, mobileMenuOpen: t }) ), n._renderReserved() ); }), w()(f()(n), "_renderMedium", function () { return n._renderLarge(); }), w()(f()(n), "_renderLarge", function () { return Object(k.h)( U, null, Object(k.h)( "div", o()({ className: n._getClasses() }, n._getNavA11y()), Object(k.h)( "div", { className: "ksl-header__outer", ref: function (e) { return (n.domOuter = e); }, }, Object(k.h)( "div", { className: "ksl-header__inner" }, Object(k.h)(ce, null), Object(k.h)(he, { section: "news", size: (n.state.size || "").toLowerCase() }), Object(k.h)(De, { size: (n.state.size || "").toLowerCase(), showAsLabel: !0 }), Object(k.h)(he, { section: "marketplace", searchHidden: n.props.searchHidden }), Object(k.h)("div", { className: "ksl-header__stacking-section" }, Object(k.h)(Be, null), Object(k.h)(ut, { size: (n.state.size || "").toLowerCase() })) ) ), n._renderReserved() ) ); }), w()(f()(n), "_renderXLarge", function () { return n._renderLarge(); }), w()(f()(n), "_renderReserved", function () { var e = { "ksl-header-reserved": !0, "ksl-header-reserved--compact": n.state.compact }; return (e["ksl-header-reserved--" + n.state.size.toLowerCase()] = !0), Object(k.h)("div", { className: P()(e) }); }), w()(f()(n), "_toggleMobileMenu", function (e) { n.state.mobileMenuOpen ? (Q(["hamburger close"]), n._closeMobileMenu(e)) : (Q(["hamburger open"]), n._openMobileMenu()); }), w()(f()(n), "_openMobileMenu", function () { document.getElementsByClassName("ksl-header-menu")[0].classList.add("ksl-header-menu--open-right"), !n.state.mobileMenuOpen && n.setState({ mobileMenuOpen: !0 }); }), w()(f()(n), "_closeMobileMenu", function (e) { document.getElementsByClassName("ksl-header-menu")[0].classList.remove("ksl-header-menu--open-right"), n.state.mobileMenuOpen && n.setState({ mobileMenuOpen: !1 }, function () { e && "keydown" === e.type && n.mobileMenuTrigger.focus(); }); }), w()(f()(n), "_openMobileAccount", function () { document.getElementsByClassName("ksl-header-menu-container")[0].classList.add("ksl-header-account--open"), !n.state.mobileAccountOpen && n.setState({ mobileAccountOpen: !0 }); }), w()(f()(n), "_closeMobileAccount", function (e) { document.getElementsByClassName("ksl-header-menu-container")[0].classList.remove("ksl-header-account--open"), n.state.mobileAccountOpen && n.setState({ mobileAccountOpen: !1 }, function () { e && "keydown" === e.type && n.mobileAccountTrigger.focus(); }); }), w()(f()(n), "_toggleMobileAccount", function (e) { n.state.mobileAccountOpen ? (Q(["account", "account", "close"]), n._closeMobileAccount(e)) : (Q(["account", "account", "open"]), n._openMobileAccount()); }), n._checkWindowSize(), n ); } return ( u()(r, [ { key: "componentDidMount", value: function () { window.addEventListener("resize", this._checkWindowSize, !1), window.addEventListener("scroll", this._handleScroll, !1); }, }, { key: "componentWillUnmount", value: function () { window.removeEventListener("resize", this._checkWindowSize), window.removeEventListener("scroll", this._handleScroll); }, }, { key: "componentDidUpdate", value: function (e, t) { t.mobileMenuOpen && !this.state.mobileMenuOpen && this._closeMobileMenu(), t.mobileAccountOpen && !this.state.mobileAccountOpen && this._closeMobileAccount(), V(this.props.account) && !this.state.carsDealerInfoLoaded && (this._getCarsDealerInfo(), this.setState( (function (e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? yt(Object(r), !0).forEach(function (t) { w()(e, t, r[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : yt(Object(r)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)); }); } return e; })({}, this.state, { carsDealerInfoLoaded: !0 }) )); }, }, { key: "render", value: function () { return this["_render" + this.state.size](); }, }, { key: "_shouldBeCompact", value: function (e, t) { return t > 3; }, }, { key: "_getNavA11y", value: function () { return { role: "navigation", "aria-label": "main menu" }; }, }, ]), r ); })(k.Component) ), Ot = (function (e) { d()(r, e); var t = gt(r); function r() { var e; i()(this, r); for (var n = arguments.length, o = new Array(n), a = 0; a < n; a++) o[a] = arguments[a]; return ( (e = t.call.apply(t, [this].concat(o))), w()(f()(e), "_handleSkip", function (t) { t.preventDefault(), e.domSkipDiv.focus(); }), e ); } return ( u()(r, [ { key: "render", value: function () { var e = this; return Object(k.h)( S, { store: this.props.headerProps }, Object(k.h)( "div", null, Object(k.h)(mt, null), Object(k.h)("a", { className: "ksl-header-skip-to-content", href: "#ksl-header-skip", onClick: this._handleSkip }, "Skip to content"), Object(k.h)(_t, null), Object(k.h)("div", { id: "ksl-header-skip", tabIndex: "-1", ref: function (t) { return (e.domSkipDiv = t); }, }) ) ); }, }, ]), r ); })(k.Component), kt = { render: function (e, t) { var r = wt(!0, Object(E.getDefaultProps)(), e), n = (t = t || document.getElementById("kslHeader")).lastChild; 1 !== t.childNodes.length && (n = (function (e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : document.createElement("div"), r = Array.prototype.slice.call(e.childNodes); return ( r.forEach(function (e) { return t.appendChild(e); }), e.appendChild(t), t ); })(t)), Object(k.render)(Object(k.h)(Ot, { headerProps: r }), t, n); }, component: Ot, }; r(52), r(53), (t.default = kt); }, function (e, t) { function r(t, n) { return ( (e.exports = r = Object.setPrototypeOf || function (e, t) { return (e.__proto__ = t), e; }), (e.exports.default = e.exports), (e.exports.__esModule = !0), r(t, n) ); } (e.exports = r), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t, r) { var n = (function (e) { "use strict"; var t = Object.prototype, r = t.hasOwnProperty, n = "function" == typeof Symbol ? Symbol : {}, o = n.iterator || "@@iterator", a = n.asyncIterator || "@@asyncIterator", s = n.toStringTag || "@@toStringTag"; function c(e, t, r) { return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t]; } try { c({}, ""); } catch (e) { c = function (e, t, r) { return (e[t] = r); }; } function i(e, t, r, n) { var o = t && t.prototype instanceof p ? t : p, a = Object.create(o.prototype), s = new k(n || []); return ( (a._invoke = (function (e, t, r) { var n = "suspendedStart"; return function (o, a) { if ("executing" === n) throw new Error("Generator is already running"); if ("completed" === n) { if ("throw" === o) throw a; return j(); } for (r.method = o, r.arg = a; ;) { var s = r.delegate; if (s) { var c = w(s, r); if (c) { if (c === u) continue; return c; } } if ("next" === r.method) r.sent = r._sent = r.arg; else if ("throw" === r.method) { if ("suspendedStart" === n) throw ((n = "completed"), r.arg); r.dispatchException(r.arg); } else "return" === r.method && r.abrupt("return", r.arg); n = "executing"; var i = l(e, t, r); if ("normal" === i.type) { if (((n = r.done ? "completed" : "suspendedYield"), i.arg === u)) continue; return { value: i.arg, done: r.done }; } "throw" === i.type && ((n = "completed"), (r.method = "throw"), (r.arg = i.arg)); } }; })(e, r, s)), a ); } function l(e, t, r) { try { return { type: "normal", arg: e.call(t, r) }; } catch (e) { return { type: "throw", arg: e }; } } e.wrap = i; var u = {}; function p() { } function f() { } function h() { } var d = {}; d[o] = function () { return this; }; var v = Object.getPrototypeOf, m = v && v(v(x([]))); m && m !== t && r.call(m, o) && (d = m); var y = (h.prototype = p.prototype = Object.create(d)); function g(e) { ["next", "throw", "return"].forEach(function (t) { c(e, t, function (e) { return this._invoke(t, e); }); }); } function b(e, t) { var n; this._invoke = function (o, a) { function s() { return new t(function (n, s) { !(function n(o, a, s, c) { var i = l(e[o], e, a); if ("throw" !== i.type) { var u = i.arg, p = u.value; return p && "object" == typeof p && r.call(p, "__await") ? t.resolve(p.__await).then( function (e) { n("next", e, s, c); }, function (e) { n("throw", e, s, c); } ) : t.resolve(p).then( function (e) { (u.value = e), s(u); }, function (e) { return n("throw", e, s, c); } ); } c(i.arg); })(o, a, n, s); }); } return (n = n ? n.then(s, s) : s()); }; } function w(e, t) { var r = e.iterator[t.method]; if (void 0 === r) { if (((t.delegate = null), "throw" === t.method)) { if (e.iterator.return && ((t.method = "return"), (t.arg = void 0), w(e, t), "throw" === t.method)) return u; (t.method = "throw"), (t.arg = new TypeError("The iterator does not provide a 'throw' method")); } return u; } var n = l(r, e.iterator, t.arg); if ("throw" === n.type) return (t.method = "throw"), (t.arg = n.arg), (t.delegate = null), u; var o = n.arg; return o ? o.done ? ((t[e.resultName] = o.value), (t.next = e.nextLoc), "return" !== t.method && ((t.method = "next"), (t.arg = void 0)), (t.delegate = null), u) : o : ((t.method = "throw"), (t.arg = new TypeError("iterator result is not an object")), (t.delegate = null), u); } function _(e) { var t = { tryLoc: e[0] }; 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t); } function O(e) { var t = e.completion || {}; (t.type = "normal"), delete t.arg, (e.completion = t); } function k(e) { (this.tryEntries = [{ tryLoc: "root" }]), e.forEach(_, this), this.reset(!0); } function x(e) { if (e) { var t = e[o]; if (t) return t.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var n = -1, a = function t() { for (; ++n < e.length;) if (r.call(e, n)) return (t.value = e[n]), (t.done = !1), t; return (t.value = void 0), (t.done = !0), t; }; return (a.next = a); } } return { next: j }; } function j() { return { value: void 0, done: !0 }; } return ( (f.prototype = y.constructor = h), (h.constructor = f), (f.displayName = c(h, s, "GeneratorFunction")), (e.isGeneratorFunction = function (e) { var t = "function" == typeof e && e.constructor; return !!t && (t === f || "GeneratorFunction" === (t.displayName || t.name)); }), (e.mark = function (e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, h) : ((e.__proto__ = h), c(e, s, "GeneratorFunction")), (e.prototype = Object.create(y)), e; }), (e.awrap = function (e) { return { __await: e }; }), g(b.prototype), (b.prototype[a] = function () { return this; }), (e.AsyncIterator = b), (e.async = function (t, r, n, o, a) { void 0 === a && (a = Promise); var s = new b(i(t, r, n, o), a); return e.isGeneratorFunction(r) ? s : s.next().then(function (e) { return e.done ? e.value : s.next(); }); }), g(y), c(y, s, "Generator"), (y[o] = function () { return this; }), (y.toString = function () { return "[object Generator]"; }), (e.keys = function (e) { var t = []; for (var r in e) t.push(r); return ( t.reverse(), function r() { for (; t.length;) { var n = t.pop(); if (n in e) return (r.value = n), (r.done = !1), r; } return (r.done = !0), r; } ); }), (e.values = x), (k.prototype = { constructor: k, reset: function (e) { if (((this.prev = 0), (this.next = 0), (this.sent = this._sent = void 0), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = void 0), this.tryEntries.forEach(O), !e)) for (var t in this) "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0); }, stop: function () { this.done = !0; var e = this.tryEntries[0].completion; if ("throw" === e.type) throw e.arg; return this.rval; }, dispatchException: function (e) { if (this.done) throw e; var t = this; function n(r, n) { return (s.type = "throw"), (s.arg = e), (t.next = r), n && ((t.method = "next"), (t.arg = void 0)), !!n; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var a = this.tryEntries[o], s = a.completion; if ("root" === a.tryLoc) return n("end"); if (a.tryLoc <= this.prev) { var c = r.call(a, "catchLoc"), i = r.call(a, "finallyLoc"); if (c && i) { if (this.prev < a.catchLoc) return n(a.catchLoc, !0); if (this.prev < a.finallyLoc) return n(a.finallyLoc); } else if (c) { if (this.prev < a.catchLoc) return n(a.catchLoc, !0); } else { if (!i) throw new Error("try statement without catch or finally"); if (this.prev < a.finallyLoc) return n(a.finallyLoc); } } } }, abrupt: function (e, t) { for (var n = this.tryEntries.length - 1; n >= 0; --n) { var o = this.tryEntries[n]; if (o.tryLoc <= this.prev && r.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var a = o; break; } } a && ("break" === e || "continue" === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null); var s = a ? a.completion : {}; return (s.type = e), (s.arg = t), a ? ((this.method = "next"), (this.next = a.finallyLoc), u) : this.complete(s); }, complete: function (e, t) { if ("throw" === e.type) throw e.arg; return ( "break" === e.type || "continue" === e.type ? (this.next = e.arg) : "return" === e.type ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end")) : "normal" === e.type && t && (this.next = t), u ); }, finish: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), O(r), u; } }, catch: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.tryLoc === e) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; O(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function (e, t, r) { return (this.delegate = { iterator: x(e), resultName: t, nextLoc: r }), "next" === this.method && (this.arg = void 0), u; }, }), e ); })(e.exports); try { regeneratorRuntime = n; } catch (e) { Function("r", "regeneratorRuntime = r")(n); } }, function (e, t) { (e.exports = function (e, t) { if (null == e) return {}; var r, n, o = {}, a = Object.keys(e); for (n = 0; n < a.length; n++) (r = a[n]), t.indexOf(r) >= 0 || (o[r] = e[r]); return o; }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t) { (e.exports = function (e) { if (Array.isArray(e)) return e; }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t) { (e.exports = function (e, t) { var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"]; if (null != r) { var n, o, a = [], s = !0, c = !1; try { for (r = r.call(e); !(s = (n = r.next()).done) && (a.push(n.value), !t || a.length !== t); s = !0); } catch (e) { (c = !0), (o = e); } finally { try { s || null == r.return || r.return(); } finally { if (c) throw o; } } return a; } }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t, r) { var n = r(32); (e.exports = function (e, t) { if (e) { if ("string" == typeof e) return n(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? n(e, t) : void 0; } }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t) { (e.exports = function (e, t) { (null == t || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n; }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t) { (e.exports = function () { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }), (e.exports.default = e.exports), (e.exports.__esModule = !0); }, function (e, t, r) { "use strict"; var n = r(0); function o(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); } function a(e, t) { if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return !t || ("object" != typeof t && "function" != typeof t) ? e : t; } e.exports = function (e, t, r) { if ("function" != typeof e) throw new Error("Expected reducePropsToState to be a function."); if ("function" != typeof t) throw new Error("Expected handleStateChangeOnClient to be a function."); if (void 0 !== r && "function" != typeof r) throw new Error("Expected mapStateOnServer to either be undefined or a function."); return function (s) { if ("function" != typeof s) throw new Error("Expected WrappedComponent to be a React component."); var c = [], i = void 0; function l() { (i = e( c.map(function (e) { return e.props; }) )), u.canUseDOM ? t(i) : r && (i = r(i)); } var u = (function (e) { function t() { return o(this, t), a(this, e.apply(this, arguments)); } return ( (function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } })), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : (e.__proto__ = t)); })(t, e), (t.peek = function () { return i; }), (t.rewind = function () { if (t.canUseDOM) throw new Error("You may only call rewind() on the server. Call peek() to read the current state."); var e = i; return (i = void 0), (c = []), e; }), (t.prototype.shouldComponentUpdate = function (e) { var t = e.children, r = (function (e, t) { var r = {}; for (var n in e) t.indexOf(n) >= 0 || (Object.prototype.hasOwnProperty.call(e, n) && (r[n] = e[n])); return r; })(e, ["children"]); return ( t && t.length && (r.children = t), (function (e, t) { for (var r in e) if (!(r in t)) return !0; for (var n in t) if (e[n] !== t[n]) return !0; return !1; })(r, this.props) ); }), (t.prototype.componentWillMount = function () { c.push(this), l(); }), (t.prototype.componentDidUpdate = function () { l(); }), (t.prototype.componentWillUnmount = function () { var e = c.indexOf(this); c.splice(e, 1), l(); }), (t.prototype.render = function () { return (0, n.h)(s, this.props); }), t ); })(n.Component); return ( (u.displayName = "SideEffect(" + (function (e) { return e.displayName || e.name || "Component"; })(s) + ")"), (u.canUseDOM = !("undefined" == typeof window || !window.document || !window.document.createElement)), u ); }; }; }, function (e, t, r) { var n = r(18), o = r(37), a = r(38), s = r(39), c = r(42), i = r(49), l = Date.prototype.getTime; function u(e, t, r) { var h = r || {}; return ( !!(h.strict ? a(e, t) : e === t) || (!e || !t || ("object" != typeof e && "object" != typeof t) ? h.strict ? a(e, t) : e == t : (function (e, t, r) { var a, h; if (typeof e != typeof t) return !1; if (p(e) || p(t)) return !1; if (e.prototype !== t.prototype) return !1; if (o(e) !== o(t)) return !1; var d = s(e), v = s(t); if (d !== v) return !1; if (d || v) return e.source === t.source && c(e) === c(t); if (i(e) && i(t)) return l.call(e) === l.call(t); var m = f(e), y = f(t); if (m !== y) return !1; if (m || y) { if (e.length !== t.length) return !1; for (a = 0; a < e.length; a++) if (e[a] !== t[a]) return !1; return !0; } if (typeof e != typeof t) return !1; try { var g = n(e), b = n(t); } catch (e) { return !1; } if (g.length !== b.length) return !1; for (g.sort(), b.sort(), a = g.length - 1; a >= 0; a--) if (g[a] != b[a]) return !1; for (a = g.length - 1; a >= 0; a--) if (((h = g[a]), !u(e[h], t[h], r))) return !1; return !0; })(e, t, h)) ); } function p(e) { return null == e; } function f(e) { return !(!e || "object" != typeof e || "number" != typeof e.length) && "function" == typeof e.copy && "function" == typeof e.slice && !(e.length > 0 && "number" != typeof e[0]); } e.exports = u; }, function (e, t, r) { "use strict"; var n; if (!Object.keys) { var o = Object.prototype.hasOwnProperty, a = Object.prototype.toString, s = r(19), c = Object.prototype.propertyIsEnumerable, i = !c.call({ toString: null }, "toString"), l = c.call(function () { }, "prototype"), u = ["toString", "toLocaleString", "valueOf", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "constructor"], p = function (e) { var t = e.constructor; return t && t.prototype === e; }, f = { $applicationCache: !0, $console: !0, $external: !0, $frame: !0, $frameElement: !0, $frames: !0, $innerHeight: !0, $innerWidth: !0, $onmozfullscreenchange: !0, $onmozfullscreenerror: !0, $outerHeight: !0, $outerWidth: !0, $pageXOffset: !0, $pageYOffset: !0, $parent: !0, $scrollLeft: !0, $scrollTop: !0, $scrollX: !0, $scrollY: !0, $self: !0, $webkitIndexedDB: !0, $webkitStorageInfo: !0, $window: !0, }, h = (function () { if ("undefined" == typeof window) return !1; for (var e in window) try { if (!f["$" + e] && o.call(window, e) && null !== window[e] && "object" == typeof window[e]) try { p(window[e]); } catch (e) { return !0; } } catch (e) { return !0; } return !1; })(); n = function (e) { var t = null !== e && "object" == typeof e, r = "[object Function]" === a.call(e), n = s(e), c = t && "[object String]" === a.call(e), f = []; if (!t && !r && !n) throw new TypeError("Object.keys called on a non-object"); var d = l && r; if (c && e.length > 0 && !o.call(e, 0)) for (var v = 0; v < e.length; ++v) f.push(String(v)); if (n && e.length > 0) for (var m = 0; m < e.length; ++m) f.push(String(m)); else for (var y in e) (d && "prototype" === y) || !o.call(e, y) || f.push(String(y)); if (i) for ( var g = (function (e) { if ("undefined" == typeof window || !h) return p(e); try { return p(e); } catch (e) { return !1; } })(e), b = 0; b < u.length; ++b ) (g && "constructor" === u[b]) || !o.call(e, u[b]) || f.push(u[b]); return f; }; } e.exports = n; }, function (e, t, r) { "use strict"; var n = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag, o = Object.prototype.toString, a = function (e) { return !(n && e && "object" == typeof e && Symbol.toStringTag in e) && "[object Arguments]" === o.call(e); }, s = function (e) { return !!a(e) || (null !== e && "object" == typeof e && "number" == typeof e.length && e.length >= 0 && "[object Array]" !== o.call(e) && "[object Function]" === o.call(e.callee)); }, c = (function () { return a(arguments); })(); (a.isLegacyArguments = s), (e.exports = c ? a : s); }, function (e, t, r) { "use strict"; var n = function (e) { return e != e; }; e.exports = function (e, t) { return 0 === e && 0 === t ? 1 / e == 1 / t : e === t || !(!n(e) || !n(t)); }; }, function (e, t, r) { "use strict"; var n = r(40), o = RegExp.prototype.exec, a = Object.getOwnPropertyDescriptor, s = Object.prototype.toString, c = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag; e.exports = function (e) { if (!e || "object" != typeof e) return !1; if (!c) return "[object RegExp]" === s.call(e); var t = a(e, "lastIndex"); return ( !(!t || !n(t, "value")) && (function (e) { try { var t = e.lastIndex; return (e.lastIndex = 0), o.call(e), !0; } catch (e) { return !1; } finally { e.lastIndex = t; } })(e) ); }; }, function (e, t, r) { "use strict"; var n = r(14); e.exports = n.call(Function.call, Object.prototype.hasOwnProperty); }, function (e, t, r) { "use strict"; var n = "Function.prototype.bind called on incompatible ", o = Array.prototype.slice, a = Object.prototype.toString; e.exports = function (e) { var t = this; if ("function" != typeof t || "[object Function]" !== a.call(t)) throw new TypeError(n + t); for ( var r, s = o.call(arguments, 1), c = function () { if (this instanceof r) { var n = t.apply(this, s.concat(o.call(arguments))); return Object(n) === n ? n : this; } return t.apply(e, s.concat(o.call(arguments))); }, i = Math.max(0, t.length - s.length), l = [], u = 0; u < i; u++ ) l.push("$" + u); if (((r = Function("binder", "return function (" + l.join(",") + "){ return binder.apply(this,arguments); }")(c)), t.prototype)) { var p = function () { }; (p.prototype = t.prototype), (r.prototype = new p()), (p.prototype = null); } return r; }; }, function (e, t, r) { "use strict"; var n = r(15), o = r(43), a = r(20), s = r(21), c = r(48), i = o(a); n(i, { getPolyfill: s, implementation: a, shim: c }), (e.exports = i); }, function (e, t, r) { "use strict"; var n = r(14), o = r(44)("%Function%"), a = o.apply, s = o.call; (e.exports = function () { return n.apply(s, arguments); }), (e.exports.apply = function () { return n.apply(a, arguments); }); }, function (e, t, r) { "use strict"; var n = TypeError, o = Object.getOwnPropertyDescriptor; if (o) try { o({}, ""); } catch (e) { o = null; } var a = function () { throw new n(); }, s = o ? (function () { try { return arguments.callee, a; } catch (e) { try { return o(arguments, "callee").get; } catch (e) { return a; } } })() : a, c = r(45)(), i = Object.getPrototypeOf || function (e) { return e.__proto__; }, l = void 0, u = "undefined" == typeof Uint8Array ? void 0 : i(Uint8Array), p = { "%Array%": Array, "%ArrayBuffer%": "undefined" == typeof ArrayBuffer ? void 0 : ArrayBuffer, "%ArrayBufferPrototype%": "undefined" == typeof ArrayBuffer ? void 0 : ArrayBuffer.prototype, "%ArrayIteratorPrototype%": c ? i([][Symbol.iterator]()) : void 0, "%ArrayPrototype%": Array.prototype, "%ArrayProto_entries%": Array.prototype.entries, "%ArrayProto_forEach%": Array.prototype.forEach, "%ArrayProto_keys%": Array.prototype.keys, "%ArrayProto_values%": Array.prototype.values, "%AsyncFromSyncIteratorPrototype%": void 0, "%AsyncFunction%": void 0, "%AsyncFunctionPrototype%": void 0, "%AsyncGenerator%": void 0, "%AsyncGeneratorFunction%": void 0, "%AsyncGeneratorPrototype%": void 0, "%AsyncIteratorPrototype%": l && c && Symbol.asyncIterator ? l[Symbol.asyncIterator]() : void 0, "%Atomics%": "undefined" == typeof Atomics ? void 0 : Atomics, "%Boolean%": Boolean, "%BooleanPrototype%": Boolean.prototype, "%DataView%": "undefined" == typeof DataView ? void 0 : DataView, "%DataViewPrototype%": "undefined" == typeof DataView ? void 0 : DataView.prototype, "%Date%": Date, "%DatePrototype%": Date.prototype, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": Error, "%ErrorPrototype%": Error.prototype, "%eval%": eval, "%EvalError%": EvalError, "%EvalErrorPrototype%": EvalError.prototype, "%Float32Array%": "undefined" == typeof Float32Array ? void 0 : Float32Array, "%Float32ArrayPrototype%": "undefined" == typeof Float32Array ? void 0 : Float32Array.prototype, "%Float64Array%": "undefined" == typeof Float64Array ? void 0 : Float64Array, "%Float64ArrayPrototype%": "undefined" == typeof Float64Array ? void 0 : Float64Array.prototype, "%Function%": Function, "%FunctionPrototype%": Function.prototype, "%Generator%": void 0, "%GeneratorFunction%": void 0, "%GeneratorPrototype%": void 0, "%Int8Array%": "undefined" == typeof Int8Array ? void 0 : Int8Array, "%Int8ArrayPrototype%": "undefined" == typeof Int8Array ? void 0 : Int8Array.prototype, "%Int16Array%": "undefined" == typeof Int16Array ? void 0 : Int16Array, "%Int16ArrayPrototype%": "undefined" == typeof Int16Array ? void 0 : Int8Array.prototype, "%Int32Array%": "undefined" == typeof Int32Array ? void 0 : Int32Array, "%Int32ArrayPrototype%": "undefined" == typeof Int32Array ? void 0 : Int32Array.prototype, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": c ? i(i([][Symbol.iterator]())) : void 0, "%JSON%": "object" == typeof JSON ? JSON : void 0, "%JSONParse%": "object" == typeof JSON ? JSON.parse : void 0, "%Map%": "undefined" == typeof Map ? void 0 : Map, "%MapIteratorPrototype%": "undefined" != typeof Map && c ? i(new Map()[Symbol.iterator]()) : void 0, "%MapPrototype%": "undefined" == typeof Map ? void 0 : Map.prototype, "%Math%": Math, "%Number%": Number, "%NumberPrototype%": Number.prototype, "%Object%": Object, "%ObjectPrototype%": Object.prototype, "%ObjProto_toString%": Object.prototype.toString, "%ObjProto_valueOf%": Object.prototype.valueOf, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": "undefined" == typeof Promise ? void 0 : Promise, "%PromisePrototype%": "undefined" == typeof Promise ? void 0 : Promise.prototype, "%PromiseProto_then%": "undefined" == typeof Promise ? void 0 : Promise.prototype.then, "%Promise_all%": "undefined" == typeof Promise ? void 0 : Promise.all, "%Promise_reject%": "undefined" == typeof Promise ? void 0 : Promise.reject, "%Promise_resolve%": "undefined" == typeof Promise ? void 0 : Promise.resolve, "%Proxy%": "undefined" == typeof Proxy ? void 0 : Proxy, "%RangeError%": RangeError, "%RangeErrorPrototype%": RangeError.prototype, "%ReferenceError%": ReferenceError, "%ReferenceErrorPrototype%": ReferenceError.prototype, "%Reflect%": "undefined" == typeof Reflect ? void 0 : Reflect, "%RegExp%": RegExp, "%RegExpPrototype%": RegExp.prototype, "%Set%": "undefined" == typeof Set ? void 0 : Set, "%SetIteratorPrototype%": "undefined" != typeof Set && c ? i(new Set()[Symbol.iterator]()) : void 0, "%SetPrototype%": "undefined" == typeof Set ? void 0 : Set.prototype, "%SharedArrayBuffer%": "undefined" == typeof SharedArrayBuffer ? void 0 : SharedArrayBuffer, "%SharedArrayBufferPrototype%": "undefined" == typeof SharedArrayBuffer ? void 0 : SharedArrayBuffer.prototype, "%String%": String, "%StringIteratorPrototype%": c ? i(""[Symbol.iterator]()) : void 0, "%StringPrototype%": String.prototype, "%Symbol%": c ? Symbol : void 0, "%SymbolPrototype%": c ? Symbol.prototype : void 0, "%SyntaxError%": SyntaxError, "%SyntaxErrorPrototype%": SyntaxError.prototype, "%ThrowTypeError%": s, "%TypedArray%": u, "%TypedArrayPrototype%": u ? u.prototype : void 0, "%TypeError%": n, "%TypeErrorPrototype%": n.prototype, "%Uint8Array%": "undefined" == typeof Uint8Array ? void 0 : Uint8Array, "%Uint8ArrayPrototype%": "undefined" == typeof Uint8Array ? void 0 : Uint8Array.prototype, "%Uint8ClampedArray%": "undefined" == typeof Uint8ClampedArray ? void 0 : Uint8ClampedArray, "%Uint8ClampedArrayPrototype%": "undefined" == typeof Uint8ClampedArray ? void 0 : Uint8ClampedArray.prototype, "%Uint16Array%": "undefined" == typeof Uint16Array ? void 0 : Uint16Array, "%Uint16ArrayPrototype%": "undefined" == typeof Uint16Array ? void 0 : Uint16Array.prototype, "%Uint32Array%": "undefined" == typeof Uint32Array ? void 0 : Uint32Array, "%Uint32ArrayPrototype%": "undefined" == typeof Uint32Array ? void 0 : Uint32Array.prototype, "%URIError%": URIError, "%URIErrorPrototype%": URIError.prototype, "%WeakMap%": "undefined" == typeof WeakMap ? void 0 : WeakMap, "%WeakMapPrototype%": "undefined" == typeof WeakMap ? void 0 : WeakMap.prototype, "%WeakSet%": "undefined" == typeof WeakSet ? void 0 : WeakSet, "%WeakSetPrototype%": "undefined" == typeof WeakSet ? void 0 : WeakSet.prototype, }, f = r(14).call(Function.call, String.prototype.replace), h = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, d = /\\(\\)?/g, v = function (e) { var t = []; return ( f(e, h, function (e, r, n, o) { t[t.length] = n ? f(o, d, "$1") : r || e; }), t ); }, m = function (e, t) { if (!(e in p)) throw new SyntaxError("intrinsic " + e + " does not exist!"); if (void 0 === p[e] && !t) throw new n("intrinsic " + e + " exists, but is not available. Please file an issue!"); return p[e]; }; e.exports = function (e, t) { if ("string" != typeof e || 0 === e.length) throw new TypeError("intrinsic name must be a non-empty string"); if (arguments.length > 1 && "boolean" != typeof t) throw new TypeError('"allowMissing" argument must be a boolean'); for (var r = v(e), a = m("%" + (r.length > 0 ? r[0] : "") + "%", t), s = 1; s < r.length; s += 1) if (null != a) if (o && s + 1 >= r.length) { var c = o(a, r[s]); if (!t && !(r[s] in a)) throw new n("base intrinsic for " + e + " exists, but the property is not available."); a = c ? c.get || c.value : a[r[s]]; } else a = a[r[s]]; return a; }; }, function (e, t, r) { "use strict"; (function (t) { var n = t.Symbol, o = r(47); e.exports = function () { return "function" == typeof n && "function" == typeof Symbol && "symbol" == typeof n("foo") && "symbol" == typeof Symbol("bar") && o(); }; }.call(this, r(46))); }, function (e, t) { var r; r = (function () { return this; })(); try { r = r || new Function("return this")(); } catch (e) { "object" == typeof window && (r = window); } e.exports = r; }, function (e, t, r) { "use strict"; e.exports = function () { if ("function" != typeof Symbol || "function" != typeof Object.getOwnPropertySymbols) return !1; if ("symbol" == typeof Symbol.iterator) return !0; var e = {}, t = Symbol("test"), r = Object(t); if ("string" == typeof t) return !1; if ("[object Symbol]" !== Object.prototype.toString.call(t)) return !1; if ("[object Symbol]" !== Object.prototype.toString.call(r)) return !1; for (t in ((e[t] = 42), e)) return !1; if ("function" == typeof Object.keys && 0 !== Object.keys(e).length) return !1; if ("function" == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(e).length) return !1; var n = Object.getOwnPropertySymbols(e); if (1 !== n.length || n[0] !== t) return !1; if (!Object.prototype.propertyIsEnumerable.call(e, t)) return !1; if ("function" == typeof Object.getOwnPropertyDescriptor) { var o = Object.getOwnPropertyDescriptor(e, t); if (42 !== o.value || !0 !== o.enumerable) return !1; } return !0; }; }, function (e, t, r) { "use strict"; var n = r(15).supportsDescriptors, o = r(21), a = Object.getOwnPropertyDescriptor, s = Object.defineProperty, c = TypeError, i = Object.getPrototypeOf, l = /a/; e.exports = function () { if (!n || !i) throw new c("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors"); var e = o(), t = i(l), r = a(t, "flags"); return (r && r.get === e) || s(t, "flags", { configurable: !0, enumerable: !1, get: e }), e; }; }, function (e, t, r) { "use strict"; var n = Date.prototype.getDay, o = Object.prototype.toString, a = "function" == typeof Symbol && "symbol" == typeof Symbol.toStringTag; e.exports = function (e) { return ( "object" == typeof e && null !== e && (a ? (function (e) { try { return n.call(e), !0; } catch (e) { return !1; } })(e) : "[object Date]" === o.call(e)) ); }; }, function (e, t, r) { "use strict"; var n = Object.getOwnPropertySymbols, o = Object.prototype.hasOwnProperty, a = Object.prototype.propertyIsEnumerable; function s(e) { if (null == e) throw new TypeError("Object.assign cannot be called with null or undefined"); return Object(e); } e.exports = (function () { try { if (!Object.assign) return !1; var e = new String("abc"); if (((e[5] = "de"), "5" === Object.getOwnPropertyNames(e)[0])) return !1; for (var t = {}, r = 0; r < 10; r++) t["_" + String.fromCharCode(r)] = r; if ( "0123456789" !== Object.getOwnPropertyNames(t) .map(function (e) { return t[e]; }) .join("") ) return !1; var n = {}; return ( "abcdefghijklmnopqrst".split("").forEach(function (e) { n[e] = e; }), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, n)).join("") ); } catch (e) { return !1; } })() ? Object.assign : function (e, t) { for (var r, c, i = s(e), l = 1; l < arguments.length; l++) { for (var u in (r = Object(arguments[l]))) o.call(r, u) && (i[u] = r[u]); if (n) { c = n(r); for (var p = 0; p < c.length; p++) a.call(r, c[p]) && (i[c[p]] = r[c[p]]); } } return i; }; }, function (e, t) { t.__esModule = !0; (t.TAG_NAMES = { HTML: "htmlAttributes", TITLE: "title", BASE: "base", META: "meta", LINK: "link", SCRIPT: "script", NOSCRIPT: "noscript", STYLE: "style" }), (t.TAG_PROPERTIES = { NAME: "name", CHARSET: "charset", HTTPEQUIV: "http-equiv", REL: "rel", HREF: "href", PROPERTY: "property", SRC: "src", INNER_HTML: "innerHTML", CSS_TEXT: "cssText", ITEM_PROP: "itemprop" }), (t.PREACT_TAG_MAP = { charset: "charSet", "http-equiv": "httpEquiv", itemprop: "itemProp", class: "className" }); }, function (e, t) { var r = Function.bind.call(Function.call, Array.prototype.reduce), n = Function.bind.call(Function.call, Object.prototype.propertyIsEnumerable), o = Function.bind.call(Function.call, Array.prototype.concat), a = Object.keys; Object.values || (Object.values = function (e) { return r( a(e), function (t, r) { return o(t, "string" == typeof r && n(e, r) ? [e[r]] : []); }, [] ); }), Object.entries || (Object.entries = function (e) { return r( a(e), function (t, r) { return o(t, "string" == typeof r && n(e, r) ? [[r, e[r]]] : []); }, [] ); }); }, function (e, t, r) { }, ]).default; }); </script><script> KslHeader.render({}, document.getElementById('kslHeaderContainer')); </script><script> $(document).ready(function () { //Background Images $(".set-bg").each(function () { var a = $(this).find(".get-bg img").attr("src"); $(this).css("background-image", "url(" + a + ")") }); $('p , form').each(function () { var $this = $(this); if ($this.html().replace(/\s| /g, '').length == 0) $this.remove(); }); }); </script><script> var labels = document.querySelectorAll(".pd-text label, .pd-select label, .pd-textarea label"); var i = labels.length; while (i--) { var label = labels.item(i); var text = label.textContent; label.parentNode.classList.contains("required") && (text += " *"); var nextElement = label.nextElementSibling; if (nextElement) { if (nextElement.tagName == 'SELECT') { nextElement.options[0].text = text; } else { nextElement.setAttribute("placeholder", text); } label.parentNode.removeChild(label); } } var elements = document.querySelectorAll('.errors, .no-label'); Array.prototype.forEach.call(elements, function (el, i) { //el.parentNode.removeChild(el); }); </script><script> const buttons = document.querySelectorAll(".up .subCta input"); $(buttons).on('click', function () { $(this).toggleClass('btnclass'); if ($('.up .subCta input').hasClass('btnclass')) { $('body').addClass('activebtn'); } else { $('body').removeClass('activebtn'); } }); $(".up .newsletter .subHead").on('click', function () { $(this).toggleClass('active'); $(this).next(".subContent").slideToggle("10000"); }); // Close form functionality document.getElementById('exitBtn').addEventListener('click', function() { // Hide the signUpblk section document.querySelector('.signUpblk').style.display = 'none'; // Show the reopen button, but only now that the exit button has been clicked document.getElementById('reopenBtn').style.display = 'inline-block'; }); // Reopen form functionality document.getElementById('reopenBtn').addEventListener('click', function() { // Show the signUpblk section again document.querySelector('.signUpblk').style.display = 'block'; // Adjust display style as necessary // Hide the reopen button since the form is now open this.style.display = 'none'; }); </script><!--<script type="text/javascript"> //Equal Height $(document).ready(function () { ; (function ($) { $.fn.equalHeight = function (option) { var $this = this; var get_height = function () { var maxheight = 0; $this.css("height", ""); $this.each(function () { maxheight = $(this).outerHeight() > maxheight ? $(this).outerHeight() : maxheight; }) $this.outerHeight(maxheight); } var init = function () { get_height(); $(window).bind("resize", get_height); } $this.destroy = function () { $this.css("height", ""); $(window).unbind("resize", get_height); } init(); return this; } })(jQuery); $(window).on("load resize", function () { $('.up .newsletter .paratxt').equalHeight(); }); function validateEmail($email) { var emailReg = /^([\w-\.+]+@([\w-]+\.)+[\w-]{2,4})?$/; return emailReg.test( $email ); } $('.js_submit').on('click',function(e){ e.preventDefault(); $('#js_error').hide(); const urls = ['https://info.ksl.com/l/911272/2021-12-13/b5t7g','https://info.ksl.com/l/911272/2023-04-19/qx9bd','https://info.ksl.com/l/911272/2022-12-22/q58kr','https://info.utah.com/l/911272/2024-03-07/spbhb']; var email = $('form[name=js_form] #email').val(); if( email!='' && validateEmail(email) ) { let totalcb = $("input:checkbox[name=subscribe]").length-1; $("input:checkbox[name=subscribe]").each(function(i) { if(this.checked) { console.log(email); console.log(urls[i]); var settings = { "url": urls[i], "method": "POST", "headers": { "Content-Type": "application/x-www-form-urlencoded", }, "data": { "email": email } }; $.ajax(settings).done(function (response) { console.log(response); $('form[name=js_form], .newslatterCount').hide(); $('.thankyou').show(); }); // Show the thank you message $('.thankyou').show(); // Update the submit button's style and text $('#SubmitBtn').attr('style', 'background-color: green !important;').text('Subscribed!'); console.log(i); console.log(totalcb); } if(i == totalcb) { $('input:checkbox[name=subscribe]').prop('checked',false); } }); } else { $('#js_error').show(); } }); //change counter on change $("input:checkbox[name=subscribe]").change( () => { var subscount = $("input:checkbox[name=subscribe]:checked").length; $('#newsletter-count').text(subscount > 1 ? subscount + ' Newsletters' : '1 Newsletter'); }); }); </script>--><!-- <script type="text/javascript"> $(document).ready(function () { (function ($) { $.fn.equalHeight = function (option) { var $this = this; var get_height = function () { var maxheight = 0; $this.css("height", ""); $this.each(function () { maxheight = $(this).outerHeight() > maxheight ? $(this).outerHeight() : maxheight; }) $this.outerHeight(maxheight); } var init = function () { get_height(); $(window).bind("resize", get_height); } $this.destroy = function () { $this.css("height", ""); $(window).unbind("resize", get_height); } init(); return this; } })(jQuery); $(window).on("load resize", function () { $('.up .newsletter .paratxt').equalHeight(); }); function validateEmail($email) { var emailReg = /^([\w-\.+]+@([\w-]+\.)+[\w-]{2,4})?$/; return emailReg.test($email); } function delay(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } $('.js_submit').on('click', async function(e) { e.preventDefault(); $('#js_error').hide(); const urls = ['https://info.ksl.com/l/911272/2021-12-13/b5t7g', 'https://info.ksl.com/l/911272/2023-04-19/qx9bd', 'https://info.ksl.com/l/911272/2022-12-22/q58kr', 'https://info.utah.com/l/911272/2024-03-07/spbhb']; var email = $('form[name=js_form] #email').val(); if(email != '' && validateEmail(email)) { let checkboxes = $("input:checkbox[name=subscribe]:checked").toArray(); for(let i = 0; i < checkboxes.length; i++) { console.log(email); console.log(urls[i]); var settings = { "url": urls[i], "method": "POST", "headers": { "Content-Type": "application/x-www-form-urlencoded", }, "data": { "email": email } }; $.ajax(settings).done(function (response) { console.log(response); if (i === checkboxes.length - 1) { $('form[name=js_form], .newslatterCount').hide(); $('.thankyou').show(); } }); // Delay for 1 second before proceeding to the next URL await delay(1000); } // After all subscriptions are processed $('input:checkbox[name=subscribe]').prop('checked',false); $('.thankyou').show(); fireGtagEventsBasedOnCheckboxes(checkboxes); $('#SubmitBtn').attr('style', 'background-color: green !important;').text('Subscribed!'); } else { $('#js_error').show(); } }); $("input:checkbox[name=subscribe]").change( () => { var subscount = $("input:checkbox[name=subscribe]:checked").length; $('#newsletter-count').text(subscount > 1 ? subscount + ' Newsletters' : '1 Newsletter'); }); function fireGtagEventsBasedOnCheckboxes(checkboxes) { checkboxes.forEach(function(checkbox, i) { // Fire gtag event for each selected newsletter // Adjust the cases based on your actual checkboxes and corresponding newsletters if ($(checkbox).val() === 'ksl_trending_5') { gtag('event', 'conversion', {'send_to': 'AW-787090944/tLlUCPukkowZEICcqPcC'}); // KSL.com Trending 5 } else if ($(checkbox).val() === 'voces_de_utah') { gtag('event', 'conversion', {'send_to': 'AW-787090944/dbggCMHvkowZEICcqPcC'}); // Voces de Utah } else if ($(checkbox).val() === 'ksl_sports') { gtag('event', 'conversion', {'send_to': 'AW-787090944/m3tRCIWpkowZEICcqPcC'}); // KSL Sports } // Add more cases as necessary based on checkbox values }); } }); </script> --><script type="text/javascript"> $(document).ready(function () { // Original functions for setting equal heights and other utilities remain unchanged function validateEmail($email) { var emailReg = /^([\w-\.+]+@([\w-]+\.)+[\w-]{2,4})?$/; return emailReg.test($email); } function delay(ms) { return new Promise(resolve => setTimeout(resolve, ms)); } $('.js_submit').on('click', async function(e) { e.preventDefault(); $('#js_error').hide(); const urls = ['https://info.ksl.com/l/911272/2021-12-13/b5t7g', 'https://info.ksl.com/l/911272/2023-04-19/qx9bd', 'https://info.ksl.com/l/911272/2022-12-22/q58kr', 'https://info.utah.com/l/911272/2024-03-07/spbhb']; var email = $('form[name=js_form] #email').val(); if(email != '' && validateEmail(email)) { let checkboxes = $("input:checkbox[name=subscribe]:checked").toArray(); for(let i = 0; i < checkboxes.length; i++) { console.log(email); console.log(urls[i]); var settings = { "url": urls[i], "method": "POST", "headers": { "Content-Type": "application/x-www-form-urlencoded", }, "data": { "email": email } }; $.ajax(settings).done(function (response) { console.log(response); if (i === checkboxes.length - 1) { $('form[name=js_form], .newslatterCount').hide(); $('.thankyou').show(); } }); // Delay for 1 second before proceeding to the next URL await delay(1000); } // After all subscriptions are processed $('input:checkbox[name=subscribe]').prop('checked',false); $('.thankyou').show(); fireGtagEventsBasedOnCheckboxes(checkboxes); $('#SubmitBtn').attr('style', 'background-color: green !important;').text('Subscribed!'); } else { $('#js_error').show(); } }); $("input:checkbox[name=subscribe]").change( () => { var subscount = $("input:checkbox[name=subscribe]:checked").length; $('#newsletter-count').text(subscount > 1 ? subscount + ' Newsletters' : '1 Newsletter'); }); function fireGtagEventsBasedOnCheckboxes(checkboxes) { checkboxes.forEach(function(checkbox) { var newsletterName = $(checkbox).closest('.subItem').find('.subHead h4').text().trim(); var conversionId = ''; // Determine the conversion ID based on the newsletter name if (newsletterName === 'KSL.com Trending 5') { conversionId = 'AW-787090944/tLlUCPukkowZEICcqPcC'; } else if (newsletterName === 'Voces de Utah') { conversionId = 'AW-787090944/dbggCMHvkowZEICcqPcC'; } else if (newsletterName === 'KSL Sports') { conversionId = 'AW-787090944/m3tRCIWpkowZEICcqPcC'; } // More conditions can be added for other newsletters // Push the event and conversion data to the dataLayer dataLayer.push({ 'event': 'newsletter_subscription', 'newsletter_name': newsletterName, 'conversion_id': conversionId // This is a custom parameter to track conversion IDs }); // Optional: If you want to use the gtag function directly as well, uncomment the following line // gtag('event', 'conversion', {'send_to': conversionId}); }); } }); </script><!--scripts ends here--></body></html>