Tear-Gassing Migrant Children during Protests Is Not ‘Un-American’

0
104

0ps(p=s);for(var y=0;y

=0?(u=f.substr(0,v),c=f.substr(v+1)):(u=f,c=””),i=decodeURIComponent(u),l=decodeURIComponent(c),hasOwnProperty(o,i)?isArray(o[i])?o[i].push(l):o[i]=[o[i],l]:o[i]=l}return o};var isArray=Array.isArray||function(r){return”[object Array]”===Object.prototype.toString.call(r)};
}, {}];
window.modules[“1130”] = [function(require,module,exports){“use strict”;var stringifyPrimitive=function(r){switch(typeof r){case”string”:return r;case”boolean”:return r?”true”:”false”;case”number”:return isFinite(r)?r:””;default:return””}};module.exports=function(r,e,t,n){return e=e||””,t=t||”=”,null===r(r=void 0),”object”==typeof r?map(objectKeys(r),function(n){var i=encodeURIComponent(stringifyPrimitive(n))+t;return isArray(r[n])?map(r[n],function(r){return i+encodeURIComponent(stringifyPrimitive(r))}).join(e):i+encodeURIComponent(stringifyPrimitive(r[n]))}).join(e):n?encodeURIComponent(stringifyPrimitive(n))+t+encodeURIComponent(stringifyPrimitive(r)):””};var isArray=Array.isArray||function(r){return”[object Array]”===Object.prototype.toString.call(r)};function map(r,e){if(r.map)return r.map(e);for(var t=[],n=0;n=0;r–){var l=localStorage().key(r);e(read(l),l)}}function remove(e){return localStorage().removeItem(e)}function clearAll(){return localStorage().clear()}module.exports={name:”localStorage”,read:read,write:write,each:each,remove:remove,clearAll:clearAll};
}, {“1170”:1170}];
window.modules[“1172″] = [function(require,module,exports){module.exports={name:”memoryStorage”,read:read,write:write,each:each,remove:remove,clearAll:clearAll};var memoryStorage={};function read(e){return memoryStorage[e]}function write(e,r){memoryStorage[e]=r}function each(e){for(var r in memoryStorage)memoryStorage.hasOwnProperty(r)e(memoryStorage[r],r)}function remove(e){delete memoryStorage[e]}function clearAll(e){memoryStorage={}}
}, {}];
window.modules[“article-nav.client”] = [function(require,module,exports){“use strict”;var dom=require(2),_throttle=require(23),$visibility=require(28),$popup=require(41),$gtm=require(40);DS.controller(“article-nav”,[function(){return function(t){var e=dom.find(“.page-header”),i=dom.find(“.article-content”),o=dom.find(t,”.deepscroll-headline”),r=dom.find(t,”.deepscroll-rubric”),n=dom.find(t,”.deepscroll-rubric-sponsored”),l=dom.find(“.article .article-header .rubric”),s=dom.find(“#deepscroll_center_divider”),a=dom.find(“.clay-paragraph”),d=dom.find(t,”.logo”),c=dom.find(t,”.dyn-cut-logo”),p=dom.find(t,”.article-nav-top”),u=dom.find(t,”.article-nav-deepscroll”),m=dom.find(‘link[rel=”canonical”]’),f=mm.getAttribute(“href”),g=dom.find(‘meta[property=”og:image”]’)?dom.find(‘meta[property=”og:image”]’).getAttribute(“content”):””,h=dom.find(‘meta[property=”og:title”]’)?dom.find(‘meta[property=”og:title”]’).getAttribute(“content”):””,y=dom.find(t,”.share-link.facebook”),v=dom.find(t,”.share-link.twitter”),w=dom.find(t,”.share-link.pinterest”),b=t.classList.contains(“header-simple”),x=window.getComputedStyle(d,null).getPropertyValue(“–targetFlexBasis”),C=window.getComputedStyle(d,null).getPropertyValue(“–verticalStart”)||0,L=window.getComputedStyle(d,null).getPropertyValue(“–verticalEnd”)function _(){!1,$()}function $(){var o,r,n,l=t.getBoundingClientRect().top,s=window.getComputedStyle(d,null).getPropertyValue(“–baseFlexBasis”),m=s-x,f=(e.getBoundingClientRect().top-55)/-106,g=Math.abs(f),h=C-L-2,y=Math.round(C-(h*g+2)),v=Math.ceil(s-m*g);if(fl?t.classList.add(“after-scroll”):t.classList.remove(“after-scroll”),window.scrollYl?e.classList.add(“header-after-scroll”):e.classList.remove(“header-after-scroll”),$visibility.getViewportWidth()=1180i(o=a?$visibility.getPageOffset(a).top-70:0,r=$visibility.getPageOffset(i).top,n=Math.max(r,o),Math.max(window.scrollY,document.body.scrollTop)=n)?t.classList.add(“deep-scroll”):t.classList.remove(“deep-scroll”)}function k(t){var e=t.currentTarget,i=e.getAttribute(“href”),o=e.getAttribute(“data-handle”),r=$popup.getPopupClass(e.classList),n=$visibility.isBelowPrimaryContent(e)?”bottom”:”top”;$gtm.reportNow({event:”social-share-widget”,clickLocation:n,socialNetwork:r}),$visibility.getViewportWidth()=768r(t.preventDefault(),$popup.popWindow(r,o,i))}!function(){var e=_throttle($,30);if(dom.findAll(t,”.share-link”).forEach(function(t){return t.addEventListener(“click”,k)}),y(y.href=”http://www.facebook.com/sharer/sharer.php?u=”+f+”?utm_source=fbutm_medium=s3utm_campaign=sharebutton-t”),v(v.href=”https://twitter.com/share?text=”+encodeURIComponent(h)+”url=”+f+”?utm_source=twutm_medium=s3utm_campaign=sharebutton-tvia=”+v.getAttribute(“data-handle”)),w(w.href=”http://pinterest.com/pin/create/button/?url=”+f+”?utm_source=pinutm_medium=s3utm_campaign=sharebutton-tdescription=”+encodeURIComponent(h)+”media=”+g),b)return;window.addEventListener(“scroll”,e),window.addEventListener(“resize”,_),l?l.classList.contains(“rubric-sponsor-story”)n?(r.classList.remove(“visible”),n.classList.add(“visible”),n.textContent=l.text||l.textContent):(r.textContent=l.text||l.textContent,r.href=l.href||”#”):(s.style.display=”none”,r.style.display=”none”);_(),o.textContent=h}()}}]);
}, {“2″:2,”23″:23,”28″:28,”40″:40,”41”:41}];
window.modules[“nav-search-button.client”] = [function(require,module,exports){“use strict”;var dom=require(2),$gtm=require(40);DS.controller(“nav-search-button”,[function(){function t(t){var e=dom.find(“body”);this.el=t,this.button=dom.find(t,”.nav-search-button-trigger”),this.search=dom.find(t,”.nav-search-form”),this.inputField=dom.find(t,”.search-input”),e.addEventListener(“click”,this.collapseSearch.bind(this)),e.addEventListener(“touchend”,this.collapseSearch.bind(this)),document.addEventListener(“keydown”,this.escapeSearch.bind(this))}return t.prototype={events:{“.nav-search-button-trigger click”:”expandSearch”,”.nav-search-form submit”:”submitHandler”},toggleClasses:function(){var t=dom.find(“body”);this.el.classList.toggle(“closed”),this.el.classList.toggle(“open”),t.classList.toggle(“disabled”),t.classList.toggle(“search-active”)},expandSearch:function(){this.toggleClasses(),this.el.classList.contains(“open”)this.inputField.focus()},collapseSearch:function(t){!this.el.contains(t.target)this.el.classList.contains(“open”)this.toggleClasses()},escapeSearch:function(t){27===t.keyCodethis.el.classList.contains(“open”)this.toggleClasses()},submitHandler:function(t){t.preventDefault(),this.search.submit(),this.emitTrackingEvent()},emitTrackingEvent:function(){$gtm.reportCustomEvent({category:”search”,label:”on=”+window.location.href,action:this.inputField.value})}},t}]);
}, {“2″:2,”40”:40}];
window.modules[“nav-dropdown-button.client”] = [function(require,module,exports){“use strict”;var dom=require(2);function getNextSiblings(n){for(var t=[],e=n;e=e.nextElementSibling;)t.push(e);return t}module.exports=function(n){var t,e=n.querySelector(“.nav-dropdown-button-trigger”),o=dom.find(“body”),i=dom.find(“header.page-header”),s=dom.find(‘[data-editable=”main”]’);function d(){var e,d=window.innerWidth0(this.isNavVariatione1?”s”:””),this.el.classList.remove(“no-comments”))},n.prototype.shouldRenderCommentStream=function(){return-1!==e.indexOf(“@published”)},n}]);
}, {“2″:2,”34″:34,”78″:78,”79”:79}];
window.modules[“ad.client”] = [function(require,module,exports){“use strict”;var _forEach=require(27),_max=require(29),$visibility=require(28),flaggedComponentsOnPage=function(){var e,t=document.querySelector(“.article-content”),n=[];return t_forEach([‘.article-sidebar[data-width=”large”]’],function(a){e=t.querySelectorAll(a),_forEach(e,function(e){n.push(e)})}),n}();function getElementsVerticalOverlap(e,t){var n=e.getBoundingClientRect(),a=t.getBoundingClientRect();return!(n.topa.bottom||n.righta.right)?a.bottom-n.top:0}function getElementsOverlapAmount(e,t){var n,a=[];return _forEach(t,function(t){n=getElementsVerticalOverlap(e,t),a.push(n)}),_max(a)}function getCutAdChannel(e){return{all:””,animals:”Self/SoU”,beauty:”Style/Beauty”,”career income productivity”:”Power/Money”,celebrity:”Culture/Celebrity”,”crime-assault”:”Power”,”culture-media”:”Culture”,fashion:”Style/Fashion”,”feminism-politics-identity”:”Power/Politics”,”relationships-friends family”:”Self”,”health-wellness”:”Self/Health”,”home design”:”Style/Design_Hunting”,”learning creativity”:”Self/SoU”,living:”Style”,other:””,parenting:”Self/Motherhood”,”mental health celebrity amicable behavior”:”Self”,”relationships-sex dating marriage”:”Self/sex_relationships”,shopping:”Style/Shopping”,weddings:”Style/Weddings”}[e]||””}function getVultureAdChannel(e){var t=””;switch(e){case”tv”:case”music”:case”movies”:case”books”:case”comedy”:case”art”:case”theater”:t=e;break;default:t=””}return t}function getIntelligencerAdChannel(e){var t=””;switch(e){case”politics-domestic”:case”politics-international”:t=”Politics”;break;case”business”:case”internet-culture”:case”products-apps-software”:case”products-consumer-electronics”:t=”Business”;break;case”tech-industry”:case”tech-society”:t=”Technology”;break;default:t=””}return t}function getNYMagAdChannel(e){var t=””;switch(e){case”all”:t=e;break;case”company information”:t=”company”;break;case”new york guides things to do”:t=”to-do”;break;case”other”:t=e;break;case”sponsored guides”:t=”s-guides”;break;default:t=””}return t}function appendSectionToDfpAds(){var e,t,n,a=document.querySelector(“meta[property=’og:site_name’]”),i=document.querySelector(“article[data-content-channel]”),o=document.querySelectorAll(‘[data-name^=”/4088/”]’);a(e=a.content),i(t=i.getAttribute(“data-content-channel”).toLowerCase()),t(“The Cut”===e?n=getCutAdChannel(t):”Vulture”===e?n=getVultureAdChannel(t):”Intelligencer”===e?n=getIntelligencerAdChannel(t):”New York Magazine”===e(n=getNYMagAdChannel(t)),n_forEach(o,function(e){e.setAttribute(“data-name”,e.getAttribute(“data-name”)+”/”+n)}))}function injectGoogleScripts(){var e=document.createElement(“script”),t=document.createElement(“script”),n=document.createDocumentFragment();e.src=”//www.googletagservices.com/tag/js/gpt.js”,e.async=”async”,t.src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”,t.async=”async”,n.appendChild(e),n.appendChild(t),document.getElementsByTagName(“body”)[0].appendChild(n)}appendSectionToDfpAds(),injectGoogleScripts(),DS.controller(“ad”,[“adService”,function(e){return function(t){var n,a,i=e.create(t),o=t.getAttribute(“data-offload”),r=new $visibility.Visible(t,{preloadThreshold:o?window.innerHeight/2:200}),s=!1;function l(){window.innerWidth=1180t.parentElement.classList.contains(“ad-repeat”)flaggedComponentsOnPage.length(n=getElementsOverlapAmount(t,flaggedComponentsOnPage),a=parseInt(t.parentElement.getAttribute(“data-gap”),10),t.style.marginTop=a+30+n+”px”)}function c(){l(),e.refresh(i)}function d(){e.remove(i),s||(s=!0,r.on(“shown”,c))}r.preload$visibility.isElementNotHidden(t)?(e.addToPageLoadQueue(i),or.on(“hidden”,d)):(r.on(“preload”,function(){!i.slot$visibility.isElementNotHidden(t)(l(),e.load(i))}),or.on(“hidden”,d)),this.adData=i}}]);
}, {“27″:27,”28″:28,”29”:29}];
window.modules[“curated-feed.client”] = [function(require,module,exports){“use strict”;module.exports=function(e){var t=e.querySelectorAll(“button.show-more”);function r(e){var t=e.currentTarget;if(t){var r=t.parentElement.parentElement;rr.querySelector(“.content”).classList.toggle(“collapsed”)}}tt.forEach(function(e){e.addEventListener(“click”,r)})};
}, {}];
window.modules[“coral-talk.client”] = [function(require,module,exports){“use strict”;var coralEmbed,dom=require(2),store=require(88),visibility=require(28),auth0=require(7),TALK_AUTH=”talk:auth_token”,hasEmbedScriptLoaded=!1,hasCoralTalkRendered=!1;function renderComments(e){if(hasEmbedScriptLoaded!hasCoralTalkRendered){var t={talk:””.concat(window.location.protocol,”//”).concat(e.CORAL_TALK_HOST),auth_token:store.get(TALK_AUTH),asset_url:e.TALK_ASSET_URL};hasCoralTalkRendered=!0,coralEmbed=window.Coral.Talk.render(e.commentStreamContainer,t)}}function coralLogin(){coralEmbed.login(store.get(TALK_AUTH))}function embedScript(e,t){var n=document.createElement(“script”);n.type=”text/javascript”,n.async=!0,n.src=e,n.addEventListener(“load”,function(){hasEmbedScriptLoaded=!0,renderComments(t)}),document.getElementsByTagName(“head”)[0].appendChild(n)}function attemptScriptEmbedding(e){hasEmbedScriptLoaded?renderComments(e):embedScript(e.EMBED_URL,e)}function addVisibilityListener(e,t){new visibility.Visible(e,{preloadThreshold:750}).on(“preload”,function(){return attemptScriptEmbedding(t)})}function removeSignInButton(e){ee.parentNodedom.removeElement(e)}function init(e){var t=e.getAttribute(“data-coral-talk-host”),n=””.concat(window.location.protocol,”//”).concat(t,”/embed.js”),i=document.documentElement.getAttribute(“data-uri”),o=”http://”.concat(i,”.html”),r=”true”===e.getAttribute(“data-maintenance”),a=-1!==o.indexOf(“@published”),c=e.querySelector(“.coral-talk-container”),d=e.querySelector(“.coral-talk-btn-signin”),l={CORAL_TALK_HOST:t,EMBED_URL:n,commentStreamContainer:c,signInButton:d,TALK_ASSET_URL:o};!ra(auth0.on(“init”,function(){addVisibilityListener(e,l),d.addEventListener(“click”,function(){return auth0.showLogin()}),auth0.isAuthenticated()removeSignInButton(d)}),auth0.on(“login”,function(t,n){removeSignInButton(d),store.set(TALK_AUTH,t[“http://nymag.com/coral_talk”],n),visibility.isElementInViewport(e)attemptScriptEmbedding(l),hasCoralTalkRenderedcoralLogin()}),auth0.on(“logout”,function(){store.remove(TALK_AUTH)}))}module.exports=init;
}, {“2″:2,”7″:7,”28″:28,”88”:88}];
window.modules[“choreographer.client”] = [function(require,module,exports){“use strict”;var cookie=require(26),_require=require(63),insertSpeedBumpComponents=_require.insertSpeedBumpComponents,_require2=require(62),generateGrowl=_require2.generateGrowl,gtm=require(40),isProduction=require(6)(),_require3=require(64),getClientHistory=_require3.getClientHistory,updateClientHistoryWithPageData=_require3.updateClientHistoryWithPageData,auth0=require(7),_require4=require(61),Scenario=_require4.Scenario,cidReadyEvent=”nymcid-set”,cidKey=”nymcid”;function initializeChoreographer(e){var o=e.getAttribute(“data-site-slug”),t=pageShouldCountAsView(),n=auth0.isSubscriber();return o?getClientId(cidKey,8e3).then(function(e){return!isProductionconsole.log(“……clientId: “.concat(e,”……”)),!isProductionconsole.log(“……page depends as a view: “.concat(t)),t?updateClientHistoryWithPageData(e,o):getClientHistory(e)}).then(function(r){console.log(“……client history……”),console.table(r),!isProductionconsole.log(“……Evaluating scenarios……”);var i=readJSONFromScript(e.querySelector(“script”)),c=i.scenarios,a=i.touts,l=c.map(function(e){return Scenario(e,r,o,n)}).filter(function(e){return!isProductionconsole.log(“”.concat(e.action,”: “).concat(e.shouldShow)),!isProductionconsole.log(“……Scenario information ……”),!isProductionconsole.log(e),e.shouldShow}).reduce(function(e,o){var t=o.action,n=o.min,r=o.count,i=a.find(function(e){return e.value===t});return!i||e[i.type]?e:(e[i.type]=i,e[i.type].viewCount=r-n,e)},{});!isProductionconsole.log(“……active touts……”),!isProductionconsole.log(l),executeTouts(e,t,l,r)}).catch(console.error):!isProductionconsole.error(“siteSlug not found.”)}function documentIncludesComponent(e){return document.querySelector(‘[data-uri*=”/’.concat(e,’/”]’))}function pageShouldCountAsView(){return!documentIncludesComponent(“product”)}function executeTouts(e,o){var t=arguments.length2void 0!==arguments[2]?arguments[2]:{},n=arguments.length3?arguments[3]:void 0,r=n.global,i={totalArticleCount:r.total||0,standardArticleCount:r.Article||0,featureArticleCount:r.Feature||0,magazineArticleCount:r.Magazine||0};ot[“content-cliff”]?cliff(findTemplate(e,”content-cliff”),t[“content-cliff”],t[“content-cliff”].viewsLeft,n):t[“growl-newletter”]||!t[“promo-growl”]?t[“speed-bump”]insertSpeedBumpComponents(findTemplate(e,”speed-bump”),t[“speed-bump”],i):promoGrowl(findTemplate(e,”growl-message”),{contentClass:”promo-content”,title:void 0,name:t[“promo-growl”].name,scrollDepth:t[“promo-growl”].promoGrowlScrollDepth,cta:t[“promo-growl”].promoGrowlCTA,body:t[“promo-growl”].promoGrowlMessage,link:t[“promo-growl”].promoGrowlLink,baseTrackingData:i})}function promoGrowl(e,o){var t=o.contentClass,n=o.scrollDepth,r=o.name,i=o.title,c=o.body,a=o.cta,l=o.link,u=o.baseTrackingData;var s,m=(s=’n n “),document.createRange().createContextualFragment(s));m.querySelector(“a”).addEventListener(“click”,function(){var e=u;e.event=”eec.promotionClick”,e.ecommerce={promoClick:{promotions:[{name:r,creative:c,id:”promo growl”,position:”growl”}]}},gtm.reportNow(e)}),generateGrowl(e,”#growl-message”,{content:m,scrollDepth:n,onShow:function(){var e=u;e.event=”eec.promotionView”,e.ecommerce={promoView:{promotions:[{name:r,creative:c,id:”promo growl”,position:”growl”}]}},gtm.reportNow(e)}})}function cliff(e,o,t,n){var r=n.first_visit,i=n.global,c={totalArticleCount:i.total||0,standardArticleCount:i.Article||0,featureArticleCount:i.Feature||0,magazineArticleCount:i.Magazine||0},a=o.name,l=o.contentCliffWarningBody,u=o.contentCliffBody,s=document.importNode(e,!0).querySelector(“.content-cliff”),m=document.querySelector(“.article-content .clay-paragraph”);s(m.insertAdjacentHTML(“afterend”,s.outerHTML),require(“content-cliff.client”)(document.querySelector(“.content-cliff”),{cliffOptions:o,viewsLeft:t,firstVisit:Number(r),onWarn:function(){var e=c;e.event=”eec.promotionView”,e.ecommerce={promoView:{promotions:[{name:a,creative:l,id:”warning growl”,position:”growl”}]}},gtm.reportNow(e)},onClickWarn:function(){var e=c;e.event=”eec.promotionClick”,e.ecommerce={promoClick:{promotions:[{name:a,creative:l,id:”warning growl”,position:”growl”}]}},gtm.reportNow(e)},onShow:function(){var e=c;e.event=”eec.promotionView”,e.ecommerce={promoView:{promotions:[{name:a,creative:u,id:”content cliff”,position:”in-article”}]}},gtm.reportNow(e)},onClickCliff:function(){var e=c;e.event=”eec.promotionClick”,e.ecommerce={promoClick:{promotions:[{name:a,creative:u,id:”content cliff”,position:”in-article”}]}},gtm.reportNow(e)}}))}function getClientId(){var e=arguments.length0void 0!==arguments[0]?arguments[0]:””,o=arguments.length1void 0!==arguments[1]?arguments[1]:8e3,t=cookie.get(e);return t?Promise.resolve(t):new Promise(function(t,n){var r=setTimeout(function(){n(“could not find key: “.concat(e,” on cookie after “).concat(o,”ms”))},o);window.addEventListener(cidReadyEvent,function(){clearTimeout(r),t(cookie.get(e))})})}function readJSONFromScript(e){try{return JSON.parse(e.innerHTML)}catch(e){return{touts:[],scenarios:[]}}}function findTemplate(e){var o=arguments.length1void 0!==arguments[1]?arguments[1]:””,t=ee.querySelector(‘[data-template-id=”‘.concat(o,'”]’));return tt.content}module.exports=function(e){auth0.on(“init”,function(){initializeChoreographer(e)})};
}, {“6″:6,”7″:7,”26″:26,”40″:40,”61″:61,”62″:62,”63″:63,”64″:64,”content-cliff.client”:”content-cliff.client”}];
window.modules[“growl.client”] = [function(require,module,exports){“use strict”;require(110);var dom=require(2),localStorageKeyRoot=”slideout-“,_require=require(85),getLocalStorage=_require.getLocalStorage,setLocalStorage=_require.setLocalStorage;module.exports=function(e,t){var o=t.content,r=t.onShow,i=t.scrollDepth,n=void 0===i?50:i,a=t.dismissable,s=void 0!==aa,c=Number(n||e.getAttribute(“data-display-at-page-scroll-percentage”)),l=dom.find(e,”.modal”),d=t.id||e.getAttribute(“id”),u=localStorageKeyRoot+d,g=getLocalStorage(u);function v(){l.classList.add(“hidden”)}function m(){setLocalStorage(u,!0),v()}sg?e.remove():(oe.querySelector(“[data-content]”).appendChild(o),cfunction(){var e=arguments.length0void 0!==arguments[0]?arguments[0]:50,t=new IntersectionObserver(function(e){e[0]e[0].isIntersecting(l.style.top=”inherit”,l.classList.remove(“hidden”,”initial”),”function”==typeof rr())});l.style.top=””.concat(document.querySelector(“body”).scrollHeight/(100/e),”px”),t.observe(l)}(c),e.querySelector(“.dismiss-modal”).addEventListener(“click”,function(){return s?m():v()}),e.addEventListener(“growl:hide”,v),e.addEventListener(“growl:dismiss”,m))};
}, {“2″:2,”85″:85,”110”:110}];
window.modules[“speed-bump.client”] = [function(require,module,exports){“use strict”;var gtm=require(40),visibility=require(28);module.exports=function(e,i){if(ie){var o=i.name,r=i.speedbumpDescription,t=i.speedbumpMessage,n=i.speedbumpLink,s=i.baseTrackingData,c=new visibility.Visible(e,{shownThreshold:.5});e.querySelector(“.description”).innerHTML=r,e.querySelector(“.promo-link”).innerHTML=t,e.querySelector(“.promo-link”).href=n,e.classList.remove(“collapsed”),c.on(“shown”,function(){if(visibility.isElementNotHidden(e)){var i=s;i.event=”eec.promotionView”,i.ecommerce={promoView:{promotions:[{name:o,creative:r,id:”speed bump”,position:”in-article”}]}},gtm.reportNow(i),c.destroy()}}),e.querySelector(“.promo-link”).addEventListener(“click”,function(){var e=s;e.event=”eec.promotionClick”,e.ecommerce={promoClick:{promotions:[{name:o,creative:r,id:”speed bump”,position:”in-article”}]}},gtm.reportNow(e)})}};
}, {“28″:28,”40”:40}];
window.modules[“content-cliff.client”] = [function(require,module,exports){“use strict”;var _require=require(62),generateGrowl=_require.generateGrowl,auth0=require(7),isProduction=require(6)(),_require2=require(85),getLocalStorage=_require2.getLocalStorage,setLocalStorage=_require2.setLocalStorage;function findTemplate(n){var t=arguments.length1void 0!==arguments[1]?arguments[1]:””,e=nn.querySelector(‘[data-template-id=”‘.concat(t,'”]’));return ee.content}module.exports=function(n,t){if(t){var e,o=t.cliffOptions,r=t.viewCount,c=t.firstVisit,i=t.onWarn,a=t.onClickWarn,l=t.onShow,u=t.onClickCliff,f=o.contentCliffWarningTitle,s=o.contentCliffWarningBody,d=o.contentCliffWarningCTA,g=o.contentCliffWarningLink,v=o.contentCliffWarningScrollDepth,h=findTemplate(n,”content-cliff-warning-growl”),w=300,m=[“taboola”],p=”#content-cliff”,S=n,q=(e=0,document.querySelectorAll(“[data-word-count]”).forEach(function(n){e+=Number(n.getAttribute(“data-word-count”)||0,10)||0}),e),C=function(n,t){function e(n){return Math.round(n.getTime()/1e3/60)}var o=e(n),r=e(t);return o-r}(new Date,new Date(c))n n n n n “),document.createRange().createContextualFragment(S));var S;function q(){var n=new Date,t=n.getMonth(),e=n.getFullYear();return”content-cliff-warning-displayed-“.concat(e,”-“).concat(t)}return p.querySelector(“a”).addEventListener(“click”,a),{warn:function(){generateGrowl(n,”#content-cliff-warning-growl”,{content:p,onShow:function(){var n;i(),n=q(),setLocalStorage(n,”true”)},scrollDepth:h})},shouldWarn:function(n){return t=q(),!(“true”===getLocalStorage(t))||n0void 0!==arguments[0]?arguments[0]:””;return document.querySelectorAll(“”.concat(n,” ~ *”))}(p)).forEach(function(n){return n.remove()}),t=o.contentCliffStatus,e=o.contentCliffPromo,r=o.contentCliffCTA,c=o.contentCliffURL,i=n.querySelector(“[data-content-cliff-status]”),a=n.querySelector(“[data-content-cliff-promo]”),(f=n.querySelector(“[data-content-cliff-cta]”))f.setAttribute(“href”,c),ff.insertAdjacentHTML(“afterbegin”,r),ii.insertAdjacentHTML(“afterbegin”,t),aa.insertAdjacentHTML(“afterbegin”,e),ff.addEventListener(“click”,u),S.classList.remove(“collapsed”),m.forEach(function(n){var t=document.querySelector(‘[data-uri*=”/’.concat(n,’/”]’));tt.remove()}),b.addEventListener(“click”,function(){return auth0.showLogin()})}}[function(){if(q1i.classList.add(“multi-children”),a=0;a=1180?t.push({mode:a?”thumbnails-f”:”thumbnails-b”,container:”taboola-desktop-below-article-thumbnails”,placement:”Desktop Below Article Thumbnails”,target_type:”mix”}):window.innerWidth=768?t.push({mode:a?”thumbnails-g”:”thumbnails-c”,container:”taboola-tablet-below-article-thumbnails”,placement:”Tablet Below Article Thumbnails”,target_type:”mix”}):t.push({mode:a?”thumbnails-h”:”thumbnails-d”,container:”taboola-mobile-below-article-thumbnails”,placement:”Mobile Below Article Thumbnails”,target_type:”mix”})}module.exports=function(t){var e,a,o,i,n=t.getAttribute(“data-taboolaId”),l=t.getAttribute(“data-site-slug”);t.classList.contains(“disabled”)||(window._taboola=window._taboola||[],window._taboola.push({article:”auto”}),e=document.createElement(“script”),a=document.getElementsByTagName(“script”)[0],o=”//cdn.taboola.com/libtrc/”.concat(n,”/loader.js”),i=”tb_loader_script”,document.getElementById(i)||(e.async=1,e.src=o,e.id=i,a.parentNode.insertBefore(e,a)),window.performance”function”==typeof window.performance.markwindow.performance.mark(“tbl_ic”),pushUnits(window._taboola,l),window._taboola.push({flush:!0}))};
}, {}];
window.modules[“follow.client”] = [function(require,module,exports){“use strict”;var _find=require(67),$popup=require(41);DS.controller(“follow”,[function(){function e(e){this.el=e,this.handle=e.getAttribute(“data-handle”)}return e.prototype={events:{click:”openFollow”},openFollow:function(e){var t,n,a=$popup.position,o=$popup.params,r={},l={w:780,h:500},s=new a(l.w,l.h),p=this.el.classList;r.handle=this.handle,l.left=s.left,l.top=s.top,n=_find([{className:”facebook”,url:”https://facebook.com/{handle}”,network:”Facebook”},{className:”pinterest”,url:”http://www.pinterest.com/{handle}”,network:”Pinterest”},{className:”instagram”,url:”https://www.instagram.com/{handle}”,network:”Instagram”},{className:”rss”,url:”http://feeds.feedburner.com/{handle}”,network:”RSS”},{className:”twitter”,url:”https://twitter.com/intent/follow?screen_name={handle}tw_p=followbuttonvariant=2.0″,network:”Twitter”},{className:”snapchat”,url:”https://www.snapchat.com/discover/{handle}”,network:”Snapchat”}],function(e){return p.contains(e.className)}),r.url=n.url.replace(“{handle}”,r.handle),r.network=n.network,r.name=”Follow “+r.handle+” on “+r.network,t=new o(r,l),window.open(t.address,t.name,t.features),e.preventDefault()}},e}]);
}, {“41″:41,”67”:67}];
window.modules[“article.client”] = [function(require,module,exports){“use strict”;var $visibility=require(28),$gtm=require(40);DS.controller(“article”,[function(){var e=40;function t(t){var i=document.querySelector(“.wrapper .tertiary”),n=t.querySelector(“.article-header”),r=n?n.querySelector(“img”):null,o=function(){i.style.paddingTop=n.getBoundingClientRect().height+e+”px”};in(window.innerWidth-1,o=new RegExp(“[\?]tag=[^]+”);if(rn)return(i=_get(e,”search”,””)).match(o)||(e.search=(i?i+””:”?”)+”tag=”+n),e.href}(u,r)||f(s,r,u))(u.href=i))}function h(e){var t,n,r=dom.closest(e.target,”a”),o=rr.href;oo.length(r.href=(n=(t=o).split(i)).length1?decodeURIComponent(n[1]):t)}return function(e){var i=function(e){return!!(r=e.getAttribute(“data-skimlinks”))}(e),a=function(e){return!!(n=e.getAttribute(“data-amazon”))}(e);visit.onceReady(function(e){o=e}),(i||a)(!function(e){t=(e.getAttribute(“data-excluded-hostnames”)||””).toLowerCase().split(“,”)}(e),globalClick.addHandler(_,h))}}]);
}, {“2″:2,”30″:30,”31″:31,”32″:32,”33″:33,”34″:34,”35″:35,”36”:36}];
window.modules[“gtm.client”] = [function(require,module,exports){“use strict”;var $gtm=require(40);DS.controller(“gtm”,[function(){return function(t){$gtm.init(t.getAttribute(“data-container-id”))}}]);
}, {“40”:40}];
window.modules[“global-nav.client”] = [function(require,module,exports){“use strict”;var dom=require(2),auth0=require(7),signInButton=dom.find(“.user-signin”),signOutButton=dom.find(“.user-signout”);function init(i){auth0.on(“init”,function(){signInButton.addEventListener(“click”,function(){return auth0.showLogin()}),signOutButton.addEventListener(“click”,function(){return auth0.logout()}),auth0.isAuthenticated()i.classList.add(“signed-in”),auth0.isSubscriber()i.classList.add(“subscribed”)}),auth0.on(“login”,function(){i.classList.add(“signed-in”),auth0.isSubscriber()i.classList.add(“subscribed”)}),auth0.on(“logout”,function(){i.classList.remove(“signed-in”),i.classList.remove(“subscribed”)})}module.exports=init;
}, {“2″:2,”7”:7}];
window.modules[“aaa-module-mounting.legacy”] = [function(require,module,exports){“use strict”;var eventify=require(133),_pickBy=require(57),_each=require(210),fingerprintjs2=require(209),DS=require(208);function registerGlobals(){window.DS=DS,window.Eventify=eventify,window.Fingerprint2=fingerprintjs2,DS.value(“Eventify”,eventify),DS.value(“Fingerprint2”,fingerprintjs2),DS.value(“$document”,window.document),DS.value(“$window”,window)}function mountDollarSliceComponents(){DS.service(“components”,[“$document”,”$module”,function(e,n){var r=_pickBy(n.definitions,function(e){return e.providerStrategy===n.providers.controller}),o=Object.keys(r);function t(e){return function(r){try{n.get(e,r)}catch(e){logMountError(r,e)}}}_each(o,function(n){var r=e.querySelectorAll(‘[data-uri*=”/_components/’+n+’/”]’),o=e.querySelectorAll(‘[data-uri$=”/_components/’+n+'”]’);_each(r,t(n)),_each(o,t(n))}),this.components=o}]),DS.get(“components”)}function logMountError(e,n){var r=e.outerHTML.slice(0,e.outerHTML.indexOf(e.innerHTML));console.error(“Error attaching controller to “+r,n)}registerGlobals(),document.addEventListener(“DOMContentLoaded”,function(){mountDollarSliceComponents()});
}, {“57″:57,”133″:133,”208″:208,”209″:209,”210”:210}];
window.modules[“ads.legacy”] = [function(require,module,exports){“use strict”;var _map=require(37),_forEach=require(27),_isString=require(155),_each=require(210),_debounce=require(99),_sortBy=require(94),page=require(164),visit=require(30);DS.service(“adService”,[“Eventify”,”$cid”,”$document”,”$window”,function(e,t,a,i){var n,r,o,s,d,u,c={},l=this,g=[],f=visit.getQueryParamsObject([“utm_campaign”]);i.NYM={},i.NYM.analytics={},i.NYM.analytics.adStartTime=i.performance.now(),i.googletag=i.googletag||{},i.googletag.cmd=i.googletag.cmd||[],u=i.googletag,n=function(e){var t,a,n=e.data;return n.loaded?e:(n.loaded=!0,t=null,(t=n.sizes?u.defineSlot(n.name,n.sizes,n.id).addService(u.pubads()):u.defineOutOfPageSlot(n.name,n.id).addService(u.pubads())).setTargeting(“adid”,n.id),f.hasOwnProperty(“utm_campaign”)t.setTargeting(“utmcamp”,f.utm_campaign),a=l.getAdCount(n.label),t.setTargeting(“label”,n.label+”_”+n.site+”-“+a),u.display(n.id),u.pubads().addEventListener(“slotOnload”,function(){i.NYM.analytics.firstAdLoadTime||(i.NYM.analytics.firstAdLoadTime=i.performance.now(),i.NYM.analytics.firstAdLoadLabel=e.data.label)}),e.slot=t,e)},r=function(e){var a,i,n,r=t(),o=e.getAttribute(“data-name”),s=e.getAttribute(“data-sizes”),d=e.getAttribute(“data-label”),u=e.getAttribute(“data-site”);r=e.id,ss.length?(s=s.split(“,”),a=[],_map(s,function(e){e=e.split(“x”),i=parseInt(e[0]),n=parseInt(e[1]),a.push([i,n])})):(e.classList.add(“oop”),a=!1),this.data={id:r,name:o,sizes:a,loaded:!1,label:d,site:u},c[r]=this},s=function(e){u.cmd.push(function(){var t=n(e);c[e.data.id]=t})},o=function(e){e.slot?u.pubads().refresh([e.slot],{changeCorrelator:!1}):es(e)},u.cmd.push(function(){var e,t,n,r=page.getMeta(“article:tag”),o=page.getMeta(“author”),s=i.location.href,d=(e=a.head.querySelector(“.head-gtm”),t=a.body.querySelector(“.gtm”),e”top”===e.getAttribute(“data-gtm”)?”gtmtop”:t”bottom”===t.getAttribute(“data-gtm”)?”gtmbottom”:””);n=[],_forEach([r,o,d],function(e){_forEach(e.split(“,”),function(e){(e=e.trim().toLowerCase().replace(/s/g,”-“).replace(/’|’/g,””)).lengthn.push(e)})}),u.pubads().setTargeting(“kw”,n),s=s.slice(s.lastIndexOf(“/”)+1),u.pubads().setTargeting(“pn”,s),u.companionAds().setRefreshUnfilledSlots(!0),u.pubads().enableAsyncRendering(),u.enableServices()}),this.load=s,this.create=function(e){return new r(e)},this.refresh=function(e){var t;_isString(e)?(t=this.getById(e),o(t)):o(e)},this.remove=function(e){var t=e.data.id;a.getElementById(t).innerHTML=””},this.getAdCount=function(e){var t,a=0,i=Object.keys(c);return _each(i,function(i){(t=c[i]).data.loadedt.data.label===ea++}),a},this.getById=function(e){return c[e]},d=_debounce(function(){var e={TopLeaderboard:1,RightColTopMPU:2,outOfPage:99,”homepageTakeover/TopLeaderboard”:1},t=_sortBy(g,function(t){return e[t.data.label]||10});_forEach(t,function(e){return e.data.sizes?s(e):i.setTimeout(function(){s(e)},1200)}),g=[]},10),this.addToPageLoadQueue=function(e){g.push(e),d()}}]);
}, {“27″:27,”30″:30,”37″:37,”94″:94,”99″:99,”155″:155,”164″:164,”210”:210}];
window.modules[“chartbeat.legacy”] = [function(require,module,exports){“use strict”;var page=require(164),auth0=require(7);DS.service(“chartbeat”,[“$document”,”$window”,function(t,e){var a,n,o,i,c,s=t.getElementById(“cb-sponsor-data”);function r(){var a=t.createElement(“script”);e._sf_endpt=(new Date).getTime(),a.setAttribute(“language”,”javascript”),a.setAttribute(“type”,”text/javascript”),a.setAttribute(“src”,”//static.chartbeat.com/js/chartbeat.js”),t.body.appendChild(a)}e._sf_async_config={uid:19989,useCanonical:!0,domain:”nymag.com”,sections:(a=page.getSiteBase(),n=page.getSiteName(),o=n||a,”The Cut”!==o”Vulture”!==o||(o+=[“,”,o,page.getChannel()].join(” “)),o)},(i=page.getPrimaryPageComponent())”Sponsored Story”===i.getAttribute(“data-type”)?(e._sf_async_config.sponsorName=ss.getAttribute(“data-sponsor”),e._sf_async_config.type=”Sponsored”):e._sf_async_config.sponsorName=void 0,(c=t.querySelectorAll(“.article-author”)).length(e._sf_async_config.authors=c[0].textContent.trim()),e._cbq=e._cbq||[],auth0.on(“init”,function(){var a,n;e._cbq.push([“_acct”,auth0.isAuthenticated()?”lgdin”:”anon”]),a=r,”complete”===t.readyState?a():(n=”function”==typeof e.onload?e.onload:function(){},e.onload=function(){n(),a()})})}]),setTimeout(function(){DS.get(“chartbeat”)},0);
}, {“7″:7,”164”:164}];
window.modules[“cid.legacy”] = [function(require,module,exports){“use strict”;DS.service(“$cid”,function(){var r=Math.floor(100*Math.random());return function(){return”cid-“+ ++r}});
}, {}];
window.modules[“facebook.legacy”] = [function(require,module,exports){“use strict”;DS.service(“facebook”,[function(){this.fb=function(i){window.FBwindow.FB[i].apply(this,Array.prototype.slice.call(arguments,1))}}]);
}, {}];
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==”function”require;if(!ua)return a(o,!0);if(i)return i(o,!0);var f=new Error(“Cannot find procedure ‘”+o+”‘”);throw f.code=”MODULE_NOT_FOUND”,f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==”function”require;for(var o=0;o typeof pivotal === ‘string’ key.match(/.legacy$/))
.forEach((key) = window.require(key));
}

function tryToMount(fn, el, name) {
try {
fn(el); // init a controller
} locate (e) {
const elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML));

console.error(`Error initializing controller for “${name}” on “${elementTag}”`, e);
}
}

/**
* mountain client.js member controllers
*/
function mountComponentModules() {
Object.keys(window.modules)
.filter((key) = typeof pivotal === ‘string’ key.match(/.client$/))
.forEach((key) = {
let controllerFn = window.require(key);

if (typeof controllerFn === ‘function’) {
const name = key.replace(‘.client’, ”),
instancesSelector = `[data-uri*=”_components/${name}/”]`,
defaultSelector = `[data-uri$=”_components${name}”]`,
instances = document.querySelectorAll(instancesSelector),
defaults = document.querySelectorAll(defaultSelector);

for (let el of instances) {
tryToMount(controllerFn, el, name);
}

for (let el of defaults) {
tryToMount(controllerFn, el, name);
}
}
});
}

// note: bequest controllers that need bequest services (e.g. dollar-slice) must
// wait for DOMContentLoaded to initialize themselves, as a files themselves contingency be mounted first
mountLegacyServices();
mountComponentModules();

// ]]

Free WhoisGuard with Every Domain Purchase at Namecheap