text: (window.webpackJsonp=window.webpackJsonp||[]).push([[12],{XtaB:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"init_render",function(){return init_render});var core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("TeQF"),core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_array_filter__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es_array_find__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("fbCW"),core_js_modules_es_array_find__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es_array_find__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es_array_includes__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("yq1k"),core_js_modules_es_array_includes__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es_array_includes__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("2B1R"),core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_array_map__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("+2oP"),core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_object_freeze__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("3KgV"),core_js_modules_es_object_freeze__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_object_freeze__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("07d7"),core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_parse_int__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("4l63"),core_js_modules_es_parse_int__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_parse_int__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_promise__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("5s+n"),core_js_modules_es_promise__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_promise__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("JTJg"),core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_string_includes__WEBPACK_IMPORTED_MODULE_9__),lit_html__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("AaG5"),_styles_today_gallery_css__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("vzgn"),_styles_today_gallery_css__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(_styles_today_gallery_css__WEBPACK_IMPORTED_MODULE_11__),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("wd/R"),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),moment_timezone__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("f0Wu"),moment_timezone__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(moment_timezone__WEBPACK_IMPORTED_MODULE_13__);function _templateObject9(){var e=_taggedTemplateLiteral(['\n            <div class="slide-indicator"></div>\n        ']);return _templateObject9=function(){return e},e}function _templateObject8(){var e=_taggedTemplateLiteral(["\n        ","\n        </div>\n        "]);return _templateObject8=function(){return e},e}function _templateObject7(){var e=_taggedTemplateLiteral(['\n                            <div class="all-article-item" banana-link="','" banana-articleid="','" banana-imagesrc="','">\n                                <a href="','" target="_blank">\n                                    <p class="title">','</p>\n                                </a>\n                                <div class="article-info">\n                                    <p class="origin">',"</p>\n                                </div>\n                            </div>\n                            "]);return _templateObject7=function(){return e},e}function _templateObject6(){var e=_taggedTemplateLiteral(["\n                            ","\n                        "]);return _templateObject6=function(){return e},e}function _templateObject5(){var e=_taggedTemplateLiteral(["\n                            <p>","</p>\n                            "]);return _templateObject5=function(){return e},e}function _templateObject4(){var e=_taggedTemplateLiteral(['\n                    <div class="head-article-item analysis-article-obj" banana-keywords="','" banana-link="','" banana-articleid="','">\n                        <div class="article-image" banana-imagesrc="','" style="background-image:  linear-gradient(to bottom, rgba(0, 0, 0 , 0.6) 0%, rgba(0, 0, 0, 0.4) 100%), url(\'','\')"></div>\n\n                        <div class="article-keywords">\n                            ','\n                        </div>\n                        <a href="','" target="_blank">\n                            <p class="title">','</p>\n                            <div class="article-info">\n                                <p class="origin">','</p>\n                            </div>\n                        </a>\n                        \n                        <div class="article-moreitems">\n                            <div class="article-action-closereveal">\n                                <div class="icon"></div>\n                            </div>\n                            <p class="all-article-header">More Stories In This Cluster</p>\n                        ',"\n                        </div>\n                        \n                    </div>\n                "]);return _templateObject4=function(){return e},e}function _templateObject3(){var e=_taggedTemplateLiteral(["\n                ","\n            "]);return _templateObject3=function(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral(["\n            ","\n        "]);return _templateObject2=function(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral(['\n    <div class="today-head-data">  \n        <div class="head-hero-title">\n            <p class="head-date-hero">Today</p>\n        </div>\n        <div class="head-item-container">\n        </div>\n        <div class="head-container-move" banana-slide-direction="right">\n            <div class="icon"></div>\n        </div>\n        <div class="head-container-slide-indicator">\n        </div>\n    </div>\n    <div class="today-guide-photosafetynet">\n        <div class="guide-text">\n            <p>Our Today section is an unbiased news cluster of topics trending across mainstream media. We pick the most important stories from each topic cluster automatically through our algorithm.</p>\n            <p>Due to this, our editorial staff can\'t verify if the photos displayed in this section are consistent with our editorial guidelines. Hence, we offer an option to mask the background photos.</p>\n            <p>Please select your preference below to continue.</p>\n        </div>\n        <div class="guide-photosafetynet-actions">\n            <p banana-action="photosafetynet-on">Mask photos partially</p>\n            <p banana-action="photosafetynet-off">Keep photos visible</p>\n        </div>\n    </div>\n    <div class="today-copyrights">\n        <p>Articles/Images copyrights CNN, Fox News, The New York Times, The Hill, Washington Post, The Wall Street Journal, NPR, Chicago Tribune, USA Today, Politico, L.A. Times, NBC News, PBS NewsHour, The Washington Times, The New Yorker, CBS News, C-SPAN, ABC News, The Atlantic, AP, The New Republic, The Boston Globe, Business Insider, CNBC, Bloomberg, Financial Times. All images belong to the publishers and the rightful owner of images. We display images based on open metadata aggregation.</p>\n    </div>\n    <div class="today-tpdetails">\n        <div class="tpdetails-reveal">\n            <p>More Details</p>\n        </div>\n        <div class="tpdetails-text">\n            <p>Our clustering system uses a sophisticated algorithm to automatically determine a reasonable and optimal size of clusters. Once the initial data processing is done, the "interpreter" unit creates a final result, ready to be published.</p>\n            <p>This content renders clustering results created automatically by our processing system. We verify that the result is completely untouched.</p>\n            <p>We aggregate and process stories from CNN, Fox News, The New York Times, The Hill, Washington Post, The Wall Street Journal, NPR, Chicago Tribune, USA Today, Politico, L.A. Times, NBC News, PBS NewsHour, The Washington Times, The New Yorker, CBS News, C-SPAN, ABC News, The Atlantic, AP, The New Republic, The Boston Globe, Business Insider, CNBC, Bloomberg, and Financial Times from the past 24 hours.</p>\n            <p>Based on the data, the system runs a full natural language processing and clustering sequence to sort out key topics. </p>\n        </div>\n        <div class="photosafetynet-reveal">\n            <p>Photo Masking Configuration</p>\n        </div>\n        <div class="photosafetynet-text">\n            <p>Our Today section is an unbiased news cluster of topics trending across mainstream media. We pick the most important stories from each topic cluster automatically through our algorithm.</p>\n            <p>Due to this, our editorial staff can\'t verify if the photos displayed in this section are consistent with our editorial guidelines. Hence, we offer an option to mask the background photos.</p>\n            <p>Please select your preference below to continue.</p>\n        </div>\n        <div class="photosafetynet-actions">\n            <p banana-action="photosafetynet-on">Mask photos partially</p>\n            <p banana-action="photosafetynet-off">Keep photos visible</p>\n        </div>\n        <div class="tpdetails-close-action">\n            <div class="icon"></div>\n        </div>\n    </div>\n    \n    <div class="today-action-revealinfo">\n        <div class="icon"></div>\n    </div>\n    ']);return _templateObject=function(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var isDeviceTypeMobile=document.body.getAttribute("banana-device-type","mobile");function init_render(){document.querySelector(".minion-dataload").setAttribute("status","dl_d_1"),document.body.classList.add("today"),document.querySelector('.minion-header li[data-sectionid="nav-section-today"]').classList.add("current");Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.b)(Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.a)(_templateObject()),document.querySelector(".minion-contents")),render_head_data(),window.addEventListener("scroll",function(e){window.scrollY>=30?document.querySelector(".today-head-data .head-hero-title").classList.add("scrolled"):document.querySelector(".today-head-data .head-hero-title").classList.remove("scrolled")})}var render_head_data=function render_head_data(){var trump_data=null,dataset_url;dataset_url="./data_publish_ready/today/today_data.json",fetch(dataset_url).then(function(e){return e.text()}).then(function(text){var module=eval(text);trump_data=module;var contentts=trump_data[0].timestamp,est_ts=moment__WEBPACK_IMPORTED_MODULE_12___default.a.tz(contentts,"America/New_York").format("MMM D ddd"),est_ts_hero=moment__WEBPACK_IMPORTED_MODULE_12___default.a.tz(contentts,"America/New_York").format("MMMM D hA, ddd");document.querySelector(".head-date-hero").innerHTML=est_ts_hero;var head_markup=function(){return Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.a)(_templateObject2(),trump_data.map(function(e){return Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.a)(_templateObject3(),e.toparticles.map(function(t){return Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.a)(_templateObject4(),JSON.stringify(e.theme),t[0].url,t[0]._id,t[0].image,t[0].image,e.theme.map(function(e){return Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.a)(_templateObject5(),e)}),t[0].url,t[0].title,t[0].origin,t.length>0?Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.a)(_templateObject6(),t.map(function(e){return Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.a)(_templateObject7(),e.url,e._id,e.image,e.url,e.title,e.origin)})):"")}))}))};Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.b)(head_markup(),document.querySelector(".today-head-data .head-item-container"));var head_slide_indicator_markup=function(){return Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.a)(_templateObject8(),trump_data.map(function(e){return Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.a)(_templateObject9())}))};Object(lit_html__WEBPACK_IMPORTED_MODULE_10__.b)(head_slide_indicator_markup(),document.querySelector(".today-head-data .head-container-slide-indicator")),postrender_head_data(),document.querySelector(".minion-dataload").setAttribute("status","")})},postrender_head_data=function(){localStorage.getItem("tiaa_visitor_photosafetynet_blur")?"on"==localStorage.getItem("tiaa_visitor_photosafetynet_blur")&&$(".today-head-data .head-article-item .article-image").each(function(e,t){$(t).addClass("blurred")}):$(".today-guide-photosafetynet").addClass("opened"),$(".today-guide-photosafetynet .guide-photosafetynet-actions > p").on("click",function(e){"photosafetynet-on"==$(this).attr("banana-action")?(localStorage.setItem("tiaa_visitor_photosafetynet_blur","on"),$(".today-head-data .head-article-item .article-image").each(function(e,t){$(t).addClass("blurred")})):"photosafetynet-off"==$(this).attr("banana-action")&&localStorage.setItem("tiaa_visitor_photosafetynet_blur","off"),$(".today-guide-photosafetynet").removeClass("opened")});var e=document.querySelector(".today-head-data .head-item-container"),t=e.children,a=document.querySelector(".today-head-data .head-container-slide-indicator").children;e.setAttribute("banana-slide-index",0);for(var _=0;_<t.length;)t[_].style.transform="translate3d("+window.innerWidth*_+"px, 0, 0)",0==_&&(t[_].classList.add("visible"),a[_].classList.add("visible"),t[_].querySelector(".article-keywords").classList.add("focus")),_++;if($(".today-head-data .head-container-move").on("click",function(e){"right"==this.getAttribute("banana-slide-direction")&&function(){var e=document.querySelector(".today-head-data .head-item-container"),t=document.querySelector(".today-head-data .head-container-slide-indicator").children;if(parseInt(e.getAttribute("banana-slide-index"))+1==e.children.length){e.setAttribute("banana-slide-index",0);for(var a=e.children,_=0;_<a.length;)a[_].style.transform="translate3d("+window.innerWidth*_+"px, 0, 0)",0==_&&(a[_].classList.add("visible"),t[_].classList.add("visible"),t[t.length-1].classList.remove("visible"),a[_].querySelector(".article-keywords").classList.add("focus")),_++}else{e.setAttribute("banana-slide-index",parseInt(e.getAttribute("banana-slide-index"))+1),_=parseInt(e.getAttribute("banana-slide-index"));for(var n=0,i=(a=e.children,0);i<a.length;i++)i<=_?a[i].style.transform="translate3d(-"+window.innerWidth*(_-i)+"px, 0, 0)":(a[i].style.transform="translate3d("+window.innerWidth*(_+n)+"px, 0, 0)",n++),i==_?(t[i].classList.add("visible"),a[i].classList.add("visible"),a[i].querySelector(".article-keywords").classList.add("focus")):(t[i].classList.remove("visible"),a[i].classList.remove("visible"),a[i].querySelector(".article-keywords").classList.contains("focus")&&a[i].querySelector(".article-keywords").classList.remove("focus"))}}()}),$(".today-head-data .head-article-item .article-keywords").on("click",function(e){$(this).parent().addClass("moreitems-opened"),$(this).parent().find(".article-moreitems").addClass("opened"),$(".today-head-data").addClass("head-item-sticky")}),$(".today-head-data .head-article-item .article-action-closereveal").on("click",function(e){$(this).parents(".head-article-item").removeClass("moreitems-opened"),$(".today-head-data").removeClass("head-item-sticky"),$(this).parents(".head-article-item").find(".article-moreitems").removeClass("opened")}),$(".today-head-data .head-article-item .article-moreitems").each(function(e,t){$(t).find(".all-article-item:nth-child(1)").remove()}),$(".today-head-data .analysis-article-obj").each(function(e,t){var a=moment__WEBPACK_IMPORTED_MODULE_12___default.a.tz(moment__WEBPACK_IMPORTED_MODULE_12___default.a.unix($(t).find(".article-info .ts").attr("banana-ts")),"America/New_York").format(),_=moment__WEBPACK_IMPORTED_MODULE_12___default()(a).fromNow();$(t).find(".article-info .ts").text(_);["www.washingtonpost.com/pb/resources/img/twp-social-share.png","twt-assets.washtimes.com","https://static01.nyt.com/images/icons/t_logo_291_black.png","favicon","Twitterlogo.png","facebook-default-wide.jpg","social-default"].filter(function(e){return $(t).find(".article-image").attr("banana-imagesrc").toLowerCase().includes(e.toLowerCase())}).length>0&&$(t).addClass("noimage")}),$(".today-action-revealinfo").on("click",function(e){document.querySelector(".today-tpdetails").classList.contains("opened")||(document.querySelector(".today-tpdetails").classList.add("opened"),document.documentElement.className="n_scroll")}),$(".today-tpdetails .tpdetails-close-action").on("click",function(e){document.querySelector(".today-tpdetails").classList.contains("opened")&&(document.querySelector(".today-tpdetails").classList.remove("opened"),document.documentElement.className="")}),$(".today-tpdetails .photosafetynet-actions > p").on("click",function(e){"photosafetynet-on"==$(this).attr("banana-action")?(localStorage.setItem("tiaa_visitor_photosafetynet_blur","on"),$(".today-head-data .head-article-item .article-image").each(function(e,t){$(t).addClass("blurred")})):"photosafetynet-off"==$(this).attr("banana-action")&&(localStorage.setItem("tiaa_visitor_photosafetynet_blur","off"),$(".today-head-data .head-article-item .article-image").each(function(e,t){$(t).removeClass("blurred")})),document.querySelector(".today-tpdetails").classList.contains("opened")&&(document.querySelector(".today-tpdetails").classList.remove("opened"),document.documentElement.className="")}),isDeviceTypeMobile)for(var n=document.querySelectorAll(".today-analysis-data .analysis-list .item-close-action"),i=0;i<n.length;i++)n[i].addEventListener("click",function(e){var t=getParents(this,".analysis-item")[0];if(t.classList.contains("selected")){t.classList.remove("selected");var a=document.querySelector(".today-analysis-data .analysis-list");a.classList.contains("selected")&&a.classList.remove("selected")}})},getClosest=function(e,t){for(Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),a=t.length;--a>=0&&t.item(a)!==this;);return a>-1});e&&e!==document;e=e.parentNode)if(e.matches(t))return e;return null},getParents=function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),a=t.length;--a>=0&&t.item(a)!==this;);return a>-1});for(var a=[];e&&e!==document;e=e.parentNode)t?e.matches(t)&&a.push(e):a.push(e);return a};Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var a=Object(this),_=a.length>>>0;if(0===_)return!1;var n=0|t,i=Math.max(n>=0?n:_-Math.abs(n),0);function o(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}for(;i<_;){if(o(a[i],e))return!0;i++}return!1}})},vzgn:function(e,t,a){}}]);