/*! For license information please see light.js.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("fusion:prop-types"),require("fusion:jsx:context"),require("fusion:jsx:content"),require("fusion:environment"),require("fusion:jsx:consumer"),require("prop-types"),require("react-dom"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:unpack"),require("@arc-fusion/prop-types")):"function"==typeof define&&define.amd?define([,,,,,,,,,,,],t):"object"==typeof exports?exports.components=t(require("react"),require("fusion:prop-types"),require("fusion:jsx:context"),require("fusion:jsx:content"),require("fusion:environment"),require("fusion:jsx:consumer"),require("prop-types"),require("react-dom"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:unpack"),require("@arc-fusion/prop-types")):(e.Fusion=e.Fusion||{},e.Fusion.components=t(e.React,e.PropTypes,e.Fusion.Context,e.Fusion.Content,e.Fusion.environment,e.Fusion.Consumer,e.PropTypes,e.ReactDOM,e.Fusion.Layout,e.Fusion.Quarantine,e.Fusion.unpack,e.PropTypes))}(this,(function(e,t,n,r,i,o,a,l,s,c,u,d){return function(e){function t(t){for(var n,i,o=t[0],a=t[1],l=0,c=[];l{const n=new Date,l=t||Object(i.e)(),s=(null==e?void 0:e.article_targeting)||{},c=Object(i.d)("test")||void 0;return function(e){for(var t=1;t["adhesion","top_banner"].some((t=>e.includes(t))),c={ARTICLE_ONEPIXEL:"article/onepixel",ARTICLE_RIGHT_RAIL_BOTTOM_STICKY:"article/right-rail-bottom-sticky",ARTICLE_CUBE:"article/cube",ARTICLE_RIGHT_RAIL_STICKY:"article/right-rail-sticky",ARTICLE_RIGHT_RAIL_STICKY_2:"article/right-rail-sticky-2",ARTICLE_RIGHT_RAIL_3:"article/right-rail-3",ARTICLE_RIGHT_RAIL_STICKY_LIVEBLOG:"article/right-rail-sticky-liveblog",ARTICLE_ANCHOR:"article/anchor",ARTICLE_TOP_LEADERBOARD:"article/top-leaderboard",ARTICLE_RAIL5:"article/rail_5_article",ARTICLE_NATIVE_IN_FEED:"article/native_infeed",ARTICLE_LIVEBLOG_INLINE:"article/liveblog-inline",ARTICLE_LIVEBLOG_SPONSORED:"article/liveblog-sponsored",GALLERY_MREC:"gallery/mrec_gallery",HP_ONEPIXEL:"homepage/onepixel",HP_ADHESION:"homepage/adhesion",HP_SLIDER:"homepage-slider",HP_TOP_BANNER:"homepage/top_banner",HP_PREMIUM:"homepage/premium",HP_ISONE:"homepage/isone",HP_LEADER_1:"homepage/leader_1",HP_LEADER_2:"homepage/leader_2",HP_LEADER_3:"homepage/leader_3",HP_LEADER_4:"homepage/leader_4",HP_LEADER_1_PREMIUM:"homepage/leader_1_premium",HP_RAIL_1:"homepage/rail_1",HP_RAIL_2:"homepage/rail_2",HP_RAIL_3:"homepage/rail_3",HP_TEXT_LINK:"homepage/text_link",SECTION_TOP_BANNER:"section/top_banner",SECTION_MREC:"section/mrec",SECTION_RAIL:"section/rail",SECTION_RAIL_2:"section/rail_2",SECTION_LEADER:"section/leader",SECTION_LEADER_2:"section/leader_2",SECTION_LEADER_3:"section/leader_3",SECTION_LEADER_PREMIUM:"section/leader_premium",SECTION_LEADER_2_PREMIUM:"section/leader_2_premium",SECTION_LEADER_3_PREMIUM:"section/leader_3_premium",SECTION_ADHESION:"section/adhesion",SECTION_ANCHOR:"section/anchor",SECTION_ONEPIXEL:"section/onepixel",RIGHT_RAIL_STICKY:"right-rail-sticky",GAMEDAY_TOP_BANNER:"gameday_central/top_banner",GAMEDAY_LEADER:"gameday_central/leader",GAMEDAY_LOGO:"gameday_central/logo",GAMEDAY_RAIL_1:"gameday_central/rail_1",GAMEDAY_RAIL_2:"gameday_central/rail_2",GAMEDAY_ADHESION:"gameday_central/adhesion",GAMEDAY_LEADER_BTF:"gameday_central/leader_btf",GAMEDAY_INLINE_1:"gameday_central/inline_1",GAMEDAY_INLINE_2:"gameday_central/inline_2",GAMEDAY_INLINE_3:"gameday_central/inline_3",SPORTS_ADHESION:"sports_section/adhesion",TOPIC_MREC:"topic/mrec",TOPIC_RAIL:"topic/rail",PHILLY_BEST_TOP_BANNER:"phillybest/top_banner",PHILLY_BEST_RAIL_1:"phillybest/rail_1",PHILLY_BEST_RAIL_2:"phillybest/rail_2",PHILLY_BEST_LEADER_1:"phillybest/leader_1",PHILLY_BEST_LEADER_2:"phillybest/leader_2",PHILLY_BEST_ADHESION:"phillybest/adhesion",PHILLY_BEST_ONEPIXEL:"article/onepixel",EAGLES_ADHESION:"eaglesplayoffs/adhesion",EAGLES_RAIL:"eaglesplayoffs/rail",EAGLES_RAIL_2:"eaglesplayoffs/rail_2",EAGLES_LEADER_1:"eaglesplayoffs/leader_1",EAGLES_LEADER_2:"eaglesplayoffs/leader_2",EAGLES_INLINE:"eaglesplayoffs/inline_1",EAGLES_TOP_BANNER:"eaglesplayoffs/top_banner",EAGLES_ONE_PIXEL:"eaglesplayoffs/one_pixel",NATIVE:"native",ART_GUIDE_LOGO:"arts_guide/logo",SPONSOR_LOGO:"sponsor_logo",PHILLY_FIRST_TOP_BANNER:"phillyfirst/top_banner",PHILLY_FIRST_TOP_BANNER_ARTICLE:"phillyfirst/top_banner_article",PHILLY_FIRST_RIGHT_RAIL_ARTICLE:"phillyfirst/article/rail_1",PHILLY_FIRST_RIGHT_RAIL_LANDING:"phillyfirst/landing/rail_1",PHILLY_FIRST_LEADER:"phillyfirst/leader_1",PHILLY_FIRST_TOPIC_TOP_BANNER:"phillyfirst/topic/top_banner",PHILLY_FIRST_TOPIC_RIGHT_RAIL:"phillyfirst/topic/rail_1",PHILLY_FIRST_TOPIC_LEADER:"phillyfirst/topic/leader_1",NEW_SPORTS_INLINE:"section/leader_1",NEW_SPORTS_INLINE_NATIVE:"section/leader_1_native",NEW_SPORTS_LEFT_RAIL:"section/new_sports_left_rail_1",NEW_SPORTS_MASTHEAD:"new_sports_masthead",RESTAURANT_RAIL_1:"restaurant_rail_1",RESTAURANT_RAIL_2:"restaurant_rail_2",RESTAURANT_LEADER:"restaurant_leader",ARTICLE_TOP_BANNER_MASTHEAD:"article/top_banner_masthead",FOOD_LEADER_1:"food_section/leader_1",FOOD_LEADER_1_NATIVE:"food_section/leader_1_native",FOOD_LEADER_2:"food_section/leader_2",FOOD_RIGHT_RAIL_1:"food_section/rail_1",FOOD_RIGHT_RAIL_2:"food_section/rail_2",STORYSTACK_LEADER:"storystack/leader",STORYSTACK_TOP_BANNER:"storystack/top_banner"},u=new Set([c.ARTICLE_RIGHT_RAIL_STICKY,c.ARTICLE_RIGHT_RAIL_STICKY_2,c.ARTICLE_RIGHT_RAIL_3,c.ARTICLE_RIGHT_RAIL_BOTTOM_STICKY,c.HP_RAIL_1,c.HP_RAIL_2,c.HP_RAIL_3,c.SECTION_MREC,c.SECTION_RAIL,c.SECTION_RAIL_2,c.TOPIC_MREC,c.TOPIC_RAIL,c.GALLERY_MREC,c.PHILLY_FIRST_RIGHT_RAIL_ARTICLE,c.PHILLY_FIRST_RIGHT_RAIL_LANDING,c.PHILLY_FIRST_TOPIC_RIGHT_RAIL,c.GAMEDAY_RAIL_1,c.GAMEDAY_RAIL_2,c.EAGLES_RAIL,c.EAGLES_RAIL_2,c.FOOD_RIGHT_RAIL_1,c.FOOD_RIGHT_RAIL_2,c.PHILLY_BEST_RAIL_1,c.PHILLY_BEST_RAIL_2,c.RIGHT_RAIL_STICKY,c.RESTAURANT_RAIL_1,c.RESTAURANT_RAIL_2]),d=e=>{if(!e)return!1;const t=e.querySelectorAll("[data-ad-name]");for(let e=0;e{var r;const i="bg-white overflow-hidden flex-col justify-center items-center";if(n)return`${i} flex`;return`${i} ${null!==(r={[c.PHILLY_FIRST_TOP_BANNER_ARTICLE]:"hidden lg:flex lg:min-h-[250px]",[c.PHILLY_FIRST_TOP_BANNER]:"hidden md:flex md:min-h-[90px] lg:min-h-[250px]",[c.PHILLY_FIRST_TOPIC_TOP_BANNER]:"hidden md:flex md:min-h-[90px] lg:min-h-[250px]"}[e])&&void 0!==r?r:t?"flex":"flex min-h-[50px] md:min-h-[90px] lg:min-h-[250px]"}`},y=e=>{var t;return null!==(t={[c.SECTION_TOP_BANNER]:"md:min-h-[90px]",[c.GALLERY_MREC]:"min-h-[100px]",[c.ARTICLE_ONEPIXEL]:"h-0",[c.ARTICLE_TOP_LEADERBOARD]:"lg:min-h-[90px]"}[e])&&void 0!==t?t:""},x=e=>(null==e?void 0:e.indexOf("/opinion"))>-1,O=(e,t)=>{let n=[];switch(t){case"article":n=b;break;case"desktop":n=p;break;case"tablet":n=m;break;case"mobile":n=f;break;default:n=h}return n.indexOf(e)>-1},w=(e,t)=>{const n={isHome:[c.HP_LEADER_1,c.NATIVE,c.HP_TEXT_LINK],isSectionFront:[c.NATIVE,c.NEW_SPORTS_INLINE,c.FOOD_LEADER_1,c.SECTION_LEADER,c.SECTION_LEADER_2,c.SECTION_LEADER_3],isPhillyFirst:[c.PHILLY_FIRST_TOP_BANNER,c.PHILLY_FIRST_TOP_BANNER_ARTICLE,c.PHILLY_FIRST_RIGHT_RAIL_ARTICLE,c.PHILLY_FIRST_RIGHT_RAIL_LANDING,c.PHILLY_FIRST_LEADER,c.PHILLY_FIRST_TOPIC_TOP_BANNER,c.PHILLY_FIRST_TOPIC_RIGHT_RAIL,c.PHILLY_FIRST_TOPIC_LEADER,c.ARTICLE_CUBE]};return t.isHome&&n.isHome.includes(e)||t.isSectionFront&&n.isSectionFront.includes(e)||t.isPhillyFirst&&(n.isPhillyFirst.includes(e)||e===c.ARTICLE_CUBE)||!1},_=e=>{if(!e)return null;return g.map((t=>e.querySelector(`div[data-ad-name="${t}"]`))).find((e=>null!==e))||null}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"V",(function(){return x})),n.d(t,"Z",(function(){return O})),n.d(t,"ab",(function(){return w})),n.d(t,"jb",(function(){return _})),n.d(t,"T",(function(){return C})),n.d(t,"R",(function(){return k})),n.d(t,"Y",(function(){return S})),n.d(t,"hb",(function(){return N})),n.d(t,"M",(function(){return L})),n.d(t,"eb",(function(){return E})),n.d(t,"m",(function(){return T})),n.d(t,"o",(function(){return M})),n.d(t,"s",(function(){return A})),n.d(t,"q",(function(){return I})),n.d(t,"k",(function(){return R})),n.d(t,"l",(function(){return $})),n.d(t,"b",(function(){return q})),n.d(t,"d",(function(){return B})),n.d(t,"db",(function(){return F})),n.d(t,"F",(function(){return V})),n.d(t,"f",(function(){return H})),n.d(t,"e",(function(){return U})),n.d(t,"g",(function(){return W})),n.d(t,"vb",(function(){return Z})),n.d(t,"gb",(function(){return K})),n.d(t,"S",(function(){return J})),n.d(t,"Q",(function(){return X})),n.d(t,"i",(function(){return Q})),n.d(t,"mb",(function(){return ee})),n.d(t,"t",(function(){return te})),n.d(t,"I",(function(){return ne})),n.d(t,"z",(function(){return re})),n.d(t,"B",(function(){return ie})),n.d(t,"x",(function(){return oe})),n.d(t,"y",(function(){return le})),n.d(t,"C",(function(){return se})),n.d(t,"r",(function(){return ce})),n.d(t,"H",(function(){return ue})),n.d(t,"P",(function(){return de})),n.d(t,"X",(function(){return me})),n.d(t,"E",(function(){return fe})),n.d(t,"lb",(function(){return be})),n.d(t,"j",(function(){return he})),n.d(t,"ib",(function(){return ve})),n.d(t,"sb",(function(){return ge})),n.d(t,"K",(function(){return je})),n.d(t,"J",(function(){return ye})),n.d(t,"L",(function(){return xe})),n.d(t,"u",(function(){return Oe})),n.d(t,"G",(function(){return we})),n.d(t,"tb",(function(){return _e})),n.d(t,"cb",(function(){return Ce})),n.d(t,"ob",(function(){return ke})),n.d(t,"nb",(function(){return Se})),n.d(t,"U",(function(){return Ne})),n.d(t,"v",(function(){return Le})),n.d(t,"A",(function(){return Ee})),n.d(t,"w",(function(){return Pe})),n.d(t,"D",(function(){return Te})),n.d(t,"N",(function(){return Me})),n.d(t,"n",(function(){return Ae})),n.d(t,"p",(function(){return Ie})),n.d(t,"O",(function(){return De})),n.d(t,"pb",(function(){return $e})),n.d(t,"rb",(function(){return qe})),n.d(t,"qb",(function(){return Be})),n.d(t,"c",(function(){return Fe})),n.d(t,"h",(function(){return Ve})),n.d(t,"bb",(function(){return He})),n.d(t,"ub",(function(){return Ue})),n.d(t,"kb",(function(){return ze})),n.d(t,"fb",(function(){return Ge})),n.d(t,"W",(function(){return Ye}));var r=n(27),i=n(92),o=n(24),a=n(30),l=n(10),s=n(78),c=n(39),u=n(23),d=n(6),p=n(9),m=n(63),f=n(12);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t]*>([\s\S]*?)<\/script>/gm,j=/]+src\s*=\s*['"]([^'"]+)['"][^>]*>/,y="(min-width: 1600px) 1024px, (min-width: 1040px) calc(60vw + 76px), (min-width: 740px) 650px, calc(92.86vw - 19px)",x=e=>e===r.a.INNOVATION2,O=e=>e===r.a.LONGFORMLIGHT,w=e=>e===r.a.LONGFORMLIGHTV2,_=e=>e===r.a.STORYSTACK,C=e=>e===r.a.FOOD_MAP,k=e=>e===r.a.FINDER_PAGE,S=(e,t)=>!!e&&new Date((null==t?void 0:t.first_publish_date)||(null==t?void 0:t.last_updated_date))>new Date(e),N=e=>e===r.a.PARTNER_SPORTS_BETTING,L=e=>e===r.a.CYOA,E=e=>e===r.a.RESTAURANT_PAGE,P=e=>{const t=["Jan.","Feb.","Aug.","Sept.","Oct.","Nov.","Dec."],n=[1,2,8,9,10,11,12].indexOf(parseInt(e.toLocaleDateString("en-US",{month:"numeric"}),10));return n>-1?`${t[n]} ${e.toLocaleDateString("en-US",{day:"numeric"})}, ${e.toLocaleDateString("en-US",{year:"numeric"})}`:e.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})},T=e=>Object(d.G)(null==e?void 0:e.type)?P(new Date((null==e?void 0:e.display_date)||"")):P(new Date((null==e?void 0:e.first_publish_date)||(null==e?void 0:e.publish_date)||"")),M=e=>{var t,n,r,i,o,a,l,s,c;const u=(null==e?void 0:e.label)||{},d=(null==e||null===(t=e.taxonomy)||void 0===t||null===(n=t.primary_section)||void 0===n||null===(r=n.additional_properties)||void 0===r||null===(i=r.original)||void 0===i||null===(o=i.site)||void 0===o?void 0:o.site_title)||(null==e||null===(a=e.taxonomy)||void 0===a||null===(l=a.primary_section)||void 0===l?void 0:l.name)||"";var p,m;return u&&u.eyebrows?{name:(null==u||null===(p=u.eyebrows)||void 0===p?void 0:p.text)||"",_id:(null==u||null===(m=u.eyebrows)||void 0===m?void 0:m.url)||"",type:"custom"}:{name:d,type:"section",_id:(null==e||null===(s=e.taxonomy)||void 0===s||null===(c=s.primary_section)||void 0===c?void 0:c._id)||""}},A=e=>{var t,n,r,i,o;return(null==e||null===(t=e.promo_items)||void 0===t?void 0:t.youtube)&&""!==(null==e||null===(n=e.promo_items)||void 0===n||null===(r=n.youtube)||void 0===r||null===(i=r.content)||void 0===i?void 0:i.trim())?e.promo_items.youtube:null==e||null===(o=e.promo_items)||void 0===o?void 0:o.video};const I=e=>null==e?void 0:e.map((e=>{var t,n;return(null==e||null===(t=e.additional_properties)||void 0===t||null===(n=t.original)||void 0===n?void 0:n.byline)||(null==e?void 0:e.name)})).join("|"),D=e=>e.trim().replace(/<[^>]*>/gi,"").length,R=e=>{let t=0;return((null==e?void 0:e.content_elements)||[]).forEach((e=>{["text","header"].includes(e.type)&&(t+=D(e.content)),"list"===e.type&&(null==e||e.items.forEach((e=>{"text"===e.type&&(t+=D(e.content))})))})),t<=1500?"brief":t<=3500?"short":t<=7e3?"medium":"long"},$=e=>{const t=(null==e?void 0:e.type)||"",n=(null==e?void 0:e.subtype)||"";return"gallery"===t?"image gallery":"video"===t?"video":"subtype-longformlight"===n?"longform":"article"},q=(e,t,n,r=!0)=>e?e.replace(/e.replace(/]*?\s+)?href="([^"]*)"/gi,((e,n)=>Object(d.t)(n)?e.replace(/""!==(e=>{var t,n,r;return(null==e||null===(t=e.additional_properties)||void 0===t||null===(n=t.inline_comments)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.comment)||""})(e)&&(""===(null==e?void 0:e.content)||"
"===e.content),V=e=>{const t=(e.filter((e=>"text"===e.type))||[]).length;return{textParagraph:t,nonTextParagraph:e.length-t}},H=e=>Object(d.b)(e,"/sports/betting")||Object(d.b)(e,"/casino"),U=(e,t)=>{const n=null==e?void 0:e.level;return h({},e,{content:t?B(q(e.content)):q(e.content),additional_properties:h({},null==e?void 0:e.additional_properties,{size:n?`h${1===n?3:n}`:""})})},z=(e,t,n,r)=>{var a,l;const s=r||"";var c,u,d,p,m;(n===e.length-1&&t.length>0&&t.forEach((e=>{const t=g.exec(e)||[];t.length>0&&Object(o.b)([{key:"innerHTML",value:t[1]}],o.a.High)})),(null===(a=window)||void 0===a?void 0:a.instgrm)&&s.indexOf("instagram.com")>-1)&&(null===(c=window)||void 0===c||null===(u=c.instgrm)||void 0===u||u.Embeds.process());(null===(l=window)||void 0===l?void 0:l.FB)&&s.indexOf("connect.facebook.net")>-1&&(null===(d=window)||void 0===d||null===(p=d.FB)||void 0===p||null===(m=p.XFBML)||void 0===m||m.parse());s.indexOf("d3q1ytufopwvkq.cloudfront.net/1/formrenderer.js")>-1&&(()=>{const e=Object(i.a)("style",[]);e.innerText="\n .fr_response_field label,\n .fr_text.size_medium,\n .fr_error,small,\n .fr_bottom,\n .fr_description {\n font-size: 16px;\n line-height: 1.75em;\n font-weight: 400;\n }\n .fr_description {\n font-style: italic;\n }\n .fr_response_field h3 {\n font-size: 20px;\n line-height: 2rem;\n }\n .fr_response_field label {\n padding-bottom: 8px;\n }\n .fr_response_field input {\n box-sizing: border-box;\n }\n .fr_response_field textarea,\n .fr_response_field input[type=\"text\"],\n .fr_response_field select {\n font-size: 16px;\n padding-top: 12px;\n padding-bottom: 12px;\n padding-left: 18px;\n padding-right: 18px;\n transition: box-shadow .25s ease;\n border: 1px solid #dcdcdc;\n border-radius: 3px;\n font-family: \"Ringside Regular SSm\",\"Verdana\",sans-serif;\n font-weight: 400;\n line-height: 1.4rem;\n width: 100%;\n }\n .fr_response_field textarea:focus,\n .fr_response_field input:focus,\n .fr_response_field select:focus {\n padding-top: 11px;\n padding-bottom: 11px;\n padding-left: 17px;\n padding-right: 17px;\n border-color: #1a6aff;\n border-width: 2px;\n outline: none;\n }\n .fr_response_field select {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: 1px solid #222222;\n padding-right: 48px;\n position: relative;\n background: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24px' height='24px' viewBox='0 0 24 24' version='1.1'%3E%3Ctitle%3EDown Arrow%3C/title%3E%3Cpolygon points='7.41 8.59 12 13.17 16.59 8.59 18 10 12 16 6 10'%3E%3C/polygon%3E%3C/svg%3E\") no-repeat right #fff;\n background-position-x: 98%;\n }\n .fr_response_field input[type=\"radio\"] {\n appearance: radio;\n margin: 3px 3px 5px 5px;\n }\n .fr_response_field input[type=\"checkbox\"] {\n appearance: checkbox;\n margin: 3px 3px 5px 4px;\n }\n ",document.body.appendChild(e)})()},G=(e,t,n)=>{const r=setInterval((()=>{Object(c.e)(e,"")&&(t(),clearInterval(r))}),n)},Y=e=>{Object(o.b)([{key:"innerHTML",value:e}],o.a.High)},W=(e,t=!1,n)=>{const r=(null==e?void 0:e.match(g))||[];if(null==r?void 0:r.length){const e=r.filter((e=>j.test(e))),i=r.filter((e=>!j.test(e)));(null==e?void 0:e.length)&&e.forEach(((t,n)=>{const r=((null==j?void 0:j.exec(t))||[])[1].replace(/https:|http:/g,"");Object(o.b)([{key:"src",value:r},{key:"data-type",value:"raw_html"}],o.a.High,(()=>z(e,i,n,r)))})),0===e.length&&i.length>0&&i.forEach((e=>{const r=/]*>([\s\S]*?)<\/script>/gm.exec(e)||[],i=r[1];!e.includes("document.write")&&r.length>0&&(t&&i.indexOf("PMNdataLayer")>-1&&!n?G("PMNdataLayer.0.analytics.user.state",(()=>Y(i)),500):t&&i.indexOf("loginService")>-1&&!n?G("services.loginService.user.state",(()=>Y(i)),500):Y(i))}))}e.indexOf("youtube.com")>-1&&Object(o.b)([{key:"src",value:"/pf/resources/vendor/video-watch-time.js"}],o.a.High)},Z=(e,t)=>{var n;const r=((null==e||null===(n=e.credits)||void 0===n?void 0:n.by)||[]).filter((e=>e));if(r&&r.length>0){const n=r.map((e=>(null==e?void 0:e.name)?e:(null==e?void 0:e._id)?t(e._id):(null==e?void 0:e.org)&&!e.name?h({},e,{name:e.org}):{})).filter((e=>e)).map((e=>({_id:e._id,name:e.byline||e.name||`${e.firstName} ${e.lastName}`,type:e.type})));if(n.length)return h({},e,{credits:h({},e.credits,{by:n})})}return h({},e)},K=e=>e===a.n,J=e=>"flexible"===(null==e?void 0:e.toLowerCase()),X=(e,t)=>K(e)&&"disable"!==(null==t?void 0:t.toLowerCase())||"enable"===(null==t?void 0:t.toLowerCase())||J(t),Q=e=>{const t=null==e?void 0:e.content;return-1===(null==t?void 0:t.indexOf('
'))&&new RegExp(/id="([^"]*)/i).test(t)},ee=e=>e&&new Date(null==e?void 0:e.publish_date)>=new Date("2022-03-01")&&!Object(d.G)(null==e?void 0:e.type)&&!Object(d.u)(null==e?void 0:e.type)||!1,te=(e,t,n)=>{const r=[100,90,80,70,60,50,40,30,20,10].find((t=>e>=t));(r||0)>t&&n(r||0)},ne=e=>{var t;(null===(t=window)||void 0===t?void 0:t.PMNdataLayer)&&window.PMNdataLayer.push({event:"inq2-scroll-milestone",milestone:`${e}%`})},re=e=>null==e?void 0:e.split(" ").map(((t,n)=>`${n>=(null==e?void 0:e.length)-2?" ":" "}${t}`)).join(""),ie=e=>{if(!e)return"text-white";return["#ffcc55","#fe93bd","#21d278","#dcdcdc","#f4f1eb","#65ccff"].includes(e)?"text-black":"text-white"},oe=e=>{switch(null==e?void 0:e.toLowerCase()){case"ringside":return"font-ringside-regular";case"tungsten":return"font-tungsten";case"knockout":default:return"font-knockout";case"alpina":return"font-alpina"}},ae=e=>new Date((null==e?void 0:e.first_publish_date)||(null==e?void 0:e.display_date)||(null==e?void 0:e.created_date)||(null==e?void 0:e.last_updated_date)),le=e=>{var t,n;const r=ae(e).getTime()>=new Date(2025,7,1).getTime();return(null==e||null===(t=e.headlines)||void 0===t?void 0:t[r?"native":"print"])||(null==e||null===(n=e.headlines)||void 0===n?void 0:n.basic)||""},se=e=>{const t=new Date(2020,3,4),n=ae(e),r=t.valueOf()0&&"raw_html"===e.content_elements[0].type?2:e.content_elements.length>0&&"image"===e.content_elements[0].type?1:0},ce=e=>{var t,n,r;if(!O(null==e?void 0:e.subtype))return(null==e||null===(r=e.promo_items)||void 0===r?void 0:r.basic)||null;let i;switch(se(e)){case 1:i=null==e||null===(t=e.content_elements)||void 0===t?void 0:t[0];break;case 4:i=null==e||null===(n=e.promo_items)||void 0===n?void 0:n.longform;break;default:i=null}return i},ue=e=>e.replace(/<(\/?)a(.*?)>/g,"").replace(/&/g,"&"),de=e=>{const t=null==e?void 0:e.content,n=t.includes("0===t&&"list"===e.type,me=e=>{var t,n;return"text"===(null==e||null===(t=e[0])||void 0===t?void 0:t.type)&&"// Pinned"===(null==e||null===(n=e[0])||void 0===n?void 0:n.content)},fe=e=>{var t;if(!e)return;return{liveBlogName:null===(t=e.find((e=>{var t;return null==e||null===(t=e.content)||void 0===t?void 0:t.startsWith(a.h)})))||void 0===t?void 0:t.content.replace(`${a.h} `,""),relatedLinks:e.filter((e=>{var t;return null==e||null===(t=e.content)||void 0===t?void 0:t.startsWith(a.i)})).map((e=>{const[t,n]=e.content.replace(a.i,"").split("URL:");return{title:t.trim(),url:n.trim()}}))}},be=(e,t)=>{let n=[],r=0;const i=[];let o=[];return e.forEach(((a,l)=>{(e=>"divider"===e.type)(a)||e.length-1===l?(e.length-1===l&&e.length>1&&n.push(a),n.length>0&&(t&&me(n)?i.unshift(n):t&&(e=>!!(null==e?void 0:e.find((e=>"text"===(null==e?void 0:e.type)&&"// Interactive_HTML"===(null==e?void 0:e.content)))))(n)?o=n:i.push(n)),r++,n=[]):pe(a,l)||n.push(a)})),t&&!me(null==i?void 0:i[0])&&i.unshift([]),{liveblogElement:i,paragraphCounter:r,interactiveHtmlCard:o}},he=e=>{var t,n,r,i,o;const a=(null==e||null===(t=e._id)||void 0===t?void 0:t.slice(1).split("/"))||[];if((null==a?void 0:a.length)<2)return[];const l=(null==e||null===(n=e.additional_properties)||void 0===n||null===(r=n.original)||void 0===r||null===(i=r.ancestors)||void 0===i?void 0:i.default)||[],s=null==l||null===(o=l.filter((e=>"/"!==e)))||void 0===o?void 0:o.map((e=>{var t;return{_id:e,name:Object(p.a)((null==e||null===(t=e.split("/"))||void 0===t?void 0:t.pop())||"")}}));return s.push({_id:null==e?void 0:e._id,name:Object(p.a)((null==a?void 0:a.pop())||"")}),(null==s?void 0:s.length)>1?s:[]},ve=e=>/\/(eagles|phillies|flyers|sixers)(\/|)/g.test(e),ge=e=>{const t=e.map((e=>{var t,n;return(null==e||null===(t=e.additional_properties)||void 0===t||null===(n=t.original)||void 0===n?void 0:n.byline)||(null==e?void 0:e.byline)||(null==e?void 0:e.name)||""}));return t.length<=1?t.join():`${t.slice(0,-1).join(", ")} and ${t.slice(-1)}`};function je(e,t=!1){if(t){var n;const t=e.find((e=>{var t;return"text"===(null==e?void 0:e.type)&&(null==e||null===(t=e.content)||void 0===t?void 0:t.startsWith("// Timestamp",0))}));return(null==t||null===(n=t._id)||void 0===n?void 0:n.replace("k_generated_","card-"))||null}const r=Object(d.c)(e,!0);return r&&r.length>0&&r[0].url?r[0].url.replace("/",""):null}const ye=({isLiveEventArticle:e,isLiveblogArticleV2:t,isLongformV2:n,alignment:r,groupType:i})=>{const o=["sm:mx-auto"];return n?(e=>{const t=[];return e===m.a.SINGLE_ASSETS_SIDE_GROUP?t.push("sm:mx-0 lg:mx-5 lg:max-w-[600px] lg:w-[50%] lg:ml-0 mb-6 lg:mb-0"):e.includes("single-assets-group")?t.push("lg:max-w-[300px] w-full"):e===m.a.SINGLE_ASSETS?t.push("-mx-4 md:mx-0 md:w-full w-screen"):t.push("w-full"),t.join(" ")})(i||m.a.SINGLE):(e?o.push("mx-0"):t?o.push("-mx-4"):o.push("-mx-5"),"left"===r?o.push("sm:max-w-[300px]"):"center"===r&&o.push("pb-5"),o.join(" "))},xe=e=>{var t,n,r,i,o;const a=(null==e||null===(t=e.liveblog_cards)||void 0===t?void 0:t.paragraphCounter)||0,l=pe((null==e||null===(n=e.content_elements)||void 0===n?void 0:n[0])||{type:""},0);return a>=4&&l&&(null==e||null===(r=e.content_elements)||void 0===r||null===(i=r[0])||void 0===i||null===(o=i.items)||void 0===o?void 0:o.length)>1},Oe=e=>null==e?void 0:e.find((e=>"raw_html"===(null==e?void 0:e.type))),we=e=>{var t,n,r;const i=["/sixers","/eagles","/phillies","/flyers","/soccer"],o=null==e||null===(t=e.taxonomy)||void 0===t||null===(n=t.sections)||void 0===n||null===(r=n.filter((e=>i.includes(e._id))))||void 0===r?void 0:r[0];return(null==o?void 0:o._id)||""},_e=e=>(e.first_publish_date||"").slice(0,10).replace(/-/g,""),Ce=e=>{const t=(e=>{var t;return null==e||null===(t=e.corrections)||void 0===t?void 0:t.filter((e=>"clarification"===(null==e?void 0:e.correction_type)))})(e);return null==t?void 0:t.some((e=>"no-scoreboard"===(null==e?void 0:e.text)))},ke={"/phillies":{league:"mlb",sport:"baseball",statsTeamId:246},"/sixers":{league:"nba",sport:"basketball",statsTeamId:20},"/eagles":{league:"nfl",sport:"football",statsTeamId:354},"/flyers":{league:"nhl",sport:"hockey",statsTeamId:4968},"/soccer":{league:"mls",sport:"soccer",statsTeamId:20289}},Se=e=>e.indexOf("includeTopper=true")>-1,Ne=(e,t)=>Object(p.b)(e)&&(null==t?void 0:t.indexOf("isHybrid=true"))>-1,Le=(e,t="bg")=>{if(!e)return"";switch(e){case"#ffffff":return`${t}-white`;case"#595760":return`${t}-secondary`;case"#c4c4c4":return`${t}-silversand`;case"#222222":return`${t}-primary`;default:return`${t}-[${e}]`}},Ee=e=>["#f2c657","#c4c4c4","#ffffff"].includes(e)?"text-primary":"text-white",Pe=(e,t,n,r)=>{const i=["font-inquirer-headline antialiased",t||"font-bold",r||(n?Ee(n):"text-primary")];switch(e){case"h1":i.push("text-10","leading-10","sm:!text-13","sm:!leading-16","lg:!text-16","lg:!leading-18");break;case"h2":i.push("text-9","leading-9","sm:text-10","sm:leading-10","lg:!text-13","lg:!leading-13");break;case"h3":i.push("text-8","leading-8","sm:text-9","sm:leading-9","lg:text-10","lg:leading-10");break;case"h4":i.push("text-6","leading-6","sm:text-8","sm:leading-8","lg:text-9","lg:leading-9");break;case"h5":i.push("text-5","leading-5","sm:text-6","sm:leading-6","lg:text-8","lg:leading-8");break;case"h6":i.push("text-5","leading-[26px]","sm:text-6","sm:leading-8");break;default:return""}return i.join(" ")},Te=e=>(e?"(min-width: 1440px) 1920px, (min-width: 1040px) 1280px":"(min-width: 1040px) 1024px")+", (min-width: 768px) 800px, calc(94.44vw - 15px)",Me=(e,t)=>"text"===(null==e?void 0:e.type)&&"center"===(null==e?void 0:e.alignment)&&"divider"===(null==t?void 0:t.type),Ae=e=>{var t;return null==e||null===(t=e.filter(((t,n)=>Me(t,null==e?void 0:e[n+1]))))||void 0===t?void 0:t.splice(0,3)},Ie=(e,t,n)=>{const r=(e,n)=>{var r,i;return"center"===(null==e?void 0:e.alignment)&&(null==e?void 0:e._id)===(null==t||null===(r=t[n])||void 0===r?void 0:r._id)&&(null==e?void 0:e.content)===(null==t||null===(i=t[n])||void 0===i?void 0:i.content)},i=null==e?void 0:e.findIndex((e=>r(e,n))),o=null==e?void 0:e.findIndex((e=>n!==(null==t?void 0:t.length)-1&&r(e,n+1)));return null==e?void 0:e.filter(((e,t)=>t>i+1&&(tObject(d.z)(e)&&"on"===(null==t?void 0:t.toLowerCase()),Re=/((https:)?\/\/(?:www\.|)inquirer\.com\/[a-zA-Z0-9-_\/]+\.html)(\?.+?)(?=")/gm,$e=(e="")=>{const t=e.match(Re);if(!t)return e;let n=e;return t.forEach((e=>{n=n.replace(e,e.substring(0,e.indexOf("?")))})),n},qe=e=>{return"header"===e.type?h({},e,{content:$e(e.content)}):"list"===e.type?h({},e,{items:null==e||null===(t=e.items)||void 0===t?void 0:t.map((e=>qe(h({},e,{content:$e(e.content)}))))}):h({},e);var t},Be=e=>{var t;return Re.test(`${e}"`)?null===(t=e.split("?"))||void 0===t?void 0:t[0]:e},Fe=(e,t)=>{const{design:n="SIMPLE",position:r="OFF",frequency:i="OFF"}=t||{},o={type:"inline_newsletter",inlineNewslettersDesign:n,inlineNewslettersFrequency:i};if("OFF"===r)return e;if("MIDDLE"===r||"BOTTOM"===r){const t="BOTTOM"===r?null==e?void 0:e.length:Math.floor((null==e?void 0:e.length)/2)||-1;return-1===t?e:[...e.slice(0,t),h({},e[t],{},o),...e.slice(t)]}return e},Ve=(e,t)=>{const{content_elements:n,distributor:r,taxonomy:i,credits:o,headlines:a,canonical_url:p,description:m}=e,{src:b,width:h,height:v}=(e=>{var t;const n=new RegExp(/(?!\/)\d+x\d+(?=\/)/gi),r=null==e||null===(t=e.promo_items)||void 0===t?void 0:t.basic;if((null==r?void 0:r.imgSrcSet)&&n.test(null==r?void 0:r.imgSrcSet)){const e=((null==r?void 0:r.imgSrcSet)||"").match(n);if(e){const[t,n]=e[0].split("x");return{src:r.imgSrcSet.split(",")[0].split(" ")[0],width:parseInt(t,10),height:parseInt(n,10)}}}return{src:Object(l.c)()+"/resizer/_mMWDlY5tyNB8_fDmmbqUOR3y_4=/1200x0/center/middle/www.inquirer.com/resources/images/default-img.jpg",width:1200,height:800}})(e),g=Object(s.b)((e=>{const t=(e.by||[]).map((e=>{var t,n;return((null==e||null===(t=e.additional_properties)||void 0===t||null===(n=t.original)||void 0===n?void 0:n.byline)||(null==e?void 0:e.name)||"").trim()})).filter((e=>e.length>0));return t.length<1?((null==t?void 0:t[0])||"").trim():[t.slice(0,-1).join(", "),t.slice(-1)].filter((e=>(null==e?void 0:e.length)>0)).join(" and ")})(o)),j=Object(s.b)((null==a?void 0:a.basic)||""),y=Object(d.r)((null==i?void 0:i.tags)||[],"freestory","freestory")||Object(d.F)((null==r?void 0:r.name)||""),{liveblogElement:x}=be(n,!0),O=Object(c.m)((e=>e.filter((e=>(null==e?void 0:e.length)>0)).map((e=>{var n,r;const i=Object(s.b)((null===(n=e.filter((e=>"header"===(null==e?void 0:e.type))))||void 0===n||null===(r=n[0])||void 0===r?void 0:r.content)||""),o=`${Object(l.c)()}${p}/${je(e,t)}`,a=e.reduce(((e,t)=>{var n;return(null===(n=t.content)||void 0===n?void 0:n.trim().startsWith("// Timestamp"))?Object(u.f)(t.content,"UTC",void 0,!0):e}),""),c="// Pinned ",d=e.reduce(((e,t)=>{var n;return"header"===t.type||"text"!==t.type||(null===(n=t.content)||void 0===n?void 0:n.trim().startsWith("// Timestamp"))?e:e+" "+t.content}),"").replace(/<\/?[^>]+(>|$)/g,"").trim();return{"@type":"BlogPosting",headline:i,url:o,articleBody:d.includes(c)?d.replace(c,""):d,datePublished:a,publisher:{"@id":f.b,name:"The Philadelphia Inquirer"},mainEntityOfPage:o,dateModified:a}})))(x),"dateModified").reverse(),w=O.map((e=>e.datePublished)).filter(Boolean),_=w.reduce(((e,t)=>new Date(t)new Date(t)>new Date(e)?t:e),w[0]||"");return JSON.stringify({"@context":"http://schema.org","@type":"LiveBlogPosting",image:{"@type":"ImageObject",url:b,height:v,width:h},author:[{"@type":"Person",name:g}],headline:j,description:Object(s.b)((null==m?void 0:m.basic)||""),about:j,dateModified:C,coverageStartTime:_,liveBlogUpdate:O,isAccessibleForFree:y,coverageEndTime:C,url:`${Object(l.c)()}${p}`,copyrightHolder:"The Philadelphia Inquirer",sourceOrganization:"The Philadelphia Inquirer",alternativeHeadline:(null==a?void 0:a.meta_title)||j,datePublished:_,mainEntityOfPage:`${Object(l.c)()}${p}`,publisher:{"@id":f.b,name:"The Philadelphia Inquirer"},hasPart:{"@type":"WebPageElement",isAccessibleForFree:y}},null,2)},He=(e="")=>"klein_michael"===e,Ue=e=>{var t,n,r,i,o,a,l;const s=null===(t=e.taxonomy)||void 0===t||null===(n=t.primary_site)||void 0===n||null===(r=n.additional_properties)||void 0===r||null===(i=r.original)||void 0===i||null===(o=i.card_display)||void 0===o?void 0:o.card_eyebrow_logo;return s&&(null==e||null===(a=e.taxonomy)||void 0===a?void 0:a.primary_site)&&(e.taxonomy.primary_site.icon=s),e.bylines={authors:Object(d.h)(e),timestamp:Object(d.k)(e),section:Object(d.j)(e),organization:Object(d.i)(e)},Object(d.G)(e.type)&&!(null===(l=e.promo_items)||void 0===l?void 0:l.video)&&(e.promo_items=h({},e.promo_items,{video:e})),h({},e)},ze=(e="subtype-live",t=!1)=>{var n,r;null===(n=window)||void 0===n||null===(r=n.PMNdataLayer)||void 0===r||r.push({event:"ga-generic-event",interactionType:"click",interactionDetail:e,userInteraction:t?"show-more_deet_box":"show-more"})},Ge=(e,t)=>{var n,r;return null===(n=((null==e||null===(r=e.taxonomy)||void 0===r?void 0:r.sections)||[]).length?e.taxonomy.sections:[])||void 0===n?void 0:n.some((({_id:e,parent_id:n,path:r,parent:i})=>[e,n,r,null==i?void 0:i.default].includes(`/${null==t?void 0:t.toLowerCase()}`)))},Ye=(e,t)=>{var n,r;return!(!(t&&new Date("2025-11-06 00:00:00")"subtype-live"===e,u=e=>"video"===e,d=e=>e===s.a.SWIPEABLE,p=e=>e===s.a.PHILLY_FIRST,m=e=>e===s.a.LIVE_EVENT,f=e=>e===s.a.REGULAR,b=e=>e===s.a.COLUMNIST,h=e=>e===s.a.WORDPRESS,v=e=>/\/(sports|eagles|phillies|flyers|sixers)(\/|)/g.test(e),g=e=>new RegExp(/^\/\/\sTimestamp\s[\d+]{1,2}\/[\d+]{1,2}(\/[\d+]{1,2})?\s[\d+]{1,2}:[\d+]{1,2}(AM|am|PM|pm)/g).test(e.trim()),j=async(e,t)=>{const n=JSON.stringify({canonical_url:e}),r=await i.a.get("/pf/api/v3/content/fetch/content-api-light-nocache",{params:{query:n,timeToken:Date.now(),d:t}});return null==r?void 0:r.data},y=(e,t,n)=>{var r;const i=null==e?void 0:e.filter((e=>"text"===e.type&&e.content&&e.content.startsWith("// Timestamp",0)));let o="";var l,s;i.length>0&&g(null===(r=i[0])||void 0===r?void 0:r.content)&&(o=Object(a.f)(null===(l=i[0])||void 0===l?void 0:l.content,"aptime-liveblog",null==t?void 0:t.slice(0,4)),n&&(o=Object(a.f)(null===(s=i[0])||void 0===s?void 0:s.content,"UTC",null==t?void 0:t.slice(0,4),!0)));return o},x=(e,t)=>t?t.parseFromString(e,"text/html").body.textContent:(new DOMParser).parseFromString(e,"text/html").body.textContent,O=(e,t)=>{const n=(null==t?void 0:t.first_publish_date)||(null==t?void 0:t.last_updated_date);return!(!e||!n)&&new Date(n)>new Date(e)},w=(e,t,n,r,i)=>{const o=[],l="undefined"==typeof window;let s,c={};return!1===l&&(s=new DOMParser),e?(e.forEach((e=>{if("header"===e.type)Object.assign(c,{header:l?(p=e.content,p.replace(/<[^>]*>?/gm,"")):x(e.content,s)});else if("text"===e.type&&e.content.startsWith("// Timestamp",0)){let o,l=e.content,s="",p=0;g(e.content)&&(l=Object(a.f)(e.content,"UTC"),s=Object(a.f)(e.content,"",r));for(let e=0;e{var n,r,i;return null==e||null===(n=e.credits)||void 0===n||null===(r=n.by)||void 0===r||null===(i=r.map((e=>Object(o.getAuthorName)(e))))||void 0===i?void 0:i.join(t)},C=(e,t)=>(null==e?void 0:e.filter((e=>{var n;return null==e||null===(n=e._id)||void 0===n?void 0:n.includes(t)})).length)>0,k=e=>C(e,"/opinion")||C(e,"/expert-opinions"),S=(e,t)=>C(e,"/philly-first")&&"subtype-phillyfirst"===t,N=e=>C(e,"/columnists"),L=e=>C(e,"/editorials"),E=(e,t,n)=>k(e)||N(e)||L(e)||!0===t&&(e=>C(e,"/sports/betting")||C(e,"/casino"))(e)&&!((e,t)=>e.filter((e=>e===t||`${e}/`===t)).length>0)(["/sports/betting","/casino"],n||""),P=e=>"The Action Network"===e,T=e=>"gallery"===e,M=e=>-1!==e.findIndex((e=>"no_author"===e._id)),A=e=>{var t,n;const r=(null===(t=e.taxonomy)||void 0===t?void 0:t.sections)||[],i=(null===(n=e.credits)||void 0===n?void 0:n.by)||[];return N(r)&&!L(r)&&(i.length>0&&!M(i)||i.length>1&&M(i))?"Columnist":""},I=e=>{const t=(null==e?void 0:e.first_publish_date)||"",n=(null==e?void 0:e.display_date)||"",r=(null==e?void 0:e.type)||"";return Object(a.h)(t,n,"minute")||Object(a.g)(n,t,"minute")?{time:t,isUpdated:!1}:T(r)?{time:n,isUpdated:!0}:{time:t,updatedTime:n,isUpdated:!0}},D=e=>{var t,n,r,i;const o=((null==e||null===(t=e.distributor)||void 0===t?void 0:t.category)||"").trim().toLocaleLowerCase();let a=(null==e||null===(n=e.distributor)||void 0===n?void 0:n.name)||"";if(!a){var l;const t=((null==e||null===(l=e.source)||void 0===l?void 0:l.source_type)||"").trim().toLowerCase();var s;if("staff"!==t&&"freelance"!==t)a=null==e||null===(s=e.source)||void 0===s?void 0:s.name}return P(a||(null==e||null===(r=e.source)||void 0===r?void 0:r.name))?"Action Network":"staff"===o||"Philly First"===(a||(null==e||null===(i=e.source)||void 0===i?void 0:i.name))||"external or unknown"===(a||"").trim().toLowerCase()?"":"freelance"===o?"For The Inquirer":(a||"").trim()},R=e=>{const t=(null==e?void 0:e.url)||"";return t?(t.startsWith("www")?"https://":"")+t:""},$=e=>{var t,n;let r=(null==e||null===(t=e.credits)||void 0===t?void 0:t.by)||[];const i=D(e);if(!L((null===(n=e.taxonomy)||void 0===n?void 0:n.sections)||[]))return i?r.map((e=>{var t,n;const r=(null==e?void 0:e.name)||"",o=(null===(t=r.split(","))||void 0===t||null===(n=t.pop())||void 0===n?void 0:n.trim())||"";return(r.includes(i)||i.includes(o))&&(e.name=r.replace(/,[^,]+$/,"")),e.url=R(e),e})):r.map((e=>{var t,n;(null==e?void 0:e.name)&&(e.name=(null==e||null===(t=e.name)||void 0===t?void 0:t.match(//i))?e.name.split(",")[0]:e.name,e.name=null==e||null===(n=e.name)||void 0===n?void 0:n.replace(/by+\s/i,""));return e.url=R(e),e}));{var o;const t=((null===(o=e.taxonomy)||void 0===o?void 0:o.sections)||[]).filter((e=>"/opinion/editorials"===e._id));var a,s,c;if(t.length)r=[{name:"The Editorial Board",url:`${Object(l.c)()}${t[0]._id}`,image:{url:(null===(a=t[0])||void 0===a||null===(s=a.additional_properties)||void 0===s||null===(c=s.original.card_display)||void 0===c?void 0:c.card_eyebrow_logo)||""}}];else r=[{name:"The Editorial Board",url:`${Object(l.c)()}/opinion/editorials`}]}return r},q=e=>({authors:$(e),timestamp:I(e),section:A(e),organization:D(e)}),B=(e,t=!1)=>{var n,r,i;const o=(null==e||null===(n=e.taxonomy)||void 0===n?void 0:n.sections)||[],a=null==e?void 0:e.subtype;let l="standard-story-card";return c(a)?l="liveblog-card":L(o)?l="editorial-story-card":N(o)?l="columnist-story-card":k(o)?l="opinion-story-card":(null==e||null===(r=e.promo_items)||void 0===r||null===(i=r.basic)||void 0===i?void 0:i.url)?u(null==e?void 0:e.type)&&!t&&(l="video-card"):l="standard-story-no-image-card",l},F=e=>(null==e?void 0:e.primary_section)?e.primary_section:null==e?void 0:e.primary_site,V=e=>{const t=[],n=F(e);if(!n)return t;t.push((null==n?void 0:n.name)||"");const r=(n._id||"").split("/");return t.concat(r).filter((e=>e))},H=e=>$(e).map((e=>e.name)).join(" | "),U=e=>{var t,n,r,i;if(e.credit)return e.credit;const o=((null===(t=e.credits)||void 0===t?void 0:t.by)||[]).map((e=>{var t,n;return(null===(t=e.additional_properties)||void 0===t||null===(n=t.original)||void 0===n?void 0:n.byline)||e.byline||e.name})),a=(null===(n=e.credits)||void 0===n||null===(r=n.affiliation)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.name)||"";return`${o.filter(((e,t,n)=>n.indexOf(e)===t)).join(", ")}${o.length>0&&a?" / ":""}${a}`},z=(e,t)=>e&&e.basic?!e.print||"liveblog"!==t&&"longform"!==t?e.tablet&&"social_share"===t?e.tablet:e.web&&"card"===t?e.web:e.meta_title&&"meta"===t?e.meta_title:e.basic:e.print:"",G=(e,t,n)=>e.filter((e=>((null==e?void 0:e.slug)||"").toLowerCase()===t||((null==e?void 0:e.text)?((null==e?void 0:e.text)||"").toLowerCase()===n:""))).length>0,Y=(e,t)=>f(e)&&"/food/recipes"!==t||b(e),W=(e,t)=>{var n;const r=F((null==e?void 0:e.taxonomy)||{});return null==r||null===(n=r._id)||void 0===n?void 0:n.includes(t)},Z=e=>{var t;const n=e?JSON.parse(e):null;return(null==n||null===(t=n.enclosure)||void 0===t?void 0:t.url)||(null==n?void 0:n.AudioUrl)||""},K=e=>!["inquirer.com","localhost.arcpublishing.com"].some((t=>e.includes(t)))},,function(e,t){e.exports=n},function(e,t,n){"use strict";n.d(t,"h",(function(){return i})),n.d(t,"n",(function(){return o})),n.d(t,"l",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d})),n.d(t,"i",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"j",(function(){return f})),n.d(t,"k",(function(){return b})),n.d(t,"m",(function(){return h})),n.d(t,"b",(function(){return v}));var r=n(12);const i=e=>null==e||0===e.length,o=e=>e.replace(/\W+/g," ").split(/ |\B(?=[A-Z])/).map((e=>e.toLowerCase())).join("_"),a=(e="")=>e.replace(/\W+/g," ").trim().split(/ |\B(?=[A-Z])/).map((e=>e.toLowerCase())).join("-"),l=(e="")=>{var t,n;const r=null==e||null===(t=e.replace("/",""))||void 0===t||null===(n=t.replace("-"," "))||void 0===n?void 0:n.split(" ");return r.length>0?r.map((e=>{var t;return`${null==e||null===(t=e.charAt(0))||void 0===t?void 0:t.toUpperCase()}${null==e?void 0:e.slice(1)}`})).join(" "):e},s=()=>{var e;return"undefined"!=typeof window&&(null===(e=window)||void 0===e?void 0:e.innerWidth){var e,t;return"undefined"!=typeof window&&((null===(e=window)||void 0===e?void 0:e.innerWidth)>=r.n&&(null===(t=window)||void 0===t?void 0:t.innerWidth)<=r.v)},u=()=>{var e;return"undefined"!=typeof window&&(null===(e=window)||void 0===e?void 0:e.innerWidth)>r.v},d=()=>{var e;return"undefined"!=typeof window&&(null===(e=window)||void 0===e?void 0:e.innerWidth)null==e||0===Object.keys(e).length,m=e=>e.includes("/checkout")||e.includes("/subscribe"),f=()=>{var e,t,n,r;return 1===(null===(e=window)||void 0===e||null===(t=e.services)||void 0===t||null===(n=t.loginService)||void 0===n||null===(r=n.user)||void 0===r?void 0:r.hasAdsFreeReading)||!1},b=e=>"true"===e("isPremium")||!1,h=(e,t)=>{try{return JSON.parse(e||"")}catch{return t}},v=e=>"app-web-view"===e},function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return l})),n.d(t,"g",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"f",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"j",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return f}));var r=n(22),i=n(12);const o=(e="fusion")=>{switch(r.ENV){case"local":case"dev":return`https://dev.${e}.inquirer.com`;case"sandbox":return`https://stage.${e}.inquirer.com`;default:return i.b}},a=(e,t)=>{var n;let r="";if(t)r=new URL(`${o()}${t}`).search;else if("undefined"!=typeof window){var i,a;r=null===(i=window)||void 0===i||null===(a=i.location)||void 0===a?void 0:a.search}return null===(n=new URLSearchParams(r))||void 0===n?void 0:n.get(e)},l=()=>{var e,t,n;return(null===(e=window)||void 0===e||null===(t=e.location)||void 0===t||null===(n=t.pathname)||void 0===n?void 0:n.slice(1))||"home"},s=()=>"prod"===r.ENV,c=(e,t)=>""!==t&&void 0!==t&&e("pagetype")===t,u=e=>c(e,"homepage")||!1,d=e=>c(e,"sports")||!1,p=e=>c(e,"vertical-player-carousel")||!1,m=e=>{const t=[],n=e.indexOf("?"),r=(-1!==n?e.substring(n+1):e).split("&");for(let e=0;e`${o()}${e}`},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return u})),n.d(t,"s",(function(){return p})),n.d(t,"x",(function(){return o})),n.d(t,"z",(function(){return m})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"h",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"t",(function(){return f})),n.d(t,"g",(function(){return b})),n.d(t,"r",(function(){return h})),n.d(t,"q",(function(){return v})),n.d(t,"j",(function(){return g})),n.d(t,"l",(function(){return j})),n.d(t,"n",(function(){return y})),n.d(t,"u",(function(){return x})),n.d(t,"v",(function(){return O})),n.d(t,"w",(function(){return w})),n.d(t,"k",(function(){return _})),n.d(t,"i",(function(){return C})),n.d(t,"o",(function(){return k})),n.d(t,"A",(function(){return S})),n.d(t,"p",(function(){return N})),n.d(t,"y",(function(){return L})),n.d(t,"m",(function(){return E}));var r=n(10);const i="content-api-v2",o="tag-feed",a="first_publish_date:desc",l="/news,/sports,/politics,/business,/health,/entertainment,/food,/real-estate,/opinion",s=5,c=0,u="collections-api",d="collections-api-v2",p="section-feed",m="topic-feed",f="section-feed-v2",b="/zzz-systest",h="PMN_p3pp3r-#216",v="restaurant-maps",g="food-front-chain",j="global/HTMLBox",y="global/OurWriters",x="sports-front-chain",O="sports-front-chain-ab-test",w="global/StoryCardV2",_="global/HeadlineListV2",C=20,k={leftLabel:"Newer",rightLabel:"Older"},S="packages/WeekendPackage",N=`${Object(r.c)()}/privacy-policy/`,L=`${Object(r.c)()}/about/terms_and_conditions/`,E=/\/columnists$|^\/opinion(\/|$)|\/expert-opinions$/},function(e,t,n){"use strict";n.d(t,"u",(function(){return r})),n.d(t,"l",(function(){return i})),n.d(t,"k",(function(){return o})),n.d(t,"t",(function(){return a})),n.d(t,"v",(function(){return l})),n.d(t,"n",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"s",(function(){return u})),n.d(t,"r",(function(){return d})),n.d(t,"o",(function(){return p})),n.d(t,"q",(function(){return m})),n.d(t,"c",(function(){return f})),n.d(t,"g",(function(){return b})),n.d(t,"p",(function(){return h})),n.d(t,"j",(function(){return v})),n.d(t,"f",(function(){return g})),n.d(t,"a",(function(){return j})),n.d(t,"i",(function(){return y})),n.d(t,"h",(function(){return x})),n.d(t,"e",(function(){return O})),n.d(t,"m",(function(){return w})),n.d(t,"b",(function(){return _}));const r="/sports/betting",i="isSportsAppbar",o="isFoodAppbar",a=1280,l=1023,s=480,c=["location","cuisine","price"],u={$:"(Under $50)",$$:"($50-$100)",$$$:"($100-$200)",$$$$:"(Over $200)"},d="/food/restaurant-finder-philadelphia",p="picks",m="reservations",f="What are you in the mood for?",b="Inquirer.com: Philadelphia local news, sports, jobs, cars, homes",h="web|onsite|checkout flow",v="web|onsite|front|Food",g="The Philadelphia Inquirer",j="https://media.inquirer.com/assets/",y="https://foodfest.inquirer.com/",x="Food Festival",O=["global/AdUnit","section/header","global/TopicHeader"],w="11/6/2025",_="https://www.inquirer.com"},,function(e,t,n){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",l="day",s="week",c="month",u="quarter",d="year",p="date",m="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()1)return e(a[0])}else{var l=t.name;y[l]=t,i=l}return!r&&i&&(j=i),i||!r&&j},_=function(e,t){if(O(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},C=g;C.l=w,C.i=O,C.w=function(e,t){return _(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function h(e){this.$L=w(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var v=h.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(C.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(f);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return C},v.isValid=function(){return!(this.$d.toString()===m)},v.isSame=function(e,t){var n=_(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return _(e){var t,n;e&&(null===(t=window)||void 0===t||null===(n=t.PMNdataLayer)||void 0===n||n.push({analytics:o({},e)}))},c=e=>e.map((e=>e.props.type.replace("/","-"))).join("|"),u=e=>{const t=null==e?void 0:e.filter((e=>"sections"===e.collection)),n=(t||[]).slice(1,t.length-1),i=[];let o=[];return(n||[]).forEach((e=>{((null==e?void 0:e.children)||[]).forEach((e=>{var t;const n=-1===r.e.indexOf((null==e?void 0:e.type)||"")?e:null;var a;e.children?(n&&i.push(n),o=null==e||null===(a=e.children)||void 0===a?void 0:a.map((e=>{var t;return null==e||null===(t=e.props)||void 0===t?void 0:t.id}))):o&&-1===o.indexOf((null==e||null===(t=e.props)||void 0===t?void 0:t.id)||"")&&n&&i.push(n)}))})),i},d=()=>{var e,t,n,r;return null===(e=window)||void 0===e||null===(t=e.PMNdataLayer)||void 0===t||null===(n=t.find((e=>{var t;return null==e||null===(t=e.analytics)||void 0===t?void 0:t.user})))||void 0===n||null===(r=n.analytics)||void 0===r?void 0:r.user},p=()=>{var e,t,n;return"undefined"==typeof window?"":null===(e=window)||void 0===e||null===(t=e.PMNdataLayer)||void 0===t||null===(n=t.find((e=>{var t;return(null==e?void 0:e.analytics)&&!(null==e||null===(t=e.analytics)||void 0===t?void 0:t.user)})))||void 0===n?void 0:n.analytics},m=e=>{var t,n,r;const i=p(),o=null==e||null===(t=e.taxonomy)||void 0===t||null===(n=t.primary_site)||void 0===n||null===(r=n._id)||void 0===r?void 0:r.split("/");let a=(null==i?void 0:i.sub_sub_section)||(null==o?void 0:o[(null==o?void 0:o.length)-1])||"";a=0===a.length||a===l||void 0===a?"null":a;let s=(null==i?void 0:i.content_id)||(null==e?void 0:e._id)||l;return s=s===l?"null":s,`web|onsite|article|${a}|${s}`},f=(e="null")=>{var t,n,r,i;const o=p(),a=(null===(t=window)||void 0===t||null===(n=t.Fusion)||void 0===n||null===(r=n.metas)||void 0===r||null===(i=r.pagetype)||void 0===i?void 0:i.value)||"";return"Newsletters"===(null==o?void 0:o.title)||"newsletters"===a?`web|onsite|admin|nl landing page|${e}`:"front"===(null==o?void 0:o.content_type)?`web|onsite|front|${(null==o?void 0:o.title)||"null"}`:`web|onsite|admin|nl signup page|${e} Sign Up`},b=(e="open")=>{var t,n;null===(t=window)||void 0===t||null===(n=t.PMNdataLayer)||void 0===n||n.push({event:"ga_generic_event",interactionType:"click",userInteraction:"hamburger menu",interactionDetail:e})},h=(e,t="regional_new_jersey")=>{var n,r;null===(n=window)||void 0===n||null===(r=n.PMNdataLayer)||void 0===r||r.push({event:"ga_generic_event",interactionType:"click",interactionDetail:e,userInteraction:t})},v=e=>{var t,n;null===(t=window)||void 0===t||null===(n=t.PMNdataLayer)||void 0===n||n.push({event:"login_initiation",login_method:e})},g=e=>{var t,n;null===(t=window)||void 0===t||null===(n=t.PMNdataLayer)||void 0===n||n.push({event:"user_login",login_attempt:e})},j=(e,t,n)=>{var r,i;null===(r=window)||void 0===r||null===(i=r.PMNdataLayer)||void 0===i||i.push(o({event:"ga_generic_event",interactionDetail:e,interactionType:t,userInteraction:"post checkout"},n))}},function(e,t){e.exports=r},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return a}));const r={LOGGED_OUT:"Logged Out",LOGGED_IN:"Logged In",SUBSCRIBED:"Subscribed"},i=[{name:"Keep reading by creating a free account or signing in.",style:"text",customClass:"info-link",icon:"information"},{name:"Sign in/Sign up",style:"fill",customClass:"auth0-log-in login-btn",path:"#",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Sign in/Sign up"}},{name:"Subscribe",style:"outline",customClass:"subscribe-btn",path:"https://www.inquirer.com/subscribe_today/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Subscribe"}},{name:"Support local news",style:"outline",customClass:"support-local-news-btn",path:"https://www.inquirer.com/donate/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Support local news"}}],o=[{name:"Support local news",style:"fill",customClass:"support-local-news-btn",path:"https://www.inquirer.com/donate/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Support local news"}},{name:"Manage account",style:"outline",customClass:"manage-acc-btn mobile",path:"https://account.inquirer.com/login?so=00D1U000000xvlm",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Manage account"}},{name:"Manage account",style:"fill",customClass:"manage-acc-btn desktop",path:"https://account.inquirer.com/login?so=00D1U000000xvlm",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Manage account"}},{name:"",style:"empty",customClass:"dropdown-notify",path:"",additionalAttrs:{}},{name:"Sign out",style:"link",customClass:"logout-btn",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Sign out"},path:"#"}],a=[{name:"Subscribe",style:"fill",customClass:"subscribe-btn",path:"https://www.inquirer.com/subscribe_loggedin/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Subscribe"}},{name:"Support local news",style:"outline",customClass:"support-local-news-btn",path:"https://www.inquirer.com/donate/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Support local news"}},{name:"Subscribe",style:"fill",customClass:"manage-acc-btn desktop",path:"https://www.inquirer.com/subscribe_loggedin/",additionalAttrs:{"data-link-type":"global-nav","aria-label":"Subscribe"}},{name:"",style:"empty",customClass:"dropdown-notify",path:"",additionalAttrs:{}},{name:"Sign out",style:"link",customClass:"logout-btn",additionalAttrs:{"data-link-type":"global-nav"},path:"#"}]},,function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return d}));class r{constructor(e){this.type=void 0,this.parent=void 0,this.ancestors=void 0,this.name=void 0,this.path=void 0,this.parent_id=void 0,this.description=void 0,this._id=void 0,this.Ads=void 0,this.Analytics=void 0,this.Recirculation=void 0,this.children=void 0,this.inactive=void 0,this.site_topper=void 0,this.site=void 0,this._id=e._id,this.Ads=e.Ads,this.Analytics=e.Analytics,this.Recirculation=e.Recirculation||{},this.children=e.children,this.description=e.site&&e.site.site_description||e.name,this.inactive=e.inactive,this.name=e.name,this.parent=e.parent||{},this.ancestors=e.ancestors||{},this.parent_id=e.parent&&e.parent.default||e._id,this.path=e._id,this.site=e.site,this.type="front"}}n(60);var i=n(12);n(9);const o=e=>!(!e||0===Object.keys(e).length)&&"front"===new r(e).type,a=e=>(e||[]).filter((e=>e._id!==i.u)).map((e=>{var t;return{key:e._id||"",title:(null===(t=e.site)||void 0===t?void 0:t.site_title)||""}})),l=e=>(e||[]).map((e=>{var t;return{key:(null==e?void 0:e.url)||(null==e?void 0:e._id)||"",title:(null==e?void 0:e.display_name)||(null===(t=e.site)||void 0===t?void 0:t.site_title)||""}})),s=()=>{var e,t,n;return((null===(e=window)||void 0===e||null===(t=e.location)||void 0===t||null===(n=t.pathname)||void 0===n?void 0:n.replace(/[^A-Z0-9]+/gi," ").trim())||"").replace(/^topic\s+/,"").replace(/\b\w/g,(e=>e.toUpperCase()))},c=(e="")=>"topic"===e,u=(e=300)=>new Promise((t=>{var n;const r=null===(n=window)||void 0===n?void 0:n.setInterval((()=>{var e,n,i;const o=null===(e=window)||void 0===e||null===(n=e.services)||void 0===n||null===(i=n.loginService)||void 0===i?void 0:i.user;o&&(clearInterval(r),t(o))}),e)})),d=(e,t=300)=>{var n;let r=!1;const i=null===(n=window)||void 0===n?void 0:n.setInterval((()=>{var t,n,o;if(r)return void clearInterval(i);const a=null===(t=window)||void 0===t||null===(n=t.services)||void 0===n||null===(o=n.loginService)||void 0===o?void 0:o.user;a&&(clearInterval(i),e(a))}),t);return()=>{r=!0,clearInterval(i)}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),i=n.n(r),o=n(10);class a extends i.a.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){Object(o.g)()||console.log(e,t)}render(){return this.state.hasError?null:this.props.children}}},function(e,t){e.exports=i},function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"h",(function(){return d})),n.d(t,"g",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"f",(function(){return f})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return h}));var r=n(14),i=n.n(r),o=n(84),a=n.n(o),l=n(91),s=n.n(l);i.a.extend(a.a),i.a.extend(s.a);const c=(e,t=!1)=>t?["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][e.getDay()]:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][e.getDay()],u=(e,t=!1)=>t?["January","February","March","April","May","June","July","August","September","October","November","December"][e.getMonth()]:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][e.getMonth()],d=(e,t,n)=>i()(e).tz("America/New_York").isSame(i()(t),n),p=(e,t,n)=>i()(e).isBefore(i()(t),n),m=e=>{const t=i.a.utc(e);return i.a.tz(t,"America/New_York").format("YYYY-MM-DDTHH:mm:ssZ")},f=(e="",t,n,r)=>{const o=null==e?void 0:e.split(" ");let a="",l="",s="",c="",u="",d="am";if(o[2]&&o[2].length>0){const e=o[2].split("/");a=e[2]?`20${e[2]}`:n||"2020",l=e[0],s=e[1]}var p;o.length>=4&&o[3].length>0&&(o[3].includes(":")?(c=o[3].split(":")[0],u=o[3].split(":")[1].slice(0,2),d=o[3].split(":")[1].slice(2,4)):(c=o[3].replace(/am|pm/i,""),u="00",d=(null===(p=o[3].match(/am|pm/))||void 0===p?void 0:p[0])||""));"pm"===d&&"12"!==c&&(c=(parseInt(c,10)+12).toString());const m=new Date(`${a}/${l}/${s}, ${c}:${u}`),f=m.getTime(),b=(new Date).getTime(),h=Math.floor((b-f)/1e3);let v="",g=Math.floor(h/31536e3);if(g>=1?v="year":(g=Math.floor(h/2592e3),g>=1?v="month":(g=Math.floor(h/86400),g>=1?v="day":(g=Math.floor(h/3600),g>=1?v="hour":(g=Math.floor(h/60),g>=1?v="minute":(g=h,v=g>0?"second":"Just now"))))),(g>1||0===g)&&(v+="s"),!g)return"";if("datetime"===t)return m.toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"});if("UTC"===t)return r?i.a.tz(`${a}-${l}-${s}T${c}:${u}:00`,"America/New_York").utc().format("YYYY-MM-DDTHH:mm:ssZ"):`${a}-${l}-${s}T${c}:${u}:00Z`;if("fulldate"===t)return m.toLocaleDateString("en-US",{day:"2-digit",hour:"numeric",minute:"2-digit"}).substr(4)+", "+m.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});const j=["Just now","second","seconds","minute","minutes","hour","hours"];return"aptime"===t&&-1===j.indexOf(v)?(e=>{const t=["Jan.","Feb.","Aug.","Sept.","Oct.","Nov.","Dec."],n=[1,2,8,9,10,11,12].indexOf(parseInt(e.toLocaleDateString("en-US",{month:"numeric"}),10));return n>-1?`${t[n]} ${e.toLocaleDateString("en-US",{day:"numeric"})}, ${e.toLocaleDateString("en-US",{year:"numeric"})}`:e.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})(m):"aptime-liveblog"===t&&(-1===j.indexOf(v)||["hour","hours"].indexOf(v)>-1&&(y=m,Math.abs((new Date).getTime()-y.getTime())>432e5))?(e=>{const t=["Jan.","Feb.","March","April","May","June","July","Aug.","Sept.","Oct.","Nov.","Dec."][e.getMonth()];return`${e.toLocaleDateString("en-US",{month:"short"}).replace(/[^ ]+/,t)} ${e.toLocaleDateString("en-US",{day:"numeric"})}, ${e.toLocaleTimeString("en-US",{hour:"numeric",minute:"numeric",hour12:!0}).replace("AM","a.m.").replace("PM","p.m.")} ET`})(m):`${g>0?g:""} ${v} ${"Just now"===v?"":"ago"}`;var y},b=(e,t)=>{if(!e)return"";const n=["January","February","March","April","May","June","July","August","September","October","November","December"][("string"==typeof e?new Date(e):e).getMonth()],r=["March","April","June","July","May"].includes(n),o=i.a.utc(e),a=r?"MMMM":"MMM",l=r?"":".";let s=i.a.tz(o,"America/New_York").format(t||`${a}${l} D, YYYY[,] h:mm a`).replace("am","a.m.").replace("pm","p.m.");return"September"===n&&(s=s.replace("Sep.","Sept.")),s},h=e=>i()(e).format("[// Timestamp] MM/DD/YY hh:mma")},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));const r=Object.freeze({Low:"low",MediumLow:"med-low",Medium:"med",High:"high"}),i=(e,t)=>e.find((e=>e.key===t)),o=(e,t)=>{var n,r;let o=(null===(n=i(e,"src"))||void 0===n?void 0:n.value)||"";"/pf/"===o.substring(0,4)&&(o=(e=>{if("undefined"==typeof window||!window.Fusion)return e;const t=e.indexOf("?")>-1;return`${e}${t?"&":"?"}d=${window.Fusion.deployment}`})(o));const a=document.querySelectorAll('script[src="'+o+'"]');let l=a.length>0;if("raw_html"===(null===(r=i(e,"data-type"))||void 0===r?void 0:r.value)&&1===a.length&&(l=!1),!l){const n=document.createElement("script");o&&(n.src=o);e.filter((e=>-1===["src","data-type"].indexOf(e.key))).forEach((e=>{"innerHTML"===e.key?n.innerHTML=e.value:n.setAttribute(e.key,e.value)})),"function"==typeof t&&(n.onload=t),n.onerror=()=>{console.error("Script load with error",o)},document.body.appendChild(n)}},a=(e,t=r.Low,n)=>{if("undefined"!=typeof window){const i=()=>o(e,n);switch(t){case r.High:i();break;case r.Medium:window.addEventListener("load",(()=>{i()}));break;case r.MediumLow:window.addEventListener("load",(()=>{setTimeout((()=>{i()}),1e3)}));break;default:window.addEventListener("load",(()=>{setTimeout((()=>{i()}),4e3)}))}}}},function(e,t){e.exports=o},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nl)return 1;if(a0&&t.forEach((function(e){r.setAttribute(e.name,e.value)})),r.onload=n,document.body.appendChild(r)}};var a=n(53);t.isVideoCard=function(e){var t,n;return!(!(null===(t=null==e?void 0:e.youtube)||void 0===t?void 0:t.content)&&!(null===(n=null==e?void 0:e.video)||void 0===n?void 0:n._id))};t.isEmpty=function(e){return null==e||Array.isArray(e)&&!e.length||"object"==typeof e&&0===Object.keys(e).length||"string"==typeof e&&0===e.trim().length};var l=function(e){return e};t.debounce=function(e,t){var n;return function(){for(var r=[],i=0;i-1;return"".concat(e).concat(t?"&":"?","d=").concat(window.Fusion.deployment)}t.groupBy=function(e,t){return e.reduce((function(e,n){var r="function"==typeof t?t(n):n[t];return e.hasOwnProperty(r)||(e[r]=[]),e[r].push(n),e}),{})};t.getFusionEnv=function(){var e;return"undefined"!=typeof window&&((null===(e=window.FUSION_ENV_VARS)||void 0===e?void 0:e.env)||"sandbox")};t.getTime=function(e){if(!e)return null;var t=e/1e3,n=Math.floor(t/3600),r=Math.floor(t/60)-60*n,i=Math.floor(t%60);return(n?n+":":"")+(n&&r<10?"0"+r+":":r+":")+(i<10?"0"+i:i)};t.formatGameTime=function(e,t){var n=void 0!==e?e.toString():"0",r="00";if(void 0!==t){var i="string"==typeof t?parseInt(t,10):t;r="".concat(i<10?"0":"").concat(i)}return 0===t&&0===e?"END":"".concat(n,":").concat(r)};t.iOS=function(){return!!navigator.userAgent.match(/iPhone|iPad|iPod/i)};t.iPad=function(){return!!navigator.userAgent.match(/iPad/i)};t.checkSection=function(e){for(var t=[],n=1;n0};t.isOpinionCard=function(e){return(0,t.checkSection)(e,"/opinion","/opinion/cartoons","/opinion/commentary","/opinion/editorials","/opinion/letters","/health/expert-opinions","/columnists","/columnists/attytood","/entertainment/columnists","/news/columnists","/sports/columnists","/expert-opinions")};t.isColumnistCard=function(e){return(0,t.checkSection)(e,"/columnists")};t.isPhillyFirstCard=function(e,n){return(0,t.checkSection)(e,"/philly-first")&&"subtype-phillyfirst"===n};t.isEditorialCard=function(e){return(0,t.checkSection)(e,"/editorials")};t.isWhereToEatCard=function(e){return e.some((function(e){var t;return(null===(t=null==e?void 0:e.slug)||void 0===t?void 0:t.toLowerCase())===a.RESTAURANT_MAPS}))};t.isActionNetworkCard=function(e){return(0,t.checkSection)(e,"/sports/betting")||(0,t.checkSection)(e,"/casino")};t.isSpecialCard=function(e,n){return(0,t.isOpinionCard)(e)||(0,t.isColumnistCard)(e)||(0,t.isEditorialCard)(e)||(0,t.isWhereToEatCard)(n||[])};t.getAuthorName=function(e){var t,n;return(null===(n=null===(t=null==e?void 0:e.additional_properties)||void 0===t?void 0:t.original)||void 0===n?void 0:n.byline)||(null==e?void 0:e.byline)||(null==e?void 0:e.name)||""};t.keyBy=function(e,t){return(null==e?void 0:e.length)&&e.reduce((function(e,n){var i;return r(r({},e),((i={})[n[t]]=n,i))}),{})};t.buildComma=function(e,t){return e==t-1?t<3?" and ":", and ":", "};t.checkIsMobile=function(){return"undefined"!=typeof window&&window.innerWidth<480};t.checkIsDesktop=function(){return"undefined"!=typeof window&&(null===window||void 0===window?void 0:window.innerWidth)>1023};t.snakeCase=function(e){return e.replace(/\W+/g," ").split(/ |\B(?=[A-Z])/).map((function(e){return e.toLowerCase()})).join("_")};t.buildScriptTag=function(e){var t=document.createElement("script");return t.src=e,t.async=!0,t};t.isVideoLoopAndAutoplay=function(e){var t,n,r,i,o,a=null!==(n=null===(t=null==e?void 0:e.additional_properties)||void 0===t?void 0:t.classification)&&void 0!==n?n:null===(o=null===(i=null===(r=null==e?void 0:e.promo_items)||void 0===r?void 0:r.video)||void 0===i?void 0:i.additional_properties)||void 0===o?void 0:o.classification;return"on"===(null==a?void 0:a.toLowerCase())}},function(e,t,n){"use strict";t.a=Object.freeze({REGULAR:"subtype-regular",COLUMNIST:"subtype-columnists",REVIEW:"subtype-review",LONGFORM:"subtype-longform",INNOVATION2:"subtype-innovation-2",LONGFORMLIGHT:"subtype-longformlight",LIVEBLOG:"subtype-live",LIVE_EVENT:"subtype-live-event",PARTNER_SPORTS_BETTING:"subtype-partner-sports-betting",SPOTLIGHT_PA:"subtype-spotlightpa",NEWSLETTER:"subtype-newsletter",CYOA:"subtype-cyoa",PHILLY_FIRST:"subtype-phillyfirst",LONGFORMLIGHTV2:"subtype-longformlight-v2",SWIPEABLE:"subtype-swipeable",CALL_TO_ACTION:"subtype-call-to-action",RESTAURANT_PAGE:"subtype-restaurant-page",FOOD_MAP:"subtype-food-map",FINDER_PAGE:"subtype-finder-page",STORYSTACK:"subtype-storystack",WORDPRESS:"subtype-wordpress"})},function(e,t,n){"use strict";n.d(t,"m",(function(){return v})),n.d(t,"d",(function(){return x})),n.d(t,"e",(function(){return O})),n.d(t,"h",(function(){return w})),n.d(t,"g",(function(){return _})),n.d(t,"l",(function(){return C})),n.d(t,"c",(function(){return k})),n.d(t,"f",(function(){return S})),n.d(t,"j",(function(){return N})),n.d(t,"b",(function(){return L})),n.d(t,"n",(function(){return E})),n.d(t,"i",(function(){return P})),n.d(t,"a",(function(){return T})),n.d(t,"k",(function(){return M}));var r=n(24),i=n(92),o=n(47),a=n(6),l=n(15),s=n(11),c=n(19),u=n(27),d=n(78),p=n(10),m=n(23),f=n(136);const b=/]*>([\s\S]*?)<\/script>/gm,h=/]+src\s*=\s*['"]([^'"]+)['"][^>]*>/,v=e=>e===u.a.CALL_TO_ACTION,g=(e,t,n,o)=>{var a,l;const s=o||"";var c,u,d,p,m;(n===e.length-1&&t.length>0&&t.forEach((e=>{const t=b.exec(e)||[];t.length>0&&Object(r.b)([{key:"innerHTML",value:t[1]}],r.a.High)})),(null===(a=window)||void 0===a?void 0:a.instgrm)&&s.indexOf("instagram.com")>-1)&&(null===(c=window)||void 0===c||null===(u=c.instgrm)||void 0===u||u.Embeds.process());(null===(l=window)||void 0===l?void 0:l.FB)&&s.indexOf("connect.facebook.net")>-1&&(null===(d=window)||void 0===d||null===(p=d.FB)||void 0===p||null===(m=p.XFBML)||void 0===m||m.parse());s.indexOf("d3q1ytufopwvkq.cloudfront.net/1/formrenderer.js")>-1&&(()=>{const e=Object(i.a)("style",[]);e.innerText="\n .fr_response_field label,\n .fr_text.size_medium,\n .fr_error,small,\n .fr_bottom,\n .fr_description {\n font-size: 16px;\n line-height: 1.75em;\n font-weight: 400;\n }\n .fr_description {\n font-style: italic;\n }\n .fr_response_field h3 {\n font-size: 20px;\n line-height: 2rem;\n }\n .fr_response_field label {\n padding-bottom: 8px;\n }\n .fr_response_field input {\n box-sizing: border-box;\n }\n .fr_response_field textarea,\n .fr_response_field input[type=\"text\"],\n .fr_response_field select {\n font-size: 16px;\n padding-top: 12px;\n padding-bottom: 12px;\n padding-left: 18px;\n padding-right: 18px;\n transition: box-shadow .25s ease;\n border: 1px solid #dcdcdc;\n border-radius: 3px;\n font-family: \"Ringside Regular SSm\",\"Verdana\",sans-serif;\n font-weight: 400;\n line-height: 1.4rem;\n width: 100%;\n }\n .fr_response_field textarea:focus,\n .fr_response_field input:focus,\n .fr_response_field select:focus {\n padding-top: 11px;\n padding-bottom: 11px;\n padding-left: 17px;\n padding-right: 17px;\n border-color: #1a6aff;\n border-width: 2px;\n outline: none;\n }\n .fr_response_field select {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: 1px solid #222222;\n padding-right: 48px;\n position: relative;\n background: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24px' height='24px' viewBox='0 0 24 24' version='1.1'%3E%3Ctitle%3EDown Arrow%3C/title%3E%3Cpolygon points='7.41 8.59 12 13.17 16.59 8.59 18 10 12 16 6 10'%3E%3C/polygon%3E%3C/svg%3E\") no-repeat right #fff;\n background-position-x: 98%;\n }\n .fr_response_field input[type=\"radio\"] {\n appearance: radio;\n margin: 3px 3px 5px 5px;\n }\n .fr_response_field input[type=\"checkbox\"] {\n appearance: checkbox;\n margin: 3px 3px 5px 4px;\n }\n ",document.body.appendChild(e)})()},j=e=>{Object(r.b)([{key:"innerHTML",value:e}],r.a.High)},y=(e,t,n)=>{const r=setInterval((()=>{Object(o.k)(e,"")&&(t(),clearInterval(r))}),n)},x=(e,t=!1,n)=>{const i=(null==e?void 0:e.match(b))||[];if(null==i?void 0:i.length){const e=i.filter((e=>h.test(e))),o=i.filter((e=>!h.test(e)));(null==e?void 0:e.length)&&e.forEach(((t,n)=>{const i=((null==h?void 0:h.exec(t))||[])[1].replace(/https:|http:/g,"");Object(r.b)([{key:"src",value:i},{key:"data-type",value:"raw_html"}],r.a.High,(()=>g(e,o,n,i)))})),0===e.length&&o.length>0&&o.forEach((e=>{const r=/]*>([\s\S]*?)<\/script>/gm.exec(e)||[],i=r[1];!e.includes("document.write")&&r.length>0&&(t&&i.indexOf("PMNdataLayer")>-1&&!n?y("PMNdataLayer.0.analytics",(()=>j(i)),500):t&&i.indexOf("loginService")>-1&&!n?y("services.loginService",(()=>j(i)),500):j(i))}))}e.indexOf("youtube.com")>-1&&Object(r.b)([{key:"src",value:"/pf/resources/vendor/video-watch-time.js"}],r.a.High)},O=e=>({"data-link-type":`hp-header-${e.toLowerCase().replace(/\s/g,"_")}`}),w=(e,t)=>{var n,r;const i=e.findIndex((e=>{var n;return e.props.id===t||(null!==(n=null==e?void 0:e.children)&&void 0!==n?n:[]).map((e=>{var t;return null==e||null===(t=e.props)||void 0===t?void 0:t.id})).indexOf(t)>-1}));if(!i)return 1;const o=e.slice(0,i).reduce(((e,t)=>{var n;const r=null==t||null===(n=t.props.customFields)||void 0===n?void 0:n.numberFeaturesOnFirstColumn;return e+(r&&r>1?r-1:0)}),0),a=e[i],l=null==a||null===(n=a.props)||void 0===n||null===(r=n.customFields)||void 0===r?void 0:r.numberFeaturesOnFirstColumn,s=i+1+o;if(l&&l>1){var c;return s+(null!==(c=null==a?void 0:a.children)&&void 0!==c?c:[]).map((e=>{var t;return null==e||null===(t=e.props)||void 0===t?void 0:t.id})).indexOf(t)}return s},_=(e,t)=>e||t?Object(c.d)(e)?"section-front":(null==t?void 0:t("pagetype"))||"":"",C=e=>(null==e?void 0:e.findIndex((e=>{var t;return(null!==(t=null==e?void 0:e.children)&&void 0!==t?t:[]).length>0})))||0,k=(e,t)=>{var n,r;const i=C(e);return(null==e||null===(n=e[i])||void 0===n||null===(r=n.props)||void 0===r?void 0:r.id)===t},S=(e,t,n)=>{const{type:r,collection:i,customFields:a,id:l}=e||{},c="chains"===i,u=k(t,l),d=Object(o.d)(l,t||[]);let p="";var m,f,b;(c&&(p=u?"topper":(null==a?void 0:a.chainLabel)||""),!(null==r?void 0:r.includes("packages"))&&r!==s.l&&r!==s.n||c||(p=(null==a?void 0:a.packageLabel)||""),r===s.w&&d&&(p="topper"),r===s.k&&d&&(p=(null==a?void 0:a.headlinesTitle)||""),!p&&n)&&(p=(null==t||null===(m=t[n-1])||void 0===m||null===(f=m.props)||void 0===f||null===(b=f.customFields)||void 0===b?void 0:b.chainLabel)||"");return p||"No Value Set"},N=(e,t,n)=>{var r,i;const a=(null==e||null===(r=e.type)||void 0===r?void 0:r.replace("/","-"))||"No Value Set";if(!(null==e?void 0:e.metaValue))return a;if(Object(p.h)(null==e?void 0:e.metaValue,"section")&&"/food"===(null==e||null===(i=e.globalContent)||void 0===i?void 0:i._id)||Object(p.f)(null==e?void 0:e.metaValue)){var l;const r=k(t,null==e?void 0:e.id),i=Object(o.d)(null==e?void 0:e.id,t||[]);return(r||i)&&(null==t||null===(l=t[n?n-1:0])||void 0===l?void 0:l.type)||a}return a},L=(e,t,n,r)=>{if(t){var i,a;const s=_(null==e?void 0:e.globalContent,null==e?void 0:e.metaValue),c=w(t,e.id);let u="";if(r?u=r:"section-feed"===(null==e||null===(i=e.customFields)||void 0===i?void 0:i.source)?u=e.customFields.includeSections:"collections-api"===(null==e||null===(a=e.customFields)||void 0===a?void 0:a.source)&&(u=e.customFields.collectionId),c&&!Object(o.c)(e.id,t)){const r=S(e);return{"data-card-location":s,"data-hp-package-type":e.type?e.type.replace("/","-"):"","data-hp-all-packages-layout":n||Object(l.b)(t),"data-hp-package-section":u||"No Value Set","data-hp-package-label":r,"data-hp-package-index":c}}}return{}},E=(e,t,n,r)=>Object(a.C)(e,!0,t)||Object(a.A)(e,n)||(e=>Object(a.r)(e,s.q))(r),P=(e,t,n,r)=>{var i,a,l;const c=Object(o.d)(r,n||[]);if(e===s.l||e===s.n)return"html-box";if(k(n,r)&&e!==s.A||c&&[s.w,s.k].includes(e))return"topper";switch(null==t?void 0:t.source){case s.s:return null!==(i=t.includeSections)&&void 0!==i?i:"";case s.a:return null!==(a=t.collectionId)&&void 0!==a?a:"";case s.x:return null!==(l=t.tagFeedSlug)&&void 0!==l?l:"";default:return""}},T=(e,t)=>{if(!(e&&(null==t?void 0:t.length)>0&&Object(o.l)(e.type)))return"";const n=t.map((e=>({"@type":"Article",headline:Object(d.b)(e.headlines.basic),url:`${Object(p.c)()}${e.canonical_url}`,datePublished:Object(m.a)(e.first_publish_date)})));return n.length?JSON.stringify({"@context":"https://schema.org","@type":"ProfilePage",dateModified:Object(m.a)(e.last_updated_date),mainEntity:{"@type":"Person",name:Object(d.b)(e.byline),description:Object(d.a)(e.bio),image:e.image.url},hasPart:n}):""},M=(e,t)=>{var n,r;const i=((e,t)=>{const{display:n,url:r,text:i}=(null==e?void 0:e[t])||{};return n?Object(f.a)(r)?r:Object(f.a)(i)?i:"":""})(null==e?void 0:e.label,"icon"),o="none"===((null==e||null===(n=e.label)||void 0===n||null===(r=n.icon)||void 0===r?void 0:r.text)||"").toLowerCase(),{section_icon:a}=(null==t?void 0:t.site)||{};return o?"":i||a}},,function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"n",(function(){return a})),n.d(t,"m",(function(){return l})),n.d(t,"l",(function(){return s})),n.d(t,"j",(function(){return c})),n.d(t,"k",(function(){return u})),n.d(t,"g",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"h",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return v}));var r=n(10);const i="https://media.inquirer.com/designimages/",o="2025-05-22T04:00:00.000Z",a="subtype-service",l="subtype-partner-sports-betting",s=(Object(r.c)(),"No Value Set"),c=Object(r.g)()?"1cyuLkD_EYRz9bOArgPJP5Skq07x4OTklo0wTZotAciw":"1UIMvavb_GLxEOveRTzioYqUHUY4ZVGZltS748Cilc5E",u="Sheet1",d=`${Object(r.c)()}/inquirer-live/`,p="https://www.inquirer.com/the76",m="https://www.inquirer.com/craigstop10",f="// LiveBlog Name:",b="// RelatedLink Text:",h="checkout/?offerId=a1CPa000003x1nxMAA&campaignId=7011U000000ebPRQAY&utm_source=inquirer&utm_campaign=mktg_ACQ_Audio_Stories_Lockup_Unit&int_promo=onsite&int_promo_sub_channel=audio_stories_lockup_unit",v="$1 for 6 months."},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"d",(function(){return p}));const r="text-white bg-primary",i="restaurant-maps",o="powa-no-player-controls",a="https://www.facebook.com/sharer/sharer.php",l="https://twitter.com/intent/tweet",s="mailto:?subject=",c="https://bsky.app/intent/compose",u="https://www.threads.com/intent/post",d="https://api.whatsapp.com/send",p=(e,t)=>{const{subject:n="",text:r=""}=t;switch(e){case"facebook":return`${a}?u=${r}`;case"twitter":return`${l}?via=phillyinquirer&text=${r}`;case"email":return`${s}?subject=${n}&body=${r}`;case"bluesky":return`${c}?text=${r}`;case"threads":return`${u}?text=${r}`;case"whatsapp":return`${d}?text=${r}`;default:return""}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return s}));var r=n(22);const i={DEFAULT:"default",STICKY:"sticky"},o={HAMBURGER:"hamburger",SEARCH:"search",DROPDOWN:"dropdown"},a=[{title:"News",key:"/news/"},{title:"Sports",key:"/sports/"},{title:"Business",key:"/business/"},{title:"Opinion",key:"/opinion/"},{title:"Politics",key:"/politics/"},{title:"Entertainment",key:"/entertainment/"},{title:"Life",key:"/life/"},{title:"Food",key:"/food/"},{title:"Health",key:"/health/"},{title:"Real Estate",key:"/real-estate/"},{title:"Philly First",key:"/philly-first/"},{title:"Obituaries",key:"/obituaries/"},{title:"Legal Notices",key:"https://marketplace.inquirer.com/pa/legal/search/"}],l={subMenu:[{title:"Get In Touch",items:[{url:"https://about.inquirer.com/",name:"About The Inquirer"},{url:"https://advertising.inquirer.com/",name:"Advertise"},{url:"/contact-us/",name:"Contact Us"},{url:"https://account.inquirer.com/s/helptopics",name:"Subscriber Services"},{url:"https://www.inquirer.com/about/philadelphia-inquirer-newsroom-staff.html",name:"Newsroom Staff"},{url:"https://www.inquirer.com/confidential-tips/",name:"Confidential Tips"},{url:"https://www.parsintl.com/publications/the-philadelphia-inquirer/",name:"Licensing & Permissions"},{url:"https://store.inquirer.com/collections/reprints",name:"Reprints"},{url:"/careers/",name:"Careers"},{url:"https://about.inquirer.com/delivery-jobs/",name:"Delivery Jobs"},{url:"https://www.inquirer.com/checkout/giftsubscription/",name:"Gift Subscriptions"},{url:"https://store.inquirer.com/",name:"Inquirer Store"},{url:"https://marketplace.inquirer.com/pa/legal/search/",name:"Legal Notices"},{url:"https://www.legacy.com/us/obituaries/inquirer/browse",name:"Death Notices"},{url:"/subscribe/",name:"Subscribe"}]},{title:"Giving",items:[{url:"https://philadelphiainquirer.fundjournalism.org/?utm_source=inquirer.com&utm_campaign=lenfest_inquirer.com_supportlocalnews_2.0_donation&utm_medium=none&utm_content=&utm_term=&int_promo=donate_nav_link&campaign=701Qm00000PwlBSIAZ",name:"Donate to The Inquirer"},{url:"https://www.lenfestinstitute.org/donation-information-hijf/",name:"Other Ways to Contribute"},{url:"https://www.lenfestinstitute.org/our-work/the-philadelphia-inquirer/",name:"About The Lenfest Institute"}]}],menu:[{items:[{url:"/news/",name:"News"},{url:r.TODAY_PAPER_URL,name:"Today’s Paper"},{url:"/news/philadelphia/",name:"Philadelphia"},{url:"/news/pennsylvania/",name:"Pennsylvania"},{url:"/news/new-jersey/",name:"New Jersey"},{url:"/politics/",name:"Politics"},{url:"/news/nation-world/",name:"Nation & World"},{url:"/education/",name:"Education"},{url:"/health/",name:"Health & Science"},{url:"/business/",name:"Business"},{url:"/real-estate/",name:"Real Estate"},{url:"/weather/",name:"Weather"},{url:"/entertainment/horoscopes/",name:"Horoscopes"},{url:"/obituaries/",name:"Obituaries"},{url:"/philly-first/",name:"Philly First"},{url:"/inquirer-live/",name:"Inquirer LIVE"}]},{items:[{url:"/sports/",name:"Sports"},{url:"/eagles/",name:"Eagles"},{url:"/phillies/",name:"Phillies"},{url:"/sixers/",name:"Sixers"},{url:"/flyers/",name:"Flyers"},{url:"/soccer/",name:"Soccer"},{url:"/wnba/",name:"WNBA"},{url:"/college-sports/",name:"College Sports"},{url:"/sports/columnists/",name:"Sports Columnists"},{url:"/sports/gameday-central",name:"Gameday Central"}]},{items:[{url:"/food/",name:"Food"},{url:"https://www.inquirer.com/76",name:"The 76 Restaurant Guide"},{url:"/food/craig-laban/",name:"Craig LaBan"},{url:"/food/restaurants/",name:"Restaurants"},{url:"https://foodfest.inquirer.com/",name:"Inquirer Food Festival"}]},{items:[{url:"/entertainment/",name:"Entertainment"},{url:"/things-to-do/",name:"Things To Do"},{url:"/arts/",name:"Arts & Culture"},{url:"/entertainment/music/",name:"Music"},{url:"/shore/",name:"Shore Guide"},{url:"/comics/",name:"Comics"},{url:"/puzzles/",name:"Puzzles"}]},{items:[{url:"/newsletters/",name:"Newsletters"}]},{items:[{url:"/opinion/",name:"Opinion"},{url:"/columnists/",name:"Columnists"},{url:"/opinion/editorials/",name:"Editorials"},{url:"/opinion/letters/",name:"Letters to the Editor"},{url:"/opinion/commentary/",name:"Commentary"}]},{items:[{url:"https://www.phillyfavorites.com/",name:"PHILLY FAVORITES"}]},{items:[{url:"/business/top-workplaces/",name:"TOP WORKPLACES"}]}]},s=[l.menu.filter((e=>["News","Sports"].includes(e.items[0].name))),l.menu.filter((e=>["Food","Entertainment"].includes(e.items[0].name))),l.menu.slice(4,11)]},function(e,t,n){"use strict";n.d(t,"b",(function(){return Ne})),n.d(t,"a",(function(){return Ae})),n.d(t,"c",(function(){return Ee})),n.d(t,"d",(function(){return Ie})),n.d(t,"e",(function(){return Pe})),n.d(t,"f",(function(){return Te})),n.d(t,"g",(function(){return Me}));var r=n(238);const i={fetch:globalThis.fetch?globalThis.fetch.bind(globalThis):void 0,SubtleCrypto:globalThis.crypto?globalThis.crypto.subtle:void 0,EventSource:globalThis.EventSource};function o(e){let t=2166136261;const n=e.length;for(let r=0;r>>0}function a(e,t,n){return 2===n?o(o(e+t)+"")%1e4/1e4:1===n?o(t+e)%1e3/1e3:null}function l(e,t){return e>=t[0]&&e{r.push([e.searchParams.get(n)||"",t,!1])})),!r.some((e=>!function(e,t,n){try{let r=t.replace(/[*.+?^${}()|[\]\\]/g,"\\$&").replace(/_____/g,".*");return n&&(r="\\/?"+r.replace(/(^\/|\/$)/g,"")+"\\/?"),new RegExp("^"+r+"$","i").test(e)}catch(e){return!1}}(e[0],e[1],e[2])))}catch(e){return!1}}function d(e,t,n){try{const r=new URL(e,"https://_");if("regex"===t){const e=s(n);return!!e&&(e.test(r.href)||e.test(r.href.substring(r.origin.length)))}return"simple"===t&&u(r,n)}catch(e){return!1}}function p(e,t,n){(t=void 0===t?1:t)<0?t=0:t>1&&(t=1);const r=(i=e)<=0?[]:new Array(i).fill(1/i);var i;(n=n||r).length!==e&&(n=r);const o=n.reduce(((e,t)=>t+e),0);(o<.99||o>1.01)&&(n=r);let a=0;return n.map((e=>{const n=a;return a+=e,[n,n+t*e]}))}const m=e=>Uint8Array.from(atob(e),(e=>e.charCodeAt(0)));async function f(e,t,n){if(t=t||"",!(n=n||globalThis.crypto&&globalThis.crypto.subtle||i.SubtleCrypto))throw new Error("No SubtleCrypto implementation found");try{const r=await n.importKey("raw",m(t),{name:"AES-CBC",length:128},!0,["encrypt","decrypt"]),[i,o]=e.split("."),a=await n.decrypt({name:"AES-CBC",iv:m(i)},r,m(o));return(new TextDecoder).decode(a)}catch(e){throw new Error("Failed to decrypt")}}function b(e){return"string"==typeof e?e:JSON.stringify(e)}function h(e){"number"==typeof e&&(e+=""),e&&"string"==typeof e||(e="0");const t=e.replace(/(^v|\+.*$)/g,"").split(/[-.]/);return 3===t.length&&t.push("~"),t.map((e=>e.match(/^[0-9]+$/)?e.padStart(5," "):e)).join("-")}function v(e){return"object"==typeof e&&null!==e}function g(e){return e.urlPatterns&&e.variations.some((e=>v(e)&&"urlRedirect"in e))?"redirect":e.variations.some((e=>v(e)&&(e.domMutations||"js"in e||"css"in e)))?"visual":"unknown"}async function j(e,t){return new Promise((n=>{let r,i=!1;const o=e=>{i||(i=!0,r&&clearTimeout(r),n(e||null))};t&&(r=setTimeout((()=>o()),t)),e.then((e=>o(e))).catch((()=>o()))}))}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t{let{host:t,clientKey:n,headers:r}=e;return _.fetch(`${t}/api/features/${n}`,{headers:r})},fetchRemoteEvalCall:e=>{let{host:t,clientKey:n,payload:r,headers:i}=e;const o={method:"POST",headers:x({"Content-Type":"application/json"},i),body:JSON.stringify(r)};return _.fetch(`${t}/api/eval/${n}`,o)},eventSourceCall:e=>{let{host:t,clientKey:n,headers:r}=e;return r?new _.EventSource(`${t}/sub/${n}`,{headers:r}):new _.EventSource(`${t}/sub/${n}`)},startIdleListener:()=>{let e;if(!("undefined"!=typeof window&&"undefined"!=typeof document))return;const t=()=>{"visible"===document.visibilityState?(window.clearTimeout(e),E.forEach((e=>{e&&"idle"===e.state&&H(e)}))):"hidden"===document.visibilityState&&(e=window.setTimeout(M,w.idleStreamInterval))};return document.addEventListener("visibilitychange",t),()=>document.removeEventListener("visibilitychange",t)},stopIdleListener:()=>{}};try{globalThis.localStorage&&(_.localStorage=globalThis.localStorage)}catch(e){}const k=new Map;let S=!1;const N=new Map,L=new Map,E=new Map,P=new Set;async function T(e){let{instance:t,timeout:n,skipCache:r,allowStale:i,backgroundSync:o}=e;return o||(w.backgroundSync=!1),async function(e){let{instance:t,allowStale:n,timeout:r,skipCache:i}=e;const o=I(t),a=D(t),l=new Date,s=new Date(l.getTime()-w.maxAge+w.staleTTL);await async function(){if(S)return;S=!0;try{if(_.localStorage){const e=await _.localStorage.getItem(w.cacheKey);if(!w.disableCache&&e){const t=JSON.parse(e);t&&Array.isArray(t)&&t.forEach((e=>{let[t,n]=e;N.set(t,x({},n,{staleAt:new Date(n.staleAt)}))})),R()}}}catch(e){}if(!w.disableIdleStreams){const e=C.startIdleListener();e&&(C.stopIdleListener=e)}}();const c=w.disableCache||i?void 0:N.get(a);if(c&&(n||c.staleAt>l)&&c.staleAt>s)return c.sse&&P.add(o),c.staleAt{e&&(e.state="idle",V(e))}))}async function A(){try{if(!_.localStorage)return;await _.localStorage.setItem(w.cacheKey,JSON.stringify(Array.from(N.entries())))}catch(e){}}function I(e){const[t,n]=e.getApiInfo();return`${t}||${n}`}function D(e){const t=I(e);if(!("isRemoteEval"in e)||!e.isRemoteEval())return t;const n=e.getAttributes(),r=e.getCacheKeyAttributes()||Object.keys(e.getAttributes()),i={};r.forEach((e=>{i[e]=n[e]}));const o=e.getForcedVariations(),a=e.getUrl();return`${t}||${JSON.stringify({ca:i,fv:o,url:a})}`}function R(){const e=Array.from(N.entries()).map((e=>{let[t,n]=e;return{key:t,staleAt:n.staleAt.getTime()}})).sort(((e,t)=>e.staleAt-t.staleAt)),t=Math.min(Math.max(0,N.size-w.maxEntries),N.size);for(let n=0;nasync function(e,t){await e.setPayload(t||e.getPayload())}(e,n)))}async function q(e){const{apiHost:t,apiRequestHeaders:n}=e.getApiHosts(),r=e.getClientKey(),i="isRemoteEval"in e&&e.isRemoteEval(),o=I(e),a=D(e);let l=L.get(a);if(!l){l=(i?C.fetchRemoteEvalCall({host:t,clientKey:r,payload:{attributes:e.getAttributes(),forcedVariations:e.getForcedVariations(),forcedFeatures:Array.from(e.getForcedFeatures().entries()),url:e.getUrl()},headers:n}):C.fetchFeaturesCall({host:t,clientKey:r,headers:n})).then((e=>{if(!e.ok)throw new Error(`HTTP error: ${e.status}`);return"enabled"===e.headers.get("x-sse-support")&&P.add(o),e.json()})).then((t=>($(o,a,t),B(e),L.delete(a),{data:t,success:!0,source:"network"}))).catch((e=>(L.delete(a),{data:null,source:"error",success:!1,error:e}))),L.set(a,l)}return l}function B(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=I(e),r=D(e),{streamingHost:i,streamingHostRequestHeaders:o}=e.getApiHosts(),a=e.getClientKey();if(t&&P.add(n),w.backgroundSync&&P.has(n)&&_.EventSource){if(E.has(n))return;const e={src:null,host:i,clientKey:a,headers:o,cb:t=>{try{if("features-updated"===t.type){const e=k.get(n);e&&e.forEach((e=>{q(e)}))}else if("features"===t.type){const e=JSON.parse(t.data);$(n,r,e)}e.errors=0}catch(t){F(e)}},errors:0,state:"active"};E.set(n,e),H(e)}}function F(e){if("idle"!==e.state&&(e.errors++,e.errors>3||e.src&&2===e.src.readyState)){const t=Math.pow(3,e.errors-3)*(1e3+1e3*Math.random());V(e),setTimeout((()=>{["idle","active"].includes(e.state)||H(e)}),Math.min(t,3e5))}}function V(e){e.src&&(e.src.onopen=null,e.src.onerror=null,e.src.close(),e.src=null,"active"===e.state&&(e.state="disabled"))}function H(e){e.src=C.eventSourceCall({host:e.host,clientKey:e.clientKey,headers:e.headers}),e.state="active",e.src.addEventListener("features",e.cb),e.src.addEventListener("features-updated",e.cb),e.src.onerror=()=>F(e),e.src.onopen=()=>{e.errors=0}}function U(e,t){V(e),E.delete(t)}function z(){P.clear(),E.forEach(U),k.clear(),C.stopIdleListener()}function G(e,t){if(t.streaming){if(!e.getClientKey())throw new Error("Must specify clientKey to enable streaming");t.payload&&B(e,!0),function(e){const t=I(e),n=k.get(t)||new Set;n.add(e),k.set(t,n)}(e)}}const Y={};function W(e,t,n){n=n||{};for(const[r,i]of Object.entries(t))switch(r){case"$or":if(!ee(e,i,n))return!1;break;case"$nor":if(ee(e,i,n))return!1;break;case"$and":if(!te(e,i,n))return!1;break;case"$not":if(W(e,i,n))return!1;break;default:if(!K(i,Z(e,r),n))return!1}return!0}function Z(e,t){const n=t.split(".");let r=e;for(let e=0;e0&&t.filter((e=>"$"===e[0])).length===t.length}function X(e,t){return Array.isArray(e)?e.some((e=>t.includes(e))):t.includes(e)}function Q(e,t,n,r){switch(e){case"$veq":return h(t)===h(n);case"$vne":return h(t)!==h(n);case"$vgt":return h(t)>h(n);case"$vgte":return h(t)>=h(n);case"$vlt":return h(t)n;case"$gte":return t>=n;case"$exists":return n?null!=t:null==t;case"$in":return!!Array.isArray(n)&&X(t,n);case"$inGroup":return X(t,r[n]||[]);case"$notInGroup":return!X(t,r[n]||[]);case"$nin":return!!Array.isArray(n)&&!X(t,n);case"$not":return!K(n,t,r);case"$size":return!!Array.isArray(t)&&K(n,t.length,r);case"$elemMatch":return function(e,t,n){if(!Array.isArray(e))return!1;const r=J(t)?e=>K(t,e,n):e=>W(e,t,n);for(let t=0;ti(t,n,e.user))))}if(e.user.trackingCallback){const i=e.user.trackingCallback;r.push(le((()=>i(t,n))))}if(e.global.eventLogger){const i=e.global.eventLogger;r.push(le((()=>i(ae,{experimentId:t.key,variationId:n.key,hashAttribute:n.hashAttribute,hashValue:n.hashValue},e.user))))}return r}function ce(e,t){if(t.stack.evaluatedFeatures.has(e))return de(t,e,null,"cyclicPrerequisite");t.stack.evaluatedFeatures.add(e),t.stack.id=e;const n=function(e){const t=new Map;return e.global.forcedFeatureValues&&e.global.forcedFeatureValues.forEach(((e,n)=>t.set(n,e))),e.user.forcedFeatureValues&&e.user.forcedFeatureValues.forEach(((e,n)=>t.set(n,e))),t}(t);if(n.has(e))return de(t,e,n.get(e),"override");if(!t.global.features||!t.global.features[e])return de(t,e,null,"unknownFeature");const r=t.global.features[e];if(r.rules){const n=new Set(t.stack.evaluatedFeatures);e:for(const i of r.rules){if(i.parentConditions)for(const r of i.parentConditions){t.stack.evaluatedFeatures=new Set(n);const i=ce(r.id,t);if("cyclicPrerequisite"===i.source)return de(t,e,null,"cyclicPrerequisite");if(!W({value:i.value},r.condition||{})){if(r.gate)return de(t,e,null,"prerequisite");continue e}}if(i.filters&&fe(i.filters,t))continue;if("force"in i){if(i.condition&&!me(i.condition,t))continue;if(!be(t,i.seed||e,i.hashAttribute,t.user.saveStickyBucketAssignmentDoc&&!i.disableStickyBucketing?i.fallbackAttribute:void 0,i.range,i.coverage,i.hashVersion))continue;return i.tracks&&i.tracks.forEach((e=>{!se(t,e.experiment,e.result).length&&t.global.saveDeferredTrack&&t.global.saveDeferredTrack({experiment:e.experiment,result:e.result})})),de(t,e,i.force,"force",i.id)}if(!i.variations)continue;const r={variations:i.variations,key:i.key||e};"coverage"in i&&(r.coverage=i.coverage),i.weights&&(r.weights=i.weights),i.hashAttribute&&(r.hashAttribute=i.hashAttribute),i.fallbackAttribute&&(r.fallbackAttribute=i.fallbackAttribute),i.disableStickyBucketing&&(r.disableStickyBucketing=i.disableStickyBucketing),void 0!==i.bucketVersion&&(r.bucketVersion=i.bucketVersion),void 0!==i.minBucketVersion&&(r.minBucketVersion=i.minBucketVersion),i.namespace&&(r.namespace=i.namespace),i.meta&&(r.meta=i.meta),i.ranges&&(r.ranges=i.ranges),i.name&&(r.name=i.name),i.phase&&(r.phase=i.phase),i.seed&&(r.seed=i.seed),i.hashVersion&&(r.hashVersion=i.hashVersion),i.filters&&(r.filters=i.filters),i.condition&&(r.condition=i.condition);const{result:o}=ue(r,e,t);if(t.global.onExperimentEval&&t.global.onExperimentEval(r,o),o.inExperiment&&!o.passthrough)return de(t,e,o.value,"experiment",i.id,r,o)}}return de(t,e,void 0===r.defaultValue?null:r.defaultValue,"defaultValue")}function ue(e,t,n){const r=e.key,i=e.variations.length;if(i<2)return{result:he(n,e,-1,!1,t)};if(!1===n.global.enabled||!1===n.user.enabled)return{result:he(n,e,-1,!1,t)};if(e=function(e,t){const n=e.key,r=t.global.overrides;r&&r[n]&&"string"==typeof(e=Object.assign({},e,r[n])).url&&(e.url=s(e.url));return e}(e,n),e.urlPatterns&&!c(n.user.url||"",e.urlPatterns))return{result:he(n,e,-1,!1,t)};const o=function(e,t,n){if(!t)return null;const r=t.split("?")[1];if(!r)return null;const i=r.replace(/#.*/,"").split("&").map((e=>e.split("=",2))).filter((t=>{let[n]=t;return n===e})).map((e=>{let[,t]=e;return parseInt(t)}));return i.length>0&&i[0]>=0&&i[0]0)for(let e=0;e<=a;e++){if(void 0!==c[ge(n,e)])return{variation:-1,versionIsBlocked:!0}}const u=c[s];if(void 0===u)return{variation:-1};const d=l.findIndex((e=>e.key===u));return d<0?{variation:-1}:{variation:d}}({ctx:n,expKey:e.key,expBucketVersion:e.bucketVersion,expHashAttribute:e.hashAttribute,expFallbackAttribute:e.fallbackAttribute,expMinBucketVersion:e.minBucketVersion,expMeta:e.meta});h=t>=0,f=t,v=!!r}if(!h){if(e.filters){if(fe(e.filters,n))return{result:he(n,e,-1,!1,t)}}else if(e.namespace&&!function(e,t){const n=a("__"+t[0],e,1);return null!==n&&n>=t[1]&&n{})):void 0;return"changeId"in e&&e.changeId&&n.global.recordChangeId&&n.global.recordChangeId(e.changeId),{result:j,trackingCall:x}}function de(e,t,n,r,i,o,a){const l={value:n,on:!!n,off:!n,source:r,ruleId:i||""};return o&&(l.experiment=o),a&&(l.experimentResult=a),"override"!==r&&function(e,t,n){if(e.user.trackedFeatureUsage){const r=JSON.stringify(n.value);if(e.user.trackedFeatureUsage[t]===r)return;e.user.trackedFeatureUsage[t]=r,e.user.enableDevMode&&e.user.devLogs&&e.user.devLogs.push({featureKey:t,result:n,timestamp:Date.now().toString(),logType:"feature"})}if(e.global.onFeatureUsage){const r=e.global.onFeatureUsage;le((()=>r(t,n,e.user)))}if(e.user.onFeatureUsage){const r=e.user.onFeatureUsage;le((()=>r(t,n)))}if(e.global.eventLogger){const r=e.global.eventLogger;le((()=>r(oe,{feature:t,source:n.source,value:n.value,ruleId:"defaultValue"===n.source?"$default":n.ruleId||"",variationId:n.experimentResult?n.experimentResult.key:""},e.user)))}}(e,t,l),l}function pe(e){return re({},e.user.attributes,{},e.user.attributeOverrides)}function me(e,t){return W(pe(t),e,t.global.savedGroups||{})}function fe(e,t){return e.some((e=>{const{hashValue:n}=ve(t,e.attribute);if(!n)return!0;const r=a(e.seed,n,e.hashVersion||2);return null===r||!e.ranges.some((e=>l(r,e)))}))}function be(e,t,n,r,i,o,s){if(!i&&void 0===o)return!0;if(!i&&0===o)return!1;const{hashValue:c}=ve(e,n,r);if(!c)return!1;const u=a(t,c,s||1);return null!==u&&(i?l(u,i):void 0===o||u<=o)}function he(e,t,n,r,i,o,a){let l=!0;(n<0||n>=t.variations.length)&&(n=0,l=!1);const{hashAttribute:s,hashValue:c}=ve(e,t.hashAttribute,e.user.saveStickyBucketAssignmentDoc&&!t.disableStickyBucketing?t.fallbackAttribute:void 0),u=t.meta?t.meta[n]:{},d={key:u.key||""+n,featureId:i,inExperiment:l,hashUsed:r,variationId:n,value:t.variations[n],hashAttribute:s,hashValue:c,stickyBucketUsed:!!a};return u.name&&(d.name=u.name),void 0!==o&&(d.bucket=o),u.passthrough&&(d.passthrough=u.passthrough),d}function ve(e,t,n){let r=t||"id",i="";const o=pe(e);return o[r]&&(i=o[r]),!i&&n&&(o[n]&&(i=o[n]),i&&(r=n)),{hashAttribute:r,hashValue:i}}function ge(e,t){return`${e}__${t=t||0}`}function je(e,t){return`${e}||${t}`}function ye(e,t){const n={},r=function(e,t){const n=new Set,r=t&&t.features?t.features:e.global.features||{},i=t&&t.experiments?t.experiments:e.global.experiments||[];return Object.keys(r).forEach((e=>{const t=r[e];if(t.rules)for(const e of t.rules)e.variations&&(n.add(e.hashAttribute||"id"),e.fallbackAttribute&&n.add(e.fallbackAttribute))})),i.map((e=>{n.add(e.hashAttribute||"id"),e.fallbackAttribute&&n.add(e.fallbackAttribute)})),Array.from(n)}(e,t);return r.forEach((t=>{const{hashValue:r}=ve(e,t);n[t]=b(r)})),n}function xe(e,t){return t.hashAttribute+t.hashValue+e.key+t.variationId}function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function we(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const ke="undefined"!=typeof window&&"undefined"!=typeof document,Se=function(){let e;try{e="1.5.1"}catch(t){e=""}return e}();class Ne{constructor(e){if(e=e||{},this.version=Se,this._options=this.context=e,this._renderer=e.renderer||null,this._trackedExperiments=new Set,this._completedChangeIds=new Set,this._trackedFeatures={},this.debug=!!e.debug,this._subscriptions=new Set,this.ready=!1,this._assigned=new Map,this._activeAutoExperiments=new Map,this._triggeredExpKeys=new Set,this._initialized=!1,this._redirectedUrl="",this._deferredTrackingCalls=new Map,this._autoExperimentsAllowed=!e.disableExperimentsOnLoad,this._destroyCallbacks=[],this.logs=[],this.log=this.log.bind(this),this._saveDeferredTrack=this._saveDeferredTrack.bind(this),this._fireSubscriptions=this._fireSubscriptions.bind(this),this._recordChangedId=this._recordChangedId.bind(this),e.remoteEval){if(e.decryptionKey)throw new Error("Encryption is not available for remoteEval");if(!e.clientKey)throw new Error("Missing clientKey");let t=!1;try{t=!!new URL(e.apiHost||"").hostname.match(/growthbook\.io$/i)}catch(e){}if(t)throw new Error("Cannot use remoteEval on GrowthBook Cloud")}else if(e.cacheKeyAttributes)throw new Error("cacheKeyAttributes are only used for remoteEval");if(e.stickyBucketService){const t=e.stickyBucketService;this._saveStickyBucketAssignmentDoc=e=>t.saveAssignments(e)}if(e.plugins)for(const t of e.plugins)t(this);if(e.features&&(this.ready=!0),ke&&e.enableDevMode&&(window._growthbook=this,document.dispatchEvent(new Event("gbloaded"))),e.experiments&&(this.ready=!0,this._updateAllAutoExperiments()),this._options.stickyBucketService&&this._options.stickyBucketAssignmentDocs)for(const e in this._options.stickyBucketAssignmentDocs){const t=this._options.stickyBucketAssignmentDocs[e];t&&this._options.stickyBucketService.saveAssignments(t).catch((()=>{}))}this.ready&&this.refreshStickyBuckets(this.getPayload())}async setPayload(e){this._payload=e;const t=await async function(e,t,n){if((e=re({},e)).encryptedFeatures){try{e.features=JSON.parse(await f(e.encryptedFeatures,t,n))}catch(e){console.error(e)}delete e.encryptedFeatures}if(e.encryptedExperiments){try{e.experiments=JSON.parse(await f(e.encryptedExperiments,t,n))}catch(e){console.error(e)}delete e.encryptedExperiments}if(e.encryptedSavedGroups){try{e.savedGroups=JSON.parse(await f(e.encryptedSavedGroups,t,n))}catch(e){console.error(e)}delete e.encryptedSavedGroups}return e}(e,this._options.decryptionKey);this._decryptedPayload=t,await this.refreshStickyBuckets(t),t.features&&(this._options.features=t.features),t.savedGroups&&(this._options.savedGroups=t.savedGroups),t.experiments&&(this._options.experiments=t.experiments,this._updateAllAutoExperiments()),this.ready=!0,this._render()}initSync(e){this._initialized=!0;const t=e.payload;if(t.encryptedExperiments||t.encryptedFeatures)throw new Error("initSync does not support encrypted payloads");return this._options.stickyBucketService&&!this._options.stickyBucketAssignmentDocs&&(this._options.stickyBucketAssignmentDocs=this.generateStickyBucketAssignmentDocsSync(this._options.stickyBucketService,t)),this._payload=t,this._decryptedPayload=t,t.features&&(this._options.features=t.features),t.experiments&&(this._options.experiments=t.experiments,this._updateAllAutoExperiments()),this.ready=!0,G(this,e),this}async init(e){var t;if(this._initialized=!0,(e=e||{}).cacheSettings&&(t=e.cacheSettings,Object.assign(w,t),w.backgroundSync||z()),e.payload)return await this.setPayload(e.payload),G(this,e),{success:!0,source:"init"};{const t=await this._refresh(we({},e,{allowStale:!0})),{data:n}=t,r=Ce(t,["data"]);return G(this,e),await this.setPayload(n||{}),r}}async loadFeatures(e){var t;e=e||{},await this.init({skipCache:e.skipCache,timeout:e.timeout,streaming:(null===(t=this._options.backgroundSync)||void 0===t||t)&&(e.autoRefresh||this._options.subscribeToChanges)})}async refreshFeatures(e){const t=await this._refresh(we({},e||{},{allowStale:!1}));t.data&&await this.setPayload(t.data)}getApiInfo(){return[this.getApiHosts().apiHost,this.getClientKey()]}getApiHosts(){return function(e){const t=e.apiHost||"https://cdn.growthbook.io";return{apiHost:t.replace(/\/*$/,""),streamingHost:(e.streamingHost||t).replace(/\/*$/,""),apiRequestHeaders:e.apiHostRequestHeaders,streamingHostRequestHeaders:e.streamingHostRequestHeaders}}(this._options)}getClientKey(){return this._options.clientKey||""}getPayload(){return this._payload||{features:this.getFeatures(),experiments:this.getExperiments()}}getDecryptedPayload(){return this._decryptedPayload||this.getPayload()}isRemoteEval(){return this._options.remoteEval||!1}getCacheKeyAttributes(){return this._options.cacheKeyAttributes}async _refresh(e){var t;let{timeout:n,skipCache:r,allowStale:i,streaming:o}=e;if(!this._options.clientKey)throw new Error("Missing clientKey");return T({instance:this,timeout:n,skipCache:r||this._options.disableCache,allowStale:i,backgroundSync:null===(t=null!=o?o:this._options.backgroundSync)||void 0===t||t})}_render(){if(this._renderer)try{this._renderer()}catch(e){console.error("Failed to render",e)}}setFeatures(e){this._options.features=e,this.ready=!0,this._render()}async setEncryptedFeatures(e,t,n){const r=await f(e,t||this._options.decryptionKey,n);this.setFeatures(JSON.parse(r))}setExperiments(e){this._options.experiments=e,this.ready=!0,this._updateAllAutoExperiments()}async setEncryptedExperiments(e,t,n){const r=await f(e,t||this._options.decryptionKey,n);this.setExperiments(JSON.parse(r))}async setAttributes(e){this._options.attributes=e,this._options.stickyBucketService&&await this.refreshStickyBuckets(),this._options.remoteEval?await this._refreshForRemoteEval():(this._render(),this._updateAllAutoExperiments())}async updateAttributes(e){return this.setAttributes(we({},this._options.attributes,{},e))}async setAttributeOverrides(e){this._options.attributeOverrides=e,this._options.stickyBucketService&&await this.refreshStickyBuckets(),this._options.remoteEval?await this._refreshForRemoteEval():(this._render(),this._updateAllAutoExperiments())}async setForcedVariations(e){this._options.forcedVariations=e||{},this._options.remoteEval?await this._refreshForRemoteEval():(this._render(),this._updateAllAutoExperiments())}setForcedFeatures(e){this._options.forcedFeatureValues=e,this._render()}async setURL(e){if(e!==this._options.url){if(this._options.url=e,this._redirectedUrl="",this._options.remoteEval)return await this._refreshForRemoteEval(),void this._updateAllAutoExperiments(!0);this._updateAllAutoExperiments(!0)}}getAttributes(){return we({},this._options.attributes,{},this._options.attributeOverrides)}getForcedVariations(){return this._options.forcedVariations||{}}getForcedFeatures(){return this._options.forcedFeatureValues||new Map}getStickyBucketAssignmentDocs(){return this._options.stickyBucketAssignmentDocs||{}}getUrl(){return this._options.url||""}getFeatures(){return this._options.features||{}}getExperiments(){return this._options.experiments||[]}getCompletedChangeIds(){return Array.from(this._completedChangeIds)}subscribe(e){return this._subscriptions.add(e),()=>{this._subscriptions.delete(e)}}async _refreshForRemoteEval(){if(!this._options.remoteEval)return;if(!this._initialized)return;const e=await this._refresh({allowStale:!1});e.data&&await this.setPayload(e.data)}getAllResults(){return new Map(this._assigned)}onDestroy(e){this._destroyCallbacks.push(e)}isDestroyed(){return!!this._destroyed}destroy(){var e;this._destroyed=!0,this._destroyCallbacks.forEach((e=>{try{e()}catch(e){console.error(e)}})),this._subscriptions.clear(),this._assigned.clear(),this._trackedExperiments.clear(),this._completedChangeIds.clear(),this._deferredTrackingCalls.clear(),this._trackedFeatures={},this._destroyCallbacks=[],this._payload=void 0,this._saveStickyBucketAssignmentDoc=void 0,e=this,k.forEach((t=>t.delete(e))),this.logs=[],ke&&window._growthbook===this&&delete window._growthbook,this._activeAutoExperiments.forEach((e=>{e.undo()})),this._activeAutoExperiments.clear(),this._triggeredExpKeys.clear()}setRenderer(e){this._renderer=e}forceVariation(e,t){this._options.forcedVariations=this._options.forcedVariations||{},this._options.forcedVariations[e]=t,this._options.remoteEval?this._refreshForRemoteEval():(this._updateAllAutoExperiments(),this._render())}run(e){const{result:t}=ue(e,null,this._getEvalContext());return this._fireSubscriptions(e,t),t}triggerExperiment(e){if(this._triggeredExpKeys.add(e),!this._options.experiments)return null;return this._options.experiments.filter((t=>t.key===e)).map((e=>this._runAutoExperiment(e))).filter((e=>null!==e))}triggerAutoExperiments(){this._autoExperimentsAllowed=!0,this._updateAllAutoExperiments(!0)}_getEvalContext(){return{user:this._getUserContext(),global:this._getGlobalContext(),stack:{evaluatedFeatures:new Set}}}_getUserContext(){return{attributes:this._options.user?we({},this._options.user,{},this._options.attributes):this._options.attributes,enableDevMode:this._options.enableDevMode,blockedChangeIds:this._options.blockedChangeIds,stickyBucketAssignmentDocs:this._options.stickyBucketAssignmentDocs,url:this._getContextUrl(),forcedVariations:this._options.forcedVariations,forcedFeatureValues:this._options.forcedFeatureValues,attributeOverrides:this._options.attributeOverrides,saveStickyBucketAssignmentDoc:this._saveStickyBucketAssignmentDoc,trackingCallback:this._options.trackingCallback,onFeatureUsage:this._options.onFeatureUsage,devLogs:this.logs,trackedExperiments:this._trackedExperiments,trackedFeatureUsage:this._trackedFeatures}}_getGlobalContext(){return{features:this._options.features,experiments:this._options.experiments,log:this.log,enabled:this._options.enabled,qaMode:this._options.qaMode,savedGroups:this._options.savedGroups,groups:this._options.groups,overrides:this._options.overrides,onExperimentEval:this._subscriptions.size>0?this._fireSubscriptions:void 0,recordChangeId:this._recordChangedId,saveDeferredTrack:this._saveDeferredTrack,eventLogger:this._options.eventLogger}}_runAutoExperiment(e,t){const n=this._activeAutoExperiments.get(e);if(e.manual&&!this._triggeredExpKeys.has(e.key)&&!n)return null;const r=this._isAutoExperimentBlockedByContext(e);let i,o;r?i=he(this._getEvalContext(),e,-1,!1,""):(({result:i,trackingCall:o}=ue(e,null,this._getEvalContext())),this._fireSubscriptions(e,i));const a=JSON.stringify(i.value);if(!t&&i.inExperiment&&n&&n.valueHash===a)return i;if(n&&this._undoActiveAutoExperiment(e),i.inExperiment){const t=g(e);if("redirect"===t&&i.value.urlRedirect&&e.urlPatterns){const t=e.persistQueryString?function(e,t){let n,r;try{n=new URL(e),r=new URL(t)}catch(e){return console.error(`Unable to merge query strings: ${e}`),t}return n.searchParams.forEach(((e,t)=>{r.searchParams.has(t)||r.searchParams.set(t,e)})),r.toString()}(this._getContextUrl(),i.value.urlRedirect):i.value.urlRedirect;if(c(t,e.urlPatterns))return this.log("Skipping redirect because original URL matches redirect URL",{id:e.key}),i;this._redirectedUrl=t;const{navigate:n,delay:r}=this._getNavigateFunction();var l;if(n)if(ke)Promise.all([...o?[j(o,null!==(l=this._options.maxNavigateDelay)&&void 0!==l?l:1e3)]:[],new Promise((e=>{var t;return window.setTimeout(e,null!==(t=this._options.navigateDelay)&&void 0!==t?t:r)}))]).then((()=>{try{n(t)}catch(e){console.error(e)}}));else try{n(t)}catch(e){console.error(e)}}else if("visual"===t){const t=this._options.applyDomChangesCallback?this._options.applyDomChangesCallback(i.value):this._applyDOMChanges(i.value);t&&this._activeAutoExperiments.set(e,{undo:t,valueHash:a})}}return i}_undoActiveAutoExperiment(e){const t=this._activeAutoExperiments.get(e);t&&(t.undo(),this._activeAutoExperiments.delete(e))}_updateAllAutoExperiments(e){if(!this._autoExperimentsAllowed)return;const t=this._options.experiments||[],n=new Set(t);this._activeAutoExperiments.forEach(((e,t)=>{n.has(t)||(e.undo(),this._activeAutoExperiments.delete(t))}));for(const n of t){const t=this._runAutoExperiment(n,e);if(null!=t&&t.inExperiment&&"redirect"===g(n))break}}_fireSubscriptions(e,t){const n=e.key,r=this._assigned.get(n);r&&r.result.inExperiment===t.inExperiment&&r.result.variationId===t.variationId||(this._assigned.set(n,{experiment:e,result:t}),this._subscriptions.forEach((n=>{try{n(e,t)}catch(e){console.error(e)}})))}_recordChangedId(e){this._completedChangeIds.add(e)}isOn(e){return this.evalFeature(e).on}isOff(e){return this.evalFeature(e).off}getFeatureValue(e,t){const n=this.evalFeature(e).value;return null===n?t:n}feature(e){return this.evalFeature(e)}evalFeature(e){return ce(e,this._getEvalContext())}log(e,t){this.debug&&(this._options.log?this._options.log(e,t):console.log(e,t))}getDeferredTrackingCalls(){return Array.from(this._deferredTrackingCalls.values())}setDeferredTrackingCalls(e){this._deferredTrackingCalls=new Map(e.filter((e=>e&&e.experiment&&e.result)).map((e=>[xe(e.experiment,e.result),e])))}async fireDeferredTrackingCalls(){if(!this._options.trackingCallback)return;const e=[];this._deferredTrackingCalls.forEach((t=>{t&&t.experiment&&t.result?e.push(this._options.trackingCallback(t.experiment,t.result)):console.error("Invalid deferred tracking call",{call:t})})),this._deferredTrackingCalls.clear(),await Promise.all(e)}setTrackingCallback(e){this._options.trackingCallback=e,this.fireDeferredTrackingCalls()}setEventLogger(e){this._options.eventLogger=e}async logEvent(e,t){if(this._destroyed)console.error("Cannot log event to destroyed GrowthBook instance");else if(this._options.enableDevMode&&this.logs.push({eventName:e,properties:t,timestamp:Date.now().toString(),logType:"event"}),this._options.eventLogger)try{await this._options.eventLogger(e,t||{},this._getUserContext())}catch(e){console.error(e)}else console.error("No event logger configured")}_saveDeferredTrack(e){this._deferredTrackingCalls.set(xe(e.experiment,e.result),e)}_getContextUrl(){return this._options.url||(ke?window.location.href:"")}_isAutoExperimentBlockedByContext(e){const t=g(e);if("visual"===t){if(this._options.disableVisualExperiments)return!0;if(this._options.disableJsInjection&&e.variations.some((e=>e.js)))return!0}else{if("redirect"!==t)return!0;if(this._options.disableUrlRedirectExperiments)return!0;try{const t=new URL(this._getContextUrl());for(const n of e.variations){if(!n||!n.urlRedirect)continue;const e=new URL(n.urlRedirect);if(this._options.disableCrossOriginUrlRedirectExperiments){if(e.protocol!==t.protocol)return!0;if(e.host!==t.host)return!0}}}catch(t){return this.log("Error parsing current or redirect URL",{id:e.key,error:t}),!0}}return!(!e.changeId||!(this._options.blockedChangeIds||[]).includes(e.changeId))}getRedirectUrl(){return this._redirectedUrl}_getNavigateFunction(){return this._options.navigate?{navigate:this._options.navigate,delay:0}:ke?{navigate:e=>{window.location.replace(e)},delay:100}:{navigate:null,delay:0}}_applyDOMChanges(e){if(!ke)return;const t=[];if(e.css){const n=document.createElement("style");n.innerHTML=e.css,document.head.appendChild(n),t.push((()=>n.remove()))}if(e.js){const n=document.createElement("script");n.innerHTML=e.js,this._options.jsInjectionNonce&&(n.nonce=this._options.jsInjectionNonce),document.head.appendChild(n),t.push((()=>n.remove()))}return e.domMutations&&e.domMutations.forEach((e=>{t.push(r.declarative(e).revert)})),()=>{t.forEach((e=>e()))}}async refreshStickyBuckets(e){if(this._options.stickyBucketService){const t=this._getEvalContext(),n=await async function(e,t,n){const r=ye(e,n);return t.getAllAssignments(r)}(t,this._options.stickyBucketService,e);this._options.stickyBucketAssignmentDocs=n}}generateStickyBucketAssignmentDocsSync(e,t){if(!("getAllAssignmentsSync"in e))return void console.error("generating StickyBucketAssignmentDocs docs requires StickyBucketServiceSync");const n=ye(this._getEvalContext(),t);return e.getAllAssignmentsSync(n)}inDevMode(){return!!this._options.enableDevMode}}var Le=n(1);const Ee=Le.createContext({});function Pe(e){return Me().isOn(e)}function Te(e,t){return Me().getFeatureValue(e,t)}function Me(){const{growthbook:e}=Le.useContext(Ee);if(!e)throw new Error("Missing or invalid GrowthBookProvider");return e}function Ae({children:e,timeout:t,fallback:n}){const r=Me(),[i,o]=Le.useState(!1),a=!!r&&r.ready;return Le.useEffect((()=>{if(t&&!a){const e=setTimeout((()=>{r&&r.log("FeaturesReady timed out waiting for features to load",{timeout:t}),o(!0)}),t);return()=>clearTimeout(e)}}),[t,a,r]),Le.createElement(Le.Fragment,null,a||i?e:n||null)}const Ie=({children:e,growthbook:t})=>{const[n,r]=Le.useState(0);return Le.useEffect((()=>{if(t&&t.setRenderer)return t.setRenderer((()=>{r((e=>e+1))})),()=>{t.setRenderer((()=>{}))}}),[t]),Le.createElement(Ee.Provider,{value:{growthbook:t}},e)}},function(e,t){e.exports=a},,function(e,t,n){"use strict";n.d(t,"k",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"m",(function(){return l})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"h",(function(){return d})),n.d(t,"j",(function(){return m})),n.d(t,"d",(function(){return f})),n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return h})),n.d(t,"l",(function(){return v}));var r=n(31);const i=e=>{var t,n;return!(!(null==e||null===(t=e.youtube)||void 0===t?void 0:t.content)&&!(null==e||null===(n=e.video)||void 0===n?void 0:n._id))},o=e=>null==e||Array.isArray(e)&&!e.length||"object"==typeof e&&0===Object.keys(e).length||"string"==typeof e&&0===e.trim().length;const a=(e,t)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout((()=>e.apply(void 0,r)),t)}};function l(e,t,n){if("undefined"==typeof window)return;"/pf/"===e.substring(0,4)&&(e=function(e){if("undefined"==typeof window||!window.Fusion)return e;const t=e.indexOf("?")>-1;return`${e}${t?"&":"?"}d=${window.Fusion.deployment}`}(e));if(!!!document.querySelector('script[src="'+e+'"]')){const r=document.createElement("script");r.src=e,t.length>0&&t.forEach((e=>{r.setAttribute(e.name,e.value)})),r.onload=n,document.body.appendChild(r)}}const s=()=>{var e;return"undefined"!=typeof window&&((null===(e=window.FUSION_ENV_VARS)||void 0===e?void 0:e.env)||"sandbox")},c=e=>{if(!e)return null;const t=e/1e3,n=Math.floor(t/3600),r=Math.floor(t/60)-60*n,i=Math.floor(t%60);return(n?n+":":"")+(n&&r<10?"0"+r+":":r+":")+(i<10?"0"+i:i)},u=()=>!!navigator.userAgent.match(/iPhone|iPad|iPod/i),d=()=>!!navigator.userAgent.match(/iPad/i),p=(e,...t)=>e.map((e=>e._id)).filter((e=>e)).some((e=>t.some((t=>(e||"").includes(t))))),m=(e,t)=>(e=>p(e,"/opinion","/opinion/cartoons","/opinion/commentary","/opinion/editorials","/opinion/letters","/health/expert-opinions","/columnists","/columnists/attytood","/entertainment/columnists","/news/columnists","/sports/columnists","/expert-opinions"))(e)||(e=>p(e,"/columnists"))(e)||(e=>p(e,"/editorials"))(e)||(e=>e.some((e=>{var t;return(null==e||null===(t=e.slug)||void 0===t?void 0:t.toLowerCase())===r.c})))(t||[]),f=e=>{var t,n;return(null==e||null===(t=e.additional_properties)||void 0===t||null===(n=t.original)||void 0===n?void 0:n.byline)||(null==e?void 0:e.byline)||(null==e?void 0:e.name)||""},b=(e,t)=>e==t-1?t<3?" and ":", and ":", ",h=()=>"undefined"!=typeof window&&window.innerWidth<480,v=e=>{var t,n,r,i,o;const a=null!==(t=null==e||null===(n=e.additional_properties)||void 0===n?void 0:n.classification)&&void 0!==t?t:null==e||null===(r=e.promo_items)||void 0===r||null===(i=r.video)||void 0===i||null===(o=i.additional_properties)||void 0===o?void 0:o.classification;return"on"===(null==a?void 0:a.toLowerCase())}},,function(e,t,n){"use strict";n.d(t,"h",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"m",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return p})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return f})),n.d(t,"j",(function(){return b})),n.d(t,"f",(function(){return h})),n.d(t,"g",(function(){return v})),n.d(t,"b",(function(){return g})),n.d(t,"i",(function(){return j})),n.d(t,"a",(function(){return x}));var r=n(6),i=n(314),o=n(24);class a{constructor(e){this.entryScript=void 0,this.load=e=>{Object(o.b)([{key:"src",value:this.entryScript},{key:"async",value:"true"}],o.a.High,e)},this.entryScript=e}}var l=n(5);const s=(e,t)=>{var n;const{prop:r,separator:i=", "}=t;return null==e||null===(n=e.map((e=>(null==e?void 0:e.prop)||e)))||void 0===n?void 0:n.filter((e=>(null==e?void 0:e.prop)||e)).join(i)},c=(e,t="|")=>null==e?void 0:e.map((e=>null==e?void 0:e.text)).join(t);function u(e,t){if(null==e)return[];const n="function"==typeof t,r="string"==typeof t;return[...e].sort(((e,i)=>{const o=n?t(e):r?e[t]:e,a=n?t(i):r?i[t]:i;return oa?1:0}))}function d(e,t,n=!1){let r;return function(){const i=this,o=arguments,a=n&&!r;null!==r&&clearTimeout(r),r=setTimeout((function(){r=null,n||e.apply(i,o)}),t),a&&e.apply(i,o)}}const p=(e,t)=>e.split(".").reduce(((e,n)=>e&&e[n]?e[n]:t||null),window),m=()=>{const e={left:0,top:0};"scrollBehavior"in document.documentElement.style&&(e.behavior="instant"),window.scrollTo(e)},f=e=>{var t;const n=new Date("2022-03-20").getTime(),i=new Date((null==e?void 0:e.publish_date)||"").getTime(),o=(e=>["/sports","/eagles","/phillies","/sixers","/flyers","/soccer","/college-sports","/high-school-sports","/inquirer-live"].some((t=>Object(r.a)(e,t))))(e),a=Object(r.B)((null==e?void 0:e.subtype)||"")||Object(l.ab)((null==e?void 0:e.subtype)||"");if(i>n){var s;const t=null==e||null===(s=e.comments)||void 0===s?void 0:s.display_comments;return void 0===t?o:Object(r.a)(e,"/food")?!0===t&&a:!0===t}return!!o||((null==e||null===(t=e.taxonomy)||void 0===t?void 0:t.tags)||[]).some((e=>"comments"===e.text))};function b(e){new a(i.f).load(e)}const h=(e,t=!1,n=(()=>{}))=>{if("undefined"==typeof document)return;const r=document.querySelector('script[src="'+e+'"]');var i;r&&(null===(i=r.parentNode)||void 0===i||i.removeChild(r));const o=document.createElement("script");o.async=!0,o.src=e,o.onload=n,t&&(o.defer=!0),document.body.appendChild(o)},v=e=>["@inquirer.com","@philly.com","@phillynews.com"].some((t=>e.includes(t))),g=(e="")=>e[0].toUpperCase()+e.slice(1),j=e=>e?(/^[?#]/.test(e)?e.slice(1):e).split("&").reduce(((e,t)=>{const n=t.split("=");try{const t=decodeURIComponent(n[0]||""),r=decodeURIComponent(n[1]||"");t&&(e[t]=r)}catch(e){console.log(e)}return e}),{}):{},y=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),x=e=>{if(!e||-1===e.indexOf("<"))return e;const t=/|<(script|style)\b[^>]*>[\s\S]*?<\/\1\s*>|<(\/?)([a-zA-Z][\w-]*)\b[^>]*?(\/?)>|[^<]+|e+1;)r+=``;n.pop(),r+=a}}else r+=a,"/"===i[4]||y.has(l)||n.push(l);else r+=a;i=t.exec(e)}for(;n.length;)r+=``;return r}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22);const i=e=>{var t;return(null==r?void 0:r[e])||(null===(t=window.Fusion.environment)||void 0===t?void 0:t[e])||""}},,function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{if(n)return e=>{const t=s(n),r=(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:Fusion.lazyElements[e.id]||""}});return(0,a.jsx)(m,{fallback:r,children:(0,a.jsx)(c,{fallback:r,children:(0,a.jsx)(t,i({},e))})})};if(!e||!d(e,t)||p(e,t))return e;const r=t=>(0,a.jsx)("div",{"data-fusion-lazy-id":t.id,children:(0,a.jsx)(e,i({},t))});for(const t in e)r[t]=e[t];return r}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"f",(function(){return l})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return d}));n(1);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t({image:0,video:0,gallery:0}),l=(e,t)=>(e||[]).map((e=>"image"===(null==e?void 0:e.type)?i({},e,{__hybridIndex:t.image++}):"video"===(null==e?void 0:e.type)?i({},e,{__hybridIndex:t.video++}):"gallery"===(null==e?void 0:e.type)?i({},e,{__hybridIndex:t.gallery++}):"oembed_response"===(null==e?void 0:e.type)&&"youtube"===(null==e?void 0:e.subtype)?i({},e,{__hybridIndex:t.video++}):e)),s=(e,t,n)=>{var r,i,o;return t&&e?(null==e||null===(r=e.promo_items)||void 0===r?void 0:r.youtube)||(null==e||null===(i=e.promo_items)||void 0===i?void 0:i.video)?{topperType:"video",topperIndex:n.video++}:(null==e||null===(o=e.promo_items)||void 0===o?void 0:o.basic)?{topperType:"image",topperIndex:n.image++}:{topperType:null,topperIndex:null}:{topperType:null,topperIndex:null}},c=e=>{var t;return null!==(t=null==e?void 0:e.__hybridIndex)&&void 0!==t?t:0},u=e=>"number"==typeof(null==e?void 0:e.__hybridIndex),d=e=>{var t;return((null==e||null===(t=e.credits)||void 0===t?void 0:t.by)||[]).map((e=>(null==e?void 0:e.name)||"")).filter((e=>e)).join(", ")}},function(e,t,n){"use strict";n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"e",(function(){return d})),n.d(t,"b",(function(){return p}));var r=n(112),i=n.n(r),o=n(135),a=n.n(o);const l=e=>{if(document&&document.cookie){const t=document.cookie.split(";").find((t=>t.trim().substring(0,e.length)===e));return t?t.trim().substring(e.length+1):void 0}},s=()=>{const e=l("arc-country");return void 0!==e&&["AT","BE","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","GB"].includes(e.toUpperCase())},c=e=>{const t=`${e}=`,n=decodeURIComponent(document.cookie).split(";");for(let e=0;e{const r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3);const i=`expires=${r.toUTCString()}`;document.cookie=`${e}=${t};${i};path=/`},d=(e,t,n,r=!1)=>{if(!0===r)u(e,t,n);else{c(e)&&u(e,t,n)}},p=e=>{const t=l("user_data");if(t&&t.length>0){const n=decodeURIComponent(t),r=i.a.decrypt(n,e);return JSON.parse(r.toString(a.a))}return{state:"Logged Out"}}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return c}));var r=n(1),i=n(0);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t{const{children:t,height:n,offset:o=0,once:l=!1,placeholder:s=null,className:c,style:u}=e,[d,p]=Object(r.useState)(!1),m=Object(r.useRef)(null),f="string"==typeof n?parseFloat(n):n,b=Number.isFinite(f);if(Object(r.useEffect)((()=>{if(!b||!m.current)return;let e="0px";"number"==typeof o?e=`${o}px`:Array.isArray(o)&&(e=o.map((e=>`${e}px`)).join(" "));const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(p(!0),m.current&&t.unobserve(m.current))}))}),{rootMargin:e,threshold:0});return m.current&&t.observe(m.current),()=>{m.current&&t.unobserve(m.current)}}),[b,o,l]),!b)return Object(i.jsx)(i.Fragment,{children:t});if(d)return u&&0!==Object.keys(u).length||c?Object(i.jsx)("div",{ref:m,className:c,style:u,children:t}):Object(i.jsx)(i.Fragment,{children:t});const h=Object(i.jsx)("div",{className:"lazyload-placeholder",style:{height:n}});return Object(i.jsx)("div",{ref:m,className:c,style:a({display:"block",height:n},u),children:null!=s?s:h})};function c(e){return function(t){return n=>Object(i.jsx)(s,a({},e,{children:Object(i.jsx)(t,a({},n))}))}}t.a=s},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"k",(function(){return c})),n.d(t,"f",(function(){return u})),n.d(t,"m",(function(){return d})),n.d(t,"o",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"d",(function(){return f})),n.d(t,"g",(function(){return b})),n.d(t,"n",(function(){return h})),n.d(t,"h",(function(){return v})),n.d(t,"j",(function(){return g})),n.d(t,"i",(function(){return j})),n.d(t,"l",(function(){return y})),n.d(t,"a",(function(){return x})),n.d(t,"e",(function(){return O}));var r=n(11),i=n(28),o=n(9),a=n(19),l=n(12);const s=(e,t)=>{const n=t.filter((e=>"chains"===e.collection));if(n.length){return n.findIndex((t=>t.children&&t.children.findIndex((t=>t.props.id===e))>-1))>-1}return!1},c=(e,t)=>e.split(".").reduce(((e,n)=>e&&e[n]?e[n]:t||null),window),u=e=>{const t=null==e?void 0:e.replace(/^.*\/\/[^/]+/,"");return"/"===(null==t?void 0:t.substr(0,1))?t:`/${t}`},d="undefined"!=typeof window&&["/philly-first","/pf/api/v3/render/"].some((e=>{var t,n;return null===(t=window)||void 0===t||null===(n=t.location)||void 0===n?void 0:n.pathname.includes(e)})),p=e=>{var t;return""!==(null==e||null===(t=e.youtube)||void 0===t?void 0:t.content)},m=(e,t,n)=>-1!==(null==t?void 0:t.findIndex((t=>{var r;return"chains"===t.collection&&(null===(r=t.children)||void 0===r?void 0:r.some((t=>{var n;return(null==t||null===(n=t.props)||void 0===n?void 0:n.id)===e})))&&t.type===n}))),f=(e,t=[])=>{var n,r,o;const a=Object(i.l)(t);return null!==(n=null==t||null===(r=t[a])||void 0===r||null===(o=r.children)||void 0===o?void 0:o.some((t=>{var n;return(null==t||null===(n=t.props)||void 0===n?void 0:n.id)===e})))&&void 0!==n&&n},b=(e,t)=>{var n,r,i;const o=t.find((t=>{var n;return"chains"===t.collection&&(null===(n=t.children)||void 0===n?void 0:n.some((t=>{var n;return(null==t||null===(n=t.props)||void 0===n?void 0:n.id)===e})))}));if(!o)return 1;const a=(null==o?void 0:o.children)||[];if(!(null==o||null===(n=o.props)||void 0===n||null===(r=n.customFields)||void 0===r?void 0:r.list))return 1;const{list:l,rightToLeft:s}=(null==o||null===(i=o.props)||void 0===i?void 0:i.customFields)||{},c=(s?[...a].reverse():a).findIndex((t=>{var n;return(null==t||null===(n=t.props)||void 0===n?void 0:n.id)===e}));return-1===c?1:(null==l?void 0:l.reduce((({currentIndex:e,percent:t},n)=>{if(null!==t)return{currentIndex:e,percent:t};const r=null==n?void 0:n.match(/(\d+)%-(\d+)/);if(!r)return{currentIndex:e,percent:t};const i=Number(r[1])/100,o=Number(r[2]);return c/^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/.test(e),v=(e,t)=>{if(!e)return"";const{collection:n,id:l,globalContent:s,metaValue:c,type:u}=e,d="features"===n&&f(l,null!=t?t:[])&&!m(l,t,r.u||r.v),p=Object(i.h)(t,l),b=Object(i.f)(e,t,p),h=b&&"No Value Set"!==b?b.toLowerCase():"",v=d&&u?`-${u}`:"",g=[Object(a.d)(s)?"front":(null==c?void 0:c("pagetype"))||"",d?"topper":h];return Object(o.l)(g.filter(Boolean).join(" "))+v},g=e=>e?`${l.a}author-bio/${e}-blue.svg`:"",j=(e,t)=>{switch(e){case"email":return"mailto:"+t;case"twitter":return"https://twitter.com/"+t;case"instagram":return"https://instagram.com/"+t;case"linkedin":return"https://linkedin.com/in/"+t;case"bluesky":case"threads":return t;case"phone":return"tel:"+t;default:return""}},y=e=>"author"===e||!1,x=(e,{collectionId:t,includeSections:n,tagFeedSlug:i},o)=>{if(!o)return null;let a=null;switch(e){case r.a:t&&(a=`collection-${t}`);break;case r.s:if(n){var l;const e=null===(l=n.split(",")[0])||void 0===l?void 0:l.trim().replace(/^\//,"");e&&(a=`section-${e}`)}break;case r.x:i&&(a=`tag-${i}`);break;default:a="default"}return`/vertical-player/${a}/${o}`},O=e=>{var t,n;return(null!==(t=null==e||null===(n=e.taxonomy)||void 0===n?void 0:n.sections)&&void 0!==t?t:[]).some((({_id:e})=>r.m.test(e)))}},,function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"g",(function(){return c})),n.d(t,"f",(function(){return b})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return v})),n.d(t,"h",(function(){return g})),n.d(t,"b",(function(){return j})),n.d(t,"d",(function(){return y}));var r=n(3);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const a={[r.a.HP_TEXT_LINK]:{position:"text_link",position_type:"text_link_text_link"},[r.a.HP_LEADER_1]:{position:"leader",position_type:"leader_homepage"},[r.a.HP_LEADER_2]:{position:"leader",position_type:"leader_2_homepage"},[r.a.HP_LEADER_3]:{position:"leader",position_type:"leader_3_homepage"},[r.a.HP_LEADER_4]:{position:"leader",position_type:"leader_4_homepage"},[r.a.HP_PREMIUM]:{position:"mrec",position_type:"mrec_homepage"},[r.a.HP_RAIL_1]:{position:"rail",position_type:"rail_2_homepage"},[r.a.HP_RAIL_2]:{position:"rail",position_type:"rail_2_homepage"},[r.a.HP_RAIL_3]:{position:"rail",position_type:"rail_3_homepage"},[r.a.HP_ADHESION]:{position:"adhesion",position_type:"adhesion_homepage"},[r.a.ARTICLE_TOP_BANNER_MASTHEAD]:{position:"slider",position_type:"slider_article"},[r.a.ARTICLE_TOP_LEADERBOARD]:{position:"slider",position_type:"slider_article"},[r.a.ARTICLE_RIGHT_RAIL_STICKY]:{position:"mrec",position_type:"mrec_article"},[r.a.ARTICLE_RIGHT_RAIL_STICKY_LIVEBLOG]:{position:"mrec",position_type:"mrec_article"},[r.a.ARTICLE_RIGHT_RAIL_STICKY_2]:{position:"rail",position_type:"rail_article"},[r.a.ARTICLE_RIGHT_RAIL_3]:{position:"rail",position_type:"rail_article_3"},[r.a.ARTICLE_RIGHT_RAIL_BOTTOM_STICKY]:{position:"rail",position_type:"rail_2_article"},[r.a.GALLERY_MREC]:{position:"rail",position_type:"rail_2_article"},[r.a.ARTICLE_CUBE]:{position:"mrec",position_type:"mrec_article"},[r.a.ARTICLE_LIVEBLOG_INLINE]:{position:"mrec",position_type:"mrec_article"},[r.a.ARTICLE_ANCHOR]:{position:"adhesion",position_type:"slider"},[r.a.SECTION_TOP_BANNER]:{position:"slider",position_type:"slider_section"},[r.a.NEW_SPORTS_MASTHEAD]:{position:"slider",position_type:"slider_section"},[r.a.NEW_SPORTS_LEFT_RAIL]:{position:"rail",position_type:"rail_section"},[r.a.NEW_SPORTS_INLINE]:{position:"leader",position_type:"leader_btf_section"},[r.a.SECTION_LEADER]:{position:"leader",position_type:"leader_btf_section"},[r.a.SECTION_LEADER_2]:{position:"leader",position_type:"leader_2_section"},[r.a.SECTION_LEADER_3]:{position:"leader",position_type:"leader_3_section"},[r.a.SECTION_MREC]:{position:"mrec",position_type:"mrec_section"},[r.a.SECTION_RAIL]:{position:"rail",position_type:"rail_2_section"},[r.a.SECTION_RAIL_2]:{position:"rail",position_type:"rail_3_section"},[r.a.SECTION_ADHESION]:{position:"adhesion",position_type:"slider"},[r.a.SPORTS_ADHESION]:{position:"adhesion",position_type:"slider"},[r.a.GAMEDAY_ADHESION]:{position:"adhesion",position_type:"slider"},[r.a.GAMEDAY_RAIL_1]:{position:"rail",position_type:"rail"},[r.a.GAMEDAY_RAIL_2]:{position:"rail",position_type:"rail"},[r.a.GAMEDAY_LEADER]:{position:"leader",position_type:"leader_btf"},[r.a.GAMEDAY_LEADER_BTF]:{position:"leader",position_type:"leader_btf"},[r.a.NATIVE]:{position:"native",position_type:"native"},[r.a.EAGLES_ADHESION]:{position:"adhesion",position_type:"slider"},[r.a.PHILLY_BEST_ADHESION]:{position:"adhesion",position_type:"slider"}},l=new Set([r.a.ARTICLE_CUBE,r.a.ARTICLE_LIVEBLOG_INLINE]),s=e=>{const t=`mrec_2${e}`;return{position:t,position_type:`${t}_article`}},c=(e,t)=>t&&l.has(e)?s(t):a[e]||null,u=(e,t)=>{const n=`inquirer-com_${t}`;return Object.fromEntries(e.map((e=>[e,{placementName:n,slotId:n}])))},d=function(e){for(var t=1;t{const t=e.match(/^inquirer-com_leader_(\d+)$/);if(t){const e=Number(t[1]);return{placementName:p,slotId:e>1?`${p}_${e}`:p}}if(m.has(e)){const t=`${e}_premium`;return{placementName:t,slotId:t}}return null},b=(e,t,n,i=!1)=>{if(e===r.a.ARTICLE_CUBE){const e="number"==typeof t?t:0;if(!e)return null;if(e<=9){const t=`inquirer-com_inline_${e}`;return{placementName:t,slotId:t}}return{placementName:"inquirer-com_inline_1",slotId:`inquirer-com_inline_${e}`}}if(e===r.a.ARTICLE_LIVEBLOG_INLINE){if(!t)return null;const e=`inquirer-com_sports-live_sub_inline_${t}`;return{placementName:e,slotId:e}}if(e===r.a.NATIVE){if(!n)return null;const e=`inquirer-com_native_mw_${n}`;return i?f(e):{placementName:e,slotId:e}}if(e===r.a.STORYSTACK_LEADER){if(!t)return null;if(t<=3){const e=`inquirer-com_leader_${t}`;return{placementName:e,slotId:e}}return{placementName:"inquirer-com_leader_1",slotId:`inquirer-com_leader_${t}`}}const o=d[e];return o?i?f(o.placementName):o:null},h=Object.keys(d).filter((e=>"inquirer-com_adhesion"===d[e].placementName)),v=[r.a.HP_ADHESION,r.a.SECTION_ADHESION],g=e=>e.includes("/eagles")?"FreeStarVideoAdContainer_STN_NFL":e.includes("/phillies")?"FreeStarVideoAdContainer_STN_MLB":e.includes("/flyers")?"FreeStarVideoAdContainer_STN_NHL":e.includes("/sixers")||e.includes("/wnba")?"FreeStarVideoAdContainer_STN_NBA_WNBA":e.includes("/college-sports")?"FreeStarVideoAdContainer_STN_CollegeFootball":e.includes("/entertainment")||e.includes("/arts")?"FreeStarVideoAdContainer_STN_Entertainment":e.includes("/life")?"FreeStarVideoAdContainer_STN_Lifestyle":e.includes("/news")||e.includes("/weather")||e.includes("/transportation")||e.includes("/opinion")||e.includes("/education")?"FreeStarVideoAdContainer_STN_News":e.includes("/business")?"FreeStarVideoAdContainer_STN_Business":e.includes("/food")?"FreeStarVideoAdContainer_STN_Food":e.includes("/health")?"FreeStarVideoAdContainer_STN_Health":e.includes("/real-estate")?"FreeStarVideoAdContainer_STN_RealEstate":e.includes("/soccer")?"FreeStarVideoAdContainer_STN_Soccer":e.includes("/sports")||e.includes("/high-school-sports")?"FreeStarVideoAdContainer_STN_GeneralSportsPlayer":"FreeStarVideoAdContainer_STN_GeneralPlayer",j="inquirer-com_top_banner",y="pmn-top-banner-host"},,function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return m})),n.d(t,"a",(function(){return f}));n(1);var r=n(12),i=n(43),o=n(57);const a=e=>{const t=Number(null==e?void 0:e.width)||0,n=Number(null==e?void 0:e.height)||0;if(!t||!n)return{url:"",width:0,height:0};const{w:r,h:i}=(({w:e,h:t})=>{if(e<=600)return{w:Math.floor(e),h:Math.floor(t)};const n=600/e;return{w:Math.floor(e*n),h:Math.floor(t*n)}})(((e,t)=>1.5{var i,o,u,d,p,m,f;const b=r||(n?"featured-media":"article-image"),h=(null==e||null===(i=e.additional_properties)||void 0===i?void 0:i.originalUrl)||(null==e?void 0:e.url)||"",{url:v,width:g,height:j}=a(e),y=(null==e?void 0:e.caption)||"",x=(null==e?void 0:e.subtitle)||"",O=(null==e?void 0:e.credit)||(null==e||null===(o=e.credits)||void 0===o||null===(u=o.affiliation)||void 0===u||null===(d=u[0])||void 0===d?void 0:d.name)||(null==e||null===(p=e.credits)||void 0===p||null===(m=p.by)||void 0===m||null===(f=m[0])||void 0===f?void 0:f.name)||"";return Object(l.jsx)("div",function(e){for(var t=1;t{try{return new URL(e).searchParams.get("v")||""}catch{return""}},p=e=>{if(!Array.isArray(e)||0===e.length)return"";const t=e.filter((e=>"ts"===(null==e?void 0:e.stream_type)&&(null==e?void 0:e.url)&&Number.isFinite(Number(null==e?void 0:e.width)))).map((e=>({url:String(e.url),width:Number(e.width)}))).sort(((e,t)=>e.width-t.width));if(0===t.length)return"";return(t.find((e=>e.width>=r.v))||t[t.length-1]).url},m=({video:e,index:t,isFeatured:n,isYoutubeVideo:r=!1})=>{var o;const s=n?"featured-media":"article-video",{videoUrl:c,posterImage:u,videoId:m,videoTitle:f,dish:b}=r?((e,t)=>{var n,r,i,o,a,l;const s=null!==(n=t?null==e?void 0:e.content:null==e||null===(r=e.referent)||void 0===r?void 0:r.id)&&void 0!==n?n:"";return{videoUrl:s,posterImage:null!==(i=null==e||null===(o=e.raw_oembed)||void 0===o?void 0:o.thumbnail_url)&&void 0!==i?i:"",videoId:d(s),videoTitle:null!==(a=null==e||null===(l=e.raw_oembed)||void 0===l?void 0:l.title)&&void 0!==a?a:"",dish:"youtube"}})(e,n):((e,t)=>{var n;const r=a(null==e?void 0:e.promo_image);return{videoUrl:p(null==e?void 0:e.streams)||"",posterImage:r.url,videoId:(null==e?void 0:e._id)||(null==e?void 0:e.id)||"",videoTitle:(null==e||null===(n=e.headlines)||void 0===n?void 0:n.basic)||(null==e?void 0:e.headline)||"",dish:(null==e?void 0:e.dish)||(t?"main":"side")}})(e,n),h=(null==e?void 0:e.credit)||Object(i.d)(e)||"",v=(null==e?void 0:e.caption)||(null==e||null===(o=e.description)||void 0===o?void 0:o.basic)||"",g=h,j=(null==e?void 0:e.subtitle)||"";return Object(l.jsx)("div",{id:`video-placeholder-${t}`,className:`${s} native-video-placeholder w-full h-[300px]`,"data-video-url":c,"data-video-image":u,"data-video-index":t,"data-video-id":m,"data-video-title":f,"data-video-credit":h,"data-caption":v,"data-credits":g,"data-subtitle":j,"data-dish":b,"data-is-featured":String(n)})},f=({images:e,index:t,isFeatured:n})=>{const r=n?"featured-media":"article-gallery",i=(e||[]).map((e=>{var t,n,r;return{url:(null==e?void 0:e.url)||"",caption:(null==e?void 0:e.caption)||"",credits:(null==e?void 0:e.credit)||(null==e||null===(t=e.credits)||void 0===t||null===(n=t.by)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.name)||"",width:null!=(null==e?void 0:e.width)?Number(e.width):void 0,height:null!=(null==e?void 0:e.height)?Number(e.height):void 0}}));return Object(l.jsx)("div",{id:`gallery-placeholder-${t}`,className:`${r} native-gallery-placeholder w-full h-[400px]`,"data-gallery-images":JSON.stringify(i),"data-gallery-index":t,"data-is-featured":String(n)})}},function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return d}));var r=n(58),i=n.n(r),o=n(22),a=n(68),l=n(44);const s=()=>{Object(a.c)("giftIconInteracted","true"),document.querySelectorAll(".inq-popup-menu").forEach((e=>{const t=e.querySelectorAll("#gift-counter");Array.from(t).slice(0,-1).forEach((e=>{e.remove()}))}))},c=async e=>{var t,n;const r=o.GATEWAY_SLS_URL||(null===(t=window)||void 0===t||null===(n=t.FUSION_ENV_VARS)||void 0===n?void 0:n.gatewayUrlAws),a={originalLink:e},s={"pmn-cookie":Object(l.a)("pmn-cookie")};try{const{data:e}=await i.a.post(`${r}share/create`,a,{headers:s});return(null==e?void 0:e.shareLink)||""}catch(e){return console.error("Error fetching shared link:",e),""}},u=e=>{const{articleTitle:t,articleCanonicalUrl:n,customClass:r,isAppWebView:i,fullGiftURL:o,isDarkMode:a,eventName:l,userInteractionInOpenEvent:s,isV2:u,isPopupLeftAligned:d}=e;return{usePMNdataLayerEvent:!0,userInteraction:"gift_pop_up_share",articleTitle:t,articleCanonicalUrl:n,customClass:r,getGiftShareLink:()=>c(n),isAppWebView:i,handleButtonClick:()=>{return e=o||n,void((null===(t=window)||void 0===t||null===(r=t.webkit)||void 0===r||null===(i=r.messageHandlers)||void 0===i?void 0:i.iOSInterface)?window.webkit.messageHandlers.iOSInterface.postMessage(e):(null===(a=window)||void 0===a?void 0:a.MobileInterface)&&window.MobileInterface.onButtonClick(e));var e,t,r,i,a},isDarkMode:a,eventName:l,userInteractionInOpenEvent:s,isV2:!!u,isPopupLeftAligned:d}},d=()=>window.PMNdataLayer.some((e=>{var t,n;return"Subscribed"===(null==e||null===(t=e.analytics)||void 0===t||null===(n=t.user)||void 0===n?void 0:n.state)}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSocialShareUrl=t.POWA_NO_PLAYER_CONTROLS_CLASS=t.THREADS=t.RESTAURANT_MAPS=t.TWITTER=t.FACEBOOK=t.INSTAGRAM=t.PODCAST=t.LIVEBLOG=t.DARK_MODE_CLASS=void 0;t.DARK_MODE_CLASS="text-white bg-primary";t.LIVEBLOG="subtype-live";t.PODCAST="subtype-podcast";t.INSTAGRAM="instagram";t.FACEBOOK="facebook";t.TWITTER="twitter";t.THREADS="threads";t.RESTAURANT_MAPS="restaurant-maps";t.POWA_NO_PLAYER_CONTROLS_CLASS="powa-no-player-controls";var r="https://www.facebook.com/sharer/sharer.php",i="https://twitter.com/intent/tweet",o="mailto:?subject=",a="https://bsky.app/intent/compose",l="https://www.threads.com/intent/post",s="https://api.whatsapp.com/send";t.getSocialShareUrl=function(e,t){var n=t.subject,c=void 0===n?"":n,u=t.text,d=void 0===u?"":u;switch(e){case"facebook":return"".concat(r,"?u=").concat(d);case"twitter":return"".concat(i,"?via=phillyinquirer&text=").concat(d);case"email":return"".concat(o,"?subject=").concat(c,"&body=").concat(d);case"bluesky":return"".concat(a,"?text=").concat(d);case"threads":return"".concat(l,"?text=").concat(d);case"whatsapp":return"".concat(s,"?text=").concat(d);default:return""}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(1);const i=Object(r.createContext)({authors:[],currentSlide:0,setCurrentSlide:()=>{},cardLength:0,onClickSeeMore:()=>{},story:{},isSwipeableStoryCard:!1}),o=()=>Object(r.useContext)(i)},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"e",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return f}));var r=n(14),i=n.n(r),o=n(84),a=n.n(o),l=n(91),s=n.n(l),c=n(23);i.a.extend(a.a),i.a.extend(s.a);const u=(e,t)=>Number.isNaN(Date.parse(e))?"":i()(e).tz("America/New_York").format(t),d=(e,t,n)=>{var r;const i=Object(c.b)(n||""),o=Object(c.b)(e);return(null==t||null===(r=t.timestamp)||void 0===r?void 0:r.isUpdated)&&n?{date:`${i} ET`,updatedDate:`${o} ET`}:{date:n&&Object(c.g)(e,n,"minute")?`${i} ET`:`${o} ET`}},p=(e,t)=>i()(`${e} ${t}`).tz("America/New_York",!0).toDate().getTime()||0,m=e=>{if(!e)return[];const t=new Date(e),n=null==t?void 0:t.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0});if((e=>{const t=new Date;return t.getDate()===e.getDate()&&t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()})(t))return["Today",`at ${n}`];const r=e-Date.now();if(r<0)return["",""];const i=Math.floor(r/36e5);if(i<48){return[`in ${i} ${1===i?"hour":"hours"}`,`at ${n}`]}const o=Math.floor(r/864e5);return[`in ${o} ${1===o?"day":"days"}`,`at ${n}`]},f=e=>{const t=new Date(e);return`${t.toLocaleDateString("default",{month:"short"})} ${t.getDate()+(e=>{const t=e%10;if(1===Math.floor(e/10%10))return"th";switch(t){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(t.getDate())}`}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return v})),n.d(t,"b",(function(){return g})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return x}));var r=n(58),i=n.n(r),o=n(22);var a=({idOrURL:e,owner:t="pmn"})=>i()({method:"GET",url:`https://api.${t}.arcpublishing.com/signing-service/v2/sign/resizer/1?value=${encodeURIComponent(e)}`,headers:{Authorization:`Bearer ${"pmn"===t?o.ARC_ACCESS_TOKEN_PROD:o.ARC_ACCESS_TOKEN}`}}).then((({data:e})=>e.hash)),l=n(109);const s={DEFAULT_RESIZER_WIDTH:760},c=(e,t,n=void 0)=>t.match(/([^[.\]])+/g).reduce(((e,t)=>e&&void 0!==e[t]?e[t]:n),e),u=(e,t,n)=>{const r=t.match(/([^[.\]])+/g);r.reduce(((e,t,i)=>(i===r.length-1?e[t]=n:e[t]&&"object"==typeof e[t]||(e[t]={}),e[t])),e)},d=(e="pmn")=>`https://${"pmn"===e?"www":"stage.fusion"}.inquirer.com/resizer/v2/`,p=async(e,t=void 0)=>{var n,r;const o=(null==e||null===(n=e.auth)||void 0===n?void 0:n[1])||"",l=(null==e?void 0:e.url)||"",s=(null==e||null===(r=e.owner)||void 0===r?void 0:r.id)||"pmn",c=(null==e?void 0:e._id)||"",u=d(s);if(!o)try{const e=await(async(e,t="pmn",n)=>{if(!n){const{data:n}=await i.a.get("/pf/api/v3/content/fetch/signing-service-cache-call",{params:{query:{idOrURL:e,owner:t},timeToken:Date.now()}});return n}return await n("image-token",a,{query:{idOrURL:e,owner:t},ttl:31536e3,independent:!1})})(c||l,s,t);return e?`${u}${encodeURIComponent(c?l.split("/").pop():l)}?auth=${e}`:l}catch(e){return l}return`${u}${l.split("/").pop()}?auth=${o}`},m=(e,t,n,r)=>`${e}&focal=${Math.round(r.max[0])},${Math.round(r.max[1])}${t?`&width=${t}`:""}${n?`&height=${n}`:""}`,f=(e,t,n,r)=>(null==r?void 0:r.max)?m(e,t,n,r):`${e}${t?`&width=${t}`:""}${n?`&height=${n}`:""}&smart=true`,b=(e,t,n)=>{var r,i,o;const a=(null==e?void 0:e.url)||"",l=(null==e||null===(r=e.auth)||void 0===r?void 0:r[1])||"";if(!(a&&l&&t&&n))return"";const s=(null==e||null===(i=e.owner)||void 0===i?void 0:i.id)||"pmn",c=`${d(s)}${a.split("/").pop()}?auth=${l}`,u=(null==e||null===(o=e.additional_properties)||void 0===o?void 0:o.focal_point)||null;return f(c,t,n,u)},h=async(e,t=s.DEFAULT_RESIZER_WIDTH,n=0,r=null,i=void 0)=>{var o;if(!e.url)return"";if(0===n&&(n=Math.round(2*t/3,10)),n&&r)switch(r){case"3x2":n=Math.round(2*t/3,10);break;case"1x1":n=t;break;case"16x9":n=Math.round(9*t/16,10);break;case"1.91x1":n=Math.round(t/1.91,10);break;case"2x3":n=Math.round(3*t/2,10)}const a=(null==e||null===(o=e.additional_properties)||void 0===o?void 0:o.focal_point)||null;try{const r=await p(e,i);return r===e.url?e.url:f(r,t,n,a)}catch(t){return console.error("Generate resized image failed",t.message),e.url}},v=async(e,t,n,r,i=!0,o=void 0)=>{if(!e.url||!t)return"";const a=(null==e?void 0:e.height)||0,l=(n||[1400,1200,1100,1e3,900,800,700,600,400]).filter((e=>e{const l=await h(e,n,((e,t,n,r)=>!1===r?Math.round(t*n/e,10):0)(t,a,n,i),r,o);return`${l} ${n}w`})));return s.join(",")},g=async(e,t=void 0)=>{var n,r;(null==e||null===(n=e.credits)||void 0===n||null===(r=n.by)||void 0===r?void 0:r.length)>0&&await Promise.all(e.credits.by.map((async e=>{var n;(null==e||null===(n=e.image)||void 0===n?void 0:n.url)&&(e.image.url=await h(e.image,96,96,null,t))})))},j=async(e,t,n=void 0,{width:r=s.DEFAULT_RESIZER_WIDTH,srcSetWidths:i=l.a,ratio:o=null}={})=>{const a=c(e,t,"");if(a)if("image"===a.type){const[l,s]=await Promise.all([v(a,a.width,i,o,!0,n),h(a,r,0,o,n)]);u(e,`${t}.imgSrcSet`,l),u(e,`${t}.imageWebUrl`,s),u(e,`${t}.image_srcset`,l),u(e,`${t}.src`,s)}else if("video"===a.type){const l=c(a,"promo_image",""),[s,d]=await Promise.all([v(l,l.width,i,o,!0,n),h(l,r,0,o,n)]);u(e,`${t}.image_srcset`,s),u(e,`${t}.url`,d)}return e},y=async(e,t=void 0,{srcSetWidths:n=l.a,ratio:r=null,width:i=s.DEFAULT_RESIZER_WIDTH}={})=>{const o=c(e,"promo_items.social.additional_properties.focal_point",null),a=null==(u=o)||"object"==typeof u&&0===Object.keys(u).length?r:"16x9";var u;return await Promise.all([j(e,"promo_items.basic",t,{srcSetWidths:n,ratio:r,width:i}),j(e,"promo_items.lead_art",t,{srcSetWidths:n,ratio:r}),j(e,"promo_items.promo",t,{srcSetWidths:n,ratio:r}),j(e,"promo_items.video",t,{srcSetWidths:n,ratio:r,width:i}),j(e,"promo_items.social",t,{srcSetWidths:n,ratio:a,width:i}),j(e,"promo_items.longform",t,{srcSetWidths:n,ratio:r,width:i}),j(e,"promo_items.vertical",t,{srcSetWidths:n,ratio:"2x3",width:i}),a!==r?j(e,"promo_items.facebook",t,{srcSetWidths:n,ratio:"1.91x1",width:i}):Promise.resolve()]),e},x=async(e,t=!1,n=s.DEFAULT_RESIZER_WIDTH,r=0,i=!0,o=void 0)=>{try{const l=await p(e,o);if(l===e.url)return e.url;if(t){var a;const t=(null==e||null===(a=e.additional_properties)||void 0===a?void 0:a.focal_point)||null;return 0===r&&i&&(r=Math.round(2*n/3,10)),(null==t?void 0:t.max)?m(l,n,r,t):`${l}${n?`&width=${n}`:""}${r?`&height=${r}`:""}&smart=true`}return`${l}${n?`&width=${n}`:""}${r?`&height=${r}`:""}`}catch(t){return console.error("Generate resized image failed",t.message),e.url}}},function(e,t,n){e.exports=n(374)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(1);const i=Object(r.createContext)({user:void 0,setUser:e=>{},excludeInBodyAds:!1,setExcludeInBodyAds:e=>{},appBarRef:null,lightLandingArticleRef:null}),o=()=>Object(r.useContext)(i)},function(e,t,n){"use strict";n.d(t,"b",(function(){return f})),n.d(t,"h",(function(){return b})),n.d(t,"k",(function(){return h})),n.d(t,"c",(function(){return v})),n.d(t,"g",(function(){return g})),n.d(t,"e",(function(){return j})),n.d(t,"d",(function(){return y})),n.d(t,"i",(function(){return _})),n.d(t,"j",(function(){return C})),n.d(t,"a",(function(){return k})),n.d(t,"f",(function(){return S}));var r=n(6),i=n(28),o=n(116),a=n(23),l=n(10),s=n(15),c=n(19);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{var o,a;const l=Object(r.l)(e);return d({},t&&{"data-feed-length":t},{},n&&{"data-card-index":n},{},i&&{"data-card-location":i},{"data-feed-provenance":(null==e?void 0:e.provenance)||"arc-taxonomy","data-card-type":l,"data-card-content-id":null==e?void 0:e._id,"data-card-author":(v=null==e||null===(o=e.credits)||void 0===o?void 0:o.by,null==v?void 0:v.map((e=>{var t,n;return(null==e||null===(t=e.additional_properties)||void 0===t||null===(n=t.original)||void 0===n?void 0:n.byline)||(null==e?void 0:e.name)})).join("|")),"data-card-content-title":null==e||null===(a=e.headlines)||void 0===a?void 0:a.basic,"data-card-content-section":(s=null==e?void 0:e.taxonomy,null!==(f=null===(b=(null!==(c=null!==(u=null==s||null===(p=s.primary_section)||void 0===p?void 0:p.additional_properties)&&void 0!==u?u:null==s||null===(m=s.primary_site)||void 0===m?void 0:m.additional_properties)&&void 0!==c?c:{}).original)||void 0===b||null===(h=b.Analytics)||void 0===h?void 0:h.analytics_channel)&&void 0!==f?f:"")});var s,c,u,p,m,f,b,h,v},b=(e,t,n)=>({arc_environment:"fusion",autoRefresh:!1,chain_layout:e,chartbeatDomain:"prod"!==t?"dev.philly.com":"inquirer.com",id:n,parselydomain:`${"prod"!==t?t:""}.philly.com`,section_primary:"homepage",title:"Homepage",content_type:"front",content_subtype:"No Value Set"}),h=(e,t,n,r,i="front")=>{var o,a,l;const s=(null==e||null===(o=e.Analytics)||void 0===o?void 0:o.analytics_channel)||m,c=(null==e||null===(a=e.ancestors)||void 0===a?void 0:a.plans)&&(null==e||null===(l=e.ancestors)||void 0===l?void 0:l.plans[1])||s,u=e._id.split("/")||m,d=u.length>2?u[2]:u[1]||m,p=["topic","front"].includes(i)?null==e?void 0:e.name:null==e?void 0:e.newsletter_title;return{arc_environment:"fusion",sub_section:0===c.indexOf("/")?c.slice(1):c,sub_sub_section:d,sections:null==e?void 0:e._id,section_primary:s,title:p||m,autoRefresh:!1,chain_layout:t,chartbeatDomain:"prod"!==n?"dev.philly.com":"inquirer.com",id:r||m,parselydomain:`${"prod"!==n?n:""}.philly.com`,content_type:i,content_subtype:m}},v=(e="",t=m,n="",r="")=>{var i,o;const a=(null===(i=window)||void 0===i||null===(o=i.location)||void 0===o?void 0:o.pathname)||"",l=""===t?m:t,s="custom"===l,c="author"===l,u="topic"===l,d=a.split("/").filter((e=>e));let p=m;d.length>0&&(u||c)&&(p=d[d.length-1]);return{arc_environment:"fusion",sub_section:p,sub_sub_section:c?m:p,sections:a,section_primary:s?m:l,title:e,chartbeatDomain:"prod"!==n?"dev.philly.com":"inquirer.com",id:r,parselydomain:`${"prod"!==n?n:""}.philly.com`,content_type:s?"admin":l,content_subtype:m}},g=(e,t)=>({arc_environment:"fusion",content_subtype:"search",content_type:"search",id:t,section_primary:"search",sections:"/search/",sub_section:"search",sub_sub_section:"search",title:e}),j=(e,t)=>{const{phillyTeam:n,otherTeam:r}=Object(o.i)(t),i=null==e?void 0:e.find((e=>"UTC"===(null==e?void 0:e.dateType))),l=i&&i.full?(s=new Date(i.full),`${Object(a.e)(s,!0)} ${s.getDate()}, ${s.getFullYear()}`):"";var s;return`${Object(o.g)(n)} vs. ${Object(o.g)(r)} - Live Updates - ${l}`},y=(e,t,n,r)=>{var i,o;const a=((null===(i=window)||void 0===i||null===(o=i.location)||void 0===o?void 0:o.pathname)||"").split("/").filter((e=>e)),l=(null==a?void 0:a.length)>0?a[0]:"";return{arc_environment:"fusion",autoRefresh:!1,chain_layout:t,chartbeatDomain:"prod"!==n?"dev.philly.com":"inquirer.com",content_subtype:"subtype-gameday",content_type:"front",id:r,scrollUser:!1,section_primary:"sports",sections:`/${l}`,sub_section:l,sub_sub_section:l,title:e}},x=({globalProps:e,packageId:t,components:n,customPackageSection:r,customPackageLabel:o,customPackageType:a,customPackageIndex:l,customPackageLocation:s})=>{const{customFields:c,globalContent:u,type:d,metaValue:p}=e,m=s||Object(i.g)(u,p),f=r||Object(i.i)(d,c,n,t),b=null!=l?l:Object(i.h)(n,t),h=o||Object(i.f)(e,n,b);return{package_section:f,package_type:a||Object(i.j)(e,n,b),package_index:b,package_label:h,package_location:m,package_provenance:"arc-taxonomy"}},O=new Set,w=new Set,_=(e,t,n,r,i,o,a,l,s,c)=>{var u,p;if(!t||!n||!Array.isArray(r)||O.has(n))return;const f="homepage"===(null==e||null===(u=e.metaValue)||void 0===u||null===(p=u.call(e,"pagetype"))||void 0===p?void 0:p.toLowerCase());new IntersectionObserver(((t,o)=>{t.forEach((t=>{if(t.isIntersecting&&"undefined"!=typeof window&&!O.has(n)){const u=x({globalProps:e,packageId:n,components:r,customPackageSection:i,customPackageLabel:a,customPackageType:l,customPackageIndex:s,customPackageLocation:c}),p=null==u?void 0:u.package_label;if(f&&(w.has(p)||p===m))return;window.PMNdataLayer.push(d({event:"package_view"},u)),O.add(n),w.add(p),o.unobserve(t.target)}}))}),{threshold:o||.2}).observe(t)},C=(e,t,n,r,i,o,a,l,s)=>{if(!t||!Array.isArray(n)||!r||"undefined"==typeof window)return;const c=x({globalProps:e,packageId:t,components:n,customPackageSection:i,customPackageLabel:o,customPackageType:a,customPackageIndex:l,customPackageLocation:s});window.PMNdataLayer.push(d({event:"package_click"},c,{click_url:r}))},k=({globalProps:e,packageElement:t,packageId:n,components:r})=>{const i=[],o=new MutationObserver((o=>{let a="",s=[];if(o.forEach((e=>{"childList"===e.type&&e.addedNodes.forEach((e=>{if(e instanceof HTMLElement){var t,n,r;const i=(null===(t=e.getElementsByClassName("type-section-header-2"))||void 0===t||null===(n=t[0])||void 0===n||null===(r=n.textContent)||void 0===r?void 0:r.trim())||"",o=[...e.getElementsByClassName("inq-card-wrapper")];i&&(a=i),(null==o?void 0:o.length)>0&&(s=[...s,...o])}}))})),!a)return;_(e,t,n,r,void 0,void 0,a);const c=(({globalProps:e,packageId:t,components:n,customPackageSection:r,customPackageLabel:i,packageCards:o})=>{const a=[],s=Object(l.c)();return o.forEach((o=>{var l;const c=[...o.querySelectorAll("a[href]")],u=(null==c||null===(l=c[0])||void 0===l?void 0:l.href)||"",d=new URL(u,s),p=(null==d?void 0:d.pathname)||"";if(!p)return;const{package_location:m,package_label:f}=x({globalProps:e,packageId:t,components:n,customPackageSection:r,customPackageLabel:i});c.forEach((e=>{var t;const n=`${null==m?void 0:m.toLowerCase()}-${null==f||null===(t=f.toLowerCase())||void 0===t?void 0:t.replace(/\s/g,"-")}`;e.setAttribute("data-link-type",n)}));const b=()=>{C(e,t,n,p,r,i)};o.addEventListener("click",b,{capture:!0}),a.push((()=>{o.removeEventListener("click",b,{capture:!0})}))})),a})({globalProps:e,packageId:n,components:r,customPackageLabel:a,packageCards:s});i.push(...c)}));return o.observe(t,{childList:!0,subtree:!0}),{observer:o,listOfRemoveEventListeners:i}},S=(e,t,n,r,i)=>{Object(l.h)(e,"homepage")&&Object(s.j)(b(i,n,r)),Object(l.h)(e,"section")&&Object(s.j)(h(d({},t),i,n,r)),Object(l.i)(e)&&Object(s.j)(h(d({},t,{_id:"/sports",Analytics:{analytics_channel:"sports"},name:"Sports",ancestors:{plans:["/"]}}),i,n,r)),Object(l.h)(e,"topic")&&Object(s.j)(v(Object(c.c)(),"topic",n,r)),Object(l.h)(e,"newsletters")&&Object(s.j)(v(Object(c.c)(),"admin",n,r)),Object(l.h)(e,"author")&&Object(s.j)(v((null==t?void 0:t.byline)||Object(c.c)(),"author",n,r)),Object(l.h)(e,"gameday-central")&&Object(s.j)(y(j((null==t?void 0:t.startDate)||"",(null==t?void 0:t.teams)||[]),i,n,r)),Object(l.h)(e,"newsletters-signup")&&Object(s.j)(h(d({},t),i,n,r,"admin")),Object(l.h)(e,"podcasts")&&Object(s.j)(h(d({},t,{name:Object(c.c)()}),i,n,r,"topic")),Object(l.h)(e,"custom")&&Object(s.j)(v(Object(c.c)(),"custom",n,r))}},function(e,t,n){"use strict";var r=n(224),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function l(e){return null!==e&&"object"==typeof e}function s(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function f(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(r)return F(e).length;t=(""+t).toLowerCase(),r=!0}}function b(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return N(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function h(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var o,a=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,l/=2,s/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;ol&&(n=l-s),o=n;o>=0;o--){for(var d=!0,p=0;pi&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[i+1]))&&(s=(31&c)<<6|63&o)>127&&(u=s);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(s=(15&c)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:o=e[i+1],a=e[i+2],l=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&l)&&(s=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&l)>65535&&s<1114112&&(u=s)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},s.prototype.compare=function(e,t,n,r,i){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),l=Math.min(o,a),c=this.slice(r,i),u=e.slice(t,n),d=0;di)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return j(this,e,t,n);case"utf8":case"utf-8":return y(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return O(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function N(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,i,o){if(!s.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function A(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function I(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function D(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,o){return o||D(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function $(e,t,n,r,o){return o||D(e,0,n,8),i.write(e,t,n,r,52,8),n+8}s.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},s.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},s.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,255,0),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=0,a=1,l=0;for(this[t]=255&e;++o>0)-l&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var o=n-1,a=1,l=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===l&&0!==this[t+o+1]&&(l=1),this[t+o]=(e/a>>0)-l&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,127,-128),s.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):A(this,e,t,!0),t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):A(this,e,t,!1),t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),s.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},s.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return $(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return $(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function V(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(q,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(86))},function(e,t,n){"use strict";let r;n.d(t,"a",(function(){return r})),function(e){e.SINGLE="single",e.SINGLE_ASSETS="single-assets",e.SINGLE_ASSETS_GROUP_LEFT="single-assets-group-left",e.SINGLE_ASSETS_GROUP_RIGHT="single-assets-group-right",e.SINGLE_ASSETS_SIDE_GROUP="side-by-side-group"}(r||(r={}))},,,function(e,t,n){"use strict";var r,i,o,a,l;Object.defineProperty(t,"__esModule",{value:!0}),t.Video=t.GameStatus=t.StackedHeadLinePanelName=t.HeadlineFontSize=t.RelatedStoriesVersion=t.ThemeColor=void 0,function(e){e.Green="#21d278",e.Orange="#ff641e",e.Blue="#1a6aff",e.White="#ffffff",e.Yellow="#fffaef",e.Gray="#dcdcdc"}(r||(t.ThemeColor=r={})),function(e){e[e.Version1=1]="Version1",e[e.Version2=2]="Version2"}(i||(t.RelatedStoriesVersion=i={})),function(e){e.smallest="text-lg",e.small="text-xl",e.base="text-2.5xl",e.big="text-3.5xl",e.biggest="text-5xl"}(o||(t.HeadlineFontSize=o={})),function(e){e.OursPicks="latest_headline_our_picks",e.Trending="latest_headline_trending",e.LatestHeadline="latest_headline_latest_headline"}(a||(t.StackedHeadLinePanelName=a={})),function(e){e[e.PreGame=1]="PreGame",e[e.InProgress=2]="InProgress",e[e.Final=4]="Final",e[e.Postponed=5]="Postponed",e[e.Canceled=9]="Canceled",e[e.Delayed=23]="Delayed",e[e.Suspended=6]="Suspended",e[e.VacatedByBothTeams=13]="VacatedByBothTeams"}(l||(t.GameStatus=l={}));var s=function(){};t.Video=s},function(e,t,n){"use strict";n(1);var r=n(16),i=n(241),o=n(0);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>t=>{let n={};const s={};if("undefined"==typeof window)n=Object(r.useContent)({source:"fusion-env"});else{var c,u;const e=null===(c=window)||void 0===c||null===(u=c.document)||void 0===u?void 0:u.getElementById("stream-context");e&&(n=JSON.parse(e.textContent||"{}"))}return n&&Object.keys(n).forEach((e=>{"_id"!==e&&(s[e]=Object(i.a)(n[e]))})),Object(o.jsx)(e,function(e){for(var t=1;t"undefined"!=typeof window&&void 0!==window.localStorage&&window.localStorage.getItem(e)||"",i=e=>{"undefined"!=typeof window&&void 0!==window.localStorage&&window.localStorage.removeItem(e)},o=(e,t)=>{"undefined"!=typeof window&&void 0!==window.localStorage&&window.localStorage.setItem(e,t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"f",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"h",(function(){return l})),n.d(t,"g",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return d}));var r=n(6);const i={CONTENT_BODYTEXT_IMAGE:"content_bodytext_image",CONTENT_SUBHEAD_BODYTEXT:"content_subhead_bodytext",END_AUTHORS_STORIES:"end_authors_stories",END_SUBHEAD_TEXT_AUTHORS_STORIES:"end_subhead_text_authors_stories"},o=e=>[i.END_AUTHORS_STORIES,i.END_SUBHEAD_TEXT_AUTHORS_STORIES].includes(e),a=e=>{const t=[];return(null==e?void 0:e.email)&&t.push({site:"email",url:null==e?void 0:e.email}),(null==e?void 0:e.twitter)&&t.push({site:"twitter",url:null==e?void 0:e.twitter}),(null==e?void 0:e.instagram)&&t.push({site:"instagram",url:null==e?void 0:e.instagram}),(null==e?void 0:e.bluesky)&&t.push({site:"bluesky",url:null==e?void 0:e.bluesky}),(null==e?void 0:e.threads)&&t.push({site:"threads",url:null==e?void 0:e.threads}),t},l=e=>{window.PMNdataLayer.push({event:e.event,userInteraction:e.userInteraction,interactionType:"click",interactionDetail:e.interactionDetail})},s=(e,t,n)=>{var i,o;window.PMNdataLayer.push({event:"swipeable_story_views",card_type:"swipeable_story",card_author:Object(r.e)(e),card_content_id:e._id,card_section:(null===(i=Object(r.p)(e.taxonomy))||void 0===i?void 0:i[0])||"No Value Set",card_title:null==e||null===(o=e.headlines)||void 0===o?void 0:o.basic,feed_length:String(t),card_index:String(n)})},c=e=>{const t=[],n=null==e?void 0:e.reduce(((e,n)=>{var r;const i=null==n||null===(r=n.additional_properties)||void 0===r?void 0:r.cardId;return i&&(e[i]?e[i].push(n):(t.push(i),e[i]=[n])),e}),{});return{slideOrder:t,contentElementsBySlideId:n}},u=e=>null==e?void 0:e.reduce(((e,t)=>("image"===t.type?e.images.push(t):e.content.push(t),e)),{images:[],content:[]}),d=e=>{var t;return null==e||null===(t=e.filter((e=>{var t;return"authors"===(null==e||null===(t=e.additional_properties)||void 0===t?void 0:t.fieldId)})))||void 0===t?void 0:t.map((e=>null==e?void 0:e.content))}},,function(e,t,n){(function(t){var r;e.exports=(r=r||function(e,r){var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),"undefined"!=typeof self&&self.crypto&&(i=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==t&&t.crypto&&(i=t.crypto),!i)try{i=n(394)}catch(e){}var o=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof i.randomBytes)try{return i.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},a=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),l={},s=l.lib={},c=s.Base={extend:function(e){var t=a(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=s.WordArray=c.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=t!=r?t:4*e.length},toString:function(e){return(e||p).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var l=0;l>>2]=n[l>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new u.init(n,t/2)}},m=d.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new u.init(n,t)}},f=d.Utf8={stringify:function(e){try{return decodeURIComponent(escape(m.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return m.parse(unescape(encodeURIComponent(e)))}},b=s.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,l=o/(4*a),s=(l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0))*a,c=e.min(4*s,o);if(s){for(var d=0;de&&[r.WHITE_ON_BLACK,r.WHITE_ON_TRANSPARENT].includes(e),o=(e,t)=>[r.BLACK_ON_TRANSPARENT,r.WHITE_ON_TRANSPARENT].includes(e)&&!t?"bg-transparent":i(e)?"bg-primary":"bg-white",a=e=>i(e)?"text-white":"text-black"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),i=n(19);const o=()=>{const e=Object(r.useRef)(null);return Object(r.useEffect)((()=>()=>{null!==e.current&&(e.current(),e.current=null)}),[]),Object(r.useCallback)(((t,n=300)=>{null!==e.current&&e.current(),e.current=Object(i.f)(t,n)}),[])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"e",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"g",(function(){return m})),n.d(t,"f",(function(){return f}));var r=n(17),i=n(12);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=(e,t)=>(2===e?"hidden sm:block lg:hidden":"")||(e===t?"block sm:hidden lg:block":""),s=(e,t)=>(null==t?void 0:t.state)===r.a.LOGGED_IN?`https://www.inquirer.com/${e?"subscribe_loggedin":"subscribe_loggedin_test"}/`:`https://www.inquirer.com/${e?"subscribe_today":"subscribe_test"}/`,c=e=>e.filter((e=>"Sign out"!==e.name)),u=(e,t,n)=>e?t?(n||(r.c[1].path="https://inquirer--qa.sandbox.my.site.com/subscribers/login?so=00D290000001GQi",r.c[2].path=r.c[1].path),c(r.c)):c(r.b):c(r.d),d=(e,t,r,i=!1)=>{Promise.all([n.e(0),n.e(1),n.e(4),n.e(7),n.e(10)]).then(n.bind(null,223)).then((n=>n.loadThirdParties(e,t,r,i))).catch((e=>console.error("Error when load module",e)))},p=(e,t,r)=>{Promise.all([n.e(0),n.e(1),n.e(4),n.e(7),n.e(10)]).then(n.bind(null,223)).then((n=>n.loadThirdPartiesLightForSophi(e,t,r))).catch((e=>console.error("Error when load module",e)))},m=()=>{Promise.all([n.e(0),n.e(1),n.e(4),n.e(7),n.e(10)]).then(n.bind(null,223)).then((e=>e.loadSophiModule())).catch((e=>console.error("Error when load module",e)))},f=(e,t)=>{Promise.all([n.e(0),n.e(44),n.e(54)]).then(n.t.bind(null,170,7)).then((({LoginService:n})=>{const r=e||{},l=new n({env:r.ENV,auth0Config:{clientId:r.AUTH0_CLIENTID,rootDomain:r.AUTH0_DOMAIN,auth0BaseUrl:r.AUTH0_BASE_URL},googleConfig:{clientId:r.GOOGLE_CLIENT_ID,redirectUri:"prod"===r.ENV?i.b:`https://${"dev"===r.ENV?"dev":"stage"}.fusion.inquirer.com`}});window.services=function(e){for(var t=1;tconsole.error("Error on loading Login service module",e)))}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(1),i=n(31),o=n(0);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=({children:e,leading:t=!1,dropcap:n=!1,summary:s=!1,additionalAttrs:c,customClasses:u="",isDarkMode:d})=>{const p=Object(r.useMemo)((()=>s?`inq-p--summary type-article-tease my-0 mx-auto max-w-[542px] md:max-w-[813px] lg:max-w-[980px] ${d?i.a:"text-secondary"} ${u}`:`inq-p${!1!==n?" inq-p--has-dropcap":""}${t?" inq-p--leading":""} ${d?i.a:"text-primary"} ${u}`),[s,d,n,t,u]),m=Object(r.useMemo)((()=>`${e}`.replace(/null==e?void 0:e.replace(/"/g,'\\"'),i=e=>null==e?void 0:e.replace(/\"/g,""")},,function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,c=[],u=!1,d=-1;function p(){u&&s&&(u=!1,s.length?c=s.concat(c):d=-1,c.length&&m())}function m(){if(!u){var e=l(p);u=!0;for(var t=c.length;t;){for(s=c,c=[];++d1)for(var n=1;nObject(s.jsx)("div",{className:`inq-icon inq-icon--share inq-icon--${e}`,children:Object(s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[Object(s.jsx)("title",{children:"Share Icon"}),Object(s.jsx)("path",{d:"M13.576 17.271L8.46602 14.484C7.97551 14.9709 7.35183 15.3017 6.67361 15.4346C5.99538 15.5676 5.29298 15.4968 4.65494 15.2311C4.01691 14.9654 3.47181 14.5168 3.08837 13.9418C2.70492 13.3668 2.50031 12.6911 2.50031 12C2.50031 11.3089 2.70492 10.6332 3.08837 10.0582C3.47181 9.48317 4.01691 9.03455 4.65494 8.76889C5.29298 8.50322 5.99538 8.43241 6.67361 8.56536C7.35183 8.69832 7.97551 9.02909 8.46602 9.51599L13.576 6.72899C13.4008 5.90672 13.5273 5.04885 13.9326 4.31224C14.3379 3.57563 14.9948 3.00952 15.7831 2.71742C16.5715 2.42532 17.4386 2.42676 18.226 2.72147C19.0134 3.01619 19.6684 3.58448 20.0712 4.32243C20.4741 5.06037 20.5978 5.91866 20.4198 6.74034C20.2418 7.56202 19.774 8.29218 19.1019 8.79729C18.4298 9.3024 17.5984 9.54871 16.7596 9.49119C15.9209 9.43366 15.1308 9.07613 14.534 8.48399L9.42402 11.271C9.52595 11.7516 9.52595 12.2483 9.42402 12.729L14.534 15.516C15.1308 14.9238 15.9209 14.5663 16.7596 14.5088C17.5984 14.4513 18.4298 14.6976 19.1019 15.2027C19.774 15.7078 20.2418 16.438 20.4198 17.2596C20.5978 18.0813 20.4741 18.9396 20.0712 19.6776C19.6684 20.4155 19.0134 20.9838 18.226 21.2785C17.4386 21.5732 16.5715 21.5747 15.7831 21.2826C14.9948 20.9905 14.3379 20.4243 13.9326 19.6877C13.5273 18.9511 13.4008 18.0933 13.576 17.271Z",fill:t?"white":"black"})]})});var u=n(246),d=n(123),p=n(253);const m=({size:e="small",color:t="black",customClass:n="",width:r="12",height:i="12"})=>Object(s.jsx)("div",{className:`inq-icon inq-icon--share-forward inq-icon--${e}${n}`,children:Object(s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:i,viewBox:"0 0 12 12",fill:"none",children:Object(s.jsx)("path",{d:"M6.5 7H5.5C4.6798 6.99969 3.87512 7.22357 3.17294 7.64745C2.47076 8.07133 1.8978 8.67908 1.516 9.405C1.50527 9.27027 1.49993 9.13516 1.5 9C1.5 6.2385 3.7385 4 6.5 4V1.25L11.75 5.5L6.5 9.75V7ZM5.5 6H7.5V7.654L10.1605 5.5L7.5 3.346V5H6.5C5.92513 4.99935 5.3569 5.12291 4.8342 5.36221C4.31149 5.60151 3.84666 5.95091 3.4715 6.3865C4.11716 6.13061 4.80548 5.99946 5.5 6Z",fill:t})})});var f=n(31),b=n(37);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;te?`gap-2 px-4 py-2 h-8 border-solid ${j}`:`gap-0 px-0 py-0 sm:gap-2 sm:px-4 sm:py-2 h-auto sm:h-8 border-none sm:border-solid ${j}`;class S extends i.a.Component{constructor(e){super(e),this.buttonRef=i.a.createRef(),this.handleKeywordKeyPress=e=>{const t=document.querySelector(".inq-popup-menu button:last-child");("Tab"===e.key&&document.activeElement&&t&&document.activeElement.getAttribute("aria-label")===t.getAttribute("aria-label")||"Escape"===e.key)&&this.state.menuOpen&&(e.preventDefault(),this.buttonRef.current.focus(),setTimeout((()=>this.buttonRef.current.click()),1))},this.getArticleUrl=()=>`https://www.inquirer.com${this.props.articleCanonicalUrl||""}`,this.copyLinkToClipboard=()=>{const e=document.createElement("textarea");e.setAttribute("style","height:1px;"),e.value=this.getArticleUrl(),document.body.append(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this.setState({menuOpen:!1,showToast:!0}),this.props.usePMNdataLayerEvent&&this.pushClickEventToDataLayer("link")},this.openLinkAndCloseMenu=(e,t,n)=>{window.open(e,"",n?"toolbar=0,status=0,scrollbars=1,width=626,height=436":void 0),this.setState({menuOpen:!1}),this.props.usePMNdataLayerEvent&&this.pushClickEventToDataLayer(t)},this.encodeUTM=e=>encodeURIComponent(`${this.getArticleUrl()}${e}`),this.getShareOptions=()=>{var e;const t=encodeURIComponent(this.props.articleTitle),n={facebook:`${Object(f.d)("facebook",{text:this.encodeUTM(y)})}`,twitter:`${Object(f.d)("twitter",{text:t+"%20"+this.encodeUTM(x)})}`,email:`${Object(f.d)("email",{subject:t,text:this.encodeUTM(O)})}`,bluesky:`${Object(f.d)("bluesky",{text:this.encodeUTM(w)})}`,threads:`${Object(f.d)("threads",{text:this.encodeUTM(_)})}`,whatsapp:`${Object(f.d)("whatsapp",{text:this.encodeUTM(C)})}`},r={copyLink:{name:"Copy Link",onClick:this.copyLinkToClipboard,icon:"link",lead:"Copy",ariaLabel:"Copy Link"},email:{name:"Email",onClick:()=>this.openLinkAndCloseMenu(n.email,"email",!1),icon:"email",lead:"Share via",ariaLabel:"Share via email"},facebook:{name:"Facebook",onClick:()=>this.openLinkAndCloseMenu(n.facebook,"facebook",!0),icon:"facebook",lead:"Share on",ariaLabel:"Share on Facebook"},twitter:{name:"X",onClick:()=>this.openLinkAndCloseMenu(n.twitter,"twitter",!0),icon:"twitter",lead:"Share on",ariaLabel:"Share on X"},bluesky:{name:"Bluesky",onClick:()=>this.openLinkAndCloseMenu(n.bluesky,"bluesky",!0),icon:"bluesky",lead:"Share on",ariaLabel:"Share on Bluesky"},threads:{name:"Threads",onClick:()=>this.openLinkAndCloseMenu(n.threads,"threads",!0),icon:"threads",lead:"Share on",ariaLabel:"Share on Threads"},whatsapp:{name:"WhatsApp",onClick:()=>this.openLinkAndCloseMenu(n.whatsapp,"whatsapp",!0),icon:"whatsapp",lead:"Share on",ariaLabel:"Share on WhatsApp"}};return(null===(e=this.props)||void 0===e?void 0:e.isV2)?[r.copyLink,r.email,r.facebook,r.twitter,r.bluesky,r.threads,r.whatsapp]:[v({},r.copyLink,{name:"link"}),r.facebook,r.twitter,r.email]},this.handleMouseDown=e=>{e.preventDefault(),this.state.menuOpen||this.buttonRef.current.focus()},this.handleMouseUp=e=>{e.preventDefault(),this.setState({menuOpen:!this.state.menuOpen})},this.handleBlur=e=>{const t=e.relatedTarget;t&&t.className.indexOf("inq-popup-menu__option")>-1||this.setState({menuOpen:!1})},this.state={menuOpen:!1,showToast:!1}}componentDidMount(){window.addEventListener("keydown",this.handleKeywordKeyPress.bind(this))}componentWillUnmount(){window.removeEventListener("keydown",this.handleKeywordKeyPress)}pushClickEventToDataLayer(e){window.PMNdataLayer&&window.PMNdataLayer.push({event:"ga-generic-event",userInteraction:this.props.userInteraction,interactionType:this.props.isVerticalPlayer?"vertical_video_story":"click",interactionDetail:e})}render(){var e,t,n,r,i,o,f;const h=this.props.isVerticalPlayer||!1,v=h||Object(b.b)();let g;return this.props.useDots?(g="inq-card-footer--controls",this.state.menuOpen&&(g+=" inq-card-footer--controls-open")):g=this.props.customClass||"inq-share__option inq-share__option--share",Object(s.jsxs)("div",{className:"inq-share "+(h?"!static":""),children:[Object(s.jsx)("div",{className:""+(this.props.useSimpleLink?"flex flex-row justify-end":"inq-share__options"),children:this.props.useSimpleLink?Object(s.jsx)("button",{className:g,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.copyLinkToClipboard,ref:this.buttonRef,"aria-label":"Share this story",children:Object(s.jsx)(l.a,{type:"link",size:"small",color:this.props.linkIconColor||"black"})}):Object(s.jsx)("button",{className:`${g} ${(null===(e=this.props)||void 0===e?void 0:e.isV2)?"outline-none":""}`,onBlur:this.handleBlur,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,ref:this.buttonRef,"aria-label":h?"Share video":"Share this story","aria-haspopup":"true","aria-expanded":this.state.menuOpen,children:this.props.useDots?Object(s.jsx)("div",{className:"inq-card-controls-dot"}):(null===(t=this.props)||void 0===t?void 0:t.isV2)?Object(s.jsxs)("button",{className:`${h?"bg-transparent cursor-pointer":k(this.props.isStoryStack)} `,children:[Object(s.jsx)(m,{type:"share",size:"none",width:(null===(n=this.props)||void 0===n?void 0:n.isStoryStack)||!v?"16":"24",height:(null===(r=this.props)||void 0===r?void 0:r.isStoryStack)||!v?"16":"24",isDarkMode:this.props.isDarkMode,customClass:" flex items-center",color:h?"white":"black"}),!h&&Object(s.jsx)("span",{className:"font-grot10 font-bold text-primary text-3.5 leading-4 "+((null===(i=this.props)||void 0===i?void 0:i.isStoryStack)?"block":"hidden sm:block"),children:"Share"})]}):Object(s.jsx)(c,{type:"share",size:"medium",isDarkMode:this.props.isDarkMode})})}),this.props.useSimpleLink?null:(null===(o=this.props)||void 0===o?void 0:o.isV2)?Object(s.jsx)(p.a,{type:"share",menuOpen:this.state.menuOpen,setMenuOpen:e=>this.setState({menuOpen:e}),options:this.getShareOptions(),isVerticalPlayer:h,isPopupLeftAligned:null===(f=this.props)||void 0===f?void 0:f.isPopupLeftAligned}):Object(s.jsx)(u.a,{menuOptions:this.getShareOptions(),open:this.state.menuOpen}),this.props.useSimpleLink?Object(s.jsx)("div",{className:"relative",children:Object(s.jsx)(d.a,{message:"Link copied",show:this.state.showToast,timedClose:!0,closeToast:()=>this.setState({showToast:!1}),customClasses:"!absolute !w-28 !-left-24 !py-1 !px-2 !h-auto !bg-shades-dark-green-30 !text-secondary-dark-green-dark !text-base !transition-opacity !ease-in"})}):"undefined"!=typeof document?a.a.createPortal(Object(s.jsx)(d.a,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:()=>this.setState({showToast:!1}),position:"bottom"}),document.body):Object(s.jsx)(d.a,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:()=>this.setState({showToast:!1}),position:"bottom"})]})}}},,function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(8),o=n(2),a=n.n(o),l=n(59),s=n(5),c=n(9),u=n(3),d=n(155),p=n(173),m=n(55),f=n(6),b=n(49),h=n(156),v=n(174),g=n(175),j=n(0);const y=({customFields:e,adIndex:t,articleTargeting:n})=>{const{globalContent:o,requestUri:a,outputType:y,metaValue:x}=Object(i.useAppContext)(),{user:O}=Object(l.b)(),{story:w}=Object(m.b)(),[_,C]=Object(r.useState)(!1),[k,S]=Object(r.useState)(!1),[N,L]=Object(r.useState)(!1),E=Object(r.useMemo)((()=>Object(c.i)(w)?o:w),[w,o]),P=Object(r.useMemo)((()=>n||(null==E?void 0:E.article_targeting)),[E,n]),T=Object(r.useMemo)((()=>null==e?void 0:e.adType),[e]),M=Object(r.useMemo)((()=>{var e,t;return null!==(e=null==P||null===(t=P.article_sections)||void 0===t?void 0:t.some((e=>e.toLowerCase().includes("opinion"))))&&void 0!==e&&e}),[P]),A=Object(r.useMemo)((()=>Object(s.Z)(null==E?void 0:E.subtype)),[null==E?void 0:E.subtype]),I=Object(r.useMemo)((()=>Object(u.l)(a)),[a]),D=Object(r.useMemo)((()=>{var e,t;return Object(s.hb)(null==E?void 0:E.subtype)||(null===(e=Object(f.n)(null==E?void 0:E.taxonomy))||void 0===e||null===(t=e._id)||void 0===t?void 0:t.includes("/sports/betting"))}),[null==E?void 0:E.subtype,null==E?void 0:E.taxonomy]),R=Object(r.useMemo)((()=>![u.a.ARTICLE_ANCHOR].includes(T)||T===u.a.ARTICLE_ANCHOR&&(A?I:M)),[T,A,I,M]),$=Object(r.useMemo)((()=>!!(Object(u.n)(T,{isPhillyFirst:Object(f.z)(null==E?void 0:E.subtype)})||!_&&(x("isPremium")&&!Object(c.k)(x)||!x("isPremium")&&1!==(null==O?void 0:O.hasAdsFreeReading)))),[T,null==E?void 0:E.subtype,x,_,O]),q=Object(r.useMemo)((()=>Object(c.b)(y)),[y]),B=Object(r.useMemo)((()=>u.d.includes(T)),[T]),F=Object(r.useMemo)((()=>Object(u.i)(T)),[T]),V=Object(r.useMemo)((()=>u.e.has(T)),[T]),H=!0===(null==e?void 0:e.pushdownMode)&&T===u.a.ARTICLE_TOP_BANNER_MASTHEAD&&N,U=Object(h.a)(T,t,void 0,!1,!0===(null==e?void 0:e.forceFreestarTopBanner));Object(v.a)(H?T:"","pushdown");const z=Object(g.a)(B?null==U?void 0:U.slotId:void 0),G=Object(r.useMemo)((()=>{var e;if(B)return Object(u.j)(T,H,z);if(V)return"sticky top-[60px]";return null!==(e={[u.a.ARTICLE_CUBE]:"my-5",[u.a.ARTICLE_RIGHT_RAIL_STICKY_LIVEBLOG]:"hidden lg:block",[u.a.RESTAURANT_LEADER]:"arc-ad-wrapper my-0 hidden lg:block lg:min-h-[90px] lg:my-5",[u.a.STORYSTACK_LEADER]:"w-full lg:my-15 py-4 sm:py-10 lg:py-12 lg:bg-neutral-ui-background"}[T])&&void 0!==e?e:""}),[B,V,T,H,z]);return Object(r.useEffect)((()=>{L(Object(c.d)())}),[]),Object(r.useEffect)((()=>(q&&window.addEventListener("user-data-change",(()=>C(Object(c.j)()))),()=>{window.removeEventListener("user-data-change",(()=>C(Object(c.j)())))})),[q]),Object(r.useEffect)((()=>{q&&!k&&(S(!0),C(Object(c.j)()))}),[q,k]),!R||D||q&&!u.c.includes(T)||!$?null:U?U.placementName===b.b&&!0!==(null==e?void 0:e.forceFreestarTopBanner)?null:T===u.a.ARTICLE_ANCHOR?Object(j.jsx)(p.a,{slotId:U.slotId,adType:T}):Object(j.jsxs)("div",{"data-ad-name":T,className:`text-center container-column ${G}`,children:[Object(j.jsx)(d.a,{adType:T,mastheadAbsolute:B}),Object(j.jsx)("div",{className:"container-row justify-center "+(B?"w-full z-1":""),children:Object(j.jsx)("div",{className:`arcad bg-none my-0 mx-auto min-h-0 min-w-0 ad-responsive text-center ${F}`,children:Object(j.jsx)("div",{id:U.slotId})})})]}):null};y.propTypes={customFields:a.a.shape({adType:a.a.oneOf([u.a.ARTICLE_ONEPIXEL,u.a.ARTICLE_RIGHT_RAIL_BOTTOM_STICKY,u.a.ARTICLE_CUBE,u.a.ARTICLE_RIGHT_RAIL_STICKY,u.a.ARTICLE_RIGHT_RAIL_STICKY_2,u.a.ARTICLE_RIGHT_RAIL_3,u.a.ARTICLE_RIGHT_RAIL_STICKY_LIVEBLOG,u.a.ARTICLE_ANCHOR,u.a.ARTICLE_TOP_LEADERBOARD,u.a.ARTICLE_RAIL5,u.a.ARTICLE_LIVEBLOG_INLINE,u.a.GALLERY_MREC,u.a.PHILLY_FIRST_TOP_BANNER_ARTICLE,u.a.PHILLY_FIRST_RIGHT_RAIL_ARTICLE,u.a.PHILLY_FIRST_LEADER,u.a.RESTAURANT_RAIL_1,u.a.RESTAURANT_RAIL_2,u.a.RESTAURANT_LEADER,u.a.ARTICLE_NATIVE_IN_FEED,u.a.ARTICLE_TOP_BANNER_MASTHEAD,u.a.STORYSTACK_TOP_BANNER,u.a.STORYSTACK_LEADER]).tag({name:"Ad Type",defaultValue:u.a.ARTICLE_CUBE}),pushdownMode:a.a.bool.tag({name:"Pushdown Mode",description:"Render this slot as a Freestar Pushdown sticky-top banner instead of the standard ad placement. Only takes effect when Ad Type is set to `article/top_banner_masthead` and the placement is configured as on-call pushdown on Freestar's dashboard. Ignored otherwise.",defaultValue:!1})})},t.default=y},function(e,t,n){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(e){return new i({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var l=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),l.call(this,e)};var s=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else s.call(this)};var c=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,l=this;if(i)return l.$offset=a,l.$u=0===r,l;if(0!==r){var s=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(l=this.local().add(a+s,e)).$offset=a,l.$x.$localOffset=s}else l=this.utc();return l};var u=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var p=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return p.call(this,e,t,n);var r=this.local(),i=o(e).local();return p.call(r,i,t,n)}}}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(1),i=n(31),o=n(0);const a=({caption:e="",credit:t="",captionId:n="",creditClasses:a="",captionClasses:l="",readMoreClasses:s="",isDarkMode:c})=>{const u=Object(r.useRef)(null),[d,p]=Object(r.useState)(!0),[m,f]=Object(r.useState)(!1),b=Object(o.jsxs)("span",{ref:u,className:`inq-fig--caption type-caption ${d?"truncated":""} ${c?i.a:"text-primary"} ${l}`,children:[e,d&&Object(o.jsx)("a",{className:`inq-fig--expend-btn font-bold absolute bottom-0 right-0 cursor-pointer ${m?"":" hidden-read-more"} ${c?i.a:"text-primary bg-white"} ${s}`,role:"button",onClick:()=>p(!1),"data-click-event":"expand-caption",children:"Read more"})]}),h=Object(o.jsx)("span",{className:`inq-fig--credit block type-author text-sm mt-1 ${c?i.a:"text-primary"} ${a} `,children:t}),v=Object(r.useCallback)((()=>{if(u.current){const e=u.current.firstChild;if(!e||!document.createRange)return f(!1);const t=document.createRange();t.selectNodeContents(e);let n=0;if(t.getBoundingClientRect){const{height:e}=t.getBoundingClientRect();n=parseInt(String(e-4))}const{height:r}=u.current.getBoundingClientRect();f(n>r)}}),[]);return Object(r.useEffect)((()=>(window.addEventListener("resize",v),()=>window.removeEventListener("resize",v))),[v]),Object(r.useEffect)((()=>{v()}),[e,v]),Object(r.useEffect)((()=>(window.addEventListener("load",v),()=>window.removeEventListener("load",v))),[]),Object(o.jsxs)("figcaption",{id:n,className:"inq-image__caption",children:[e&&b,t&&h]})};function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{var P,T;const[M,A]=Object(r.useState)(i&&x||!1),[I,D]=Object(r.useState)(!1),R=u.includes(j),$=d.includes(h),q=R&&$?`inq-${h}__figure inq-${h}__figure-${j}`:"",B=(null==i||null===(P=i.split("/"))||void 0===P||null===(T=P.pop())||void 0===T?void 0:T.replace(/\./g,""))||"",F=["inq-image",M?"inq-image-placeholder inq-skeleton hidden-inq-image":"visible-inq-image","topper"===h?["inq-story__image",R?"inq-story__image-with-ratio":""]:"","card"===h?["inq-card__image",R?"inq-card__image-with-ratio":"","right"===y?"inq-card__image-align-right":""]:"","article"===h?["object-contain max-h-75vh h-full w-screen sm:w-full -mx-4 sm:mx-0"]:"","gallery"===h?["object-contain max-h-75vh h-full w-full mb-2"]:"","swipeable"===h?["h-full"]:""].flat().join(" ").trim(),V=Object(r.useMemo)((()=>`inq-fig--figcaption-${v.slice(0,20).replace(/ /g,"-").toLowerCase()+"-caption"||"generic-figcaption"}`),[v]),H="card"!==h&&(v||g)||"card"===h&&!!n&&!R;return Object(r.useEffect)((()=>{"objectFit"in document.documentElement.style==!1&&D(!0)}),[]),Object(o.jsx)("div",{className:"inq-image--wrapper figure "+(E?"bg-primary":""),children:Object(o.jsxs)("figure",{className:q,role:"figure","aria-describedby":V,children:[Object(o.jsx)(m,{showPlayButton:e,duration:t}),Object(o.jsx)(f,{linkEmbedded:n,children:Object(o.jsx)(b,{useFallback:I,imageName:B,imageClass:F,type:h,caption:v,validRatio:R,isLoading:M,imgProps:s({src:i,srcSet:l,alt:p,sizes:O,style:null},c,{},_&&{loading:"lazy"},{},k&&{width:k},{},S&&{height:S},{},C&&{decoding:C}),onImageLoad:()=>A(!1)})}),H&&Object(o.jsx)(a,{caption:v,credit:g,captionClasses:w,captionId:V,creditClasses:N,readMoreClasses:L,isDarkMode:E})]})})},m=({showPlayButton:e=!1,duration:t=""})=>Object(o.jsxs)(o.Fragment,{children:[e&&Object(o.jsx)("span",{className:"absolute text-center w-full top-1/2",children:Object(o.jsx)("i",{className:"m-auto mt-[-25px] block w-13 h-13 bg-center bg-no-repeat bg-contain bg-play-icon"})}),"unset"!==t&&Object(o.jsx)("span",{className:"font-ringside-regular font-bold text-3.5 text-neutral-white absolute rounded bg-[#222222bf] leading-[30px] px-2 py-0 left-3.5 bottom-3.5 z-2 hidden",children:Object(o.jsx)("b",{children:t})})]}),f=({children:e,linkEmbedded:t=""})=>t?Object(o.jsx)("a",{href:t,rel:"noopener noreferrer",className:"inq-image",children:e}):e,b=({imageClass:e="",useFallback:t=!1,type:n="",caption:r="",validRatio:i=!1,isLoading:a=!1,imgProps:l={},onImageLoad:c=(()=>{})})=>{const{src:u,alt:d,srcSet:p}=l,m="card"===n?r:"";if("inq-card__image"===e&&t){const e={background:`url('${u}') no-repeat 50%`,objectFit:"cover"},t="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%'%3E%3C/svg%3E";l.style=e,l.src=t}const f=Object(o.jsx)("img",s({className:e,onLoad:c},l,{src:l.src||null,alt:d||m,srcSet:p||null}));return u&&"topper"===n&&i?Object(o.jsx)("div",{className:"inq-image inq-image-topper-style",children:f}):Object(o.jsx)("div",{className:"inq-image "+(a?"inq-image-placeholder inq-skeleton":""),children:f})}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(1),i=n.n(r),o=n(98),a=n.n(o),l=n(122),s=n(157),c=n(246),u=n(123),d=n(253),p=n(31),m=n(37),f=n(0);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;te?`h-8 border-solid ${j}`:`h-auto sm:h-8 border-none sm:border-solid ${j}`;class x extends i.a.Component{constructor(e){super(e),this.buttonRef=i.a.createRef(),this.handleKeywordKeyPress=e=>{const t=document.querySelector(".inq-popup-menu button:last-child");("Tab"===e.key&&document.activeElement&&t&&document.activeElement.getAttribute("aria-label")===t.getAttribute("aria-label")||"Escape"===e.key)&&this.state.menuOpen&&(e.preventDefault(),this.buttonRef.current.focus(),setTimeout((()=>this.buttonRef.current.click()),1))},this.getArticleUrl=()=>`https://www.inquirer.com${this.props.articleCanonicalUrl||""}`,this.copyLinkToClipboard=async()=>{const e=this.state.shareLink||`${this.getArticleUrl()}${g}`;try{var t,n;await(null===(t=navigator)||void 0===t||null===(n=t.clipboard)||void 0===n?void 0:n.writeText(e))}catch{const t=document.createElement("textarea");t.setAttribute("style","height:1px;"),t.value=e,document.body.append(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}this.setState({menuOpen:!1,showToast:!0}),this.props.usePMNdataLayerEvent&&this.pushClickEventToDataLayer("link")},this.encodeUTM=e=>encodeURIComponent(`${this.state.shareLink||this.getArticleUrl()}${e}`),this.getEncodeUtmUrl=e=>{const t=encodeURIComponent(this.props.articleTitle),n=this.encodeUTM(g);switch(e){case"facebook":return`${Object(p.d)("facebook",{text:n})}`;case"twitter":return`${Object(p.d)("twitter",{text:t+"%20"+n})}`;case"email":return`${Object(p.d)("email",{subject:t,text:n})}`;case"bluesky":return`${Object(p.d)("bluesky",{text:n})}`;case"threads":return`${Object(p.d)("threads",{text:n})}`;case"whatsapp":return`${Object(p.d)("whatsapp",{text:n})}`;default:return""}},this.handleSocialClick=e=>{const t="email"!==e,n=this.getEncodeUtmUrl(e);window.open(n,"",t?"toolbar=0,status=0,scrollbars=1,width=626,height=436":void 0),this.setState({menuOpen:!1}),this.props.usePMNdataLayerEvent&&this.pushClickEventToDataLayer(e)},this.getShareOptions=()=>{var e;const t={copyLink:{name:"link",onClick:()=>this.copyLinkToClipboard(),icon:"link",lead:"Copy gift",ariaLabel:"Copy gift link"},email:{name:"Email",onClick:()=>this.handleSocialClick("email"),icon:"email",lead:"Gift via",ariaLabel:"Gift via email"},facebook:{name:"Facebook",onClick:()=>this.handleSocialClick("facebook"),icon:"facebook",lead:"Gift via",ariaLabel:"Gift via Facebook"},twitter:{name:"X",onClick:()=>this.handleSocialClick("twitter"),icon:"twitter",lead:"Gift via",ariaLabel:"Gift via X"},bluesky:{name:"Bluesky",icon:"bluesky",onClick:()=>this.handleSocialClick("bluesky"),ariaLabel:"Gift via Bluesky"},threads:{name:"Threads",icon:"threads",onClick:()=>this.handleSocialClick("threads"),ariaLabel:"Gift via Threads"},whatsapp:{name:"WhatsApp",icon:"whatsapp",onClick:()=>this.handleSocialClick("whatsapp"),ariaLabel:"Gift via WhatsApp"}};return(null===(e=this.props)||void 0===e?void 0:e.isV2)?[h({},t.copyLink,{name:"Copy Link"}),t.email,t.facebook,t.twitter,t.bluesky,t.threads,t.whatsapp]:[{name:"Gift this article!",ariaLabel:"Gift this article!"},t.copyLink,t.facebook,t.twitter,t.email]},this.handleMouseDown=e=>{e.preventDefault(),this.state.menuOpen||this.buttonRef.current.focus()},this.handleMouseUp=async e=>{if(e.preventDefault(),!this.state.menuOpen&&this.pushClickEventToDataLayer("open",this.props.userInteractionInOpenEvent||"gift_pop_up_icon"),this.setState({menuOpen:!this.state.menuOpen}),!this.state.shareLink&&!this.state.menuOpen){this.setState({isLoading:!0});const e=await this.props.getGiftShareLink();this.setState({shareLink:e,isLoading:!1})}},this.handleBlur=e=>{const t=e.relatedTarget;t&&t.className.indexOf("inq-popup-menu__option")>-1||this.setState({menuOpen:!1})},this.state={menuOpen:!1,showToast:!1,isLoading:!1,shareLink:""}}componentDidMount(){window.addEventListener("keydown",this.handleKeywordKeyPress.bind(this))}componentWillUnmount(){window.removeEventListener("keydown",this.handleKeywordKeyPress)}pushClickEventToDataLayer(e,t){window.PMNdataLayer&&window.PMNdataLayer.push({event:this.props.eventName||"ga-generic-event",userInteraction:t||this.props.userInteraction,interactionType:"click",interactionDetail:e})}render(){var e,t,n,r,i,o,p,b,h,v;let g;return this.props.useDots?(g="inq-card-footer--controls",this.state.menuOpen&&(g+=" inq-card-footer--controls-open")):g=this.props.customClass||"inq-share__option inq-share__option--share",(null==this||null===(e=this.props)||void 0===e?void 0:e.isAppWebView)&&(null==this||null===(t=this.props)||void 0===t?void 0:t.handleButtonClick)?Object(f.jsx)("div",{className:"inq-share inq-gift-bc",children:Object(f.jsx)("button",{className:g,onClick:this.props.handleButtonClick,children:Object(f.jsx)(s.a,{type:"share",size:"medium",isDarkMode:this.props.isDarkMode})})}):Object(f.jsxs)("div",{className:"inq-share inq-gift-bc",children:[Object(f.jsx)("div",{className:""+(this.props.useSimpleLink?"flex flex-row justify-end":"inq-share__options"),children:this.props.useSimpleLink?Object(f.jsx)("button",{className:g,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.copyLinkToClipboard,ref:this.buttonRef,"aria-label":"Share this story",children:Object(f.jsx)(l.a,{type:"link",size:"small",color:this.props.linkIconColor||"black"})}):Object(f.jsx)("button",{className:`${g} ${(null===(n=this.props)||void 0===n?void 0:n.isV2)?y(this.props.isStoryStack):""}`,onBlur:this.handleBlur,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,ref:this.buttonRef,"aria-label":"Share this story","aria-haspopup":"true","aria-expanded":this.state.menuOpen,children:this.props.useDots?Object(f.jsx)("div",{className:"inq-card-controls-dot"}):(null===(r=this.props)||void 0===r?void 0:r.isV2)?Object(f.jsxs)("div",{className:"flex "+((null===(i=this.props)||void 0===i?void 0:i.isStoryStack)?"gap-2 px-4 py-2":"gap-0 p-0 sm:gap-2 sm:px-4 sm:py-2"),children:[Object(f.jsx)(s.a,{type:"share",size:"none",width:(null===(o=this.props)||void 0===o?void 0:o.isStoryStack)||!Object(m.b)()?"16":"24",height:(null===(p=this.props)||void 0===p?void 0:p.isStoryStack)||!Object(m.b)()?"16":"24",isDarkMode:this.props.isDarkMode,customClass:"flex items-center"}),Object(f.jsx)("span",{className:"font-grot10 font-bold text-primary text-3.5 leading-4 "+((null===(b=this.props)||void 0===b?void 0:b.isStoryStack)?"block":"hidden sm:block"),children:"Gift"})]}):Object(f.jsx)(s.a,{type:"share",size:"medium",isDarkMode:this.props.isDarkMode})})}),this.props.useSimpleLink?null:(null===(h=this.props)||void 0===h?void 0:h.isV2)?Object(f.jsx)(d.a,{type:"gift",menuOpen:this.state.menuOpen&&!this.state.isLoading,setMenuOpen:e=>this.setState({menuOpen:e}),options:this.getShareOptions(),isPopupLeftAligned:null===(v=this.props)||void 0===v?void 0:v.isPopupLeftAligned}):Object(f.jsx)(c.a,{menuOptions:this.getShareOptions(),open:this.state.menuOpen&&!this.state.isLoading}),this.props.useSimpleLink?Object(f.jsx)("div",{className:"relative",children:Object(f.jsx)(u.a,{message:"Link copied",show:this.state.showToast,timedClose:!0,closeToast:()=>this.setState({showToast:!1}),customClasses:"!absolute !w-28 !-left-24 !py-1 !px-2 !h-auto !bg-shades-dark-green-30 !text-secondary-dark-green-dark !text-base !transition-opacity !ease-in"})}):"undefined"!=typeof document?a.a.createPortal(Object(f.jsx)(u.a,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:()=>this.setState({showToast:!1}),position:"bottom"}),document.body):Object(f.jsx)(u.a,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:()=>this.setState({showToast:!1}),position:"bottom"})]})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEventInProgress=t.handleToggle=t.parseYardlineText=t.getPlayTypeAbbreviation=t.getNumberWithOrdinal=void 0;t.getNumberWithOrdinal=function(e,t,n){var r=["th","st","nd","rd"],i=e%100;if(n&&t){if("nhl"===t){if(4===e)return"OT";if(5===e)return"2 OT"}if("nba"===t){if(5===e)return"OT";if(6===e)return"2 OT"}}var o=e+(r[(i-20)%10]||r[i]||r[0]);if(t){if("nhl"===t)return o.toUpperCase()+" Period";if("nba"===t)return o.toUpperCase()+" Quarter"}return o};t.getPlayTypeAbbreviation=function(e){return e.includes("TD")?"TD":e.includes("Field Goal")?"FG":""};t.parseYardlineText=function(e,t,n){return e.replace(t,(function(e){return e.toUpperCase()})).replace(n,(function(e){return e.toUpperCase()})).replace(/([^\d\s%])(\d)/g,"$1 $2")};t.handleToggle=function(e,t){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t())};t.isEventInProgress=function(e){return"In-Progress"===(null==e?void 0:e.name)}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0&&(o[d]=parseInt(u,10))}var p=o[3],m=24===p?0:p,f=o[0]+"-"+o[1]+"-"+o[2]+" "+m+":"+o[4]+":"+o[5]+":000",b=+t;return(i.utc(f).valueOf()-(b-=b%1e3))/6e4},s=r.prototype;s.tz=function(e,t){void 0===e&&(e=o);var n,r=this.utcOffset(),a=this.toDate(),l=a.toLocaleString("en-US",{timeZone:e}),s=Math.round((a-new Date(l))/1e3/60),c=15*-Math.round(a.getTimezoneOffset()/15)-s;if(Number(c)){if(n=i(l,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(c,!0),t){var u=n.utcOffset();n=n.add(r-u,"minute")}}else n=this.utcOffset(0,t);return n.$x.$timezone=e,n},s.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return n&&n.value};var c=s.startOf;s.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return c.call(this,e,t);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return c.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,a=n||t||o,s=l(+i(),a);if("string"!=typeof e)return i(e).tz(a);var c=function(e,t,n){var r=e-60*t*1e3,i=l(r,n);if(t===i)return[r,t];var o=l(r-=60*(i-t)*1e3,n);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(e,r).valueOf(),s,a),u=c[0],d=c[1],p=i(u).utcOffset(d);return p.$x.$timezone=a,p},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){o=e}}}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(e,t)=>{var n;const r=null===(n=document)||void 0===n?void 0:n.createElement(e);for(let e=0;e0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0){var t=decodeURIComponent(e),n=c.default.decrypt(t,"PMN_p3pp3r-#215");return JSON.parse(n.toString(u.default))[0]}var r={auth_id:null,uid:null,displayName:null,email:null,timestamp:null,state:"Logged Out",mg2Id:null,registrationDate:null,subscriptionStartDate:null,subscriptionExpirationDate:null,registrationSource:null,paperCode:null,householdLevel:null,uuid:null};return h.setCookie("pmn-cookie",y(r)),r}function _(e){try{var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),n=decodeURIComponent(atob(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));return JSON.parse(n)}catch(e){return console.log("Cannot decode the appToken"),!1}}function C(){return h.readCookie("pmn-cookie")?new Promise((function(e,t){var n,r,i;fetch("https://"+("prod"===(null===(i=null===(r=null===(n=window)||void 0===n?void 0:n.Fusion)||void 0===r?void 0:r.environment)||void 0===i?void 0:i.ENV)?"apigw.inquirer.com":"dev-apigw.philly.com")+"/cookies/inq-cookie?showResult=true",{method:"GET",credentials:"include"}).then((function(e){return e.ok||t(new Error("HTTP error! Status: "+e.status)),e.json()})).then((function(t){e(t)})).catch((function(e){console.error("Error fetching cookie with credentials:",e),t(e)}))})):Promise.resolve(null)}function k(e,t){void 0===t&&(t=0);var n=e.idToken,i=a(e,["idToken"]),o=y(r(r({},i),{idToken:""})),l=y({displayName:i.displayName,email:i.email,uid:i.uid}),s=y({idToken:n});return h.setCookie("pmn-cookie",o),h.setCookie("vCookie",l),h.setCookie("pmn-id-token-cookie",s),h.setCookie("user_data",o),window.vf&&0!==window.vf.length&&window.vf.session&&setTimeout((function(){window.vf.session.login.cookie(h.readCookie("vCookie"))}),t),C().catch((function(e){console.error("Error sending cookie to ARC:",e)}))}function S(e){if(!e)return!1;var t=e.split("@")[1];return["philly.com","phillynews.com","inquirer.com","test.com","example.com","enclave.vn","yopmail.com"].indexOf(t)>-1}function N(e){var t,n,i,o=null===(n=null===(t=e)||void 0===t?void 0:t.email)||void 0===n?void 0:n.trim(),a=r(r({},e),o&&{id_token:d.default(o).toString()});if(a.state&&!(null===(i=window.pmnAdmin)||void 0===i?void 0:i.disableAnalytics)){a.isInternal=S(a.email),delete a.email,delete a.displayName,delete a.timestamp,delete a.idToken,delete a.masterId,delete a.name,delete a.uid,delete a.uuid,-1===document.URL.indexOf("/checkout")&&-1===document.URL.indexOf("/subscribe")||delete a.state;var l=O(a);window.PMNdataLayer=window.PMNdataLayer||[],window.PMNdataLayer[0]=window.PMNdataLayer[0]||{analytics:{}},window.PMNdataLayer[0].analytics?window.PMNdataLayer[0].analytics.user=l:window.PMNdataLayer.push({analytics:{user:l}})}}function L(e,t){var n,r,i;return((null===(n=e)||void 0===n?void 0:n.nickname)||(null===(r=e)||void 0===r?void 0:r.name)||t||(null===(i=e)||void 0===i?void 0:i.email)||"").split("@")[0]}function E(e){return void 0===e||null==e||e.length<=0}function P(e,t){return"MG2"===e?"prod"===t?"https://myaccount.inquirer.com/":"https://test-myaccount.inquirer.com/":"prod"===t?"https://account.inquirer.com/":"https://qa-inquirer.cs19.force.com/subscribers/s/"}function T(e,t,n){void 0===e&&(e="My account");var r=l(document.querySelectorAll(".my-account-btn")),i=l(document.querySelectorAll(".manage-acc-btn button"),document.querySelectorAll("button.manage-acc-btn"),document.querySelectorAll('button[aria-label="Manage account"]')),o=Array.from(new Set(i)),a=l(document.querySelectorAll(".subscribe-btn")),s=l(document.querySelectorAll(".subscribe-widget")),c=l(document.querySelectorAll(".auth0-log-in")),u=w();a.forEach((function(e){return e.classList.add("hidden")})),s.forEach((function(e){return e.classList.add("hidden")})),c.forEach((function(e){return e.classList.add("hidden")})),r.forEach((function(t){t.innerText=e,t.classList.remove("hidden")}));var d=P(t,n);o.forEach((function(e){var t=e.closest("form");if(t)t.action=d;else if("BUTTON"===e.tagName){var n=document.createElement("form");n.action=d,n.method="GET",n.style.display="contents";var r=e.parentNode;r&&(r.insertBefore(n,e),n.appendChild(e),"button"===e.type&&(e.type="submit"))}})),function(e,t){var n=l(document.querySelectorAll(".inquirer-img-link")),r=l(document.querySelectorAll(".daily-img-link")),i=l(document.querySelectorAll(".inquirer-digital-edition")),o=l(document.querySelectorAll(".daily-digital-edition")),a=l(document.querySelectorAll(".inquirer-subscribe")),s=l(document.querySelectorAll(".daily-subscribe")),c=l(document.querySelectorAll(".inquirer-subscriber-services")),u=l(document.querySelectorAll(".daily-subscriber-services")),d=f.gatewayConfigs[t]+"/eedition/replica?mid="+encodeURIComponent(e),p=f.gatewayConfigs[t]+"/eedition/replica?edition=DailyNews&mid="+encodeURIComponent(e);n.forEach((function(e){e.href=d,e.id=""})),r.forEach((function(e){e.href=p,e.id=""})),i.forEach((function(e){e.classList.remove("hidden"),e.href=d})),o.forEach((function(e){e.classList.remove("hidden"),e.href=p})),a.forEach((function(e){return e.classList.add("hidden")})),s.forEach((function(e){return e.classList.add("hidden")})),c.forEach((function(e){return e.classList.remove("hidden")})),u.forEach((function(e){return e.classList.remove("hidden")}))}(u.auth0Id,n)}function M(e){void 0===e&&(e="My account");var t=l(document.querySelectorAll(".my-account-btn")),n=l(document.querySelectorAll(".auth0-log-in")),r=l(document.querySelectorAll(".manage-account-btn"));n.forEach((function(e){return e.classList.add("hidden")})),t.forEach((function(t){t.innerText=e,t.classList.remove("hidden")})),r.forEach((function(e){return e.classList.add("hidden")})),document.querySelector("div.global-newsletter-sign-up.only-mobile")&&document.querySelector("div.global-newsletter-sign-up.only-mobile").classList.add("hidden"),document.querySelector("div.subscribe-widget.only-mobile")&&document.querySelector("div.subscribe-widget.only-mobile").classList.add("hidden")}function A(e,t){var n,i,o,l,s,c,u,d,p,m,f,b,v,g,j,x,O,w,_,k,S,N,L,E,P,T,M,A,I,D,R,$;if(e.timestamp=new Date,t){t.isSubscriber?e.state="Subscribed":e.state="Logged In",e.isVerified=t.isVerified,e.biller=t.biller,"Subscribed"!==e.state&&"Logged In"!==e.state||(e.sf_sub_expire=(null===(i=null===(n=t)||void 0===n?void 0:n.sf)||void 0===i?void 0:i.sf_expiredOn)||null,e.sf_subscription_id=(null===(l=null===(o=t)||void 0===o?void 0:o.sf)||void 0===l?void 0:l.sf_subscriptionId)||null,e.sf_subscription_name=(null===(c=null===(s=t)||void 0===s?void 0:s.sf)||void 0===c?void 0:c.sf_subscriptionName)||null,e.sf_contact_id=(null===(d=null===(u=t)||void 0===u?void 0:u.sf)||void 0===d?void 0:d.sf_contactId)||null,e.sf_subscriber_status=(null===(m=null===(p=t)||void 0===p?void 0:p.sf)||void 0===m?void 0:m.sf_subscriberStatus)||null,e.sf_subscription_start=(null===(b=null===(f=t)||void 0===f?void 0:f.sf)||void 0===b?void 0:b.sf_subscriptionStart)||null,e.sf_offer_product_name_c=(null===(g=null===(v=t)||void 0===v?void 0:v.sf)||void 0===g?void 0:g.sf_offerProductName)||null,e.sf_offer=(null===(x=null===(j=t)||void 0===j?void 0:j.sf)||void 0===x?void 0:x.sf_offer)||null,e.sf_product_code=(null===(w=null===(O=t)||void 0===O?void 0:O.sf)||void 0===w?void 0:w.sf_offerProductAbbreviation)||null,e.hasUnlimitedAccessToEEdition=(null===(k=null===(_=t)||void 0===_?void 0:_.userPermissions)||void 0===k?void 0:k.hasUnlimitedAccessToEEdition)||0,e.hasUnlimitedAccessToInquirerApp=(null===(N=null===(S=t)||void 0===S?void 0:S.userPermissions)||void 0===N?void 0:N.hasUnlimitedAccessToInquirerApp)||0,e.hasUnlimitedArticleGifting=(null===(E=null===(L=t)||void 0===L?void 0:L.userPermissions)||void 0===E?void 0:E.hasUnlimitedArticleGifting)||0,e.totalArticleSharing=(null===(T=null===(P=t)||void 0===P?void 0:P.userPermissions)||void 0===T?void 0:T.totalArticleSharing)||0,e.totalSubscriptionSharing=(null===(A=null===(M=t)||void 0===M?void 0:M.userPermissions)||void 0===A?void 0:A.totalSubscriptionSharing)||0,e.hasAdsFreeReading=(null===(D=null===(I=t)||void 0===I?void 0:I.userPermissions)||void 0===D?void 0:D.hasAdsFreeReading)||0,e.hasUnlimitedAccessToInquirerWeb=(null===($=null===(R=t)||void 0===R?void 0:R.userPermissions)||void 0===$?void 0:$.hasUnlimitedAccessToInquirerWeb)||0);var q=e.idToken,B=a(e,["idToken"]);h.setCookie("pmn-cookie",y(r(r({},B),{idToken:""}))),q&&h.setCookie("pmn-id-token-cookie",y({idToken:q})),h.setCookie("user_data",y(B))}return C().then((function(t){return e})).catch((function(t){return console.error("Error sending cookie to ARC:",t),e}))}function I(e,t){if(!e||!e.auth0Id)return Promise.resolve({});var n=f.gatewayConfigs[t]+"/auth/subscriber";return b.getEndpoint({url:n,query:{auth0Id:e.auth0Id}}).then((function(t){return A(e,t)}),(function(){return A(e,!1)}))}function D(e,t,n){var r=f.gatewayConfigs[t]+"/auth/auth0/link-user";return b.getEndpoint({url:r,data:{email:e.email},query:"",method:"POST"}).then((function(e){void 0!==n&&n(e)})).catch((function(e){var t="linkAccounts failed";try{e&&(t=JSON.stringify(e))}catch(e){}window.PMNdataLayer.push({event:"user-login",login_attempt:"fail",login_error_code:t}),void 0!==n&&n(null)}))}function R(e){var t,n,r=(null===(n=null===(t=window.PMNdataLayer[0])||void 0===t?void 0:t.analytics)||void 0===n?void 0:n.primarysegment)||"";window.tp=window.tp||[],window.tp.push(["setCustomVariable","channel",r]),window.tp.push(["setCustomVariable","userState",e.state]),window.tp.push(["setCustomVariable","userEmail",E(e.email)?"":e.email]),window.tp.push(["setCustomVariable","isVerified",e.isVerified]);var i=[];if(Array.isArray(window.tp)&&"function"==typeof window.tp.find){var o=window.tp.find((function(e){return e&&Array.isArray(e)&&"setTags"===e[0]}));Array.isArray(o)&&o.length>1&&Array.isArray(o[1])&&(i=o[1])}var a=l([e.state],i.filter((function(t){return t&&t!==e.state})));window.tp.push(["setTags",a])}function $(e){if(!e)return"unknown";var t="string"==typeof e?e||null:e.auth0Id||e.sub||null;if(!t)return"email";if(t.toLowerCase().includes("idme"))return"idme";switch(t.split("|")[0]){case"google-oauth2":return"google_account";case"apple":return"apple_id";default:return"email"}}function q(e,t,n){var i={};try{var o=_(e.replace(/^Bearer\s+/i,""));o&&o.user_metadata&&(i=o.user_metadata)}catch(e){console.error("Error decoding JWT:",e)}var a={user_metadata:r(r({},i),{inquirer:{source:n}})};return b.getEndpoint({url:f.gatewayConfigs[t]+"/auth/auth0/auth-update-user",data:a,query:"",method:"PATCH",token:e}).then((function(e){return e})).catch((function(e){var t="updateUserData failed";try{e&&(t=JSON.stringify(e))}catch(e){}return window.PMNdataLayer.push({event:"user-login",login_attempt:"fail",login_error_code:t}),console.log("Update failed",e),null}))}function B(e,n,i,o,a,l,s,c,u,p,m){var b=function(e,t){var n={timestamp:new Date,uuid:t&&t.uuid};if(e){n.registrationDate=e.createdAt||e.created_at,n.auth0Id=e.userId||e.user_id||e.sub,n.uid=e.userId||e.user_id||e.sub,n.displayName=L(e),n.name=e.name||"",n.email=e.email;var r=(e.userId||e.user_id||e.sub||"").includes("idme");n.isVerified=e.emailVerified||e.email_verified||r&&e.verified||!1,n.isInternal=S(e.email),n.idToken=e.idToken}return n}(e,i);!0!==a&&function(e,n,i,o,a,l){var s=sessionStorage.getItem("loginMethod")||$(e),c=sessionStorage.getItem("source")||sessionStorage.getItem("registrationSource")||"login_button";if(window.PMNdataLayer){var u=t.normalizeLoginMethod(c,s);n?window.PMNdataLayer.push(r(r(r(r(r({event:"account_registration",login_method:u,auth_id:e.auth0Id},i&&{source:"commenting"}),o&&{source:c.split("--")[0]}),a&&{source:"login_button"}),l&&{source:"google_one_tap"}),{login_attempt:"success"})):window.PMNdataLayer.push({event:"user-login",login_status:"log-in",login_method:u,auth_id:e.auth0Id,login_attempt:"success"})}sessionStorage.removeItem("source"),sessionStorage.removeItem("loginMethod")}(b,o,l,s,c,u),M(b.email),k(b),I(b,n).then((function(e){N(e),R(e),function(e,t){var n,r,i,o;if("undefined"!=typeof window&&window.permutive&&"function"==typeof window.permutive.identify)try{window.permutive.identify([{tag:"email_sha256",id:d.default((null===(n=e)||void 0===n?void 0:n.email)||"").toString(),priority:0},{tag:"auth0Id",id:(null===(r=e)||void 0===r?void 0:r.auth0Id)||"",priority:1},{tag:"sf_contact_id",id:(null===(i=e)||void 0===i?void 0:i.sf_contact_id)||"",priority:1},{tag:"uuid",id:(null===(o=e)||void 0===o?void 0:o.uuid)||"",priority:2}]),t()}catch(e){t()}else t()}(e,(function(){if("Subscribed"===e.state&&T(e.email,e.biller,n),m){if(m.includes("replica")){var t=v.getQueryParam(m,"returnurl");if(t)return void(window.location.href=t)}if("true"===sessionStorage.getItem("onCheckoutLoginClick")&&"Subscribed"===e.state){var r=P(b.biller,n);window.location.href=r,sessionStorage.removeItem("onCheckoutLoginClick")}else window.location.href=m}else if(-1!==document.URL.indexOf("/subscribe")){var i=sessionStorage.getItem("queryParams")||"";window.history.pushState({},"",""+window.location.origin+window.location.pathname+i+("#loaded"===window.location.hash?"":"#loaded")),window.location.reload()}else!0!==p&&function(e){var t=w();"Subscribed"!==t.state&&"Logged In"!==t.state||(window.isReplicaLogin&&"Subscribed"===t.state?window.isDaily?window.location.href=f.gatewayConfigs[e]+"/eedition/replica?edition=DailyNews&mid="+encodeURIComponent(t.auth0Id):window.location.href=f.gatewayConfigs[e]+"/eedition/replica?mid="+encodeURIComponent(t.auth0Id):document.getElementById("templateNotAddLoaded")?location.reload():-1===document.URL.indexOf("#loaded")&&("/#"===document.URL.substr(document.URL.length-2)?location.href+="loaded":location.href+="#loaded",location.reload()))}(n)}))})).catch((function(e){var t="callSubscriptionAPI failed";try{e&&(t=JSON.stringify(e))}catch(e){}window.PMNdataLayer.push({event:"user-login",login_attempt:"fail",login_error_code:t})}))}t.encryptData=y,t.getNullUser=x,t.getDecryptedUser=w,t.verifyUserWithAuth0=function(e,t){var n,r,a,l,s,c,u,d;return i(this,void 0,void 0,(function(){var i,p,m,f,b,h,v,y,x;return o(this,(function(o){switch(o.label){case 0:if(!e)return[2,{isAuthenticated:!1,user:null,idToken:null,authState:"UNKNOWN_ERROR"}];o.label=1;case 1:return o.trys.push([1,11,,12]),i=w(),[4,j.ensureValid(e,{ddlogger:t,auth0Id:null===(n=i)||void 0===n?void 0:n.auth0Id,userState:null===(r=i)||void 0===r?void 0:r.state})];case 2:return"expired"===o.sent()?[2,{isAuthenticated:!1,user:null,idToken:null,authState:"SESSION_EXPIRED"}]:(p=!i||"Logged Out"===i.state,[4,Promise.all([p?e.getUser():Promise.resolve(null),e.getIdTokenClaims()])]);case 3:if(m=o.sent(),f=m[0],b=m[1])return[3,10];o.label=4;case 4:return o.trys.push([4,8,,9]),j.resetCache(),[4,j.ensureValid(e,{auth0Id:null===(a=i)||void 0===a?void 0:a.auth0Id,userState:null===(l=i)||void 0===l?void 0:l.state})];case 5:return"valid"!==o.sent()?[3,7]:[4,e.getIdTokenClaims()];case 6:if(h=o.sent())return[2,{isAuthenticated:!0,user:f,idToken:h,authState:"AUTH_VALID"}];o.label=7;case 7:return[3,9];case 8:return o.sent(),[3,9];case 9:return t&&g.isLoggedInState(null===(s=i)||void 0===s?void 0:s.state)&&t.log({message:"No ID token after silent refresh",event:"auth0.verify_user.error",authState:"LOGIN_REQUIRED",auth0Id:null===(c=i)||void 0===c?void 0:c.auth0Id}),[2,{isAuthenticated:!1,user:null,idToken:null,authState:"LOGIN_REQUIRED"}];case 10:return[2,{isAuthenticated:!0,user:f,idToken:b,authState:"AUTH_VALID"}];case 11:return v=o.sent(),y=g.classifyAuth0Error(v),x=w(),t&&g.isLoggedInState(null===(u=x)||void 0===u?void 0:u.state)&&t.log(g.buildAuthErrorLog(v,y,null===(d=x)||void 0===d?void 0:d.auth0Id)),[2,{isAuthenticated:!1,user:null,idToken:null,authState:y}];case 12:return[2]}}))}))},t.decodeJWT=_,t.sendCookieToARC=C,t.setPMNAndViafouraCookies=k,t.clearUser=function(e){void 0===e&&(e=!1),e||j.resetCache(),["pmn-cookie","vCookie","pmn-id-token-cookie","user_data","euh8sp95p6","5pWb7jU8Am"].forEach((function(e){h.clearCookie(e);try{localStorage.removeItem(e)}catch(e){console.log("Local storage not accessible",e)}})),window.vf&&window.vf.session&&window.vf.session.logout()},t.backupAndRestoreCookiesFromLocalStorage=function(){var e;try{["pmn-cookie","vCookie","user_data","__tbc","_ga"].forEach((function(t){var n=h.readCookie(t);if(n)localStorage.setItem(t,n);else{var r=localStorage.getItem(t);if(r){h.setCookie(t,r),e=e||w().auth0Id;var i=w();window.PMNdataLayer.push({analytics:O(i)}),window.PMNdataLayer.push({event:"cookie-deleted","cookie-key":t,"cookie-value":r,auth_id:e})}}}))}catch(e){console.log("Local storage not accessible",e)}},t.isInternal=S,t.isLoggedOutUserAlreadyInDataLayer=function(){return window.PMNdataLayer=window.PMNdataLayer||[],window.PMNdataLayer.some((function(e){var t,n,r=null===(n=null===(t=e)||void 0===t?void 0:t.analytics)||void 0===n?void 0:n.user;return r&&(!r.state||"Logged Out"===r.state)}))},t.addUserToDataLayer=N,t.addUserToDataLayerIfNotSpecialPage=function(e){v.isSpecialPage()||N(e)},t.getDisplayNameFromProfile=L,t.isEmpty=E,t.displaySubscribedUX=T,t.displayLoggedInUX=M,t.displayLoggedOutUX=function(){var e=l(document.querySelectorAll(".my-account-btn")),t=l(document.querySelectorAll(".auth0-log-in")),n=l(document.querySelectorAll(".subscribe-btn"));e.forEach((function(e){return e.classList.add("hidden")})),t.forEach((function(e){return e.classList.remove("hidden")})),n.forEach((function(e){return e.classList.remove("hidden")})),document.querySelector("#profile-username-access")&&(document.querySelector("#email-read-only").classList.add("hidden"),document.querySelector("#username-read-only").classList.add("hidden"),document.querySelector("#profile-username-access").classList.remove("hidden")),document.querySelector("div.global-newsletter-sign-up.only-mobile")&&document.querySelector("div.global-newsletter-sign-up.only-mobile").classList.remove("hidden"),document.querySelector("div.global-newsletter-sign-up.only-mobile")&&document.querySelector("div.subscribe-widget.only-mobile").classList.remove("hidden")},t.callSubscriptionAPI=I,t.linkAccounts=D,t.setUserFlags=R,t.initializePiano=function(){var e;(window._matherq=window._matherq||[]).push(["getTracker",function(t){t.setPaywall("piano"),t.getUserDBSegment({},(function(t){var n=setTimeout((function(){e||(e=!0,n&&clearTimeout(n),window.tp.push(["init",function(){window.tp.experience.init()}]))}),3e3)}))}])},t.getLoginMethod=$,t.normalizeLoginMethod=function(e,t){if(t.includes("google_one_tap"))return"google_one_tap";if(e.includes("regional_"))return e;var n=t.includes("idme")?"idme":t.includes("google")?"google":t.includes("apple")?"apple":(t.includes("auth0"),"email");return(e.includes("viafoura")?"commenting":e.includes("piano")?"piano":e.includes("checkout")?"checkout":"login_button")+"_"+n},t.onPaywallShown=function(){for(var e=document.querySelectorAll(".pb-f-article-comments"),t=0;t-1}))},t.chompQueryParam=function(e){var t=function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return t&&t[1]||""}(e);if(t){var n=function(e){return window.location.search.indexOf(e)>-1},r=e+"="+t,i=window.location.search+"",o="";return n("?"+r+"&")?o=i.replace(r+"&",""):n("&"+r)&&(o=i.replace("&"+r,"")),window.history.replaceState({},document.title,window.location.pathname+o),t}},t.updateUserData=q,t.handleDisplay=B,t.processAfterLoggedIn=function(e,t,n,i,o,a,l,s,c,u){var d,p,m;void 0===a&&(a=!1),void 0===l&&(l=""),void 0===s&&(s=""),void 0===c&&(c=!1),void 0===u&&(u=null);var f=null!=(p=null===(d=t)||void 0===d?void 0:d.loginsCount)?p:0,h=sessionStorage.getItem("source")||"",v="signup"===sessionStorage.getItem("registrationEvent"),g=h.indexOf("piano")>-1,j=g&&1===f||h.indexOf("--SSO")>-1&&1===f||g&&a||v,y="viafoura_sso"===h&&1===f||"viafoura"===h&&a,x="login_button_sso"===h&&1===f||"login_button"===h&&a,O="google_one_tap"===h&&a;if((j||y||x||O)&&(a=!0),e&&s)!function(e,t,n){b.getEndpoint({url:t+"userinfo",token:"Bearer "+e,method:"GET"}).then((function(e){n(e)})).then((function(){return history.replaceState("",document.title,window.location.pathname)}))}(e,s,(function(e){D(e,n,(function(e){var t;return B(r(r({},e[0]),{idToken:null===(t=l)||void 0===t?void 0:t.replace("Bearer ","")}),n,o,a,c,null,null,null,null,null,u)}))}));else if(t){!function(e,t,n,r,i,o){n&&q(o,i,"login_button"),t&&q(o,i,"commenting"),e&&q(o,i,(sessionStorage.getItem("source")||"").split("--")[0]),r&&q(o,i,"google_one_tap")}(j,y,x,O,n,l);try{D(t,n,(function(e){var i,s=Array.isArray(e)&&e[0]?e[0]:t;B(r(r({},s),{idToken:null===(i=l)||void 0===i?void 0:i.replace("Bearer ","")}),n,o,a,c,y,j,x,O,null,u)})).catch((function(){var e;B(r(r({},t),{idToken:null===(e=l)||void 0===e?void 0:e.replace("Bearer ","")}),n,o,a,c,y,j,x,O,null,u)}))}catch(e){B(r(r({},t),{idToken:null===(m=l)||void 0===m?void 0:m.replace("Bearer ","")}),n,o,a,c,y,j,x,O,null,u)}}},t.getTokenAuth0=function(e,t,n,r){var i=f.gatewayConfigs[n]+"/auth/auth0/get-token";return b.getEndpoint({url:i,data:void 0===r?{username:e,password:t}:r(JSON.stringify({username:e,password:t})),query:"",method:"POST"}).then((function(e){return e})).catch((function(e){return console.log("get token failed",e),e}))},t.loadScript=function(e,t){var n=document.createElement("script");n.src=e,n.onload=t,n.async=!0,document.querySelector("body").appendChild(n)},t.createAuth0Account=function(e,t,n){return b.getEndpoint({url:f.gatewayConfigs[n]+"/auth/auth0/auth-create-user",method:"POST",data:{email:e,password:t}}).then((function(e){return e})).catch((function(e){throw e}))},t.sendPostMessageToPiano=function(e,t,n,r){var i=document.getElementById(e);i&&i.contentWindow.postMessage({piano:{success:t,message:n,object:r}},"*")},t.loginSSO=function(e,t,n,r,i,o,a){if("undefined"!=typeof window){var l=sessionStorage.getItem("ssoOnSuccessCallbackId");if(l&&window.__loginServiceSSOCallbacks&&window.__loginServiceSSOCallbacks[l]){delete window.__loginServiceSSOCallbacks[l];var s=sessionStorage.getItem("ssoOnSuccessCallbackId"),c=window.__loginServiceSSOCallbacks;s&&c&&c[s]&&delete c[s]}if(i)(window.__loginServiceSSOCallbacks||(window.__loginServiceSSOCallbacks={}))[s="sso_cb_"+Date.now()+"_"+Math.random().toString(36).slice(2)]=i,sessionStorage.setItem("ssoOnSuccess","true"),sessionStorage.setItem("ssoOnSuccessCallbackId",s);else sessionStorage.removeItem("ssoOnSuccessCallbackId");o&&sessionStorage.setItem("ssoContinueProcess","true"),a&&sessionStorage.setItem("ssoNoRefresh","true")}},t.registrationSourceHandler=function(e,t){"undefined"!=typeof window&&(sessionStorage.setItem("source",e),sessionStorage.setItem("sourceSSO",t),sessionStorage.setItem("registrationSource",e),sessionStorage.setItem("registrationSourceSSO",t))};var F=["premium","unlimited","basic"];t.verifyTOTP=function(t){var n;try{for(var r=e.from((n=window.FUSION_ENV_VARS.secretKey,c.default.decrypt(n,"PMN_hn3fo8c0-#!21^5").toString(u.default)),"base64"),i=Math.floor(Date.now()/1e3/120),o=0,a=[-1,0,1];o{var g;const j=Object(r.useMemo)((()=>{let t=s({},e);return h&&(t=s({},t,{caption:"",credits:s({},t.credits,{affiliation:[],by:[]})})),t}),[e,h]);return Object(a.jsx)("div",{className:u,children:Object(a.jsx)(i.Image,{alt:j.caption,caption:j.caption,src:j.imageWebUrl||j.url,sizes:v||"(min-width: 1040px) 650px, calc(94.44vw - 15px)",credit:Object(o.m)(j),srcset:j.imgSrcSet,imageRatio:n,type:t,linkEmbedded:null===(g=j.additional_properties)||void 0===g?void 0:g.link,hasLazyLoad:l,imageWidth:f||650,imageHeight:b||433,captionClasses:c,creditClasses:d,dataImg:p,isDarkMode:m})})};t.a=Object(r.memo)(u)},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(1),i=n.n(r),o=n(149),a=n(0);const l=({value:e,disabled:t=!1,color:n,size:r=24,strokeWidth:i=2.5})=>{if(void 0===e||e<=0)return null;const o=Math.min(100,Math.max(0,e)),l=r/2,s=l-i/2,c=2*Math.PI*s,u=null!=n?n:t?"#1A6AFF":"#ffffff";return Object(a.jsxs)(a.Fragment,{children:[Object(a.jsx)("svg",{width:r,height:r,viewBox:`0 0 ${r} ${r}`,"aria-hidden":"true",style:{flexShrink:0},children:Object(a.jsx)("circle",{cx:l,cy:l,r:s,fill:"none",stroke:u,strokeWidth:i,strokeLinecap:"round",strokeDasharray:c,strokeDashoffset:c*(1-o/100),transform:`rotate(-90 ${l} ${l})`,style:{transition:"stroke-dashoffset 0.4s ease"}})}),Object(a.jsx)("div",{className:"inline-block h-full w-2"})]})};var s=i.a.memo(l);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t1?x[0]:e,"right"===f&&Object(a.jsxs)(a.Fragment,{children:[e?Object(a.jsx)("div",{className:"inline-block h-full w-2"}):null,O]})]}))}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1?P[0]:t,"right"===x&&(0,o.jsxs)(o.Fragment,{children:[t?(0,o.jsx)("div",{className:"inline-block h-full w-2"}):null,T]})]}))};var o=n(0),a=i(n(1)),l=n(139),s=i(n(301))},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(46),a=n(0);const l=({children:e,className:t,elementType:n,height:l,elementKey:s,isNotLazyLoad:c,offset:u,once:d,id:p,dir:m,name:f,tabIndex:b,ariaHidden:h,href:v,dataLinkType:g})=>c?n?i.a.createElement(n,{key:s,className:t,id:p,dir:m,name:f,tabIndex:b,"aria-hidden":h,href:v,"data-link-type":g},e):Object(a.jsx)(r.Fragment,{children:e},s):Object(a.jsx)(o.a,{offset:u,height:l,once:d,children:e},s);t.a=i.a.memo(l)},function(e,t){e.exports=l},function(e,t,n){"use strict";n.d(t,"a",(function(){return Z})),n.d(t,"c",(function(){return K})),n.d(t,"e",(function(){return X})),n.d(t,"b",(function(){return Q})),n.d(t,"d",(function(){return ee}));var r,i=-1,o=function(e){addEventListener("pageshow",(function(t){t.persisted&&(i=t.timeStamp,e(t))}),!0)},a=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},l=function(){var e=a();return e&&e.activationStart||0},s=function(e,t){var n=a(),r="navigate";return i>=0?r="back-forward-cache":n&&(document.prerendering||l()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},c=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},u=function(e,t,n,r){var i,o;return function(a){t.value>=0&&(a||r)&&((o=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},d=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},p=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},m=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},f=-1,b=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},h=function(e){"hidden"===document.visibilityState&&f>-1&&(f="visibilitychange"===e.type?e.timeStamp:0,g())},v=function(){addEventListener("visibilitychange",h,!0),addEventListener("prerenderingchange",h,!0)},g=function(){removeEventListener("visibilitychange",h,!0),removeEventListener("prerenderingchange",h,!0)},j=function(){return f<0&&(f=b(),v(),o((function(){setTimeout((function(){f=b(),v()}),0)}))),{get firstHiddenTime(){return f}}},y=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},x=[1800,3e3],O=[.1,.25],w=function(e,t){t=t||{},function(e,t){t=t||{},y((function(){var n,r=j(),i=s("FCP"),a=c("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(a.disconnect(),e.startTimer.value&&(r.value=i,r.entries=a,n())},m=c("layout-shift",l);m&&(n=u(e,r,O,t.reportAllChanges),p((function(){l(m.takeRecords()),n(!0)})),o((function(){i=0,r=s("CLS",0),n=u(e,r,O,t.reportAllChanges),d((function(){return n()}))})),setTimeout(n,0))})))},_=(new Date,0),C=1/0,k=0,S=function(e){e.forEach((function(e){e.interactionId&&(C=Math.min(C,e.interactionId),k=Math.max(k,e.interactionId),_=k?(k-C)/7+1:0)}))},N=function(){return r?_:performance.interactionCount||0},L=function(){"interactionCount"in performance||r||(r=c("event",S,{type:"event",buffered:!0,durationThreshold:0}))},E=[200,500],P=0,T=function(){return N()-P},M=[],A={},I=function(e){var t=M[M.length-1],n=A[e.interactionId];if(n||M.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};A[r.id]=r,M.push(r)}M.sort((function(e,t){return t.latency-e.latency})),M.splice(10).forEach((function(e){delete A[e.id]}))}},D=[2500,4e3],R={},$=n(5),q=n(39),B=n(56),F=n(6),V=n(30),H=n(23);function U(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function G(e){for(var t=1;t{var n,r,i,o,a,l,s,c,u,d,p,m,f,b,h,v,g,j,y,x,O,w;const _=null==e?void 0:e._id,C=null==e||null===(n=e.additional_properties)||void 0===n?void 0:n.clickability_id,k=null==e?void 0:e.taxonomy,S=Object(F.p)(k),N=Object(F.n)(k),L=Object($.l)(e)||W,E=Object($.eb)((null==e?void 0:e.subtype)||""),P=Object($.R)((null==e?void 0:e.subtype)||""),T=null==e||null===(r=e.placeDetails)||void 0===r?void 0:r.place,M=(null==e||null===(i=e.finderPlaces)||void 0===i||null===(o=i[0])||void 0===o||null===(a=o.address)||void 0===a?void 0:a.published_at_utc)||W;return G({arc_environment:"fusion",article_length_label:(null==e?void 0:e.articleLengthLabel)||Object($.k)(e),article_word_count:(null==e||null===(l=e.planning)||void 0===l||null===(s=l.story_length)||void 0===s?void 0:s.word_count_actual)||"0",sub_section:S[1]||W,sub_sub_section:S[2]||S[1]||W,arc_id:_||W,authors:Object($.q)(null==e||null===(c=e.credits)||void 0===c?void 0:c.by)||W,clavis_topics:Object(q.h)((null==k?void 0:k.topics)||[],{prop:"name",separator:"|"})||W,clavis_auxiliaries:Object(q.h)((null==k?void 0:k.auxiliaries)||[],{prop:"name",separator:"|"})||W,clickability_id:C||W,content_subtype:(null==e?void 0:e.subtype)||W,content_id:_||C||W,display_date:Object(B.b)((null==e?void 0:e.display_date)||"","YYYY-MM-DDTHH:mm:ssZ")||W,id:t||W,section_primary:(null==N||null===(u=N.additional_properties)||void 0===u||null===(d=u.original)||void 0===d||null===(p=d.Analytics)||void 0===p?void 0:p.analytics_channel)||W,published_time:Object(B.b)((null==e?void 0:e.first_publish_date)||"","YYYYMMDDHHmm")||W,content_published_time_iso:Object(B.b)((null==e?void 0:e.first_publish_date)||"","YYYY-MM-DDTHH:mm:ssZ")||W,section_targets:((null==k?void 0:k.sites)||[]).map((e=>e._id)).join("|")||W,section_is_sports:((null==k?void 0:k.sites)||[]).some((e=>"/sports"===e._id))?"true":"false",seo_keywords:Object(q.h)((null==k?void 0:k.seo_keywords)||[],{separator:"-"})||W,source_name_ans:(null==e||null===(m=e.distributor)||void 0===m?void 0:m.name)||W,source_system:(null==e||null===(f=e.source)||void 0===f?void 0:f.system)||W,source_type_ans:(null==e||null===(b=e.distributor)||void 0===b?void 0:b.category)||W,story_tags:Object(q.c)((null==k?void 0:k.tags)||[],", ")||W,title:(null==e||null===(h=e.headlines)||void 0===h?void 0:h.basic)||W,content_type:L,type:L,updatedDate:Object(B.b)((null==e?void 0:e.publish_date)||"","YYYY-MM-DDTHH:mm:ssZ")||W,version:(null==e||null===(v=e.revision)||void 0===v?void 0:v.editions)?e.revision.editions.length.toString():"1"},Object($.mb)(e)&&{commission_team_1_required:(null==e||null===(g=e.label)||void 0===g||null===(j=g.commission_team_1_required)||void 0===j?void 0:j.text)||"No Value Set",commission_team_2:(null==e||null===(y=e.label)||void 0===y||null===(x=y.commission_team_2)||void 0===x?void 0:x.text)||"No Value Set"},{},E&&{arc_id:W,content_id:W,authors:(null==T?void 0:T.reporter)||"Staff reports",commission_team_1_required:"Food",commission_team_2:W,content_published_time_iso:Object(H.a)((null==T?void 0:T.created_time)||"")||W,content_subtype:(null==e?void 0:e.subtype)||W,content_type:L||"article",published_time:Object(H.a)((null==T?void 0:T.created_time)||"")||W,section_primary:"food",section_targets:"/food/restaurants",section_is_sports:"false",source_name_ans:"Staff",source_system:(null==e||null===(O=e.source)||void 0===O?void 0:O.system)||"airtable-restaurants",source_type_ans:"staff",story_tags:"content-vertical",sub_section:(null==S?void 0:S[1])||"food",sub_sub_section:"restaurants",title:(null==T?void 0:T.place_name)||W,type:L||"article",updatedDate:Object(H.a)(new Date(Number((null==e||null===(w=e.placeDetails)||void 0===w?void 0:w.updatedAt)||"")))||W,place_id:(null==T?void 0:T.place_id)||W},{},P&&{arc_id:W,content_id:W,authors:"Inquirer Food Staff",commission_team_1_required:"Food",commission_team_2:W,content_published_time_iso:Object(B.b)(V.f,"YYYY-MM-DDTHH:mm:ssZ")||W,display_date:Object(B.b)(V.f,"YYYY-MM-DDTHH:mm:ssZ")||W,published_time:Object(B.b)(V.f,"YYYYMMDDHHmm")||W,section_primary:"food",section_targets:"/food/restaurants|/food",seo_keywords:"restaurant-finder-philadelphia",source_name_ans:"Staff",source_system:"airtable",source_type_ans:"staff",sub_section:"food",sub_sub_section:"restaurants",title:"The Philadelphia Inquirer restaurant finder",type:"article",updatedDate:Object(B.b)(M,"YYYY-MM-DDTHH:mm:ssZ")||W},{},Object($.jb)((null==e?void 0:e.subtype)||"")&&{collection_id:(null==e?void 0:e.storyStackCollectionId)||W})},K=e=>{const{taxonomy:{topics:t=[],sites:n=[],tags:r=[],keywords:i=[],named_entities:o=[],auxiliaries:a=[]}={}}=e,l=Z(e,""),s=G({},l,{article_word_count:Number(null==l?void 0:l.article_word_count),clavis_topics:t.map((({name:e})=>e)),section_targets:n.map((({_id:e})=>e)).filter((e=>e)),story_tags:r.map((({text:e})=>e)),topic:t,keywords:i.map((e=>{let{tag:t}=e;return G({},U(e,["tag"]),{tag:[t]})})),named_entities:o.map((e=>{let{_id:t}=e;return G({},U(e,["_id"]),{id:t})})),clavis_auxiliaries:a.map((e=>{let{_id:t}=e;return G({},U(e,["_id"]),{id:t})}))});return Object.fromEntries(Object.entries(s).filter((([e])=>!["id","version","title","published_time","type","arc_environment","clickability_id","content_id","display_date","commission_team_1_required","commission_team_2","section_is_sports","collection_id"].includes(e))))},J=e=>{window.PMNdataLayer&&window.PMNdataLayer.push({event:"web_vitals",web_vitals_type:e.name,web_vitals_value:Math.round("CLS"===e.name?1e3*e.delta:e.delta),web_vitals_id:e.id})},X=()=>{w(J),function(e,t){t=t||{},y((function(){var n,r=j(),i=s("LCP"),a=function(e){var t=e[e.length-1];t&&t.startTime0&&(i.value=0,i.entries=[]),r(!0)})),o((function(){M=[],P=N(),i=s("INP"),r=u(e,i,E,t.reportAllChanges)})))}))}(J)},Q=(e,t,n,r)=>{var i,o;const a=Object(F.l)(e);return G({},t&&{"data-feed-length":t},{},n&&{"data-card-index":n},{},r&&{"data-card-location":r},{"data-feed-provenance":(null==e?void 0:e.provenance)||"arc-taxonomy","data-card-type":a,"data-card-content-id":null==e?void 0:e._id,"data-card-author":Object($.q)(null==e||null===(i=e.credits)||void 0===i?void 0:i.by),"data-card-content-title":null==e||null===(o=e.headlines)||void 0===o?void 0:o.basic})},ee=(e,t)=>{window.PMNdataLayer&&e&&t&&window.PMNdataLayer.push({event:"cardclick",clickUrl:t,index:e})}},,function(e,t,n){"use strict";function r(e="GTM-PMVLLW"){var t,n;(null===(t=window.PMNdataLayer)||void 0===t?void 0:t.some((e=>e["gtm.start"])))||(null===(n=window.PMNdataLayer)||void 0===n||n.push({event:"original-location",originalLocation:window.location.protocol+"//"+document.location.hostname+document.location.pathname+document.location.search,arc_environment:"fusion"}),function(e,t,n,r,i){e[r]=e[r]||[],e[r].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var o=t.getElementsByTagName(n)[0],a=t.createElement(n),l="&l="+r;a.async=!0,a.src="//www.googletagmanager.com/gtm.js?id="+i+l,o.parentNode&&o.parentNode.insertBefore(a,o)}(window,document,"script","PMNdataLayer",e))}n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return l}));let i=!1;const o=()=>{i=!1};async function a(e){i||(await function(e=2e3){return new Promise((t=>{try{const n=()=>{var e,t,n,r,i,o;return!!(null===(e=window)||void 0===e||null===(t=e.sophi)||void 0===t||null===(n=t.dataLayer)||void 0===n?void 0:n.trace)&&void 0!==(null===(r=window)||void 0===r||null===(i=r.sophi)||void 0===i||null===(o=i.dataLayer)||void 0===o?void 0:o.userProperties)};if(n())return void t();let r=!1;const i=()=>{r||(r=!0,t())},o=()=>{document.removeEventListener("sophi:pageview-sent",o);try{const n=(window.PMNdataLayer||[]).slice().reverse().find((e=>e&&"pageview"===e.event));var e,t;n&&(n.sophi_decision_source=null===(e=window)||void 0===e||null===(t=e.Fusion)||void 0===t?void 0:t.sophiDecisionSource)}catch(e){}i()};document.addEventListener("sophi:pageview-sent",o,{once:!0});const a=Date.now(),l=setInterval((()=>{n()?(clearInterval(l),o()):Date.now()-a>e&&(clearInterval(l),i())}),100)}catch(e){t()}}))}(2e3),i||(window.PMNdataLayer.push(l(e)),i=!0))}function l(e){var t,n,r,i,o,a,l,s,c,u,d,p,m,f,b,h,v,g;return{event:"pageview",pagePath:document.location.pathname+document.location.search,pageUrl:window.location.protocol+"//"+document.location.hostname+document.location.pathname+document.location.search,pageTitle:document.title,pageReferrer:e,arc_environment:"fusion",sophi_trace:(null===(t=window)||void 0===t||null===(n=t.sophi)||void 0===n||null===(r=n.dataLayer)||void 0===r?void 0:r.trace)||"No Value Set",sophi_context:(null===(i=window)||void 0===i||null===(o=i.sophi)||void 0===o||null===(a=o.dataLayer)||void 0===a?void 0:a.context)||"No Value Set",sophi_inputs:(null===(l=window)||void 0===l||null===(s=l.sophi)||void 0===s||null===(c=s.dataLayer)||void 0===c?void 0:c.inputs)||"No Value Set",experiments_code:(null===(u=window)||void 0===u||null===(d=u.sophi)||void 0===d||null===(p=d.dataLayer)||void 0===p?void 0:p.experimentsCode)||"No Value Set",sophi_decision_source:(null===(m=window)||void 0===m||null===(f=m.Fusion)||void 0===f?void 0:f.sophiDecisionSource)||"override",sophi_user_properties:null!==(b=null===(h=window)||void 0===h||null===(v=h.sophi)||void 0===v||null===(g=v.dataLayer)||void 0===g?void 0:g.userProperties)&&void 0!==b?b:"No Value Set"}}},,,function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1?["Jan.","Feb.","Aug.","Sept.","Oct.","Nov.","Dec."][t]:""}(parseInt(e.format("M")))||e.format("MMMM");return c?"".concat(u," ").concat(e.format("D")):"".concat(u," ").concat(e.format(!1!==s?"D, YYYY":"D"))}return""}),[r,l,c,d,s]),y=(0,o.useMemo)((function(){return p||j}),[p,j]),x=(0,o.useMemo)((function(){return"inline-block ".concat(n||g?"":"type-article-details"," ").concat(g?"text-black text-4.5 sm:text-5":v?"text-silversand bg-primary":"text-secondary")}),[n,g,v]);return(0,i.jsx)("time",{dateTime:(0,t.dateFromUTCOffset)(r),className:"".concat(x," inline ").concat(h),children:y})}},function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n>>8^255&f^99,i[n]=f,o[f]=n;var b=e[n],h=e[b],v=e[h],g=257*e[f]^16843008*f;a[n]=g<<24|g>>>8,l[n]=g<<16|g>>>16,s[n]=g<<8|g>>>24,c[n]=g,g=16843009*v^65537*h^257*b^16843008*n,u[f]=g<<24|g>>>8,d[f]=g<<16|g>>>16,p[f]=g<<8|g>>>24,m[f]=g,n?(n=b^e[e[e[v^b]]],r^=e[e[r]]):n=r=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],b=n.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,r=4*((this._nRounds=n+6)+1),o=this._keySchedule=[],a=0;a6&&a%n==4&&(c=i[c>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c]):(c=i[(c=c<<8|c>>>24)>>>24]<<24|i[c>>>16&255]<<16|i[c>>>8&255]<<8|i[255&c],c^=f[a/n|0]<<24),o[a]=o[a-n]^c);for(var l=this._invKeySchedule=[],s=0;s>>24]]^d[i[c>>>16&255]]^p[i[c>>>8&255]]^m[i[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,l,s,c,i)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,p,m,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,r,i,o,a,l){for(var s=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],p=e[t+3]^n[3],m=4,f=1;f>>24]^i[u>>>16&255]^o[d>>>8&255]^a[255&p]^n[m++],h=r[u>>>24]^i[d>>>16&255]^o[p>>>8&255]^a[255&c]^n[m++],v=r[d>>>24]^i[p>>>16&255]^o[c>>>8&255]^a[255&u]^n[m++],g=r[p>>>24]^i[c>>>16&255]^o[u>>>8&255]^a[255&d]^n[m++];c=b,u=h,d=v,p=g}b=(l[c>>>24]<<24|l[u>>>16&255]<<16|l[d>>>8&255]<<8|l[255&p])^n[m++],h=(l[u>>>24]<<24|l[d>>>16&255]<<16|l[p>>>8&255]<<8|l[255&c])^n[m++],v=(l[d>>>24]<<24|l[p>>>16&255]<<16|l[c>>>8&255]<<8|l[255&u])^n[m++],g=(l[p>>>24]<<24|l[c>>>16&255]<<16|l[u>>>8&255]<<8|l[255&d])^n[m++],e[t]=b,e[t+1]=h,e[t+2]=v,e[t+3]=g},keySize:8});e.AES=t._createHelper(b)}(),r.AES)},function(e,t,n){"use strict";n(1);var r=n(0);t.a=({customClasses:e})=>Object(r.jsx)("div",{className:`relative ${e}`,children:Object(r.jsx)("div",{id:"article-feedback-collector",className:"article-feedback-collector mt-6 mb-4"})})},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(16),a=n(77),l=n(0);const s=({header:e,index:t,customClass:n,isDarkMode:r})=>{var i;const o=(null==e||null===(i=e.additional_properties)||void 0===i?void 0:i.size)?e.additional_properties.size:`h${(null==e?void 0:e.level)||""}`,a=(null==e?void 0:e.content).replace("Object(l.jsx)("div",{className:`inq-icon inq-icon--link ${e}`,children:Object(l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"64",height:"47",viewBox:"0 0 64 47",fill:"none",children:[Object(l.jsx)("path",{d:"M33.5415 35.3354C35.6946 42.4061 43.6632 47.1804 51.0092 45.8887C58.3553 44.597 64.1537 37.4967 63.996 30.1094C63.8382 22.7221 57.8309 15.9089 50.4806 14.651C51.4697 9.50518 53.5759 4.57468 56.6201 0.290039C53.3585 2.38381 50.3782 4.87861 47.4535 7.4114C43.2709 11.0333 39.1182 14.824 36.2574 19.5392C33.3966 24.2545 31.9384 30.0672 33.5415 35.3354Z",fill:"currentColor"}),Object(l.jsx)("path",{d:"M0.379601 34.17C2.04238 41.5109 9.87451 46.8888 17.4124 45.9559C24.9504 45.023 31.1794 37.9818 31.2093 30.4595C31.2434 22.9371 25.155 15.879 17.664 14.638C18.8109 9.54704 20.8744 4.66298 23.7353 0.28125C19.3438 3.34171 15.1783 6.7272 11.29 10.3913C7.95591 13.5362 4.7881 16.9386 2.62222 20.9657C0.460608 24.9928 -0.630858 29.7207 0.379601 34.17Z",fill:"currentColor"})]})});function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t{const p=Object(r.useMemo)((()=>`type-body-text block leading-4 sm:leading-8 mt-4 ${s||(o?"text-white":"text-secondary")}`),[o,s]),f=Object(r.useMemo)((()=>o?" text-white":c?` ${c}`:" text-primary"),[o,c]);return Object(l.jsxs)("blockquote",{className:`${t?"inq-blockquote inq-blockquote--quotations":"inq-blockquote my-7 lg:my-12"} ${o?"bg-primary":""} ${u}`,children:[a&&Object(l.jsx)("div",{className:"relative",children:Object(l.jsx)(d,{size:"large",customClass:s})}),Object(l.jsx)("p",{className:`type-pull-quote relative mb-5${f}`,children:i}),Object(l.jsx)("footer",{children:Object(l.jsx)("cite",m({className:p},!e&&n?{dangerouslySetInnerHTML:{__html:n}}:{},{children:e&&n&&Object(l.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",title:n||"Image citation",className:"no-underline"+(o?" text-blue-shades-50":"text-blue-mid"),children:n||e})}))})]})},h=({content:e,index:t,isDarkMode:n,hasQuoteIcon:i,quoteIconColor:o,customClass:a,customTextColor:s})=>{var c;const d=Object(r.useMemo)((()=>{var t;return"blockquote"===(null==e?void 0:e.subtype)&&(null==e||null===(t=e.citation)||void 0===t?void 0:t.content)}),[e]),p=Object(r.useMemo)((()=>null==e?void 0:e.subtype),[e]),m=Object(r.useMemo)((()=>(e=>{let t=0,n="";return null==e||e.forEach((e=>{"text"===e.type&&(n+=`${t>0?" ":""}${null==e?void 0:e.content}`,t++)})),t===(null==e?void 0:e.length)?n:""})((null==e?void 0:e.content_elements)||[])),[e]);var f;return"pullquote"===p&&m?Object(l.jsx)(b,{author:null==e||null===(f=e.citation)||void 0===f?void 0:f.content,isDarkMode:n,hasQuoteIcon:i,quoteIconColor:o,customClass:a,customTextColor:s,children:Object(l.jsx)("span",{dangerouslySetInnerHTML:{__html:m}})}):Object(l.jsx)("div",{className:""+("blockquote"===p?"italic sm:ml-12 pl-8 my-6 border-solid border-y-0 border-r-0 border-l "+(n?"border-white bg-primary":"border-neutral-black"):"max-w-[600px] mx-auto mt-6"),children:Object(l.jsxs)("div",{className:""+("blockquote"===p?"mx-auto":""),children:[null==e||null===(c=e.content_elements)||void 0===c?void 0:c.map(((t,r)=>(null==t?void 0:t.list_type)?Object(l.jsx)(u.a,{content:t,isDarkMode:n}):"header"===(null==t?void 0:t.type)?Object(l.jsx)("h3",{dangerouslySetInnerHTML:{__html:(null==t?void 0:t.content)||""}},null==t?void 0:t._id):Object(l.jsx)("div",{className:"mb-3 inq-p "+(n?"text-white":"text-primary"),dangerouslySetInnerHTML:{__html:(null==t?void 0:t.content)||""}},`quote-${r}-${e._id}`))),d&&Object(l.jsx)("div",{className:"leading-4.5 font-normal text-base not-italic type-author "+(n?"text-white":""),dangerouslySetInnerHTML:{__html:d}})]})},`blockquote-${t}-${e._id}`)};var v=Object(r.memo)(h);const g=({type:e,updatedAt:t,children:n,isDarkMode:i})=>{const o=Object(r.useMemo)((()=>{let n="";switch(e){case"editor":n="Editor's Note: ";break;case"correction":n="Correction: ";break;case"clarification":n="Clarification: ";break;case"update":n="Update: ";break;default:n="Note: "}return t&&(n+=`${t}: `),n}),[e,t]);return Object(l.jsxs)("div",{className:"inq-note font-grot10 text-3.5 leading-4 font-normal "+(i?"text-silversand bg-primary":"text-secondary"),children:[Object(l.jsx)("span",{className:"inq-note-type font-bold "+(i?"text-white":"text-secondary"),children:o}),n]})};var j=n(222);const y="un-truncated",x="line-height",O=(e,t)=>{let n=window.getComputedStyle(e).getPropertyValue(t);const r=Number(window.getComputedStyle(document.body).getPropertyValue("font-size").replace(/px|em|rem/g,""));return-1===n.indexOf("rem")&&-1===n.indexOf("em")&&-1!==n.indexOf("px")||(n=String(Number(n.replace(/rem|em/g,""))*r)),Number(n.replace(/px/g,""))};var w=n(31);const _=({item:e,totalImages:t,canonicalUrl:n,dataCardType:i,dataLinkType:o,mapIndex:a,feedLength:s,feedProvenance:c,index:u,imageRefs:d,isSinglePhotoCard:p,isDarkMode:m,creditClasses:f="",readMoreClasses:b="",onLoadCarouselCell:h})=>{const v=Object(r.useRef)(null),g=Object(r.useCallback)((()=>{const e=v.current;if(e){var t;const i=null===(t=e.parentElement)||void 0===t?void 0:t.parentElement,o=null==i?void 0:i.querySelector("img"),a=i.querySelector("figcaption");if(e.classList.replace("truncated",y),!p){var n,r;(null===(n=i.parentElement)||void 0===n||null===(r=n.parentElement)||void 0===r?void 0:r.parentElement).style.height=o.clientHeight+a.clientHeight-10+"px"}}}),[v.current]);return Object(r.useEffect)((()=>{const e=v.current;e&&((null==e?void 0:e.scrollHeight)-2>3*O(e,x)&&!(null==e?void 0:e.classList.contains(y))?null==e||e.classList.add("truncated"):null==e||e.classList.remove("truncated"))}),[v.current]),Object(l.jsx)("div",{id:`carousel-cell-${e.url}-${u}`,className:"carousel-cell",onLoad:h,"data-image-name":(null==e?void 0:e.originalName)||"No Value Set","data-image-position":u+1,"data-total-images":t,"data-distributor-category":e.distributor&&e.distributor.category||"","data-distributor-name":e.distributor&&e.distributor.name||"","data-photog-credit":e.credit,children:Object(l.jsxs)("figure",{children:[p?Object(l.jsx)("a",{className:"inq-story__link inq-image",href:n,"data-card-type":i,"data-link-type":o,"data-card-index":a,"data-feed-length":s,"data-feed-provenance":c,children:Object(l.jsx)("img",{"data-image-src":e.url,src:(null==e?void 0:e.imageWebUrl)||e.url,className:"inq-image inq-story__image object-cover w-100vw aspect-[3/2]",alt:e.alt,srcSet:null==e?void 0:e.srcset})}):Object(l.jsx)("img",{ref:e=>{e&&(null==d||d.push(e))},"data-image-src":e.url,src:(null==e?void 0:e.imageWebUrl)||e.url,className:"inq-image inq-story__image object-contain h-full max-h-75vh",alt:e.alt,srcSet:null==e?void 0:e.srcset}),Object(l.jsxs)("figcaption",{children:[Object(l.jsxs)("span",{id:`caption-${e.url}-${u}`,ref:v,className:"inq-fig--caption font-grot10 text-4 font-normal leading-4.5 "+(m?"text-white":"text-primary"),children:[e.caption,Object(l.jsx)("a",{className:`inq-fig--expend-btn font-bold absolute bottom-0 right-0 cursor-pointer ${m?w.a:"text-primary bg-white"} ${b}`,role:"button",onClick:g,"data-click-event":"expand-caption",children:"Read more"})]}),Object(l.jsx)("span",{className:`inq-fig--credit font-grot10 text-4 mt-4 leading-4.5 font-light ${m?"text-gray-light":"text-primary"} ${f}`,children:e.credit})]})]})})};var C=i.a.memo(_);class k extends i.a.Component{constructor(e){super(e),this.currentRefs=void 0,this.imageRefs=void 0,this.flickity=void 0,this.boundHandleKeywordKeyPress=null,this.getChildCarouselCell=async e=>({img:null==e?void 0:e.querySelector("img"),figcaption:null==e?void 0:e.querySelector("figcaption"),caption:null==e?void 0:e.querySelector(".inq-fig--caption"),credit:null==e?void 0:e.querySelector(".inq-fig--credit")}),this.onHandleTruncation=async e=>{var t,n,r,i,o;const a=document.getElementById(e),l=null==a||null===(t=a.parentElement)||void 0===t?void 0:t.parentElement,{img:s}=await this.getChildCarouselCell(a),c=null==l||null===(n=l.parentElement)||void 0===n||null===(r=n.parentElement)||void 0===r||null===(i=r.parentElement)||void 0===i?void 0:i.querySelectorAll(".inq-btn-arrow");(null===(o=s)||void 0===o?void 0:o.complete)&&c.forEach((e=>{e.style.top=(null==s?void 0:s.clientHeight)/2-20+"px",e.classList.remove("is-loading")}))},this.adjustHeightFlickity=async e=>{let t;t=e.classList.contains("inq-card-carousel--gallery")?e.querySelector(".flickity-viewport"):e;const n=t.querySelector(".is-selected"),{img:r,figcaption:i,caption:o,credit:a}=await this.getChildCarouselCell(n);this.onHandleTruncation(n.id),o.classList.contains(y)?t.style.height=r.clientHeight+i.clientHeight-10+"px":t.style.height=`${r.clientHeight+3*O(o,x)+O(a,x)+O(i,"padding-top")+O(i,"padding-bottom")}px`},this.onLoadCarouselCell=e=>{this.onHandleTruncation(e),window.addEventListener("resize",(()=>this.onHandleTruncation(e))),this.flickity.on("dragStart",(e=>{this.flickity.on("dragEnd",(()=>{var t,n,r,i;e.target.classList.contains("inq-image")&&this.adjustHeightFlickity(null===(t=e.target)||void 0===t||null===(n=t.parentElement)||void 0===n||null===(r=n.parentElement)||void 0===r||null===(i=r.parentElement)||void 0===i?void 0:i.parentElement)}))}))},this.onClickToPrevious=e=>{var t;this.flickity.previous(),this.adjustHeightFlickity(null===(t=e.currentTarget)||void 0===t?void 0:t.parentElement),this.onDotHandler()},this.onClickToNext=e=>{var t;this.flickity.next(),this.adjustHeightFlickity(null===(t=e.currentTarget)||void 0===t?void 0:t.parentElement),this.onDotHandler()},this.onDotReset=e=>{e.forEach((e=>{e.classList.remove("dot5"),e.classList.remove("dot3"),e.classList.remove("hidden")}))},this.onDotHandler=()=>{const e=this.flickity.element.querySelector(".flickity-page-dots").querySelectorAll(".dot"),t=e.length;if(t>8){const{selectedIndex:n}=this.flickity;this.onDotReset(e),n<=3&&e.forEach(((e,t)=>{(7===t||0===t&&3===n)&&e.classList.add("dot5"),8===t&&e.classList.add("dot3"),t>8&&e.classList.add("hidden")})),n>=t-4&&e.forEach(((e,r)=>{r3&&n{(tn+4)&&e.classList.add("hidden"),t!==n-4&&t!==n+4||e.classList.add("dot3"),t!==n-3&&t!==n+3||e.classList.add("dot5")}))}e.length>0&&e.forEach((e=>{e.ariaLabel&&e.removeAttribute("aria-label")}))},this.componentDidMount=()=>{this.checkLazyLoad(),this.flickity&&(this.flickity.on("ready",(()=>{var e;(this.onDotHandler(),this.currentRefs.current)&&this.adjustHeightFlickity(null===(e=this.currentRefs.current.carousel)||void 0===e?void 0:e.parentElement)})),this.flickity.on("select",(()=>{this.onDotHandler()}))),this.boundHandleKeywordKeyPress=this.handleKeywordKeyPress.bind(this),window.addEventListener("keydown",this.boundHandleKeywordKeyPress)},this.currentRefs=i.a.createRef(),this.imageRefs=[]}componentWillUnmount(){this.boundHandleKeywordKeyPress&&window.removeEventListener("keydown",this.boundHandleKeywordKeyPress),this.flickity&&"function"==typeof this.flickity.off&&(this.flickity.off("select",this.onDotHandler),this.flickity.off("ready",this.onDotHandler))}handleKeywordKeyPress(e){const t=document.activeElement;let n;t&&t.childNodes&&t.childNodes.length>0&&({childNodes:n}=t),"Tab"===e.key&&n&&"flickity-viewport"===n[0].className&&t.isEqualNode(this.flickity.element)&&(this.flickity.selectedIndex===this.flickity.cells.length-1?this.flickity.element.focus():(e.preventDefault(),this.flickity.next(),t.setAttribute("aria-live",this.flickity.selectedElement.innerText)))}checkLazyLoad(){var e,t;if(null==this||null===(e=this.props)||void 0===e||null===(t=e.flickityOptions)||void 0===t?void 0:t.lazyLoad)return this.imageRefs.filter(Boolean).forEach((e=>{const t=e.getAttribute("data-image-src")||"";e.setAttribute("data-flickity-lazyload",t),e.removeAttribute("src")}))}render(){const{isDarkMode:e,creditClasses:t,readMoreClasses:n,customClasses:r}=this.props;return Object(l.jsxs)("article",{className:`inq-card inq-card-carousel inq-card-carousel--gallery article-body ${e?"border border-solid border-gray-mid-neutral":""} ${r}`,"data-card-type":"gallery",children:[Object(l.jsx)("button",{onClick:this.onClickToPrevious,className:"inq-btn-arrow prev is-loading","aria-label":"previous button",children:Object(l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 0 24 24",width:"40",children:[Object(l.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),Object(l.jsx)("path",{fill:"white",d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})]})}),Object(l.jsx)("button",{onClick:this.onClickToNext,className:"inq-btn-arrow next is-loading","aria-label":"next button",children:Object(l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"40",viewBox:"0 0 24 24",width:"40",children:[Object(l.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),Object(l.jsx)("path",{fill:"white",d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})]})}),Object(l.jsx)(j.default,{className:"carousel "+(e?"bg-primary":""),elementType:"div",options:this.props.flickityOptions,disableImagesLoaded:!1,reloadOnUpdate:!0,static:!0,flickityRef:e=>this.flickity=e,ref:this.currentRefs,children:this.props.content.map(((r,i)=>Object(l.jsx)(C,{index:i,item:r,totalImages:this.props.content.length,imageRefs:this.imageRefs,onLoadCarouselCell:()=>this.onLoadCarouselCell(`carousel-cell-${r.url}-${i}`),isDarkMode:e,creditClasses:t,readMoreClasses:n},`gallery-carousel-${r.url}-${i}`)))})]})}}var S=n(117),N=n(85),L=n(37);class E extends i.a.Component{constructor(e){super(e),this.renderStoryImage=()=>{const e=this.props.expanded;if(Object(L.k)(this.props.story.promo_items)&&"subtype-podcast"!==this.props.story.subtype)return Object(l.jsx)(S.a,{story:this.props.story,videoOptions:this.props.videoOptions,trackingVideo:this.props.trackingVideo,dataEnv:this.props.dataEnv});if(this.props.storyImage){const{alt:t,caption:n,credit:r,image_srcset:i,url:o,src:a}=this.props.storyImage,s=e?"topper":"card";return Object(l.jsx)(N.a,{type:s,src:a||o,srcset:i,alt:t,caption:n,credit:r,imageRatio:this.props.imageRatio,imageAlignment:this.props.imageAlignment,sizes:this.props.promoImgSizes})}return null}}getStoryLink(){return this.props.story.canonical_url?`${this.props.story.canonical_url}`:""}toggleCardState(e){const t=this.props.expanded;e.preventDefault(),e.ctrlKey||e.metaKey?window.open(this.getStoryLink()):t&&this.props.clickClosed?this.props.clickClosed(this.props.story):this.props.clickOpen&&this.props.clickOpen(this.props.story)}render(){const{dataLinkType:e="standard-story-card",hasFeaturedImage:t}=this.props,n=Object(L.k)(this.props.story.promo_items);return Object(l.jsx)(l.Fragment,{children:!1!==t&&(n?Object(l.jsx)("div",{"data-card-index":this.props.mapIndex,"data-link-type":e,"data-card-author":this.props.dataCardAuthor,"data-card-type":this.props.dataCardType,"data-feed-length":this.props.feedLength,"data-feed-provenance":this.props.feedProvenance,children:this.renderStoryImage()}):Object(l.jsx)("a",{href:this.getStoryLink(),"data-card-index":this.props.mapIndex,"data-link-type":e,"data-card-author":this.props.dataCardAuthor,"data-card-type":this.props.dataCardType,"data-feed-length":this.props.feedLength,"data-feed-provenance":this.props.feedProvenance,onClick:e=>this.toggleCardState(e),className:"inq-story__link",children:this.renderStoryImage()}))})}}class P extends i.a.Component{constructor(e){super(e),this.renderStoryImage=()=>{const e=this.props.expanded;if(this.props.storyImage){const{alt:t,caption:n,credit:r,image_srcset:i,url:o,src:a}=this.props.storyImage,s=e?"topper":"card";return Object(l.jsx)(N.a,{type:s,src:a||o,srcset:i,alt:t,caption:n,credit:r,duration:this.props.duration,showPlayButton:this.props.showPlayButton})}return null}}getStoryLink(){return this.props.story.canonical_url?`${this.props.story.canonical_url}`:""}toggleCardState(e){const t=this.props.expanded;e.preventDefault(),e.ctrlKey||e.metaKey?window.open(this.getStoryLink()):t&&this.props.clickClosed?this.props.clickClosed(this.props.story):this.props.clickOpen&&this.props.clickOpen(this.props.story)}render(){const{dataLinkType:e="video-card"}=this.props;return Object(l.jsx)("a",{href:this.getStoryLink(),"data-card-index":this.props.mapIndex,"data-link-type":e,"data-card-author":this.props.dataCardAuthor,"data-card-type":this.props.dataCardType,"data-feed-length":this.props.feedLength,"data-feed-provenance":this.props.feedProvenance,onClick:e=>this.toggleCardState(e),className:"inq-story__link",children:this.renderStoryImage()})}}var T=n(128),M=n(254),A=n(166),I=n(81);function D({category:e,content:t,borderColor:n="transparent",headline:r="",image:i="",alt:o="",storyStyle:a="standard",type:s="story",follow:c=!1,footer:u=!1,isArticleBody:d=!1,credits:p,canonicalUrl:m="",displayDate:f="",version:b=1,mapIndex:h,feedLength:v,feedProvenance:g,dataCardType:y,dataLinkType:x,bylines:O,usePMNdataLayerEvent:w,userInteraction:_,headlineCustomClasses:S,headlineCustomElement:L="div",eyebrowClassName:D,isSinglePhotoCard:R=!1,isDarkMode:$,hideTimestamp:q,creditClasses:B,readMoreClasses:F,customClasses:V}){const H={initialIndex:0,cellAlign:"left",contain:!0,prevNextButtons:"collection"===s,pageDots:"story"!==s&&"collection"!==s,wrapAround:!1,adaptiveHeight:d||2===b,groupCells:"collection"===s},U=()=>R?Object(l.jsx)("article",{className:`inq-card inq-card-carousel inq-card-carousel--gallery article-body ${V}`,"data-card-type":"gallery",children:Object(l.jsx)(C,{item:t[0],totalImages:t.length,isSinglePhotoCard:R,index:0,canonicalUrl:m,dataCardType:y,dataLinkType:x,mapIndex:h,feedLength:v,feedProvenance:g,creditClasses:B,readMoreClasses:F})}):Object(l.jsx)(k,{content:t,flickityOptions:H,isDarkMode:$,creditClasses:B,readMoreClasses:F,customClasses:V});if(d)return U();const z=()=>{if(u)return Object(l.jsxs)("p",{className:"inq-card-carousel__foot",children:["Want to see more content like this?"," ",Object(l.jsx)("a",{href:"",title:"Yes",children:"Yes"})," ",Object(l.jsx)("a",{href:"",title:"Nope",children:"Nope"})]})},G=e=>{e&&(window.scrollTo(0,0),window.location.assign(`${window.location.protocol}//${window.location.hostname}${e}`))};return Object(l.jsxs)("article",{className:`inq-card inq-card-carousel inq-card-carousel--${s} ${2===b?"inq-card-carousel--gallery-v2":""}`,"aria-label":"photo gallery",children:[Object(l.jsxs)("div",{className:"inq-card-carousel--header inq-card-story--standard",style:{boxShadow:`inset 0 8px 0 -4px ${n}`},children:["collection"===s&&Object(l.jsx)(M.a,{category:(()=>{if(e)return e})(),hasImage:!1,dataCardType:y,dataLinkType:x,mapIndex:h,feedLength:v,feedProvenance:g,eyebrowClassName:D}),(()=>{if(c)return Object(l.jsx)("a",{href:"",className:"inq-follow",children:"Follow"})})(),r&&m&&Object(l.jsx)("a",{className:"inq-story__link",href:m,"data-card-type":y,"data-link-type":x,"data-card-index":h,"data-feed-length":v,"data-feed-provenance":g,children:Object(l.jsx)(A.a,{as:L,customClasses:S,type:a,children:r})}),""!==i&&Object(l.jsx)("div",{className:"inq-carousel-image",children:Object(l.jsx)(N.a,{src:i,alt:o})})]}),1===b?Object(l.jsxs)("div",{className:"inq-card-carousel--wrapper-v1",children:[Object(l.jsx)(j.default,{className:"carousel",elementType:"div",options:H,disableImagesLoaded:!1,reloadOnUpdate:!0,static:!0,children:t.map(((e,t)=>"story"==e.type||"collection"===s?((e,t)=>{const n=`story-carousel-${e._id}-${t}`;let r=null;e.promo_items&&e.promo_items.basic&&(r=e.promo_items.basic);const i=e.canonical_url?e.canonical_url:"",o=e.headlines&&e.headlines.basic?e.headlines.basic:"";return Object(l.jsx)("article",{className:"carousel-cell inq-card inq-card-story inq-card-story--standard inq-card-story--closed","data-card-index":h||t+1,"data-card-type":y,"data-feed-length":v,"data-feed-provenance":g,children:Object(l.jsxs)("div",{className:"inq-card__inner",children:[Object(l.jsx)("div",{className:"inq-story__header",children:"video"===e.type?Object(l.jsx)(P,{story:e,storyImage:r,expanded:!1,duration:"unset",showPlayButton:!0,clickOpen:()=>G(i),dataLinkType:x,dataCardType:y,mapIndex:h||t+1,feedLength:v,feedProvenance:g}):Object(l.jsx)(E,{story:e,storyImage:r,expanded:!1,clickOpen:()=>G(i),dataLinkType:x,dataCardType:y,mapIndex:h||t+1,feedLength:v,feedProvenance:g})}),Object(l.jsx)("div",{className:"inq-card-content",children:Object(l.jsx)("a",{href:i,className:"inq-story__link",title:o,"data-card-type":y,"data-link-type":x,"data-card-index":h||t+1,"data-feed-length":v,"data-feed-provenance":g,children:Object(l.jsx)(A.a,{as:L,customClasses:"font-semibold",children:o})})})]})},n)})(e,t):"image"==e.type?((e,t)=>{const n=`gallery-carousel-${e.url}-${t}`;return Object(l.jsx)("div",{className:"carousel-cell",children:Object(l.jsx)(N.a,{src:e.url,alt:e.alt,credit:e.credit,caption:e.caption,type:"topper"})},n)})(e,t):void 0))}),z()]}):Object(l.jsxs)("div",{className:"inq-card-carousel--wrapper-v2",children:[U(),Object(l.jsxs)("div",{className:"inq-card-footer",children:[Object(l.jsx)(T.a,{authors:O&&O.authors||(null==p?void 0:p.by),section:O&&O.section||"",timestamp:q?"":O&&O.timestamp.time||f,type:"compact",noBreakLine:!0,organization:O&&O.organization||""}),m&&r?Object(l.jsx)(I.a,{useDots:!0,articleCanonicalUrl:m,articleTitle:r,usePMNdataLayerEvent:w,userInteraction:_}):null]})]})]})}var R=n(212),$=n(437),q=n.n($),B=n(150),F=n(94),V=n(5),H=n(92);var U=Object.freeze({Youtube:["youtube"],Twitter:["twitter","tweet"],Facebook:["facebook-video","facebook-post","facebook"],Instagram:["instagram"],Bluesky:["bluesky"]});const z=({content:e,isDarkMode:t})=>{const n=Object(r.useMemo)((()=>null==e?void 0:e.subtype),[e]),i=Object(r.useMemo)((()=>{var t;let r=(null==e?void 0:e.html)||(null==e||null===(t=e.raw_oembed)||void 0===t?void 0:t.html);return"youtube"===n&&(r=r.replace("({__html:Object(V.b)(i,"",t)})),[i,t]);return Object(r.useEffect)((()=>{let e=null;const t=U.Instagram.includes(n),r=U.Facebook.includes(n),i=U.Twitter.includes(n),o=U.Bluesky.includes(n);i&&(e=Object(H.a)("script",[{key:"async",value:!0},{key:"src",value:"//platform.twitter.com/widgets.js"}])),r&&(e=Object(H.a)("script",[{key:"async",value:"1"},{key:"defer",value:"1"},{key:"crossorigin",value:"anonymous"},{key:"src",value:"//connect.facebook.net/en_US/sdk.js"}])),t&&(e=Object(H.a)("script",[{key:"async",value:!0},{key:"src",value:"//www.instagram.com/embed.js"}])),o&&(e=Object(H.a)("script",[{key:"async",value:!0},{key:"src",value:"https://embed.bsky.app/static/embed.js"},{key:"charset",value:"utf-8"}])),e&&(document.head.appendChild(e),e.addEventListener("load",(()=>{t&&window&&window.instgrm&&window.instgrm.Embeds.process(),r&&window&&window.FB&&window.FB.XFBML.parse()})))}),[]),Object(l.jsx)("div",{className:`oembed-${n}`,children:Object(l.jsx)("div",{className:"flex flex-row mx-0 my-4 "+("youtube"===n?"relative pb-[56%]":""),dangerouslySetInnerHTML:o})},e._id)};var G=Object(r.memo)(z),Y=n(140),W=n(714);const Z=({storyContent:e})=>{const t=Object(r.useMemo)((()=>(null==e?void 0:e.items)||[]),[e]),n=Object(r.useMemo)((()=>{let e="People We’ve Lost";var n;(null==t?void 0:t.length)&&(e=null===(n=t[0])||void 0===n?void 0:n.content,e.includes("Object(l.jsx)("li",{className:"text-3 font-light my-2.5 ml-5",dangerouslySetInnerHTML:{__html:e.content}},e._id)))})}),Object(l.jsx)("p",{className:"show-more text-right pb-4 pr-4 text-3.5 underline cursor-auto",children:Object(l.jsx)("a",{className:"text-blue-mid",href:"https://www.inquirer.com/obituaries/inq/coronavirus-deaths-philadelphia-south-jersey-covid-19-obituaries-20200422.html",children:"More Memorials"})})]}):null};var K=Object(r.memo)(Z);var J=({content:e,tags:t,isDarkMode:n})=>{var i;return Object(r.useMemo)((()=>Boolean((null==t?void 0:t.length)&&t.findIndex((e=>"lost-to-coronavirus"===e.slug))>-1&&"unordered"===(null==e?void 0:e.list_type))),[null==e||null===(i=e.taxonomy)||void 0===i?void 0:i.tags,null==e?void 0:e.list_type])?Object(l.jsx)(K,{storyContent:e}):Object(l.jsx)(u.a,{content:e,isDarkMode:n})},X=n(97),Q=n(9),ee=n(40),te=n(6),ne=n(8),re=n(39),ie=n(136),oe=n(15);const ae=({newsletterId:e="LETS_EAT_PHILLY",newsletterHeading:t="Let's Eat, Philly!",newsletterDescription:n="I cover the Philly-area’s food and restaurant scene, and I want to keep you in the know. Sign up to read more in your inbox!",newsletterSailthruName:i="Let's Eat Philly"})=>{var o,a,s,c,u,d,p;const{globalContent:m}=Object(ne.useAppContext)(),f=Object(r.useMemo)((()=>{var e,t,n,r;return Object(ie.b)(null==m||null===(e=m.credits)||void 0===e||null===(t=e.by)||void 0===t||null===(n=t[0])||void 0===n||null===(r=n.image)||void 0===r?void 0:r.url,"282","282")}),[null==m||null===(o=m.credits)||void 0===o||null===(a=o.by)||void 0===a||null===(s=a[0])||void 0===s||null===(c=s.image)||void 0===c?void 0:c.url]),b=Object(r.useMemo)((()=>Object(oe.e)(m)),[m]);Object(r.useCallback)((()=>{var e,t,n;sessionStorage.setItem("loginMethod","google_account"),null===(e=window)||void 0===e||null===(t=e.services)||void 0===t||null===(n=t.loginService)||void 0===n||n.onLoginSSOClick("google-oauth2",void 0,!0)}),[]);return Object(r.useEffect)((()=>{Object(re.f)(`https://media.inquirer.com/widget/newsletter/${"prod"===Object(ee.a)("ENV")?"prod":"dev"}/philly-newsletter-widget.js`,!0)}),[]),Object(l.jsxs)("div",{className:"mt-4 bg-[#BAD2FF] p-4",children:[Object(l.jsxs)("div",{className:"flex flex-col items-start gap-4 sm:flex-row",children:[Object(l.jsx)("img",{className:"object-cover w-20 h-20 rounded-full",src:f,alt:null==m||null===(u=m.credits)||void 0===u||null===(d=u.by)||void 0===d||null===(p=d[0])||void 0===p?void 0:p.name}),Object(l.jsxs)("div",{children:[Object(l.jsx)("p",{className:"font-semibold leading-7 text-8 sm:leading-10 sm:text-10 font-inquirer-headline",children:t}),Object(l.jsx)("p",{className:"text-5 font-normal leading-[30px] font-grot10",children:n})]})]}),Object(l.jsx)("div",{className:"flex flex-col items-center gap-4 mt-4 sm:gap-6 sm:flex-row",children:Object(l.jsx)("div",{className:"flex-1 w-full philly-newsletter-widget inline-newsletter","data-env":"prod"===Object(ee.a)("ENV")?"production":"development","data-list-id":e,"data-newsletter-name":t,"data-source":"admin_newsletters_AM+Newsletter+-+Non-paying+Newsletter","data-button-text":"Sign Up","data-enabled-analytics":"true","data-custom-analytics-event":"newsletter_registration","data-custom-signup-source":b,"data-enabled-recaptcha":"true","data-custom-success-message":"Thank you for subscribing to our newsletter!","data-custom-success-class":"philly-newsletter-widget__message philly-newsletter__message--success","data-placeholder":"Email Address","data-default-value":"","data-form-id":"js-cm-form","data-form-class":"js-cm-form philly-newsletter-widget__form w-full relative flex justify-between","data-form-input-class":"js-cm-email-input philly-newsletter-widget__form-input px-3 py-2.5 mr-1 font-grot10 h-10 text-base/5 text-neutral-text-color rounded w-full border border-solid border-neutral-light-gray border-1 focus:border-primary-blue focus:border-2","data-form-input-id":"fieldEmail","data-submit-btn-class":"js-cm-submit-button philly-newsletter-widget__form-button py-0 px-6 rounded bg-primary-blue text-center font-grot10 text-base/5 font-bold text-neutral-white border-none cursor-pointer h-10","data-submit-btn-id":"submit","data-custom-error-message":"Something went wrong, please try again!","data-custom-error-class":"philly-newsletter-widget__message philly-newsletter__message--error hidden","data-custom-sailthru-list-name":i||""})})]})};var le=i.a.memo(ae),se=n(321);const ce=({storyContent:e})=>"DETAIL"===(null==e?void 0:e.inlineNewslettersDesign)?Object(l.jsx)(le,{}):Object(l.jsx)(se.a,{isDarkMode:!1,isRegularArticle:!0,newsletterSubheader:"ON"===(null==e?void 0:e.inlineNewslettersFrequency)?"A weekly newsletter":""});var ue=i.a.memo(ce),de=n(63),pe=n(43),me=n(51);function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function be(e){for(var t=1;t{var h,j,y,x;const O=!!b;if(e){var w;const b=Object(r.useMemo)((()=>Object(V.hb)(i||"")?Object(V.d)(Object(V.b)(null==e?void 0:e.content)):Object(V.b)(null==e?void 0:e.content,"",f)),[e,i,f]);let C=Object(r.useMemo)((()=>e),[e]);const k=Object(r.useMemo)((()=>Object(V.Q)(i||"",n||"")),[i,n]),S=Object(r.useMemo)((()=>Object(te.w)(i||"")),[]),N=Object(r.useCallback)(((t={})=>k||Object(V.i)(e)||"raw_html"===(null==e?void 0:e.type)&&Object(V.P)(e)?{isNotLazyLoad:!0}:be({},t)),[k,e]),L=Object(r.useMemo)((()=>u||!1),[u]),E=Object(r.useMemo)((()=>Object(V.gb)(i||"")),[i]);"video"===(null==e?void 0:e.type)&&"undefined"!=typeof window&&(C=Object(V.vb)(e,(e=>Object(o.useContent)({source:"author-api",query:{author_id:e}}))));const P=Object(r.useMemo)((()=>"header"===(null==e?void 0:e.type)?Object(V.e)(e,Object(V.hb)(i||"")):e),[e]),T=Object(r.useMemo)((()=>{var e;return d?`block mt-8 mb-4 ${Object(V.w)((null==P||null===(e=P.additional_properties)||void 0===e?void 0:e.size)||"",(null==p?void 0:p.bodySubheadStyle)||"",(null==p?void 0:p.bgColor)||"#ffffff",f?"text-white":"text-primary")}`:""}),[d,null==P||null===(w=P.additional_properties)||void 0===w?void 0:w.size,null==p?void 0:p.bodySubheadStyle,null==p?void 0:p.bgColor,f]),M=m===de.a.SINGLE_ASSETS_SIDE_GROUP,A=m===de.a.SINGLE_ASSETS;switch(e.type){case"text":return Object(l.jsx)(a.a,{dropcap:"letter"===(null===(h=e.block_properties)||void 0===h?void 0:h.dropcap),isDarkMode:f,customClasses:`${d?"inq-p--longform-v2":""} ${d&&(null==p?void 0:p.bgColor)?`text-${null==p||null===(j=p.bgColor)||void 0===j||null===(y=j.split("#"))||void 0===y||null===(x=y[1])||void 0===x?void 0:x.toLowerCase()}`:""}`,children:Object(V.pb)(b)},e._id);case"interstitial_link":{var _;const t=Object(V.hb)(i||"")&&Object(te.t)(null==e?void 0:e.url),n=!0===(null==e||null===(_=e.additional_properties)||void 0===_?void 0:_.openInNewTab),r=[t&&"nofollow",n&&"noopener noreferrer"].filter(Boolean).join(" ");return Object(l.jsx)("p",{className:"inq-p type-interstitial "+(f?"text-white":"text-primary"),children:Object(l.jsxs)("b",{children:["» READ MORE:"," ",Object(l.jsx)("a",be({},n&&{target:"_blank"},{},r&&{rel:r},{"data-link-type":"interstitial",href:Object(V.qb)(e.url),className:"no-underline "+(f?"text-blue-shades-50 hover:shadow-darkmode":"text-blue-mid hover:shadow-lightmode"),children:e.content}))]})},e._id)}case"header":return Object(l.jsx)(X.a,{id:Object(Q.l)(Object(V.H)(e.content||"")),name:Object(Q.l)(Object(V.H)(e.content||"")),elementType:k||E?"div":"",className:"anchor-custom pt-32 -mt-32 inq-story-header "+(f?"text-white":"text-neutral-text-color"),isNotLazyLoad:!0,children:Object(l.jsx)(c,{header:Object(V.rb)(P),customClass:T,isDarkMode:f})});case"list":return Object(l.jsx)("div",{className:"my-6",children:Object(l.jsx)(J,{content:Object(V.rb)(e),tags:t||[],isDarkMode:f})});case"quote":return Object(l.jsx)(v,{content:e,isDarkMode:f,hasQuoteIcon:d,quoteIconColor:d&&(null==p?void 0:p.bgColor)&&"#ffffff"!==(null==p?void 0:p.bgColor)?Object(V.v)("#222222"===(null==p?void 0:p.bgColor)&&f?"#ffffff":null==p?void 0:p.bgColor,"text"):"",customClass:"text-center"+((null==m?void 0:m.includes("single-assets-group"))?`${"left"===(null==e?void 0:e.alignment)?" lg:text-right":""}${"right"===(null==e?void 0:e.alignment)?" lg:text-left":""}`:"")});case"image":{const t=Object(l.jsx)(X.a,be({elementKey:e._id},N({offset:800,height:200,once:!0}),{children:Object(l.jsx)(F.a,{content:e,hasLazyLoad:!0,type:m===de.a.SINGLE_ASSETS?"":"article",customWidth:m===de.a.SINGLE_ASSETS_SIDE_GROUP||m===de.a.SINGLE_ASSETS?"100%":"",customHeight:m===de.a.SINGLE_ASSETS?"100%":"",creditClasses:`${d?"":"mb-2"} ${m===de.a.SINGLE_ASSETS?"max-w-lf-body mx-4 md:mx-auto":""}`,captionClasses:m===de.a.SINGLE_ASSETS?"max-w-lf-body mx-4 md:mx-auto":"",wrapperClass:Object(V.J)({isLiveEventArticle:S,isLiveblogArticleV2:L,isLongformV2:d,alignment:null==e?void 0:e.alignment,groupType:m}),isDarkMode:f,hideCaptionAndCredit:"center"===(null==e?void 0:e.alignment)&&!m,customSizes:d?Object(V.D)(m===de.a.SINGLE_ASSETS):""})}));return O?Object(l.jsx)(me.b,{content:e,index:Object(pe.c)(e),isFeatured:!1}):t}case"code":case"raw_html":return Object(l.jsx)(X.a,be({elementKey:e._id},N({offset:800,once:!0}),{},Object(V.i)(e)?{elementType:"div",className:"content-anchor"}:{},{children:!e.content.includes("flexible-in-article-nav")&&Object(l.jsx)(Y.b,{content:e,currentTotalAds:s||0,isDarkMode:f})}));case"video":{const t=Object(l.jsx)(X.a,be({elementKey:e._id},N({offset:800,height:200,once:!0}),{children:Object(l.jsx)(B.a,{video:C,fusionEnv:Object(ee.a)("ENV"),isDarkMode:f,groupedLongformLightV2:M,customClasses:[L?"-mx-4":"",d&&A?"":"-mx-5"].join(" "),isLongformV2FullWidth:d&&A})}));return O?Object(l.jsx)(me.c,{video:C,index:Object(pe.c)(e),isFeatured:!1}):t}case"oembed_response":return"youtube"===(null==e?void 0:e.subtype)&&O?Object(l.jsx)(me.c,{video:e,index:Object(pe.c)(e),isFeatured:!1,isYoutubeVideo:!0}):Object(l.jsx)(X.a,be({elementKey:e._id},N({offset:800,once:!0}),{children:Object(l.jsx)(G,{content:e,isDarkMode:f})}));case"gallery":{const t=Object(l.jsx)(X.a,be({elementKey:e._id},N({offset:800,once:!0}),{children:Object(l.jsx)("div",{className:`inq-card-carousel-wrapper ${L?"-mx-4":"-mx-5"} sm:mx-0\n ${m===de.a.SINGLE_ASSETS_SIDE_GROUP?"lg:ml-0 lg:max-w-[600px] lg:w-[50%] lg:mx-5":""}\n ${m===de.a.SINGLE_ASSETS_SIDE_GROUP&&"left"===(null==e?void 0:e.alignment)?"lg:mr-5 mb-6 lg:mb-0":""}\n ${m===de.a.SINGLE_ASSETS?"mx-0 w-full":""}`,"data-card-location":"article",children:Object(l.jsx)(D,{headline:"",isArticleBody:!0,content:e.content_elements.map((e=>be({},e,{credit:Object(te.m)(e)}))),type:"gallery",isDarkMode:f})})}));return O?Object(l.jsx)(me.a,{images:e.content_elements,index:Object(pe.c)(e),isFeatured:!1}):t}case"correction":return Object(l.jsx)(g,{type:e.correction_type,isDarkMode:f,children:e.text});case"table":return Object(l.jsx)(q.a,{content:e,isDarkMode:f});case"divider":return Object(l.jsx)("div",{className:"my-5",children:Object(l.jsx)(R.a,{})});case"custom_embed":return Object(l.jsx)(X.a,be({elementKey:e._id},N({offset:800,once:!0}),{children:Object(l.jsx)(W.a,{subtype:i,storyContent:e,isDarkMode:f})}));case"inline_newsletter":return Object(l.jsx)("div",{className:"mb-6",children:Object(l.jsx)(ue,{storyContent:e})});default:return null}}return null};t.a=Object(r.memo)(ve)},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(1),i=n(14),o=n.n(i),a=n(84),l=n.n(a),s=n(91),c=n.n(s),u=n(0);o.a.extend(c.a),o.a.extend(l.a);const d=e=>{const t=o.a.utc(e);return o.a.tz(t,"America/New_York").format("YYYY-MM-DDTHH:mm:ssZ")},p=({footer:e,date:t,useStaticDate:n,timeStampWithYear:i,isLatestList:a,hasLessThan3HoursFormatTimestamp:l=!1,customDateFormatTimestamp:s,bylineType:c="standard",customClass:p="",isDarkMode:m})=>{const f=Object(r.useMemo)((()=>"podcast"===c),[c]),b=Object(r.useMemo)((()=>{if(""!==t){if(n)return t;let e=o()(t);const r=o()();if("Invalid Date"===e.format("MMM D, YYYY")){const n=t.split(", ");e=o()(n[1],"D MMM YYYY H:mm:ss Z")}if(r.diff(e,"minute",!0)<1)return"Just now";const s=r.diff(e,"minute");if(s<60)return e.format(s<2?"[a] [m]inute [a]go":s+" [m]inute[s] [a]go");const c=r.diff(e,"hour");if(s<=180)return e.format(c<2?"[a]n [h]our [a]go":c+" [h]our[s] [a]go");if(l)return"";if(s<=360)return e.format(c+" [h]our[s] [a]go");if(a&&r.diff(e,"hour",!0)<=24)return e.format("h:mm A");const u=(e=>{const t=[1,2,8,9,10,11,12].indexOf(e);return t>-1?["Jan.","Feb.","Aug.","Sept.","Oct.","Nov.","Dec."][t]:""})(parseInt(e.format("M")))||e.format("MMMM");return a?`${u} ${e.format("D")}`:`${u} ${e.format(!1!==i?"D, YYYY":"D")}`}return""}),[t,n,a,l,i]),h=Object(r.useMemo)((()=>s||b),[s,b]),v=Object(r.useMemo)((()=>`inline-block ${e||f?"":"type-article-details"} ${f?"text-black text-4.5 sm:text-5":m?"text-silversand bg-primary":"text-secondary"}`),[e,f,m]);return Object(u.jsx)("time",{dateTime:d(t),className:`${v} inline ${p}`,children:h})}},function(e,t,n){"use strict";n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return u})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"h",(function(){return m})),n.d(t,"g",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"c",(function(){return h})),n.d(t,"e",(function(){return j}));var r=n(89),i=n(169);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t{const t=e.find((e=>{var t,n;return null==e||null===(t=e.location)||void 0===t||null===(n=t.toLowerCase())||void 0===n?void 0:n.includes("philadelphia")}));return(null==t?void 0:t.nickname)||(null==t?void 0:t.displayName)||""},u=e=>e?{eagles:"bg-green-deep",soccer:"bg-brown-light",phillies:"bg-red-bright",flyers:"bg-orange-vibrant",sixers:"bg-blue-vivid"}[e.replace("/","")]:"",d=(e,t,n,r,i,o)=>{return t.includes(n)?null:(t.push(n),{_id:e,url:r,imageUrl:i,label:(a=o,a.split(" ").pop()||"")});var a},p=(e,t,n,r)=>e&&(((e,t,n)=>{var r,i;return(null===(r=e.credits)||void 0===r||null===(i=r.by)||void 0===i?void 0:i.filter((({name:e,image:n})=>t.includes(e)&&(null==n?void 0:n.url))).map((({name:t,image:r,_id:i})=>{const o=`columnist-${t}`;return d(e._id,n,o,`/author/${i}`,(null==r?void 0:r.url)||"",t)})).find(Boolean))||null})(e,t,r)||((e,t,n)=>{var r,i;const o=t.flatMap((e=>{var t;return Object.entries((null===(t=e.sports)||void 0===t?void 0:t.play_list)||{}).map((([e,t])=>({player:e,imageUrl:t})))})),a=null===(r=e.taxonomy)||void 0===r||null===(i=r.tags)||void 0===i?void 0:i.find((e=>o.some((t=>t.player===e.text)))),l=a&&o.find((e=>e.player===a.text));return l?d(e._id,n,`player-${l.player}`,`/topic/${s=l.player,c="-",s.replace(/[^a-zA-Z0-9 ]/g,"").toLowerCase().replace(/\s+/g,c)}`,l.imageUrl,l.player):null;var s,c})(e,n,r)||((e,t,n)=>{var r,i,o,a,l,s,c;const u=[null===(r=e.taxonomy)||void 0===r||null===(i=r.primary_section)||void 0===i?void 0:i._id,...(null===(o=e.taxonomy)||void 0===o||null===(a=o.sections)||void 0===a?void 0:a.map((e=>e._id)))||[]],p=t.find((e=>u.includes(e._id)));return p?d(e._id,n,`team-${p._id}`,(null===(l=p.site)||void 0===l?void 0:l.site_url)||"",(null===(s=p.site_topper)||void 0===s?void 0:s.site_logo_image)||"",(null===(c=p.site)||void 0===c?void 0:c.site_title)||p.name||""):null})(e,n,r))||null,m=e=>{const t=new Date(e).getTime();return Date.now()-t<=18e5},f=e=>(null==e?void 0:e.nickname)||(null==e?void 0:e.displayName)||"",b=e=>{const t=new Set(Object.keys(s));return{phillyTeam:(null==e?void 0:e.find((e=>{var n;return null==t?void 0:t.has(null==e||null===(n=e.teamId)||void 0===n?void 0:n.toString())})))||e[0],otherTeam:(null==e?void 0:e.find((e=>{var n;return!(null==t?void 0:t.has(null==e||null===(n=e.teamId)||void 0===n?void 0:n.toString()))})))||e[0]}},h=(e,t,n,r,i,o)=>{switch(i){case"nfl":return Boolean((null==t?void 0:t.length)&&(null==r?void 0:r.length)&&n&&o&&e);case"nba":case"nhl":return Boolean(t&&t.length&&o&&e&&e.length);case"mls":case"mlb":return Boolean((null==t?void 0:t.length)&&o&&e);default:return!1}},v=e=>{if("string"==typeof e)return e;if(e&&"object"==typeof e){return((e,t)=>{const n=void 0!==e?e.toString():"0";let r="00";return void 0!==t&&(r=`${Number(t)<10?"0":""}${t}`),0===t&&0===e?"END":`${n}:${r}`})((null==e?void 0:e.minutes)||"0",(null==e?void 0:e.seconds)||"0")}return""},g=(e,t)=>{const{phillyTeam:n,otherTeam:r}=b(t);return e.map((e=>({teamName:(null==e?void 0:e.teamId)===n.teamId?n.abbreviation:r.abbreviation,time:v((null==e?void 0:e.time)||null),description:(null==e?void 0:e.metaDescription)||(null==e?void 0:e.playText)||""})))},j=(e,t=[],n=[],o=[])=>{var l;const s=null==n?void 0:n.filter((e=>null==e?void 0:e.playText)).slice(-1),c={soccer:()=>g(s,t),eagles:()=>g(((e=[],t=[])=>e.map((e=>{const n=null==t?void 0:t.findIndex((t=>(null==t?void 0:t.driveId)===(null==e?void 0:e.driveId))),o=(null==e?void 0:e.yardLine)&&(null==e?void 0:e.playText)&&(null==e?void 0:e.endYardLine)?Object(r.parseYardlineText)(e.playText,null==e?void 0:e.yardLine,null==e?void 0:e.endYardLine):null==e?void 0:e.playText,a=parseInt((null==e?void 0:e.down)||"",0)&&Object(r.getNumberWithOrdinal)(parseInt((null==e?void 0:e.down)||"",0))&&(null==e?void 0:e.yardLine)&&(null==e?void 0:e.distance)?`[${Object(r.getNumberWithOrdinal)(parseInt((null==e?void 0:e.down)||"",0))} & ${null==e?void 0:e.distance} at ${Object(i.formatYardline)(null==e?void 0:e.yardLine)}] ${o}`:o;return n>-1&&Object.assign(e,{teamId:t[n].teamId,metaDescription:a}),e})))(s,o),t),flyers:()=>{var e,r;return g(null==n||null===(e=n.filter((e=>{var t;return((null==e||null===(t=e.playEvent)||void 0===t?void 0:t.playEventId)||0)>=1&&(null==e?void 0:e.playText)})))||void 0===e||null===(r=e.sort((e=>e.period)))||void 0===r?void 0:r.slice(-1),t)},phillies:()=>{var e,r,i;return g(null==n||null===(e=n.map((e=>{var t,n;return(null==e||null===(t=e.pbpDetails)||void 0===t||null===(n=t.filter((e=>null==e?void 0:e.playText)))||void 0===n?void 0:n.map((t=>{var n;return a({},t,{teamId:(null==e||null===(n=e.team)||void 0===n?void 0:n.teamId)||""})})))||[]})))||void 0===e||null===(r=e.flat())||void 0===r||null===(i=r.slice(-1))||void 0===i?void 0:i.map((e=>a({},e,{time:""}))),t)},sixers:()=>{var e,r;return g(null==n||null===(e=n.filter((e=>{var t;return((null==e||null===(t=e.playEvent)||void 0===t?void 0:t.playEventId)||0)>=1})))||void 0===e||null===(r=e.sort((e=>null==e?void 0:e.period)))||void 0===r?void 0:r.slice(-1),t)}};return(null===(l=c[e])||void 0===l?void 0:l.call(c))||[]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return N}));var r=n(1),i=n.n(r),o=n(120),a=n(149),l=n(37),s=n(31),c=n(0);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=({elementType:e,elementKey:t,additionalProps:n,children:o})=>e?i.a.createElement(e,function(e){for(var t=1;t{const n=Object(r.useContext)(f)||void 0,i=(null==n?void 0:n["data-link-type"])||"";return e&&i?function(e){for(var t=1;t{const h=v(b,!1),g=Object(r.useMemo)((()=>d?"aspect-[2/3] sm:aspect-[3/2]":{"16x9":"aspect-video","1x1":"aspect-square","3x2":"aspect-[3/2]","2x3":"aspect-[2/3]","9x16":"aspect-[9/16]"}[a]||""),[a,d]),y=Object(r.useMemo)((()=>u?s:l?"":null==e?void 0:e.image_srcset),[u,l,s,null==e?void 0:e.image_srcset]);return Object(c.jsx)(m,{elementType:i&&t?"a":"",additionalProps:j({href:t},h),children:Object(c.jsxs)("div",{className:"relative w-full h-full "+(t?"cursor-pointer":""),children:[l||(null==e?void 0:e.src)||(null==e?void 0:e.url)?Object(c.jsx)("img",j({className:`w-full h-full object-cover ${u?"":g}`,alt:(null==e?void 0:e.alt)||"",src:l||(null==e?void 0:e.src)||(null==e?void 0:e.url),srcSet:y},f&&{draggable:!1},{style:{borderRadius:p}})):n&&Object(c.jsx)("div",{className:`w-full h-full bg-black ${g}`}),(n||u)&&Object(c.jsx)("span",{className:"absolute inset-0 flex items-center justify-center",onClick:o,children:Object(c.jsx)("i",{className:"w-[50px] h-[50px] bg-center bg-no-repeat bg-contain bg-play-icon","data-selected":"true","data-label-id":"0"})})]})})};var O=i.a.memo(x);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class C extends i.a.Component{constructor(e){var t,n,r,o;super(e),this.powaRef=void 0,this.durationClassName="font-ringside-regular font-bold text-3.5 text-neutral-white absolute rounded bg-[#222222bf] leading-[30px] px-2 py-0 left-3.5 bottom-3.5 z-2 hidden",this.fusionEnv=this.props.dataEnv||("prod"===Object(l.e)()?"prod":"sandbox"),this.isAutoplayVideo=null!==(t=null==this||null===(n=this.props)||void 0===n||null===(r=n.videoOptions)||void 0===r?void 0:r.autoplay)&&void 0!==t?t:null==this||null===(o=this.props)||void 0===o?void 0:o.isLoopAndAutoplay,this.powaRef=i.a.createRef(),this.state={spinnerKey:""}}componentDidUpdate(e){e.noContent===this.props.noContent||this.props.noContent||window.powaBoot&&window.powaBoot()}componentDidMount(){var e,t,n;(Object(l.m)("/pf/resources/vendor/goldfish-video.js",[],(()=>{Object(l.m)("https://pmn.video-player.arcpublishing.com/vv/powaBoot.js",[],(()=>{}))})),window.powaBoot&&window.powaBoot(),(null===(e=document.querySelector(".powa"))||void 0===e?void 0:e.classList.contains("powa-leaf"))&&document.querySelector("#header-content"))&&(null===(t=document)||void 0===t||null===(n=t.querySelector("#header-content"))||void 0===n||n.addEventListener("keydown",(e=>{"Space"!==e.code&&"Enter"!==e.code&&"Tab"!==e.code||(document.querySelector(".powa").focus(),e.preventDefault())})));Object(l.m)("/pf/resources/vendor/video-tracking.js",[],(()=>{})),Object(l.m)("/pf/resources/vendor/video-watch-time.js",[],(()=>{})),window.addEventListener("powaRender",(e=>{var t,n,r,i,o,a,l,s,c,u,d;const p=(null==e||null===(t=e.detail)||void 0===t?void 0:t.element.childNodes[2])||null,m=p&&p.querySelector(".powa-shot-play-btn"),f=window.innerWidth<=1023;let b=null,h=null,v=null;const g=(null==e?void 0:e.detail.powa)||null,j=`powa-${(null===(n=this.props)||void 0===n||null===(r=n.story)||void 0===r||null===(i=r.promo_items)||void 0===i||null===(o=i.video)||void 0===o?void 0:o._id)||""}`,y=this.powaRef.current||(null===(a=null==e||null===(s=e.detail)||void 0===s?void 0:s.element)||void 0===a||null===(l=a.parentElement)||void 0===l?void 0:l.parentElement);let x=null==y?void 0:y.offsetWidth;const O=(null==this||null===(c=this.props)||void 0===c||null===(u=c.videoOptions)||void 0===u?void 0:u.playFullScreen)||!0;if(g.on("promoPlay",(()=>{var t;m&&m.classList.contains("powa-shot-play-btn")&&(m.style.display="none"),this.setState({spinnerKey:(null==e||null===(t=e.detail)||void 0===t?void 0:t.id)||""})})),g.on("play",(t=>{var n,r,i;this.setState({spinnerKey:""}),x=(null==t||null===(n=t.element)||void 0===n?void 0:n.offsetWidth)||0;const o=(null==t||null===(r=t.element)||void 0===r?void 0:r.lastChild)||null;var a;(b=o&&o.querySelector(".powa-bar-time-and-scrubbers"),h=b&&b.querySelector(".powa-bar-time"),v=b&&b.querySelector(".powa-bar-duration"),h&&v&&x<190&&(h.style.display="none",v.style.display="none"),O&&f&&!this.isAutoplayVideo&&((null==e||null===(i=e.detail)||void 0===i?void 0:i.id)||"")===j&&!1===((null==t?void 0:t.fullscreen)||!1))&&(null===(a=(null==t?void 0:t.powa)||g)||void 0===a||a.fullscreen())})),x<190&&g.on("fullscreenClick",(e=>{h&&v&&"block"===h.style.display&&"block"===v.style.display&&!0===(null==e?void 0:e.fullscreen)?(h.style.display="none",v.style.display="none"):h&&v&&!1===(null==e?void 0:e.fullscreen)&&(h.style.display="block",v.style.display="block")})),O&&f&&this.isAutoplayVideo&&((null==e||null===(d=e.detail)||void 0===d?void 0:d.id)||"")===j&&(null==y||y.addEventListener("click",(()=>{const e=null==y?void 0:y.querySelector("video");(null==e?void 0:e.paused)||null==g||g.fullscreen()}))),g.on("end",(()=>{m&&m.classList.contains("powa-shot-play-btn")&&(m.style.display="block")})),(null==y?void 0:y.offsetWidth)>190){var w;if(((null==e||null===(w=e.detail)||void 0===w?void 0:w.id)||"")===j){var _,C;const t=(null==e||null===(_=e.detail)||void 0===_||null===(C=_.element)||void 0===C?void 0:C.childNodes[0])||null;t&&t.className===this.durationClassName&&(t.style.display="block")}g.on("play",(e=>{var t;const n=(null==e||null===(t=e.element)||void 0===t?void 0:t.childNodes[0])||null;n&&n.className===this.durationClassName&&(n.style.display="none")})),g.on("end",(e=>{var t;const n=(null==e||null===(t=e.element)||void 0===t?void 0:t.childNodes[0])||null;n&&n.className===this.durationClassName&&(n.style.display="block")}))}}))}componentWillUnmount(){window.removeEventListener("powaRender",null)}render(){var e,t,n,r,i,o,u,d,p,m,f,b,h,v,g,j,y,x,O,w,_,C,k;const S=(null==this||null===(e=this.props)||void 0===e||null===(t=e.story)||void 0===t||null===(n=t.promo_items)||void 0===n?void 0:n.video)||{},N=(null==this||null===(r=this.props)||void 0===r||null===(i=r.story)||void 0===i||null===(o=i.promo_items)||void 0===o||null===(u=o.video)||void 0===u?void 0:u.duration)||"";if(!0===this.props.noContent)return Object(c.jsx)("div",{className:"powa hidden","data-org":"pmn","data-uuid":"","data-env":this.fusionEnv});const L=this.props.isVideoLeafPage&&(null===(d=this.props.story)||void 0===d||null===(p=d.additional_properties)||void 0===p?void 0:p.vertical)||!1,E=this.props.allowVerticalVideo&&(null===(m=this.props.story)||void 0===m||null===(f=m.additional_properties)||void 0===f?void 0:f.vertical)||!1,P=L||E,T=this.props.isDarkMode?s.a:"text-primary",M=!(!(null==this||null===(b=this.props)||void 0===b?void 0:b.isLoopAndAutoplay)||(null==this||null===(h=this.props)||void 0===h?void 0:h.isVideoCardFeature)&&!(null==this||null===(v=this.props)||void 0===v||null===(g=v.videoOptions)||void 0===g?void 0:g.autoplay));return Object(c.jsx)("div",{className:`inq-video-card-wrapper video-wrapper ${L?"px-5 bp-sm:aspect-video bp-sm:px-0":""} ${T}`,children:Object(c.jsxs)("div",{ref:this.powaRef,className:"m-auto clear-both bg-black rounded "+(L?"h-full aspect-[9/16]":"w-full"),children:[Object(c.jsx)("div",{className:"absolute","data-script-path":"dzyf5jtgd0sxp","data-environment":this.fusionEnv}),Object(c.jsx)("div",{className:"goldfish-player","data-page-on":"1","data-producer":!0,children:Object(c.jsxs)("div",{className:`powa rounded ${M?s.b:""}`,id:"powa-"+S._id,"data-org":"pmn","data-uuid":S._id,"data-playthrough":"true","data-loop-with-controls":null!==(j=null==this||null===(y=this.props)||void 0===y||null===(x=y.videoOptions)||void 0===x?void 0:x.videoLoop)&&void 0!==j?j:null==this||null===(O=this.props)||void 0===O?void 0:O.isLoopAndAutoplay,"data-muted":M||null!==(w=null==this||null===(_=this.props)||void 0===_||null===(C=_.videoOptions)||void 0===C?void 0:C.muted)&&void 0!==w&&w,"data-autoplay":(null==this||null===(k=this.props)||void 0===k?void 0:k.showPromoImage)||this.isAutoplayVideo,"data-stream":0,"data-autoinit":!0,"data-debug":"false","data-aspect-ratio":P?"1.7778":this.props.imageRatio&&"16x9"===this.props.imageRatio?"0.5625":"0.6667","data-env":this.fusionEnv,children:[N&&Object(c.jsx)("span",{className:this.durationClassName,children:Object(c.jsx)("b",{children:Object(l.f)(N)})}),this.state.spinnerKey===`powa-${S._id}`&&Object(c.jsx)("div",{className:"powa-spinner h-[50px] w-[50px] m-auto top-1/2 left-1/2 absolute -translate-x-1/2 -translate-y-1/2 bg-contain z-10",children:Object(c.jsx)(a.a,{})})]})})]})})}}const k=e=>{const t=i.a.useMemo((()=>e.trackingVideo||null),[e.trackingVideo]),n=(null==t?void 0:t.withYouTubeTracking)||void 0;let r=o.default;void 0!==n&&(r=n(o.default));const a=window.innerWidth<=1023,s=i.a.useMemo((()=>({width:"100%",playerVars:{autoplay:e.videoOptions&&e.videoOptions.autoplay?1:0,mute:e.videoOptions&&e.videoOptions.muted?1:0,playsinline:a&&Object(l.g)()&&!Object(l.h)()?0:1}})),[e.videoOptions,a]);let u="";return e.youtubeURL.split("v=")[1]&&([,u]=e.youtubeURL.split("v=")),e.youtubeURL.split("youtu.be/")[1]&&([,u]=e.youtubeURL.split("youtu.be/")),Object(c.jsx)("div",{className:"inq-video-card-wrapper",children:Object(c.jsx)("div",{className:"inq-youtube-card "+("16x9"===e.ratio?"youtube-16x9":"youtube-3x2"),children:Object(c.jsx)(r,{videoId:u.split("&")[0],opts:s,videoCategory:(null==t?void 0:t.videoCategory)||"",videoLocation:(null==t?void 0:t.videoLocation)||""})})})};class S extends i.a.Component{constructor(e){super(e),this.timer=null,this.setPowaActive=e=>{this.setState({powaActive:e})},this.renderVideo=()=>{var e,t,n,r,i,o;const{story:a,imageRatio:u="16x9",videoOptions:d,showPromoImage:p,hideCaption:m,videoCredit:f,videoDesc:b,videoDescClass:h,isDarkMode:v,customVideoClass:g,allowVerticalVideo:j,dataEnv:y,noContent:x,isVideoLeafPage:S,isLongformV2FullWidth:N,isVideoCardFeature:L}=this.props,E=(null==a||null===(e=a.promo_items)||void 0===e||null===(t=e.youtube)||void 0===t?void 0:t.content)||"",P=(null==a||null===(n=a.additional_properties)||void 0===n?void 0:n.storyStyle)||"standard",T=(null==a||null===(r=a.promo_items)||void 0===r||null===(i=r.video)||void 0===i?void 0:i._id)||"",M=v?s.a:"text-primary",A=j&&(null==a||null===(o=a.additional_properties)||void 0===o?void 0:o.vertical)||!1,I=N&&!A||!1;return E&&"loud"!==P?Object(c.jsx)(k,function(e){for(var t=1;tthis.setPowaActive(!0)})}),!m&&(f||b)&&Object(c.jsx)("div",{className:`gallery-footer my-2 ${I?"md:mx-auto":"mx-auto"} ${A?"px-4 bp-xxs:px-0 bp-xxs:max-w-xs lg:max-w-[405px]":""}`,children:Object(c.jsxs)("figcaption",{className:"my-2 "+(I?"sm:max-w-lf-body mx-4 md:mx-auto":"mx-auto"),children:[Object(c.jsx)("div",{className:`video-credit type-author text-sm mt-2 ${M}`,children:f||""}),Object(c.jsx)("div",{className:`type-caption mt-1 mb-4 mx-0 ${h||"video-description bp-md:pb-0"} ${M}`,dangerouslySetInnerHTML:{__html:b||""}})]})})]}):Object(c.jsx)(c.Fragment,{});var D},this.state={powaActive:!1}}componentDidMount(){var e,t,n,r;(null===(e=this.props)||void 0===e?void 0:e.showPromoImage)&&!(null===(t=this.props)||void 0===t||null===(n=t.videoOptions)||void 0===n?void 0:n.autoplay)&&!Object(l.l)(null===(r=this.props)||void 0===r?void 0:r.story)||!1||(this.timer=setTimeout((()=>{this.setState({powaActive:!0})}),500))}componentWillUnmount(){this.timer&&clearTimeout(this.timer)}render(){return this.renderVideo()}}const N=i.a.memo(S)},function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(1),i=n.n(r),o=n(115),a=n(0);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{const c=Object(r.useMemo)((()=>e?"Updated":"Published"),[e]);return Object(a.jsxs)("div",{className:n,children:[Object(a.jsxs)("span",{className:i,children:[c," "]}),Object(a.jsx)(o.a,s({},t,{isDarkMode:l}))]})};var d=i.a.memo(u);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;tObject(a.jsxs)("div",{className:"flex flex-col md:flex-row",children:[e&&i&&l&&Object(a.jsxs)("div",{className:"inline-flex",children:[Object(a.jsxs)("div",{className:n,children:[Object(a.jsx)("span",{className:r,children:"Updated "}),Object(a.jsx)(o.a,m({},t,{date:i,customDateFormatTimestamp:l,isDarkMode:s}))]}),Object(a.jsx)("div",{className:"w-1 font-normal text-neutral-light-charcoal-gray leading-5 px-2 md:block hidden",children:"|"})]}),Object(a.jsxs)("div",{className:n,children:[Object(a.jsx)("span",{className:r,children:"Published "}),Object(a.jsx)(o.a,m({},t,{isDarkMode:s}))]})]});var h=i.a.memo(b);const v=({date:e,isUpdated:t=!1,breakLine:n=!0,useStaticDate:i,timeStampWithYear:o,hasLessThan3HoursFormatTimestamp:l,footer:s,customDateFormatTimestamp:c,updatedDate:u,customUpdatedDateFormatTimestamp:p,isDisplayUpdatedTimestamp:m,isDarkMode:f})=>{const b=Object(r.useMemo)((()=>"inq-timestamp antialiased type-article-details "+(f?"text-silversand bg-primary":"text-secondary")),[f]),v=Object(r.useMemo)((()=>"inq-timestamp__label leading-5"+(n?" block":"")),[n]),g=Object(r.useMemo)((()=>({footer:s,date:e,useStaticDate:i,timeStampWithYear:o,hasLessThan3HoursFormatTimestamp:l,customDateFormatTimestamp:c,customClass:"leading-5"})),[s,e,i,o,l,c]);return m?Object(a.jsx)(h,{isUpdated:t,publishDateProps:g,updatedDate:u,customUpdatedDateFormatTimestamp:p,timestampContainerClass:b,timestampLabelClass:v,isDarkMode:f}):Object(a.jsx)(d,{isUpdated:t,publishDateProps:g,timestampContainerClass:b,timestampLabelClass:v,isDarkMode:f})}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{Object(r.useEffect)((()=>{const r=r=>{var i;if((null==r?void 0:r.target)instanceof HTMLElement&&"HTML"!==(null==r||null===(i=r.target)||void 0===i?void 0:i.nodeName)&&e.current&&!e.current.contains(r.target)){(null==n?void 0:n.some((e=>{const t=e.current,n=r.target;return t&&n instanceof Node&&t.contains(n)})))||!1||t(r)}};return window.addEventListener("mousedown",r),()=>{window.removeEventListener("mousedown",r)}}),[e,n])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(1);var r=n(0);const i=({size:e="small",color:t="currentColor",width:n="24",height:i="24",customClass:o=""})=>Object(r.jsx)("div",{className:`inq-icon inq-icon--link inq-icon--${e}${o}`,children:Object(r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 24 24",fill:t,children:[Object(r.jsx)("title",{children:"Link Icon"}),Object(r.jsx)("path",{d:"M18.8083 13.8247L17.3696 12.3861L18.8083 10.9474C19.1862 10.5695 19.486 10.1208 19.6906 9.62703C19.8951 9.13324 20.0004 8.60401 20.0004 8.06954C20.0004 7.53507 19.8951 7.00584 19.6906 6.51206C19.486 6.01827 19.1862 5.56961 18.8083 5.19169C18.4304 4.81376 17.9817 4.51397 17.4879 4.30944C16.9942 4.10491 16.4649 3.99964 15.9305 3.99964C15.396 3.99964 14.8668 4.10491 14.373 4.30944C13.8792 4.51397 13.4305 4.81376 13.0526 5.19169L11.6139 6.63036L10.1753 5.19169L11.6139 3.75301C12.7619 2.62356 14.3097 1.99349 15.9202 2.00005C17.5306 2.00661 19.0732 2.64926 20.212 3.78802C21.3507 4.92679 21.9934 6.4694 21.9999 8.07984C22.0065 9.69028 21.3764 11.2381 20.247 12.3861L18.8083 13.8247ZM13.8951 18.738L12.4564 20.1767C11.8912 20.7511 11.2179 21.208 10.4753 21.5209C9.73264 21.8339 8.93541 21.9967 8.12955 21.9999C7.3237 22.0032 6.52516 21.8469 5.78002 21.5401C5.03487 21.2332 4.35786 20.7818 3.78802 20.212C3.21819 19.6421 2.76682 18.9651 2.45995 18.22C2.15307 17.4748 1.99677 16.6763 2.00005 15.8704C2.00333 15.0646 2.16613 14.2674 2.47907 13.5247C2.792 12.7821 3.24887 12.1088 3.82332 11.5436L5.26199 10.1049L6.70067 11.5436L5.26199 12.9823C4.88407 13.3602 4.58428 13.8089 4.37975 14.3027C4.17522 14.7964 4.06995 15.3257 4.06995 15.8602C4.06995 16.3946 4.17522 16.9239 4.37975 17.4176C4.58428 17.9114 4.88407 18.3601 5.26199 18.738C5.63992 19.1159 6.08858 19.4157 6.58236 19.6202C7.07615 19.8248 7.60538 19.9301 8.13985 19.9301C8.67432 19.9301 9.20355 19.8248 9.69733 19.6202C10.1911 19.4157 10.6398 19.1159 11.0177 18.738L12.4564 17.2993L13.8951 18.738ZM15.9299 6.63036L17.3696 8.07005L8.14036 17.2983L6.70067 15.8596L15.9299 6.63036Z"})]})})},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(1),i=n(126),o=n(0);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s({children:e,message:t="",show:n=!1,position:s="top",defaultClose:c=!1,timedClose:u=!1,type:d="standard",additionalAttrs:p,wrapperElem:m=!1,customClasses:f="",closeToast:b=(()=>{})}){const h=Object(r.useMemo)((()=>"standard"!==d),[d]),v=Object(r.useMemo)((()=>"font-grot10 text-3.5 leading-4.5 sm:text-4 sm:leading-5 font-medium text-left sm:text-center border-solid border-[1px] h-[50px] sm:h-15"),[]),g=Object(r.useMemo)((()=>{switch(d){case"default":return`text-primary bg-shades-inquirer-blue-30 border-shades-inquirer-blue-70 ${v}`;case"standard":return"font-ringside-regular h-[58px] text-3.5 text-center";default:return v}}),[d,v]),j=[`inq-toast items-center inq-toast--${d}`,n?"inq-toast--show":"","top"!==s?"inq-toast--bottom":"",g].filter(Boolean).join(" ");Object(r.useEffect)((()=>{setTimeout((()=>{n&&u&&b()}),3e3)}),[n,u,b]);const y=Object(o.jsxs)(o.Fragment,{children:[Object(o.jsx)("div",{role:"alert","aria-label":h&&"default"!==d?d:void 0,className:"w-11/12",children:e||Object(o.jsx)("span",{className:"break-words",dangerouslySetInnerHTML:{__html:t}})}),c&&Object(o.jsx)("button",{className:"inq-toast__close "+(h?"w-[50px] sm:w-15 h-[50px] sm:h-15":"h-[58px] w-[58px]"),onClick:()=>b(),"aria-label":"Close",children:Object(o.jsx)(i.a,{size:"small",customClass:""+(h?"fill-primary":"fill-white")})})]});return Object(o.jsx)("div",function(e){for(var t=1;tObject(r.jsx)("div",{className:`inq-icon inq-icon--close inq-icon--${e}`,children:Object(r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 24 24",className:t,children:[Object(r.jsx)("title",{children:"Close"}),Object(r.jsx)("path",{d:"M12 10.4618L20.4618 2L22 3.53822L13.5382 12L22 20.4618L20.4618 22L12 13.5382L3.53822 22L2 20.4618L10.4618 12L2 3.53822L3.53822 2L12 10.4618Z"})]})})},function(e,t,n){"use strict";var r=n(285),i=n(128),o=n(1),a=n(46),l=n(5),s=n(6),c=n(0);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{var r;const i=e.length>0&&(null===(r=t.credits)||void 0===r?void 0:r.by)||[];if("For The Inquirer"===n.organization)return i.map((e=>{var t,n,r;return"no_author"!==e._id?d({},e,{name:`${e.name}, For The Inquirer`,additional_properties:d({},e.additional_properties,{original:d({},(null==e||null===(t=e.additional_properties)||void 0===t?void 0:t.original)||{},{byline:`${(null==e||null===(n=e.additional_properties)||void 0===n||null===(r=n.original)||void 0===r?void 0:r.byline)||e.byline||e.name}, For The Inquirer`})})}):d({},e,{name:e.name})}));return i.map((e=>{var t,n,r,i;const o=null==e||null===(t=e.additional_properties)||void 0===t||null===(n=t.original)||void 0===n?void 0:n.bluesky,a=null==e||null===(r=e.additional_properties)||void 0===r||null===(i=r.original)||void 0===i?void 0:i.threads,l=[...(null==e?void 0:e.social_links)||[]];o&&l.push({site:"bluesky",url:o}),a&&!l.some((e=>"threads"===e.site))&&l.push({site:"threads",url:a});const s=new Set;return d({},e,{social_links:l.filter((e=>!s.has(e.site)&&(s.add(e.site),!0)))})}))},f=({authors:e,globalContent:t,bylineObject:n,isLiveEventArticle:i,isDarkMode:o,isPhillyFirstSubtype:a})=>Object(c.jsx)(c.Fragment,{children:m(e,t,n).filter((e=>"no_author"!==e._id)).map(((e,t)=>Object(c.jsx)("ul",{className:`inq-story__meta list-none border-y-neutral-light-charcoal-gray border-solid\n ${i?"pb-5":"py-5 border-b"} px-0 border-x-0 ${0!==t||i?"":"border-t"}\n ${a&&0===t?"mt-5":""}`,children:Object(c.jsx)(r.a,{showBio:!0,author:e,hasAuthorAvatar:!a,type:"expanded",isDarkMode:o,hasAuthorSocial:!a})},`body-article-bottom-author-list-${e._id||e.name}`)))}),b=({organization:e,isDarkMode:t})=>Object(c.jsx)("ul",{className:"py-5 px-0 list-none border-y-neutral-light-charcoal-gray border-solid border-y border-x-0",children:Object(c.jsx)("div",{className:"inq-author type-author inq-author--standard",children:Object(c.jsx)("div",{className:"inq-author-main inq-byline "+(t?"text-white":""),children:Object(c.jsx)("div",{children:Object(c.jsx)("span",{children:e})})})})}),h=({bylineObject:e,globalContent:t,isDarkMode:n,isPhillyFirstSubtype:r})=>{const u=Object(o.useMemo)((()=>((null==e?void 0:e.authors)||[]).filter((e=>(null==e?void 0:e.name)&&"no author"!==((null==e?void 0:e.name)||"").toLowerCase()))),[e]),d=Object(o.useMemo)((()=>{var t;return null==e||null===(t=e.organization)||void 0===t?void 0:t.replace("No Value Set","")}),[e]),p=Object(o.useMemo)((()=>(null==u?void 0:u.length)&&["","For The Inquirer"].includes(d)),[u,d]),m=Object(o.useMemo)((()=>Object(s.w)(null==t?void 0:t.subtype)),[null==t?void 0:t.subtype]),h=Object(o.useMemo)((()=>Object(l.ab)(null==t?void 0:t.subtype)),[null==t?void 0:t.subtype]);return p||r?Object(c.jsx)(a.a,{offset:600,children:Object(c.jsx)(f,{authors:u,globalContent:t,bylineObject:e,isLiveEventArticle:m,isDarkMode:n,isPhillyFirstSubtype:r})}):u.length?Object(c.jsx)(a.a,{offset:600,children:Object(c.jsx)("ul",{className:(h?"":"mt-5")+" border-y-neutral-light-charcoal-gray border-solid border-y py-5",children:Object(c.jsx)(i.a,{authors:(null==e?void 0:e.authors)||[],type:"expanded",section:null==e?void 0:e.section,organization:d,hasAuthorAvatar:!0,isDarkMode:n})})}):d?Object(c.jsx)(b,{organization:d,isDarkMode:n}):null};t.a=Object(o.memo)(h)},function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var r=n(1),i=n(14),o=n.n(i),a=n(115),l=n(118),s=n(85);const c=()=>{var e;return"undefined"!=typeof window&&"2"===(null===(e=new URLSearchParams(location.search).get("version"))||void 0===e?void 0:e.toLowerCase())};var u=n(0);const d=({newProps:e})=>Object(u.jsxs)("pre",{children:["newProps: ",JSON.stringify(e,null,4)]});var p=n(37),m=n(31);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h=({children:e,hasAnchor:t,additionalProps:n})=>t?Object(u.jsx)("a",function(e){for(var t=1;t{const s=Object(r.useMemo)((()=>e.filter((e=>(null==e?void 0:e.name)&&"No Author"!==(null==e?void 0:e.name)))),[e]);return Array.isArray(s)&&s.length>0?Object(u.jsxs)(u.Fragment,{children:[l?"by ":"",s.map(((l,s)=>Object(u.jsxs)(r.Fragment,{children:[0!==s&&(null==e?void 0:e.length)>1&&Object(p.a)(s,null==e?void 0:e.length),Object(u.jsx)(v,{hasAnchor:Boolean(null==l?void 0:l.url),additionalProps:{className:`no-underline ${"compact"!==t?"author-compact":""} ${n?"text-white hover:text-blue-shades-50 font-bold":"text-primary hover:text-blue-mid font-normal"}`,href:l.url,"data-link-type":i,"data-card-index":o,"data-card-author":Object(p.d)(l),"data-card-type":a},children:Object(u.jsx)(u.Fragment,{children:Object(p.d)(l)})},`author_${s}`)]},`author_list_${s}`)))]}):null};var j=Object(r.memo)(g);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t{var E,P,T,M;const A=Object(r.useMemo)((()=>(null==e?void 0:e.length)>1),[null==e?void 0:e.length]),I=Object(r.useMemo)((()=>["standard","podcast"].includes(i)),[i]),D=Object(r.useMemo)((()=>"podcast"===i),[i]),R=Object(r.useMemo)((()=>{if(c){const e=o()(c),t=o()();if(w&&t.diff(e,"minute")>180)return!0}return!1}),[c,w]),$=Object(r.useMemo)((()=>null==e?void 0:e.filter((e=>(null==e?void 0:e.name)&&"No Author"!==(null==e?void 0:e.name)))),[e]),q=Object(r.useMemo)((()=>n?`${(null==$?void 0:$.length)>0?",":""} ${n}`:""),[n,$]),B=Object(r.useMemo)((()=>t?` | ${t}`:""),[t]),F=Object(r.useMemo)((()=>O&&!A&&(null==$?void 0:$.length)>0),[O,A,null==$?void 0:$.length]),V=Object(r.useMemo)((()=>{var e,t;return(null==$||null===(e=$[0])||void 0===e||null===(t=e.image)||void 0===t?void 0:t.url)||""}),[null==$||null===(E=$[0])||void 0===E||null===(P=E.image)||void 0===P?void 0:P.url]);return 0!==(null==e?void 0:e.length)||c?Object(u.jsx)("div",{className:`${D?"font-inquirer-text-web text-5 leading-8":"type-author"} inq-author inq-author--${i} ${L?m.a:"text-primary"}`,children:Object(u.jsxs)("div",{className:"inq-author-main inq-byline",children:[F&&Object(u.jsx)(v,{hasAnchor:Boolean(null==$||null===(T=$[0])||void 0===T?void 0:T.url),additionalProps:{href:null==$||null===(M=$[0])||void 0===M?void 0:M.url,"data-link-type":g,"data-card-index":b,"data-card-author":Object(p.d)($[0]),"data-card-type":h},children:V?Object(u.jsx)("div",{children:Object(u.jsx)("div",{className:"inq-author-image-container",children:Object(u.jsx)(s.a,{src:V,alt:Object(p.d)($[0])})})}):null}),Object(u.jsxs)("div",{className:`${d?"inq-author--no-breakline":""}${D?" flex flex-col-reverse":""}`,children:[Object(u.jsxs)("span",{style:{width:f||void 0},className:`${D?"text-black":L?"text-white font-bold":"text-primary font-normal"} ${R?"no-timestamp":""} ${N}`,children:[Object(u.jsx)(j,{authors:e,dataCardType:h,dataLinkType:g,isDarkMode:L,isTopper:I,mapIndex:b,type:i}),B,q]}),!d&&" ",c&&(!I||D?Object(u.jsx)(a.a,{customDateFormatTimestamp:_||"",date:c,timeStampWithYear:x,hasLessThan3HoursFormatTimestamp:w,bylineType:i,isDarkMode:L}):Object(u.jsx)(l.a,{date:c,breakLine:!1,isUpdated:y,timeStampWithYear:x,customDateFormatTimestamp:_||"",hasLessThan3HoursFormatTimestamp:w,isDisplayUpdatedTimestamp:C,updatedDate:k,customUpdatedDateFormatTimestamp:S,isDarkMode:L}))]})]})}):null};function _(e){var t,n;const r=(i="Bylines",o=w,a=d,c()&&a?(a.displayName=`${i}Version2`,a):(o.displayName=`${i}Version1`,o));var i,o,a;return Object(u.jsx)(r,x({},e,{newProps:x({type:e.type,section:e.section,organization:e.organization,hasBreakline:!e.noBreakLine,hasAvatar:e.hasAuthorAvatar,authors:e.authors,customDateFormatTimestamp:e.customDateFormatTimestamp},e.newProps,{metadata:x({mapIndex:e.mapIndex,dataCardType:e.dataCardType,dataLinkType:e.dataLinkType},null===(t=e.newProps)||void 0===t?void 0:t.metadata),timestamp:x({time:e.timestamp,isUpdated:!!e.isUpdatedTimestamp,hasYear:e.timeStampWithYear,hasLessThan3HoursFormat:e.hasLessThan3HoursFormatTimestamp},null===(n=e.newProps)||void 0===n?void 0:n.timestamp)})}))}},function(e,t,n){var r,i,o,a,l,s,c,u;e.exports=(u=n(71),i=(r=u).lib,o=i.WordArray,a=i.Hasher,l=r.algo,s=[],c=l.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],l=n[4],c=0;c<80;c++){if(c<16)s[c]=0|e[t+c];else{var u=s[c-3]^s[c-8]^s[c-14]^s[c-16];s[c]=u<<1|u>>>31}var d=(r<<5|r>>>27)+l+s[c];d+=c<20?1518500249+(i&o|~i&a):c<40?1859775393+(i^o^a):c<60?(i&o|i&a|o&a)-1894007588:(i^o^a)-899497514,l=a,a=o,o=i<<30|i>>>2,i=r,r=d}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),r.SHA1=a._createHelper(c),r.HmacSHA1=a._createHmacHelper(c),u.SHA1)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"b",(function(){return m})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return j})),n.d(t,"i",(function(){return y}));var r=n(1),i=n(59),o=n(74),a=n(44),l=n(15);const s="regional_new_jersey",c="personalized/user-preferences",u="pmn_regional_optin_pending",d="newsletter",p="pmn_regional_welcome_pending",m="pmn:regional-removed",f="pmn:regional-welcome",b="south-jersey",h=[b],v=({gatewayUrl:e,region:t,optIn:n,sourcePlacement:r,geoSignal:i})=>e?fetch(`${e}${c}`,{method:"PUT",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({regional:{region:t,optIn:n,sourcePlacement:r,geoSignal:i}})}).then((e=>{if(!e.ok)throw new Error(`Regional opt-in upsert failed: ${e.status}`)})):Promise.resolve(),g=e=>{e&&e.removeItem(u)},j=async({gatewayUrl:e,region:t=b,defaultGeoSignal:n=t,defaultSourcePlacement:r="login-loading",storage:i=("undefined"!=typeof window?window.sessionStorage:void 0),upsert:o=v})=>{const a=null==i?void 0:i.getItem(u);if(!a)return{status:"none"};try{const l=JSON.parse(a)||{},s=h.includes(l.region)?l.region:t,c=l.geoSignal||n,u=l.sourcePlacement||r;return g(i),await o({gatewayUrl:e,region:s,optIn:!0,sourcePlacement:u,geoSignal:c}),u===d&&((e,t=("undefined"!=typeof window?window.sessionStorage:void 0))=>{t&&(t.setItem(p,e),"undefined"!=typeof window&&window.dispatchEvent(new Event(f)))})(s,i),{status:"applied",region:s}}catch{return g(i),{status:"failed"}}},y=({gatewayUrl:e,source:t,region:n=b,geoSignalFallback:d="south-jersey"})=>{const{user:p}=Object(r.useContext)(i.a),m=Object(o.a)(),[f,h]=Object(r.useState)(void 0);Object(r.useEffect)((()=>{"undefined"!=typeof window&&void 0===p&&m((e=>h(e)))}),[p,m]);const g=null!=p?p:f,y=void 0===g,x=Object(r.useMemo)((()=>{var e;return((null==g||null===(e=g.auth0Id)||void 0===e?void 0:e.length)||0)>0}),[g]),[O,w]=Object(r.useState)(!1);Object(r.useEffect)((()=>{if("undefined"==typeof window||!x)return;let r=!0;return(async()=>{const i=await j({gatewayUrl:e,region:n,defaultGeoSignal:d,defaultSourcePlacement:t});if("none"!==i.status)return void(r&&w("applied"===i.status&&i.region===n));const o=await(async({gatewayUrl:e})=>{if(!e)return[];try{const t=await fetch(`${e}${c}`,{credentials:"include"});if(!t.ok)return[];const n=await t.json();return Array.isArray(null==n?void 0:n.regional)?n.regional:[]}catch{return[]}})({gatewayUrl:e}),a=o.find((e=>e.region===n));r&&w(!0===(null==a?void 0:a.optIn))})(),()=>{r=!1}}),[x,e,n,t,d]);const _=Object(r.useCallback)((async()=>{const r=Object(a.a)("arc-geo")||d,i=t;if(!x){var o,c;Object(l.i)("login_to_add"),window.sessionStorage.setItem(u,JSON.stringify({region:n,geoSignal:r,sourcePlacement:i})),window.sessionStorage.setItem("source",s);const e=null===(o=window.services)||void 0===o||null===(c=o.loginService)||void 0===c?void 0:c.onLoginClick;return void(e&&e(void 0,{customLoginMethod:s}))}const p=!O;Object(l.i)(p?"add_to_homepage":"remove_from_homepage"),await v({gatewayUrl:e,region:n,optIn:p,sourcePlacement:i,geoSignal:r}),w(p)}),[x,O,t,n,d,e]);return{isLoading:y,loggedIn:x,isAdded:O,handleClick:_}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClickableAttributesProvider=t.useClickableAttributes=void 0;var r=n(0),i=n(1),o=(0,i.createContext)(void 0);t.useClickableAttributes=function(){return(0,i.useContext)(o)||void 0};t.ClickableAttributesProvider=function(e){var t=e.clickableAttributes,n=e.children;return(0,r.jsx)(o.Provider,{value:t,children:n})}},,function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{try{return new URL(e||""),!0}catch(e){return!1}},i=(e="",t="96",n="96")=>{const r=new URL(e);return r.searchParams.has("auth")?(r.searchParams.set("width",t),r.searchParams.set("height",n),r.toString()):e}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=function(e){var t,n=e.lineThickness,i=void 0===n?4:n,o=e.dark;3===i&&(t="border-3");5===i&&(t="border-5");void 0!==o&&o&&(t+=" dark");return(0,r.jsxs)("div",{className:"inq-spinner",role:"status","aria-live":"polite","aria-label":"Loading. Please wait.",children:[(0,r.jsx)("div",{className:t}),(0,r.jsx)("div",{className:t}),(0,r.jsx)("div",{className:t}),(0,r.jsx)("div",{className:t})]})};var r=n(0)},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(1),i=n.n(r),o=n(8),a=n(59),l=n(141),s=n(5),c=n(9),u=n(74),d=n(0);const p="inline-ad",m=(e,t,n)=>{let r=e;const i=e.match(/]*>([\s\S]*?)<\/script>/gm);return i&&i.length>0&&e.includes("embed.sendtonews.com/player2/embedcode.php")&&i.forEach((e=>{r=r.replace(e,"")})),((e,t,n)=>{let r=e;const i=(e,t)=>new RegExp(`]*?)class)`,t),o=i("1-6","g"),a=r.match(o)||[];return(null==a?void 0:a.length)>0&&[...new Set(a)].forEach((e=>{r=r.replace(i(e,"i"),`${e} class="type-${e.replace("<","")}"`)})),Object(s.b)(r,"",t,!n)})(r,t,n)},f=({content:e,currentTotalAds:t,isDarkMode:n})=>{const{globalContent:i,outputType:f,metaValue:b}=Object(o.useAppContext)(),{user:h}=Object(a.b)(),v=Object(r.useMemo)((()=>{var e;return Object(s.f)(null==i||null===(e=i.taxonomy)||void 0===e?void 0:e.sections)}),[i]),g=Object(u.a)(),[j,y]=Object(r.useState)(!1),[x,O]=Object(r.useState)(!1),[w,_]=Object(r.useState)(!1),C=Object(r.useRef)(null),k=Object(r.useMemo)((()=>i.subtype),[]),S=Object(r.useMemo)((()=>Object(s.V)(k)),[k]),N=Object(r.useMemo)((()=>Object(s.Z)(k)),[k]),L=Object(r.useMemo)((()=>Object(s.ab)(k)),[k]),E=Object(r.useMemo)((()=>N||L||S),[N,L,S]),P=Object(r.useMemo)((()=>e._id),[e]),T=Object(r.useMemo)((()=>e.content),[e]),M=Object(r.useMemo)((()=>e.type),[e]),A=Object(r.useMemo)((()=>{let e=-1;return["youtube.com","instagram","facebook","arcad"].some(((t,n)=>!!T.includes(t)&&(e=n,!0))),"my-4 mx-0".concat(["raw_html","code"].includes(M)&&-1===e?" block":" flex flex-row justify-center")}),[e]),I=Object(r.useMemo)((()=>Object(c.b)(f)),[f]),D=Object(r.useMemo)((()=>-1===(null==T?void 0:T.indexOf(p))?"responsive-embed":""),[T]),R=Object(r.useMemo)((()=>Object(s.W)(null==i?void 0:i.label,null==i?void 0:i.first_publish_date)),[null==i?void 0:i.label,null==i?void 0:i.first_publish_date]),$=Object(r.useMemo)((()=>({__html:m(T,n,S)})),[T,n,S]),q=Object(r.useCallback)((e=>{if(!e.current)return;const n=e.current.querySelectorAll(`.${p}`);if(!v&&n&&n.length>0){let e=0;n.forEach(((n,r)=>{const o=t+r+1,a=null!==n.getAttribute("data-small"),s=!R&&null!==n.getAttribute("data-top-banner");s&&e++;const c=o-e;if(c<6||R&&c>1)Object(l.b)(n,i,c,a,s,R);else{var u;const e=(null===(u=n.parentElement)||void 0===u?void 0:u.parentElement)||null;e&&e.classList.contains("inno-ad")&&S&&(e.style.display="none")}}))}}),[t,v,S]);return Object(r.useEffect)((()=>{"undefined"!=typeof window&&Object(s.g)(T,S,I)}),[T,S]),Object(r.useEffect)((()=>{Object(c.b)(f)&&!x&&(O(!0),g((e=>{y(1===(null==e?void 0:e.hasAdsFreeReading))}),300))}),[f,x]),Object(r.useEffect)((()=>{var e;("undefined"!=typeof window&&E&&C.current&&!j&&!w&&(b("isPremium")&&!Object(c.k)(b)||!b("isPremium")&&1!==(null==h?void 0:h.hasAdsFreeReading))&&(q(C),_(!0)),(null==C?void 0:C.current)&&(j||!b("isPremium")&&1===(null==h?void 0:h.hasAdsFreeReading)))&&(null===(e=C.current.querySelectorAll(`.${p}`))||void 0===e||e.forEach((e=>{const t=e.closest(".inno-ad, .inno-adbox")||null;t?t.remove():e.remove()})))}),[E,t,v,S,b,j,h,w]),Object(d.jsxs)(d.Fragment,{children:[Object(d.jsx)("script",{dangerouslySetInnerHTML:{__html:`if(!window.LOADED_RAW_HTML){window.LOADED_RAW_HTML=[];}window.LOADED_RAW_HTML.push("${P}");`}}),Object(d.jsx)("div",{className:`${N?`${D} ${A}`:"my-4"}${L?" flex":""}`,ref:C,dangerouslySetInnerHTML:$})]})};t.b=i.a.memo(f)},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return c}));var r=n(140),i=n(5),o=n(49);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=(e,t,n,s,c,u)=>{var d;const p=u?"min-h-[50px] lg:min-h-[90px]":"",m=c?"inquirer-com_innovation_articles_top_banner":`inquirer-com_innovation_articles_inline_${n}`,f=m,b=document.createElement("div");if(b.setAttribute("class",`${r.a} arcad bg-none my-0 mx-auto arc-ad-wrapper flex justify-center\n ${Object(i.V)(null==t?void 0:t.subtype)||Object(i.Z)(null==t?void 0:t.subtype)?"":"my-5"}`),b.innerHTML=`
`,e.replaceWith(b),"undefined"!=typeof window&&(null===(d=window.freestar)||void 0===d?void 0:d.queue)){const e=c?void 0:Object(o.e)(n);window.freestar.queue.push((()=>{window.freestar.newAdSlots(function(e){for(var t=1;t{var t;return"raw_html"===(null==e?void 0:e.type)||"code"===(null==e?void 0:e.type)?((null==e||null===(t=e.content)||void 0===t?void 0:t.match(new RegExp(']*class="[^>]*inline-ad[^>]*>([\\s\\S]*?)<\\/div>',"g")))||[]).length:0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return b}));var r=n(34),i=n(44),o=n(244),a=n(10),l=n(68),s=n(6),c=n(15),u=n(245);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{const i=(Object(a.a)(n)||[]).gbDevMode,o=new r.b({apiHost:"https://cdn.growthbook.io",clientKey:e||"sdk-JmNbpKjzXUUo1UHq",enableDevMode:void 0===i?"prod"!==t:"1"===i,trackingCallback:(e,t)=>{window.PMNdataLayer.push({event:"growthbook_experiment",experiment_id:e.key,variation_id:t.key,attributes:JSON.parse(Object(l.a)("growthbook_attributes"))})}});return o.init({streaming:!0}).catch((e=>{console.error("Failed to initialize GrowthBook:",e)})),o},b=e=>{const t=setInterval((()=>{const n=Object(i.a)("_ga");if(n){var r,a;const u=(e=>{var t,n,r;const a=Object(c.d)(),l=Object(c.c)(),u=(null===(t=window)||void 0===t||null===(n=t.Fusion)||void 0===n?void 0:n.globalContent)||{};return p({id:e,user_id:e,device_id:e,paywall_id:Object(i.a)("_pcid")||"",is_subscriber:"Subscribed"===(null==a?void 0:a.state),is_logged_in:"Logged Out"!==(null==a?void 0:a.state),url:window.location.href,device_type:Object(o.a)(),is_employee:null==a?void 0:a.isInternal,platform:"web",browser:null===(r=navigator)||void 0===r?void 0:r.userAgent.replace(";",","),content_type:(null==l?void 0:l.content_type)||"",content_subtype:(null==l?void 0:l.content_subtype)||""},(null==l?void 0:l.story_tags)&&{tags:(null==l?void 0:l.story_tags.toLowerCase())||""},{},(null==l?void 0:l.display_date)&&{days_since_displayed_date:Math.floor((Date.now()-new Date(null==l?void 0:l.display_date).getTime())/864e5)},{author:Object(s.f)(u,"|")||""})})((null===(r=n.split("."))||void 0===r||null===(a=r.splice(2,2))||void 0===a?void 0:a.join("."))||"");Object(l.c)("growthbook_attributes",JSON.stringify(u)),e.setAttributes(u),clearInterval(t)}}),100),n=setInterval((()=>{const t=Object(i.a)("arc-country"),r=Object(i.a)("arc-region"),o=Object(i.a)("arc-city"),a=Object(i.a)("arc-zipcode"),s=Object(i.a)("arc-geo"),c=Object(u.a)(s,a),d=p({},t&&{country:t},{},r&&{arc_region:r},{},o&&{arc_city:o},{},a&&{arc_zipcode:a},{},s&&a&&{is_in_dma:c});if(Object.keys(d).length>0){const t=p({},e.getAttributes(),{},d);e.setAttributes(t),Object(l.c)("growthbook_attributes",JSON.stringify(t)),clearInterval(n)}}),1e3);setTimeout((()=>{clearInterval(n)}),1e4)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return _})),n.d(t,"a",(function(){return C}));var r=n(58),i=n.n(r),o=n(163),a=n.n(o),l=n(129),s=n.n(l),c=n(164),u=n.n(c),d=n(22),p=n(17),m=n(19),f=n(3),b=n(44),h=n(9);const v=(e,t)=>(n,r)=>{try{if(!n){const t=document.querySelector(`[data-ad-name="${e}"]`);(null==t?void 0:t.firstElementChild)&&t.firstElementChild.classList.add("hidden")}}catch(e){console.error(t,e)}},g={[f.a.NEW_SPORTS_INLINE]:e=>{try{if(0!==e[0]&&0!==e[1]){const e=document.querySelector(`[data-ad-name="${f.a.NEW_SPORTS_INLINE}"]`);e&&e.classList.add("flex","items-center","justify-center","ml-[50%]","mr-[50%]")}}catch(e){console.error("Failed to handle sports inline ad alignment:",e)}},[f.a.HP_LEADER_1]:v(f.a.HP_LEADER_1_PREMIUM,"Failed to handle HP leader ad:"),[f.a.SECTION_LEADER]:v(f.a.SECTION_LEADER_PREMIUM,"Failed to handle section leader ad:"),[f.a.SECTION_LEADER_2]:v(f.a.SECTION_LEADER_2_PREMIUM,"Failed to handle section leader 2 ad:"),[f.a.SECTION_LEADER_3]:v(f.a.SECTION_LEADER_3_PREMIUM,"Failed to handle section leader 3 ad:"),top_banner:e=>{const t=document.querySelector(`[data-ad-name="${f.a.NEW_SPORTS_MASTHEAD}"], [data-ad-name="${f.a.ARTICLE_TOP_BANNER_MASTHEAD}"]`);if(t)try{if(!e)return void t.classList.remove("min-h-[50px]","md:min-h-[90px]","lg:min-h-[250px]","py-4");const n=document.querySelector(".ad-wallpaper");if(!n)return;const r=()=>!!n.querySelector(".ccad-wallpaper-banner")&&(t.style.display="none",!0);if(r())return;const i=new MutationObserver((()=>{r()&&i.disconnect()}));i.observe(n,{childList:!0,subtree:!0}),window.setTimeout((()=>i.disconnect()),2e3)}catch(e){console.error("Failed to handle sports masthead ad:",e)}}};let j=null;const y=()=>(j||(j=i.a.get("/pf/api/v3/content/fetch/headline-links-doc",{params:{query:JSON.stringify({formatType:"LineItemAd"})}}).then((({data:e})=>Array.isArray(e)?e:[])).catch((()=>(j=null,[])))),j),x=()=>{y(),window.googletag=window.googletag||{cmd:[]},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((()=>{window.googletag.pubads().addEventListener("slotRenderEnded",(e=>{var t,n,r;const i=null==e||null===(t=e.slot)||void 0===t?void 0:t.getAdUnitPath(),o=null==e?void 0:e.size,a=i.includes("phl.phillyfirst"),l=Object(f.k)(i)&&!!o&&(!Object(h.j)()||a),s=null===(n=window)||void 0===n||null===(r=n.PMNdataLayer)||void 0===r?void 0:r.find((e=>"ad_layout"===(null==e?void 0:e.event)));i&&(((e,t)=>{const n=Object.keys(g).find((t=>e.includes(t)));n&&g[n]&&g[n](t,e)})(i,o),((e,t,n,r)=>{var i;!e&&t&&(null===(i=window)||void 0===i?void 0:i.PMNdataLayer)&&window.PMNdataLayer.push({event:"ad_layout",ad_layout:`${n[0]}x${n[1]}`,ad_name:r.slice(1)||""})})(s,l,o,i))}));let e=!1;const t=()=>{var e;if(!(null===(e=window.freestar)||void 0===e?void 0:e.queue))return;window.freestar.queue.push((()=>{window.freestar.deleteAdSlots("inquirer-com_1x1_bouncex")}));const t=document.querySelector('[id^="FreeStarVideoAdContainer_STN_"]');(null==t?void 0:t.id)&&window.freestar.queue.push((()=>{window.freestar.deleteVideo(t.id)}))},n=()=>{e||(e=!0,t(),[2e3,5e3,1e4].forEach((e=>{window.setTimeout(t,e)})))},r=async e=>{if(e.isEmpty||!e.lineItemId)return;(await y()).includes(e.lineItemId)&&(window.googletag.pubads().removeEventListener("slotRenderEnded",r),n(),setTimeout((()=>{window.googletag.pubads().addEventListener("slotRenderEnded",r)}),0))};window.googletag.pubads().addEventListener("slotRenderEnded",r),y().then((e=>{try{if(!e.length)return;window.googletag.pubads().getSlots().some((t=>{const n=t.getResponseInformation&&t.getResponseInformation();return!!(n&&n.lineItemId&&e.includes(n.lineItemId))}))&&n()}catch(e){}}))}))},O=(e,t)=>{window.googletag=window.googletag||{cmd:[]},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((()=>{window.googletag.pubads().setTargeting("user_status",Object(h.n)(e)),window.googletag.pubads().setTargeting("sub_code",(t||"").toUpperCase())}))},w=e=>{"undefined"!=typeof window&&(e?(window.disable_fsr=!0,sessionStorage.setItem("disable_fsr","true"),document.cookie="disable_fsr=true; path=/; SameSite=Lax"):(window.disable_fsr=!1,sessionStorage.removeItem("disable_fsr"),document.cookie="disable_fsr=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"))},_=async()=>{const e=Object(b.b)(d.ENCRYPTED_TOKEN_KEY);(null==e?void 0:e.state)&&(O(e.state,e.sf_product_code),w(e.state===p.a.SUBSCRIBED));const t=await Object(m.g)();if((null==t?void 0:t.state)&&t.state!==(null==e?void 0:e.state)&&O(t.state,t.sf_product_code),(null==t?void 0:t.state)&&w(t.state===p.a.SUBSCRIBED),(null==t?void 0:t.state)!==p.a.LOGGED_OUT&&(null==t?void 0:t.email)){let e=t.email.trim().toLowerCase();if(e.endsWith("@gmail.com")){const[t]=e.split("@"),n=t.replace(/\./g,"").split("+")[0];e=`${n}@gmail.com`}if(!window.freestar)return;window.freestar.queue=window.freestar.queue||[],window.freestar.queue.push((()=>{window.freestar.identity.setIdentity({hashes:{sha1:s()(e).toString(),sha256:u()(e).toString(),md5:a()(e).toString()}})}))}},C=e=>{(e=>{window.googletag=window.googletag||{cmd:[]},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((()=>{Object.entries(e).forEach((([e,t])=>{null!=t&&window.googletag.pubads().setTargeting(e,String(t))}))}))})(e),x(),_()}},,,function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{var b,h;const v=Object(r.useMemo)((()=>{var t;return((null==e||null===(t=e.credits)||void 0===t?void 0:t.by)||[]).map((e=>(null==e?void 0:e.name)||"")).filter((e=>e)).join(", ")}),[null==e||null===(b=e.credits)||void 0===b?void 0:b.by]);return Object(o.jsx)("div",{id:"article-body",className:(p?"lg:max-w-[600px] lg:w-[50%] lg:ml-0 lg:mx-5":"")+"\n card-content goldfish-video",children:Object(o.jsx)("div",{className:`wrapper clearfix col pb-feature pb-layout-item pb-f-article-goldfish-video \n -mx-4 ${f?"md:mx-0":"sm:mx-0"} ${s}`,children:Object(o.jsx)(i.a,{story:l({},e,{promo_items:{video:l({},e,{duration:a?null==e?void 0:e.duration:""})}}),videoOptions:{muted:!0},imageRatio:u,videoCredit:v,videoDesc:null==e||null===(h=e.description)||void 0===h?void 0:h.basic,dataEnv:t||"prod",noContent:c||!1,hideCaption:n||!1,isDarkMode:d,showPromoImage:m,allowVerticalVideo:!0,isLongformV2FullWidth:f})})})};t.a=Object(r.memo)(c)},,,function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1||n.setState({menuOpen:!1})},n.state={menuOpen:!1,showToast:!1},n}return i(t,e),t.prototype.componentDidMount=function(){window.addEventListener("keydown",this.handleKeywordKeyPress.bind(this))},t.prototype.componentWillUnmount=function(){window.removeEventListener("keydown",this.handleKeywordKeyPress)},t.prototype.pushClickEventToDataLayer=function(e){window.PMNdataLayer&&window.PMNdataLayer.push({event:"ga-generic-event",userInteraction:this.props.userInteraction,interactionType:this.props.isVerticalPlayer?"vertical_video_story":"click",interactionDetail:e})},t.prototype.render=function(){var e,t,n,r,i,o,a,s,h,j=this,y=this.props.isVerticalPlayer||!1,x=y||(0,v.checkIsMobile)();return this.props.useDots?(s="inq-card-footer--controls",this.state.menuOpen&&(s+=" inq-card-footer--controls-open")):s=this.props.customClass||"inq-share__option inq-share__option--share",(0,l.jsxs)("div",{className:"inq-share ".concat(y?"!static":""),children:[(0,l.jsx)("div",{className:"".concat(this.props.useSimpleLink?"flex flex-row justify-end":"inq-share__options"),children:this.props.useSimpleLink?(0,l.jsx)("button",{className:s,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.copyLinkToClipboard,ref:this.buttonRef,"aria-label":"Share this story",children:(0,l.jsx)(u.LinkIcon,{type:"link",size:"small",color:this.props.linkIconColor||"black"})}):(0,l.jsx)("button",{className:"".concat(s," ").concat((null===(e=this.props)||void 0===e?void 0:e.isV2)?"outline-none":""),onBlur:this.handleBlur,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,ref:this.buttonRef,"aria-label":y?"Share video":"Share this story","aria-haspopup":"true","aria-expanded":this.state.menuOpen,children:this.props.useDots?(0,l.jsx)("div",{className:"inq-card-controls-dot"}):(null===(t=this.props)||void 0===t?void 0:t.isV2)?(0,l.jsxs)("button",{className:"".concat(y?"bg-transparent cursor-pointer":(h=this.props.isStoryStack,void 0===h&&(h=!1),h?"gap-2 px-4 py-2 h-8 border-solid ".concat(g):"gap-0 px-0 py-0 sm:gap-2 sm:px-4 sm:py-2 h-auto sm:h-8 border-none sm:border-solid ".concat(g))," "),children:[(0,l.jsx)(b.ShareForwardIcon,{type:"share",size:"none",width:(null===(n=this.props)||void 0===n?void 0:n.isStoryStack)||!x?"16":"24",height:(null===(r=this.props)||void 0===r?void 0:r.isStoryStack)||!x?"16":"24",isDarkMode:this.props.isDarkMode,customClass:" flex items-center",color:y?"white":"black"}),!y&&(0,l.jsx)("span",{className:"font-grot10 font-bold text-primary text-3.5 leading-4 ".concat((null===(i=this.props)||void 0===i?void 0:i.isStoryStack)?"block":"hidden sm:block"),children:"Share"})]}):(0,l.jsx)(d.ShareIcon,{type:"share",size:"medium",isDarkMode:this.props.isDarkMode})})}),this.props.useSimpleLink?null:(null===(o=this.props)||void 0===o?void 0:o.isV2)?(0,l.jsx)(f.SocialShareMenu,{type:"share",menuOpen:this.state.menuOpen,setMenuOpen:function(e){return j.setState({menuOpen:e})},options:this.getShareOptions(),isVerticalPlayer:y,isPopupLeftAligned:null===(a=this.props)||void 0===a?void 0:a.isPopupLeftAligned}):(0,l.jsx)(p.PopupMenu,{menuOptions:this.getShareOptions(),open:this.state.menuOpen}),this.props.useSimpleLink?(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)(m.Toast,{message:"Link copied",show:this.state.showToast,timedClose:!0,closeToast:function(){return j.setState({showToast:!1})},customClasses:"!absolute !w-28 !-left-24 !py-1 !px-2 !h-auto !bg-shades-dark-green-30 !text-secondary-dark-green-dark !text-base !transition-opacity !ease-in"})}):"undefined"!=typeof document?c.default.createPortal((0,l.jsx)(m.Toast,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:function(){return j.setState({showToast:!1})},position:"bottom"}),document.body):(0,l.jsx)(m.Toast,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:function(){return j.setState({showToast:!1})},position:"bottom"})]})},t}(s.default.Component);t.Share=C},,function(e,t,n){"use strict";n(1);var r=n(3),i=n(0);t.a=({adType:e,mastheadAbsolute:t=!1})=>{if(r.b.includes(e))return null;const n=t?"absolute z-0":[Object(r.m)(e,"desktop")?"md:hidden":"",Object(r.m)(e,"mobile")?"hidden md:block":"",Object(r.m)(e,"tablet")?"ipad:hidden":""].filter(Boolean).join(" ");return Object(i.jsx)("div",{className:`type-button ${n}`,children:Object(i.jsx)("div",{className:"advertisement-text font-light xxs:leading-5 xs:leading-none text-[9px] text-[#999] tracking-normal uppercase justify-center flex flex-row mb-1",children:"Advertisement"})})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(1),i=n(49);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=(e,t,n,l=!1,s=!1)=>{const c=Object(r.useMemo)((()=>Object(i.f)(e,t,n,l)),[e,t,n,l]);return Object(r.useEffect)((()=>{var n;if(!c||"undefined"==typeof window)return;if(c.placementName===i.b&&!s)return;if(!(null===(n=window.freestar)||void 0===n?void 0:n.queue))return;const{placementName:r,slotId:l}=c,u=Object(i.g)(e,t);return window.freestar.queue.push((()=>{window.freestar.newAdSlots(function(e){for(var t=1;t{const e=window.googletag.pubads().getSlots().find((e=>e.getSlotElementId()===l));e&&Object.entries(u).forEach((([t,n])=>e.setTargeting(t,n)))})))})),()=>{var e;(null===(e=window.freestar)||void 0===e?void 0:e.queue)&&window.freestar.queue.push((()=>{window.freestar.deleteAdSlots(l)}))}}),[c,e,t,s]),c}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(1);var r=n(0);const i=({size:e="small",isDarkMode:t=!1,width:n="24",height:i="24",customClass:o=""})=>Object(r.jsx)("div",{className:`inq-icon inq-icon--gift-icon inq-icon--${e} ${o}`,children:Object(r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 40 40",className:"block",children:Object(r.jsx)("path",{d:"M25.0082 3.33813C28.69 3.33813 31.6748 6.3229 31.6748 10.0048C31.6748 11.2199 31.3497 12.359 30.7818 13.34L38.3415 13.3381V16.6714H35.0082V33.3381C35.0082 34.2586 34.262 35.0048 33.3415 35.0048H6.6748C5.75434 35.0048 5.00814 34.2586 5.00814 33.3381V16.6714H1.6748V13.3381L9.23442 13.34C8.66654 12.359 8.34147 11.2199 8.34147 10.0048C8.34147 6.3229 11.3262 3.33813 15.0081 3.33813C17.0002 3.33813 18.7882 4.21182 20.0097 5.5969C21.2282 4.21182 23.0162 3.33813 25.0082 3.33813ZM18.3415 16.6714H8.34147V31.6714H18.3415V16.6714ZM31.6748 16.6714H21.6748V31.6714H31.6748V16.6714ZM15.0081 6.67147C13.1672 6.67147 11.6748 8.16385 11.6748 10.0048C11.6748 11.7621 13.0346 13.2017 14.7594 13.329L15.0081 13.3381H18.3415V10.0048C18.3415 8.3354 17.1143 6.95262 15.5128 6.70942L15.2569 6.68062L15.0081 6.67147ZM25.0082 6.67147C23.2508 6.67147 21.8112 8.03127 21.684 9.75604L21.6748 10.0048V13.3381H25.0082C26.7653 13.3381 28.205 11.9783 28.3323 10.2536L28.3415 10.0048C28.3415 8.16385 26.8492 6.67147 25.0082 6.67147Z",fill:t?"white":"black"})})})},function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(a)})),e.exports=c}).call(this,n(80))},function(e,t,n){var r;e.exports=(r=n(71),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,l=[];!function(){for(var t=0;t<64;t++)l[t]=4294967296*e.abs(e.sin(t+1))|0}();var s=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],s=e[t+1],m=e[t+2],f=e[t+3],b=e[t+4],h=e[t+5],v=e[t+6],g=e[t+7],j=e[t+8],y=e[t+9],x=e[t+10],O=e[t+11],w=e[t+12],_=e[t+13],C=e[t+14],k=e[t+15],S=o[0],N=o[1],L=o[2],E=o[3];S=c(S,N,L,E,a,7,l[0]),E=c(E,S,N,L,s,12,l[1]),L=c(L,E,S,N,m,17,l[2]),N=c(N,L,E,S,f,22,l[3]),S=c(S,N,L,E,b,7,l[4]),E=c(E,S,N,L,h,12,l[5]),L=c(L,E,S,N,v,17,l[6]),N=c(N,L,E,S,g,22,l[7]),S=c(S,N,L,E,j,7,l[8]),E=c(E,S,N,L,y,12,l[9]),L=c(L,E,S,N,x,17,l[10]),N=c(N,L,E,S,O,22,l[11]),S=c(S,N,L,E,w,7,l[12]),E=c(E,S,N,L,_,12,l[13]),L=c(L,E,S,N,C,17,l[14]),S=u(S,N=c(N,L,E,S,k,22,l[15]),L,E,s,5,l[16]),E=u(E,S,N,L,v,9,l[17]),L=u(L,E,S,N,O,14,l[18]),N=u(N,L,E,S,a,20,l[19]),S=u(S,N,L,E,h,5,l[20]),E=u(E,S,N,L,x,9,l[21]),L=u(L,E,S,N,k,14,l[22]),N=u(N,L,E,S,b,20,l[23]),S=u(S,N,L,E,y,5,l[24]),E=u(E,S,N,L,C,9,l[25]),L=u(L,E,S,N,f,14,l[26]),N=u(N,L,E,S,j,20,l[27]),S=u(S,N,L,E,_,5,l[28]),E=u(E,S,N,L,m,9,l[29]),L=u(L,E,S,N,g,14,l[30]),S=d(S,N=u(N,L,E,S,w,20,l[31]),L,E,h,4,l[32]),E=d(E,S,N,L,j,11,l[33]),L=d(L,E,S,N,O,16,l[34]),N=d(N,L,E,S,C,23,l[35]),S=d(S,N,L,E,s,4,l[36]),E=d(E,S,N,L,b,11,l[37]),L=d(L,E,S,N,g,16,l[38]),N=d(N,L,E,S,x,23,l[39]),S=d(S,N,L,E,_,4,l[40]),E=d(E,S,N,L,a,11,l[41]),L=d(L,E,S,N,f,16,l[42]),N=d(N,L,E,S,v,23,l[43]),S=d(S,N,L,E,y,4,l[44]),E=d(E,S,N,L,w,11,l[45]),L=d(L,E,S,N,k,16,l[46]),S=p(S,N=d(N,L,E,S,m,23,l[47]),L,E,a,6,l[48]),E=p(E,S,N,L,g,10,l[49]),L=p(L,E,S,N,C,15,l[50]),N=p(N,L,E,S,h,21,l[51]),S=p(S,N,L,E,w,6,l[52]),E=p(E,S,N,L,f,10,l[53]),L=p(L,E,S,N,x,15,l[54]),N=p(N,L,E,S,s,21,l[55]),S=p(S,N,L,E,j,6,l[56]),E=p(E,S,N,L,k,10,l[57]),L=p(L,E,S,N,v,15,l[58]),N=p(N,L,E,S,_,21,l[59]),S=p(S,N,L,E,b,6,l[60]),E=p(E,S,N,L,O,10,l[61]),L=p(L,E,S,N,m,15,l[62]),N=p(N,L,E,S,y,21,l[63]),o[0]=o[0]+S|0,o[1]=o[1]+N|0,o[2]=o[2]+L|0,o[3]=o[3]+E|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var o=e.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var l=this._hash,s=l.words,c=0;c<4;c++){var u=s[c];s[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return l},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,i,o,a){var l=e+(t&n|~t&r)+i+a;return(l<>>32-o)+t}function u(e,t,n,r,i,o,a){var l=e+(t&r|n&~r)+i+a;return(l<>>32-o)+t}function d(e,t,n,r,i,o,a){var l=e+(t^n^r)+i+a;return(l<>>32-o)+t}function p(e,t,n,r,i,o,a){var l=e+(n^(t|~r))+i+a;return(l<>>32-o)+t}t.MD5=o._createHelper(s),t.HmacMD5=o._createHmacHelper(s)}(Math),r.MD5)},function(e,t,n){var r;e.exports=(r=n(71),function(e){var t=r,n=t.lib,i=n.WordArray,o=n.Hasher,a=t.algo,l=[],s=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(l[i]=n(e.pow(r,.5))),s[i]=n(e.pow(r,1/3)),i++),r++}();var c=[],u=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(l.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],l=n[4],u=n[5],d=n[6],p=n[7],m=0;m<64;m++){if(m<16)c[m]=0|e[t+m];else{var f=c[m-15],b=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,h=c[m-2],v=(h<<15|h>>>17)^(h<<13|h>>>19)^h>>>10;c[m]=b+c[m-7]+v+c[m-16]}var g=r&i^r&o^i&o,j=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),y=p+((l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25))+(l&u^~l&d)+s[m]+c[m];p=d,d=u,u=l,l=a+y|0,a=o,o=i,i=r,r=y+(j+g)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+l|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(u),t.HmacSHA256=o._createHmacHelper(u)}(Math),r.SHA256)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),i=n.n(r);function o({children:e,customClasses:t,as:n="h1"}){let r="inq-headline inq-headline--standard";return t&&(r+=` ${t}`),i.a.createElement(n,{className:r},e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(e,t=!1)=>{const n={1:"text-8 leading-8 font-bold",2:"text-2.5xl leading-7 font-bold",3:"text-6 leading-6 font-bold",4:"text-5 leading-5 font-bold",5:"text-4 leading-4 font-bold",6:"text-3 leading-3 font-bold"},r=[];let i=e.replace(/\[([^\]]+)\]\(([^)]+)\)/g,((e,n,i)=>{const o=`LINK-${r.length}`;return r.push(t?n:`
${n}`),o}));return i=i.replace(/^#{1,6} (.*$)/gim,((e,t)=>{const r=e.split(" ")[0].length;return`${t}`})),i=i.replace(/\*\*\*(.*?)\*\*\*/gim,"$1").replace(/\*\*(.*?)\*\*/gim,"$1").replace(/\*(.*?)\*/gim,"$1").replace(/___(.*?)___/gim,"$1").replace(/__(.*?)__/gim,"$1").replace(/_(.*?)_/gim,"$1").replace(/~~(.*?)~~/gim,"$1").replace(/^\s*>\s*(.*)/gim,"
$1
").replace(/!\[([^\]]*)\]\(([^)]+)\)/g,'$1').replace(/---/g,"—").replace(/--/g,"–"),i=i.replace(/^\d\.\s[^\n]*/g,(e=>`
    ${e.trim().split(/\n/).map((e=>`
  1. ${e.replace(/^\d+\.\s+/,"")}
  2. `)).join("")}
`)),i=i.replace(/(?:^|\n)([-\*\+]\s+.*?)(?=\n|$)/g,(e=>`
    ${e.trim().split(/\n/).map((e=>`
  • ${e.replace(/^[-\*\+]\s+/,"")}
  • `)).join("")}
`)),r.forEach(((e,t)=>{const n=new RegExp(`LINK-${t}`,"g");i=i.replace(n,e)})),i=i.replace(/\\/g,""),i}},,function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;aObject(r.jsx)("div",{"data-ad-name":t,className:"adhesion fixed bottom-0 left-0 w-full z-[101] bg-white border-t border-solid border-gray-light text-center px-0 min-h-[50px]",children:Object(r.jsx)("div",{id:e})})},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),i=n(49);const o={pushdown:{create:"newPushdown",destroy:"deletePushdown"},stickyFooter:{create:"newStickyFooter",destroy:"deleteStickyFooter"}},a=(e,t)=>{const n=Object(r.useMemo)((()=>e?Object(i.f)(e):null),[e]);Object(r.useEffect)((()=>{var e;if(!n||"undefined"==typeof window||!(null===(e=window.freestar)||void 0===e?void 0:e.queue))return;const{placementName:r}=n,{create:i,destroy:a}=o[t];return window.freestar.queue.push((()=>{window.freestar[i](r)})),()=>{var e;(null===(e=window.freestar)||void 0===e?void 0:e.queue)&&window.freestar.queue.push((()=>{window.freestar[a](r)}))}}),[n,t])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1);const i=e=>{const[t,n]=Object(r.useState)(!1);return Object(r.useEffect)((()=>{if(!e||"undefined"==typeof window||"undefined"==typeof ResizeObserver)return;const t=document.getElementById(e);if(!t)return;let r=!1;const i=()=>{t.getBoundingClientRect().height>0?r=!0:r&&n(!0)},o=new ResizeObserver(i);o.observe(t);const a=new MutationObserver(i);return a.observe(t,{childList:!0,subtree:!0}),()=>{o.disconnect(),a.disconnect()}}),[e]),t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1);const i=({hasSubBar:e})=>{const[t,n]=Object(r.useState)(null),[i,o]=Object(r.useState)(0),a=()=>{const e=window.scrollY;0===e&&n(null),e>i?n("down"):e("down"===t&&e?window.removeEventListener("scroll",a):window.addEventListener("scroll",a),()=>{window.removeEventListener("scroll",a)})),[t,i]),t}},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(8),o=n(46),a=n(39),l=n(0);const s=Object(r.lazy)((()=>n.e(79).then(n.bind(null,1175))));t.default=()=>{const{globalContent:e}=Object(i.useAppContext)();return!1===Object(r.useMemo)((()=>Object(a.l)(e)),[e])?null:Object(l.jsx)(o.a,{offset:200,children:Object(l.jsx)(r.Suspense,{fallback:Object(l.jsx)("div",{}),children:Object(l.jsx)(s,{story:e})})})}},,,,function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?",":""," ").concat(n):""}),[n,N]),E=(0,u.useMemo)((function(){return s?" | ".concat(s):""}),[s]);return(0,c.jsxs)("div",{className:g,children:[(0,c.jsxs)("div",{className:"overflow-hidden ".concat(v?"max-w-[80%] inline-grid grid-cols-[auto_auto]":"w-full grid grid-cols-[fit-content(100vw)_auto]"),children:[(0,c.jsx)("span",{className:"antialiased w-full box-border float-left\n overflow-hidden pr-1 whitespace-nowrap text-ellipsis\n text-primary font-normal font-grot10 text-4 leading-4.5",children:!(l&&w)&&(0,c.jsxs)(c.Fragment,{children:[N.map((function(e,n){return(0,c.jsxs)(u.Fragment,{children:[0!==n&&(null==t?void 0:t.length)>1&&(0,m.buildComma)(n,null==t?void 0:t.length),(0,c.jsx)(d.default,{elementType:Boolean(null==e?void 0:e.url)?"a":"",additionalProps:i({className:"no-underline text-primary",href:null==e?void 0:e.url,"data-card-author":(0,m.getAuthorName)(e)},S),children:(0,c.jsx)(c.Fragment,{children:(0,m.getAuthorName)(e)})},"author_".concat(n))]},"author_list_".concat(n))})),E,L]})}),!x&&(0,c.jsxs)("span",{children:[" ",(0,c.jsx)(f.default,{timestamp:j||"",displayDate:O,isLiveBlogCard:l,isOnCardFeature:w,hasLessThan3HoursFormatTimestamp:_})]})]}),v&&(0,c.jsx)("div",{className:"ml-auto",children:(0,c.jsx)(p.default,{articleCanonicalUrl:r,articleTitle:o,userInteraction:a})})]})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TwitterIcon=void 0;var r=n(0);t.TwitterIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"currentColor":i,a=e.width,l=void 0===a?"24":a,s=e.height,c=void 0===s?"24":s,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--twitter inq-icon--".concat(n).concat(d),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:c,viewBox:"0 0 24 24",fill:o,children:[(0,r.jsx)("title",{children:"X"}),(0,r.jsx)("path",{d:"M8 2H1L9.26086 13.0145L1.44995 21.9999H4.09998L10.4883 14.651L16 22H23L14.3917 10.5223L21.8001 2H19.1501L13.1643 8.88578L8 2ZM17 20L5 4H7L19 20H17Z"})]})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BulletIcon=void 0;var r=n(0);t.BulletIcon=function(e){var t=e.size,n=e.customClass;return(0,r.jsx)("div",{className:"inq-icon inq-icon--bullet inq-icon--".concat(t),children:(0,r.jsx)("svg",{"aria-hidden":"true",viewBox:"0 0 32 32",focusable:"false",className:n,children:(0,r.jsx)("circle",{stroke:"none",cx:"16",cy:"16",r:"7.47"})})})}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nObject(s.jsx)("div",{className:`inq-icon inq-icon--instagram inq-icon--${e}`,children:Object(s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:[Object(s.jsx)("title",{children:"Instagram"}),Object(s.jsx)("g",{clipPath:"url(#clip0_3721_35154)",children:Object(s.jsx)("path",{d:"M12 2C14.717 2 15.056 2.01 16.122 2.06C17.187 2.11 17.912 2.277 18.55 2.525C19.21 2.779 19.766 3.123 20.322 3.678C20.8305 4.1779 21.224 4.78259 21.475 5.45C21.722 6.087 21.89 6.813 21.94 7.878C21.987 8.944 22 9.283 22 12C22 14.717 21.99 15.056 21.94 16.122C21.89 17.187 21.722 17.912 21.475 18.55C21.2247 19.2178 20.8311 19.8226 20.322 20.322C19.822 20.8303 19.2173 21.2238 18.55 21.475C17.913 21.722 17.187 21.89 16.122 21.94C15.056 21.987 14.717 22 12 22C9.283 22 8.944 21.99 7.878 21.94C6.813 21.89 6.088 21.722 5.45 21.475C4.78233 21.2245 4.17753 20.8309 3.678 20.322C3.16941 19.8222 2.77593 19.2175 2.525 18.55C2.277 17.913 2.11 17.187 2.06 16.122C2.013 15.056 2 14.717 2 12C2 9.283 2.01 8.944 2.06 7.878C2.11 6.812 2.277 6.088 2.525 5.45C2.77524 4.78218 3.1688 4.17732 3.678 3.678C4.17767 3.16923 4.78243 2.77573 5.45 2.525C6.088 2.277 6.812 2.11 7.878 2.06C8.944 2.013 9.283 2 12 2ZM12 7C10.6739 7 9.40215 7.52678 8.46447 8.46447C7.52678 9.40215 7 10.6739 7 12C7 13.3261 7.52678 14.5979 8.46447 15.5355C9.40215 16.4732 10.6739 17 12 17C13.3261 17 14.5979 16.4732 15.5355 15.5355C16.4732 14.5979 17 13.3261 17 12C17 10.6739 16.4732 9.40215 15.5355 8.46447C14.5979 7.52678 13.3261 7 12 7ZM18.5 6.75C18.5 6.41848 18.3683 6.10054 18.1339 5.86612C17.8995 5.6317 17.5815 5.5 17.25 5.5C16.9185 5.5 16.6005 5.6317 16.3661 5.86612C16.1317 6.10054 16 6.41848 16 6.75C16 7.08152 16.1317 7.39946 16.3661 7.63388C16.6005 7.8683 16.9185 8 17.25 8C17.5815 8 17.8995 7.8683 18.1339 7.63388C18.3683 7.39946 18.5 7.08152 18.5 6.75ZM12 9C12.7956 9 13.5587 9.31607 14.1213 9.87868C14.6839 10.4413 15 11.2044 15 12C15 12.7956 14.6839 13.5587 14.1213 14.1213C13.5587 14.6839 12.7956 15 12 15C11.2044 15 10.4413 14.6839 9.87868 14.1213C9.31607 13.5587 9 12.7956 9 12C9 11.2044 9.31607 10.4413 9.87868 9.87868C10.4413 9.31607 11.2044 9 12 9Z"})}),Object(s.jsx)("defs",{children:Object(s.jsx)("clipPath",{id:"clip0_3721_35154",children:Object(s.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})});var u=n(157),d=n(250),p=n(251);const m=({type:e,size:t="small"})=>{switch(e){case"facebook":return Object(s.jsx)(o.a,{size:t});case"twitter":return Object(s.jsx)(l.a,{size:t});case"email":return Object(s.jsx)(i.a,{size:t});case"link":return Object(s.jsx)(a.a,{size:t});case"instagram":return Object(s.jsx)(c,{size:t});case"bluesky":return Object(s.jsx)(d.a,{size:t});case"threads":return Object(s.jsx)(p.a,{size:t});case"gift":return Object(s.jsx)(u.a,{size:t});default:return null}};t.a=Object(r.memo)(m)},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Eyebrow=function(e){var t,n,o,a,l,s,c,u,d=e.category,p=e.hasImage,m=void 0!==p&&p,f=e.mapIndex,b=e.feedLength,h=e.feedProvenance,v=e.isCompactCard,g=e.isLiveBlogCard,j=e.didLiveBlogEnd,y=e.isOpinion,x=e.isColumnist,O=e.isEditorial,w=e.isActionNetwork,_=e.isPhillyFirst,C=e.phillyFirstMeta,k=e.storyStyle,S=e.dataLinkType,N=void 0===S?"standard-story-card":S,L=e.dataCardAuthor,E=e.dataCardType,P=e.hasPadding,T=void 0===P||P,M=e.hasFeaturedImage,A=void 0===M||M,I=e.eyebrowClassName,D=e.isInHeadlineItem,R=void 0!==D&&D,$=e.isInPackage,q=e.wrapperClassName,B=void 0===q?"":q,F=e.customEyebrowText,V=void 0===F?"":F,H=e.customEyebrowLink,U=e.onClick;if(!R&&!d)return null;var z=w&&$;if(d){var G=(y||x||O||z)&&"standard"===k,Y=z?" green-line":"",W=["inq-eyebrow",(y||z)&&"type-opinion-eyebrow",!(y||z)&&"type-article-eyebrow",void 0!==E&&("site"===d.type||"custom"===d.type)&&"inq-eyebrow--site","Breaking"===d.name&&"inq-eyebrow--breaking","/feature"===d._id&&"inq-eyebrow--loud",G&&!v&&"inq-eyebrow--opinion",m&&!G&&"inq-eyebrow--image",!m&&G&&"inq-eyebrow-special-card--no-image",!m&&"inq-eyebrow--no-image",g&&!j&&"inq-eyebrow--live",j&&"inq-eyebrow--endliveblog",!T&&"inq-eyebrow--image-no-padding",!A&&G&&"eyebrow-no-padding-top"].filter(Boolean).join(" ");if(B&&(W=B),N&&(N+="-eyebrow"),"sponsored"===d.type){var Z="https://media.inquirer.com/sponsors".concat(d._id,".png");return(0,r.jsxs)("div",{className:"inq-eyebrow--sponsored ".concat(W),children:[(0,r.jsxs)("div",{className:"inq-eyebrow--sponsored-label",children:["Sponsored by ",d.name]}),(0,r.jsx)("div",{className:"inq-eyebrow--sponsored-logo",children:(0,r.jsx)("img",{src:Z,alt:d.name})})]})}if(_)return(0,r.jsx)("div",{className:"pt-4 sm:pt-3 lg:pt-4\n pb-2 sm:pb-3 lg:pb-4",children:(0,r.jsx)("a",{"data-card-index":f,"data-feed-length":b,"data-feed-provenance":h,"data-link-type":N,"data-card-author":L,"data-card-type":E,href:H||(null==d?void 0:d._id),title:null==d?void 0:d.name,className:"no-underline font-grot10 uppercase text-neutral-text-color",children:(0,r.jsxs)("div",{className:"flex flex-row items-center gap-x-1",children:[(0,r.jsx)("img",{className:"w-3 sm:w-3.5 lg:w-4 h-3 sm:h-3.5 lg:h-4 m-0",src:(null===(o=null===(n=null===(t=null==C?void 0:C.additional_properties)||void 0===t?void 0:t.original)||void 0===n?void 0:n.site)||void 0===o?void 0:o.section_icon)||"https://media.inquirer.com/assets/philly-first/phillyfirst-arrow.svg",alt:null==d?void 0:d.name}),(0,r.jsx)("p",{className:"text-xs leading-3 sm:text-sm sm:leading-3.5 lg:text-md lg:leading-4",children:V||((null===(s=null===(l=null===(a=null==C?void 0:C.additional_properties)||void 0===a?void 0:a.original)||void 0===l?void 0:l.site)||void 0===s?void 0:s.site_description)||"Partner Content")})]})})});if(d._id&&["section","site"].includes(d.type)&&!G){var K=H||("#"===d._id?"":"https://www.inquirer.com".concat(d._id));return(0,r.jsx)("div",{className:"\n ".concat(W,"\n ").concat(K?"":"no-pointer","\n "),children:(0,r.jsxs)("a",{"data-card-index":f,"data-feed-length":b,"data-feed-provenance":h,"data-link-type":N,"data-card-author":L,"data-card-type":E,href:K,title:d.name,className:I,children:[(null==d?void 0:d.icon)&&(0,r.jsx)(i.CategoryIcon,{category:d}),V||d.name]})})}if(d._id&&"custom"===d.type){var J=(null===(c=d.name)||void 0===c?void 0:c.split("-"))||[];return(0,r.jsx)("div",{className:W,children:(0,r.jsxs)("a",{"data-card-index":f,"data-feed-length":b,"data-feed-provenance":h,"data-link-type":N,"data-card-author":L,"data-card-type":E,href:H||d._id,title:d.name,className:I,children:[(null==d?void 0:d.icon)&&(0,r.jsx)(i.CategoryIcon,{category:d}),J[1]?(0,r.jsx)("img",{src:null===(u=J[1].split("logo:")[1])||void 0===u?void 0:u.replace("}",""),alt:"".concat(J[0]," logo"),className:"h-5 ml-1"}):V||J[0]]})})}if(G&&!v){K=H||"https://www.inquirer.com".concat(z?"/sports/betting":d._id);var X=z?"Action Network":d.name;return(0,r.jsx)("div",{className:W,children:(0,r.jsx)("div",{className:"inq-eyebrow--text".concat(Y),children:d._id?(0,r.jsx)("a",{"data-card-index":f,"data-feed-length":b,"data-feed-provenance":h,"data-link-type":N,"data-card-author":L,"data-card-type":E,href:K,title:X,className:I,children:V||X}):V||X})})}if(G&&v){K=H||"https://www.inquirer.com/".concat(z?"sports/betting":"opinion");var Q=z?"Action Network":"Opinion";return(0,r.jsx)("div",{className:W,children:(0,r.jsx)("div",{className:"inq-eyebrow-compact-card",children:(0,r.jsx)("div",{className:"inq-eyebrow--text".concat(Y),children:(0,r.jsx)("a",{"data-card-index":f,"data-feed-length":b,"data-feed-provenance":h,"data-link-type":N,"data-card-author":L,"data-card-type":E,href:K,title:Q,className:I,children:V||Q})})})})}return g?(0,r.jsxs)("div",{className:W,children:[(null==d?void 0:d.icon)&&(0,r.jsx)(i.CategoryIcon,{category:d}),j?(0,r.jsxs)("div",{children:["As It Happened",(0,r.jsx)("span",{children:" · "}),V||d.name]}):(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-1",children:[(0,r.jsx)("span",{className:"live-rec h-2 w-2 rounded-full bg-red-destroy"}),(0,r.jsx)("span",{children:"Live Updates"})]})]}):(0,r.jsxs)("div",{className:W,children:[(null==d?void 0:d.icon)&&(0,r.jsx)(i.CategoryIcon,{category:d}),V||d.name]})}if(R)return(0,r.jsx)("div",{className:"inq-eyebrow-container type-opinion-eyebrow",children:(0,r.jsx)("div",{className:"inq-eyebrow--text",children:(0,r.jsx)("a",{"data-card-index":f,"data-feed-length":b,"data-feed-provenance":h,"data-link-type":"headline-list-card","data-card-type":E,href:H||"https://www.inquirer.com/opinion",title:"Opinion",className:"text-black",onClick:U,children:V||"Opinion"})})});return null};var r=n(0),i=n(514)},,,function(e,t,n){"use strict";var r=n(34),i=n(1);t.a=()=>{const e=Object(r.e)("a-a-metric-validation");Object(i.useEffect)((()=>{e?document.body.setAttribute("data-growthbook-a-a-metric-validation","true"):document.body.setAttribute("data-growthbook-a-a-metric-validation","false")}),[e])}},,function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=r(n(1)),a=r(n(111));t.default=o.default.memo((function(e){var t=e.customClassIPart,n=void 0===t?"h-8":t,r=e.customClassFoodPart,o=void 0===r?"h-8":r,l=e.urlIPart,s=e.urlFoodPart;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{elementType:l?"a":"",additionalProps:{href:l,"data-link-type":"global-nav","aria-label":"The Philadelphia Inquirer - Go to homepage link",role:"link"},children:(0,i.jsx)("svg",{className:n,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 47 56",children:(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{d:"M12.819 44.4706L17.892 40.32C16.7061 39.3976 15.6849 38.3765 15.6849 36.8612V9.19059L17.1014 8.07059C17.7602 8.33412 18.4849 8.53176 19.2426 8.72941V41.5388C19.2426 42.8894 19.1108 44.3388 18.979 45.5247C16.772 44.8659 15.4543 44.6682 12.7861 44.4706M0.499023 11.7271L1.35549 12.2541C2.47549 9.38824 4.81432 6.52235 8.76726 6.52235C12.7202 6.52235 13.7743 7.04941 15.8826 7.77412L6.75785 14.4612L7.54843 15.3176L8.73432 14.4612C8.8002 14.4612 9.39314 14.9882 9.39314 21.1153V38.9035L6.79079 40.7812L7.58138 41.6376L8.56961 40.9129L12.819 44.5035C6.95549 44.5035 2.34373 50.5647 0.564906 55.5059L1.42138 56.0329C2.60726 53.1012 4.61667 50.2353 8.66843 50.2353C12.7202 50.2353 20.132 53.3647 24.3484 53.3647C28.5649 53.3647 33.6049 48.4565 35.3508 44.24L34.4943 43.7129C33.5061 46.1835 31.299 47.7318 28.5649 47.7318C25.8308 47.7318 26.4237 47.5341 25.0402 47.2706H24.8426C24.7108 47.2047 24.6449 47.2047 24.579 47.2047C25.4355 45.92 25.699 45.0635 25.9626 43.1859C26.3578 40.1224 26.3578 34.3247 26.3578 30.1412V9.25647C32.1555 7.93882 35.0214 1.25176 35.3508 0.527059L34.4943 0C33.4402 2.60235 31.2331 3.98588 28.3014 3.98588C23.4261 3.98588 18.0896 0.790588 13.5108 0.790588C6.69196 0.790588 2.44255 6.65412 0.499023 11.7271Z"}),(0,i.jsx)("path",{d:"M45.499 4H44.499V50H45.499V4Z"})]})})}),(0,i.jsx)(a.default,{elementType:s?"a":"",additionalProps:{href:s,"data-link-type":"global-nav","aria-label":"The Philadelphia Inquirer - Go to food page link",role:"link"},children:(0,i.jsxs)("svg",{viewBox:"50 0 127 57",xmlns:"http://www.w3.org/2000/svg",className:o,children:[(0,i.jsx)("path",{d:"M59.3894 42.5493H60.0415C62.0043 42.5493 62.854 41.5679 62.854 39.2164V15.4187C62.854 13.064 62.0043 12.0859 60.0415 12.0859H59.3894V4.43213H90.1163V16.5286H82.2715V15.8106C82.2715 12.9322 81.4877 12.0826 78.2833 12.0826H74.8846V24.7652H76.7157C79.2647 24.7652 79.7884 22.674 79.7884 21.0372V20.1875H85.8679V35.2249H79.7884V34.5069C79.7884 32.2181 79.2647 30.7789 76.7157 30.7789H74.8846V39.2131C74.8846 41.5679 75.9319 42.546 77.8914 42.546H78.5468V50.1964H59.3894V42.5493Z"}),(0,i.jsx)("path",{d:"M91.8288 45.8819C90.2612 43.2012 89.5399 39.4764 89.5399 33.4594C89.5399 27.4425 90.2579 23.7836 91.8288 21.1028C94.0518 17.3122 98.4978 15.8071 103.01 15.8071C107.522 15.8071 111.968 17.3122 114.191 21.1028C115.758 23.7836 116.479 27.4458 116.479 33.4594C116.479 39.4731 115.762 43.2012 114.191 45.8819C111.902 49.61 107.522 51.1118 103.01 51.1118C98.4978 51.1151 94.1177 49.61 91.8288 45.8819ZM103.01 43.3329C104.907 43.3329 106.082 42.2197 106.082 39.6048V27.3141C106.082 24.6992 104.907 23.586 103.01 23.586C101.113 23.586 99.937 24.6992 99.937 27.3141V39.6048C99.937 42.223 101.113 43.3329 103.01 43.3329Z"}),(0,i.jsx)("path",{d:"M120.817 45.8819C119.249 43.2012 118.528 39.4764 118.528 33.4594C118.528 27.4425 119.246 23.7836 120.817 21.1028C123.04 17.3122 127.486 15.8071 131.998 15.8071C136.51 15.8071 140.956 17.3122 143.179 21.1028C144.746 23.7836 145.468 27.4458 145.468 33.4594C145.468 39.4731 144.75 43.2012 143.179 45.8819C140.89 49.61 136.51 51.1118 131.998 51.1118C127.486 51.1151 123.106 49.61 120.817 45.8819ZM131.998 43.3329C133.895 43.3329 135.07 42.2197 135.07 39.6048V27.3141C135.07 24.6992 133.895 23.586 131.998 23.586C130.101 23.586 128.925 24.6992 128.925 27.3141V39.6048C128.925 42.223 130.101 43.3329 131.998 43.3329Z"}),(0,i.jsx)("path",{d:"M149.37 45.948C148.129 43.2014 147.671 39.5425 147.671 33.3938C147.671 27.1825 148.194 23.7179 149.37 21.0372C150.875 17.4408 154.01 15.8073 157.412 15.8073C159.635 15.8073 162.185 16.9205 164.081 19.5354V13.5876C164.081 11.7565 163.1 11.4305 162.119 11.4305H161.661V4.43213H174.083V41.0442C174.083 42.8753 174.933 43.2014 176.241 43.2014H176.501V50.1964H165.06V46.4684C163.426 49.6069 160.288 51.0461 157.409 51.0461C154.271 51.0494 150.938 49.5443 149.37 45.948ZM161.071 42.681C162.968 42.681 164.144 41.5712 164.144 38.8245V28.1014C164.144 25.4206 162.968 24.1131 161.071 24.1131C159.24 24.1131 158.065 25.4206 158.065 28.1014V38.8245C158.065 41.5679 159.24 42.681 161.071 42.681Z"})]})})]})}))},function(e,t,n){"use strict";var r=n(1),i=n(0);const o=({subscriberUrl:e,customClass:t})=>Object(i.jsxs)(i.Fragment,{children:[Object(i.jsx)("a",{href:e,"aria-label":"Subscribe",role:"link","data-link-type":"global-nav",className:`flex no-underline cursor-pointer text-3 font-bold justify-end ${t}`,children:"Subscribe"}),Object(i.jsx)("div",{className:"text-3",children:"|"})]});t.a=Object(r.memo)(o)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=()=>{let e=!1;const t=()=>{var n,r;e||((null===(n=window.blueConicClient)||void 0===n?void 0:n.getSegments)&&(null===(r=window.blueConicClient)||void 0===r?void 0:r.handlePageView)?(e=!0,window.blueConicClient.handlePageView(),setTimeout((()=>{(()=>{try{var e;if(!(null===(e=window.blueConicClient)||void 0===e?void 0:e.getSegments))return void console.warn("[BLUECONIC-SOPHI] BlueConic client not available");const t={"Any checkout activity":"checkout_activity","Recently read newsletter":"newsletter_reader","SF Sub Status: terminated":"former_subscriber"},n=(window.blueConicClient.getSegments()||[]).map((e=>e.name||e.id||e)),r=[];n.forEach((e=>{const n=t[e];n&&r.push(n)})),console.log("Sophi-tracked segments:",r);const i={event:"BlueConic",profile:{segments:r}};console.log("DataLayer object being pushed:",i),console.log("========================================"),window.PMNdataLayer=window.PMNdataLayer||[],window.PMNdataLayer.push(i),console.log("✅ Successfully pushed to PMNdataLayer"),console.log("📊 Full PMNdataLayer:",window.PMNdataLayer)}catch(e){console.error("[BLUECONIC-SOPHI] Error pushing segments:",e)}})()}),2e3)):setTimeout(t,500))};t()}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTeam=t.baseballColorConfig=t.scoringPlaysConfig=void 0;var r="#e11b22",i="#1a6aff";t.scoringPlaysConfig={nfl:{minimumPeriods:4,periodBoxLabels:{1:1,2:2,3:3,4:4,5:"OT"},periodTitles:{1:"First Quarter",2:"Second Quarter",3:"Third Quarter",4:"Fourth Quarter",5:"Overtime"}}},t.baseballColorConfig={T:r,F:r,S:r,B:"#f0af13",H:i,I:i,Z:"#333333"},t.defaultTeam={logos:[],abbreviation:"",nickname:"",teamId:0,location:"",score:0,isWinner:!1,timeoutsLeft:0,teamLocationType:{teamLocationTypeId:0,name:""},record:{wins:0,losses:0,ties:0},linescores:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadlineListCard=function(e){var t=e.headlines,n=e.title,o=void 0===n?"Latest Headlines":n,a=e.mapIndex,l=e.dataCardType,s=void 0===l?"headline-list-card":l,c=e.dataLinkType,u=e.hasIcons,d=void 0!==u&&u,p=e.hasPadding,m=e.hasBoxShadow,f=e.feedLength,b=e.feedProvenance,h=e.hasLessThan3HoursFormatTimestamp,v=e.dataCardLocation,g=void 0===v?"feed":v,j=e.hasTimestamps,y=e.customBackgroundColor,x=void 0===y?"":y,O=e.lastListElement;return(0,r.jsx)("article",{className:"inq-card inq-card--latest-headlines".concat(!1!==m?"":" no-shadow").concat(!1!==p?"":" inq-card-no-padding").concat(x),"data-card-type":s,"data-headline-list-title":o,"data-card-index":a,"data-feed-length":f,"data-feed-provenance":b,"data-card-location":g,children:(0,r.jsx)(i.HeadlineList,{headlines:t,title:o,mapIndex:a,feedLength:f,feedProvenance:b,dataCardType:s,dataLinkType:c,hasIcons:d,hasLessThan3HoursFormatTimestamp:h,hasTimestamps:j,lastListElement:O})})};var r=n(0),i=n(287)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmailIcon=void 0;var r=n(0);t.EmailIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"currentColor":i,a=e.width,l=void 0===a?"24":a,s=e.height,c=void 0===s?"24":s,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--email inq-icon--".concat(n).concat(d),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:c,viewBox:"0 0 24 24",fill:o,children:[(0,r.jsx)("title",{children:"Email"}),(0,r.jsx)("path",{d:"M3 3H21C21.2652 3 21.5196 3.10536 21.7071 3.29289C21.8946 3.48043 22 3.73478 22 4V20C22 20.2652 21.8946 20.5196 21.7071 20.7071C21.5196 20.8946 21.2652 21 21 21H3C2.73478 21 2.48043 20.8946 2.29289 20.7071C2.10536 20.5196 2 20.2652 2 20V4C2 3.73478 2.10536 3.48043 2.29289 3.29289C2.48043 3.10536 2.73478 3 3 3ZM12.06 11.683L5.648 6.238L4.353 7.762L12.073 14.317L19.654 7.757L18.346 6.244L12.06 11.683Z"})]})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FacebookIcon=void 0;var r=n(0);t.FacebookIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"currentColor":i,a=e.width,l=void 0===a?"24":a,s=e.height,c=void 0===s?"24":s,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--facebook inq-icon--".concat(n).concat(d),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:c,viewBox:"0 0 24 24",fill:o,children:[(0,r.jsx)("title",{children:"Facebook Logo"}),(0,r.jsx)("path",{d:"M14 13.5H16.5L17.5 9.5H14V7.5C14 6.47 14 5.5 16 5.5H17.5V2.14C17.174 2.097 15.943 2 14.643 2C11.928 2 10 3.657 10 6.7V9.5H7V13.5H10V22H14V13.5Z"})]})})}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=r(n(1)),a=r(n(158)),l=r(n(527)),s=n(26),c=n(295),u=n(53);t.default=o.default.memo((function(e){var t=e.storyImage,n=e.youtubeVideo,r=e.canonicalUrl,o=e.isVideoCard,d=e.dataCardType,p=e.dataLinkType,m=e.mapIndex,f=e.feedLength,b=e.feedProvenance,h=e.trackingVideo,v=e.cardPromoCustomClass,g=e.imageRatio,j=e.customImage,y=e.isVideoCardFeature,x=e.videoOptions,O=e.story,w=e.dataEnv,_=e.isFoodStyle,C=e.imgBorderRadius,k=e.isInCarousel,S=e.isRelatedStory;return(0,i.jsx)("div",{className:v,children:(0,i.jsx)("div",{"data-card-type":d,"data-link-type":p,"data-card-index":m,"data-feed-length":f,"data-feed-provenance":b,children:y&&O&&(null==O?void 0:O.subtype)!==u.PODCAST?(0,i.jsx)(c.VideoContent,{story:O,videoOptions:x,trackingVideo:h,dataEnv:w,imageRatio:g,isVideoCardFeature:!0}):(0,s.isEmpty)(null==n?void 0:n.content)||j?(0,i.jsx)(a.default,{storyImage:t,canonicalUrl:r,isVideoCard:o,imageRatio:g,customImage:j,shouldRedirectToPage:!y,isFoodStyle:_,imgBorderRadius:C,isInCarousel:k,isRelatedStory:S}):(0,i.jsx)(l.default,{youtubeURL:(null==n?void 0:n.content)||"",trackingVideo:h},null==n?void 0:n._id)})})}))},,function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;nObject(r.jsx)("div",{className:`inq-icon inq-icon--${n} ${e}`,children:Object(r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:Object(r.jsx)("path",{d:"M1.5 3.5C1.5 2.5335 2.2835 1.75 3.25 1.75C4.2165 1.75 5 2.5335 5 3.5C5 4.4665 4.2165 5.25 3.25 5.25C2.2835 5.25 1.5 4.4665 1.5 3.5ZM10 4H6V3H10V4ZM7 8.5C7 7.5335 7.7835 6.75 8.75 6.75C9.7165 6.75 10.5 7.5335 10.5 8.5C10.5 9.4665 9.7165 10.25 8.75 10.25C7.7835 10.25 7 9.4665 7 8.5ZM6 8V9H2V8H6Z",fill:t})})}),o=({customClass:e="",color:t="black",size:n="none"})=>Object(r.jsx)("div",{className:`inq-icon inq-icon--${n} ${e}`,children:Object(r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:Object(r.jsx)("path",{d:"M3.55556 1.29586H11.5V2.47929H3.55556V1.29586ZM1.41667 2.77515C1.17355 2.77515 0.940394 2.68164 0.768485 2.51518C0.596577 2.34873 0.5 2.12297 0.5 1.88757C0.5 1.65217 0.596577 1.42642 0.768485 1.25996C0.940394 1.09351 1.17355 1 1.41667 1C1.65978 1 1.89294 1.09351 2.06485 1.25996C2.23676 1.42642 2.33333 1.65217 2.33333 1.88757C2.33333 2.12297 2.23676 2.34873 2.06485 2.51518C1.89294 2.68164 1.65978 2.77515 1.41667 2.77515ZM1.41667 6.91716C1.17355 6.91716 0.940394 6.82365 0.768485 6.6572C0.596577 6.49074 0.5 6.26499 0.5 6.02959C0.5 5.79419 0.596577 5.56843 0.768485 5.40198C0.940394 5.23552 1.17355 5.14201 1.41667 5.14201C1.65978 5.14201 1.89294 5.23552 2.06485 5.40198C2.23676 5.56843 2.33333 5.79419 2.33333 6.02959C2.33333 6.26499 2.23676 6.49074 2.06485 6.6572C1.89294 6.82365 1.65978 6.91716 1.41667 6.91716ZM1.41667 11C1.17355 11 0.940394 10.9065 0.768485 10.74C0.596577 10.5736 0.5 10.3478 0.5 10.1124C0.5 9.87703 0.596577 9.65127 0.768485 9.48482C0.940394 9.31836 1.17355 9.22485 1.41667 9.22485C1.65978 9.22485 1.89294 9.31836 2.06485 9.48482C2.23676 9.65127 2.33333 9.87703 2.33333 10.1124C2.33333 10.3478 2.23676 10.5736 2.06485 10.74C1.89294 10.9065 1.65978 11 1.41667 11ZM3.55556 5.43787H11.5V6.6213H3.55556V5.43787ZM3.55556 9.57988H11.5V10.7633H3.55556V9.57988Z",fill:t})})}),a=({customClass:e="",color:t="black",size:n="none"})=>Object(r.jsx)("div",{className:`inq-icon inq-icon--${n} ${e}`,children:Object(r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:Object(r.jsx)("path",{d:"M1 2.5L4.5 1L7.5 2.5L10.6515 1.14935C10.7785 1.09496 10.9254 1.15375 10.9798 1.28066C10.9931 1.31178 11 1.34528 11 1.37914V9.5L7.5 11L4.5 9.5L1.34848 10.8506C1.22157 10.9051 1.07461 10.8462 1.02022 10.7193C1.00688 10.6882 1 10.6547 1 10.6208V2.5ZM8 9.69775L10 8.8406V2.51654L8 3.37368V9.69775ZM7 9.63195V3.36804L5 2.36804V8.63195L7 9.63195ZM4 8.6263V2.30225L2 3.15939V9.48345L4 8.6263Z",fill:t})})});t.a=({buttonText:e,icon:t,onClick:n,children:l,className:s=""})=>{const c={filter:Object(r.jsx)(i,{color:"white",size:"small"}),list:Object(r.jsx)(o,{color:"white",size:"small"}),map:Object(r.jsx)(a,{color:"white",size:"small"})};return Object(r.jsx)("button",{className:`bg-black rounded-full py-1 px-3 md:py-2 md:px-4 ${s}`,onClick:n,children:Object(r.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[Object(r.jsx)("p",{className:"text-white font-grot10 text-3 md:text-sm leading-4",children:e}),l,Object(r.jsx)("span",{className:"h-4 -mb-1",children:c[t]})]})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadingCard=void 0;var r=n(0);t.LoadingCard=function(e){var t=e.customHeigth,n=void 0===t?"":t,i=e.hasFullWidth,o=e.noMargin;return(0,r.jsxs)("article",{className:"inq-card loading-card".concat(n).concat(i?" max-w-none":"").concat(o?" m-0":""),children:[(0,r.jsx)("div",{className:"placeholder-content placeholder-content--image"}),(0,r.jsxs)("div",{className:"loading-card--content",children:[(0,r.jsx)("div",{className:"placeholder-content placeholder-content--eyebrow"}),(0,r.jsxs)("div",{className:"loading-card--headline",children:[(0,r.jsx)("div",{className:"placeholder-content"}),(0,r.jsx)("div",{className:"placeholder-content"})]})]})]})}},,function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1}),[null==p?void 0:p.length]),H=(0,a.useMemo)((function(){return["standard","podcast"].includes(y)}),[y]),U=(0,a.useMemo)((function(){return"podcast"===y}),[y]),z=(0,a.useMemo)((function(){if(x){var e=(0,l.default)(x),t=(0,l.default)();if(M&&t.diff(e,"minute")>180)return!0}return!1}),[x,M]),G=(0,a.useMemo)((function(){return null==p?void 0:p.filter((function(e){return(null==e?void 0:e.name)&&"No Author"!==(null==e?void 0:e.name)}))}),[p]),Y=(0,a.useMemo)((function(){return g?"".concat((null==G?void 0:G.length)>0?",":""," ").concat(g):""}),[g,G]),W=(0,a.useMemo)((function(){return v?" | ".concat(v):""}),[v]),Z=(0,a.useMemo)((function(){return T&&!V&&(null==G?void 0:G.length)>0}),[T,V,null==G?void 0:G.length]),K=(0,a.useMemo)((function(){var e,t;return(null===(t=null===(e=null==G?void 0:G[0])||void 0===e?void 0:e.image)||void 0===t?void 0:t.url)||""}),[null===(n=null===(t=null==G?void 0:G[0])||void 0===t?void 0:t.image)||void 0===n?void 0:n.url]);return 0!==(null==p?void 0:p.length)||x?(0,o.jsx)("div",{className:"".concat(U?"font-inquirer-text-web text-5 leading-8":"type-author"," inq-author inq-author--").concat(y," ").concat(F?f.DARK_MODE_CLASS:"text-primary"),children:(0,o.jsxs)("div",{className:"inq-author-main inq-byline",children:[Z&&(0,o.jsx)(h.default,{hasAnchor:Boolean(null===(r=null==G?void 0:G[0])||void 0===r?void 0:r.url),additionalProps:{href:null===(i=null==G?void 0:G[0])||void 0===i?void 0:i.url,"data-link-type":S,"data-card-index":C,"data-card-author":(0,m.getAuthorName)(G[0]),"data-card-type":k},children:K?(0,o.jsx)("div",{children:(0,o.jsx)("div",{className:"inq-author-image-container",children:(0,o.jsx)(u.Image,{src:K,alt:(0,m.getAuthorName)(G[0])})})}):null}),(0,o.jsxs)("div",{className:"".concat(w?"inq-author--no-breakline":"").concat(U?" flex flex-col-reverse":""),children:[(0,o.jsxs)("span",{style:{width:_||void 0},className:"".concat(U?"text-black":F?"text-white font-bold":"text-primary font-normal"," ").concat(z?"no-timestamp":""," ").concat(q),children:[(0,o.jsx)(b.default,{authors:p,dataCardType:k,dataLinkType:S,isDarkMode:F,isTopper:H,mapIndex:C,type:y}),W,Y]}),!w&&" ",x&&(!H||U?(0,o.jsx)(s.PublishDate,{customDateFormatTimestamp:A||"",date:x,timeStampWithYear:E,hasLessThan3HoursFormatTimestamp:M,bylineType:y,isDarkMode:F}):(0,o.jsx)(c.Timestamp,{date:x,breakLine:!1,isUpdated:L,timeStampWithYear:E,customDateFormatTimestamp:A||"",hasLessThan3HoursFormatTimestamp:M,isDisplayUpdatedTimestamp:I,updatedDate:D,customUpdatedDateFormatTimestamp:R,isDarkMode:F}))]})]})}):null}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SocialShareMenu=void 0;var i=n(0),o=n(1),a=r(n(510)),l=n(273),s=n(365);t.SocialShareMenu=function(e){var t=e.type,n=e.menuOpen,r=e.setMenuOpen,c=e.options,u=e.isVerticalPlayer,d=void 0!==u&&u,p=e.isPopupLeftAligned,m=void 0!==p&&p,f=(0,o.useMemo)((function(){return"".concat("share"===t?"Share":"Gift"," this article")}),[t]),b=(0,o.useMemo)((function(){var e="z-9 box-border hidden lg:block",t=d?"w-full":"w-[562px]";if(!n)return"".concat(e," ").concat(t);var r=d?"right-0 bottom-24":m?"left-0":"right-6";return"".concat(e," ").concat(t," absolute mt-3 ").concat(r)}),[d,n,m]);return(0,i.jsxs)("div",{className:"inq-social-share-menu inq-".concat(t,"-v2 ").concat(n?"":"hidden"),onMouseDown:function(e){return e.preventDefault()},children:[(0,i.jsx)("div",{className:"lg:hidden",children:(0,i.jsx)(s.ActionSheet,{isOpen:n,setIsOpen:r,children:(0,i.jsx)(a.default,{title:f,options:c,isVerticalPlayer:d})})}),(0,i.jsx)("div",{className:b,children:(0,i.jsx)(l.Tooltip,{toolTipSubText:"",toolTipHeader:"",toolTipText:"",phillyFirstTooltip:!1,showCloseButton:!0,position:d?"arrow-bottomRight":m?"arrow-topLeft":"arrow-topRight",closeTooltip:function(){return r(!1)},customClasses:"bg-white border-secondary ".concat(d?"box-border !w-full":""),svgFill:"fill-white",svgStroke:"stroke-neutral-light-text",customCloseClassNames:"absolute top-0 right-0 p-2 flex w-4 h-4 cursor-pointer",giftV2Tooltip:!0,children:(0,i.jsx)(a.default,{isVerticalPlayer:d,title:f,options:c})})})]})}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return u}));var r=n(1),i=n.n(r),o=n(98),a=n(315),l=n.n(a);const s=!!(typeof window<"u"&&window.document&&window.document.createElement),c=class extends r.Component{constructor(e){super(e),this.carousel=null,this.flkty=null,this.state={flickityReady:!1,flickityCreated:!1,cellCount:0}}static getDerivedStateFromProps(e,t){const n=i.a.Children.count(e.children);return n!==t.cellCount?{flickityReady:!1,cellCount:n}:null}componentDidUpdate(e,t){if(!this.flkty)return;const{children:n,options:{draggable:r,initialIndex:o}={},reloadOnUpdate:a,disableImagesLoaded:s}=this.props,{flickityReady:c}=this.state;if(a||!t.flickityReady&&c){const e=this.flkty.isActive;this.flkty.deactivate(),this.flkty.selectedIndex=Number(o)||0,this.flkty.options.draggable=void 0===r?!!n&&i.a.Children.count(n)>1:r,e&&this.flkty.activate(),!s&&this.carousel&&l()(this.carousel,(()=>{var e;null==(e=this.flkty)||e.reloadCells()}))}else this.flkty.reloadCells()}async componentDidMount(){if(!s||!this.carousel)return;const e=(await n.e(2).then(n.t.bind(null,1111,7))).default,{flickityRef:t,options:r={}}=this.props;this.flkty=new e(this.carousel,r),t&&t(this.flkty),this.props.static?this.setReady():this.setState({flickityCreated:!0})}setReady(){if(this.state.flickityReady)return;const e=()=>this.setState({flickityReady:!0});this.props.disableImagesLoaded?e():this.carousel&&l()(this.carousel,e)}renderPortal(){if(!this.carousel)return null;const e=this.carousel.querySelector(".flickity-slider");if(e){const t=Object(o.createPortal)(this.props.children,e);return setTimeout((()=>this.setReady()),0),t}}render(){const{elementType:e="div",className:t="",static:n,children:r}=this.props;return i.a.createElement(e,{className:t,ref:e=>{this.carousel=e}},n?r:this.renderPortal())}};c.defaultProps={className:"",disableImagesLoaded:!1,elementType:"div",options:{},reloadOnUpdate:!1,static:!1};let u=c},,function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;rr&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),o=this._iKey=t.clone(),l=i.words,s=o.words,c=0;c0&&i[i.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]-1||n.setState({menuOpen:!1})},n.state={menuOpen:!1,showToast:!1,isLoading:!1,shareLink:""},n}return i(t,e),t.prototype.componentDidMount=function(){window.addEventListener("keydown",this.handleKeywordKeyPress.bind(this))},t.prototype.componentWillUnmount=function(){window.removeEventListener("keydown",this.handleKeywordKeyPress)},t.prototype.pushClickEventToDataLayer=function(e,t){window.PMNdataLayer&&window.PMNdataLayer.push({event:this.props.eventName||"ga-generic-event",userInteraction:t||this.props.userInteraction,interactionType:"click",interactionDetail:e})},t.prototype.render=function(){var e,t,n,r,i,o,a,l,s,u,v,j,x=this;return this.props.useDots?(v="inq-card-footer--controls",this.state.menuOpen&&(v+=" inq-card-footer--controls-open")):v=this.props.customClass||"inq-share__option inq-share__option--share",(null===(e=null==this?void 0:this.props)||void 0===e?void 0:e.isAppWebView)&&(null===(t=null==this?void 0:this.props)||void 0===t?void 0:t.handleButtonClick)?(0,c.jsx)("div",{className:"inq-share inq-gift-bc",children:(0,c.jsx)("button",{className:v,onClick:this.props.handleButtonClick,children:(0,c.jsx)(m.GiftIcon,{type:"share",size:"medium",isDarkMode:this.props.isDarkMode})})}):(0,c.jsxs)("div",{className:"inq-share inq-gift-bc",children:[(0,c.jsx)("div",{className:"".concat(this.props.useSimpleLink?"flex flex-row justify-end":"inq-share__options"),children:this.props.useSimpleLink?(0,c.jsx)("button",{className:v,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.copyLinkToClipboard,ref:this.buttonRef,"aria-label":"Share this story",children:(0,c.jsx)(p.LinkIcon,{type:"link",size:"small",color:this.props.linkIconColor||"black"})}):(0,c.jsx)("button",{className:"".concat(v," ").concat((null===(n=this.props)||void 0===n?void 0:n.isV2)?(j=this.props.isStoryStack,void 0===j&&(j=!1),j?"h-8 border-solid ".concat(y):"h-auto sm:h-8 border-none sm:border-solid ".concat(y)):""),onBlur:this.handleBlur,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,ref:this.buttonRef,"aria-label":"Share this story","aria-haspopup":"true","aria-expanded":this.state.menuOpen,children:this.props.useDots?(0,c.jsx)("div",{className:"inq-card-controls-dot"}):(null===(r=this.props)||void 0===r?void 0:r.isV2)?(0,c.jsxs)("div",{className:"flex ".concat((null===(i=this.props)||void 0===i?void 0:i.isStoryStack)?"gap-2 px-4 py-2":"gap-0 p-0 sm:gap-2 sm:px-4 sm:py-2"),children:[(0,c.jsx)(m.GiftIcon,{type:"share",size:"none",width:(null===(o=this.props)||void 0===o?void 0:o.isStoryStack)||!(0,g.checkIsMobile)()?"16":"24",height:(null===(a=this.props)||void 0===a?void 0:a.isStoryStack)||!(0,g.checkIsMobile)()?"16":"24",isDarkMode:this.props.isDarkMode,customClass:"flex items-center"}),(0,c.jsx)("span",{className:"font-grot10 font-bold text-primary text-3.5 leading-4 ".concat((null===(l=this.props)||void 0===l?void 0:l.isStoryStack)?"block":"hidden sm:block"),children:"Gift"})]}):(0,c.jsx)(m.GiftIcon,{type:"share",size:"medium",isDarkMode:this.props.isDarkMode})})}),this.props.useSimpleLink?null:(null===(s=this.props)||void 0===s?void 0:s.isV2)?(0,c.jsx)(h.SocialShareMenu,{type:"gift",menuOpen:this.state.menuOpen&&!this.state.isLoading,setMenuOpen:function(e){return x.setState({menuOpen:e})},options:this.getShareOptions(),isPopupLeftAligned:null===(u=this.props)||void 0===u?void 0:u.isPopupLeftAligned}):(0,c.jsx)(f.PopupMenu,{menuOptions:this.getShareOptions(),open:this.state.menuOpen&&!this.state.isLoading}),this.props.useSimpleLink?(0,c.jsx)("div",{className:"relative",children:(0,c.jsx)(b.Toast,{message:"Link copied",show:this.state.showToast,timedClose:!0,closeToast:function(){return x.setState({showToast:!1})},customClasses:"!absolute !w-28 !-left-24 !py-1 !px-2 !h-auto !bg-shades-dark-green-30 !text-secondary-dark-green-dark !text-base !transition-opacity !ease-in"})}):"undefined"!=typeof document?d.default.createPortal((0,c.jsx)(b.Toast,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:function(){return x.setState({showToast:!1})},position:"bottom"}),document.body):(0,c.jsx)(b.Toast,{message:"Link copied to clipboard",show:this.state.showToast,timedClose:!0,closeToast:function(){return x.setState({showToast:!1})},position:"bottom"})]})},t}(u.default.Component);t.Gift=x},function(e,t,n){"use strict";var r=n(1),i=n(34),o=n(199),a=n(0);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=({usingStickBar:e,isSubscriber:t,subscriberUrl:n,userMenuOptionsSignedOut:c,donateButtonLanguage:u,donateButtonColor:d,setRenderSubscriberBtn:p=(()=>{})})=>{const m=Object(i.f)("hijf-donate-button",{}),{buttonColor:f,language:b}=Object(r.useMemo)((()=>({buttonColor:d||(null==m?void 0:m.buttonColor)||"#FED561",language:u||(null==m?void 0:m.language)||"Donate to The Inquirer"})),[d,null==m?void 0:m.buttonColor,u,null==m?void 0:m.language]),[h,v]=Object(r.useState)({isControlVariant:!0,url:n||"https://www.inquirer.com/offers/?int_promo=subscribe&int_promo_sub_channel=subscribe_im_reg_users"}),g=Object(r.useCallback)((e=>{const t=e,{detail:n}=t;n&&"object"==typeof n&&0!==Object.keys(n).length&&(n.isControlVariant||p(!1),v((e=>function(e){for(var t=1;t{"undefined"!=typeof window&&window.PMNdataLayer.push({event:"ga_generic_event",interactionType:"click",userInteraction:e,interactionDetail:"masthead_button"})}),[]);return Object(r.useEffect)((()=>("undefined"!=typeof window&&window.addEventListener("piano_ab_test_registered_button",g),()=>{var e;return null===(e=window)||void 0===e?void 0:e.removeEventListener("piano_ab_test_registered_button",g)})),[]),!m||"object"==typeof m&&0===Object.keys(m).length||!t?(null==h?void 0:h.isControlVariant)||t?Object(a.jsx)(a.Fragment,{children:!e&&Object(a.jsxs)("div",{className:"hidden lg:flex flex-row space-x-2 items-center ml-auto w-fit",children:[!t&&Object(a.jsx)(o.a,{subscriberUrl:(null==h?void 0:h.url)||n,customClass:"text-black"}),Object(a.jsx)("a",{href:c[3].path,"aria-label":c[3].name,role:"link","data-link-type":"global-nav",className:"text-neutral-black no-underline text-3 font-bold",children:c[3].name})]})}):Object(a.jsx)("a",{"data-link-type":"global-nav",href:`${h.url}`,className:"hidden transition-all active:brightness-50 no-underline mt-0.5 ml-auto w-fit lg:flex \\n flex-row space-x-2 items-center py-2 px-4 rounded justify-center",style:{backgroundColor:h.buttonColor||"#FED561"},rel:"noreferrer",onClick:()=>j("Subscribe"),children:Object(a.jsx)("div",{className:"font-grot10 text-center leading-4 text-3.5",style:{color:h.textColor||"black"},children:Object(a.jsx)("div",{dangerouslySetInnerHTML:{__html:h.buttonLanguage||"Subscribe > $2 for 20 weeks"}})})}):t?Object(a.jsx)("a",{"data-link-type":"global-nav",href:`${m.url||"https://www.inquirer.com/checkout/?int_promo=subscribe&int_promo_sub_channel=desktop_button"}`,className:"hidden transition-all active:brightness-50 no-underline mt-0.5 ml-auto w-fit lg:flex \\n flex-row space-x-2 items-center py-2 px-4 rounded justify-center",style:{backgroundColor:f},rel:"noreferrer",onClick:()=>j("Donate_to_the_Inquirer"),children:Object(a.jsx)("div",{className:`font-grot10 text-center font-${(null==m?void 0:m.fontWeight)||"bold"} leading-4 text-3.5`,style:{color:m.textColor||"black"},children:b})}):null};t.a=Object(r.memo)(c)},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(1),i=n(24),o=n(0);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(e){return function(t){let{videoLocation:n,videoCategory:c,forceLoadingAnalytics:u,playFullScreen:d}=t,p=s(t,["videoLocation","videoCategory","forceLoadingAnalytics","playFullScreen"]);const m=Object(r.useRef)(null);return Object(r.useEffect)((()=>{Object(i.b)([{key:"src",value:"/pf/resources/vendor/video-watch-time.js"}],i.a.High)}),[]),Object(o.jsx)(e,function(e){for(var t=1;t{m.current.internalPlayer.getIframe().then((t=>{t&&(t.setAttribute("data-location",n),t.setAttribute("data-category",c),t.setAttribute("data-full-screen",d||"1"),window.videoPlayer&&(window.videoPlayer[t.id]=new window.YT.Player(t.id),window.videoPlayer[t.id].addEventListener("onStateChange",window.youtubeStateChange)),u&&null===e.data&&e.target.playVideo())}))}}))}}},function(e,t,n){"use strict";e.exports=n(403)},function(e,t,n){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=l(n(404)),o=l(n(405)),a=l(n(407));function l(e){return e&&e.__esModule?e:{default:e}}var s=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=(0,i.default)();if(s||(s=(0,o.default)(l)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=a.default.proxyEvents(l);var c=new Promise((function(n){"object"===(void 0===e?"undefined":r(e))&&e.playVideo instanceof Function?n(e):s.then((function(r){var i=new r.Player(e,t);return l.on("ready",(function(){n(i)})),null}))})),u=a.default.promisifyPlayer(c,n);return u.on=l.on,u.off=l.off,u},e.exports=t.default},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return p}));const r="Awes0m3YeaR2023&M3rRyXm4s2022!@",i="Xm4s2022!@Awes0m3YeaR2023&M3rRy",o="M3rRyXm4s2022!@Awes0m3YeaR2023&",a="YeaR2023&M3rRyXm4s2022!@Awes0m3",l=t=>e.from(t,"base64").toString("binary"),s=e=>e.split("").reverse().join(""),c=e=>{let t=0;if(0===e.length)return t.toString();for(let n=0;n{let r=e+t;for(let e=0;e{let n="";for(let r=0;r{if(!e||"string"!=typeof e)return e;if(!/^[A-Za-z0-9+/=]+$/.test(e))return e;try{let t=l(e);const n=u(r,a).substring(0,12);t=d(t,n),t=l(t);t=((e,t)=>{const n=e.split(":"),r=n[0],i=n[1],o=t.split("").map((e=>e.charCodeAt(0)));let a="",l=0;for(let e=0;eObject(l.jsx)("div",{className:"absolute left-0 right-0 h-full flex items-center justify-center",children:Object(l.jsx)(a.a,{urlIPart:"/",urlSportsPart:"/sports",customClassIPart:"mx-auto text-[#231F20] lg:text-[#E66A1F] h-8 sm:h-[37px]"+(e?"":" lg:h-[57px]"),customClassSportsPart:"mx-auto h-8 text-[#231F20] lg:text-[#E66A1F] sm:h-[37px]"+(e?"":" lg:h-[57px]")})});t.a=i.a.memo(s)},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(198),a=n.n(o),l=n(0);const s=({isStickyStyle:e})=>Object(l.jsx)("div",{className:"absolute left-0 right-0 h-full flex items-center justify-center",children:Object(l.jsx)(a.a,{urlIPart:"/",urlFoodPart:"/food",customClassIPart:"mx-auto fill-black lg:fill-secondary-yellow h-8 sm:h-[37px]"+(e?"":" lg:h-[57px]"),customClassFoodPart:"pl-1 h-8 fill-black lg:fill-secondary-yellow sm:h-[37px]"+(e?"":" lg:h-[57px]")})});t.a=i.a.memo(s)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=()=>{const e=navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?"tablet":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(e)?"mobile":"desktop"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(172),i=n(44);const o=["NJ","PA","DE"],a=[...r.a,"08001","08019","08037","08067","08069","08070","08079","08098","08201","08202","08203","08204","08205","08210","08212","08215","08221","08223","08225","08226","08230","08232","08234","08241","08242","08243","08244","08247","08248","08251","08260","08270","08302","08310","08311","08312","08314","08317","08318","08319","08321","08322","08323","08324","08326","08327","08328","08330","08332","08340","08341","08343","08344","08345","08346","08349","08350","08353","08360","08361","08401","08402","08403","08406","08520","08525","08534","08540","08542","08544","08550","08560","08561","08562","08608","08609","08610","08611","08618","08619","08620","08628","08629","08638","08640","08641","08648","08690","08691","18011","18013","18014","18015","18017","18018","18020","18031","18032","18034","18035","18036","18037","18038","18040","18041","18042","18045","18049","18051","18052","18053","18054","18055","18056","18059","18062","18063","18064","18066","18067","18069","18070","18072","18073","18074","18076","18077","18078","18080","18083","18085","18087","18088","18091","18092","18101","18102","18103","18104","18106","18109","18343","18901","18902","18913","18914","18915","18917","18920","18923","18925","18927","18929","18930","18932","18933","18934","18936","18938","18940","18942","18944","18947","18951","18954","18955","18960","18964","18969","18972","18976","18977","19019","19024","19048","19058","19059","19065","19068","19077","19080","19088","19089","19097","19098","19099","19117","19139","19155","19310","19311","19317","19320","19330","19335","19341","19343","19344","19345","19348","19350","19352","19362","19363","19365","19372","19373","19374","19383","19390","19426","19435","19436","19438","19440","19446","19453","19456","19464","19465","19468","19473","19475","19477","19492","19503","19504","19505","19506","19507","19508","19510","19512","19518","19520","19522","19525","19526","19529","19530","19533","19534","19539","19540","19541","19543","19547","19550","19551","19555","19560","19562","19565","19567","19601","19602","19604","19605","19606","19607","19608","19609","19610","19611","19711","19716","19717","19730","19731","19732","19733","19901","19902","19904","19934","19938","19943","19946","19952","19953","19954","19962","19964","19977","19979"],l=new Set(a.map((e=>e.padStart(5,"0")))),s=(e,t)=>{const n=Object(i.a)("is_in_dma");if(n)return"true"===n;const r=((e,t)=>{if(!e||!t)return!1;const n=e.split("-")[1]||null;return!(!n||!o.includes(n))&&t.split("+").some((e=>{if(e.includes("-")){const[t,n]=e.split("-").map(Number);if(Number.isNaN(t)||Number.isNaN(n)||t>n)return!1;for(let e=t;e<=n;e++)if(l.has(String(e).padStart(5,"0")))return!0;return!1}return l.has(e.padStart(5,"0"))}))})(e,t);return Object(i.e)("is_in_dma",String(r),1,!0),r}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(1);var r=n(190),i=n(0);function o({menuOptions:e,open:t=!1}){let n="inq-popup-menu inq-popup-menu--open";t||(n+=" hidden");return Object(i.jsx)("div",{className:n,children:e.map(((e,t)=>((e,t)=>"string"==typeof e.name&&e.name.toLowerCase().includes("gift")?Object(i.jsxs)("div",{className:"flex p-4 items-center gap-2 self-stretch bg-whitesmoke text-neutral-black",children:[Object(i.jsx)(r.a,{type:null==e?void 0:e.icon,size:"medium"}),Object(i.jsx)("span",{className:"type-author font-normal leading-5.5 cursor-default not-italic",children:e.name})]},t):Object(i.jsxs)("button",{onClick:e.onClick,onMouseDown:e=>e.preventDefault(),className:"inq-popup-menu__option","aria-label":e.ariaLabel?e.ariaLabel:e.name,children:[Object(i.jsx)(r.a,{type:null==e?void 0:e.icon,size:"medium"}),Object(i.jsxs)("span",{className:"type-author xs:leading-5 font-medium",children:[e.lead," ",e.name]})]},t))(e,t)))})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(1);var r=n(0);const i=({size:e="small",color:t="currentColor",width:n="24",height:i="24",customClass:o=""})=>Object(r.jsx)("div",{className:`inq-icon inq-icon--email inq-icon--${e}${o}`,children:Object(r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 24 24",fill:t,children:[Object(r.jsx)("title",{children:"Email"}),Object(r.jsx)("path",{d:"M3 3H21C21.2652 3 21.5196 3.10536 21.7071 3.29289C21.8946 3.48043 22 3.73478 22 4V20C22 20.2652 21.8946 20.5196 21.7071 20.7071C21.5196 20.8946 21.2652 21 21 21H3C2.73478 21 2.48043 20.8946 2.29289 20.7071C2.10536 20.5196 2 20.2652 2 20V4C2 3.73478 2.10536 3.48043 2.29289 3.29289C2.48043 3.10536 2.73478 3 3 3ZM12.06 11.683L5.648 6.238L4.353 7.762L12.073 14.317L19.654 7.757L18.346 6.244L12.06 11.683Z"})]})})},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(1);var r=n(0);const i=({size:e="small",color:t="currentColor",width:n="24",height:i="24",customClass:o=""})=>Object(r.jsx)("div",{className:`inq-icon inq-icon--facebook inq-icon--${e}${o}`,children:Object(r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 24 24",fill:t,children:[Object(r.jsx)("title",{children:"Facebook Logo"}),Object(r.jsx)("path",{d:"M14 13.5H16.5L17.5 9.5H14V7.5C14 6.47 14 5.5 16 5.5H17.5V2.14C17.174 2.097 15.943 2 14.643 2C11.928 2 10 3.657 10 6.7V9.5H7V13.5H10V22H14V13.5Z"})]})})},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(1);var r=n(0);const i=({size:e="small",color:t="currentColor",width:n="24",height:i="24",customClass:o=""})=>Object(r.jsx)("div",{className:`inq-icon inq-icon--twitter inq-icon--${e}${o}`,children:Object(r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 24 24",fill:t,children:[Object(r.jsx)("title",{children:"X"}),Object(r.jsx)("path",{d:"M8 2H1L9.26086 13.0145L1.44995 21.9999H4.09998L10.4883 14.651L16 22H23L14.3917 10.5223L21.8001 2H19.1501L13.1643 8.88578L8 2ZM17 20L5 4H7L19 20H17Z"})]})})},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(1);var r=n(0);const i=({size:e="small",color:t,width:n="24",height:i="24"})=>Object(r.jsx)("div",{className:`inq-icon inq-icon--bluesky inq-icon--${e}`,children:Object(r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 40 40",fill:"currentColor",children:[Object(r.jsx)("title",{children:"Bluesky"}),Object(r.jsx)("path",{d:"M8.67062 2.67029C13.2563 6.54889 18.1894 14.412 20 18.6317V29.777C20 29.5398 19.9188 29.8078 19.7437 30.3854C18.7987 33.5124 15.1075 45.7166 6.66687 35.9601C2.2225 30.8233 4.28 25.6864 12.37 24.1356C7.74187 25.0226 2.53875 23.5566 1.11125 17.8092C0.7 16.1559 0 5.97204 0 4.5966C0 -2.29322 5.36188 -0.127606 8.67062 2.67029ZM31.3294 2.67029C26.7437 6.54889 21.8106 14.412 20 18.6317V29.777C20 29.5398 20.0812 29.8078 20.2563 30.3854C21.2013 33.5124 24.8925 45.7166 33.3331 35.9601C37.7775 30.8233 35.72 25.6864 27.63 24.1356C32.2581 25.0226 37.4613 23.5566 38.8887 17.8092C39.3 16.1559 40 5.97204 40 4.5966C40 -2.29322 34.6387 -0.127606 31.3294 2.67029Z",fill:t})]})})},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(1);var r=n(0);const i=({size:e="small",color:t="#1A6AFF",width:n="24",height:i="24"})=>Object(r.jsx)("div",{className:`inq-icon inq-icon--threads inq-icon--${e}`,children:Object(r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 40 40",fill:"currentColor",children:[Object(r.jsx)("title",{children:"Threads"}),Object(r.jsx)("path",{id:"Vector",d:"M29.4869 18.5392C29.3146 18.4566 29.1396 18.3772 28.9623 18.3011C28.6535 12.6121 25.545 9.35521 20.3254 9.32187C20.3017 9.32173 20.2782 9.32173 20.2546 9.32173C17.1326 9.32173 14.536 10.6544 12.9379 13.0793L15.8085 15.0485C17.0024 13.2371 18.8761 12.851 20.2559 12.851C20.2719 12.851 20.2879 12.851 20.3036 12.8511C22.0223 12.8621 23.3191 13.3618 24.1585 14.3363C24.7694 15.0457 25.1779 16.026 25.3802 17.2633C23.8564 17.0043 22.2085 16.9247 20.4469 17.0257C15.4843 17.3115 12.294 20.2058 12.5082 24.2275C12.617 26.2675 13.6333 28.0225 15.3698 29.169C16.838 30.1381 18.7289 30.6121 20.6942 30.5048C23.2896 30.3625 25.3256 29.3723 26.746 27.5617C27.8248 26.1867 28.5071 24.4048 28.8083 22.1596C30.0452 22.906 30.9619 23.8883 31.4681 25.0692C32.3289 27.0765 32.3791 30.375 29.6877 33.0642C27.3296 35.42 24.495 36.4392 20.2111 36.4706C15.4592 36.4354 11.8654 34.9115 9.52875 31.941C7.34071 29.1596 6.20992 25.1421 6.16773 20C6.20992 14.8579 7.34071 10.8403 9.52875 8.0589C11.8654 5.08852 15.4591 3.56458 20.2111 3.52927C24.9975 3.56485 28.6539 5.09612 31.08 8.08083C32.2696 9.5445 33.1664 11.3852 33.7577 13.5313L37.1216 12.6338C36.405 9.99212 35.2773 7.71577 33.7427 5.82792C30.6325 2.00139 26.0837 0.0406558 20.2228 0H20.1993C14.3503 0.0405146 9.8525 2.00871 6.83088 5.84985C4.14204 9.268 2.75506 14.0241 2.70846 19.9859L2.70831 20L2.70846 20.0141C2.75506 25.9758 4.14204 30.7321 6.83088 34.1502C9.8525 37.9912 14.3503 39.9596 20.1993 40H20.2228C25.4229 39.964 29.0883 38.6025 32.1079 35.5856C36.0585 31.6388 35.9396 26.6915 34.6375 23.6544C33.7033 21.4765 31.9223 19.7075 29.4869 18.5392ZM20.5084 26.9806C18.3334 27.1031 16.0738 26.1269 15.9624 24.0358C15.8798 22.4854 17.0658 20.7554 20.6419 20.5493C21.0514 20.5257 21.4533 20.5142 21.8481 20.5142C23.1471 20.5142 24.3623 20.6404 25.4671 20.8819C25.055 26.0281 22.6379 26.8638 20.5084 26.9806Z",fill:t})]})})},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));n(1);var r=n(0);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;tObject(r.jsx)("div",{className:`inq-icon inq-icon--chevron-up inq-icon--${e}`,children:Object(r.jsx)("svg",o({width:"11px",height:"7px",viewBox:"0 0 11 7",version:"1.1"},t?{className:t}:{},{children:Object(r.jsx)("path",{d:"M5.83008 2.37685L1.94101 6.19531L0.830078 5.10454L5.83008 0.195312L10.8301 5.10454L9.71914 6.19531L5.83008 2.37685Z",fill:n})}))})},function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r=n(1),i=n(250),o=n(247),a=n(248),l=n(122),s=n(251),c=n(249),u=n(0);const d=({size:e="small",color:t="currentColor",width:n="24",height:r="24",customClass:i=""})=>Object(u.jsx)("div",{className:`inq-icon inq-icon--whatsapp inq-icon--${e} ${i}`,children:Object(u.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:r,viewBox:"0 0 40 40",fill:t,children:[Object(u.jsx)("title",{children:"What's App"}),Object(u.jsx)("path",{d:"M29.596 22.9844L26.0849 21.3244C25.8686 21.2359 25.6385 21.1855 25.4049 21.1756C25.0116 21.1756 24.6805 21.3711 24.4227 21.7578C24.1316 22.1911 23.2494 23.2222 22.9783 23.5289C22.9427 23.5689 22.8938 23.6178 22.8649 23.6178C22.658 23.5428 22.4534 23.4613 22.2516 23.3733C19.1227 22.0133 16.7494 18.7467 16.4227 18.1956C16.376 18.1156 16.3738 18.08 16.3738 18.08C16.3849 18.0378 16.4894 17.9333 16.5449 17.8778C16.7049 17.72 16.876 17.5133 17.0427 17.3133L17.2783 17.0333C17.5205 16.7533 17.6272 16.5333 17.7516 16.2822L17.816 16.1511C18.1205 15.5467 17.8605 15.0356 17.776 14.8711C17.7072 14.7333 16.476 11.7622 16.3449 11.4489C16.0294 10.6956 15.6138 10.3444 15.036 10.3444L14.8116 10.3533C14.5383 10.3644 13.0472 10.5622 12.3872 10.9778C11.6872 11.4178 10.5049 12.8244 10.5049 15.2956C10.5049 17.52 11.916 19.62 12.5227 20.42L12.6049 20.54C14.9249 23.9289 17.8205 26.4422 20.7538 27.6133C23.5783 28.7422 24.916 28.8711 25.676 28.8711C25.996 28.8711 26.2516 28.8467 26.476 28.8244L26.6183 28.8111C27.5938 28.7244 29.7383 27.6133 30.2249 26.2578C30.6094 25.1911 30.7094 24.0244 30.456 23.6C30.2805 23.3111 29.9783 23.1667 29.5983 22.9844H29.596ZM20.356 0C9.52271 0 0.709375 8.74667 0.709375 19.5C0.707451 22.9686 1.63766 26.374 3.40271 29.36L0.0271525 39.3133C-0.0350697 39.5 0.011597 39.7044 0.147153 39.8444C0.247153 39.9467 0.380486 40 0.518264 40C0.571759 39.9995 0.6249 39.9913 0.676041 39.9756L11.056 36.6778C13.9191 38.2012 17.1129 38.9972 20.356 38.9956C31.1872 38.9956 40.0005 30.2489 40.0005 19.4978C40.0005 8.74667 31.1872 0 20.356 0ZM20.356 34.9356C17.2983 34.9356 14.3383 34.0533 11.7938 32.3822C11.7094 32.3267 11.6094 32.2978 11.5094 32.2978C11.456 32.2978 11.4027 32.3067 11.3516 32.3222L6.1516 33.9756L7.82938 29.0244C7.88493 28.8644 7.85604 28.6867 7.75604 28.5511C5.82643 25.9292 4.78822 22.7577 4.79382 19.5022C4.79382 10.9911 11.7738 4.06444 20.356 4.06444C28.9383 4.06444 35.916 10.9889 35.916 19.5022C35.916 28.0156 28.936 34.9378 20.356 34.9378V34.9356Z",fill:t})]})});function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t{if(!e)return null;switch(e){case"link":return Object(u.jsx)(l.a,m({},b));case"email":return Object(u.jsx)(o.a,m({},b));case"facebook":return Object(u.jsx)(a.a,m({},b));case"twitter":return Object(u.jsx)(c.a,m({},b));case"whatsapp":return Object(u.jsx)(d,m({},b));case"threads":return Object(u.jsx)(s.a,m({},b));case"bluesky":return Object(u.jsx)(i.a,m({},b));default:return null}};var v=Object(r.memo)(h);const g=({title:e,options:t,isVerticalPlayer:n=!1})=>Object(u.jsxs)("div",{className:"p-4 box-border",children:[e&&Object(u.jsx)("div",{className:"font-grot10 font-normal text-4 leading-5.5 text-primary",children:e}),Object(u.jsx)("div",{className:`gap-6 mt-4 ${n?"grid grid-cols-4 sm:flex sm:flex-wrap":"grid grid-cols-4 md:flex md:grid-cols-none md:flex-wrap"} `,children:t.map((({name:e,icon:t,onClick:n,ariaLabel:r})=>Object(u.jsxs)("div",{className:"flex flex-col items-center justify-center cursor-pointer group min-w-fit",onClick:n,children:[Object(u.jsx)("button",{id:e,className:"inq-social-share-menu__button w-11 h-11 border border-solid border-primary rounded-full cursor-pointer flex items-center justify-center bg-white group-hover:bg-gray-light group-active:bg-gray-light focus:bg-gray-light active:bg-gray-light transition-all","aria-label":null!=r?r:e,children:Object(u.jsx)(v,{icon:t})},e),Object(u.jsx)("span",{className:"mt-2 font-grot10 font-normal text-3.5 leading-4 text-primary whitespace-nowrap",children:e})]},e)))})]});var j=Object(r.memo)(g),y=n(284),x=n(126);const O=({isOpen:e,setIsOpen:t,children:n})=>{const i=Object(r.useCallback)((()=>{t(!1)}),[]);return Object(u.jsxs)("div",{className:"relative z-[103] "+(e?"block":"hidden"),children:[Object(u.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50",onClick:i}),Object(u.jsxs)("div",{className:"fixed bottom-0 left-0 right-0 bg-white rounded-t-xl shadow-lg",children:[Object(u.jsx)("button",{type:"button","aria-label":"Close",className:"absolute top-0 right-0 p-2 rounded-full focus:outline-none bg-transparent cursor-pointer",onClick:i,children:Object(u.jsx)(x.a,{size:"none",width:"16",height:"16"})}),Object(u.jsx)("div",{className:"flex flex-col gap-2",children:n})]})]})},w=({type:e,menuOpen:t,setMenuOpen:n,options:i,isVerticalPlayer:o=!1,isPopupLeftAligned:a=!1})=>{const l=Object(r.useMemo)((()=>("share"===e?"Share":"Gift")+" this article"),[e]),s=Object(r.useMemo)((()=>{const e="z-9 box-border hidden lg:block",n=o?"w-full":"w-[562px]";if(!t)return`${e} ${n}`;return`${e} ${n} absolute mt-3 ${o?"right-0 bottom-24":a?"left-0":"right-6"}`}),[o,t,a]);return Object(u.jsxs)("div",{className:`inq-social-share-menu inq-${e}-v2 ${t?"":"hidden"}`,onMouseDown:e=>e.preventDefault(),children:[Object(u.jsx)("div",{className:"lg:hidden",children:Object(u.jsx)(O,{isOpen:t,setIsOpen:n,children:Object(u.jsx)(j,{title:l,options:i,isVerticalPlayer:o})})}),Object(u.jsx)("div",{className:s,children:Object(u.jsx)(y.a,{toolTipSubText:"",toolTipHeader:"",toolTipText:"",phillyFirstTooltip:!1,showCloseButton:!0,position:o?"arrow-bottomRight":a?"arrow-topLeft":"arrow-topRight",closeTooltip:()=>n(!1),customClasses:"bg-white border-secondary "+(o?"box-border !w-full":""),svgFill:"fill-white",svgStroke:"stroke-neutral-light-text",customCloseClassNames:"absolute top-0 right-0 p-2 flex w-4 h-4 cursor-pointer",giftV2Tooltip:!0,children:Object(u.jsx)(j,{isVerticalPlayer:o,title:l,options:i})})})]})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(1);var r=n(0);const i=({category:e})=>(null==e?void 0:e.icon)?Object(r.jsx)("img",{src:e.icon,alt:e.name,className:"inq-eyebrow-icon"}):null;function o({category:e,hasImage:t=!1,mapIndex:n,feedLength:o,feedProvenance:a,isCompactCard:l,isLiveBlogCard:s,didLiveBlogEnd:c,isOpinion:u,isColumnist:d,isEditorial:p,isActionNetwork:m,isPhillyFirst:f,phillyFirstMeta:b,storyStyle:h,dataLinkType:v="standard-story-card",dataCardAuthor:g,dataCardType:j,hasPadding:y=!0,hasFeaturedImage:x=!0,eyebrowClassName:O,isInHeadlineItem:w=!1,isInPackage:_,wrapperClassName:C="",customEyebrowText:k="",customEyebrowLink:S,onClick:N}){if(!w&&!e)return null;const L=m&&_;if(e){const m=(u||d||p||L)&&"standard"===h,w=L?" green-line":"";let _=["inq-eyebrow",(u||L)&&"type-opinion-eyebrow",!(u||L)&&"type-article-eyebrow",void 0!==j&&("site"===e.type||"custom"===e.type)&&"inq-eyebrow--site","Breaking"===e.name&&"inq-eyebrow--breaking","/feature"===e._id&&"inq-eyebrow--loud",m&&!l&&"inq-eyebrow--opinion",t&&!m&&"inq-eyebrow--image",!t&&m&&"inq-eyebrow-special-card--no-image",!t&&"inq-eyebrow--no-image",s&&!c&&"inq-eyebrow--live",c&&"inq-eyebrow--endliveblog",!y&&"inq-eyebrow--image-no-padding",!x&&m&&"eyebrow-no-padding-top"].filter(Boolean).join(" ");if(C&&(_=C),v&&(v+="-eyebrow"),"sponsored"===e.type){const t=`https://media.inquirer.com/sponsors${e._id}.png`;return Object(r.jsxs)("div",{className:`inq-eyebrow--sponsored ${_}`,children:[Object(r.jsxs)("div",{className:"inq-eyebrow--sponsored-label",children:["Sponsored by ",e.name]}),Object(r.jsx)("div",{className:"inq-eyebrow--sponsored-logo",children:Object(r.jsx)("img",{src:t,alt:e.name})})]})}var E,P,T,M,A,I;if(f)return Object(r.jsx)("div",{className:"pt-4 sm:pt-3 lg:pt-4 pb-2 sm:pb-3 lg:pb-4",children:Object(r.jsx)("a",{"data-card-index":n,"data-feed-length":o,"data-feed-provenance":a,"data-link-type":v,"data-card-author":g,"data-card-type":j,href:S||(null==e?void 0:e._id),title:null==e?void 0:e.name,className:"no-underline font-grot10 uppercase text-neutral-text-color",children:Object(r.jsxs)("div",{className:"flex flex-row items-center gap-x-1",children:[Object(r.jsx)("img",{className:"w-3 sm:w-3.5 lg:w-4 h-3 sm:h-3.5 lg:h-4 m-0",src:(null==b||null===(E=b.additional_properties)||void 0===E||null===(P=E.original)||void 0===P||null===(T=P.site)||void 0===T?void 0:T.section_icon)||"https://media.inquirer.com/assets/philly-first/phillyfirst-arrow.svg",alt:null==e?void 0:e.name}),Object(r.jsx)("p",{className:"text-xs leading-3 sm:text-sm sm:leading-3.5 lg:text-md lg:leading-4",children:k||((null==b||null===(M=b.additional_properties)||void 0===M||null===(A=M.original)||void 0===A||null===(I=A.site)||void 0===I?void 0:I.site_description)||"Partner Content")})]})})});if(e._id&&["section","site"].includes(e.type)&&!m){const t=S||("#"===e._id?"":`https://www.inquirer.com${e._id}`);return Object(r.jsx)("div",{className:`\n ${_}\n ${t?"":"no-pointer"}\n `,children:Object(r.jsxs)("a",{"data-card-index":n,"data-feed-length":o,"data-feed-provenance":a,"data-link-type":v,"data-card-author":g,"data-card-type":j,href:t,title:e.name,className:O,children:[(null==e?void 0:e.icon)&&Object(r.jsx)(i,{category:e}),k||e.name]})})}if(e._id&&"custom"===e.type){var D,R;const t=(null===(D=e.name)||void 0===D?void 0:D.split("-"))||[];return Object(r.jsx)("div",{className:_,children:Object(r.jsxs)("a",{"data-card-index":n,"data-feed-length":o,"data-feed-provenance":a,"data-link-type":v,"data-card-author":g,"data-card-type":j,href:S||e._id,title:e.name,className:O,children:[(null==e?void 0:e.icon)&&Object(r.jsx)(i,{category:e}),t[1]?Object(r.jsx)("img",{src:null===(R=t[1].split("logo:")[1])||void 0===R?void 0:R.replace("}",""),alt:`${t[0]} logo`,className:"h-5 ml-1"}):k||t[0]]})})}if(m&&!l){const t=S||`https://www.inquirer.com${L?"/sports/betting":e._id}`,i=L?"Action Network":e.name;return Object(r.jsx)("div",{className:_,children:Object(r.jsx)("div",{className:`inq-eyebrow--text${w}`,children:e._id?Object(r.jsx)("a",{"data-card-index":n,"data-feed-length":o,"data-feed-provenance":a,"data-link-type":v,"data-card-author":g,"data-card-type":j,href:t,title:i,className:O,children:k||i}):k||i})})}if(m&&l){const e=S||"https://www.inquirer.com/"+(L?"sports/betting":"opinion"),t=L?"Action Network":"Opinion";return Object(r.jsx)("div",{className:_,children:Object(r.jsx)("div",{className:"inq-eyebrow-compact-card",children:Object(r.jsx)("div",{className:`inq-eyebrow--text${w}`,children:Object(r.jsx)("a",{"data-card-index":n,"data-feed-length":o,"data-feed-provenance":a,"data-link-type":v,"data-card-author":g,"data-card-type":j,href:e,title:t,className:O,children:k||t})})})})}return s?Object(r.jsxs)("div",{className:_,children:[(null==e?void 0:e.icon)&&Object(r.jsx)(i,{category:e}),c?Object(r.jsxs)("div",{children:["As It Happened",Object(r.jsx)("span",{children:" · "}),k||e.name]}):Object(r.jsxs)("div",{className:"flex items-center justify-center gap-x-1",children:[Object(r.jsx)("span",{className:"live-rec h-2 w-2 rounded-full bg-red-destroy"}),Object(r.jsx)("span",{children:"Live Updates"})]})]}):Object(r.jsxs)("div",{className:_,children:[(null==e?void 0:e.icon)&&Object(r.jsx)(i,{category:e}),k||e.name]})}return w?Object(r.jsx)("div",{className:"inq-eyebrow-container type-opinion-eyebrow",children:Object(r.jsx)("div",{className:"inq-eyebrow--text",children:Object(r.jsx)("a",{"data-card-index":n,"data-feed-length":o,"data-feed-provenance":a,"data-link-type":"headline-list-card","data-card-type":j,href:S||"https://www.inquirer.com/opinion",title:"Opinion",className:"text-black",onClick:N,children:k||"Opinion"})})}):null}},,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(207),a=n(208),l=n(106),s=n(182),c=n(509),u=n(309),d=n(310),p=n(311);t.default=(0,i.memo)((function(e){var t=e.type,n=e.size,i=void 0===n?"small":n;switch(t){case"facebook":return(0,r.jsx)(a.FacebookIcon,{size:i});case"twitter":return(0,r.jsx)(s.TwitterIcon,{size:i});case"email":return(0,r.jsx)(o.EmailIcon,{size:i});case"link":return(0,r.jsx)(l.LinkIcon,{size:i});case"instagram":return(0,r.jsx)(c.InstagramIcon,{size:i});case"bluesky":return(0,r.jsx)(d.BlueskyIcon,{size:i});case"threads":return(0,r.jsx)(p.ThreadsIcon,{size:i});case"gift":return(0,r.jsx)(u.GiftIcon,{size:i});default:return null}}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DividerColor=t.DividerType=void 0,t.Divider=function(e){var t=e.type,n=void 0===t?r.standard:t,a=e.color,l=void 0===a?i.standard:a,s=[n?"":"h-px",l?"":"bg-gray-light"].join(" ");return(0,o.jsx)("hr",{className:"".concat(s," w-full border-0 inq-divider inq-divider--").concat(n," inq-divider--").concat(l)})};var r,i,o=n(0);!function(e){e.standard="standard",e.bold="bold",e.bolder="bolder"}(r||(t.DividerType=r={})),function(e){e.standard="",e.pink="pink",e.orange="orange",e.yellow="yellow",e.green="green",e["dark-green"]="dark-green",e.periwinkle="periwinkle",e.cyan="cyan",e.blue="blue",e["dark-blue"]="dark-blue",e.red="red",e.purple="purple",e.teal="teal",e.black="black",e["mid-gray"]="mid-gray",e.rainbow="rainbow",e["gradient-cyan"]="gradient-cyan",e["gradient-blue"]="gradient-blue",e["gradient-purple"]="gradient-purple",e["gradient-orange"]="gradient-orange",e["gradient-red"]="gradient-red"}(i||(t.DividerColor=i={}))},,function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[t,n]=Object(r.useState)(),[o,a]=Object(r.useState)(!1),[l,s]=Object(r.useState)(!1),{iconName:c,size:u,customClass:d,url:p}=e;return Object(r.useEffect)((()=>{fetch(p).then((e=>e.text())).then(n).catch(s).then((()=>a(!0)))}),[]),Object(i.jsx)("div",{className:`inq-icon pointer-events-none inq-icon--${null!=u?u:"small"} inq-icon--${c} ${d}\n svgInline--${o?"loaded":"loading"} ${l?"svgInline--errored":""}`,dangerouslySetInnerHTML:{__html:t}})}},function(e,t,n){"use strict";var r=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i=n)return{paginationRange:c(1,n)};if("mobile"===a){var s=c(i,i+1),u=c(l-1,l);return{paginationRange:i===l?u:s}}if("tablet"===a){var d=c(i+1,l-1),p=i>=l-2;return u=c(l-2,l),{paginationRange:p?r([],u,!0):[i,t.DOTS,l],subMenuRange:d}}if(n<=6)return s=c(i,i+1),u=c(l-1,l),{paginationRange:i===l?u:s};if(!o)return{paginationRange:s=c(n-6+1,n)};if(o){var m=c(e,e+3);return d=c(e+4,l-1),{paginationRange:r(r([],m,!0),[t.DOTS,l],!1),subMenuRange:d}}}),[n,i,a])}({currentPage:m,totalPageCount:p,screenSize:b}),j=g.paginationRange,y=g.subMenuRange,x=(0,o.useState)(!1),O=x[0],w=x[1],_=v.leftLabel,C=v.rightLabel,k=!!u,S=(0,o.useRef)(null);if((0,o.useEffect)((function(){var e=function(e){S.current&&!S.current.contains(e.target)&&w(!1)};return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}}),[]),0===m||p<2)return null;var N=function(){w(!0)},L=function(e){(null===window||void 0===window?void 0:window.PMNdataLayer)&&window.PMNdataLayer.push({event:"ga-generic-event",interactionDetail:"pagination-click",userInteraction:null==e?void 0:e.toLowerCase()})},E=j[j.length-1];return(0,i.jsxs)("ul",{className:"pagination-component flex flex-row font-grot10 items-center list-none",children:[(0,i.jsxs)(a.Button,{mode:"outline",onClick:k&&1===m?u:function(){n(m-1),L(_)},size:"medium",type:"standard",disabled:!k&&1===m,customClass:"mr-2",iconSide:"left",children:["mobile"!==b&&_,(0,i.jsx)(s.ChevronLeftIcon,{size:"small"})]}),j.map((function(e){return e===t.DOTS?(0,i.jsxs)("div",{className:"relative",children:[O?(0,i.jsx)("div",{ref:S,className:"max-h-30 shadow-dropdown border border-solid border-black font-medium overflow-y-scroll !min-w-[44px] text-base leading-5 z-10 flex flex-col bg-white rounded absolute left-[3px] top-0",children:y.map((function(e){return(0,i.jsx)("div",{className:"hover:bg-neutral-light-gray w-full cursor-pointer",children:(0,i.jsx)("li",{className:"list-none font-grot10 text-center py-1",onClick:function(){return function(e){n(e),w(!1),L(null==e?void 0:e.toString())}(e)},children:e})},e)}))}):null,(0,i.jsx)("li",{className:"mx-1 bg-white px-1 py-[10px] !min-w-[34px] border border-solid border-black text-center hover:bg-neutral-light-gray font-medium text-base leading-5 font-grot10 cursor-pointer rounded focus:ring-4 focus:ring-silversand",onClick:N,children:"…"},"DOTS")]},"container"):(0,i.jsx)("button",{className:"".concat(e===m?"bg-gray-mid-neutral text-white":"bg-white text-black hover:bg-neutral-light-gray"," mx-1 px-1 py-[10px] font-grot10 cursor-pointer text-base leading-5 !min-w-[44px] border border-solid border-black text-center font-medium rounded focus:ring-4 focus:ring-silversand"),onClick:function(){n(e),L(null==e?void 0:e.toString())},children:e},e)})),(0,i.jsxs)(a.Button,{mode:"outline",onClick:function(){n(m+1),L(C)},size:"medium",type:"standard",disabled:m===E,customClass:"ml-2",iconSide:"right",children:["mobile"!==b&&C,(0,i.jsx)(l.ChevronRightIcon,{size:"small"})]})]})}},,function(e,t,n){"use strict";var r=n(1),i=n(77),o=n(0);const a=["list-[lower-roman]","list-decimal","list-[lower-alpha]"],l=["list-[square]","list-disc","list-[circle]"],s=({id:e,list:t,depth:n,listType:i,isDarkMode:s})=>{const u=Object(r.useMemo)((()=>"ordered"===i),[i]),d=Object(r.useMemo)((()=>n?n%3:1),[n]),p=Object(r.useMemo)((()=>`ml-5 ${s?"bg-primary":""} ${u?a[d]:l[d].concat(" my-6")}`),[s,u,d]);return Object(o.jsx)("ol",{className:p,children:t.map(((t,r)=>Object(o.jsx)(c,{content:t,depth:n,isDarkMode:s},`list-${e||""}-${r}`)))})},c=({content:e,depth:t,isDarkMode:n})=>{const a=Object(r.useMemo)((()=>(null==e?void 0:e.items)||[]),[null==e?void 0:e.items]);return"text"===(null==e?void 0:e.type)?Object(o.jsx)("li",{className:"ml-5 mb-3 "+(n?"text-white":""),children:Object(o.jsx)(i.a,{dropcap:!1,isDarkMode:n,children:e.content})}):(null==a?void 0:a.length)>0?Object(o.jsx)(s,{id:(null==e?void 0:e._id)||"",list:a,depth:t?t+=1:1,listType:null==e?void 0:e.list_type,isDarkMode:n}):null};t.a=Object(r.memo)(c)},function(e,t,n){"use strict";var r=n(1),i=n(176),o=n(9),a=n(59),l=n(0);const s=({mobileSubscriberBar:e,isDefault:t,onReceiveBehavior:n})=>{const{appBarRef:s}=Object(a.b)(),c=Object(i.a)({hasSubBar:!0}),[u,d]=Object(r.useState)(!1),p=Object(r.useMemo)((()=>`subscriber-bar -z-1 font-grot10 sm:hidden transition-all duration-200 ease-in-out overflow-hidden h-9 absolute w-full ${t?"mt-1":""} ${"down"===c||"static"===(null==e?void 0:e.behavior)?"top-[63px]":"top-0"}`),[e,c]),m=Object(r.useMemo)((()=>"text-sm w-auto text-center flex flex-row justify-center\n items-center gap-[5px] no-underline transition-all duration-200 ease-in-out leading-5 h-9 mx-auto "+("down"===c||"static"===(null==e?void 0:e.behavior)?"w-full":"w-1/2")),[c,e]),f=Object(r.useCallback)((()=>{if("undefined"!=typeof window){const n=window.scrollY;if(("down"===c||"static"===(null==e?void 0:e.behavior))&&u){var r;const a=t?document.querySelector(".global-app-bar"):null==s||null===(r=s.current)||void 0===r?void 0:r.querySelector(".global-app-bar");var i,o;if("scroll"===(null==e?void 0:e.behavior)&&t)n>62&&(null==a||null===(i=a.classList)||void 0===i||i.add("max-sm:min-h-[98px]"));else null==a||null===(o=a.classList)||void 0===o||o.add("max-sm:min-h-[98px]")}}n&&n("down"===c)}),[c,u,e,c,t]);return Object(r.useEffect)((()=>{d(Object.values(e||{}).every((e=>!!e))&&!Object(o.i)(e)&&5===Object.keys(e||{}).length)}),[e]),Object(r.useEffect)((()=>(f(),window.addEventListener("scroll",f),()=>{window.removeEventListener("scroll",f)})),[f]),u?Object(l.jsx)("div",{className:p,children:Object(l.jsx)("a",{"data-link-type":"subscribe-banner",href:null==e?void 0:e.redirectUrl,className:m,style:{color:null==e?void 0:e.textColor,backgroundColor:null==e?void 0:e.backgroundColor},children:Object(l.jsx)("div",{className:m,dangerouslySetInnerHTML:{__html:(null==e?void 0:e.html)||""}})})}):null};t.a=Object(r.memo)(s)},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return ne})),n.d(t,"a",(function(){return re})),n.d(t,"d",(function(){return ie}));var r=n(1),i=n.n(r),o=n(34),a=n(8),l=n(128),s=n(117),c=n(212),u=n(46),d=n(114),p=n(94),m=n(5),f=n(127),b=n(6),h=n(0);const v="transition-all duration-[250ms] ease-in",g={href:"/philly-tips/how-to-philly/",textColor:"text-primary",shadowBox:"bg-blue-medium",mainBox:"bg-blue-light",logo:"bg-how-to-philly",description:"Everything you need to live here, find help, and get stuff done",moreButton:"bg-more-primary"},j=({tags:e})=>{const t=Object(r.useMemo)((()=>Object(b.r)(e,"civic","civic")&&Object(b.r)(e,"dothis","dothis")?g:null),[e]);return t?Object(h.jsx)("a",{href:t.href,className:`no-underline pointer font-ringside-regular ${t.textColor}`,"data-link-type":"Philly-best-widget",children:Object(h.jsxs)("div",{className:"relative w-full group my-6",children:[Object(h.jsx)("div",{className:`absolute ${t.shadowBox} w-full h-full top-0 right-0\n lg:group-hover:top-2.5 lg:group-hover:right-2.5 ${v}`}),Object(h.jsxs)("div",{className:`${t.mainBox} flex h-15 items-center justify-between px-4 drop-shadow-small`,children:[Object(h.jsxs)("div",{className:"flex items-center",children:[Object(h.jsx)("div",{className:"relative",children:Object(h.jsx)("div",{className:`${t.logo} bg-no-repeat bg-contain sm:h-[45px] sm:w-30 h-10 w-[110px] lg:group-hover:-ml-1 ${v}`})}),Object(h.jsx)("div",{className:`font-normal sm:text-3 text-2.5 sm:ml-6 ml-4 lg:group-hover:mb-1 leading-[10px] ${v}`,children:t.description})]}),Object(h.jsx)("div",{className:`${t.moreButton} bg-no-repeat bg-right-center pr-7 bg-[length:20px] h-full lg:group-hover:mb-1 lg:group-hover:-mr-1\n ${v}`})]})]})}):null};var y=i.a.memo(j),x=n(83),O=n(39),w=n(237),_=n(56),C=n(59),k=n(176),S=n(9);const N=({articleBody:e,bodyRef:t})=>{const[n,i]=Object(r.useState)(!0),[a,l]=Object(r.useState)(""),s=Object(r.useRef)(null),c=Object(r.useRef)(null),u=Object(r.useMemo)((()=>(e=>{let t="h6";return e.filter((e=>"header"===e.type)).map((e=>{var n;const r=Object(m.e)(e),i=(null==r||null===(n=r.additional_properties)||void 0===n?void 0:n.size)||"";return t>i&&(t=i),r})).filter((e=>{var n;return(null==e||null===(n=e.additional_properties)||void 0===n?void 0:n.size)===t}))})(e)),[e]),{appBarRef:d}=Object(C.b)(),p=Object(o.f)("mobile-subscribe-banner-on-scroll",{}),[f,b]=Object(r.useState)(0),[v,g]=Object(r.useState)(1),[j,y]=Object(r.useState)(Object(S.d)()),x=Object(r.useMemo)((()=>j&&!Object(S.i)(p)),[p,j]),w=Object(k.a)({hasSubBar:!1}),_=Object(r.useCallback)(((e,t)=>{var n;const r=e.getBoundingClientRect(),o=(null==t||null===(n=t.getBoundingClientRect())||void 0===n?void 0:n.height)?t.getBoundingClientRect().height:0,a=window.scrollY;if(Math.abs(f-a)<=100||"up"===w){let t=null;var l;if("undefined"!=typeof window)t=null===(l=document)||void 0===l?void 0:l.getElementById("trial-next-toast");t&&x&&"down"===w&&(t.classList.remove("min-h-[62px]"),t.classList.add("min-h-[100px]")),e.style.top=`${x||j?o:o+8}px`}else e.style.top=(j?0:o-r.height-10)+"px",i(!1)}),[x,j,f,w,n]),N=Object(r.useCallback)(Object(O.d)((()=>{var e,n,r;const o=(null==d||null===(e=d.current)||void 0===e?void 0:e.querySelector(".global-app-bar.fixed"))||null,a=s.current;if(a){var u;const e=a.classList.contains("sticky"),t=a.getBoundingClientRect(),n=c.current,r=(null==o||null===(u=o.getBoundingClientRect())||void 0===u?void 0:u.height)?o.getBoundingClientRect().height:0;if(!e&&t.bottom=r+t.height)a.classList.remove("sticky","is-pinned"),a.classList.add("sm:mx-11"),a.classList.remove("sm:mx-0"),n.removeAttribute("style"),n.classList.remove("mb-8"),null===(m=document.querySelector(".in-article-nav .vertical-line.active"))||void 0===m||m.classList.remove("active"),l(""),i(!0)}const f=null==t||null===(n=t.current)||void 0===n?void 0:n.querySelectorAll(".anchor-custom"),h=null==s||null===(r=s.current)||void 0===r?void 0:r.querySelectorAll(".in-article-nav .vertical-line");f&&h&&f.forEach((e=>{const t=e.getAttribute("id");if(e.getBoundingClientRect().top>-100&&e.getBoundingClientRect().top<10){var n;const e=null==s||null===(n=s.current)||void 0===n?void 0:n.querySelector('.in-article-nav div.vertical-line[data-accordion*="'+t+'"]');if(e){const t=document.querySelector(".in-article-nav .vertical-line.active");var r;if(t&&t.getAttribute("data-accordion")!==e.getAttribute("data-accordion")||!t)null==t||t.classList.remove("active"),l((null===(r=e.parentElement)||void 0===r?void 0:r.children[1].textContent)||""),e.classList.add("active")}}}))}),5),[n,_]);Object(r.useEffect)((()=>(window&&window.addEventListener("scroll",N),()=>{window.removeEventListener("scroll",N)})),[n,t,N]);const L=Object(r.useCallback)((()=>{const e=s.current;if(e){const t=e.classList.contains("sticky"),r=c.current;t&&r&&(r.style.height=n?`${v}px`:"1px")}i(!n)}),[n,v]);return Object(r.useEffect)((()=>{"undefined"!=typeof window&&y(Object(S.d)())}),[]),0===u.length?null:Object(h.jsxs)(h.Fragment,{children:[Object(h.jsx)("div",{ref:s,id:"accordion-article-nav",className:"in-article-nav transition-[top] duration-200 ease-in-out z-10 sm:mx-11 top-0 bg-white border border-solid border-neutral-light-charcoal-gray rounded-md mb-8",children:Object(h.jsxs)("div",{className:"accordion relative",children:[Object(h.jsx)("input",{type:"checkbox",className:"absolute opacity-0 -z-1",checked:n,readOnly:!0}),Object(h.jsx)("label",{id:"label-accordion-article-nav",onClick:()=>L(),className:"tab-label px-5 py-2 md:py-4 flex justify-center font-bold relative cursor-pointer after:border-0",htmlFor:"accordion-article-nav",children:Object(h.jsxs)("div",{className:"flex w-full items-center h-10",children:[Object(h.jsx)("div",{className:"font-grot12-condensed leading-6 text-5 font-semibold min-w-fit",children:"JUMP TO SECTION"}),!n&&a&&Object(h.jsxs)(h.Fragment,{children:[Object(h.jsx)("div",{className:"font-grot12-condensed leading-6 text-5 font-semibold",children:":"}),Object(h.jsx)("span",{id:"section-active",className:"font-grot10 leading-6 text-4.5 font-normal pl-3 mt-0.5 whitespace-nowrap inline-block overflow-hidden",children:a})]})]})}),Object(h.jsx)("div",{className:"accordion-content grid h-auto p-5 pt-0",children:u.map(((e,t)=>Object(h.jsxs)("div",{className:"flex",children:[Object(h.jsx)("div",{"data-accordion":Object(S.l)(Object(m.H)(e.content||"")),className:"vertical-line border-l border-solid border-l-neutral-light-charcoal-gray mr-5"}),Object(h.jsx)("a",{className:"font-grot10 leading-6 text-4.5 no-underline font-normal text-black py-[5px] hover:text-primary-blue",href:`#${Object(S.l)(Object(m.H)(e.content||""))}`,onClick:()=>i(!1),children:Object(m.H)(e.content||"")})]},`accordion-content${t}`)))})]})}),Object(h.jsx)("div",{ref:c,className:"accordion-fixed-height"})]})};var L=i.a.memo(N),E=n(40),P=n(16),T=n(15),M=n(74);const A="The Morning Newsletter",I="Start your day with the Philly news you need and the stories you want all in one easy-to-read newsletter",D=()=>{const{globalContent:e}=Object(a.useAppContext)(),t=Object(M.a)(),n=Object(P.useContent)({source:"site-menu",query:{section:"/newsletters/morning"}}),[i,o]=Object(r.useState)(void 0),l=(null==n?void 0:n.Newsletters)||{},s=Object(r.useMemo)((()=>Object(T.e)(e)),[e]);return Object(r.useEffect)((()=>{Object(O.f)(`https://media.inquirer.com/widget/newsletter/${"prod"===Object(E.a)("ENV")?"prod":"dev"}/philly-newsletter-widget.js`,!0)}),[]),Object(r.useEffect)((()=>{t((e=>{o((null==e?void 0:e.email)||"")}),1e3)}),[]),Object(h.jsxs)("div",{className:"mt-4",children:[Object(h.jsxs)("div",{className:"font-grot10",children:[Object(h.jsx)("p",{className:"text-lg leading-[30px] font-bold",children:l.newsletter_title||A}),Object(h.jsx)("p",{className:"text-lg leading-[30px] md:text-base md:leading-[30px] font-normal",children:l.newsletter_promo_text||I})]}),Object(h.jsx)("div",{className:"mt-8 newsletter-signup-form",children:Object(h.jsx)("div",{className:"philly-newsletter-widget","data-env":"prod"===Object(E.a)("ENV")?"production":"development","data-list-id":(null==l?void 0:l.newsletter_id)||"b87d08f3a44a790fc983af85c2ea3eda","data-newsletter-name":"AM Newsletter - Non-paying Newsletter","data-source":"admin_newsletters_AM+Newsletter+-+Non-paying+Newsletter","data-button-text":"Sign Up","data-enabled-analytics":"true","data-custom-analytics-event":"newsletter_registration","data-custom-signup-source":s,"data-enabled-recaptcha":"true","data-custom-success-message":"Thank you for subscribing to our newsletter!","data-custom-success-class":"philly-newsletter-widget__message philly-newsletter__message--success","data-placeholder":"Email Address","data-default-value":i||"","data-form-id":"js-cm-form","data-form-class":"js-cm-form philly-newsletter-widget__form","data-form-input-class":"js-cm-email-input philly-newsletter-widget__form-input","data-form-input-id":"fieldEmail","data-submit-btn-class":"js-cm-submit-button philly-newsletter-widget__form-button","data-submit-btn-id":"submit","data-custom-error-message":"Something went wrong, please try again!","data-custom-error-class":"philly-newsletter-widget__message philly-newsletter__message--error hidden","data-custom-sailthru-list-name":(null==l?void 0:l.newsletter_sailthru_name)||""})})]})};var R=n(316),$=n(148),q=n.n($),B=n(3);const F=({CYOATabs:e,activeCYOATab:t,onClickTab:n,bodyRef:i})=>{const{appBarRef:a}=Object(C.b)(),l=Object(o.f)("mobile-subscribe-banner-on-scroll"),[s,c]=Object(r.useState)(!0),[u,d]=Object(r.useState)(Object(S.d)()),[p,m]=Object(r.useState)(0),f=Object(r.useMemo)((()=>u&&("static"===(null==l?void 0:l.behavior)||"scroll"===(null==l?void 0:l.behavior))),[l,u]),b=Object(r.useMemo)((()=>{const e="undefined"!=typeof document?document.getElementById("trial-next-toast"):null,t=s&&e?e.offsetHeight:0;return p+t+(f?40:0)}),[p,s,f]),v=Object(r.useCallback)((()=>{const e=null==a?void 0:a.current;if(!e)return 0;if(!Object(S.d)())return 63;const t=Object(B.g)(document.body),n=t?t.getBoundingClientRect().height:0;return e.offsetHeight+n}),[a]),g=Object(r.useCallback)((()=>{d(Object(S.d)()),m(v())}),[v]),j=Object(r.useCallback)(((e,t)=>{if((null==a?void 0:a.current)&&(null==i?void 0:i.current)){var r;const e=(null===(r=a.current)||void 0===r?void 0:r.offsetHeight)||0;i.current.style.scrollMarginTop=`${e}px`,i.current.scrollIntoView({behavior:"smooth",block:"start"})}n(e,t)}),[n,null==a?void 0:a.current,null==i?void 0:i.current]);Object(r.useEffect)((()=>{const e=document.getElementById("trial-next-toast");if(!e)return void c(!1);const t=new MutationObserver((()=>{const t=window.getComputedStyle(e).display;c("none"!==t)}));return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>t.disconnect()}),[]),Object(r.useEffect)((()=>{m(v()),window.addEventListener("resize",g);const e=null==a?void 0:a.current,t=Object(B.g)(document.body);let n;return e&&Object(S.d)()&&"undefined"!=typeof ResizeObserver&&(n=new ResizeObserver((()=>m(v()))),n.observe(e),t&&n.observe(t)),()=>{window.removeEventListener("resize",g),n&&n.disconnect()}}),[g,v,a]);const y=Object(r.useCallback)(((e,t,n)=>{n.preventDefault(),j(e,t)}),[j]),x=Object(r.useCallback)(((t,n,r)=>{const i=document.getElementById("tab-area");if(i){const o=Array.from(i.querySelectorAll('[role="tab"]'));let a;switch(r.key){case"ArrowRight":a=(t+1)%e.length,o[a].focus();break;case"ArrowLeft":a=(t-1+e.length)%e.length,o[a].focus();break;case"Enter":a=t,r.preventDefault(),j(a,n)}}}),[j,e]);return Object(h.jsx)("div",{className:"sticky inset-x-0 z-10 my-4 -mx-5 bg-white sm:my-6 sm:mx-0",style:{top:`${b}px`},role:"tablist",children:Object(h.jsx)("ul",{className:"flex flex-wrap items-center justify-center gap-3 px-4 py-2 sm:gap-6",id:"tab-area",children:null==e?void 0:e.map(((e,n)=>Object(h.jsx)("li",{role:"presentation",children:Object(h.jsx)(q.a,{href:`#${Object(S.l)(null==e?void 0:e.content)}`,chipName:null==e?void 0:e.content,size:"lg",selected:n===t,tabIndex:n===t?0:-1,id:Object(S.l)(e.content),bgColor:"bg-secondary-orange",borderColor:"border-secondary-orange-dark",hoverClasses:"hover:bg-shades-orange-30 focus-visible:bg-shades-orange-30",onClick:t=>y(n,null==e?void 0:e.content,t),onKeyDown:t=>x(n,null==e?void 0:e.content,t)})},n)))})})};var V=i.a.memo(F),H=n(97),U=n(27),z=n(334),G=n(113),Y=n(49);var W=({primarySectionId:e})=>{const{metaValue:t}=Object(a.useAppContext)(),{user:n}=Object(C.b)(),i=Object(S.k)(t)||1===(null==n?void 0:n.hasAdsFreeReading),o=Object(Y.h)(e);return(e=>{Object(r.useEffect)((()=>{e&&"undefined"!=typeof window&&window.freestar&&(window.freestar.queue=window.freestar.queue||[],window.freestar.queue.push((()=>{window.freestar.newVideo(e)})))}),[e])})(i?"":o),i?null:Object(h.jsx)("div",{id:o,className:"mb-6"})},Z=n(43),K=n(51);function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;tt.textParagraph-(e-t.nonTextParagraph)<=4,te=(e,t,n,r)=>((e,t)=>{const n=["oembed_response","header","raw_html","quote","image","video"],r=n.includes(e),i=n.includes(t);return!(r||i)})(e,t)?n<4?n+1:1:r&&n<2?n:4===n?1:2,ne=({adType:e,adNumber:t,articleTargeting:n,isInArticleNav:i,primarySectionId:o,isAppWebView:a,isRegular:l})=>{const[s,c]=Object(r.useState)(null);if(Object(r.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>c(window.innerWidth>=768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[]),-1===e.indexOf("in-body"))return Object(h.jsx)(h.Fragment,{});if(null===s)return Object(h.jsx)("div",{className:"min-h-[265px]"},`lazy+mrec_2${t}`);const d=e=>Object(h.jsx)(x.default,{customFields:{adType:"article/cube"},articleTargeting:n,adIndex:e},`mrec_2${e}`),p=!a&&l&&"in-body"===e,m=p?Object(h.jsx)(W,{primarySectionId:o}):null;let f;return f=p?1===t?s?m:d(1):2===t?s?d(1):m:d(t-1):d(t),i?Object(h.jsx)("div",{className:"min-h-[265px]",children:f},`lazy+mrec_2${t}`):t>1?Object(h.jsx)(u.a,{height:250,offset:1e3,children:f},`lazy+mrec_2${t}`):f},re=Object(r.memo)((({onLoaded:e})=>(Object(r.useEffect)((()=>{e()}),[]),null))),ie=(e,t,n,r,i,o)=>Object(m.f)(e)?n:Object(b.r)(t,"food")||Object(b.r)(t,"activities")?(e=>{const t=e.length,n=[];let r=0,i=0,o=0;return e.forEach(((a,l)=>{let s=!1,c=!1;l>0&&l{const{textParagraph:t,nonTextParagraph:n}=Object(m.F)(e),r=[];let i=0,o=!1;return e.forEach(((e,a)=>{i="text"===e.type?i+1:i,r.push(e),o||ee(a,{textParagraph:t,nonTextParagraph:n})||6!==i||(o=!0,r.push({adType:"in-body",adNumber:1,index:a}))})),r})(n):((e,t,n)=>{const r=e.length,i=Object(m.F)(e),o=[];let a=0,l=0,s=t;return e.forEach(((t,c)=>{var u;const d=t.type,p=c0&&l%4==0&&a<5))&&(a++,o.push({adType:"in-body"+("gallery"===n?"-gallery":""),adNumber:a,index:c}),s&&a>0&&(s=!1,l=0))})),o})(n,r,i),oe=e=>e.hasTopper&&e.isAppWebView?Object(h.jsx)("div",{className:"max-w-[650px] mx-5 sm:mx-auto",children:e.children}):Object(h.jsx)(i.a.Fragment,{children:e.children}),ae=({audioSubscriberLinkPath:e,subscriptionPrice:t})=>{var n,i,v,g,j;const{globalContent:x,outputType:C,requestUri:k}=Object(a.useAppContext)(),N=Object(r.useRef)(null),[P,T]=Object(r.useState)(0),[M,A]=Object(r.useState)(!0),[I,$]=Object(r.useState)(0),q=Object(r.useMemo)((()=>null==x?void 0:x.article_targeting),[x]),B=Object(r.useMemo)((()=>Object(b.g)(x)),[x]),F=Object(r.useMemo)((()=>Object(m.r)(x)),[x]),Y=Object(r.useMemo)((()=>(null==x?void 0:x.subtype)||""),[x]),W=Object(r.useMemo)((()=>Object(m.M)(Y)),[Y]),J=Object(r.useMemo)((()=>W?Object(m.n)(null==x?void 0:x.content_elements):[]),[x,Y]),Q=Object(o.f)("inline-newsletter-signup-mike-klein-simple",{design:"SIMPLE",position:"OFF",frequency:"OFF"}),ee=Object(r.useMemo)((()=>{var e,t,n,r,i,o;const a=null==x||null===(e=x.content_elements)||void 0===e?void 0:e.filter((e=>!Object(m.db)(e))),l=Object(m.bb)(null==x||null===(t=x.credits)||void 0===t||null===(n=t.by)||void 0===n||null===(r=n[0])||void 0===r?void 0:r._id)&&1===(null==x||null===(i=x.credits)||void 0===i||null===(o=i.by)||void 0===o?void 0:o.length)?Object(m.c)(a,Q):a,s=Object(m.U)(C,k),c=Object(m.nb)(k);if(!s||!l)return l;const u=Object(Z.b)();return Object(Z.a)(x,c,u),Object(Z.f)(l,u)}),[x,Q,C,k]),ae=Object(r.useMemo)((()=>Object(m.s)(x)),[x]),le=Object(r.useMemo)((()=>{var e;return(null==x||null===(e=x.taxonomy)||void 0===e?void 0:e.tags)||[]}),[x]),se=Object(r.useMemo)((()=>{var e,t;return(null==x||null===(e=x.label)||void 0===e||null===(t=e.in_article_nav)||void 0===t?void 0:t.text)||""}),[x]),ce=Object(r.useMemo)((()=>{var e,t;return(null==x||null===(e=x.label)||void 0===e||null===(t=e.bottom_byline)||void 0===t?void 0:t.text)||""}),[x]),ue=Object(r.useMemo)((()=>null==x?void 0:x.promo_items),[x]),de=Object(r.useMemo)((()=>{var e;return null==x||null===(e=x.taxonomy)||void 0===e?void 0:e.sections}),[x]),pe=Object(r.useMemo)((()=>{var e;return(null===(e=Object(b.n)(null==x?void 0:x.taxonomy))||void 0===e?void 0:e._id)||""}),[x]),me=Object(r.useMemo)((()=>Object(m.Q)(Y,se)),[Y,se]),fe=Object(r.useMemo)((()=>Object(b.b)(de,"newsletters/morning")),[de]),be=Object(r.useMemo)((()=>Object(m.gb)(null==x?void 0:x.subtype)),[x]),he=Object(r.useMemo)((()=>Object(b.z)(null==x?void 0:x.subtype)),[null==x?void 0:x.subtype]),ve=Object(r.useMemo)((()=>Y===U.a.REGULAR),[Y]),ge=Object(r.useMemo)((()=>Object(m.S)(se)),[se]),je=Object(r.useMemo)((()=>Object(S.b)(C)),[C]),ye=Object(r.useMemo)((()=>Object(m.nb)(k)),[k]),xe=Object(r.useMemo)((()=>Object(m.U)(C,k)),[C,k]),Oe=Object(r.useMemo)((()=>!he||Object(m.O)(Y,ce)),[Y,ce]),we=Object(r.useMemo)((()=>(null==ue?void 0:ue.youtube)?{videoCategory:"youtube",videoLocation:"article",withYouTubeTracking:w.a}:null),[ue]),_e=Object(r.useMemo)((()=>{var e;return W?[]:he&&!M?ee:ie(null==x||null===(e=x.taxonomy)||void 0===e?void 0:e.sections,le,ee,M&&!be,"",he)}),[null==x||null===(n=x.taxonomy)||void 0===n?void 0:n.sections,le,ee,be,M,he,W]),Ce=Object(r.useMemo)((()=>W?((e,t,n)=>{var r,i;const o=e.filter((e=>""!==e.content)),a=null===(r=[...o])||void 0===r||null===(i=r.filter(((e,t)=>!Object(m.N)(e,null==o?void 0:o[t+1])&&!Object(m.N)(null==o?void 0:o[t-1],e))))||void 0===i?void 0:i.length,l=[];let s=0,c=0,u=0,d=t;return o.forEach(((e,n)=>{var r;if(l.push(e),Object(m.N)(e,o[n+1])||Object(m.N)(o[n-1],e))return;const i=n===o.length-1||Object(m.N)(null==o?void 0:o[n+1],null==o?void 0:o[n+2]);u=te(e.type,n0&&u%4==0&&c<5&&s<15)&&(s++,c++,l.push({adType:"in-body",adNumber:s,index:n}),d&&s>0&&(d=!1,u=0)),i&&(0===c&&(s++,l.push({adType:"in-body",adNumber:s,index:n})),u=0,c=0,d=t)})),n.map(((e,t)=>Object(m.p)(l,n,t)))})(ee,M,J):[]),[le,ee,M,J]),ke=Object(r.useMemo)((()=>Object(_.e)(null==x?void 0:x.display_date,B,null==x?void 0:x.first_publish_date)),[null==x?void 0:x.display_date,null==x?void 0:x.first_publish_date,B]),Se=Object(r.useMemo)((()=>Object(m.hb)(Y)&&(null==ke?void 0:ke.updatedDate)),[Y,null==ke?void 0:ke.updatedDate]),Ne=Object(r.useMemo)((()=>ge?_e.findIndex((e=>"content"in e&&e.content.includes("flexible-in-article-nav"))):1),[ge,_e]),Le=Object(r.useMemo)((()=>{var e,t;return he?"":Se?null==B||null===(e=B.timestamp)||void 0===e?void 0:e.updatedTime:null==B||null===(t=B.timestamp)||void 0===t?void 0:t.time}),[he,Se,null==B?void 0:B.timestamp]),Ee=Object(r.useCallback)((e=>Object(m.t)(e,P,T)),[P]),Pe=Object(r.useCallback)((e=>I===e?0:-1),[W,I]),Te=Object(r.useCallback)(Object(O.d)(m.I,300),[]),Me=Object(r.useCallback)(((e,t)=>{$(e),window.PMNdataLayer.push({event:"interaction_event",interactionType:"click",interactionDetail:`${t}_${e+1}`,userInteraction:"choose_your_adventure"})}),[]);return Object(r.useEffect)((()=>{P>0&&Te(P)}),[P]),Object(r.useEffect)((()=>(N.current&&(A(S.d),window.addEventListener("resize",(()=>A(S.d)))),()=>{window.removeEventListener("resize",(()=>A(S.d)))})),[N]),Object(h.jsxs)(h.Fragment,{children:[(!je||ye)&&Object(h.jsxs)(oe,{hasTopper:ye,isAppWebView:je,children:[(ae||F&&(null==F?void 0:F.url))&&(()=>{const e=ae&&Object(h.jsx)(s.a,X({story:X({},ae,{promo_items:X({},(null==ue?void 0:ue.youtube)?{youtube:X({},ae)}:{},{},(null==ue?void 0:ue.video)?{video:X({},ae)}:{})}),dataEnv:Object(E.a)("ENV"),imageRatio:"3x2"},we&&{trackingVideo:we},{showPromoImage:!0})),t=F&&Object(h.jsx)(p.a,{type:"topper",content:F,creditClasses:"pb-2"}),n=ae?e:t;if(xe&&ye){if(ae)return Object(h.jsx)("div",{className:"topper-img-wrapper -mx-5 sm:mx-0 relative aspect-[3/2]",children:Object(h.jsx)(K.c,{video:ae,index:0,isFeatured:!0,isYoutubeVideo:ae===(null==ue?void 0:ue.youtube)})});if(F)return Object(h.jsx)("div",{className:"topper-img-wrapper -mx-5 sm:mx-0 relative aspect-[3/2]",children:Object(h.jsx)(K.b,{content:F,index:0,isFeatured:!0})})}return Object(h.jsx)("div",{className:"topper-img-wrapper -mx-5 sm:mx-0 relative aspect-[3/2]",children:n})})(),Object(h.jsxs)("ul",{className:`px-0 list-none border-y-neutral-light-charcoal-gray\n border-solid border-x-0 border-y ${fe?" pt-4 pb-8 md:pt-6 md:pb-10 xxl:pt-8":""}${(null==J?void 0:J.length)?" py-4":" mb-6"}${ae?" mt-6":""}${F?" mt-2":""}${fe||(null==J?void 0:J.length)?"":" pt-5 pb-5"}`,children:[Object(h.jsx)(l.a,{authors:(null==B?void 0:B.authors)||[],type:"standard",timestamp:Le,updatedTimestamp:null==B||null===(i=B.timestamp)||void 0===i?void 0:i.updatedTime,isUpdatedTimestamp:null==B||null===(v=B.timestamp)||void 0===v?void 0:v.isUpdated,section:null==B?void 0:B.section,organization:null==B?void 0:B.organization,hasAuthorAvatar:!1,customDateFormatTimestamp:Se?null==ke?void 0:ke.updatedDate:null==ke?void 0:ke.date,isDisplayUpdatedTimestamp:!Se,customUpdatedDateFormatTimestamp:null==ke?void 0:ke.updatedDate,customAuthorClass:"leading-5"}),fe&&Object(h.jsx)(D,{})]}),(null==le?void 0:le.length)>0&&Object(h.jsx)(y,{tags:le}),Object(h.jsx)("div",{className:"relative "+((null==x?void 0:x.subtype)===U.a.CYOA?"":" -top-6"),children:Object(h.jsx)("div",{className:"premium-content-indicator",id:"premium-content-indicator"})}),Object(h.jsx)("div",{className:"relative -top-6",children:Object(h.jsx)("div",{className:"giftlink-message",id:"giftlink-message"})}),Object(h.jsx)("div",{id:"piano-container"})]}),Object(h.jsxs)("div",{id:"article-body",className:"article-body-light "+(je?"max-w-[650px] mx-auto px-5 "+(ye?"":"pt-6"):""),ref:N,children:[!je&&Object(b.I)(Y,null==x||null===(g=x.taxonomy)||void 0===g||null===(j=g.primary_site)||void 0===j?void 0:j._id)&&Object(h.jsx)(z.AudioShareComponent,{subscriberLinkPath:e,subscriptionPrice:t}),W&&(null==J?void 0:J.length)?Object(h.jsx)(V,{CYOATabs:J,activeCYOATab:I,onClickTab:(e,t)=>Me(e,t),bodyRef:N}):null,(W&&(null==J?void 0:J.length)?Ce:[_e]).map(((e,t)=>Object(h.jsx)(H.a,{elementKey:`tab-${t}`,elementType:W?"div":"",className:I===t?"":"hidden",isNotLazyLoad:!0,tabIndex:W?Pe(t):null,ariaHidden:!!W&&I!==t,children:Object(h.jsx)(h.Fragment,{children:e.map(((e,t)=>Object(h.jsxs)(r.Fragment,{children:[(null==e?void 0:e.adType)?Object(h.jsx)(ne,{adType:e.adType||"",adNumber:e.adNumber||0,articleTargeting:q,isInArticleNav:me,primarySectionId:pe,isAppWebView:je,isRegular:ve}):Object(h.jsxs)(h.Fragment,{children:[t===Ne&&me&&Object(h.jsx)(L,{articleBody:ee,bodyRef:N}),Object(h.jsx)(d.a,{storyContent:e,tags:le,labelInArticleNav:se,subtype:null==x?void 0:x.subtype,isHybrid:xe},`content-body-rendering-${t}`)]}),Object(h.jsx)(u.a,{height:0,offset:0,once:!0,children:Object(h.jsx)(re,{onLoaded:()=>Ee((t+1)/_e.length*100)})})]},`element-${t}`)))})},`tab-${t}`)))]}),Object(h.jsx)(G.a,{}),Oe?Object(h.jsxs)("div",{id:"inq-article-completion",className:"inq-author-footer "+(je?"max-w-[650px] mx-auto px-5 pb-6":""),children:[be&&Object(h.jsx)(R.b,{story:x}),Object(h.jsx)(f.a,{globalContent:x,bylineObject:B,isPhillyFirstSubtype:he})]}):Object(h.jsx)("div",{className:"my-5",children:Object(h.jsx)(c.a,{})})]})};t.c=Object(r.memo)(ae)},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Timestamp=void 0;var i=n(0),o=n(1),a=r(n(504)),l=r(n(505));t.Timestamp=function(e){var t=e.date,n=e.isUpdated,r=void 0!==n&&n,s=e.breakLine,c=void 0===s||s,u=e.useStaticDate,d=e.timeStampWithYear,p=e.hasLessThan3HoursFormatTimestamp,m=e.footer,f=e.customDateFormatTimestamp,b=e.updatedDate,h=e.customUpdatedDateFormatTimestamp,v=e.isDisplayUpdatedTimestamp,g=e.isDarkMode,j=(0,o.useMemo)((function(){return"inq-timestamp antialiased type-article-details ".concat(g?"text-silversand bg-primary":"text-secondary")}),[g]),y=(0,o.useMemo)((function(){return"inq-timestamp__label leading-5".concat(c?" block":"")}),[c]),x=(0,o.useMemo)((function(){return{footer:m,date:t,useStaticDate:u,timeStampWithYear:d,hasLessThan3HoursFormatTimestamp:p,customDateFormatTimestamp:f,customClass:"leading-5"}}),[m,t,u,d,p,f]);return v?(0,i.jsx)(l.default,{isUpdated:r,publishDateProps:x,updatedDate:b,customUpdatedDateFormatTimestamp:h,timestampContainerClass:j,timestampLabelClass:y,isDarkMode:g}):(0,i.jsx)(a.default,{isUpdated:r,publishDateProps:x,timestampContainerClass:j,timestampLabelClass:y,isDarkMode:g})}},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(8),o=n(34),a=n(166),l=n(77),s=n(81),c=n(88),u=n(5),d=n(429),p=n(316),m=n(52),f=n(10),b=n(6),h=n(9),v=n(0);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t{var t,n,g,y;const{globalContent:x,outputType:O,requestUri:w}=Object(i.useAppContext)(),_=Object(o.e)("share-tools-below-subheadline"),C=Object(r.useMemo)((()=>Object(b.o)(null==x?void 0:x.headlines)),[x,e]),k=Object(r.useMemo)((()=>Object(u.o)(x)),[x]),S=Object(r.useMemo)((()=>(null==x?void 0:x.type)||""),[x]),N=Object(r.useMemo)((()=>Object(u.gb)(null==x?void 0:x.subtype)),[x]),L=Object(r.useMemo)((()=>Object(b.z)(null==x?void 0:x.subtype)),[null==x?void 0:x.subtype]),E=Object(r.useMemo)((()=>{var e;return null==x||null===(e=x.taxonomy)||void 0===e?void 0:e.sections}),[x]),P=Object(r.useMemo)((()=>Object(b.y)(E)),[E]),T=Object(r.useMemo)((()=>{var e;return null==x||null===(e=x.label)||void 0===e?void 0:e.eyebrows}),[x]),M=Object(r.useMemo)((()=>{var e;return!N&&(null==x||null===(e=x.breadcrumbList)||void 0===e?void 0:e.length)>0&&!P&&!T}),[x]),A=Object(r.useMemo)((()=>{var e,t,n,r;return"/espanol"!==(null==x||null===(e=x.taxonomy)||void 0===e||null===(t=e.primary_site)||void 0===t?void 0:t._id)&&Object(b.I)(null==x?void 0:x.subtype,null==x||null===(n=x.taxonomy)||void 0===n||null===(r=n.primary_site)||void 0===r?void 0:r._id)}),[null==x?void 0:x.subtype,null==x||null===(t=x.taxonomy)||void 0===t||null===(n=t.primary_site)||void 0===n?void 0:n._id]),I=Object(b.B)(null==x?void 0:x.subtype)&&_,D=Object(r.useMemo)((()=>({usePMNdataLayerEvent:!0,userInteraction:"social-share",isPopupLeftAligned:I,articleTitle:Object(b.o)(x.headlines,"social_share"),articleCanonicalUrl:x.canonical_url,customClass:`${M?"-mt-1 md:mt-0 ":""}\n ${A?"bg-transparent":"inline-block cursor-pointer bg-transparent p-0"}\n ${Object(b.G)(S)||Object(b.u)(S)?"hover:fill-blue-mid":""}`,isV2:A})),[null==x?void 0:x.headlines,null==x?void 0:x.canonical_url,S,M,A,I]),R=Object(r.useMemo)((()=>Object(h.b)(O)),[O]),$=Object(r.useMemo)((()=>Object(m.a)({articleTitle:Object(b.o)(null==x?void 0:x.headlines,"social_share"),articleCanonicalUrl:null==x?void 0:x.canonical_url,customClass:`${M?"-mt-1 md:mt-0 ":""}\n ${A?"mr-3 sm:mr-2":"inline-block cursor-pointer bg-transparent p-0 bg-white mr-2"}\n ${Object(b.G)(S)||Object(b.u)(S)?"hover:fill-blue-mid":""}`,isAppWebView:R,fullGiftURL:`${Object(f.c)()}${null==x?void 0:x.canonical_url}`,isV2:A,isPopupLeftAligned:I})),[null==x?void 0:x.headlines,null==x?void 0:x.canonical_url,S,M,R,A,I]),q=Object(r.useMemo)((()=>Object(u.nb)(w)),[w]),B=Object(r.useMemo)((()=>{const e=[`max-w-[${q&&R?"650":"980"}px] mx-auto lg:px-0`];return Object(b.G)(S)?e.push("px-5 pt-2"):e.push("px-5 pb-5"),e.join(" ")}),[S,q,R]),F=Object(r.useMemo)((()=>!L&&!R),[L,R]),V=Object(v.jsx)(d.a,{story:x,articleCategory:k,outputType:O,isPhillyFirst:L,hasRegularArticleBreadcrumb:M}),H=Object(r.useMemo)((()=>L?"items-start pb-2":A?"items-end sm:items-center":"items-center"),[L,A]),U=A?!R&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)(c.a,j({},$)),Object(v.jsx)(s.a,j({},D))]}):Object(v.jsxs)(v.Fragment,{children:[F&&Object(v.jsx)("div",{onClick:m.d,children:Object(v.jsx)(c.a,j({},$))}),Object(v.jsx)(s.a,j({},D))]});return!R||q||Object(b.G)(S)?Object(v.jsxs)("div",{className:B,children:[M?Object(v.jsxs)("div",{className:"relative",children:[Object(v.jsxs)("div",{className:"flex flex-row items-start md:items-center pt-4",children:[Object(v.jsx)(p.b,{story:x,hasRegularArticleBreadcrumb:M}),!I&&U]}),Object(u.hb)(null==x?void 0:x.subtype)&&Object(v.jsx)("div",{className:"pt-1 md:pt-3",children:V}),L&&V]}):Object(v.jsxs)("div",{className:`flex relative -bottom-2 ${N?"":"pt-4"} ${H}`,children:[V,!I&&U]}),Object(v.jsx)("div",{id:"header-content",className:"focus:outline-none"+(A?" mt-5 sm:mt-6":""),children:Object(v.jsx)(a.a,{children:C})}),!Object(b.G)(null==x?void 0:x.type)&&Object(v.jsx)(l.a,{summary:!0,additionalAttrs:{id:"main-content"},customClasses:"mx-0",children:(null===(g=x.subheadlines)||void 0===g?void 0:g.basic)||x.synopsis||(null==x||null===(y=x.description)||void 0===y?void 0:y.basic)||""}),I&&Object(v.jsx)("div",{className:"flex items-center mt-4 w-fit",children:U})]}):null};t.default=Object(r.memo)(x)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1),i=n(126),o=n(0);const a=({toolTipText:e="You can gift articles now.",toolTipSubText:t,toolTipHeader:n,position:a="arrow-topCenter",customClasses:l="border-shades-inquirer-blue-70 bg-shades-inquirer-blue-30",customCloseClassNames:s="flex p-2 cursor-pointer",svgStroke:c="stroke-shades-inquirer-blue-70",svgFill:u="fill-shades-inquirer-blue-30",phillyFirstTooltip:d=!1,showCloseButton:p=!1,giftV2Tooltip:m=!1,inquirerPicksTooltip:f=!1,closeTooltip:b,children:h})=>{const v=Object(r.useMemo)((()=>t||"arrow-rightSideCenter"!==a&&"arrow-leftSideCenter"!==a?a:"arrow-rightSideCenter"===a?"arrow-rightSideCenterNoSubText":"arrow-leftSideCenterNoSubText"),[t,a]),g=Object(r.useMemo)((()=>{let e="relative flex rounded border border-solid";return d||f||(e+=" w-max"),e+=d?" w-48 md:w-full md:max-w-max":t?" h-14":m?" h-max":f?" w-72":" w-48 h-12",`${e} ${l||""}`}),[d,t,m,l]),j=Object(r.useMemo)((()=>{if(m)return"flex flex-col items-center";let e="flex items-center font-grot10 gap-4";return d?e+=" whitespace-pre-line text-3.5 leading-4 p-2 pr-0 md:p-4 md:pr-2":(t||f)&&(e+=" text-3.5 leading-4 p-4"),e}),[d,t,m]);return Object(o.jsxs)("div",{className:g,children:[Object(o.jsxs)("div",{className:j,children:[t?Object(o.jsx)("label",{className:"text-center p-1 rounded-[40Px] text-white bg-primary-blue font-bold",children:t}):null,Object(o.jsxs)("div",{className:"flex flex-col",children:[n&&Object(o.jsx)("span",{className:"text-neutral-text-color font-bold",children:n}),Object(o.jsx)("span",{className:"text-neutral-text-color font-medium",children:e})]}),Object(o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"9",viewBox:"0 0 48 9",fill:"none",className:`absolute ${v}`,children:[Object(o.jsx)("path",{d:"M25.4142 2.41519L31.1213 8.1223C31.6839 8.68491 32.447 9.00098 33.2426 9.00098L14.7574 9.00097C15.553 9.00097 16.3161 8.68491 16.8787 8.1223L22.5858 2.41519C23.3668 1.63414 24.6332 1.63414 25.4142 2.41519Z",className:u}),Object(o.jsx)("path",{d:"M34 8.50098L33.6569 8.50098C32.596 8.50098 31.5786 8.07955 30.8284 7.3294L25.4142 1.91519C24.6332 1.13414 23.3668 1.13414 22.5858 1.91519L17.1716 7.3294C16.4214 8.07955 15.404 8.50097 14.3431 8.50097L14 8.50097",className:c,strokeLinecap:"round"})]}),d&&Object(o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"49",height:"9",viewBox:"0 0 48 9",fill:"none",className:`absolute ${v}`,children:Object(o.jsx)("path",{d:"M25.4142 2.41519L31.1213 8.1223C31.6839 8.68491 32.447 9.00098 33.2426 9.00098L14.7574 9.00097C15.553 9.00097 16.3161 8.68491 16.8787 8.1223L22.5858 2.41519C23.3668 1.63414 24.6332 1.63414 25.4142 2.41519Z",className:u})})]}),h,p&&Object(o.jsx)("div",{onClick:b,className:s,children:Object(o.jsx)(i.a,{size:d?"none":"small",customClass:d?"w-3 h-3 md:w-4 md:h-4 block":"w-4 h-4 block"})})]})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(1),i=n(37),o=n(31),a=n(0);const l=({socialLinks:e,type:t,hasRole:n,addProps:i,isDarkMode:l})=>{const s=Object(r.useMemo)((()=>{if(null==e?void 0:e.length){var t;const n=e.filter((e=>"twitter"===(null==e?void 0:e.site)));if(null==n?void 0:n.length)return null===(t=n[0])||void 0===t?void 0:t.url}return""}),[e]),c=Object(r.useMemo)((()=>`http://www.twitter.com/${s}`),[s]);var u;return"standard"===t&&n?Object(a.jsx)("div",{className:`inq-author-description ${l?o.a:"text-secondary"}`,children:null==i||null===(u=i.original)||void 0===u?void 0:u.role}):""===s||"expanded"!==t&&"promo"!==t?null:Object(a.jsx)("div",{className:"inq-author-description",children:Object(a.jsx)("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"inq-author__twitter-link no-underline "+(l?"text-blue-shades-50 hover:text-blue-shades-50":"text-primary-blue"),children:s})})};var s=Object(r.memo)(l);const c=({socialLinks:e,type:t,anchorClass:n})=>{const i=Object(r.useMemo)((()=>{if(null==e?void 0:e.length){var t;const n=null==e?void 0:e.filter((e=>"email"===(null==e?void 0:e.site)));if(null==n?void 0:n.length)return null===(t=n[0])||void 0===t?void 0:t.url}return""}),[e]);return"expanded"===t&&""!==i?Object(a.jsx)("a",{href:`mailto:${i}`,target:"_blank",rel:"noopener noreferrer",className:`inq-author__email-link ${n}`,children:i}):null};var u=Object(r.memo)(c);const d=({type:e,hasBio:t,showBio:n,addProps:r,hideAuthorContact:i,anchorClass:o,socialLinks:l,isDarkMode:s})=>{var c;return"expanded"===e&&t&&n?Object(a.jsxs)("div",{className:"inq-author-bio type-article-details mt-1 "+(s?"text-gray-light":"text-secondary"),children:[Object(a.jsx)("span",{dangerouslySetInnerHTML:{__html:null==r||null===(c=r.original)||void 0===c?void 0:c.bio}})," ",!i&&Object(a.jsx)(u,{type:e,anchorClass:o,socialLinks:l})]}):null};var p=Object(r.memo)(d),m=n(85);const f=({authorName:e,authorUrl:t})=>{const n=Object(r.useMemo)((()=>{const t=(e||"").split(" ");return t.length>0?t.map((e=>e[0])).join("").substring(0,2):""}),[e]);return t?Object(a.jsx)("div",{children:Object(a.jsx)("div",{className:"inq-author-image-container",children:Object(a.jsx)(m.a,{src:t,alt:e})})}):Object(a.jsx)("div",{className:"inq-author-avatar",children:n})};var b=Object(r.memo)(f),h=n(190);const v=({socialLinks:e,isDarkMode:t})=>Object(a.jsx)(a.Fragment,{children:(null==e?void 0:e.length)>0?e.map(((e,n)=>Object(a.jsx)("a",{href:null==e?void 0:e.url,className:"inq-author-social "+(t?"text-blue-shades-50":"text-primary-blue"),children:Object(a.jsx)(h.a,{type:null==e?void 0:e.site})},n))):null});var g=Object(r.memo)(v);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const x=({author:e,type:t="standard",showBio:n=!0,isTweetUser:l=!1,mapIndex:c,dataCardType:u="",hasAuthorAvatar:d=!1,isDarkMode:m=!1,hasAuthorSocial:f=!0})=>{var h,v,x;const O=Object(r.useMemo)((()=>Object(i.d)(e)),[e]),w=Object(r.useMemo)((()=>{var t,n;return 0===(null==e||null===(t=e.url)||void 0===t?void 0:t.indexOf("http://"))||0===(null==e||null===(n=e.url)||void 0===n?void 0:n.indexOf("https://"))}),[null==e?void 0:e.url]),_=Object(r.useMemo)((()=>(null==e?void 0:e.additional_properties)||null),[null==e?void 0:e.additional_properties]),C=Object(r.useMemo)((()=>{var e;return Boolean(null==_||null===(e=_.original)||void 0===e?void 0:e.bio)}),[null==_||null===(h=_.original)||void 0===h?void 0:h.bio]),k=Object(r.useMemo)((()=>{var e;return Boolean(null==_||null===(e=_.original)||void 0===e?void 0:e.role)}),[null==_||null===(v=_.original)||void 0===v?void 0:v.role]),S=Object(r.useMemo)((()=>`inq-author--${t}${C||l?"":" no-bio"}`),[C,l,t]),N=Object(r.useMemo)((()=>`inq-author type-author ${m?o.a:"text-primary"} ${S}`),[m,S]),L=Object(r.useMemo)((()=>"no-underline "+(m?"text-white hover:text-blue-shades-50 font-bold":"text-primary hover:text-primary-blue font-normal")),[m]),E=Object(r.useMemo)((()=>{var t;return-1!==(null==e||null===(t=e.url)||void 0===t?void 0:t.indexOf("inquirer.com"))?"tweet-card-article-link":"tweet-card-click"}),[null==e?void 0:e.url]),P=Object(r.useMemo)((()=>new Set(["twitter","instagram","email","bluesky","threads"])),[]),T=Object(r.useMemo)((()=>{var t,n;return(null==e||null===(t=e.social_links)||void 0===t||null===(n=t.filter((e=>P.has(null==e?void 0:e.site))))||void 0===n?void 0:n.map((e=>{const t=null==e?void 0:e.site;let n=null==e?void 0:e.url;return"email"!==t||n.includes("mailto:")?"instagram"!==t||n.includes("//www.instagram.com")?"twitter"!==t||n.includes("//www.twitter.com")||(n=`//www.twitter.com/${n}`):n=`//www.instagram.com/${n}`:n=`mailto:${n}`,function(e){for(var t=1;t0;return(0,i.jsxs)("div",{className:"inq-headline-list ".concat(C?"no-border":""),children:[(0,i.jsx)("div",r({},!0===L&&{style:{backgroundColor:x}},!0===N&&{onClick:j},{className:"headline-header-wrapper type-section-header-3 ".concat(y?"collapsed":"expanded"," ").concat(N?"click-able":""),children:(0,i.jsxs)("div",{className:"inq-eyebrow ".concat(C?"sm:pb-5 md:pb-3 max-sm:text-6 max-sm:leading-6 big-tablet:text-10 big-tablet:leading-10 text-8 leading-8":"max-sm:text-6 max-sm:leading-6 big-tablet:text-10 big-tablet:leading-10 text-8 leading-8"," ").concat(S?s(v):""),children:[" ",(0,i.jsx)("span",{className:"headline-title-text text-black",children:l}),(0,i.jsx)("span",{className:"headline-toggle-icon",children:(0,i.jsx)(a.ToggleIcon,{color:v,isOpen:!1===y})})]})})),(0,i.jsxs)("ul",r({},!0===L&&{style:{background:"linear-gradient(to bottom, ".concat(x,", rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1))")}},{className:"container-wrapper ".concat(y?"collapsed":""),children:[t.map((function(e,t){return(0,i.jsx)(o.HeadlineItem,{headlineItem:e,hasIcons:h,dataLinkType:f,mapIndex:c,feedLength:u,feedProvenance:d,dataCardType:p,hasLessThan3HoursFormatTimestamp:O,headlineItemCustomClasses:g,hasTimestamps:w,iconType:_},t)})),k&&(0,i.jsx)("li",{className:"inq-headline-item block font-normal",children:k})]}))]})}},,,,,,,function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(506),t)},function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n190){if(((null===(m=null==e?void 0:e.detail)||void 0===m?void 0:m.id)||"")===w){var S=(null===(b=null===(f=null==e?void 0:e.detail)||void 0===f?void 0:f.element)||void 0===b?void 0:b.childNodes[0])||null;S&&S.className===n.durationClassName&&(S.style.display="block")}O.on("play",(function(e){var t,r=(null===(t=null==e?void 0:e.element)||void 0===t?void 0:t.childNodes[0])||null;r&&r.className===n.durationClassName&&(r.style.display="none")})),O.on("end",(function(e){var t,r=(null===(t=null==e?void 0:e.element)||void 0===t?void 0:t.childNodes[0])||null;r&&r.className===n.durationClassName&&(r.style.display="block")}))}}))},t.prototype.componentWillUnmount=function(){window.removeEventListener("powaRender",null)},t.prototype.render=function(){var e,t,n,r,i,o,a,s,c,m,f,b,h,v,g,j,y,x,O,w,_,C,k,S=(null===(n=null===(t=null===(e=null==this?void 0:this.props)||void 0===e?void 0:e.story)||void 0===t?void 0:t.promo_items)||void 0===n?void 0:n.video)||{},N=(null===(a=null===(o=null===(i=null===(r=null==this?void 0:this.props)||void 0===r?void 0:r.story)||void 0===i?void 0:i.promo_items)||void 0===o?void 0:o.video)||void 0===a?void 0:a.duration)||"";if(!0===this.props.noContent)return(0,l.jsx)("div",{className:"powa hidden","data-org":"pmn","data-uuid":"","data-env":this.fusionEnv});var L=this.props.isVideoLeafPage&&(null===(c=null===(s=this.props.story)||void 0===s?void 0:s.additional_properties)||void 0===c?void 0:c.vertical)||!1,E=this.props.allowVerticalVideo&&(null===(f=null===(m=this.props.story)||void 0===m?void 0:m.additional_properties)||void 0===f?void 0:f.vertical)||!1,P=L||E,T=this.props.isDarkMode?p.DARK_MODE_CLASS:"text-primary",M=!(!(null===(b=null==this?void 0:this.props)||void 0===b?void 0:b.isLoopAndAutoplay)||(null===(h=null==this?void 0:this.props)||void 0===h?void 0:h.isVideoCardFeature)&&!(null===(g=null===(v=null==this?void 0:this.props)||void 0===v?void 0:v.videoOptions)||void 0===g?void 0:g.autoplay));return(0,l.jsx)("div",{className:"inq-video-card-wrapper video-wrapper ".concat(L?"px-5 bp-sm:aspect-video bp-sm:px-0":""," ").concat(T),children:(0,l.jsxs)("div",{ref:this.powaRef,className:"m-auto clear-both bg-black rounded ".concat(L?"h-full aspect-[9/16]":"w-full"),children:[(0,l.jsx)("div",{className:"absolute","data-script-path":"dzyf5jtgd0sxp","data-environment":this.fusionEnv}),(0,l.jsx)("div",{className:"goldfish-player","data-page-on":"1","data-producer":!0,children:(0,l.jsxs)("div",{className:"powa rounded ".concat(M?p.POWA_NO_PLAYER_CONTROLS_CLASS:""),id:"powa-"+S._id,"data-org":"pmn","data-uuid":S._id,"data-playthrough":"true","data-loop-with-controls":null!==(x=null===(y=null===(j=null==this?void 0:this.props)||void 0===j?void 0:j.videoOptions)||void 0===y?void 0:y.videoLoop)&&void 0!==x?x:null===(O=null==this?void 0:this.props)||void 0===O?void 0:O.isLoopAndAutoplay,"data-muted":M||null!==(C=null===(_=null===(w=null==this?void 0:this.props)||void 0===w?void 0:w.videoOptions)||void 0===_?void 0:_.muted)&&void 0!==C&&C,"data-autoplay":(null===(k=null==this?void 0:this.props)||void 0===k?void 0:k.showPromoImage)||this.isAutoplayVideo,"data-stream":0,"data-autoinit":!0,"data-debug":"false","data-aspect-ratio":P?"1.7778":this.props.imageRatio&&"16x9"===this.props.imageRatio?"0.5625":"0.6667","data-env":this.fusionEnv,children:[N&&(0,l.jsx)("span",{className:this.durationClassName,children:(0,l.jsx)("b",{children:(0,d.getTime)(N)})}),this.state.spinnerKey==="powa-".concat(S._id)&&(0,l.jsx)("div",{className:"powa-spinner h-[50px] w-[50px] m-auto top-1/2 left-1/2 absolute -translate-x-1/2 -translate-y-1/2 bg-contain z-10",children:(0,l.jsx)(u.Spinner,{})})]})})]})})},t}(s.default.Component);t.PowaVideo=f;var b=function(e){var t=s.default.useMemo((function(){return e.trackingVideo||null}),[e.trackingVideo]),n=(null==t?void 0:t.withYouTubeTracking)||void 0,r=c.default;void 0!==n&&(r=n(c.default));var i=window.innerWidth<=1023,o=s.default.useMemo((function(){return{width:"100%",playerVars:{autoplay:e.videoOptions&&e.videoOptions.autoplay?1:0,mute:e.videoOptions&&e.videoOptions.muted?1:0,playsinline:i&&(0,d.iOS)()&&!(0,d.iPad)()?0:1}}}),[e.videoOptions,i]),a="";return e.youtubeURL.split("v=")[1]&&(a=e.youtubeURL.split("v=")[1]),e.youtubeURL.split("youtu.be/")[1]&&(a=e.youtubeURL.split("youtu.be/")[1]),(0,l.jsx)("div",{className:"inq-video-card-wrapper",children:(0,l.jsx)("div",{className:"inq-youtube-card ".concat("16x9"===e.ratio?"youtube-16x9":"youtube-3x2"),children:(0,l.jsx)(r,{videoId:a.split("&")[0],opts:o,videoCategory:(null==t?void 0:t.videoCategory)||"",videoLocation:(null==t?void 0:t.videoLocation)||""})})})},h=function(e){function t(t){var n=e.call(this,t)||this;return n.timer=null,n.setPowaActive=function(e){n.setState({powaActive:e})},n.renderVideo=function(){var e,t,r,i,a,s,c,u=n.props,h=u.story,v=u.imageRatio,g=void 0===v?"16x9":v,j=u.videoOptions,y=u.showPromoImage,x=u.hideCaption,O=u.videoCredit,w=u.videoDesc,_=u.videoDescClass,C=u.isDarkMode,k=u.customVideoClass,S=u.allowVerticalVideo,N=u.dataEnv,L=u.noContent,E=u.isVideoLeafPage,P=u.isLongformV2FullWidth,T=u.isVideoCardFeature,M=(null===(t=null===(e=null==h?void 0:h.promo_items)||void 0===e?void 0:e.youtube)||void 0===t?void 0:t.content)||"",A=(null===(r=null==h?void 0:h.additional_properties)||void 0===r?void 0:r.storyStyle)||"standard",I=(null===(a=null===(i=null==h?void 0:h.promo_items)||void 0===i?void 0:i.video)||void 0===a?void 0:a._id)||"",D=C?p.DARK_MODE_CLASS:"text-primary",R=S&&(null===(s=null==h?void 0:h.additional_properties)||void 0===s?void 0:s.vertical)||!1,$=P&&!R||!1;return M&&"loud"!==A?(0,l.jsx)(b,o({},n.props,{ratio:g,youtubeURL:M})):I?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:L?"":"3x2"===g?"aspect-[3/2]":"".concat(R?"aspect-[9/16] mx-auto px-4 bp-xxs:px-0 bp-xxs:max-w-xs lg:max-w-[405px]":"aspect-video"),children:n.state.powaActive||!y?(0,l.jsx)(f,{story:h,videoOptions:j,imageRatio:g,hideCaption:x,videoCredit:O,videoDesc:w,videoDescClass:_,noContent:L,dataEnv:N,customVideoClass:k,allowVerticalVideo:S,isDarkMode:C,showPromoImage:y,isVideoLeafPage:E,isLoopAndAutoplay:(0,d.isVideoLoopAndAutoplay)(h),isVideoCardFeature:T}):(0,l.jsx)(m.default,{storyImage:null===(c=null==h?void 0:h.promo_items)||void 0===c?void 0:c.video,isVideoCard:!((null==j?void 0:j.autoplay)||(0,d.isVideoLoopAndAutoplay)(h)),shouldRedirectToPage:!1,onClickImagePromo:function(){return n.setPowaActive(!0)}})}),!x&&(O||w)&&(0,l.jsx)("div",{className:"gallery-footer my-2 ".concat($?"md:mx-auto":"mx-auto"," ").concat(R?"px-4 bp-xxs:px-0 bp-xxs:max-w-xs lg:max-w-[405px]":""),children:(0,l.jsxs)("figcaption",{className:"my-2 ".concat($?"sm:max-w-lf-body mx-4 md:mx-auto":"mx-auto"),children:[(0,l.jsx)("div",{className:"video-credit type-author text-sm mt-2 ".concat(D),children:O||""}),(0,l.jsx)("div",{className:"type-caption mt-1 mb-4 mx-0 ".concat(_||"video-description bp-md:pb-0"," ").concat(D),dangerouslySetInnerHTML:{__html:w||""}})]})})]}):(0,l.jsx)(l.Fragment,{})},n.state={powaActive:!1},n}return i(t,e),t.prototype.componentDidMount=function(){var e,t,n,r,i=this;(null===(e=this.props)||void 0===e?void 0:e.showPromoImage)&&!(null===(n=null===(t=this.props)||void 0===t?void 0:t.videoOptions)||void 0===n?void 0:n.autoplay)&&!(0,d.isVideoLoopAndAutoplay)(null===(r=this.props)||void 0===r?void 0:r.story)||!1||(this.timer=setTimeout((function(){i.setState({powaActive:!0})}),500))},t.prototype.componentWillUnmount=function(){this.timer&&clearTimeout(this.timer)},t.prototype.render=function(){return this.renderVideo()},t}(s.default.Component);t.VideoContent=s.default.memo(h)},,,,,,function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressCircle=void 0;var i=n(0),o=r(n(1)).default.memo((function(e){var t=e.value,n=e.disabled,r=void 0!==n&&n,o=e.color,a=e.size,l=void 0===a?24:a,s=e.strokeWidth,c=void 0===s?2.5:s;if(void 0===t||t<=0)return null;var u=Math.min(100,Math.max(0,t)),d=l/2,p=d-c/2,m=2*Math.PI*p,f=null!=o?o:r?"#1A6AFF":"#ffffff";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("svg",{width:l,height:l,viewBox:"0 0 ".concat(l," ").concat(l),"aria-hidden":"true",style:{flexShrink:0},children:(0,i.jsx)("circle",{cx:d,cy:d,r:p,fill:"none",stroke:f,strokeWidth:c,strokeLinecap:"round",strokeDasharray:m,strokeDashoffset:m*(1-u/100),transform:"rotate(-90 ".concat(d," ").concat(d,")"),style:{transition:"stroke-dashoffset 0.4s ease"}})}),(0,i.jsx)("div",{className:"inline-block h-full w-2"})]})}));t.ProgressCircle=o,t.default=o},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.gatewayConfigs={dev:"https://dev-apigw.inquirer.com",stage:"https://dev-apigw.inquirer.com",sandbox:"https://dev-apigw.inquirer.com",prod:"https://apigw.inquirer.com"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(93);t.getEndpoint=function(e){var t=e.url,n=e.data,i=e.query,o=e.method,a=void 0===o?"GET":o,l=e.apiKey,s=void 0===l?"":l,c=e.token,u=void 0===c?"":c;return new Promise((function(e,o){var l,c=new XMLHttpRequest,d=i?"?"+(l=i,Object.keys(l).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(l[e])})).join("&")):"";c.open(a,""+t+d),"POST"!==a&&"PATCH"!==a||(c.setRequestHeader("Content-type","application/json"),c.setRequestHeader("Accept","application/json")),r.isEmpty(s)||c.setRequestHeader("apikey",s),r.isEmpty(u)||c.setRequestHeader("Authorization",u),c.onload=function(){c.readyState===XMLHttpRequest.DONE&&200===c.status?e(JSON.parse(c.responseText)):o(new Error(c.responseText))},c.onerror=function(){return o(c.statusText)},c.send(JSON.stringify(n))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){void 0===e&&(e="");var t=["inquirer.com","philly.com"].some((function(e){return window.location.host.includes(e)})),n=t?"domain="+window.location.host.split(".").slice(-2).join(".")+";":"";return"pmn-id-token-cookie"===e&&(n=""),n};t.setCookie=function(e,t){if(void 0===e&&(e=""),void 0===t&&(t=";"),e.length>0){t=t.toString()+";";document.cookie=e.toString()+"="+t+"path=/;"+r(e)+"max-age=2628000;"}},t.clearCookie=function(e){document.cookie=e+"=; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT;"+r(e)},t.readCookie=function(e){var t=document.cookie.split(";").find((function(t){return t.trim().substring(0,e.length)===e}));return t?t.trim().substring(e.length+1):null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getQueryParam=function(e,t){return new URL(e).searchParams.get(t)},t.isSpecialPage=function(){var e=window.location.pathname;return["/checkout","/subscribe","/app-checkout"].some((function(t){return e.includes(t)}))}},function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]3e5)return null;var t=localStorage.getItem(l);return"valid"===t||"expired"===t?t:null}catch(e){return null}},c=function(e){try{localStorage.setItem(a,String(Date.now())),localStorage.setItem(l,e)}catch(e){}};t.resetCache=function(){try{localStorage.removeItem(a),localStorage.removeItem(l)}catch(e){}},t.markValidated=function(){c("valid")};var u=function(e,t){return void 0===t&&(t={}),r(void 0,void 0,void 0,(function(){var n,r;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,e.getTokenSilently({cacheMode:"off"})];case 1:return i.sent(),c("valid"),[2,"valid"];case 2:return n=i.sent(),r=o.classifyAuth0Error(n),t.ddlogger&&o.isLoggedInState(t.userState)&&t.ddlogger.log(o.buildAuthErrorLog(n,r,t.auth0Id)),"SESSION_EXPIRED"===r||"LOGIN_REQUIRED"===r?(c("expired"),[2,"expired"]):(console.log("[SessionValidator] Auth0 error — session preserved",r),c("valid"),[2,"valid"]);case 3:return[2]}}))}))};t.ensureValid=function(e,t){return void 0===t&&(t={}),r(void 0,void 0,void 0,(function(){var n,o;return i(this,(function(a){return(n=s())?[2,n]:"locks"in navigator?[2,navigator.locks.request("auth0-validate",(function(){return r(void 0,void 0,void 0,(function(){var n;return i(this,(function(r){return(n=s())?[2,n]:[2,(i=u(e,t),o=1e4,Promise.race([i,new Promise((function(e,t){return setTimeout((function(){return t(new Error("lock-timeout"))}),o)}))])).catch((function(){return"valid"}))];var i,o}))}))}))]:[2,null!=(o=s())?o:u(e,t)]}))}))}},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;nObject(a.jsxs)("li",{className:`flex ${u?"":"min-w-fit"} ${i}`,children:[u?Object(a.jsx)("span",{className:`${d.replace("whitespace-nowrap","")} ${l}`,children:n}):Object(a.jsx)("a",{href:t,className:`${d} ${l}`,"data-link-type":"article_eyebrow_breadcrumb",children:n}),!r&&c&&Object(a.jsx)(o.ChevronRightIcon,{customClass:s})]},e),s=({story:e,hasRegularArticleBreadcrumb:t})=>{const n=Object(r.useRef)(null),i=Object(r.useMemo)((()=>null==e?void 0:e.breadcrumbList),[e]);return i&&0!==(null==i?void 0:i.length)?t?Object(a.jsx)("div",{className:"w-full",children:Object(a.jsx)("ul",{className:"flex flex-wrap overflow-x-auto overflow-y-hidden",children:null==i?void 0:i.map(((e,n)=>Object(a.jsx)(l,{id:`${e._id}${n}`,url:null==e?void 0:e._id,name:null==e?void 0:e.name,hasRegularArticleBreadcrumb:t,isLastItem:n===i.length-1,listClassNames:"items-center md:items-start mb-1 md:mb-0",textClassNames:"font-grot12-condensed font-semibold text-black hover:underline text-4 leading-4 md:text-5 md:leading-5 cursor-pointer",iconClassNames:"w-3 h-3 md:w-4 md:h-4 px-1.5 block"},`${e._id}${n}`)))})}):Object(a.jsx)("div",{ref:n,className:"relative my-4 md:my-6 lg:my-8",children:Object(a.jsx)("ul",{className:"flex overflow-x-auto overflow-y-hidden gap-3.5",children:i&&i.map(((e,t)=>Object(a.jsx)(l,{id:e._id+t,url:null==e?void 0:e._id,name:null==e?void 0:e.name,textClassNames:"text-[#222] text-4.5 leading-5 font-grot12-condensed font-semibold border border-black border-solid rounded-[19px] p-2"})))})}):Object(a.jsx)("div",{className:"pt-4"})};t.b=i.a.memo(s)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>{if(!(null==e?void 0:e.length))return"";if(1===(null==e?void 0:e.length))return e[0];const t=null==e?void 0:e.sort(((e,t)=>e.length-t.length)),n=null==t?void 0:t.every(((e,t,n)=>0===t||e.length===n[t-1].length+1));return`${t[0]}${n?"-":"/"}${t[t.length-1]}`}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return o}));var r=n(1);const i=Object(r.createContext)({isInnovationArticle2:!1,interactiveNavType:""}),o=()=>Object(r.useContext)(i);t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n(1),i=n(106),o=n(545),a=n(546),l=n(547),s=n(548),c=n(549),u=n(550),d=n(8),p=n(5),m=n(105),f=n(0);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{const{globalContent:c}=Object(d.useAppContext)(),u=Object(r.useMemo)((()=>Object(p.T)((null==c?void 0:c.subtype)||"")),[null==c?void 0:c.subtype]),b=Object(r.useMemo)((()=>Object(p.R)((null==c?void 0:c.subtype)||"")),[null==c?void 0:c.subtype]),v=Object(r.useCallback)((()=>{if("function"==typeof a&&(u||b)){const e=m.a.LINK_CLICK;a(e,b?`pop-out-card | ${i}`:i)}else window.PMNdataLayer.push({event:"ga_generic_event",interactionDetail:i})}),[i,a,u,b]);return e?o?Object(f.jsx)("a",h({href:t,onClick:v,target:"_blank",rel:"noreferrer",className:"no-underline"},b&&{"data-link-type":"restaurant-finder-card"},{children:Object(f.jsxs)("div",{className:"flex flex-col gap-1 items-center",children:[s,Object(f.jsx)("p",{className:"text-primary font-grot10 no-underline text-2 leading-3 "+(l?"font-semibold":"font-normal"),children:e})]})})):Object(f.jsx)("div",{className:`border-solid border-neutral-light-gray ${n}`,children:Object(f.jsxs)("div",{className:"flex items-center gap-2 py-3",children:[Object(f.jsx)("div",{className:"min-w-4",children:s}),t?Object(f.jsx)("a",h({href:t,onClick:v,className:"text-primary font-grot10 text-3.5 leading-4 whitespace-nowrap overflow-hidden\n text-ellipsis"+(l?" font-semibold":" font-normal"),target:"_blank",rel:"noreferrer"},b&&{"data-link-type":"restaurant-finder-card"},{children:e})):Object(f.jsx)("span",{className:"text-primary font-grot10 text-3.5 leading-4 "+(l?"font-semibold":"font-normal"),children:e})]})}):"rsvp"===i?Object(f.jsx)("div",{className:"border-solid border-neutral-light-gray border-t"}):null},j=n(39);var y=({linkText:e,customClasses:t,interactionDetailValue:n,handleCopyClick:i,iconOnlyView:o=!1,handleAnalytics:a,children:l})=>{const{globalContent:s}=Object(d.useAppContext)(),c=Object(r.useMemo)((()=>Object(p.T)((null==s?void 0:s.subtype)||"")),[null==s?void 0:s.subtype]),u=Object(r.useMemo)((()=>Object(p.R)((null==s?void 0:s.subtype)||"")),[null==s?void 0:s.subtype]),b=Object(r.useCallback)((()=>{if("function"==typeof a&&(c||u)&&n){const e=m.a.LINK_CLICK;a(e,u?"pop-out-card | copied share text to clipboard":n)}else window.PMNdataLayer.push({event:"ga_generic_event",interactionDetail:n});i()}),[n,a,c,u]);return Object(f.jsx)(f.Fragment,{children:o?Object(f.jsxs)("button",{className:"bg-transparent flex flex-col gap-1 items-center w-11",onClick:b,children:[l,Object(f.jsx)("p",{className:"text-primary font-grot10 no-underline text-2 leading-3 font-normal",children:e})]}):Object(f.jsx)("div",{className:`border-solid border-neutral-light-gray ${t}`,children:Object(f.jsxs)("div",{className:"flex items-center gap-2 py-3",children:[Object(f.jsx)("div",{className:"min-w-4",children:l}),Object(f.jsx)("button",{onClick:b,className:"bg-transparent text-primary font-grot10 text-3.5 leading-4 font-normal underline cursor-pointer",children:e})]})})})};const x=" flex justify-center",O="black",w="Reserve online",_="Doesn't take reservations",C=({fullAddress:e,phoneNumber:t="",websiteUrl:n="",instagram:d,reservationLink:p,reservationMethod:m,shouldShowHeader:b=!1,shouldShowCopyButton:h=!1,shouldUseColumns:v=!1,shouldUseCollapsedView:C=!1,email:k="",hashUrl:S="",handleAnalytics:N,isFinderPage:L=!1,handleShareFromFinder:E=(()=>{}),slug:P="",shouldBoldAddressSpecificDetails:T=!1})=>{const[M,A]=Object(r.useState)(C?"Copy link":"Copy to clipboard"),I=Object(r.useMemo)((()=>[e,t||k,n,d,m&&m!==_?m:"",M].filter(Boolean).length>3),[e,t,k,n,d,m,M]),D=Object(r.useMemo)((()=>m?!p||[_,w].includes(m)?Object(j.b)(m):`Reserve on ${m}`:""),[p,m]),R=Object(r.useMemo)((()=>m&&m!==_?"Call for reservations"===m?`tel:${null==t?void 0:t.replace(/[^0-9]/g,"")}`:p:""),[m,p]),$=Object(r.useMemo)((()=>""+(L?"flex flex-col":"md:flex md:gap-6"+(v?" lg:block xl:flex xl:gap-6":" lg:block"))),[L,v]),q=Object(r.useCallback)((async()=>{var e;const t=()=>{A(C?"Link copied":"Copied to clipboard"),setTimeout((()=>{A(C?"Copy link":"Copy to clipboard")}),2e3)};if(L)E(P,t);else if(null===(e=navigator)||void 0===e?void 0:e.clipboard){var n;await(null===(n=navigator)||void 0===n?void 0:n.clipboard.writeText(S).then((()=>t())).catch((e=>console.log(e))))}}),[S,C]);return Object(f.jsx)(f.Fragment,{children:C?Object(f.jsxs)("div",{className:"flex flex-row"+(I?" justify-between":" justify-start gap-2"),onClick:e=>e.stopPropagation(),children:[n&&Object(f.jsx)(g,{linkText:"Website",url:n||"",interactionDetailValue:"website",iconOnlyView:C,handleAnalytics:N,children:Object(f.jsx)(l.GlobeIcon,{height:"16",customClass:x,color:O})}),t&&Object(f.jsx)(g,{linkText:"Call",url:`tel:${null==t?void 0:t.replace(/[^0-9]/g,"")}`,interactionDetailValue:"phone",iconOnlyView:C,handleAnalytics:N,children:Object(f.jsx)(a.PhoneIcon,{height:"16",customClass:x,color:O})}),!t&&k&&Object(f.jsx)(g,{linkText:"Email",url:`mailto:${k}`,interactionDetailValue:"email",iconOnlyView:C,handleAnalytics:N,children:Object(f.jsx)(s.EmailOutlineIcon,{height:"16",customClass:x,color:O})}),e&&Object(f.jsx)(g,{linkText:"Address",url:`https://maps.google.com/?q=${encodeURIComponent(e)}`,interactionDetailValue:"location",iconOnlyView:C,handleAnalytics:N,children:Object(f.jsx)(o.LocationPinIcon,{height:"16",customClass:x,color:O})}),d&&Object(f.jsx)(g,{linkText:"Instagram",url:`https://instagram.com/${d}`,interactionDetailValue:"social",iconOnlyView:C,handleAnalytics:N,children:Object(f.jsx)(c.InstagramOutlineIcon,{height:"16",customClass:x,color:O})}),m&&m!==_&&Object(f.jsx)(g,{linkText:"Reserve",url:R||"",interactionDetailValue:"rsvp",iconOnlyView:C,handleAnalytics:N,children:Object(f.jsx)(u.CalendarIcon,{height:"16",customClass:x,color:O})}),Object(f.jsx)(y,{linkText:M,url:S,customClasses:"border-b",interactionDetailValue:"copy-link",handleCopyClick:q,iconOnlyView:C,handleAnalytics:N,children:Object(f.jsx)(i.LinkIcon,{height:"16",width:"16",customClass:x,color:O})})]}):Object(f.jsxs)(f.Fragment,{children:[b&&Object(f.jsx)("h2",{className:"mb-4 font-semibold leading-4 uppercase text-4 font-grot12-condensed",children:"Restaurant Details"}),Object(f.jsxs)("div",{className:$,children:[Object(f.jsxs)("div",{className:"flex-1",children:[Object(f.jsx)(g,{linkText:e||"",url:`https://maps.google.com/?q=${encodeURIComponent(e)}`,customClasses:"border-t "+(t||n?"":"md:border-b-0 xl:border-b"),interactionDetailValue:"location",handleAnalytics:N,shouldBoldLinkText:T,children:Object(f.jsx)(o.LocationPinIcon,{height:"16",customClass:x,color:O})}),t&&Object(f.jsx)(g,{linkText:t,url:`tel:${null==t?void 0:t.replace(/[^0-9]/g,"")}`,customClasses:"border-t",interactionDetailValue:"phone",handleAnalytics:N,shouldBoldLinkText:T,children:Object(f.jsx)(a.PhoneIcon,{height:"16",customClass:x,color:O})}),!t&&k&&Object(f.jsx)(g,{linkText:k,url:`mailto:${k}`,customClasses:"border-t",interactionDetailValue:"email",handleAnalytics:N,shouldBoldLinkText:T,children:Object(f.jsx)(s.EmailOutlineIcon,{height:"16",customClass:x,color:O})}),Object(f.jsx)(g,{linkText:n||"",url:n||"",customClasses:"border-t"+(L?"":" md:border-b lg:border-b-0 xl:border-b"),interactionDetailValue:"website",handleAnalytics:N,children:Object(f.jsx)(l.GlobeIcon,{height:"16",customClass:x,color:O})})]}),Object(f.jsxs)("div",{className:"flex-1",children:[Object(f.jsx)(g,{linkText:d||"",url:`https://instagram.com/${d}`,customClasses:"border-t",interactionDetailValue:"social",handleAnalytics:N,children:Object(f.jsx)(c.InstagramOutlineIcon,{height:"16",customClass:x,color:O})}),Object(f.jsx)(g,{linkText:D,url:R||"",customClasses:"border-y",interactionDetailValue:"rsvp",handleAnalytics:N,shouldBoldLinkText:T,children:Object(f.jsx)(u.CalendarIcon,{height:"16",customClass:x,color:O})}),h&&Object(f.jsx)(y,{linkText:M,url:S,customClasses:"border-b",interactionDetailValue:"copy-link",handleCopyClick:q,handleAnalytics:N,children:Object(f.jsx)(i.LinkIcon,{height:"16",width:"16",customClass:x,color:O})})]})]})]})})}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(8),a=n(39),l=n(40),s=n(15),c=n(74),u=n(0);const d=({isDarkMode:e,isRegularArticle:t,newsletterId:n="LETS_EAT_PHILLY",newsletterHeading:i="Let's Eat, Philly!",newsletterSubheader:d="Let's Eat",newsletterDescription:p="I cover the Philly-area’s food and restaurant scene, and I want to keep you in the know. Sign up to read more in your inbox!",newsletterSailthruName:m="Let's Eat Philly"})=>{const{deployment:f,globalContent:b}=Object(o.useAppContext)(),h=Object(c.a)(),v=Object(r.useRef)(null),[g,j]=Object(r.useState)(void 0),y=Object(r.useMemo)((()=>Object(s.e)(b)),[b]);Object(r.useEffect)((()=>{Object(a.f)(`https://media.inquirer.com/widget/newsletter/${"prod"===Object(l.a)("ENV")?"prod":"dev"}/philly-newsletter-widget.js`,!0)}),[]),Object(r.useEffect)((()=>{if(!v.current)return;const e=v.current.querySelector(".philly-newsletter-widget");e&&e.addEventListener("onSubmitNewsletterDone",(e=>{var t,n;const r=null==v||null===(t=v.current)||void 0===t?void 0:t.querySelector("#cta-description"),i=null==v||null===(n=v.current)||void 0===n?void 0:n.querySelector("#cta-signup-section");i&&i.remove(),r&&(r.innerHTML='Thank you for signing up. Check out our other newsletters here.')}))}),[v]);const x=f(e?"/pf/resources/images/I_circle_white.png":"/pf/resources/images/I_circle_black.png");return Object(r.useEffect)((()=>{h((e=>{j((null==e?void 0:e.email)||"")}),1e3)}),[]),Object(u.jsx)("div",{ref:v,className:(t?"mb-4":"")+" mt-4 rounded w-full border\n border-solid border-gray-mid-neutral border-1",children:Object(u.jsxs)("div",{className:"p-4",children:[Object(u.jsxs)("div",{className:"flex items-start gap-2 sm:flex-row",children:[Object(u.jsx)("img",{width:"24px",height:"24px",src:x,alt:"Inquirer logo"}),Object(u.jsx)("p",{className:(e?"text-white":"")+" flex-1 text-primary font-semibold leading-6 text-6 font-inquirer-headline",children:decodeURIComponent(i)})]}),Object(u.jsxs)("div",{id:"custom-cta-newsletter-form",className:"mb-4",children:[decodeURIComponent(d)&&Object(u.jsx)("p",{className:(e?"text-white":"")+" text-secondary text-4 mt-1 font-grot10 italic leading-4.5",children:d}),Object(u.jsx)("p",{id:"cta-description",className:(e?"text-white":"")+" text-primary mt-2 text-4 sm:text-4.5\n leading-5.5 sm:leading-7 font-normal font-grot10",children:decodeURIComponent(p)})]}),Object(u.jsx)("div",{className:"flex flex-col items-center sm:flex-row",id:"cta-signup-section",children:Object(u.jsx)("div",{className:"flex-[3] w-full philly-newsletter-widget cta-inline-newsletter","data-env":"prod"===Object(l.a)("ENV")?"production":"development","data-list-id":n,"data-newsletter-name":n,"data-source":"admin_newsletters_AM+Newsletter+-+Non-paying+Newsletter","data-button-text":"Add to inbox +","data-enabled-analytics":"true","data-custom-analytics-event":"newsletter_registration","data-custom-signup-source":y,"data-enabled-recaptcha":"true","data-custom-success-message":"thank you!","data-custom-success-class":"hidden philly-newsletter-widget__message philly-newsletter__message--success","data-placeholder":"Email Address","data-default-value":g||"","data-form-id":"js-cm-form","data-form-class":"flex flex-col items-center sm:flex-row js-cm-form philly-newsletter-widget__form flex justify-between","data-form-input-class":"js-cm-email-input philly-newsletter-widget__form-input px-3 py-2 sm:mb-0 mb-2 sm:mr-1 font-grot10 h-10 text-base/5 text-neutral-text-color rounded w-full border border-solid border-neutral-light-gray border-1 focus:border-primary-blue focus:border-2","data-form-input-id":"fieldEmail","data-submit-btn-class":"font-bold flex-1 w-full sm:w-auto sm:ml-2 js-cm-submit-button border-solid border-black border-1 philly-newsletter-widget__form-button py-0 border rounded text-center font-grot10 text-base/5 bg-white text-primary cursor-pointer h-10 py-2 px-2","data-submit-btn-id":"submit","data-custom-error-message":"Something went wrong, please try again!","data-custom-error-class":"philly-newsletter-widget__message philly-newsletter__message--error hidden","data-custom-sailthru-list-name":m||""})})]})})};t.a=i.a.memo(d)},,function(e,t,n){"use strict";var r=n(1),i=n(0);const o=()=>Object(i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"hidden",children:Object(i.jsxs)("defs",{children:[Object(i.jsx)("path",{d:"M0 0h24v24H0z",fill:"none",id:"search-icon-circle"}),Object(i.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",id:"search-icon-line"})]})});t.a=Object(r.memo)(o)},function(e,t,n){"use strict";var r=n(1),i=n(339),o=n(243),a=n(242),l=n(0);const s=({isSportsAppbar:e,isFoodAppbar:t,usingStickBar:n})=>{const s=Object(r.useMemo)((()=>e||t),[e,t]);return Object(l.jsx)(l.Fragment,{children:s?Object(l.jsx)("div",{className:"flex-1 relative",children:e?Object(l.jsx)(a.a,{isStickyStyle:n}):Object(l.jsx)(o.a,{isStickyStyle:n})}):Object(l.jsx)(i.a,{customClassDesktop:n?" lg:w-[325px]":" lg:w-[500px]",customClassMobile:" w-[140px]"})})};t.a=Object(r.memo)(s)},,,,function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{var f,b,h,v,g;const{globalContent:j}=Object(i.useAppContext)(),y=Object(r.useMemo)((()=>(null==j?void 0:j.subtype)||""),[null==j?void 0:j.subtype]),x=Object(r.useMemo)((()=>Object(s.B)(y)||Object(s.s)(y)||Object(d.ab)(y)||Object(d.Z)(y)),[y]),O=Object(r.useMemo)((()=>{var e,t,n,r;return"/espanol"!==(null==j||null===(e=j.taxonomy)||void 0===e||null===(t=e.primary_site)||void 0===t?void 0:t._id)&&"Off"!==(null==j||null===(n=j.label)||void 0===n||null===(r=n.audio)||void 0===r?void 0:r.text)}),[null==j||null===(f=j.taxonomy)||void 0===f||null===(b=f.primary_site)||void 0===b?void 0:b._id,null==j||null===(h=j.label)||void 0===h||null===(v=h.audio)||void 0===v?void 0:v.text]),w=Object(r.useMemo)((()=>Object(c.c)()),[]),_=Object(o.useContent)(x?{source:"article-audio-api",query:{articleId:null==j?void 0:j._id}}:null),C=Object(r.useMemo)((()=>"string"==typeof _?_:_&&"object"==typeof _?Object.values(_).join(""):""),[_]);return O&&C&&Object(m.jsx)("div",{className:`flex border-b border-solid ${Object(u.d)()?"flex-col gap-4 items-start":"items-center justify-between"}${e?" mb-2 sm:mb-4 pb-4":" mb-6 pb-5"}${t?" border-b-neutral-light-text":" border-b-neutral-light-charcoal-gray"}`,children:Object(m.jsx)(l.a,{src:C,infoLink:`${w}/audio-reader-info/`,feedBackLink:`${w}/contact-us/?select=audio-reader`,subscriberLink:`${w}/${n}`,tooltipAdditionalProps:{beakClassName:"-top-2"},feedBackIconProps:{color:"black",size:"none",customClass:"mt-0.5"},playIconProps:{width:"32px",height:"32px",size:"none",customClass:"[&>svg]:overflow-visible"},audioTitle:null==j||null===(g=j.headlines)||void 0===g?void 0:g.basic,isDarkMode:t,isSubscribedUser:p.c,subscriptionPrice:a})})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1);function i(e,t){Object(r.useEffect)((()=>{function n(n){e.current&&!e.current.contains(n.target)&&t()}return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}}),[e])}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0);const a=({src:e,onPlayCallback:t,onEndCallback:n,onPauseCallback:i,autoPlay:a=!1,customClass:l=""})=>{const s=Object(r.useCallback)((()=>{i&&i()}),[i]),c=Object(r.useCallback)((()=>{t&&t()}),[t]),u=Object(r.useCallback)((()=>{n&&n()}),[n]);return e?Object(o.jsxs)("audio",{controls:!0,className:l,autoPlay:a,onPlay:()=>c(),onPause:()=>s(),onEnded:()=>u(),children:[Object(o.jsx)("track",{kind:"captions",className:"hidden"}),Object(o.jsx)("source",{src:e})]}):null};t.a=i.a.memo(a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InquirerIconOutlineNoLive=void 0;var r=n(0);t.InquirerIconOutlineNoLive=function(e){var t=e.size,n=void 0===t?"none":t,i=e.width,o=void 0===i?"164":i,a=e.height,l=void 0===a?"164":a,s=e.customClass,c=void 0===s?"":s;return(0,r.jsx)("div",{className:"inq-icon inq-icon--inquirer-icon-outline-live inq-icon--".concat(n," ").concat(c),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:l,viewBox:"0 0 164 164",fill:"none",children:[(0,r.jsx)("path",{d:"M81.6 5.6C123.5 5.6 157.7 39.7 157.7 81.7C157.7 123.7 123.6 157.8 81.6 157.8C39.6 157.8 5.6 123.6 5.6 81.6C5.6 39.6 39.7 5.6 81.6 5.6ZM81.6 0C36.6 0 0 36.6 0 81.6C0 126.6 36.6 163.2 81.6 163.2C126.6 163.2 163.2 126.6 163.2 81.6C163.2 36.6 126.6 0 81.6 0Z",fill:"black"}),(0,r.jsx)("path",{d:"M46.6001 48.8999L48.3001 49.8999C50.5001 44.0999 55.2001 38.3999 63.2001 38.3999C71.2001 38.3999 73.3001 39.3999 77.5001 40.8999L59.2001 54.3999L60.8001 56.0999L63.2001 54.3999C63.3001 54.3999 64.5001 55.3999 64.5001 67.7999V103.6L59.3001 107.4L60.9001 109.1L62.9001 107.7L71.4001 114.9C59.6001 114.9 50.3001 127.1 46.8001 137L48.5001 138C50.9001 132.1 54.9001 126.3 63.0001 126.3C71.1001 126.3 86.1001 132.6 94.6001 132.6C103.1 132.6 113.2 122.8 116.7 114.3L115 113.3C113 118.3 108.6 121.4 103.1 121.4C97.6001 121.4 98.8001 121 96.0001 120.5H95.6001C95.3001 120.4 95.2001 120.4 95.1001 120.4C96.8001 117.8 97.3001 116.1 97.9001 112.3C98.7001 106.1 98.7001 94.4999 98.7001 86.0999V43.9999C110.4 41.3999 116.1 27.8999 116.8 26.3999L115.1 25.3999C113 30.5999 108.5 33.3999 102.7 33.3999C92.9001 33.3999 82.1001 26.9999 73.0001 26.9999C59.4001 26.9999 50.9001 38.7999 46.9001 48.9999M71.4001 114.8L81.6001 106.4C79.2001 104.6 77.1001 102.5 77.1001 99.4999V43.7999L80.0001 41.5999C81.3001 42.0999 82.8001 42.4999 84.3001 42.8999V108.9C84.3001 111.7 84.0001 114.5 83.8001 116.9C79.3001 115.6 76.7001 115.2 71.4001 114.8Z",fill:"black"})]})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InquirerLiveLogo=void 0;var r=n(0);t.InquirerLiveLogo=function(e){var t=e.size,n=void 0===t?"none":t,i=e.width,o=void 0===i?"1000":i,a=e.height,l=void 0===a?"164":a,s=e.customClass,c=void 0===s?"":s;return(0,r.jsx)("div",{className:"inq-icon inq-icon--inquirer-live-logo inq-icon--".concat(n," ").concat(c),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:l,viewBox:"0 0 1000 164",fill:"none",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_11782_13107)",children:[(0,r.jsx)("path",{d:"M81.6 5.6C123.5 5.6 157.7 39.7 157.7 81.7C157.7 123.7 123.6 157.8 81.6 157.8C39.6 157.8 5.6 123.6 5.6 81.6C5.6 39.6 39.7 5.6 81.6 5.6ZM81.6 0C36.6 0 0 36.6 0 81.6C0 126.6 36.6 163.2 81.6 163.2C126.6 163.2 163.2 126.6 163.2 81.6C163.2 36.6 126.6 0 81.6 0Z",fill:"black"}),(0,r.jsx)("path",{d:"M46.6001 48.8999L48.3001 49.8999C50.5001 44.0999 55.2001 38.3999 63.2001 38.3999C71.2001 38.3999 73.3001 39.3999 77.5001 40.8999L59.2001 54.3999L60.8001 56.0999L63.2001 54.3999C63.3001 54.3999 64.5001 55.3999 64.5001 67.7999V103.6L59.3001 107.4L60.9001 109.1L62.9001 107.7L71.4001 114.9C59.6001 114.9 50.3001 127.1 46.8001 137L48.5001 138C50.9001 132.1 54.9001 126.3 63.0001 126.3C71.1001 126.3 86.1001 132.6 94.6001 132.6C103.1 132.6 113.2 122.8 116.7 114.3L115 113.3C113 118.3 108.6 121.4 103.1 121.4C97.6001 121.4 98.8001 121 96.0001 120.5H95.6001C95.3001 120.4 95.2001 120.4 95.1001 120.4C96.8001 117.8 97.3001 116.1 97.9001 112.3C98.7001 106.1 98.7001 94.4999 98.7001 86.0999V43.9999C110.4 41.3999 116.1 27.8999 116.8 26.3999L115.1 25.3999C113 30.5999 108.5 33.3999 102.7 33.3999C92.9001 33.3999 82.1001 26.9999 73.0001 26.9999C59.4001 26.9999 50.9001 38.7999 46.9001 48.9999M71.4001 114.8L81.6001 106.4C79.2001 104.6 77.1001 102.5 77.1001 99.4999V43.7999L80.0001 41.5999C81.3001 42.0999 82.8001 42.4999 84.3001 42.8999V108.9C84.3001 111.7 84.0001 114.5 83.8001 116.9C79.3001 115.6 76.7001 115.2 71.4001 114.8Z",fill:"black"}),(0,r.jsx)("path",{d:"M189.4 113.6H191C195.8 113.6 197.8 111.2 197.8 105.5V47.8002C197.8 42.1002 195.7 39.7002 191 39.7002H189.4V21.2002H235.3V39.7002H233.7C228.9 39.7002 226.9 42.1002 226.9 47.8002V105.5C226.9 111.2 229 113.6 233.7 113.6H235.3V132.1H189.4V113.6Z",fill:"black"}),(0,r.jsx)("path",{d:"M241.3 115.2H241.9C245.1 115.2 247.1 114.4 247.1 110V72.9003C247.1 68.5003 244.7 67.7003 242.3 67.7003H241.2V50.7003H271V59.9003C274.6 53.9003 280.2 48.8003 290.3 48.8003C300.4 48.8003 309.8 59.9003 309.8 71.0003V110C309.8 114.4 311.9 115.2 315 115.2H316.4V132.2H279.8V115.2H280.4C283.6 115.2 285.5 114.4 285.5 110V77.8003C285.5 73.2003 283 70.5003 278.8 70.5003C274.6 70.5003 271.2 75.1003 271.2 80.8003V110C271.2 114.4 273.1 115.2 276.3 115.2H277.3V132.2H241.2V115.2H241.3Z",fill:"black"}),(0,r.jsx)("path",{d:"M352.4 145.6H354.6C357.8 145.6 360.5 144.8 360.5 140.4V125.3C356.4 131.5 349.6 134.3 344.2 134.3C336 134.3 328.7 130.3 324.7 121.6C321.7 114.9 320.6 106.4 320.6 91.5002C320.6 76.6002 321.7 67.7002 324.7 61.2002C328.5 52.5002 336.6 48.7002 344.2 48.7002C351.8 48.7002 359.1 52.5002 362.9 59.3002L368.1 50.6002H384.6V140.3C384.6 144.7 386.7 145.5 389.8 145.5H390.4V162.5H352.4V145.5V145.6ZM353 113.9C357.6 113.9 360.4 111.2 360.4 104.6V78.6002C360.4 72.1002 357.5 68.9002 353 68.9002C348.5 68.9002 345.7 72.1002 345.7 78.6002V104.6C345.7 111.3 348.6 113.9 353 113.9Z",fill:"black"}),(0,r.jsx)("path",{d:"M400.1 124.8C397.7 120.5 396.9 114.8 396.9 106.9V72.8001C396.9 68.4001 394.5 67.6001 392.1 67.6001H391V50.6001H420.9V107.8C420.9 112.7 423.4 115.4 427.2 115.4C431 115.4 434.8 112.4 434.8 106.7V72.8001C434.8 68.4001 432.4 67.6001 430 67.6001H428.9V50.6001H458.8V109.9C458.8 114.3 460.9 115.1 464 115.1H464.6V132.1H438.1V121.6C434.6 130 426.7 134 417.5 134C408.3 134 403.4 131.6 399.8 124.8H400.1Z",fill:"black"}),(0,r.jsx)("path",{d:"M470.1 115.2H470.7C473.9 115.2 475.9 114.4 475.9 110V72.9001C475.9 68.5001 473.5 67.7001 471.1 67.7001H470V50.7001H500.1V110C500.1 114.4 502.2 115.2 505.3 115.2H505.9V132.2H469.9V115.2H470.1ZM487.3 19.6001C495.5 19.6001 501.2 25.5001 501.2 32.7001C501.2 39.9001 495.5 45.8001 487.3 45.8001C479.1 45.8001 473.4 39.9001 473.4 32.7001C473.4 25.5001 479.1 19.6001 487.3 19.6001Z",fill:"black"}),(0,r.jsx)("path",{d:"M511.1 115.2H511.7C514.9 115.2 516.9 114.4 516.9 110V72.9003C516.9 68.5003 514.5 67.7003 512.1 67.7003H511V50.7003H539.8V59.4003C541.9 53.9003 547.1 48.8003 554.4 48.8003C561.7 48.8003 568 54.7003 568 63.9003C568 73.1003 561.5 78.5003 555.2 78.5003C548.9 78.5003 543.6 74.2003 543.6 68.2003C543.6 62.2003 543.6 66.5003 543.8 65.8003C540.9 69.6003 541.1 73.9003 541.1 81.2003V110C541.1 114.4 543.2 115.2 547.9 115.2H548.7V132.2H511V115.2H511.1Z",fill:"black"}),(0,r.jsx)("path",{d:"M574.9 121.3C571.1 114.8 569.5 106.2 569.5 91.7003C569.5 77.2003 571.6 68.3003 575.5 61.8003C581 52.6003 591.7 48.8003 602.3 48.8003C612.9 48.8003 622.4 52.4003 628.3 61.6003C631.9 66.8003 633.1 74.3003 633.1 84.7003V96.3003H594.8V105.2C594.8 107.6 595.1 110.6 596.7 112.6C598 114.2 599.9 115.3 602.9 115.3C608.9 115.3 610.8 111.7 610.8 106.7C610.8 101.7 610.6 104.2 610.5 102.9H632C632.3 105.3 632.6 107.5 632.6 109.6C632.6 127.3 618.5 134.2 602.3 134.2C586.1 134.2 580.6 130.4 574.9 121.4V121.3ZM610.1 83.6003V77.3003C610.1 71.3003 607.7 67.6003 602.5 67.6003C597.3 67.6003 594.7 71.4003 594.7 77.3003V83.6003H610.1Z",fill:"black"}),(0,r.jsx)("path",{d:"M639.3 115.2H639.9C643.1 115.2 645.1 114.4 645.1 110V72.9003C645.1 68.5003 642.7 67.7003 640.3 67.7003H639.2V50.7003H668V59.4003C670.1 53.9003 675.3 48.8003 682.6 48.8003C689.9 48.8003 696.2 54.7003 696.2 63.9003C696.2 73.1003 689.7 78.5003 683.4 78.5003C677.1 78.5003 671.8 74.2003 671.8 68.2003C671.8 62.2003 671.8 66.5003 672 65.8003C669.1 69.6003 669.3 73.9003 669.3 81.2003V110C669.3 114.4 671.4 115.2 676.1 115.2H676.9V132.2H639.2V115.2H639.3Z",fill:"black"}),(0,r.jsx)("path",{d:"M717.4 124.4H723.1C728.3 124.4 729.9 122.3 729.9 117.9V35.5002C729.9 30.9002 728.3 29.0002 723.1 29.0002H717.4V21.2002H755.9V29.0002H748.5C743.4 29.0002 741.8 30.9002 741.8 35.5002V124.4H769.7C776.5 124.4 779.8 121.9 779.8 113.3V102.2H788V132.1H717.3V124.3L717.4 124.4Z",fill:"black"}),(0,r.jsx)("path",{d:"M794.7 124.4H801.2C806.3 124.4 808 122.3 808 117.9V35.5002C808 30.9002 806.3 29.0002 801.2 29.0002H794.7V21.2002H833.2V29.0002H826.5C821.4 29.0002 819.8 30.9002 819.8 35.5002V117.9C819.8 122.3 821.4 124.4 826.5 124.4H833.2V132.2H794.7V124.4Z",fill:"black"}),(0,r.jsx)("path",{d:"M841.9 29.0002H836.5V21.2002H875V29.0002H866C861.7 29.0002 860 30.7002 861.4 36.4002L882.3 120.7H882.6L903.5 36.4002C904.9 30.7002 903.2 29.0002 899.1 29.0002H890.5V21.2002H925.4V29.0002H920C914.9 29.0002 913.8 31.9002 913 35.0002L888 132.1H874.4L849.1 34.8002C848.3 31.8002 847.2 28.9002 842 28.9002L841.9 29.0002Z",fill:"black"}),(0,r.jsx)("path",{d:"M928.9 124.4H934.6C939.8 124.4 941.4 122.3 941.4 117.9V35.5002C941.4 30.9002 939.8 29.0002 934.6 29.0002H928.9V21.2002H1000V53.7002H991.9V36.4002C991.9 30.2002 989.5 29.0002 984 29.0002H953.3V71.3002H964.4C970.3 71.3002 972.5 69.2002 972.5 62.9002V55.9002H979.6V92.3002H972.5V86.3002C972.5 79.8002 970.4 77.6002 964.4 77.6002H953.3V124.3H984C989.5 124.3 991.9 123 991.9 116.9V96.3002H1000V132.1H928.9V124.3V124.4Z",fill:"black"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_11782_13107",children:(0,r.jsx)("rect",{width:"1000",height:"164",fill:"white"})})})]})})}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(444),a=n.n(o),l=n(0);const s=({logoColor:e,customClassDesktop:t,customClassMobile:n,wrapperCustomClass:r})=>Object(l.jsx)("a",{"data-link-type":"global-nav","aria-label":"The Philadelphia Inquirer - Go to homepage link",role:"link",className:`flex-1 relative ${r||"w-[140px] sm:w-[325px] lg:w-[500px]"}`,href:"/",children:Object(l.jsx)(a.a,{customClassDesktop:t,customClassMobile:n,logoColor:e})});t.a=i.a.memo(s)},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ActionSheet=void 0;var r=n(0),i=n(1),o=n(107);t.ActionSheet=function(e){var t=e.isOpen,n=e.setIsOpen,a=e.children,l=(0,i.useCallback)((function(){n(!1)}),[]);return(0,r.jsxs)("div",{className:"relative z-[103] ".concat(t?"block":"hidden"),children:[(0,r.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50",onClick:l}),(0,r.jsxs)("div",{className:"fixed bottom-0 left-0 right-0 bg-white rounded-t-xl shadow-lg",children:[(0,r.jsx)("button",{type:"button","aria-label":"Close",className:"absolute top-0 right-0 p-2 rounded-full focus:outline-none bg-transparent cursor-pointer",onClick:l,children:(0,r.jsx)(o.CloseIcon,{size:"none",width:"16",height:"16"})}),(0,r.jsx)("div",{className:"flex flex-col gap-2",children:a})]})]})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HeadlineItem=void 0;var r=n(0),i=n(183),o=n(110),a=n(26),l=n(193);t.HeadlineItem=function(e){var t,n=e.headlineItem,s=e.mapIndex,c=e.feedLength,u=e.feedProvenance,d=e.dataCardType,p=e.dataLinkType,m=void 0===p?"headline-list-card":p,f=e.hasIcons,b=void 0===f||f,h=e.themeColor,v=e.hasLessThan3HoursFormatTimestamp,g=e.headlineItemCustomClasses,j=e.hasTimestamps,y=void 0===j||j,x=e.iconType,O=e.hasEyebrow,w=h||"";"bullet"===x&&(w+=" mt-0.5 fill-blue-mid");var _,C,k=void 0!==O&&O||(0,a.isSpecialCard)((null===(t=null==n?void 0:n.taxonomy)||void 0===t?void 0:t.sections)||[]);return(0,r.jsxs)("li",{className:"inq-headline-item block font-normal ".concat((0,a.isEmpty)(g)?"":g),children:[(b||n.logo)&&(n.logo?(0,r.jsx)("img",{className:"float-left h-4 w-4 mt-0.5 mr-3.5 mb-auto",src:n.logo,alt:(_=n.logo,C=_.substring(_.lastIndexOf("/")+1,_.length),C.substring(0,C.lastIndexOf(".")).replace(/[-_+]/g," "))}):(0,r.jsx)(i.BulletIcon,{size:"small",customClass:w})),k&&(0,r.jsx)(l.Eyebrow,{isInHeadlineItem:!0,onClick:null==n?void 0:n.onClick}),(0,r.jsx)("a",{href:n.link,"data-link-type":m,"data-card-index":s,"data-feed-length":c,"data-feed-provenance":u,"data-card-type":d,className:"inq-headline-list-title type-headline-items text-neutral-text-color align-middle".concat("bullet"===x?" xs:font-normal":""),onClick:null==n?void 0:n.onClick,children:n.title}),(n.byline||n.timestamp)&&(0,r.jsxs)("span",{className:"align-middle",children:[n.byline&&(0,r.jsxs)("span",{className:"inq-headline-list-byline type-article-details text-neutral-light-text",children:[n.byline," "]}),n.timestamp&&y&&(0,r.jsx)("span",{className:"inq-headline-list-byline type-article-details text-neutral-light-text",children:(0,r.jsx)(o.PublishDate,{date:n.timestamp,isLatestList:!0,hasLessThan3HoursFormatTimestamp:v})})]})]})}},function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(96),t),i(n(516),t),i(n(517),t),i(n(415),t),i(n(416),t),i(n(501),t)},,,,function(e,t){e.exports=s},function(e,t){e.exports=c},function(e,t){e.exports=u},function(e,t,n){"use strict";var r=n(61),i=n(224),o=n(375),a=n(230);function l(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var s=l(n(162));s.Axios=o,s.create=function(e){return l(a(s.defaults,e))},s.Cancel=n(231),s.CancelToken=n(389),s.isCancel=n(229),s.all=function(e){return Promise.all(e)},s.spread=n(390),s.isAxiosError=n(391),e.exports=s,e.exports.default=s},function(e,t,n){"use strict";var r=n(61),i=n(225),o=n(376),a=n(377),l=n(230),s=n(387),c=s.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=l(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&s.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var d=e;n.length;){var p=n.shift(),m=n.shift();try{d=p(d)}catch(e){m(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},u.prototype.getUri=function(e){return e=l(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(l(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(l(r||{},{method:e,url:t,data:n}))}})),e.exports=u},function(e,t,n){"use strict";var r=n(61);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,n){"use strict";var r=n(61),i=n(378),o=n(229),a=n(162);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(61),i=n(162);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},function(e,t,n){"use strict";var r=n(61);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(228);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";var r=n(61);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var l=[];l.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),r.isString(i)&&l.push("path="+i),r.isString(o)&&l.push("domain="+o),!0===a&&l.push("secure"),document.cookie=l.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(383),i=n(384);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(61),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";var r=n(61);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(388),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={},a=r.version.split(".");function l(e,t){for(var n=t?t.split("."):a,r=e.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]0;){var o=r[i],a=t[o];if(a){var l=e[o],s=void 0===l||a(l,o,e);if(!0!==s)throw new TypeError("option "+o+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},function(e){e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},function(e,t,n){"use strict";var r=n(231);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},function(e,t,n){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=s(e),a=r[0],l=r[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),u=0,d=l>0?a-4:a;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,l=0,s=n-i;ls?s:l+a));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0;l<64;++l)r[l]=a[l],i[a.charCodeAt(l)]=l;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,n){for(var i,o,a=[],l=t;l>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,l=8*i-r-1,s=(1<>1,u=-7,d=n?i-1:0,p=n?-1:1,m=e[t+d];for(d+=p,o=m&(1<<-u)-1,m>>=-u,u+=l;u>0;o=256*o+e[t+d],d+=p,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===o)o=1-c;else{if(o===s)return a?NaN:1/0*(m?-1:1);a+=Math.pow(2,r),o-=c}return(m?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,l,s,c=8*o-i-1,u=(1<>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,m=r?0:o-1,f=r?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+d>=1?p/s:p*Math.pow(2,1-d))*s>=2&&(a++,s/=2),a+d>=u?(l=0,a=u):a+d>=1?(l=(t*s-1)*Math.pow(2,i),a+=d):(l=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+m]=255&l,m+=f,l/=256,i-=8);for(a=a<0;e[n+m]=255&a,m+=f,a/=256,c-=8);e[n+m-f]|=128*b}},function(e,t){},function(e,t,n){var r;e.exports=(r=n(71),function(){var e=r,t=e.lib.WordArray;function n(e,n,r){for(var i=[],o=0,a=0;a>>6-a%4*2;i[o>>>2]|=l<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,l=0;l<4&&o+.75*l>>6*(3-l)&63));var s=r.charAt(64);if(s)for(;i.length%4;)i.push(s);return i.join("")},parse:function(e){var t=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o>>2];e.sigBytes-=t}},b=(n.BlockCipher=u.extend({cfg:u.cfg.extend({mode:m,padding:f}),reset:function(){var e;u.reset.call(this);var t=this.cfg,n=t.iv,r=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=r.createEncryptor:(e=r.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,n&&n.words):(this._mode=e.call(r,this,n&&n.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),n.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),h=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;return(n?o.create([1398893684,1701076831]).concat(n).concat(t):t).toString(s)},parse:function(e){var t,n=s.parse(e),r=n.words;return 1398893684==r[0]&&1701076831==r[1]&&(t=o.create(r.slice(2,4)),r.splice(0,4),n.sigBytes-=16),b.create({ciphertext:n,salt:t})}},v=n.SerializableCipher=i.extend({cfg:i.extend({format:h}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),a=i.cfg;return b.create({ciphertext:o,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),g=(t.kdf={}).OpenSSL={execute:function(e,t,n,r,i){if(r||(r=o.random(8)),i)a=c.create({keySize:t+n,hasher:i}).compute(e,r);else var a=c.create({keySize:t+n}).compute(e,r);var l=o.create(a.words.slice(t),4*n);return a.sigBytes=4*t,b.create({key:a,iv:l,salt:r})}},j=n.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:g}),encrypt:function(e,t,n,r){var i=(r=this.cfg.extend(r)).kdf.execute(n,e.keySize,e.ivSize,r.salt,r.hasher);r.iv=i.iv;var o=v.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt,r.hasher);return r.iv=i.iv,v.decrypt.call(this,e,t,i.key,r)}})}()))},function(e,t,n){"use strict";var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function o(e,t,n){var i=null;if(void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in n={},t)"key"!==o&&(n[o]=t[o]);else n=t;return t=n.ref,{$$typeof:r,type:e,key:i,ref:void 0!==t?t:null,props:n}}t.Fragment=i,t.jsx=o,t.jsxs=o},function(e,t,n){"use strict";e.exports=n(399)},function(e,t,n){"use strict";var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function o(e,t,n){var i=null;if(void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in n={},t)"key"!==o&&(n[o]=t[o]);else n=t;return t=n.ref,{$$typeof:r,type:e,key:i,ref:void 0!==t?t:null,props:n}}t.Fragment=i,t.jsx=o,t.jsxs=o},function(e,t,n){"use strict";e.exports=(e,t)=>!0===e.lazy||e.lazy instanceof Array&&e.lazy.includes(t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isStatic=void 0;const r=n(402);t.isStatic=(e,t)=>{const{static:n}=e;return(0,r.isArray)(n)&&(0,r.isString)(t)?n.includes(t):!0===n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=t.hasOwnProperty=t.isObject=t.isBoolean=t.isArray=t.isOk=t.isDefined=t.isString=t.isNumber=void 0;t.isNumber=e=>"number"==typeof e&&!Number.isNaN(e);t.isString=e=>"string"==typeof e;t.isDefined=e=>void 0!==e;t.isOk=e=>null!=e;t.isArray=e=>Array.isArray(e);t.isBoolean=e=>"boolean"==typeof e;t.isObject=e=>"object"==typeof e&&null!==e&&!Array.isArray(e);t.hasOwnProperty=(e,n)=>(0,t.isObject)(e)&&Object.prototype.hasOwnProperty.call(e,n);t.isFunction=e=>"function"==typeof e},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=/^[a-zA-Z:_][a-zA-Z0-9:_.-]*$/,i={revert:function(){}},o=new Map,a=new Set;function l(e){var t=o.get(e);return t||o.set(e,t={element:e,attributes:{}}),t}function s(e,t,n,r,i){var o=n(e),a={isDirty:!1,originalValue:o,virtualValue:o,mutations:[],el:e,_positionTimeout:null,observer:new MutationObserver((function(){if("position"!==t||!a._positionTimeout){"position"===t&&(a._positionTimeout=setTimeout((function(){a._positionTimeout=null}),1e3));var r=n(e);"position"===t&&r.parentNode===a.virtualValue.parentNode&&r.insertBeforeNode===a.virtualValue.insertBeforeNode||r!==a.virtualValue&&(a.originalValue=r,i(a))}})),mutationRunner:i,setValue:r,getCurrentValue:n};return"position"===t&&e.parentNode?a.observer.observe(e.parentNode,{childList:!0,subtree:!0,attributes:!1,characterData:!1}):a.observer.observe(e,function(e){return"html"===e?{childList:!0,subtree:!0,attributes:!0,characterData:!0}:{childList:!1,subtree:!1,attributes:!0,attributeFilter:[e]}}(t)),a}function c(e,t){var n=t.getCurrentValue(t.el);t.virtualValue=e,e&&"string"!=typeof e?n&&e.parentNode===n.parentNode&&e.insertBeforeNode===n.insertBeforeNode||(t.isDirty=!0,N()):e!==n&&(t.isDirty=!0,N())}function u(e){var t=e.originalValue;e.mutations.forEach((function(e){return t=e.mutate(t)})),c(function(e){return y||(y=document.createElement("div")),y.innerHTML=e,y.innerHTML}(t),e)}function d(e){var t=new Set(e.originalValue.split(/\s+/).filter(Boolean));e.mutations.forEach((function(e){return e.mutate(t)})),c(Array.from(t).filter(Boolean).join(" "),e)}function p(e){var t=e.originalValue;e.mutations.forEach((function(e){return t=e.mutate(t)})),c(t,e)}function m(e){var t=e.originalValue;e.mutations.forEach((function(e){var n=function(e){var t=e.insertBeforeSelector,n=document.querySelector(e.parentSelector);if(!n)return null;var r=t?document.querySelector(t):null;return t&&!r?null:{parentNode:n,insertBeforeNode:r}}(e.mutate());t=n||t})),c(t,e)}var f=function(e){return e.innerHTML},b=function(e,t){return e.innerHTML=t};function h(e){var t=l(e);return t.html||(t.html=s(e,"html",f,b,u)),t.html}var v=function(e){return{parentNode:e.parentElement,insertBeforeNode:e.nextElementSibling}},g=function(e,t){t.insertBeforeNode&&!t.parentNode.contains(t.insertBeforeNode)||t.parentNode.insertBefore(e,t.insertBeforeNode)};function j(e){var t=l(e);return t.position||(t.position=s(e,"position",v,g,m)),t.position}var y,x,O=function(e,t){return t?e.className=t:e.removeAttribute("class")},w=function(e){return e.className};function _(e){var t=l(e);return t.classes||(t.classes=s(e,"class",w,O,d)),t.classes}function C(e,t){var n,r=l(e);return r.attributes[t]||(r.attributes[t]=s(e,t,(n=t,function(e){var t;return null!=(t=e.getAttribute(n))?t:null}),function(e){return function(t,n){return null!==n?t.setAttribute(e,n):t.removeAttribute(e)}}(t),p)),r.attributes[t]}function k(e,t,n){if(n.isDirty){n.isDirty=!1;var r=n.virtualValue;n.mutations.length||function(e,t){var n,r,i=o.get(e);if(i)if("html"===t)null==(n=i.html)||null==(r=n.observer)||r.disconnect(),delete i.html;else if("class"===t){var a,l;null==(a=i.classes)||null==(l=a.observer)||l.disconnect(),delete i.classes}else if("position"===t){var s,c;null==(s=i.position)||null==(c=s.observer)||c.disconnect(),delete i.position}else{var u,d,p;null==(u=i.attributes)||null==(d=u[t])||null==(p=d.observer)||p.disconnect(),delete i.attributes[t]}}(e,t),n.setValue(e,r)}}function S(e,t){e.html&&k(t,"html",e.html),e.classes&&k(t,"class",e.classes),e.position&&k(t,"position",e.position),Object.keys(e.attributes).forEach((function(n){k(t,n,e.attributes[n])}))}function N(){o.forEach(S)}function L(e){if("position"!==e.kind||1!==e.elements.size){var t=new Set(e.elements);document.querySelectorAll(e.selector).forEach((function(n){t.has(n)||(e.elements.add(n),function(e,t){var n=null;"html"===e.kind?n=h(t):"class"===e.kind?n=_(t):"attribute"===e.kind?n=C(t,e.attribute):"position"===e.kind&&(n=j(t)),n&&(n.mutations.push(e),n.mutationRunner(n))}(e,n))}))}}function E(){a.forEach(L)}function P(){"undefined"!=typeof document&&(x||(x=new MutationObserver((function(){E()}))),E(),x.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!1,characterData:!1}))}function T(e){return"undefined"==typeof document?i:(a.add(e),L(e),{revert:function(){var t;(t=e).elements.forEach((function(e){return function(e,t){var n=null;if("html"===e.kind?n=h(t):"class"===e.kind?n=_(t):"attribute"===e.kind?n=C(t,e.attribute):"position"===e.kind&&(n=j(t)),n){var r=n.mutations.indexOf(e);-1!==r&&n.mutations.splice(r,1),n.mutationRunner(n)}}(t,e)})),t.elements.clear(),a.delete(t)}})}function M(e,t){return T({kind:"html",elements:new Set,mutate:t,selector:e})}function A(e,t){return T({kind:"position",elements:new Set,mutate:t,selector:e})}function I(e,t){return T({kind:"class",elements:new Set,mutate:t,selector:e})}function D(e,t,n){return r.test(t)?"class"===t||"className"===t?I(e,(function(e){var t=n(Array.from(e).join(" "));e.clear(),t&&t.split(/\s+/g).filter(Boolean).forEach((function(t){return e.add(t)}))})):T({kind:"attribute",attribute:t,elements:new Set,mutate:n,selector:e}):i}P();var R={html:M,classes:I,attribute:D,position:A,declarative:function(e){var t=e.selector,n=e.action,r=e.value,o=e.attribute,a=e.parentSelector,l=e.insertBeforeSelector;if("html"===o){if("append"===n)return M(t,(function(e){return e+(null!=r?r:"")}));if("set"===n)return M(t,(function(){return null!=r?r:""}))}else if("class"===o){if("append"===n)return I(t,(function(e){r&&e.add(r)}));if("remove"===n)return I(t,(function(e){r&&e.delete(r)}));if("set"===n)return I(t,(function(e){e.clear(),r&&e.add(r)}))}else if("position"===o){if("set"===n&&a)return A(t,(function(){return{insertBeforeSelector:l,parentSelector:a}}))}else{if("append"===n)return D(t,o,(function(e){return null!==e?e+(null!=r?r:""):null!=r?r:""}));if("set"===n)return D(t,o,(function(){return null!=r?r:""}));if("remove"===n)return D(t,o,(function(){return null}))}return i}};t.connectGlobalObserver=P,t.default=R,t.disconnectGlobalObserver=function(){x&&x.disconnect()},t.validAttributeName=r},function(e,t,n){"use strict";var r;r=function(){var e={},t={};return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!==n&&t[e.name].splice(n,1)},e.trigger=function(e,n){var r,i=t[e];if(i)for(r=i.length;r--;)i[r].handler(n)},e},e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(406),o=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){return new Promise((function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)t(window.YT);else{var n="http:"===window.location.protocol?"http:":"https:";(0,o.default)(n+"//www.youtube.com/iframe_api",(function(t){t&&e.trigger("error",t)}));var r=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){r&&r(),t(window.YT)}}}))},e.exports=t.default},function(e,t){function n(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function r(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,t,i){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof t&&(i=t,t={}),t=t||{},i=i||function(){},a.type=t.type||"text/javascript",a.charset=t.charset||"utf8",a.async=!("async"in t)||!!t.async,a.src=e,t.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,t.attrs),t.text&&(a.text=""+t.text),("onload"in a?n:r)(a,i),a.onload||n(a,i),o.appendChild(a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(408)),i=l(n(411)),o=l(n(412)),a=l(n(413));function l(e){return e&&e.__esModule?e:{default:e}}var s=(0,r.default)("youtube-player"),c={proxyEvents:function(e){var t={},n=function(n){var r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=function(t){s('event "%s"',r,t),e.trigger(n,t)}},r=!0,i=!1,a=void 0;try{for(var l,c=o.default[Symbol.iterator]();!(r=(l=c.next()).done);r=!0){n(l.value)}}catch(e){i=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(i)throw a}}return t},promisifyPlayer:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=function(r){t&&a.default[r]?n[r]=function(){for(var t=arguments.length,n=Array(t),i=0;i=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(i())}).call(this,n(80))},function(e,t,n){var r;function i(e){function n(){if(n.enabled){var e=n,i=+new Date,o=i-(r||i);e.diff=o,e.prev=r,e.curr=i,r=i;for(var a=new Array(arguments.length),l=0;l0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var l=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*a;case"days":case"day":case"d":return l*o;case"hours":case"hour":case"hrs":case"hr":case"h":return l*i;case"minutes":case"minute":case"mins":case"min":case"m":return l*r;case"seconds":case"second":case"secs":case"sec":case"s":return l*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}(e);if("number"===c&&!1===isNaN(e))return t.long?l(s=e,o,"day")||l(s,i,"hour")||l(s,r,"minute")||l(s,n,"second")||s+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=i)return Math.round(e/i)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(414),o=(r=i)&&r.__esModule?r:{default:r};t.default={pauseVideo:{acceptableStates:[o.default.ENDED,o.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[o.default.ENDED,o.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[o.default.ENDED,o.default.PLAYING,o.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(134),a=n(96);t.default=(0,i.memo)((function(e){var t,n=e.filterMenus,i=e.handleMenuToggle,l=e.openMenu,s=e.handleFilterSelect,c=e.getOptionsForType,u=e.getSelectedValues,d=e.customPriceValues,p=e.handleClearFilters,m=e.handleApplyFilters,f=e.customWrapperClass;return(0,r.jsxs)("div",{className:f,children:[(0,r.jsx)("div",{className:"sticky top-0 bg-white w-full z-[2] rounded-t-lg",children:(0,r.jsx)("div",{className:"flex gap-x-4 mx-5 py-2.5 border-b-2 border-solid border-black",children:null==n?void 0:n.map((function(e){return(0,r.jsxs)("button",{onClick:function(){return i(e)},className:"flex items-center bg-white font-grot10 text-4 leading-5 font-normal cursor-pointer ".concat(l===e?"text-primary":"text-neutral-mid-gray"),children:[(t=e,t[0].toUpperCase()+t.slice(1)),(0,r.jsx)("span",{className:"ml-1 mt-1",children:(0,r.jsx)(o.ChevronUpIcon,{size:"small",color:l===e?"#222222":"#84858B",customClass:"transition-transform duration-700".concat(l===e?" rotate-180":"")})})]},e);var t}))})}),(0,r.jsx)("div",{className:"flex-1 overflow-y-auto p-3",children:(0,r.jsx)("div",{className:"sm:grid xl:block ".concat("price"===l?"sm:grid-cols-1":"sm:grid-cols-2"),children:null===(t=c(l))||void 0===t?void 0:t.map((function(e){var t;return(0,r.jsxs)("label",{className:"flex items-center m-2 cursor-pointer",children:[(0,r.jsx)("input",{type:"checkbox",name:l,value:e,checked:null===(t=u(l))||void 0===t?void 0:t.includes(e),onChange:function(){return s(l,e)},className:'relative shrink-0 h-4 w-4 border-2 border-solid rounded-sm border-neutral-light-text cursor-pointer appearance-none\n checked:bg-secondary-yellow checked:border-secondary-yellow checked:after:content-[""] checked:after:absolute checked:after:left-[0.219rem]\n checked:after:top-[0.031rem] checked:after:w-[0.188rem] checked:after:h-[0.438rem] checked:after:border-solid checked:after:border-primary\n checked:after:border-r-2 checked:after:border-b-2 checked:after:border-t-0 checked:after:border-l-0 checked:after:rotate-45'}),(0,r.jsxs)("span",{className:"ml-2 font-grot10 text-4 leading-5 text-primary font-normal",children:[e,(null==e?void 0:e.includes("$"))&&d&&(0,r.jsx)("span",{className:"ml-1 text-neutral-mid-gray",children:d[e]})]})]},e)}))})}),(0,r.jsxs)("div",{className:"shadow-[0_0_20px_0_rgba(0,_0,_0,_0.1)] sticky bottom-0 flex gap-x-4 justify-end items-center p-4 bg-white rounded-b-lg",children:[(0,r.jsx)("button",{onClick:p,className:"font-grot10 text-4 leading-5 font-medium text-primary bg-white cursor-pointer",children:"Clear filters"}),(0,r.jsx)(a.Button,{size:"medium",onClick:m,customClass:"bg-shades-yellow-70 !text-primary !font-medium hover:!bg-secondary-yellow focus!:ring-4 focus:!ring-secondary-yellow",children:"Apply"})]})]})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(134);t.default=(0,i.memo)((function(e){var t=e.title,n=e.isOpen,i=e.onToggle,a=e.selectedCount;return(0,r.jsxs)("button",{type:"button",onClick:i,className:"flex items-center justify-between w-full px-3 py-2 text-left bg-white\n border border-solid border-neutral-light-charcoal-gray rounded-md cursor-pointer",children:[(0,r.jsxs)("span",{className:"flex items-center",children:[(0,r.jsx)("span",{className:"font-grot10 text-4 leading-5 font-normal capitalize text-neutral-text-color",children:t}),!!a&&a>=1&&(0,r.jsx)("div",{className:"ml-2 flex h-2 w-2 p-1.5 flex-col justify-center items-center rounded-[20px] bg-black",children:(0,r.jsx)("span",{className:"text-center text-white font-grot10 font-bold text-3",children:a})})]}),(0,r.jsx)(o.ChevronUpIcon,{size:"small",customClass:"transition-transform duration-300 ".concat(n?"":"rotate-180")})]})}))},function(e,t,n){var r;e.exports=(r=n(71),n(129),n(233),r.HmacSHA1)},function(e,t,n){var r;e.exports=(r=n(71),r.enc.Hex)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SESSION_EXPIRED_ERRORS=["invalid_grant","invalid_token","expired_token"],t.LOGIN_REQUIRED_ERRORS=["login_required","missing_refresh_token"],t.INTERACTION_REQUIRED_ERRORS=["consent_required","interaction_required","mfa_required"],t.RATE_LIMIT_ERRORS=["too_many_requests","rate_limit_exceeded"],t.NETWORK_ERROR_MESSAGE_SUBSTRINGS=["network","timeout","failed to fetch","load failed"]},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ShareForwardIcon=void 0;var r=n(0);t.ShareForwardIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"black":i,a=e.customClass,l=void 0===a?"":a,s=e.width,c=void 0===s?"12":s,u=e.height,d=void 0===u?"12":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--share-forward inq-icon--".concat(n).concat(l),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:c,height:d,viewBox:"0 0 12 12",fill:"none",children:(0,r.jsx)("path",{d:"M6.5 7H5.5C4.6798 6.99969 3.87512 7.22357 3.17294 7.64745C2.47076 8.07133 1.8978 8.67908 1.516 9.405C1.50527 9.27027 1.49993 9.13516 1.5 9C1.5 6.2385 3.7385 4 6.5 4V1.25L11.75 5.5L6.5 9.75V7ZM5.5 6H7.5V7.654L10.1605 5.5L7.5 3.346V5H6.5C5.92513 4.99935 5.3569 5.12291 4.8342 5.36221C4.31149 5.60151 3.84666 5.95091 3.4715 6.3865C4.11716 6.13061 4.80548 5.99946 5.5 6Z",fill:o})})})}},,function(e,t,n){"use strict";var r=n(1),i=n(107),o=n(90),a=n(424),l=n(6),s=n(12),c=n(105),u=n(0);t.a=({featureImage:e,metaOverrides:t,shouldShowMeta:n=!1,handleAnalytics:d=(()=>{}),isFinderPage:p=!1})=>{const[m,f]=Object(r.useState)(!1),b=Object(r.useMemo)((()=>(null==t?void 0:t.caption)||(null==e?void 0:e.caption)||""),[null==t?void 0:t.caption,null==e?void 0:e.caption]),h=Object(r.useMemo)((()=>(null==t?void 0:t.credit)||(e?Object(l.m)(e):"")),[null==t?void 0:t.credit,e]),v=Object(r.useMemo)((()=>e&&n&&(b||h)),[e,n,b,h]),g=Object(r.useCallback)((()=>{const e=!m;f(e),"undefined"!=typeof window&&(window.PMNdataLayer.push({event:"ga_generic_event",interactionDetail:"image-byline",interactionType:"click",userInteraction:e?"caption_open":"caption_close"}),d(c.a.CLICK,"image-info-icon"))}),[m,d]);return Object(u.jsxs)("div",{className:"relative",onClick:v?()=>g():()=>{},children:[Object(u.jsxs)("div",{className:v?"cursor-pointer":"",children:[Object(u.jsx)(o.Image,{src:(null==e?void 0:e.imageWebUrl)||`${s.a}restaurant-image-placeholder.png`,alt:(null==e?void 0:e.caption)||"",imageRatio:"3x2",type:"topper",sizes:"(min-width: 1024px) 500px, (min-width: 768px) 400px, (max-width: 480px) 500px, 100vw"}),v&&Object(u.jsx)("div",{className:"absolute right-0 bottom-0 p-2 md:p-4",children:Object(u.jsx)("span",{onClick:()=>p&&d(c.a.CLICK,"pop-out-card | image_icon"),className:"bg-transparent cursor-pointer "+(m?"hidden":""),children:Object(u.jsx)(a.InfoButtonIcon,{customClass:" flex"})})})]}),v&&Object(u.jsx)("div",{className:"min-w-full",children:Object(u.jsx)("div",{className:"bg-black bg-opacity-75 p-2 md:p-4 cursor-pointer font-grot10 text-xs leading-4 lg:text-sm lg:leading-5 absolute bottom-0 inset-x-0 "+(m?"":"hidden"),children:Object(u.jsxs)("div",{className:"relative",children:[Object(u.jsxs)("div",{className:"mr-4 pr-4 flex flex-col",children:[Object(u.jsx)("p",{className:"scrollbar-hidden text-white flex flex-1 overflow-auto max-h-[170px]",children:b}),Object(u.jsx)("p",{className:"text-neutral-light-charcoal-gray",children:h})]}),Object(u.jsx)("span",{className:"bg-transparent cursor-pointer absolute top-0 right-0",children:Object(u.jsx)(i.CloseIcon,{size:"small",customClass:"fill-white h-3 w-3"})})]})})})]})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InfoButtonIcon=void 0;var r=n(0);t.InfoButtonIcon=function(e){var t=e.size,n=void 0===t?"none":t,i=e.customClass,o=void 0===i?"":i,a=e.width,l=void 0===a?"24":a,s=e.height,c=void 0===s?"24":s;return(0,r.jsx)("div",{className:"inq-icon inq-icon--link inq-icon--".concat(n).concat(o),children:(0,r.jsxs)("svg",{width:l,height:c,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M11.998 22C6.4752 22 1.99805 17.5228 1.99805 12C1.99805 6.47715 6.4752 2 11.998 2C17.5208 2 21.998 6.47715 21.998 12C21.998 17.5228 17.5208 22 11.998 22Z",fill:"black",fillOpacity:"0.75"}),(0,r.jsx)("path",{d:"M11.998 22C6.4752 22 1.99805 17.5228 1.99805 12C1.99805 6.47715 6.4752 2 11.998 2C17.5208 2 21.998 6.47715 21.998 12C21.998 17.5228 17.5208 22 11.998 22ZM11.998 20C16.4163 20 19.998 16.4183 19.998 12C19.998 7.58172 16.4163 4 11.998 4C7.57977 4 3.99805 7.58172 3.99805 12C3.99805 16.4183 7.57977 20 11.998 20ZM12.998 10.5V15H13.998V17H9.99805V15H10.998V12.5H9.99805V10.5H12.998ZM13.498 8C13.498 8.82843 12.8264 9.5 11.998 9.5C11.1696 9.5 10.498 8.82843 10.498 8C10.498 7.17157 11.1696 6.5 11.998 6.5C12.8264 6.5 13.498 7.17157 13.498 8Z",fill:"white"})]})})}},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(146),a=n.n(o),l=n(184),s=n.n(l),c=n(9),u=n(0);const d=({story:e,dataCardType:t,dataLinkType:n,isFinderCardType:i=!1,onClickMoreGuideModule:o})=>{var l,d,p,m,f;const{promo_items:b,canonical_url:h,headlines:v,description:g}=e,j=Object(r.useMemo)((()=>{var e;return Boolean(null==b||null===(e=b.video)||void 0===e?void 0:e._id)}),[null==b||null===(l=b.video)||void 0===l?void 0:l._id]),y=Object(r.useMemo)((()=>{var e;return(null==b||null===(e=b.youtube)||void 0===e?void 0:e.content)?b.youtube:void 0}),[null==b||null===(d=b.youtube)||void 0===d?void 0:d.content]),x=Object(r.useMemo)((()=>{var e,t,n,r,i,o;return b?j&&(null===(e=b.video)||void 0===e||null===(t=e.promo_items)||void 0===t||null===(n=t.basic)||void 0===n?void 0:n.url)?b.video.promo_items.basic:(null===(r=b.promo)||void 0===r?void 0:r.url)?b.promo:(null===(i=b.lead_art)||void 0===i?void 0:i.url)?b.lead_art:(null===(o=b.basic)||void 0===o?void 0:o.url)?b.basic:null:null}),[b,j]),O=Object(r.useMemo)((()=>Boolean(!Object(c.i)(x)||!Object(c.i)(y))),[x,y]),w=Object(r.useMemo)((()=>{if(!(null==y?void 0:y.content))return"";const e=(null==y?void 0:y.content)||"";return(e.split("v=")[1]||e.split("youtu.be/")[1]||"").split("&")[0]}),[null==y?void 0:y.content]);return Object(u.jsxs)("div",{className:"flex gap-4 rounded-lg border border-solid\n border-neutral-light-gray "+(i?"p-4":"p-3"),onClick:()=>o(null!=h?h:""),children:[O&&Object(u.jsx)(u.Fragment,{children:Object(c.i)(y)?Object(u.jsx)("a",{href:h,children:Object(u.jsxs)("div",{className:"relative cursor-pointer "+(i?"rounded-lg aspect-[2/3] sm:aspect-[3/2] w-15 sm:w-[120px] lg:w-[180px]":"rounded w-20 h-20 lg:w-24 lg:h-24"),children:[(null==x?void 0:x.src)||(null==x?void 0:x.url)?Object(u.jsx)("img",{className:"w-full h-full object-cover "+(i?"rounded-lg":"rounded"),alt:(null==x?void 0:x.alt)||"",src:(null==x?void 0:x.src)||(null==x?void 0:x.url),srcSet:(null==x?void 0:x.image_srcset)||""}):j&&Object(u.jsx)("div",{className:"w-full h-full bg-black"}),j&&Object(u.jsx)("span",{className:"absolute inset-0 flex items-center justify-center",children:Object(u.jsx)("i",{className:"w-[50px] h-[50px] bg-center bg-no-repeat bg-contain bg-play-icon","data-selected":"true","data-label-id":"0"})})]})}):Object(u.jsx)("iframe",{className:"object-cover "+(i?"rounded-lg aspect-[2/3] sm:aspect-[3/2] w-15 sm:w-[120px] lg:w-[180px]":"rounded w-20 h-20lg:w-24 lg:h-24"),allowFullScreen:!0,title:w,src:`https://www.youtube.com/embed/${w}`,"data-location":"article","data-category":"youtube"})}),Object(u.jsxs)("div",{className:"flex flex-col "+(i?"gap-2":"gap-1"),children:[Object(u.jsx)(a.a,{headline:(null==v?void 0:v.basic)||"",canonicalUrl:h||"",dataCardType:t,dataLinkType:n,textHeadlineCustomSize:" text-5 leading-none"}),i&&Object(u.jsx)("div",{className:"hidden lg:block [&_p]:text-primary",children:Object(u.jsx)(s.a,{description:(null==g?void 0:g.basic)||"",canonicalUrl:h||""})}),Object(u.jsx)("span",{className:"font-grot10 text-4 font-normal leading-4.5 text-neutral-text-color",children:null==e||null===(p=e.credits)||void 0===p||null===(m=p.by)||void 0===m||null===(f=m[0])||void 0===f?void 0:f.name})]})]})};t.a=i.a.memo(d)},,,,function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(16),a=n(254),l=n(30),s=n(28),c=n(0);const u=({citeUrl:e,citeText:t,textAfterCite:n})=>Object(c.jsxs)(c.Fragment,{children:[",",e&&t&&Object(c.jsx)("a",{href:e,className:"no-underline text-blue-mid",children:` ${t}`}),n&&` ${n}`]}),d=({title:e,description:t,iconSrc:n,url:r,dataLinkType:i="article",cite:o})=>Object(c.jsx)(c.Fragment,{children:(e||t)&&Object(c.jsxs)("div",{className:"type-section-header-1 mt-1 flex flex-col w-full lg:leading-none lg:flex-row lg:items-center lg:text-[15px]",children:[e&&Object(c.jsxs)("span",{className:"text-black font-semibold text-4 leading-4 sm:text-5 sm:leading-5 flex items-center",children:[n&&Object(c.jsx)("img",{className:"mr-1 w-4 h-4",src:n}),r?Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)("a",{href:r,className:"text-black no-underline hover:text-blue-mid","data-link-type":`${i}-eyebrow`,children:e})," "]}):Object(c.jsx)(c.Fragment,{children:`${e} `})]}),t&&Object(c.jsxs)("span",{className:"italic text-gray-dark lg:ml-0 font-grot10 text-3 leading-4 md:text-3.5 md:leading-4.5 lg:text-4 lg:leading-5 font-normal normal-case"+(n?" ml-4.5":""),children:[t,o&&Object(c.jsx)(u,{citeUrl:(null==o?void 0:o.citeUrl)||"",citeText:(null==o?void 0:o.citeText)||"",textAfterCite:(null==o?void 0:o.textAfterCite)||""}),"."]})]})});var p=i.a.memo(d);const m=({outputType:e,dataLinkType:t="article"})=>Object(c.jsx)("div",{className:"inq-topper type-opinion-eyebrow w-full inline-flex "+("app-web-view"===e?"pt-4":""),children:Object(c.jsx)("div",{className:"inq-eyebrow--text",children:Object(c.jsx)("a",{href:"https://www.inquirer.com/opinion",className:"pointer no-underline","data-link-type":`${t}-eyebrow`,children:"Opinion"})})});var f=Object(r.memo)(m),b=n(284);const h=({description:e,iconSrc:t})=>{const[n,i]=Object(r.useState)(!1),[o,a]=Object(r.useState)(!1),l=o?"This content was paid for by a partner and produced by INQStudio. \n\n The Inquirer newsroom was not involved in its creation.":"This content was paid for by a partner and produced by INQStudio.\nThe Inquirer newsroom was not involved in its creation.";return Object(r.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>{a(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),Object(r.useEffect)((()=>{if("undefined"!=typeof document&&n){const e=e=>{"Escape"===e.key&&i(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}}),[n]),Object(c.jsxs)("div",{className:"lg:pt-3 pt-5 relative",children:[Object(c.jsxs)("div",{className:"flex flex-row items-center gap-x-1",children:[Object(c.jsx)("img",{className:"w-3 sm:w-3.5 lg:w-4 h-3 sm:h-3.5 lg:h-4",src:t}),Object(c.jsx)("p",{className:"font-grot10 uppercase text-primary text-xs leading-3 sm:text-sm sm:leading-3.5 lg:text-md lg:leading-4 pt-px cursor-pointer",onClick:()=>i(!n),children:e})]}),n&&Object(c.jsx)("div",{className:"absolute z-9 mt-3 md:mt-0 md:-top-2.5 ml-24 md:ml-44 md:left-2 lg:ml-52",children:Object(c.jsx)(b.a,{position:o?"arrow-topLeft":"arrow-leftSideCenter",svgFill:"fill-[#EDF6F9]",svgStroke:"stroke-[#0481A7]",customClasses:"border-[#0481A7] bg-[#EDF6F9]",toolTipText:l,phillyFirstTooltip:!0,showCloseButton:!0,closeTooltip:()=>i(!1)})})]})};var v=i.a.memo(h),g=n(6);const j=({story:e,outputType:t,articleCategory:n,isPhillyFirst:r,hasRegularArticleBreadcrumb:i})=>{var u;let d;var m,b,h,j,y,x,O,w,_,C,k,S;((null==e?void 0:e.subtype)===l.m||r)&&(d=Object(o.useContent)({source:"sites-api-mixed-content",query:{namespace:"website",category:"section",queryParams:{_id:(null==e||null===(m=e.taxonomy)||void 0===m||null===(b=m.primary_section)||void 0===b?void 0:b._id)||""}}}));return(null==e?void 0:e.subtype)===l.m&&d?Object(c.jsx)(p,{title:null===(h=d)||void 0===h||null===(j=h.site)||void 0===j?void 0:j.site_title,description:null===(y=d)||void 0===y||null===(x=y.site)||void 0===x?void 0:x.site_description,iconSrc:Object(s.k)(e,d),url:null===(O=d)||void 0===O||null===(w=O.site)||void 0===w?void 0:w.site_url,cite:null===(_=d)||void 0===_||null===(C=_.site)||void 0===C?void 0:C.site_cite}):Object(g.C)(null==e||null===(u=e.taxonomy)||void 0===u?void 0:u.sections)?Object(c.jsx)(f,{outputType:t}):(null==n?void 0:n.name)?Object(c.jsxs)("div",{className:"flex flex-col w-full",children:[!i&&Object(c.jsx)(a.a,{category:n,hasImage:!0,wrapperClassName:"type-article-eyebrow p-0 mr-4 w-full transition-all",eyebrowClassName:"text-black hover:text-blue-mid no-underline",dataLinkType:"article"}),r&&d&&Object(c.jsx)(v,{description:null===(k=d)||void 0===k||null===(S=k.site)||void 0===S?void 0:S.site_description,iconSrc:Object(s.k)(e,d)})]}):null};t.a=i.a.memo(j)},function(e,t,n){"use strict";var r=n(1),i=n(0);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=({mapData:e,activePlace:t,handleMarkerClick:n,adjustHeight:l=!1,isMobile:s=!1,isFinderMap:c=!1,className:u="",offset:d=[0,0]})=>{const p=Object(r.useRef)(null),m=Object(r.useRef)(null),f=Object(r.useRef)(new Map),b=Object(r.useMemo)((()=>l),[l]),h=Object(r.useRef)(null),v=Object(r.useCallback)((()=>{let t,n,r,i;return e.forEach((e=>{const o=parseFloat(null==e?void 0:e.longitude),a=parseFloat(null==e?void 0:e.latitude);(t&&on||!n)&&(n=o),(r&&ai||!i)&&(i=a)})),[[t,r],[n,i]]}),[e]),g=Object(r.useCallback)((()=>{var e;const t=v();null===(e=p.current)||void 0===e||e.fitBounds(t,{padding:60})}),[v]),j=Object(r.useCallback)((e=>{f.current&&e.forEach((e=>{const t=f.current.get(e);t&&(t.remove(),f.current.delete(e))}))}),[]),y=Object(r.useCallback)((()=>{const t=new DOMParser;e.forEach((e=>{var r;if((null==e?void 0:e.latitude)&&(null==e?void 0:e.longitude)&&(null==e?void 0:e.slug)&&((null==e?void 0:e.name)||(null==e?void 0:e.place_name))&&!(null==f||null===(r=f.current)||void 0===r?void 0:r.has(e.slug))){var i;const r=`\n
\n \n \n \n
`,o=t.parseFromString(r,"text/html").body.firstChild;let a;o&&o.addEventListener("click",(()=>{n(null==e?void 0:e.slug,(null==e?void 0:e.name)||(null==e?void 0:e.place_name))})),(null==p?void 0:p.current)&&(a=new window.maplibregl.Marker({element:o}).setLngLat([parseFloat(null==e?void 0:e.longitude),parseFloat(null==e?void 0:e.latitude)]).addTo(null==p?void 0:p.current)),null==f||null===(i=f.current)||void 0===i||i.set(null==e?void 0:e.slug,a)}}))}),[e,n]),x=Object(r.useCallback)((()=>{const t=new window.pmtiles.Protocol;window.maplibregl.addProtocol("pmtiles",t.tile);const n=new window.pmtiles.PMTiles("https://interactives.inquirer.com/melish/1.1/us-latest.pmtiles");if(t.add(n),n.getHeader(),null!==(null==m?void 0:m.current)){const t=[-75.165222,39.952583],n=150/69;let r;if((null==e?void 0:e.length)>0){const[[e,t],[i,o]]=v();r=[[e-n,t-n],[i+n,o+n]]}else r=[[t[0]-n,t[1]-n],[t[0]+n,t[1]+n]];p.current=new window.maplibregl.Map({container:null==m?void 0:m.current,zoom:13,center:[-75.165222,39.952583],style:"https://interactives.inquirer.com/melish/styles/netural.json",interactive:!0,attributionControl:!1,maxBounds:r})}const r=new window.maplibregl.NavigationControl({showCompass:!1,showZoom:!0,visualizePitch:!1});if(null==p?void 0:p.current){p.current.addControl(r,"top-right"),p.current.scrollZoom.disable(),p.current.touchPitch.disable();const e=window.innerWidth>1023;if(!c){var i;const t=e?20:Math.floor(.4*window.innerWidth);null==p||p.current.setPadding({left:e?window.innerWidth/2:t,bottom:e?t:window.innerHeight/1.35,right:t}),(null===(i=window)||void 0===i?void 0:i.innerWidth)<1024&&p.current.dragPan.disable()}}}),[]);return Object(r.useEffect)((()=>{var e,t;const n=null===(e=window)||void 0===e?void 0:e.maplibregl,r=null===(t=window)||void 0===t?void 0:t.pmtiles;n&&r&&(null==m?void 0:m.current)&&!(null==p?void 0:p.current)&&x()}),[]),Object(r.useEffect)((()=>{(null==e?void 0:e.length)&&(g(),y())}),[e,g,y]),Object(r.useEffect)((()=>{const n=e=>{var t;const n=null!=d?d:s?[0,90]:void 0;null==p||null===(t=p.current)||void 0===t||t.flyTo(function(e){for(var t=1;t{e.setAttribute("fill","#F0AF13"),e.setAttribute("stroke","#D98F00")})),t){const r=e.find((e=>(null==e?void 0:e.slug)===t));r&&n(r)}}),[t,e,s,d]),Object(r.useEffect)((()=>{if(!f.current)return;const t=Array.from(f.current.keys()),n=e.map((e=>{var t;return null!==(t=e.slug)&&void 0!==t?t:""})),r=t.filter((e=>!n.includes(e))),i=n.filter((e=>!t.includes(e)));r.length>0&&j(r),i.length>0&&y()}),[e,j,y]),Object(i.jsx)("div",{className:`map transition-all ease-in-out maplibregl-map ${b?"h-[150vh]":"h-screen"}${u}`,id:"map","aria-hidden":!0,ref:m})};t.a=Object(r.memo)(l)},function(e,t,n){"use strict";var r=n(1),i=n(104),o=n(717),a=n(134),l=n(10),s=n(320),c=n(317),u=n(167),d=n(423),p=n(425),m=n(0);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t{}),handleAnalytics:x,isFinderPage:O=!1,isMobile:w=!1,handleShareFromFinder:_=(()=>""),isDesktop:C=!1,foodVerticalAnalyticsObj:k=(()=>{})})=>{const[S,N]=Object(r.useState)(!1),[L,E]=Object(r.useState)(!1),[P,T]=Object(r.useState)("undefined"!=typeof window?window.innerHeight:0),M=Object(r.useRef)(null),A=Object(r.useMemo)((()=>null==e?void 0:e.photo_data),[null==e?void 0:e.photo_data]),I=Object(r.useMemo)((()=>({credit:null==e?void 0:e.photo_credit_override,caption:null==e?void 0:e.photo_caption_override}||{})),[null==e?void 0:e.photo_credit_override,null==e?void 0:e.photo_caption_override]),D=Object(r.useMemo)((()=>{const t=(null==e?void 0:e.cuisines)||(null==e?void 0:e.cuisine_name)||[];return t.length>=2?t[0]:t}),[null==e?void 0:e.cuisines,null==e?void 0:e.cuisine_name]),R=Object(r.useMemo)((()=>(null==e?void 0:e.price_range)||[]),[null==e?void 0:e.price_range]),$=Object(r.useMemo)((()=>(null==e?void 0:e.place_slug)||""),[null==e?void 0:e.place_slug]),q=Object(r.useMemo)((()=>(null==e?void 0:e.id)||""),[null==e?void 0:e.id]),B=Object(r.useMemo)((()=>{var t;return(null==e||null===(t=e.description)||void 0===t?void 0:t.trim())||""}),[null==e?void 0:e.description]),F=Object(r.useMemo)((()=>null==e?void 0:e.region),[null==e?void 0:e.region]),V=Object(r.useMemo)((()=>(null==e?void 0:e.name)||(null==e?void 0:e.place_name)||""),[null==e?void 0:e.name,null==e?void 0:e.place_name]),H=Object(r.useMemo)((()=>{var t;return(null==e||null===(t=e.related_articles)||void 0===t?void 0:t.slice(0,2))||[]}),[null==e?void 0:e.related_articles]),U=Object(r.useMemo)((()=>{const t=(null==e?void 0:e.cuisines)||(null==e?void 0:e.cuisine_name)||[];return Array.isArray(t)?t[0]:t}),[null==e?void 0:e.cuisines,null==e?void 0:e.cuisine_name]),z=Object(r.useMemo)((()=>Object(c.a)(R)),[R]),G=Object(r.useMemo)((()=>(null==e?void 0:e.address)||(null==e?void 0:e.full_address)||""),[null==e?void 0:e.address,null==e?void 0:e.full_address]),Y=Object(r.useMemo)((()=>(null==e?void 0:e.phone)||(null==e?void 0:e.phone_number)||""),[null==e?void 0:e.phone,null==e?void 0:e.phone_number]),W=Object(r.useMemo)((()=>(null==e?void 0:e.website)||(null==e?void 0:e.website_url)||""),[null==e?void 0:e.website,null==e?void 0:e.website_url]),Z=Object(r.useMemo)((()=>(null==e?void 0:e.has_multiple_addresses)||!1),[null==e?void 0:e.has_multiple_addresses]),K=Object(r.useMemo)((()=>{const e=O?`${j}${$}`:`${t}#${q}`;return`${Object(l.c)()}${e}`}),[t,$,O]),J=Object(r.useMemo)((()=>O||!C&&h?O?w?`${P}px`:"81vh":`${P}px`:""),[O,w,C,P,h]),X=Object(r.useMemo)((()=>f?O?"flex flex-col gap-6":"mb-6":"order-3 w-full"),[f,O]),Q=Object(r.useMemo)((()=>"bg-white "+(f?O&&!w?"details-card rounded-lg shadow-[0px_0px_20px_0px_rgba(0,0,0,0.10)] w-[330px] flex flex-1 flex-col z-[20] fixed overflow-y-auto overflow-x-hidden":"w-screen fixed top-0 z-[20] overflow-y-auto pb-6":"rounded-lg my-4 lg:my-6 shadow-card")),[f,O]),ee=Object(r.useMemo)((()=>f?"fixed z-[30] flex justify-end cursor-pointer bg-transparent"+(O&&!w?" details-card-close-button":" top-2 right-2 "):"hidden"),[f,O,w]),te=Object(r.useCallback)((()=>{if(null==M?void 0:M.current){const e=(null==M?void 0:M.current.scrollHeight)||0,t=3*(parseFloat(getComputedStyle(null==M?void 0:M.current).lineHeight)||0)||0;e&&t&&E(e>t)}}),[]);Object(r.useEffect)((()=>{f||h||(N(!1),te())}),[f,h,te]),Object(r.useEffect)((()=>{if(null==M?void 0:M.current){te();const e=()=>{if("undefined"==typeof window)return;const e=window.innerWidth||0;window.innerWidth!==e&&(N(!1),te())};if("undefined"!=typeof window)return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}}),[te]);const ne=Object(r.useCallback)(((e,t)=>{x(e,`${t} | ${V}`)}),[V,x]),re=Object(r.useCallback)((()=>{O&&ne("click",`${g} | close`),y()}),[O,x]);Object(r.useEffect)((()=>{if("undefined"==typeof window||!w)return;const e=()=>{T(window.innerHeight)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[w]);const ie=Object(r.useCallback)((()=>{N((e=>!e)),ne("link-click",S?"Show less":"Show more")}),[S,ne]);return Object(m.jsxs)("div",{className:Q,id:f?`expanded-view-${q}`:`list-view-${q}`,ref:n,style:{height:J},children:[Object(m.jsx)("button",{className:ee,onClick:re,"aria-label":"Close details card",children:Object(m.jsx)(o.CloseButtonIcon,{})}),Object(m.jsx)("div",{className:f?"":"rounded-t-lg overflow-hidden",children:A&&Object(m.jsx)(d.a,{featureImage:A,metaOverrides:I,shouldShowMeta:!0,handleAnalytics:ne,isFinderPage:O})}),Object(m.jsxs)("div",{className:"py-6 "+(f?"px-4":"px-3 md:px-4"),children:[Object(m.jsx)("h3",{children:Object(m.jsx)("a",b({onClick:()=>O&&ne("link-click",g),className:"inq-headline no-underline cursor-pointer text-8 text-primary\n "+(O?"leading-8":"md:text-10 leading-none"),href:`${Object(l.c)()}/food/restaurants/${$}/`},O&&{"data-link-type":"restaurant-finder-card"},{children:V}))}),O?Object(m.jsxs)("div",{className:"flex pt-2 items-stretch text-4 leading-5 mb-4 font-grot10 font-light text-secondary gap-2 flex-wrap",children:[F&&Object(m.jsx)("span",{className:"flex max-w-[35%] xs:max-w-none\n items-center"+(O?" pr-2 border-r border-solid":""),children:F}),Object(m.jsxs)("div",{className:"flex",children:[U&&Object(m.jsx)("span",{className:"flex items-center"+(F?" pr-2":""),children:U}),z&&Object(m.jsx)("span",{className:"flex items-center"+(F||D?" pl-2 border-l border-solid":""),children:z})]})]}):Object(m.jsxs)("div",{className:"flex pt-2 items-stretch flex-wrap sm:flex-nowrap text-4 leading-5 mb-4 font-grot10 font-light text-secondary gap-2",children:[F&&Object(m.jsxs)("span",{className:"flex items-center whitespace-nowrap sm:whitespace-normal"+(U||(null==R?void 0:R.length)>0?" border-r border-solid pr-2":""),children:[F,Z&&Object(m.jsxs)("span",{children:[" + ",Object(m.jsx)("a",{className:"underline text-secondary font-medium",href:`${Object(l.c)()}${j}${$}`,children:"more"})]})]}),U&&Object(m.jsx)("span",{className:"flex items-center"+((null==R?void 0:R.length)>0?" pr-2 border-r border-solid":""),children:U}),z&&Object(m.jsx)("span",{className:"flex items-center",children:z})]}),Object(m.jsx)("div",{className:"mb-6",children:f?Object(m.jsx)(i.Paragraph,{customClasses:"font-inquirer-text-web font-medium sm:text-4.5 sm:leading-[30px] md:leading-8 md:text-5 mb-0",children:Object(u.a)(B)}):Object(m.jsxs)(m.Fragment,{children:[Object(m.jsx)(i.Paragraph,{additionalAttrs:{ref:M},customClasses:"font-inquirer-text-web font-medium sm:text-4.5 sm:leading-[30px] md:leading-8 md:text-5 mb-0"+(S?"":" line-clamp-3"),children:Object(u.a)(B)}),Object(m.jsx)("div",{children:L&&Object(m.jsx)("div",{className:"mt-2 bg-transparent",children:Object(m.jsxs)("button",{className:"flex flex-row items-center font-grot10 text-base font-medium leading-5 text-black bg-transparent cursor-pointer pr-2",onClick:ie,children:[S?"Show less":"Show more",Object(m.jsx)(a.ChevronUpIcon,{size:"small",customClass:(S?"":"rotate-180")+" h-5 ml-2 mt-1 w-4"})]})})})]})}),Object(m.jsxs)("div",{className:X,children:[Object(m.jsx)(s.a,{fullAddress:G,phoneNumber:Y,websiteUrl:W,instagram:(null==e?void 0:e.instagram_handle)||"",reservationLink:(null==e?void 0:e.reservation_link)||"",reservationMethod:(null==e?void 0:e.reservation_method)||"",hashUrl:K,email:(null==e?void 0:e.email_address)||"",shouldShowCopyButton:!0,shouldUseColumns:!0,handleAnalytics:ne,isFinderPage:O,handleShareFromFinder:_,slug:null==e?void 0:e.slug}),!O&&(null==H?void 0:H.length)>0&&Object(m.jsxs)("div",{className:"mt-6",children:[Object(m.jsx)("h4",{className:"font-grot12-condensed text-primary font-semibold text-5 leading-none uppercase mb-2",children:v}),Object(m.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-1 xl:grid-cols-2 gap-2 xl:gap-4",children:H.map((e=>Object(m.jsx)(p.a,{story:e,dataCardType:"standard-story-card",dataLinkType:"restaurant-also-appears-in",onClickMoreGuideModule:()=>k("link-click",`${v} | https://www.inquirer.com${e.canonical_url}`)},e._id)))})]}),O&&Object(m.jsx)(m.Fragment,{children:Object(m.jsx)("a",{"data-link-type":"restaurant-finder-card",href:`${Object(l.c)()}/food/restaurants/${$}`,onClick:()=>ne("link-click",`${g} | go to restaurant page`),role:"button","aria-label":`Go to the ${V} restaurant page`,className:"bg-shades-yellow-70 flex h-10 py-0 px-6 justify-center items-center gap-2 self-stretch rounded text-center font-grot10 text-4 not-italic font-medium leading-5 text-primary no-underline",children:"Go to the restaurant page"})})]})]})]})}},function(e,t,n){"use strict";var r=n(1),i=n(10),o=n(319),a=n(72),l=n(0);const s=({menu:e})=>{const{interactiveNavType:t}=Object(o.b)(),n=Object(r.useMemo)((()=>e.items[0]),[e]),s=Object(r.useMemo)((()=>e.items.slice(1)),[e]);return Object(l.jsxs)("nav",{className:"flex flex-col w-full pb-3 mt-1",children:[Object(l.jsx)("a",{"aria-label":`${null==n?void 0:n.name}`,"data-link-type":"mega-nav",href:n.url,"data-pb-placeholder":`${Object(i.c)()}${n.url}`,className:`no-underline pb-2 pl-4 sm:pl-5 uppercase font-grot12-condensed\n leading-4.5 text-4.5 font-semibold hover:underline ${Object(a.c)(t||"")}`,children:n.name}),Object(l.jsx)("div",{className:"border-b border-solid border-gray-300 max-w-full"}),Object(l.jsx)("div",{className:"flex flex-col pt-2 space-y-1 ml-4 sm:ml-5","aria-label":`List ${null==n?void 0:n.name} ${null==s?void 0:s.length} items`,children:s.map(((e,r)=>Object(l.jsx)("a",{"data-link-type":"mega-nav",className:`no-underline font-grot10 text-4 leading-4.5 font-light\n border-t border-solid border-transparent hover:underline ${t?Object(a.c)(t):"text-primary"}`,href:e.url,"data-pb-placeholder":`${Object(i.c)()}${e.url}`,children:e.name},`app-nav-menu-item-${n.name}-${e.name}-${r}`)))})]})};t.a=Object(r.memo)(s)},,,,function(e,t,n){"use strict";function r(e){const t=null==e?void 0:e.match(/^https?\:\/\/(?:www\.youtube(?:\-nocookie)?\.com\/|m\.youtube\.com\/|youtube\.com\/)?(?:ytscreeningroom\?vi?=|youtu\.be\/|vi?\/|user\/.+\/u\/\w{1,2}\/|embed\/|watch\?(?:.*\&)?vi?=|\&vi?=|\?(?:.*\&)?vi?=)([^#\&\?\n\/<>"']*)/i);return t?t[1]:""}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1);t.default=(0,i.memo)((function(e){var t=e.content,n=e.isDarkMode;return(0,r.jsx)("div",{className:"my-5 w-full overflow-auto mx-auto ".concat(n?"border border-solid border-secondary":""),children:(0,r.jsxs)("div",{className:"flex flex-col sm:table w-full font-grot10\n text-3 sm:text-4 font-extrabold leading-5\n border-collapse ".concat(n?"text-white":"text-primary"),children:[(null==t?void 0:t.header)&&(0,r.jsx)("div",{className:"sm:table-row hidden",children:t.header.map((function(e,t){return(0,r.jsx)("div",{className:"border-collapse table-cell\n px-6 py-4 leading-5 font-extrabold sm:max-w-xs ".concat(0===t?"relative sm:sticky sm:left-0 sm:shadow-stickycol z-9":""," ").concat(n?"bg-primary":"bg-whitesmoke"),dangerouslySetInnerHTML:{__html:e.content}},e._id)}))}),t.rows&&t.rows.map((function(e,i){return(0,r.jsx)("div",{className:"flex flex-col sm:table-row font-medium leading-5 border-b border-solid ".concat(n?"border-silversand":"border-neutral-light-charcoal-gray"),children:e.map((function(e,o){var a,l;return(0,r.jsxs)("div",{className:"".concat(0===o?"relative sm:sticky sm:left-0 sm:shadow-stickycol z-9":"z-1","\n flex flex-row sm:table-cell px-sm sm:px-6 py-4\n text-4 gap-4").concat(n?" sm:bg-black"+(i%2?" bg-black":" bg-primary"):" sm:bg-white"+(i%2?" bg-white":" bg-whitesmoke"),"\n md:leading-5 align-middle font-medium sm:max-w-xs"),children:[(0,r.jsx)("div",{className:"show-list block sm:hidden flex-[0_0_33%]\n leading-5 font-extrabold ".concat(n?"text-white":"text-primary"),dangerouslySetInnerHTML:{__html:(null===(l=null===(a=null==t?void 0:t.header)||void 0===a?void 0:a[o])||void 0===l?void 0:l.content)||""}}),(0,r.jsx)("div",{className:"flex-1",dangerouslySetInnerHTML:{__html:e.content}})]},"table-cell-".concat(t._id,"-row-").concat(o,"-cell-").concat(e._id))}))},"table-row-".concat(t._id,"-").concat(i))}))]})})}))},,function(e,t,n){"use strict";var r=n(1);t.a=(e,t)=>{const[n,i]=Object(r.useState)(!1);return Object(r.useEffect)((()=>{const n=null==e?void 0:e.current,r=new IntersectionObserver((e=>{const t=e[0];i(t.isIntersecting)}),t);return n&&r.observe(n),()=>{n&&r.unobserve(n)}}),[e,t]),n}},function(e,t,n){"use strict";var r=n(1);const i=()=>{var e;if("undefined"!=typeof window)return(null===(e=window)||void 0===e?void 0:e.innerWidth)||document.documentElement.clientWidth||document.body.clientWidth};t.a=()=>{const[e,t]=Object(r.useState)(i());return Object(r.useEffect)((()=>{let e;const n=()=>{clearTimeout(e),e=setTimeout((()=>t(i)),150)};return window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}}),[]),e}},,,,function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=r(n(1));t.default=o.default.memo((function(e){var t=e.logoColor,n=e.customClassDesktop,r=e.customClassMobile;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"absolute left-0 right-0 h-full flex items-center ".concat(t||"text-black"),children:(0,i.jsxs)("svg",{className:"transition-all duration-500 w-[140px] mx-auto opacity-100 sm:opacity-0 ".concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1124.32 253.93",fill:"currentColor",children:[(0,i.jsx)("path",{d:"M290.15,136.89V155.6s13.26,11.37,18.47,14.68l19.9-16.58,3.32,3.79-36.95,32.68H293l-33.63-26.29v-2.13s4.5-1.18,4.5-2.61V104.67c0-1.66-5-3.55-5-3.55V99l47.37-34.11h2.84l28.18,40.74v1.89ZM292.29,86l-2.13,1.66v43.82l23-14.92Z"}),(0,i.jsx)("path",{d:"M589.13,190.19h-1.42l-23.45-18.95v-2.13s3.08-1.18,3.08-3.55V99.72s-9-8.76-14.92-12.08l-10.66,9V163s5.92,5.45,8.76,5.45a6.3,6.3,0,0,0,4-1.18l1.42,2.61L537.26,190.2h-1.42l-25.11-19.42v-2.13s4.74-1.89,4.74-3.55V93.81s-5.21-5.21-8.53-5.21c-1.89,0-3.55,1.42-5.68,3.32l-2.37-3.08L519.73,66.1h1.42s18.71,12.79,23,22l23.68-22h1.42L592.9,86.71,601.66,78l3.08,3.32L593.61,92.16V162.5s4.74,5.68,9,5.68c2.13,0,4.74-2.61,6.87-4.5l2.61,2.84Z"}),(0,i.jsx)("path",{d:"M770.86,168.34,747.5,190.19h-1.42l-23.45-20.84-8,7.34-3.32-3.55,10.66-9.47V94.51s-6.64-5.68-8.54-5.68-2.61,1.18-4.74,3.08l-2.13-3.08,22-22.74H730l21.32,18v2.37s-3.08,1.42-3.08,3.79V157s8.53,9.24,14,12.32l10.89-9.24V94s-8.05-5.92-9.71-5.92c-1.42,0-2.84,1.18-3.79,1.89l-1.9-2.84L777.8,66.09h1.42l20.61,17.29,6.63-5.92L809.78,81,799.36,91v69.87s7.82,7.34,10.66,7.34c1.9,0,5.45-3.79,7.58-5.68l2.61,2.84-24.16,24.87h-1.42Z"}),(0,i.jsx)("path",{d:"M853.83,190.19h-1.42l-24.63-18.95v-2.13s4.26-1.18,4.26-3.55V97.82s-6.4-6.63-11.84-10.18l-3.79,3.55-2.84-3.08,21.79-22.26h1.42l20.84,18.71,8.76-8.76,3.08,3.32L858.33,90v72.47s5,5.45,9.47,5.45c1.9,0,5-3.08,7.11-5l2.37,3.08ZM845.78,52.1h-2.13s-9.47-10.66-17.76-17.05V32.92a83.15,83.15,0,0,0,17.05-17.76h2.13s8.76,10.42,17.76,17.53v2.13A107.19,107.19,0,0,0,845.78,52.1Z"}),(0,i.jsx)("path",{d:"M940.52,97.58c-6.63,0-12.55-2.37-18.47-8.29H918.5v73s9,6.63,11.6,6.63c1.9,0,10.66-7.58,12.79-9.47l3.08,3.08-30.79,27.71h-1.42l-25.34-19.42v-2.13s3.79-1.89,3.79-3.55V94.75s-6.16-5.45-9-6.39c-1.9,0-3.08,1.42-5.21,3.32l-2.84-2.84L896.48,66.1h1.66l20.37,18,15.63-18h2.13s7.1,8.76,15.87,8.76c5.21,0,10.42-1.18,14.21-7.11l2.84,1.42C964.67,78.87,951.65,97.58,940.52,97.58Z"}),(0,i.jsx)("path",{d:"M986.94,136.89V155.6s13.26,11.37,18.47,14.68l19.89-16.58,3.32,3.79-36.95,32.68h-1.89L956.15,163.9v-2.13s4.5-1.18,4.5-2.61V104.69c0-1.66-5-3.55-5-3.55V99l47.37-34.11h2.84l28.19,40.74v1.89ZM989.07,86l-2.13,1.66v43.82l23-14.92Z"}),(0,i.jsx)("path",{d:"M1095.65,97.58c-6.63,0-12.55-2.37-18.47-8.29h-3.55v73s9,6.63,11.6,6.63c1.9,0,10.66-7.58,12.79-9.47l3.08,3.08-30.79,27.71h-1.42l-25.34-19.42v-2.13s3.79-1.89,3.79-3.55V94.75s-6.16-5.45-9-6.39c-1.9,0-3.08,1.42-5.21,3.32l-2.84-2.84,21.32-22.74h1.66l20.37,18,15.63-18h2.13s7.1,8.76,15.87,8.76c5.21,0,10.42-1.18,14.21-7.11l2.84,1.42C1119.8,78.87,1106.78,97.58,1095.65,97.58Z"}),(0,i.jsx)("path",{d:"M185,26.52V90.23l.24.24,25.82-24.4h1.42l23.68,20.61,8.76-8.76L248,80.76,236.87,92.13v70.34s4.74,5.68,9,5.68c2.37,0,5.68-3.55,7.82-5.68l2.84,2.84-25.11,24.87H230l-22.5-18.71v-2.13s3.08-1.18,3.08-3.55V100s-7.82-8-14.21-12.08L185,97.82v63.71c.47,1.18,5,7.11,12.79,7.11l.47,2.61L179.55,190.2h-1.42l-23.92-18.95v-2.13s4.5-1.89,4.5-3.55V37.67c0-2.84-5.21-3.55-5.21-3.55V31.51c18.71-10.42,37.66-25.58,37.66-25.58h1.66s21.37,19.86,36.47-2.84L233.08,5C206.8,50.67,185,26.52,185,26.52Z"}),(0,i.jsx)("path",{d:"M699.79,227.44l-.26-137.62,10.7-10.44-3.06-3.31-10.69,9.67-28-20.62h-1.53l-52.7,34.37V101a17.82,17.82,0,0,1,4.85,2.36,2.34,2.34,0,0,1,.71.94s0,.05,0,.51v53.74a1.29,1.29,0,0,1-.37,1s-.92,1.22-4.72,2.22v1.53l32.08,27h1.53l22.4-25.46h.51l.26,2.68-.35,55.86,35.23,27.5h1.78s19.3-22.64,36.67,3.06l3-2S723,205.59,699.79,227.44Zm-28.52-69.75-9.42,9.67c-3.29-1.53-13.75-12-13.75-12V86.49l1-.76c4.43,2.37,22.15,17.06,22.15,17.06v54.9Z"}),(0,i.jsx)("path",{d:"M120.33,169.06V44.42C147,38.2,160.78,8.79,160.78,8.79l-4-2.16a27,27,0,0,1-7.5,9.79c-10.35,8-20.07,7.47-36,5a98.05,98.05,0,0,1-11.6-2.69c-5.19-1.4-8.12-2.28-8.12-2.28-17.1-5-24.74-5.63-24.74-5.63-8.67-1-13.82-1-16.8-.63a35.24,35.24,0,0,0-3.82.63c-12.87,3-22.62,10-30,17A76,76,0,0,0,0,54.82l3.77,2A59.7,59.7,0,0,1,7.06,51a44.79,44.79,0,0,1,9.18-10.64,29.7,29.7,0,0,1,8.1-4.87,24.9,24.9,0,0,1,8-1.94c6.88-.63,18,.67,27,2.3,8.15,1.48,14.56,3.27,14.56,3.27C-9.31,70.84,10.7,141.8,10.7,141.8a73.15,73.15,0,0,0,31.5,43.58A69.91,69.91,0,0,0,57,192.54,68.51,68.51,0,0,0,72.56,196a78.56,78.56,0,0,0,16-.19A70.54,70.54,0,0,0,107.82,191a64.8,64.8,0,0,0,9.8-5,84.07,84.07,0,0,0,21.5-19.26,131.28,131.28,0,0,0,13.48-20.66L148.71,144C137,164.43,120.33,169.06,120.33,169.06ZM66.07,158.41l2.8,3,4-2.93L90,173.05a55.29,55.29,0,0,1-13.66-2.2,42.32,42.32,0,0,1-7.63-3,48.84,48.84,0,0,1-12.3-9.1,61.29,61.29,0,0,1-6.08-7.28,55.19,55.19,0,0,1-5.91-10.69,61.74,61.74,0,0,1-3-8.85,72.08,72.08,0,0,1-1.64-8.25,85.79,85.79,0,0,1-.77-12.64s0-4.37.52-9.47a80.83,80.83,0,0,1,1.68-10.51,79.34,79.34,0,0,1,4.58-14.3,76.39,76.39,0,0,1,9.63-16.32A71.79,71.79,0,0,1,79.79,40.74s9.52,2.31,18.06,4L66,68.6l2.79,3,5.63-4.22a2.44,2.44,0,0,1,.33.47,7.82,7.82,0,0,1,.74,1.85s.08.31.19.77a32.74,32.74,0,0,1,.59,3.69c.1,1.07.25,2.53.33,4,.06,1.23.06.82.15,3.73,0,.46.07,1.71.07,3.38,0,3,0,7.23-.08,10.85,0,3.85,0,4,0,4l0,18-.08,29.51v2.83l-10.65,8M102.81,45.7a44.78,44.78,0,0,0,13.53-.48V170.36a58.59,58.59,0,0,1-11.61,2.24c-2.23.28-7.26.48-7.26.48-2.57.18-7.44,0-7.44,0l18.24-16.55a18.12,18.12,0,0,1-6.72-8,11.19,11.19,0,0,1-.4-1.25,10.37,10.37,0,0,1-.26-1.67c0-.54,0-1.05,0-1.44v-.72l0-7.22,0-89"}),(0,i.jsx)("path",{d:"M517.57,180.94,514,178.78a26.53,26.53,0,0,1-6.64,9.79c-9.16,8-17.76,7.47-31.84,5-.69-.12-1.33-.25-2-.39.58-.9,1.15-1.9,1.72-3A35.91,35.91,0,0,0,479,177.89c.45-4.77.54-8.8.54-8.8l.88-32.3.24-39.63V38l1.08-.24c23.61-6.22,35.8-35.63,35.8-35.63L514,0a26.53,26.53,0,0,1-6.64,9.79c-9.16,8-17.76,7.47-31.84,5a78.31,78.31,0,0,1-10.26-2.69c-4.59-1.4-7.19-2.28-7.19-2.28-15.13-5-21.89-5.63-21.89-5.63-7.67-1-12.23-1-14.86-.63a28,28,0,0,0-3.38.63c-11.39,3-20,10-26.51,17a77.9,77.9,0,0,0-16.15,27l3.34,2a62.21,62.21,0,0,1,2.91-5.89,43.31,43.31,0,0,1,8.13-10.64,25.53,25.53,0,0,1,7.17-4.87,20,20,0,0,1,7.1-1.94c6.09-.63,15.9.67,23.85,2.3,4.26.87,8,1.85,10.3,2.51L400.85,59.38,404,62.67l4.79-3.49s3.06,1.31,2.81,27.13l-.1,72.87-1.17.8-9.47,6.9,3.13,3.3,4-2.92,17.51,14.86h0a28.34,28.34,0,0,0-4.1.22A28,28,0,0,0,418,183c-11.39,3-20,10-26.51,17a77.9,77.9,0,0,0-16.15,27l3.34,2a62.21,62.21,0,0,1,2.91-5.89,43.31,43.31,0,0,1,8.13-10.64,25.53,25.53,0,0,1,7.17-4.87,20,20,0,0,1,7.1-1.94c6.09-.63,15.9.67,23.85,2.3,7.21,1.48,12.88,3.27,12.88,3.27,19.31,5.72,30.36,10.41,47,3.24C507,206.12,517.57,180.94,517.57,180.94Zm-92.07,1.14L446.45,165l-4.78-4.31a14.69,14.69,0,0,1-4.21-9.94V37.58l5.69-4.37,2.76.87s2.52.69,6,1.6V170c.13,9.19-.67,14.19-1.14,16.33-10-2.91-14.59-3.36-14.59-3.36a91.37,91.37,0,0,0-10.47-.85Z"})]})}),(0,i.jsx)("div",{className:"absolute left-0 right-0 h-full flex items-center ".concat(t||"text-black"),children:(0,i.jsx)("svg",{className:"transition-all duration-500 sm:w-[325px] mx-auto opacity-0 sm:opacity-100 ".concat(n),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1249.3 142.76",fill:"currentColor",children:(0,i.jsx)("g",{children:(0,i.jsx)("g",{children:(0,i.jsx)("path",{d:"M550.35,77V87.48s7.49,6.44,10.34,8.24l11.23-9.29,2,2.1L553.05,107h-1L533,92.12V90.93s2.55-.6,2.55-1.5V58.87c0-1-2.7-2.1-2.7-2.1v-1.2L559.49,36.4H561l15.87,22.92v1Zm1.2-28.77-1.2,1.05V73.85l12.88-8.39ZM594.39,107h-.9L579.86,96.32v-1.2s2.25-.75,2.25-2.1V18.13L582,18l-4.5,2.24-.89-2.09c9.43-5.7,23.66-16,23.66-16l1.35,1.79s-4.79,3.45-4.79,7V91.23s3.29,2.84,5.09,2.84c1,0,2.4-1.2,3.6-2.24l1.64,1.79Zm150,0h-.9L729.66,96.32v-1.2s2.39-.75,2.39-2.1V55a43.15,43.15,0,0,0-6.74-5.7l-2.09,1.95-1.5-1.8L733.85,37h.9l11.68,10.49,5-5,1.64,2-6.14,6.14V91.38s2.7,3,5.25,3c1,0,2.84-1.65,4-2.69l1.35,1.64Zm-4.5-77.74h-1.2a95.73,95.73,0,0,0-10-9.59v-1.2a45.23,45.23,0,0,0,9.58-10h1.2a74,74,0,0,0,10,9.89v1.19a60.87,60.87,0,0,0-9.59,9.74M948.21,107h-.75L934.28,96.32v-1.2s1.65-.75,1.65-2.1V56s-5.1-4.94-8.39-6.74l-6,4.95V91.68s3.29,3,4.94,3a4,4,0,0,0,2.25-.6l.74,1.35L919,107h-.75L904.17,96v-1.2s2.55-1,2.55-1.95V52.73s-2.85-3-4.8-3c-1,0-1.95.9-3.14,2l-1.35-1.8,11.68-12.73h.9s10.49,7.19,12.88,12.28l13.34-12.28H937l13.34,11.53,4.94-4.94,1.8,1.95-6.29,6.14V91.38s2.69,3.14,5.09,3.14c1.2,0,2.7-1.5,3.89-2.55l1.35,1.65Zm102.16-12.28-13,12.28h-.9l-13.18-11.68-4.5,4L1017,97.37l6-5.4V53s-3.75-3.15-4.8-3.15-1.49.75-2.69,1.8l-1.2-1.8,12.43-12.73h.75l12,10v1.34s-1.79.9-1.79,2.1v37.6s4.79,5.24,7.94,7l6.14-5.24V52.88s-4.5-3.45-5.54-3.45c-.75,0-1.5.75-2.1,1.2L1043,49l11.38-11.83h.75l11.54,9.74,3.74-3.45,2,2.1-5.84,5.54v39.4s4.34,4,6,4c1,0,3-2.1,4.19-3.14l1.5,1.49L1064.6,107h-.75ZM1097.11,107h-.75l-13.93-10.63v-1.2s2.39-.75,2.39-2.1V55a47.17,47.17,0,0,0-6.59-5.7l-2.1,1.95-1.64-1.8L1086.77,37h.75l11.68,10.49,5-5,1.79,2-6.29,6.14V91.38s2.85,3,5.4,3c1,0,2.69-1.65,3.89-2.69l1.35,1.64Zm-4.5-77.74h-1.2a95.73,95.73,0,0,0-10-9.59v-1.2a45.23,45.23,0,0,0,9.58-10h1.2a74,74,0,0,0,10,9.89v1.19a68.72,68.72,0,0,0-9.59,9.74m53.33,25.62a14.29,14.29,0,0,1-10.49-4.65h-1.94V91.23S1138.6,95,1140,95c1.2,0,6.14-4.34,7.34-5.39l1.65,1.8L1131.56,107h-.75L1116.58,96v-1.2s2.1-1,2.1-1.95V53.18s-3.45-3-5.1-3.6c-1,0-1.64.9-2.84,2l-1.65-1.65,12-12.73h.9l11.54,10,8.83-10h1.2s3.9,4.94,8.84,4.94c3,0,5.84-.75,8.09-4l1.5.75c-2.55,5.54-9.89,16-16,16M1172,77V87.48s7.49,6.44,10.34,8.24l11.24-9.29,1.79,2.1L1174.7,107h-1l-19-14.83V90.93s2.54-.6,2.54-1.5V58.87c0-1-2.69-2.1-2.69-2.1v-1.2L1181,36.4h1.65l15.88,22.92v1Zm1.2-28.77-1.2,1.05V73.85l12.89-8.39Zm59.92,6.6c-3.74,0-7-1.35-10.33-4.65h-2.1V91.23s5.09,3.74,6.59,3.74c1,0,6-4.34,7.19-5.39l1.8,1.8L1218.89,107h-.75L1203.91,96v-1.2s2.1-1,2.1-1.95V53.18s-3.45-3-5.09-3.6c-1.05,0-1.8.9-3,2l-1.5-1.65,12-12.73h.9l11.39,10,8.84-10h1.19s4,4.94,9,4.94c2.85,0,5.84-.75,7.94-4l1.65.75c-2.55,5.54-9.89,16-16.18,16m-573-2.55V86.73c0,1,2.7,1.8,2.7,1.8v1L638.28,107.1h-.75a29.51,29.51,0,0,0-6.44-3l-.15.15V126l.15.15,4.35-2.1,1,1.65c-13.18,8.69-23.51,16-23.51,16l-.9-1.35s3.14-2.7,3.14-5.09V101.41c-3.44.3-6.74.75-8.54,6.14l-1.34-.3c0-7.34,3.14-13.33,9.88-16.17V53.33s-3.44-3.75-5.54-3.75c-1.35,0-3.3,2.25-4.49,3.45l-1.5-1.5,14.08-15h.9s11.53,7.79,13.48,13.33L644.57,36.7h.75L659.7,49.43,664.94,44l1.65,1.8Zm-15.88,4.79s-5.39-5.09-8.83-7l-4.35,4.35v35.5c4.49,1.35,7.64,2,13,6.59l.15-.15Zm40.9-42.24s12.28,13.63,27-12.13L710,1.65c-8.54,12.73-20.52,1.65-20.52,1.65h-.9a178.85,178.85,0,0,1-21.12,14.38v1.49s2.85.3,2.85,1.95V93c0,1-2.55,2.1-2.55,2.1v1.2L681.27,107H682l10.64-10.63-.3-1.5a8.46,8.46,0,0,1-7.19-4V55l6.44-5.55a54.19,54.19,0,0,1,7.94,6.74v37c0,1.35-1.8,2.1-1.8,2.1v1.2L710.48,107h.75l14.08-14.08-1.5-1.49c-1.19,1.19-3.14,3.14-4.49,3.14-2.4,0-4.94-3.14-4.94-3.14V51.83l6.14-6.44-1.65-1.65-4.94,4.94L700.6,37.15h-.75L685.32,50.78l-.15-.15Zm325.35,113.1c13-12.29,27,13.78,27,13.78l-1.65,1c-9.74-14.38-20.67-1.65-20.67-1.65h-1l-19.77-15.58.15-31.31-.15-1.5h-.15L981.46,107h-.75L962.59,91.83v-.9a6.78,6.78,0,0,0,2.7-1.2.53.53,0,0,0,.15-.6V58.57c0-.3-.45-.45-.45-.45a8.56,8.56,0,0,0-2.7-1.35v-.9L992,36.55h.9l15.73,11.68,6-5.54,1.8,2-6,5.84ZM994.35,88.68V57.82s-9.89-8.39-12.44-9.59l-.6.3v38.8s6,5.84,7.79,6.74Zm-204-51.53c-15.28,15.43-20.07,0-20.07,0h-1.2l-8.84,12.73v.6c1.35,2.55,3.75,6.14,9.29,6.14,4.5,0,8.24-5.84,10.79-8.39l6.59,5.1v9.14c-14.53,1-27.71,9.28-27.71,24.41,0,10.49,6.59,17.53,15,20.07h1l11.54-10.48h.15L798.41,107h.75l13.63-13.18L811.45,92c-1.2,1-2.7,2.4-3.9,2.4-2.55,0-5.84-4-5.84-4V50.48l6-5.84-1.65-1.8-4.34,3.9-10.49-9.59Zm-3.44,28V93.32s-1.5,1.8-5.09,1.8c-4.35,0-7.79-5.84-7.79-14.53s4.34-13.78,12.88-15.43m41-38.2,2,1.2C832.42,21.57,837.81,15,847,15a62.32,62.32,0,0,1,16.32,2.85l-21,15.42,1.8,2,2.7-2c.15,0,1.5,1.2,1.5,15.28v40.9l-6,4.34,1.8,2,2.25-1.65,9.73,8.24c-13.48,0-24.11,13.93-28.16,25.32l2,1.19c2.7-6.74,7.34-13.33,16.63-13.33,12.28,0,26.36,7.19,36.1,7.19,11.53,0,21.27-11.23,25.31-21l-1.94-1.2a14.29,14.29,0,0,1-13.63,9.29,45.9,45.9,0,0,1-8.09-1h-.45a1.13,1.13,0,0,0-.6-.15c1.94-3,2.54-4.94,3.14-9.29.9-7,.9-20.37.9-29.95V21.27c13.33-3,19.92-18.42,20.67-20.07L906,0c-2.4,6-7.49,9.14-14.23,9.14-11.24,0-23.52-7.34-34-7.34-15.58,0-25.31,13.48-29.81,25.16m28.31,75.35,11.69-9.59c-2.7-2.09-5.09-4.49-5.09-7.94V21.12l3.29-2.55a39,39,0,0,0,4.94,1.5v75.5a85,85,0,0,1-.6,9.14,57.4,57.4,0,0,0-14.23-2.4M163.28,77l26.51-16.63v-1L173.91,36.4h-1.64L145.6,55.57v1.2s2.85,1,2.85,2.1V89.43c0,.9-2.55,1.5-2.55,1.5v1.19L164.78,107H166l20.68-18.42-1.8-2.1-11.24,9.29c-2.84-1.8-10.33-8.24-10.33-8.24Zm1.2-28.77,11.68,17.23-12.88,8.39V49.28ZM375.84,107,389,93.32l-1.35-1.64c-1.2,1-3,2.69-4,2.69-2.55,0-5.25-3-5.25-3V50.63l6.3-6.14-1.8-2-4.94,5L366.25,37h-.9L353.22,49.43l1.5,1.8L357,49.28a47.51,47.51,0,0,1,6.6,5.7V93c0,1.35-2.4,2.1-2.4,2.1v1.2L374.94,107Zm-4.5-77.74a60.87,60.87,0,0,1,9.59-9.74V18.28a73.67,73.67,0,0,1-10-9.89h-1.2a45.4,45.4,0,0,1-9.59,10v1.2a96.3,96.3,0,0,1,10,9.59ZM407.45,107h-.9L392.92,96.32v-1.2s2.24-.75,2.24-2.1V18.13L395,18l-4.34,2.24-1.05-2.09c9.44-5.7,23.67-16,23.67-16l1.5,1.79s-4.8,3.45-4.8,7V91.23s3.15,2.84,4.95,2.84c1,0,2.39-1.2,3.59-2.24l1.65,1.79ZM104.11,14.83v35.8l.15.15,14.53-13.63h.75l13.33,11.53,4.94-4.94,1.65,1.65-6.14,6.44V91.38s2.55,3.14,4.94,3.14c1.35,0,3.3-2,4.5-3.14l1.49,1.49L130.17,107h-.75L116.69,96.47v-1.2s1.8-.75,1.8-2.1v-37a54.19,54.19,0,0,0-7.94-6.74L104.11,55v35.8a8.46,8.46,0,0,0,7.19,4l.3,1.5L101,107h-.75L86.73,96.32v-1.2s2.55-1.05,2.55-2.1V21.12c0-1.65-2.85-1.95-2.85-1.95V17.68A178.85,178.85,0,0,0,107.55,3.3h.9s12,11.08,20.52-1.65l2.1,1.05c-14.68,25.76-27,12.13-27,12.13m212.56,0v35.8l.15.15,14.53-13.63h.75l13.33,11.53,4.94-4.94,1.8,1.65-6.29,6.44V91.38s2.55,3.14,5.09,3.14c1.2,0,3.15-2,4.35-3.14L357,92.87,342.73,107H342L329.25,96.32v-1.2s1.8-.6,1.8-2v-37a61.18,61.18,0,0,0-7.94-6.89L316.67,55v35.8a8.48,8.48,0,0,0,7.19,4l.3,1.5L313.52,107h-.75L299.29,96.32v-1.2s2.55-1.2,2.55-2.1V21.12c0-1.65-2.85-1.95-2.85-1.95V17.68A178.85,178.85,0,0,0,320.11,3.3h.9s12.14,11.08,20.53-1.65l2.09,1.05c-14.68,25.76-27,12.13-27,12.13M452.83,37.15c-15.28,15.43-20.07,0-20.07,0h-1.2l-9,12.73v.6c1.5,2.55,3.9,6.14,9.29,6.14,4.65,0,8.24-5.84,10.79-8.39l6.74,5.1v9.14c-14.68,1-27.71,9.28-27.71,24.41A20.22,20.22,0,0,0,436.51,107h1.19l11.39-10.48h.3L460.77,107h.9l13.48-13.18L473.81,92c-1.2,1-2.55,2.4-3.75,2.4-2.55,0-5.84-4-5.84-4V50.48l6-5.84-1.8-1.8-4.19,3.9-10.64-9.59Zm-3.44,28V93.32a7.25,7.25,0,0,1-5.24,1.8c-4.2,0-7.64-5.84-7.64-14.53s4.34-13.78,12.88-15.43m-192,42.39,4.49-2.54,1.2,2.09-31.6,21.28c-4.05-5.1-8.39-6.9-12.29-6.9-5.84,0-10.78,3.9-13.18,8.09-.6-.3-2.1-1-2.25-1.19.9-2.25,9.44-22,26.82-20.53V15.13a34.09,34.09,0,0,0-9.59-1.5c-12.88,0-18.13,12-18.58,13.48l-2.54-1.94C205.37,13.93,214.81.9,229.49.9c10.63,0,18.27,7.79,30,9.14l13-8.84h1c2.09,7.79,23.52,21.27,23.52,38.05,0,13.48-13.64,23.51-22.47,30-4.5,3.29-6.15,8.23-6.15,13.48a8.36,8.36,0,0,0,.3,2.39l-.89.6c-.9-.3-8.39-3.14-8.39-9.28,0-3.75,2.84-5.85,6.74-7V21.12c-1.95-2.84-3.15-4.64-4.8-7.49-1.34.45-2.84,2.4-3.29,5.39a92.7,92.7,0,0,0-.75,12.59Zm-24.57.9,8.69,2.4V19.62L232.78,16Zm49.89-59.17c0-9.28-8.84-18.57-14.24-25.76V68.76c10.19-3,14.24-9.44,14.24-19.48M67.71,95c.9-.3,9.43-2.55,16-14.08l2.09,1.2C77.29,99,64.11,110.4,43.89,110.4c-20.67,0-39.1-19.47-39.1-39.55,0-12.88,3.9-36.4,36.85-49-1.2-.3-12-3.15-21.42-3.15-8.69,0-14.38,5.7-18.12,13.19L0,30.71C5.39,17.38,17.83,5.54,33,5.54c13.18,0,25.76,7.34,38.94,7.34,7.94,0,13.33-2.84,16.33-9.28l2.25,1.34c-.6,1.35-7.79,16.18-22.77,19.93ZM37.15,89l6-4.35V47.93c0-1.49,0-8.38-1.2-10L38.8,40.15,37.15,38.5l18-13.33L44.94,22.92C29.51,30.26,22,46,22,62.17c0,19.92,11.23,35.05,28.61,35.05L41,89.13,38.8,90.78ZM57.82,25.62l-1,.89V81.34c0,3,1.95,5.09,4.2,6.59L50.63,97.22c2.25.15,2.7.15,3.75.15a40.45,40.45,0,0,0,11.08-1.65V25.32a19,19,0,0,1-4.49.44,21.56,21.56,0,0,1-3.15-.14m417.33-5.4L479.5,18l18.12,23.36L476.5,55.57v1.2c1.65,0,3,.6,3,2.1V86.73c0,.9-1.35,1.65-2.85,1.65v1.2l25.17,17.52h.75l24.56-17.52v-1.2c-1.2,0-2.69-1-2.69-1.95V52.88l6.89-7.19L529.68,44l-5.24,5.24-30-38.49c0-3.6,4.79-6.9,4.79-6.9l-1.5-1.79s-14.23,10.33-23.67,16Zm33.41,35.2v39l-13.18-9.29V46.59l4-3Z"})})})})})]})}))},function(e,t,n){"use strict";var r=n(1),i=n(9),o=n(49);const a=["ccad-primary-tracker","ccad-secondary-tracker","ccad-gutter-center","ccad-gutter-left","ccad-gutter-right","ccad-banner"];t.a=()=>(Object(r.useEffect)((()=>{let e=0;const t=window.setInterval((()=>{var n,r,l;if(e+=1,e>30)return void window.clearInterval(t);const s=null===(n=window)||void 0===n||null===(r=n.services)||void 0===r||null===(l=r.loginService)||void 0===l?void 0:l.user;if(!s)return;if(void 0===s.hasAdsFreeReading)return;if(window.clearInterval(t),!Object(i.j)()||(()=>{const e=window.location.pathname;return e.startsWith("/philly-first")||e.startsWith("/phillyfirst")||e.startsWith("/topic/")&&e.includes("philly-first")})())return;if(!document.getElementById("fs-sticky-footer-hide")){const e=document.createElement("style");e.id="fs-sticky-footer-hide",e.textContent="#fs-sticky-footer{display:none !important}",document.head.appendChild(e)}const c=document.getElementById(o.b);c&&c.remove();const u=document.getElementById(o.d);u&&u.remove(),a.forEach((e=>{const t=document.getElementById(e);t&&t.remove()}));const d=document.querySelector(".ad-wallpaper");d&&d.classList.remove("ad-wallpaper");const p=document.querySelector(".layout-ad-wrapper");p instanceof HTMLElement&&(p.style.backgroundColor="",p.style.position="",p.style.zIndex="",p.style.maxWidth="",p.style.margin="",p.style.paddingTop="")}),300);return()=>{window.clearInterval(t)}}),[]),null)},function(e,t,n){"use strict";var r=n(1),i=n(0);const o=({subscriberUrl:e,customClass:t})=>Object(i.jsxs)(i.Fragment,{children:[Object(i.jsx)("a",{href:e,"aria-label":"Subscribe",role:"link","data-link-type":"global-nav",className:`flex no-underline cursor-pointer text-3 font-bold justify-end ${t}`,children:"Subscribe"}),Object(i.jsx)("div",{className:"text-3",children:"|"})]});t.a=Object(r.memo)(o)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(8),o=n(0);const a=({classNames:e})=>Object(o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,children:Object(o.jsxs)("defs",{children:[Object(o.jsx)("path",{id:"faFacebook",d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"}),Object(o.jsx)("path",{id:"faInstagram",d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}),Object(o.jsx)("path",{id:"faX",d:"M8 2H1L9.26086 13.0145L1.44995 21.9999H4.09998L10.4883 14.651L16 22H23L14.3917 10.5223L21.8001 2H19.1501L13.1643 8.88578L8 2ZM17 20L5 4H7L19 20H17Z"})]})});var l=n(6);const s=({viewBox:e,title:t,hrefId:n})=>Object(o.jsxs)("svg",{width:16,height:16,viewBox:e,children:[Object(o.jsx)("title",{children:t}),Object(o.jsx)("use",{href:n})]}),c=[{href:"https://x.com/phillyinquirer",ariaLabel:"phillyinquirer-x",icon:Object(o.jsx)(s,{viewBox:"0 0 24 24",title:"X",hrefId:"#faX"})},{href:"https://www.facebook.com/philadelphiainquirer",ariaLabel:"phillyinquirer-facebook",icon:Object(o.jsx)(s,{viewBox:"0 0 320 512",title:"Facebook",hrefId:"#faFacebook"})},{href:"https://www.instagram.com/phillyinquirer",ariaLabel:"phillyinquirer-instagram",icon:Object(o.jsx)(s,{viewBox:"0 0 448 512",title:"Instagram",hrefId:"#faInstagram"})}],u=[{href:"/about/terms_and_conditions/#Use",name:"Terms of Use"},{href:"/privacy-policy/",name:"Privacy Policy"},{href:"/ai-policy/",name:"AI Usage Policy"},{href:"/privacy-policy/#notice-for-california-residents",name:"California Notice"}],d=({element:e,className:t})=>Object(o.jsx)("a",{href:e.href,"aria-label":e.ariaLabel,"data-link-type":"footer",className:t,children:e.icon}),p=()=>{const{globalContent:e}=Object(i.useAppContext)();return Object(o.jsx)("div",{className:"footer-copyright bg-gray-lighter text-3 leading-3.5 font-grot10 "+(Object(l.E)(null==e?void 0:e.subtype)?"relative w-full bottom-0 hidden lg:block":""),children:Object(o.jsx)("div",{className:"max-w-[1240px] mx-auto w-full xl:px-5",children:Object(o.jsxs)("div",{className:"py-5 px-5 xl:px-0 flex flex-col lg:flex-row-reverse lg:justify-between lg:items-center ",children:[Object(o.jsxs)("div",{className:"mb-5 lg:mb-0 flex justify-center",children:[Object(o.jsx)(a,{classNames:"hidden"}),c.map(((e,t)=>Object(o.jsx)(d,{element:e,className:"text-neutral-charcoal-gray"+(tObject(o.jsxs)("span",{className:"font-medium",children:[Object(o.jsx)("a",{className:"no-underline text-neutral-charcoal-gray cursor-pointer",href:e.href,"data-link-type":"footer",children:e.name},`footer-term-links-${t}`),Object(o.jsx)("span",{className:"mx-1 text-neutral-charcoal-gray "+(t===u.length-1?"hidden lg:inline":""),children:"/"})]},`footer-link-privacy-cali-${t}`)))}),Object(o.jsx)("a",{className:"no-underline text-neutral-charcoal-gray font-medium cursor-pointer text-center lg:text-left",href:"/privacy-policy/#cookie-settings-button","data-link-type":"footer",children:"Do Not Sell My Data"})]})]})]})})})};t.default=Object(r.memo)(p)},,,,function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;ai)}}),[]);return(0,i.useEffect)((function(){return window.addEventListener("resize",k),function(){return window.removeEventListener("resize",k)}}),[k]),(0,i.useEffect)((function(){k()}),[n,k]),(0,i.useEffect)((function(){return window.addEventListener("load",k),function(){return window.removeEventListener("load",k)}}),[]),(0,r.jsxs)("figcaption",{id:c,className:"inq-image__caption",children:[n&&_,l&&C]})}},function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?(0,i.jsxs)(i.Fragment,{children:[d?"by ":"",p.map((function(e,d){return(0,i.jsxs)(o.Fragment,{children:[0!==d&&(null==t?void 0:t.length)>1&&(0,a.buildComma)(d,null==t?void 0:t.length),(0,i.jsx)(l.default,{hasAnchor:Boolean(null==e?void 0:e.url),additionalProps:{className:"no-underline ".concat("compact"!==n?"author-compact":""," ").concat(r?"text-white hover:text-blue-shades-50 font-bold":"text-primary hover:text-blue-mid font-normal"),href:e.url,"data-link-type":s,"data-card-index":c,"data-card-author":(0,a.getAuthorName)(e),"data-card-type":u},children:(0,i.jsx)(i.Fragment,{children:(0,a.getAuthorName)(e)})},"author_".concat(d))]},"author_list_".concat(d))}))]}):null}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InstagramIcon=void 0;var r=n(0);t.InstagramIcon=function(e){var t=e.size,n=void 0===t?"small":t;return(0,r.jsx)("div",{className:"inq-icon inq-icon--instagram inq-icon--".concat(n),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,r.jsx)("title",{children:"Instagram"}),(0,r.jsx)("g",{clipPath:"url(#clip0_3721_35154)",children:(0,r.jsx)("path",{d:"M12 2C14.717 2 15.056 2.01 16.122 2.06C17.187 2.11 17.912 2.277 18.55 2.525C19.21 2.779 19.766 3.123 20.322 3.678C20.8305 4.1779 21.224 4.78259 21.475 5.45C21.722 6.087 21.89 6.813 21.94 7.878C21.987 8.944 22 9.283 22 12C22 14.717 21.99 15.056 21.94 16.122C21.89 17.187 21.722 17.912 21.475 18.55C21.2247 19.2178 20.8311 19.8226 20.322 20.322C19.822 20.8303 19.2173 21.2238 18.55 21.475C17.913 21.722 17.187 21.89 16.122 21.94C15.056 21.987 14.717 22 12 22C9.283 22 8.944 21.99 7.878 21.94C6.813 21.89 6.088 21.722 5.45 21.475C4.78233 21.2245 4.17753 20.8309 3.678 20.322C3.16941 19.8222 2.77593 19.2175 2.525 18.55C2.277 17.913 2.11 17.187 2.06 16.122C2.013 15.056 2 14.717 2 12C2 9.283 2.01 8.944 2.06 7.878C2.11 6.812 2.277 6.088 2.525 5.45C2.77524 4.78218 3.1688 4.17732 3.678 3.678C4.17767 3.16923 4.78243 2.77573 5.45 2.525C6.088 2.277 6.812 2.11 7.878 2.06C8.944 2.013 9.283 2 12 2ZM12 7C10.6739 7 9.40215 7.52678 8.46447 8.46447C7.52678 9.40215 7 10.6739 7 12C7 13.3261 7.52678 14.5979 8.46447 15.5355C9.40215 16.4732 10.6739 17 12 17C13.3261 17 14.5979 16.4732 15.5355 15.5355C16.4732 14.5979 17 13.3261 17 12C17 10.6739 16.4732 9.40215 15.5355 8.46447C14.5979 7.52678 13.3261 7 12 7ZM18.5 6.75C18.5 6.41848 18.3683 6.10054 18.1339 5.86612C17.8995 5.6317 17.5815 5.5 17.25 5.5C16.9185 5.5 16.6005 5.6317 16.3661 5.86612C16.1317 6.10054 16 6.41848 16 6.75C16 7.08152 16.1317 7.39946 16.3661 7.63388C16.6005 7.8683 16.9185 8 17.25 8C17.5815 8 17.8995 7.8683 18.1339 7.63388C18.3683 7.39946 18.5 7.08152 18.5 6.75ZM12 9C12.7956 9 13.5587 9.31607 14.1213 9.87868C14.6839 10.4413 15 11.2044 15 12C15 12.7956 14.6839 13.5587 14.1213 14.1213C13.5587 14.6839 12.7956 15 12 15C11.2044 15 10.4413 14.6839 9.87868 14.1213C9.31607 13.5587 9 12.7956 9 12C9 11.2044 9.31607 10.4413 9.87868 9.87868C10.4413 9.31607 11.2044 9 12 9Z"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_3721_35154",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})})}},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),a=r(n(511));t.default=(0,o.memo)((function(e){var t=e.title,n=e.options,r=e.isVerticalPlayer,o=void 0!==r&&r;return(0,i.jsxs)("div",{className:"p-4 box-border",children:[t&&(0,i.jsx)("div",{className:"font-grot10 font-normal text-4 leading-5.5 text-primary",children:t}),(0,i.jsx)("div",{className:"gap-6 mt-4 ".concat(o?"grid grid-cols-4 sm:flex sm:flex-wrap":"grid grid-cols-4 md:flex md:grid-cols-none md:flex-wrap"," "),children:n.map((function(e){var t=e.name,n=e.icon,r=e.onClick,o=e.ariaLabel;return(0,i.jsxs)("div",{className:"flex flex-col items-center justify-center cursor-pointer group min-w-fit",onClick:r,children:[(0,i.jsx)("button",{id:t,className:"inq-social-share-menu__button w-11 h-11\n border border-solid border-primary\n rounded-full cursor-pointer flex items-center justify-center\n bg-white group-hover:bg-gray-light group-active:bg-gray-light\n focus:bg-gray-light active:bg-gray-light transition-all","aria-label":null!=o?o:t,children:(0,i.jsx)(a.default,{icon:n})},t),(0,i.jsx)("span",{className:"mt-2 font-grot10 font-normal text-3.5 leading-4 text-primary whitespace-nowrap",children:t})]},t)}))})]})}))},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]-1||p(!1)}),[]),g=(0,c.useCallback)((function(e){e.preventDefault(),!l&&o.current&&o.current.focus()}),[l,o.current]),y=(0,c.useCallback)((function(e){e.preventDefault(),p(!l)}),[l]);return(0,s.jsxs)("div",{className:"my-0 mx-auto relative w-fit",children:[(0,s.jsx)("div",{className:"flex flex-row justify-content",children:(0,s.jsx)("button",{className:"bg-transparent cursor-pointer h-[30px] w-[30px] p-1 outline-none",onBlur:v,onMouseDown:g,onMouseUp:y,ref:o,"aria-label":"Share this story","aria-haspopup":"true","aria-expanded":l,children:(0,s.jsx)("div",{className:"relative w-full flex justify-around items-center",children:Array.from(new Array(3)).map((function(e,t){return(0,s.jsx)("div",{className:"bg-primary bg-opacity-25 rounded-full w-1 h-1"},"dot_".concat(t))}))})})}),l&&(0,s.jsx)(u.default,{menuOptions:h,open:l}),(0,s.jsx)(d.default,{message:"Link copied to clipboard",show:f,timedClose:!0,closeToast:function(){return b(!1)}})]})}))},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=r(n(1));t.default=o.default.memo((function(e){var t=e.menuOptions,n=e.open;return(0,i.jsx)("div",{className:"popup-menu absolute right-0 pl-0 z-9 bg-white shadow-share-popup".concat(n?"":" hidden"),children:t.map((function(e,t){return(0,i.jsxs)("button",{onClick:e.onClick,onMouseDown:function(e){return e.preventDefault()},className:"popup-menu__option relative z-1 w-full bg-white group\n border-l-2 border-solid border-l-transparent hover:border-l-primary-blue\n text-primary box-border flex flex-row justify-start border-b px-4\n border-b-silversand h-auto m-0 overflow-hidden text-ellipsis whitespace-nowrap\n transition-border-left duration-300 cursor-pointer items-center gap-4.5","aria-label":e.ariaLabel?e.ariaLabel:e.name,children:[e.icon,(0,i.jsxs)("span",{className:"type-author xs:leading-5 font-medium h-[54px] flex justify-center flex-col mr-6",children:[e.lead," ",e.name]})]},"menu_option_".concat(t))}))})}))},function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a180)return"";var t="Updated";return t&&(t="".concat(t," ")),t}),[r]);return(0,s.jsx)(s.Fragment,{children:a?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"inline-block type-article-details",dangerouslySetInnerHTML:{__html:l}}),(0,s.jsx)("div",{className:"inline-block type-article-details",children:r||""})]}):(0,s.jsx)(u.PublishDate,{date:n,hasLessThan3HoursFormatTimestamp:o})})}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChevronLeftIcon=void 0;var r=n(0);t.ChevronLeftIcon=function(e){var t=e.color,n=void 0===t?"black":t,i=e.size;return(0,r.jsx)("div",{className:"inq-icon inq-icon--chevron-left inq-icon--".concat(i),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 30",fill:"none",children:(0,r.jsx)("path",{d:"M17.2718 19.9998L30 32.9634L26.3641 36.6665L10 19.9998L26.3641 3.33317L30 7.03629L17.2718 19.9998Z",fill:n})})})}},function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a0}),[V]);return(0,s.jsxs)("article",{style:{backgroundColor:R||"white",borderRadius:$},className:"compact-card-v2 flex gap-5 my-4 w-full bg-white transition-all duration-300 ease-out".concat(O?" flex-row-reverse":""," ").concat(Q?"max-sm:relative max-sm:pt-11":""),children:[l&&(0,s.jsx)(u.default,{storyImage:o,youtubeVideo:a,canonicalUrl:G||"",isVideoCard:h,dataCardType:g,dataLinkType:j,trackingVideo:y,cardPromoCustomClass:"w-2/5 min-w-[80px] sm:min-w-auto",imageRatio:x,customImage:N,isFoodStyle:D,imgBorderRadius:q}),(0,s.jsxs)("div",{className:"flex flex-col w-full gap-2 overflow-hidden",children:[Q&&(0,s.jsx)(b.default,{dataChipTags:V}),_&&(0,s.jsx)(d.default,{label:U||{},taxonomy:z||{},subtype:H||"",isLiveBlogCard:v,dataCardType:g,dataLinkType:j,isCompactCard:!0,cardEyeBrowCustomClass:"pb-1"}),(0,s.jsx)(p.default,{headline:X,canonicalUrl:G||"",dataCardType:g,dataLinkType:j,textHeadlineCustomSize:T}),w&&(0,s.jsx)(m.default,{description:C||(null==W?void 0:W.basic)||"",canonicalUrl:G||"",customDescriptionClasses:E,cardTeaseCustomClass:B?"hidden sm:block":""}),I&&(0,s.jsx)(f.default,{authors:(null==Z?void 0:Z.authors)||(null==K?void 0:K.by)||[],organization:(null==Z?void 0:Z.organization)||"",canonicalUrl:G||"",headline:(null==Y?void 0:Y.basic)||"",isLiveBlogCard:v,section:(null==Z?void 0:Z.section)||"",hasShareTools:L,timestamp:(null==Z?void 0:Z.timestamp)?(null===(t=null==Z?void 0:Z.timestamp)||void 0===t?void 0:t.isUpdated)?null===(n=null==Z?void 0:Z.timestamp)||void 0===n?void 0:n.updatedTime:null===(r=null==Z?void 0:Z.timestamp)||void 0===r?void 0:r.time:J,hideTimestamp:M,displayDate:J,isOnCardFeature:A,cardFooterCustomClass:"flex items-center",hasLessThan3HoursFormatTimestamp:F})]})]})}))},function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;a=3)}),[w,Q,null==k?void 0:k.length,D]),Te=(0,c.useMemo)((function(){var e;return!!D&&(((null===(e=null==a?void 0:a.related_content)||void 0===e?void 0:e.basic)||[]).length>0||(ke||[]).length>0||(K||[]).length>0)}),[D,ke,null===(t=null==a?void 0:a.related_content)||void 0===t?void 0:t.basic]),Me=(0,c.useMemo)((function(){return se?"px-4 ".concat(Q?"bp-xs:px-5":ue?"":"bp-xs:px-0"):""}),[se,Q,ue]);return(0,s.jsxs)("article",{style:{backgroundColor:ue||"white",borderRadius:de},className:"standard-card-v2 flex flex-col w-full mx-auto transition-all duration-300 ease-out ".concat(ne?"shadow-card":""," ").concat(M||"max-w-[540px]"," ").concat(Q?"my-3":""),children:[x&&(0,s.jsx)("div",{className:Ee.promo,children:(0,s.jsx)(d.default,{storyImage:l,youtubeVideo:y,canonicalUrl:xe||"",isVideoCard:O,dataCardType:N,dataLinkType:he&&w?"liveblog-card-headline":_,mapIndex:L,feedLength:E,feedProvenance:P,trackingVideo:T,cardPromoCustomClass:V?"":"mb-4 bp-xs:mb-5",imageRatio:F,customImage:W,story:a,isVideoCardFeature:ie,videoOptions:oe,dataEnv:ae,isFoodStyle:me,imgBorderRadius:fe,isInCarousel:be})}),G&&(0,s.jsx)("div",{className:"".concat(Ee.eyeBrow).concat(Q&&!x?" mb-5":""),children:(0,s.jsx)(p.default,{label:je||{},taxonomy:ye||{},subtype:ge||"",isLiveBlogCard:w,dataCardType:N,dataLinkType:_,mapIndex:L,feedLength:E,feedProvenance:P,cardEyeBrowCustomClass:"".concat(Q?"px-5":ue?"px-4":se?"px-4 bp-xs:px-0":""," ").concat(Q||x&&H?"py-3":"pb-3")})}),(0,s.jsx)("div",{className:Ee.headline,children:(0,s.jsx)(m.default,{headline:Ne,canonicalUrl:xe||"",dataCardType:N,dataLinkType:he&&w?"liveblog-card-headline":_,mapIndex:L,feedLength:E,cardHeadlineCustomClass:"mb-3 ".concat(Me," ").concat(x||G||!Q?"":"mt-3"),textHeadlineCustomSize:le||(J?"leading-none ".concat(J):"text-8 leading-8")})}),A&&(0,s.jsx)("div",{className:"order-4",children:(0,s.jsx)(f.default,{description:Y||(null==we?void 0:we.basic)||"",canonicalUrl:xe||"",cardTeaseCustomClass:"mb-4 cursor-pointer ".concat(Me),customDescriptionClasses:re})}),pe&&(0,s.jsx)("div",{className:"order-5",children:(0,s.jsx)(b.default,{authors:(null==_e?void 0:_e.authors)||(null==Ce?void 0:Ce.by)||[],organization:(null==_e?void 0:_e.organization)||"",canonicalUrl:xe||"",headline:(null==Oe?void 0:Oe.basic)||"",userInteraction:C,isLiveBlogCard:w,section:(null==_e?void 0:_e.section)||"",cardFooterCustomClass:"flex items-center ".concat(Me," ").concat(Pe?"":" mb-4"),hasShareTools:X,timestamp:(null==_e?void 0:_e.timestamp)?(null===(n=null==_e?void 0:_e.timestamp)||void 0===n?void 0:n.isUpdated)?null===(r=null==_e?void 0:_e.timestamp)||void 0===r?void 0:r.updatedTime:null===(i=null==_e?void 0:_e.timestamp)||void 0===i?void 0:i.time:Se,hideTimestamp:te,displayDate:Se,isOnCardFeature:ce,hasLessThan3HoursFormatTimestamp:ve})}),Pe&&(0,s.jsx)("div",{className:"order-6",children:(0,s.jsx)(h.default,{timelines:k||[],timelinesNo:S,dataCardType:N,dataLinkType:"liveblog-card-timeline",mapIndex:L,feedLength:E,feedProvenance:P,isInFeed:Q,showMoreButton:ee})}),Te&&(0,s.jsx)("div",{className:"order-6",children:$===u.RelatedStoriesVersion.Version2?(0,s.jsx)(v.default,{relatedStories:(null===(o=null==a?void 0:a.related_content)||void 0===o?void 0:o.basic)||[],dataLinkTypeRelatedStories:B}):(0,s.jsx)(g.default,{relatedLinks:Le,relatedLinksNo:z,dataCardType:N,dataLinkType:_,isInFeed:Q})})]})}))},function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(0,s.jsx)("ol",{className:"col-span-2 row-span-2 list-none mt-2.5 mr-1",children:null==C?void 0:C.map((function(e,t,n){return(0,s.jsxs)("li",{className:"relative flex items-start",children:[(0,s.jsx)("div",{className:"absolute left-[7px] border-r border-r-black border-solid ".concat(0===t?"top-3":"top-0"," ").concat(t===n.length-1?"h-1":"h-full")}),(0,s.jsxs)("div",{className:"flex gap-2.5",children:[(0,s.jsx)("div",{className:"bullet",children:(0,s.jsx)(u.BulletIcon,{size:"small"})}),(0,s.jsx)("div",{className:t===n.length-1?"":"mb-5",children:(0,s.jsx)("a",i({href:null==e?void 0:e.url,"data-card-type":l,"data-link-type":m,"data-card-index":f,"data-feed-length":b,"data-feed-provenance":h,onClick:function(){return null==a?void 0:a(t)},className:"text-primary-blue font-grot10 text-4 leading-5 no-underline"},j,{children:null==e?void 0:e.header}))})]})]},t)}))}),g&&!x&&w.length>3&&!Number.isInteger(o)&&(0,s.jsxs)("button",{className:"flex items-end rounded-none bottom-0 cursor-pointer bg-transparent outline-none\n h-[30px] justify-center absolute w-full z-2",onClick:function(){return O(!x)},children:[(0,s.jsx)("div",{className:"w-full absolute h-[30px] content-none bg-gradient-timelines"}),(0,s.jsx)("div",{className:"relative top-3",children:(0,s.jsx)(d.ChevronDownIcon,{size:"medium"})})]})]})})}))},function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=r(n(1)),a=r(n(532));t.default=o.default.memo((function(e){var t=e.relatedStories,n=e.dataLinkTypeRelatedStories;return(0,i.jsx)("div",{className:"sm:mx-5 mx-4",children:null==t?void 0:t.map((function(e,t){return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"border-b border-solid border-neutral-light-charcoal-gray mb-4".concat(0===t?"":" mt-4")}),(0,i.jsx)(a.default,{isRelatedStory:!0,story:e,dataLinkType:n})]},null==e?void 0:e._id)}))})}))},function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{switch(e){case"The Inquirer":return"inquirer-digital-edition";case"The Daily News":return"daily-digital-edition";case"Subscribe":return"inquirer-subscribe";case"Subscriber Services":return"inquirer-subscriber-services";default:return""}},d=({className:e,menu:t,title:n})=>Object(o.jsxs)("div",{className:e,children:[Object(o.jsx)("div",{className:"text-4.5 font-grot12-condensed font-semibold leading-4.5 uppercase mb-0 sm:mb-2.5",children:n}),Object(o.jsx)("div",{className:"flex flex-col pt-2.5 sm:py-0 space-y-3",children:t.map(((e,t)=>Object(o.jsx)("a",{className:`no-underline text-black font-grot10 text-4 leading-4\n font-medium hover:underline ${u(e.name)}`,href:e.url,"data-link-type":"footer",children:e.name},`footer-links-about-us-item-${t}`)))})]}),p=()=>Object(o.jsxs)("footer",{className:"footer footer-links pt-6 mt-6 pb-10 mx-5 xl:mx-auto max-w-[1240px] border-t border-solid border-neutral-light-charcoal-gray flex flex-col space-y-10 sm:space-y-0 lg:grid lg:grid-cols-4 lg:gap-x-6",children:[c.map(((e,t)=>Object(o.jsx)("div",{className:"block sm:hidden lg:block",children:Object(o.jsx)(d,l({className:"flex flex-col sm:mx-auto sm:w-full"},e),`footer-link-block-mobile-${t}`)}))),Object(o.jsx)("div",{className:"hidden sm:grid sm:grid-cols-2 lg:hidden gap-x-5",children:[...Array(2).keys()].map((e=>Object(o.jsx)("div",{className:"space-y-14",children:c.map(((t,n)=>n!==e&&(n-e)%2?null:Object(o.jsx)(d,l({className:"flex flex-col sm:mx-auto sm:w-full"},t),`footer-link-block-tablet-${n}`)))},e)))})]});t.default=Object(r.memo)(p)},,function(e,t,n){"use strict";n.r(t),n.d(t,"ArticleSwipeableBody",(function(){return pe}));var r=n(1),i=n.n(r),o=n(16),a=n(8),l=n(0);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;tObject(l.jsx)("div",{className:`inq-icon inq-icon--arrow-forward inq-icon--${e} ${n}`,children:Object(l.jsx)("svg",c({width:"20",height:"16",viewBox:"0 0 20 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r?{className:r}:{},{children:Object(l.jsx)("path",{d:"M3.828 8.99934L9.192 14.3633L7.778 15.7773L6.79974e-07 7.99934L7.778 0.221343L9.192 1.63534L3.828 6.99934L20 6.99934L20 8.99934L3.828 8.99934Z",fill:t||"black"})}))});function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;tObject(l.jsx)("div",{className:`inq-icon inq-icon--arrow-forward inq-icon--${e} ${n}`,children:Object(l.jsx)("svg",m({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:t||"black"},r?{className:r}:{},{children:Object(l.jsx)("path",{d:"M18.172 11L12.808 5.63598L14.222 4.22198L22 12L14.222 19.778L12.808 18.364L18.172 13H2V11H18.172Z"})}))}),h=({slideOrder:e,currentSlide:t,onPaginationDotClick:n,showPagination:r,paginationWrapperCustom:i=" flex gap-2 p-2 sm:px-4 sm:py-6 lg:w-full lg:max-w-lf-body lg:mx-auto",paginationDotCustom:o=" w-full h-[5px]"})=>Object(l.jsx)("div",{className:`swipeable-dots-wrapper transition-opacity duration-300 ${r?"opacity-1":"opacity-0"}${i}`,children:null==e?void 0:e.map(((e,r)=>Object(l.jsx)("div",{onClick:()=>n(r),className:`swipeable-dots rounded cursor-pointer transition-colors duration-300 ease-in-out ${t>=r?"bg-black":"bg-silversand"}${o}`},`swipeable_dot_${r}`)))});var v=i.a.memo(h);const g=({currentSlide:e,setCurrentSlide:t,onPaginationDotClick:n,slideOrder:i,children:o,wrapperCustomClasses:a,hasKeyboardEvent:s,hasArrowInFirstSlide:c,hasArrows:u,hasTappingArea:p,swipeUpCallback:m,showPagination:f,paginationDotCustom:h,paginationWrapperCustom:g})=>{var j,y,x,O;const w=Object(r.useRef)(null),_=Object(r.useRef)(null),[C,k]=Object(r.useState)(0),[S,N]=Object(r.useState)(0),[L,E]=Object(r.useState)(0),[P,T]=Object(r.useState)(0),[M,A]=Object(r.useState)(!1),I=Object(r.useCallback)((e=>{var t,n,r,i,o,a,l,s;const c=(null===(t=e)||void 0===t?void 0:t.touches)?null===(n=e)||void 0===n||null===(r=n.touches)||void 0===r?void 0:r[0].clientX:null===(i=e)||void 0===i?void 0:i.clientX,u=(null===(o=e)||void 0===o?void 0:o.touches)?null===(a=e)||void 0===a||null===(l=a.touches)||void 0===l?void 0:l[0].clientY:null===(s=e)||void 0===s?void 0:s.clientY;k(c),E(u),A(!1)}),[]),D=Object(r.useCallback)((e=>{var t,n,r,i,o,a,l,s;const c=(null===(t=e)||void 0===t?void 0:t.touches)?null===(n=e)||void 0===n||null===(r=n.touches)||void 0===r?void 0:r[0].clientX:null===(i=e)||void 0===i?void 0:i.clientX,u=(null===(o=e)||void 0===o?void 0:o.touches)?null===(a=e)||void 0===a||null===(l=a.touches)||void 0===l?void 0:l[0].clientY:null===(s=e)||void 0===s?void 0:s.clientY;C&&(N(c),T(u),(Math.abs(C-c)>10||Math.abs(L-u)>10)&&A(!0))}),[C,L]),R=Object(r.useCallback)((()=>{M&&(C-S>40&&t(e<(null==i?void 0:i.length)-1?e+1:e),C-S<-40&&t(e>0?e-1:e),L-P>40&&void 0!==m&&m()),k(0),N(0),A(!1)}),[M,C,S,e,t,null==i?void 0:i.length,L,P,m]),$=Object(r.useCallback)((()=>{var t,n;const r=(null==_||null===(t=_.current)||void 0===t||null===(n=t.getBoundingClientRect())||void 0===n?void 0:n.width)||0;(null==w?void 0:w.current)&&r&&(w.current.style.left=-r*e+"px")}),[null==w?void 0:w.current,null==_||null===(j=_.current)||void 0===j||null===(y=j.getBoundingClientRect())||void 0===y?void 0:y.width,e]),q=Object(r.useCallback)((n=>{s&&("ArrowRight"===n.key&&e<(null==i?void 0:i.length)-1&&t(e+1),"ArrowLeft"===n.key&&e>0&&t(e-1))}),[s,e,i,t]);return Object(r.useEffect)((()=>{void 0!==e&&$()}),[e,$]),Object(r.useEffect)((()=>{var e,t;return(null==_||null===(e=_.current)||void 0===e||null===(t=e.getBoundingClientRect())||void 0===t?void 0:t.width)&&window.addEventListener("resize",$),()=>{window.removeEventListener("resize",$)}}),[null==_||null===(x=_.current)||void 0===x||null===(O=x.getBoundingClientRect())||void 0===O?void 0:O.width,$]),Object(r.useEffect)((()=>{const e=null==_?void 0:_.current;return e&&(e.addEventListener("mousedown",I),e.addEventListener("mousemove",D),e.addEventListener("mouseup",R),e.addEventListener("touchstart",I),e.addEventListener("touchmove",D),e.addEventListener("touchend",R)),()=>{e&&(e.removeEventListener("mousedown",I),e.removeEventListener("mousemove",D),e.removeEventListener("mouseup",R),e.removeEventListener("touchstart",I),e.removeEventListener("touchmove",D),e.removeEventListener("touchend",R))}}),[_.current,I,D,R]),Object(r.useEffect)((()=>(window.addEventListener("keydown",q),()=>{window.removeEventListener("keydown",q)})),[q]),Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)(v,{slideOrder:i,currentSlide:e,onPaginationDotClick:n,showPagination:f,paginationDotCustom:h,paginationWrapperCustom:g}),Object(l.jsxs)("div",{ref:_,className:"relative flex h-full overflow-hidden",children:[0!==e&&Object(l.jsx)("div",{className:"swipeable-arrow swipeable-left-arrow\n cursor-pointer z-1 absolute left-1 hidden"+(u?" sm:block":""),onClick:()=>t(e-1),children:Object(l.jsx)(d,{})}),Object(l.jsx)("div",{ref:w,className:`relative transition-[left] left-0 ${a}`,children:o}),(0!==e||!0===c)&&e!==(null==i?void 0:i.length)-1&&Object(l.jsx)("div",{className:"swipeable-arrow swipeable-right-arrow\n cursor-pointer z-1 absolute right-1 hidden"+(u?" sm:block":""),onClick:()=>t(e+1),children:Object(l.jsx)(b,{})}),p&&Object(l.jsxs)(l.Fragment,{children:[0!==e&&Object(l.jsx)("div",{className:"absolute left-0 top-0 bottom-0 w-2/5",onClick:()=>t(e-1)}),e!==(null==i?void 0:i.length)-1&&Object(l.jsx)("div",{className:"absolute right-0 top-0 bottom-0 w-2/5",onClick:()=>t(e+1)})]})]})]})};var j=i.a.memo(g),y=n(69),x=n(6),O=n(55),w=n(94),_=n(81),C=n(88),k=n(9),S=n(52),N=n(10);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t{const{story:e,isSwipeableStoryCard:t}=Object(O.b)(),{outputType:n}=Object(a.useAppContext)(),i=Object(r.useMemo)((()=>({usePMNdataLayerEvent:!0,userInteraction:"social-share",articleTitle:Object(x.o)(null==e?void 0:e.headlines,"social_share"),articleCanonicalUrl:null==e?void 0:e.canonical_url,customClass:"inline-block cursor-pointer bg-transparent p-0"})),[e]),o=Object(r.useMemo)((()=>Object(k.b)(n)),[n]),s=Object(r.useMemo)((()=>Object(S.a)({articleTitle:Object(x.o)(null==e?void 0:e.headlines,"social_share"),articleCanonicalUrl:null==e?void 0:e.canonical_url,customClass:"inline-block cursor-pointer bg-transparent p-0 mr-2 bg-white ",isAppWebView:o,fullGiftURL:`${Object(N.c)()}${null==e?void 0:e.canonical_url}`,eventName:"interaction_event",userInteractionInOpenEvent:"gift_pop-up_icon"})),[null==e?void 0:e.headlines,null==e?void 0:e.canonical_url,o]),c=Object(r.useMemo)((()=>!t&&!o),[t,o]);return Object(l.jsx)("div",{className:"flex justify-between items-center w-full px-4"+(t?"":" md:px-0"),children:Object(l.jsxs)("div",{className:"relative flex z-1 mt-",children:[c&&Object(l.jsx)("div",{onClick:S.d,children:Object(l.jsx)(C.a,E({},s))}),Object(l.jsx)(_.a,E({},i))]})})};var M=i.a.memo(T);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t{var t,n,i,o,a,s,c,u,d,p,m,f,h,v,g,j;const{onClickSeeMore:x,isSwipeableStoryCard:_,story:C}=Object(O.b)(),k=Object(r.useMemo)((()=>{var e;return null==C||null===(e=C.headlines)||void 0===e?void 0:e.basic}),[null==C||null===(t=C.headlines)||void 0===t?void 0:t.basic]),S=Object(r.useMemo)((()=>{var e,t,n;return"Headline | Image"===(null==C||null===(e=C.content_elements)||void 0===e||null===(t=e[0])||void 0===t||null===(n=t.additional_properties)||void 0===n?void 0:n.templateId)}),[C]),N=Object(r.useCallback)((()=>{x(1),Object(y.h)({event:"interaction_event",userInteraction:"swipeable_story",interactionDetail:"intro_animation_arrow"})}),[]);return Object(l.jsxs)("div",{className:"flex flex-col "+(_?"w-full":"w-auto sm:mx-6 lg:block lg:max-w-7xl lg:mx-auto lg:px-4"),children:[_?Object(l.jsxs)(l.Fragment,{children:[Object(l.jsx)("div",{className:"flex mb-4",children:Object(l.jsx)("div",{className:"flex flex-row relative w-full",children:Object(l.jsx)(M,{})})}),Object(l.jsxs)("div",{className:"flex justify-between items-center w-full gap-x-8 "+(S?"flex-col":"flex-col-reverse"),children:[Object(l.jsxs)("div",{className:"w-full",children:[Object(l.jsx)("h1",{className:`\n font-inquirer-headline text-primary font-semibold mx-4 my-4 text-7 leading-7 ${e?"sm:text-8 sm:leading-8":""}\n `,children:k}),Object(l.jsxs)("div",{className:"font-grot10 text-primary mx-4 text-4 leading-4.5 mb-4",children:["by ",null==C||null===(m=C.credits)||void 0===m||null===(f=m.by)||void 0===f||null===(h=f[0])||void 0===h?void 0:h.name]})]}),Object(l.jsx)("div",{className:"w-full max-w-full",children:(null==C||null===(v=C.promo_items)||void 0===v||null===(g=v.basic)||void 0===g?void 0:g.url)?Object(l.jsx)(w.a,{content:I({},null==C||null===(j=C.promo_items)||void 0===j?void 0:j.basic,{caption:""}),type:"swipeable",wrapperClass:"w-full aspect-[3/2]",creditClasses:`text-secondary px-4 !text-3 leading-3 ${e?"sm:!text-3.5 sm:leading-3.5 lg:!text-3 lg:leading-3":""}\n `}):null})]})]}):Object(l.jsxs)("div",{className:"flex justify-between items-center lg:mt-0\n w-full gap-x-8 lg:flex-row "+(S?"flex-col":"flex-col-reverse"),children:[Object(l.jsxs)("div",{className:"w-full lg:max-w-[40%]",children:[Object(l.jsx)("div",{className:"flex md:mt-6 mb-4 "+(S?"":"sm:mb-8 lg:mb-4"),children:Object(l.jsx)("div",{className:"flex flex-row relative w-full",children:Object(l.jsx)(M,{})})}),!S&&Object(l.jsx)("div",{className:"block lg:hidden w-full max-w-full lg:max-w-[733px]",children:(null==C||null===(n=C.promo_items)||void 0===n||null===(i=n.basic)||void 0===i?void 0:i.url)?Object(l.jsx)(w.a,{content:I({},null==C||null===(o=C.promo_items)||void 0===o?void 0:o.basic,{caption:""}),type:"swipeable",wrapperClass:"w-full aspect-[3/2]",creditClasses:"text-secondary leading-3 !text-3 sm:leading-3.5 sm:!text-3.5 px-4 sm:px-0"}):null}),Object(l.jsx)("h1",{className:"font-inquirer-headline text-primary font-semibold\n leading-7 sm:leading-10 lg:leading-[52px] text-7 sm:text-10 lg:text-[52px] mx-4 md:mx-0 lg:mt-4 lg:mb-12 sm:mb-8 mb-4 "+(S?"mt-0":"mt-4 sm:mt-8"),children:k}),Object(l.jsxs)("div",{className:"font-grot10 text-primary mx-4 md:mx-0 mb-4 lg:mb-8 text-4 leading-4.5 font-normal",children:["by ",null==C||null===(a=C.credits)||void 0===a||null===(s=a.by)||void 0===s||null===(c=s[0])||void 0===c?void 0:c.name]})]}),Object(l.jsx)("div",{className:"w-full max-w-full lg:max-w-[733px]"+(S?"":" hidden lg:block"),children:(null==C||null===(u=C.promo_items)||void 0===u||null===(d=u.basic)||void 0===d?void 0:d.url)?Object(l.jsx)(w.a,{content:I({},null==C||null===(p=C.promo_items)||void 0===p?void 0:p.basic,{caption:""}),type:"swipeable",wrapperClass:"w-full aspect-[3/2]",creditClasses:"text-secondary leading-3 !text-3 sm:leading-3.5 sm:!text-3.5 px-4 sm:px-0"}):null})]}),Object(l.jsx)("div",{className:`flex justify-end items-center px-4 gap-2 relative z-1${S?" py-4":""} ${_?"pt-4 pb-5":"sm:px-0"}`,children:Object(l.jsxs)("div",{className:"relative flex h-10 w-10",children:[Object(l.jsx)("span",{className:"animate-[ping_2s_cubic-bezier(0,0,0.2,1)_infinite] \\ absolute inline-flex h-full w-full rounded-full bg-blue-mid opacity-75"}),Object(l.jsx)("button",{className:"relative cursor-pointer inline-flex justify-center items-center \\ rounded-full h-10 w-10 bg-blue-mid text-white",onClick:N,children:Object(l.jsx)(b,{size:"medium",color:"white"})})]})})]})};var $=i.a.memo(R),q=n(77),B=n(104);const F=({contentElement:e,isFirstRelatedStories:t})=>{var n;const{story:i,isSwipeableStoryCard:o}=Object(O.b)(),a=Object(r.useMemo)((()=>null==i?void 0:i.content_elements.filter((e=>{var t;return"relatedStories"===(null==e||null===(t=e.additional_properties)||void 0===t?void 0:t.fieldId)})).length),[i]);return Object(l.jsxs)(l.Fragment,{children:[(t||1===a)&&Object(l.jsx)("div",{className:"font-grot12-condensed text-6\n leading-6 font-semibold text-primary\n uppercase mb-4 mt-4 sm:mt-8"+(o?"":" sm:text-8 sm:leading-8"),children:"Related Stories"}),Object(l.jsx)("div",{className:"font-grot10 text-4.5 font-bold leading-6 capitalize"+(o?"":" sm:text-5"),dangerouslySetInnerHTML:{__html:null==e||null===(n=e.content)||void 0===n?void 0:n.replace("1&&Object(l.jsx)("div",{className:"border-b border-solid border-silversand my-2"+(o?"":" sm:my-4")})]})};var V=i.a.memo(F),H=n(285),U=n(118),z=n(23);function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t{const{authors:i,isSwipeableStoryCard:o}=Object(O.b)(),a=Object(r.useMemo)((()=>{const t=null==i?void 0:i.find((t=>(null==t?void 0:t._id)===e));return(null==t?void 0:t.byline)?t:{_id:e,name:e,additional_properties:{original:{byline:e}}}}),[i,e]),s=Object(r.useMemo)((()=>(null==a?void 0:a._id)&&(null==a?void 0:a.byline)?Y({},a,{url:null==a?void 0:a.bio_page,name:null==a?void 0:a.byline,social_links:Object(y.e)(a)}):{name:e,additional_properties:{original:{byline:e}}}),[a]);return a?Object(l.jsxs)(l.Fragment,{children:[t&&n&&Object(l.jsx)("div",{className:"relative z-1",children:Object(l.jsx)(U.a,{date:(null==n?void 0:n.time)||"",breakLine:!1,customDateFormatTimestamp:`${Object(z.b)(null==n?void 0:n.time)} ET`})}),Object(l.jsx)("div",{className:"relative w-full mx-auto py-4 border-solid border-b border-silversand z-1"+(t?" border-t mt-2"+(o?"":" sm:mt-4"):""),children:Object(l.jsx)(H.a,Y({author:s},Z,{},!(null==a?void 0:a._id)&&{hasAuthorSocial:!1}))})]}):null};var J=i.a.memo(K);const X=({contentElement:e,nextElement:t,isFirstIndex:n=!1})=>{var i,o;const{story:a,isSwipeableStoryCard:s}=Object(O.b)(),c=Object(r.useMemo)((()=>{var t;return(null==e||null===(t=e.additional_properties)||void 0===t?void 0:t.fieldId)||""}),[null==e||null===(i=e.additional_properties)||void 0===i?void 0:i.fieldId]),u=Object(r.useMemo)((()=>{var e;return(null==t||null===(e=t.additional_properties)||void 0===e?void 0:e.fieldId)||""}),[null==t||null===(o=t.additional_properties)||void 0===o?void 0:o.fieldId]);switch(c){case"authors":return Object(l.jsx)(J,{authorId:e.content,isFirstAuthor:n,timestamp:a?Object(x.k)(a):null});case"relatedStories":return Object(l.jsx)(V,{contentElement:e,isFirstRelatedStories:"relatedStories"===u});default:return Object(l.jsx)(B.Paragraph,{customClasses:"font-inquirer-text-web font-medium leading-[30px] text-4.5"+(s?"":" sm:leading-8 sm:text-5 mb-6 sm:mb-8"),children:null==e?void 0:e.content})}};var Q=i.a.memo(X);const ee=({templateId:e,contentElement:t,nextElement:n,isFirstIndex:i=!1,isEditorialCard:o=!1})=>{const{isSwipeableStoryCard:a}=Object(O.b)(),s=Object(r.useMemo)((()=>{const e=(null==t?void 0:t.content.match(/

(.*?)<\/p>/g))||[];return(null==e?void 0:e.map((e=>e.replace(/<\/?p>/g,""))))||[]}),[null==t?void 0:t.content]);return Object(y.f)(e)?Object(l.jsx)(Q,{contentElement:t,nextElement:n,isFirstIndex:i}):Object(l.jsx)(l.Fragment,{children:null==s?void 0:s.map(((e,t)=>Object(l.jsx)(q.a,{customClasses:`font-inquirer-text-web font-medium px-4 mb-4 relative text-4 leading-6 ${a?""+(o?"sm:text-5 sm:leading-8":""):"sm:leading-8 sm:px-20 lg:px-0 sm:text-5"}${t!==(null==s?void 0:s.length)-1?" mb-4":""}`,children:e},t)))})};var te=i.a.memo(ee);const ne=({templateId:e,contentElement:t,nextElement:n,isEditorialCard:i})=>{const{isSwipeableStoryCard:o}=Object(O.b)(),a=Object(r.useMemo)((()=>o?"text-6 leading-6 "+(i?"sm:text-8 sm:leading-8":""):"sm:text-9 lg:text-10 sm:leading-9 lg:leading-10"),[i,o]);return Object(l.jsx)("h2",{className:`font-inquirer-headline font-semibold text-6 leading-6 mb-4 text-primary relative ${a} ${Object(y.f)(e)?"":" "+(o?"px-4":"lg:px-0 lg:mb-4 px-4 sm:px-20")}${Object(y.f)(e)||e===y.a.CONTENT_SUBHEAD_BODYTEXT||n&&"text"===(null==n?void 0:n.type)?"":""+(o?"":" sm:mb-6")}`,children:t.content})};var re=i.a.memo(ne);function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oe(e){for(var t=1;t{var o;const{isSwipeableStoryCard:a}=Object(O.b)(),s=Object(r.useMemo)((()=>{var t;return(null==e||null===(t=e.additional_properties)||void 0===t?void 0:t.templateId)||""}),[null==e||null===(o=e.additional_properties)||void 0===o?void 0:o.templateId]);switch(e.type){case"text":return Object(l.jsx)(te,{templateId:s,contentElement:e,nextElement:t,isFirstIndex:n,isEditorialCard:i});case"header":return Object(l.jsx)(re,{templateId:s,contentElement:e,nextElement:t,isEditorialCard:i});case"image":return Object(l.jsx)("div",{className:"px-0"+(a?"":" sm:px-6 lg:px-0"),children:(null==e?void 0:e.imageWebUrl)?Object(l.jsx)(w.a,{content:oe({},e,{caption:""}),type:"swipeable",creditClasses:"text-secondary leading-3 !text-3 px-4"+(a?"":" sm:leading-3.5 sm:!text-3.5 sm:px-0"),wrapperClass:"w-full aspect-[3/2]",hasLazyLoad:!0}):null});default:return null}};var se=i.a.memo(le);const ce=({slideElements:e,slideIndex:t,isEditorialCard:n})=>{var i,o;const{isSwipeableStoryCard:a}=Object(O.b)(),s=Object(r.useMemo)((()=>{var t,n;return(null==e||null===(t=e[0])||void 0===t||null===(n=t.additional_properties)||void 0===n?void 0:n.templateId)||""}),[null==e||null===(i=e[0])||void 0===i||null===(o=i.additional_properties)||void 0===o?void 0:o.templateId]),{images:c,content:u}=Object(r.useMemo)((()=>Object(y.d)(e)),[e]);return 0===t?Object(l.jsx)($,{isEditorialCard:n}):Object(y.f)(s)?Object(l.jsx)("div",{className:"w-full mx-auto flex justify-center items-center"+(a?"":" sm:h-full sm:max-w-[600px] lg:max-w-[650px]"),children:Object(l.jsx)("div",{className:"relative w-full px-4"+(a?"":" lg:px-0"),children:e.map(((t,r)=>{var i;return Object(l.jsx)(se,{contentElement:t,nextElement:null==e?void 0:e[r+1],isFirstIndex:0===r&&"authors"===(null==t||null===(i=t.additional_properties)||void 0===i?void 0:i.fieldId),isEditorialCard:n},`swipeable_element_card_${r}`)}))})}):s===y.a.CONTENT_SUBHEAD_BODYTEXT?Object(l.jsx)("div",{className:"flex items-center h-full w-full",children:Object(l.jsx)("div",{className:"max-w-full m-auto"+(a?"":" lg:px-20 lg:max-w-[650px]"),children:e.map(((e,t)=>Object(l.jsx)(se,{contentElement:e,isEditorialCard:n},`swipeable_element_card_${t}`)))})}):Object(l.jsxs)("div",{className:`flex h-full w-full items-center max-w-full mx-auto gap-9${a?"":" lg:flex-row lg:max-w-7xl lg:px-20"}\n `,children:[Object(l.jsx)("div",{className:"gap-y-2 w-full"+(a?"":" lg:hidden md:gap-y-3"),children:e.map(((t,r)=>Object(l.jsx)(se,{contentElement:t,nextElement:null==e?void 0:e[r+1],isEditorialCard:n},`swipeable_element_card_${r}`)))}),!a&&Object(l.jsxs)("div",{className:"hidden lg:flex flex-row gap-x-8 items-center justify-between w-full",children:[Object(l.jsx)("div",{className:"flex flex-col lg:max-w-[40%]",children:u.map(((e,t)=>Object(l.jsx)(se,{contentElement:e,isEditorialCard:n},`swipeable_element_card_${t}`)))}),Object(l.jsx)("div",{className:"w-full lg:max-w-[733px]",children:c.map(((e,t)=>Object(l.jsx)(se,{contentElement:e,isEditorialCard:n},`swipeable_element_card_${t}`)))})]})]})};var ue=i.a.memo(ce),de=n(439);const pe=({swipeableStory:e,isSwipeableStoryCard:t,paginationDotCustom:n,paginationWrapperCustom:i,isEditorialCard:s=!1})=>{const{globalContent:c}=Object(a.useAppContext)(),u=Object(r.useMemo)((()=>e||c),[e,c]),d=Object(r.useMemo)((()=>Object(y.b)(null==u?void 0:u.content_elements)),[u]),p=Object(r.useMemo)((()=>Object(y.c)(null==u?void 0:u.content_elements)),[u]),m=Object(r.useMemo)((()=>null==d?void 0:d.slideOrder),[null==d?void 0:d.slideOrder]),f=Object(r.useMemo)((()=>{var e;return(null==d||null===(e=d.slideOrder)||void 0===e?void 0:e.length)||0}),[null==d?void 0:d.slideOrder]),[b,h]=Object(r.useState)(0),[v,g]=Object(r.useState)([]),w=Object(r.useRef)(null),_=Object(de.a)(w,{threshold:.7});let C=[];var k;(null==p?void 0:p.length)>0&&(C=null==p||null===(k=p.map((e=>Object(o.useContent)({source:b>0&&0===v.length?"author-data-api":null,query:{author_id:e}})||null)))||void 0===k?void 0:k.filter((e=>e)));const S=Object(r.useCallback)((e=>{h(e),1===e&&Object(y.h)({event:"interaction_event",userInteraction:"swipeable_story",interactionDetail:"tap_to_see_more"})}),[]),N=Object(r.useCallback)((()=>{var e;b!==f-1||t||(document.referrer.includes("inquirer.com")?window.history.back():window.location.href=null===(e=Object(x.n)(u.taxonomy))||void 0===e?void 0:e._id)}),[u,b,f,t]),L=Object(r.useCallback)((e=>{h(e),Object(y.h)({event:"interaction_event",userInteraction:"swipeable_story",interactionDetail:"pagination"})}),[]);return Object(r.useEffect)((()=>{C.length&&g((e=>{const t=C.filter((t=>!e.some((e=>(null==e?void 0:e._id)===(null==t?void 0:t._id)))));return[...e,...t]}))}),[C.length]),Object(r.useEffect)((()=>{(null==u?void 0:u.content_elements)&&_&&Object(y.g)(u,f,b+1)}),[u,f,b,_]),Object(r.useEffect)((()=>{if(!t){const e=document.querySelector("html");return e&&(e.style.overflowX="hidden"),document.documentElement.style.overscrollBehaviorX="none",document.body.style.overflowX="hidden",document.body.style.overscrollBehaviorX="none",()=>{e&&(e.style.overflowX=""),document.documentElement.style.overscrollBehaviorX="",document.body.style.overflowX="",document.body.style.overscrollBehaviorX=""}}}),[t]),(null==u?void 0:u.content_elements)?Object(l.jsx)(O.a.Provider,{value:{authors:v,currentSlide:b,setCurrentSlide:h,cardLength:f,onClickSeeMore:S,story:u,isSwipeableStoryCard:t},children:Object(l.jsxs)("div",{ref:w,children:[Object(l.jsx)(j,{slideOrder:m,currentSlide:b,setCurrentSlide:h,swipeUpCallback:N,hasKeyboardEvent:!t,hasArrows:!t,hasTappingArea:!0,showPagination:!0,paginationDotCustom:n,paginationWrapperCustom:i,wrapperCustomClasses:"swipeable flex w-full duration-500 "+(t?"h-full my-auto":"min-h-[calc(100vh-207px)] mx-auto pb-2 pt-0 lg:pt-2"),onPaginationDotClick:L,children:m.map(((e,t)=>{var n;return Object(l.jsx)("div",{className:"h-full min-w-full my-auto items-center flex",children:Object(l.jsx)(ue,{slideElements:null==d||null===(n=d.contentElementsBySlideId)||void 0===n?void 0:n[e],slideIndex:t,isEditorialCard:s})},`swipeable_slide_${t}`)}))}),f>0&&Object(l.jsx)("div",{className:"w-fit text-center mx-auto "+(t?"mb-4":"mb-0 sm:mb-6 lg:mb-8 pb-6 sm:pb-0"),children:Object(l.jsxs)("div",{className:"px-3 py-2 bg-gray-light rounded-[20px] text-primary font-grot10 font-medium text-3.5 leading-4",children:[b+1,"/",f]})})]})}):null};t.default=i.a.memo(pe)},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(211),a=n.n(o),l=n(99),s=n(425),c=n(6),u=n(0);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const m=({story:e,hasUnderlined:t,isCompactCard:n,dataLinkType:i="",isMoreGuidesCard:o=!1,isFinderCardType:m=!1,onClickMoreGuideModule:f})=>{const b=Object(r.useMemo)((()=>Object(c.l)(e)),[e]);return Object(u.jsxs)("article",function(e){for(var t=1;tObject(a.jsxs)("div",{className:"flex justify-center items-center space-x-2",children:[e.icon&&Object(a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 12 12",version:"1.1",children:Object(a.jsx)("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:Object(a.jsxs)("g",{id:"tooltip",children:[Object(a.jsx)("circle",{fill:Object(o.d)(t)?"#8CB5FF":"#1A6AFF",cx:"6",cy:"6",r:"6"}),Object(a.jsx)("rect",{fill:Object(o.d)(t)?"#000000":"#FFFFFF",x:"5.25",y:"2",width:"1.5",height:"5"}),Object(a.jsx)("rect",{fill:Object(o.d)(t)?"#000000":"#FFFFFF",x:"5.25",y:"8",width:"1.5",height:"1.5"})]})})}),Object(a.jsx)("div",{className:`text-2.5 ${e.customClass}`,role:"link","aria-label":e.name,dangerouslySetInnerHTML:{__html:e.name}})]});t.a=i.a.memo(l)},function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(0);const a=({item:e,children:t})=>{var n,i;return e.path&&"#"!==e.path?Object(o.jsx)("form",{className:"flex justify-center items-center w-full sm:w-auto "+((null===(n=e.name)||void 0===n||null===(i=n.toLowerCase())||void 0===i?void 0:i.includes("local news"))?"lg:hidden":""),action:e.path,children:t}):Object(o.jsx)(r.Fragment,{children:t})};t.a=i.a.memo(a)},function(e,t,n){"use strict";var r=n(1),i=n(72),o=n(0);const a=Object(r.forwardRef)((({setOpenMenu:e,openMenu:t,interactiveNavType:n},r)=>Object(o.jsxs)("button",{ref:r,type:"button",role:"button","aria-label":"Full navigation","aria-haspopup":"true","aria-expanded":t?"true":"false",className:`flex flex-col h-3 w-4 p-0 rounded\n justify-center items-center group cursor-pointer ${Object(i.b)(n||"")}`,onClick:e,children:[Object(o.jsx)("div",{className:`h-0.5 w-4 rounded-full transition ease\n transform duration-300 opacity-100 group-hover:opacity-50 ${t?"rotate-45 translate-y-[5px]":""} ${Object(i.d)(n)?"bg-white":"bg-black"}`}),Object(o.jsx)("div",{className:`h-0.5 w-4 my-[3px] rounded-full\n transition ease transform duration-300 ${t?"opacity-0":"opacity-100 group-hover:opacity-50"} ${Object(i.d)(n)?"bg-white":"bg-black"}`}),Object(o.jsx)("div",{className:`h-0.5 w-4 rounded-full transition\n ease transform duration-300 opacity-100 group-hover:opacity-50 ${t?"-rotate-45 -translate-y-[5px]":""} ${Object(i.d)(n)?"bg-white":"bg-black"}`})]})));a.displayName="MenuIcon",t.a=a},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocationPinIcon=void 0;var r=n(0);t.LocationPinIcon=function(e){var t=e.size,n=void 0===t?"none":t,i=e.color,o=void 0===i?"black":i,a=e.width,l=void 0===a?"12":a,s=e.height,c=void 0===s?"15":s,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--link inq-icon--".concat(n).concat(d),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:c,viewBox:"0 0 12 15",fill:"none",children:(0,r.jsx)("path",{d:"M6 12.5999L9.3 9.29995C9.9526 8.64728 10.397 7.81576 10.577 6.91053C10.7571 6.0053 10.6646 5.06701 10.3114 4.21432C9.95817 3.36162 9.36003 2.63282 8.59261 2.12006C7.82519 1.6073 6.92296 1.33362 6 1.33362C5.07704 1.33362 4.17481 1.6073 3.40739 2.12006C2.63997 2.63282 2.04183 3.36162 1.68861 4.21432C1.33539 5.06701 1.24294 6.0053 1.42297 6.91053C1.603 7.81576 2.04741 8.64728 2.7 9.29995L6 12.5999ZM6 14.4853L1.75734 10.2426C0.918228 9.4035 0.346791 8.3344 0.115286 7.17051C-0.11622 6.00663 0.00260456 4.80023 0.456732 3.70388C0.91086 2.60753 1.6799 1.67046 2.66659 1.01118C3.65328 0.351892 4.81332 0 6 0C7.18669 0 8.34672 0.351892 9.33342 1.01118C10.3201 1.67046 11.0891 2.60753 11.5433 3.70388C11.9974 4.80023 12.1162 6.00663 11.8847 7.17051C11.6532 8.3344 11.0818 9.4035 10.2427 10.2426L6 14.4853ZM6 7.33328C6.35362 7.33328 6.69276 7.1928 6.94281 6.94276C7.19286 6.69271 7.33334 6.35357 7.33334 5.99995C7.33334 5.64633 7.19286 5.30719 6.94281 5.05714C6.69276 4.80709 6.35362 4.66661 6 4.66661C5.64638 4.66661 5.30724 4.80709 5.05719 5.05714C4.80715 5.30719 4.66667 5.64633 4.66667 5.99995C4.66667 6.35357 4.80715 6.69271 5.05719 6.94276C5.30724 7.1928 5.64638 7.33328 6 7.33328ZM6 8.66661C5.29276 8.66661 4.61448 8.38566 4.11438 7.88557C3.61429 7.38547 3.33334 6.70719 3.33334 5.99995C3.33334 5.2927 3.61429 4.61443 4.11438 4.11433C4.61448 3.61423 5.29276 3.33328 6 3.33328C6.70725 3.33328 7.38552 3.61423 7.88562 4.11433C8.38572 4.61443 8.66667 5.2927 8.66667 5.99995C8.66667 6.70719 8.38572 7.38547 7.88562 7.88557C7.38552 8.38566 6.70725 8.66661 6 8.66661Z",fill:o})})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhoneIcon=void 0;var r=n(0);t.PhoneIcon=function(e){var t=e.size,n=void 0===t?"none":t,i=e.width,o=void 0===i?"12":i,a=e.height,l=void 0===a?"12":a,s=e.color,c=void 0===s?"black":s,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--link inq-icon--".concat(n).concat(d),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:l,viewBox:"0 0 12 12",fill:"none",children:(0,r.jsx)("path",{d:"M12 8.94667V11.3041C12 11.6541 11.7294 11.9445 11.3803 11.9691C11.0887 11.9897 10.8509 12 10.6667 12C4.7756 12 0 7.2244 0 1.33333C0 1.14914 0.0103 0.911247 0.0309 0.619667C0.05558 0.270587 0.34596 0 0.695907 0H3.0534C3.22452 0 3.36784 0.129613 3.38502 0.299867C3.40045 0.452713 3.41479 0.575427 3.42805 0.668013C3.5629 1.60981 3.83835 2.50624 4.23247 3.33535C4.29573 3.46843 4.25447 3.62773 4.13457 3.71337L2.6957 4.7412C3.57168 6.7874 5.2126 8.42833 7.2588 9.30433L8.28473 7.86793C8.37147 7.7466 8.53267 7.70487 8.66733 7.7688C9.4964 8.1626 10.3927 8.43773 11.3344 8.57227C11.4264 8.58547 11.5483 8.59967 11.7001 8.615C11.8704 8.6322 12 8.77553 12 8.94667Z",fill:c})})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobeIcon=void 0;var r=n(0);t.GlobeIcon=function(e){var t=e.size,n=void 0===t?"none":t,i=e.color,o=void 0===i?"black":i,a=e.customClass,l=void 0===a?"":a,s=e.width,c=void 0===s?"16":s,u=e.height,d=void 0===u?"16":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--link inq-icon--".concat(n).concat(l),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:c,height:d,viewBox:"0 0 16 16",fill:"none",children:(0,r.jsx)("path",{d:"M4.15689 4.30217C3.23417 5.26097 2.66683 6.56422 2.66683 7.99998C2.66683 10.9455 5.05464 13.3333 8.00016 13.3333C8.7207 13.3333 9.4079 13.1904 10.0349 12.9314C10.1116 12.4311 9.94336 11.951 9.87456 11.783C9.7215 11.41 9.21623 10.7721 8.37276 9.88718C8.14763 9.65051 8.1621 9.46898 8.24256 8.92951L8.25183 8.86858C8.3065 8.49905 8.39823 8.28058 9.64163 8.08318C10.2733 7.98305 10.4394 8.23551 10.6697 8.58511C10.6952 8.62385 10.7206 8.66185 10.7467 8.69991C10.9654 9.01978 11.1275 9.09291 11.3723 9.20425C11.482 9.25398 11.6188 9.31671 11.8022 9.42091C12.2369 9.66931 12.2369 9.94978 12.2369 10.5648V10.6345C12.2369 10.8956 12.2114 11.1248 12.1712 11.3239C12.8987 10.4123 13.3335 9.25691 13.3335 7.99998C13.3335 5.80057 12.0022 3.91211 10.1014 3.09653C9.73263 3.3454 9.2267 3.69815 9.05016 3.93998C8.9599 4.06357 8.8323 4.69442 8.4173 4.74649C8.30856 4.76013 8.1627 4.75057 8.00816 4.74063C7.59383 4.7137 7.02696 4.67735 6.8455 5.16995C6.7303 5.48211 6.71003 6.32961 7.08276 6.76951C7.14243 6.83978 7.15396 6.96978 7.11343 7.11565C7.06016 7.30718 6.95256 7.42371 6.91903 7.44778C6.85476 7.41085 6.72656 7.26205 6.63975 7.16078C6.43052 6.91765 6.16953 6.61487 5.83214 6.52115C5.70946 6.4872 5.5746 6.45909 5.44382 6.43155C5.07776 6.35483 4.66312 6.26754 4.56678 6.06199C4.49644 5.91145 4.49675 5.70412 4.49702 5.48507C4.49702 5.20745 4.49702 4.89351 4.36102 4.58835C4.30847 4.47025 4.23809 4.37629 4.15689 4.30217ZM8.00016 14.6666C4.31826 14.6666 1.3335 11.6818 1.3335 7.99998C1.3335 4.31808 4.31826 1.33331 8.00016 1.33331C11.682 1.33331 14.6668 4.31808 14.6668 7.99998C14.6668 11.6818 11.682 14.6666 8.00016 14.6666Z",fill:o})})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmailOutlineIcon=void 0;var r=n(0);t.EmailOutlineIcon=function(e){var t=e.size,n=void 0===t?"none":t,i=e.color,o=void 0===i?"currentColor":i,a=e.width,l=void 0===a?"14":a,s=e.height,c=void 0===s?"12":s,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--email inq-icon--".concat(n).concat(d),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:c,viewBox:"0 0 14 12",fill:"none",children:(0,r.jsx)("path",{d:"M0.666667 0H12.6667C12.8435 0 13.013 0.0702379 13.1381 0.195262C13.2631 0.320286 13.3333 0.489856 13.3333 0.666667V11.3333C13.3333 11.5101 13.2631 11.6797 13.1381 11.8047C13.013 11.9298 12.8435 12 12.6667 12H0.666667C0.489856 12 0.320286 11.9298 0.195262 11.8047C0.0702379 11.6797 0 11.5101 0 11.3333V0.666667C0 0.489856 0.0702379 0.320286 0.195262 0.195262C0.320286 0.0702379 0.489856 0 0.666667 0ZM12 2.82533L6.71467 7.55867L1.33333 2.81067V10.6667H12V2.82533ZM1.674 1.33333L6.70733 5.77467L11.668 1.33333H1.674Z",fill:o})})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InstagramOutlineIcon=void 0;var r=n(0);t.InstagramOutlineIcon=function(e){var t=e.size,n=void 0===t?"none":t,i=e.width,o=void 0===i?"14":i,a=e.height,l=void 0===a?"14":a,s=e.color,c=void 0===s?"black":s,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--link inq-icon--".concat(n).concat(d),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:l,viewBox:"0 0 14 14",fill:"none",children:(0,r.jsx)("path",{d:"M6.66667 4.66667C6.13623 4.66667 5.62753 4.87738 5.25245 5.25245C4.87738 5.62753 4.66667 6.13623 4.66667 6.66667C4.66667 7.1971 4.87738 7.70581 5.25245 8.08088C5.62753 8.45595 6.13623 8.66667 6.66667 8.66667C7.1971 8.66667 7.70581 8.45595 8.08088 8.08088C8.45595 7.70581 8.66667 7.1971 8.66667 6.66667C8.66667 6.13623 8.45595 5.62753 8.08088 5.25245C7.70581 4.87738 7.1971 4.66667 6.66667 4.66667ZM6.66667 3.33333C7.55072 3.33333 8.39857 3.68452 9.02369 4.30964C9.64881 4.93477 10 5.78261 10 6.66667C10 7.55072 9.64881 8.39857 9.02369 9.02369C8.39857 9.64881 7.55072 10 6.66667 10C5.78261 10 4.93477 9.64881 4.30964 9.02369C3.68452 8.39857 3.33333 7.55072 3.33333 6.66667C3.33333 5.78261 3.68452 4.93477 4.30964 4.30964C4.93477 3.68452 5.78261 3.33333 6.66667 3.33333ZM11 3.16667C11 3.38768 10.9122 3.59964 10.7559 3.75592C10.5996 3.9122 10.3877 4 10.1667 4C9.94565 4 9.73369 3.9122 9.57741 3.75592C9.42113 3.59964 9.33333 3.38768 9.33333 3.16667C9.33333 2.94565 9.42113 2.73369 9.57741 2.57741C9.73369 2.42113 9.94565 2.33333 10.1667 2.33333C10.3877 2.33333 10.5996 2.42113 10.7559 2.57741C10.9122 2.73369 11 2.94565 11 3.16667ZM6.66667 1.33333C5.01733 1.33333 4.748 1.338 3.98067 1.372C3.458 1.39667 3.10733 1.46667 2.782 1.59333C2.49267 1.70533 2.284 1.83933 2.062 2.062C1.85334 2.2636 1.6929 2.50972 1.59267 2.782C1.466 3.10867 1.396 3.45867 1.372 3.98067C1.33733 4.71667 1.33333 4.974 1.33333 6.66667C1.33333 8.316 1.338 8.58533 1.372 9.35267C1.39667 9.87467 1.46667 10.226 1.59267 10.5507C1.706 10.8407 1.83933 11.0493 2.06067 11.2707C2.28533 11.4947 2.494 11.6287 2.78067 11.7393C3.11 11.8667 3.46067 11.9373 3.98067 11.9613C4.71667 11.996 4.974 12 6.66667 12C8.316 12 8.58533 11.9953 9.35267 11.9613C9.874 11.9367 10.2253 11.8667 10.5507 11.7407C10.8393 11.628 11.0493 11.494 11.2707 11.2727C11.4953 11.048 11.6293 10.8393 11.74 10.5527C11.8667 10.224 11.9373 9.87267 11.9613 9.35267C11.996 8.61667 12 8.35933 12 6.66667C12 5.01733 11.9953 4.748 11.9613 3.98067C11.9367 3.45933 11.8667 3.10733 11.74 2.782C11.6395 2.51 11.4794 2.26397 11.2713 2.062C11.0698 1.85323 10.8237 1.69278 10.5513 1.59267C10.2247 1.466 9.874 1.396 9.35267 1.372C8.61667 1.33733 8.35933 1.33333 6.66667 1.33333ZM6.66667 0C8.478 0 8.704 0.00666663 9.41467 0.04C10.1247 0.0733333 10.608 0.184667 11.0333 0.35C11.4733 0.519333 11.844 0.748667 12.2147 1.11867C12.5537 1.45193 12.816 1.85506 12.9833 2.3C13.148 2.72467 13.26 3.20867 13.2933 3.91867C13.3247 4.62933 13.3333 4.85533 13.3333 6.66667C13.3333 8.478 13.3267 8.704 13.2933 9.41467C13.26 10.1247 13.148 10.608 12.9833 11.0333C12.8165 11.4785 12.5541 11.8817 12.2147 12.2147C11.8813 12.5535 11.4782 12.8158 11.0333 12.9833C10.6087 13.148 10.1247 13.26 9.41467 13.2933C8.704 13.3247 8.478 13.3333 6.66667 13.3333C4.85533 13.3333 4.62933 13.3267 3.91867 13.2933C3.20867 13.26 2.72533 13.148 2.3 12.9833C1.85488 12.8163 1.45168 12.554 1.11867 12.2147C0.779604 11.8815 0.517288 11.4783 0.35 11.0333C0.184667 10.6087 0.0733333 10.1247 0.04 9.41467C0.00866663 8.704 0 8.478 0 6.66667C0 4.85533 0.00666663 4.62933 0.04 3.91867C0.0733333 3.208 0.184667 2.72533 0.35 2.3C0.516824 1.85479 0.779202 1.45155 1.11867 1.11867C1.45178 0.779487 1.85495 0.517153 2.3 0.35C2.72533 0.184667 3.208 0.0733333 3.91867 0.04C4.62933 0.00866663 4.85533 0 6.66667 0Z",fill:c})})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CalendarIcon=void 0;var r=n(0);t.CalendarIcon=function(e){var t=e.size,n=void 0===t?"none":t,i=e.width,o=void 0===i?"14":i,a=e.height,l=void 0===a?"14":a,s=e.color,c=void 0===s?"black":s,u=e.customClass,d=void 0===u?"":u;return(0,r.jsx)("div",{className:"inq-icon inq-icon--link inq-icon--".concat(n).concat(d),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:l,viewBox:"0 0 14 14",fill:"none",children:(0,r.jsx)("path",{d:"M4.66667 0V1.33333H8.66667V0H10V1.33333H12.6667C13.0349 1.33333 13.3333 1.63181 13.3333 2V12.6667C13.3333 13.0349 13.0349 13.3333 12.6667 13.3333H0.666667C0.29848 13.3333 0 13.0349 0 12.6667V2C0 1.63181 0.29848 1.33333 0.666667 1.33333H3.33333V0H4.66667ZM12 6.66667H1.33333V12H12V6.66667ZM3.33333 2.66667H1.33333V5.33333H12V2.66667H10V4H8.66667V2.66667H4.66667V4H3.33333V2.66667Z",fill:c})})})}},,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(1),i=n.n(r),o=n(30),a=n(97),l=n(0);const s=({isDisplay:e=!1,isFinder:t=!1,href:n="",svgName:r="",dataLinkType:i="",imageAlt:s=""})=>Object(l.jsx)(l.Fragment,{children:e&&Object(l.jsx)(a.a,{elementType:n?"a":"div",dataLinkType:i||void 0,isNotLazyLoad:!0,href:n||void 0,className:"rounded-full "+(t?"w-8 h-8 lg:w-10 lg:h-10":"cursor-pointer w-20 h-20 lg:w-30 lg:h-30"),children:Object(l.jsx)("img",{src:`${o.e}${r}.svg`,alt:s,className:"object-contain w-full h-full"})})});t.a=i.a.memo(s)},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r,i;"undefined"!=typeof window&&window,void 0===(i="function"==typeof(r=function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},r=n[e]=n[e]||[];return-1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=n.indexOf(t);return-1!=r&&n.splice(r,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var r=this._onceEvents&&this._onceEvents[e],i=0;iObject(r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:i,fill:"currentColor",children:Object(r.jsx)("path",{d:"M11 11V2H13V11H22V13H13V22H11V13H2V11H11Z"})}),a=()=>Object(r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:i,fill:"currentColor",children:Object(r.jsx)("path",{d:"M2 11H22V13H2V11Z"})});t.a=({loggedIn:e,isAdded:t,onClick:n})=>{const i=((e,t)=>e?t?"Added to homepage":"Add to homepage":"Log in to add to homepage")(e,t),l=t?a:o,s=t?"bg-black text-white border-neutral-text-color":"bg-white text-neutral-text-color border-neutral-text-color";return Object(r.jsxs)("button",{type:"button",onClick:n,"aria-pressed":t,"aria-label":i,className:`inline-flex items-center gap-1 md:gap-2 h-7 md:h-8\n rounded-full border border-solid px-4 text-sm leading-4 font-bold\n transition-colors cursor-pointer ${s}`,children:[Object(r.jsx)(l,{}),i]})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FeedBackIcon=void 0;var r=n(0);t.FeedBackIcon=function(e){var t=e.size,n=void 0===t?"small":t,i=e.color,o=void 0===i?"currentColor":i,a=e.width,l=void 0===a?"24":a,s=e.height,c=void 0===s?"24":s,u=e.customClass,d=void 0===u?"":u,p=e.isDarkMode,m=void 0!==p&&p;return(0,r.jsx)("div",{className:"inq-icon inq-icon--link inq-icon--".concat(n," ").concat(d),children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:c,viewBox:"0 0 24 24",fill:o,children:(0,r.jsx)("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM13 13.3551V14H11V12.5C11 11.9477 11.4477 11.5 12 11.5C12.8284 11.5 13.5 10.8284 13.5 10C13.5 9.17157 12.8284 8.5 12 8.5C11.2723 8.5 10.6656 9.01823 10.5288 9.70577L8.56731 9.31346C8.88637 7.70919 10.302 6.5 12 6.5C13.933 6.5 15.5 8.067 15.5 10C15.5 11.5855 14.4457 12.9248 13 13.3551Z",fill:m?"#DCDCDC":o})})})}},function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(r=function(e){return r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},r(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),a=0;awindow.innerWidth&&(l=window.innerWidth-o.width),s+o.height>window.innerHeight&&(s=window.innerHeight-o.height),L.current&&(L.current.style.left="".concat(l,"px"),L.current.style.top="".concat(s+5,"px"));var c=i.left+i.width/2-l-24;E.current&&(E.current.style.left="".concat(c,"px"))}}),[O]),T=(0,s.useCallback)((function(e){if("Enter"===e.key){var t=N.current;if(t){var n=e.target.closest("button");n&&h&&(e.preventDefault(),n.click(),t.focus(),v(!1))}}}),[h,v]);return(0,s.useEffect)((function(){if("undefined"!=typeof window){if(h){P(),S(!0);var e=0,t=function(){cancelAnimationFrame(e),e=requestAnimationFrame(P)};return window.addEventListener("resize",t),window.addEventListener("scroll",t,{passive:!0}),function(){cancelAnimationFrame(e),window.removeEventListener("resize",t),window.removeEventListener("scroll",t)}}S(!1)}}),[h,P]),(0,s.useEffect)((function(){if(N.current&&h&&"undefined"!=typeof window){var e=function(e){var t;(null==e?void 0:e.target)instanceof HTMLElement&&!(null===(t=N.current)||void 0===t?void 0:t.contains(e.target))&&v(!1)},t=function(e){"Escape"===e.key&&v(!1)},n=function(){return v(!1)};return window.addEventListener("click",e),window.addEventListener("keydown",t),window.addEventListener("scroll",n,{passive:!0}),function(){window.removeEventListener("click",e),window.removeEventListener("keydown",t),window.removeEventListener("scroll",n)}}}),[h,v]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{type:"button","aria-label":c,ref:N,onClick:function(){return v(!h)},className:"bg-transparent cursor-pointer flex","aria-expanded":h,children:n}),h&&(0,l.jsx)("div",{ref:L,className:"flex flex-1 fixed z-50 -top-2 transition-opacity duration-150 ease-out ".concat(k?"opacity-100":"opacity-0"," ").concat(_).concat(o?" shadow-[0_0_20px_0_rgba(0,0,0,0.75)]":""),role:"tooltip",children:(0,l.jsxs)("div",{className:"relative -mt-[5px]",onKeyDown:T,children:[t,(0,l.jsxs)("svg",{ref:E,className:"absolute ".concat(y),xmlns:"http://www.w3.org/2000/svg",width:"48",height:"9",viewBox:"0 0 48 9",fill:"none",children:[(0,l.jsx)("path",{d:"M25.4142 2.41421L31.1213 8.12132C31.6839 8.68393 32.447 9 33.2426 9L14.7574 9C15.553 9 16.3161 8.68393 16.8787 8.12132L22.5858 2.41421C23.3668 1.63317 24.6332 1.63316 25.4142 2.41421Z",fill:o?"#333333":"white"}),(0,l.jsx)("path",{d:"M34 8.5L33.6569 8.5C32.596 8.5 31.5786 8.07857 30.8284 7.32843L25.4142 1.91421C24.6332 1.13316 23.3668 1.13317 22.5858 1.91421L17.1716 7.32843C16.4214 8.07858 15.404 8.5 14.3431 8.5L14 8.5",stroke:"#595760",strokeLinecap:"round"})]})]})})]})};c.displayName="Tooltip",t.default=s.default.memo(c)},,,,,,,,function(e,t,n){"use strict";(function(e){var r=n(1),i=n(34),o=n(16),a=n(39),l=n(40),s=n(321),c=n(715),u=n(27),d=n(9),p=n(0);const m=(e,t="article-body")=>{var n;if(!e)return"";const r=/(o++,`{var b,h;const v=f===u.a.REGULAR;if("add-to-homepage-cta"===(null==t?void 0:t.subtype)){var g,j,y,x;const e=null==t||null===(g=t.embed)||void 0===g||null===(j=g.config)||void 0===j?void 0:j.setting;return Object(p.jsx)(c.a,{gatewayUrl:Object(l.a)("GATEWAY_SLS_URL"),header:decodeURIComponent(null!==(y=null==e?void 0:e.header)&&void 0!==y?y:""),description:decodeURIComponent(null!==(x=null==e?void 0:e.description)&&void 0!==x?x:"")})}if("Newsletter Sign-up CTA"===(null==t?void 0:t.subtype)){var O,w;const e=null==t||null===(O=t.embed)||void 0===O||null===(w=O.config)||void 0===w?void 0:w.setting;return Object(a.f)(`https://media.inquirer.com/widget/newsletter/${"prod"===Object(l.a)("ENV")?"prod":"dev"}/philly-newsletter-widget.js`,!0),Object(p.jsx)(s.a,{isDarkMode:n,isRegularArticle:v,newsletterId:decodeURI(null==e?void 0:e.emailId),newsletterHeading:decodeURI(null==e?void 0:e.header),newsletterSubheader:decodeURI(null==e?void 0:e.subheader),newsletterDescription:decodeURI(null==e?void 0:e.description),newsletterSailthruName:decodeURI(null==e?void 0:e.emailList)})}if(!(null==t||null===(b=t.embed)||void 0===b?void 0:b.url.includes("apigw.inquirer.com")))return null;const _=Object(r.useMemo)((()=>{var e,n;return(null==t||null===(e=t.embed)||void 0===e||null===(n=e.config)||void 0===n?void 0:n.templateType)||""}),[t]),C=Object(r.useMemo)((()=>{var e;return(null==t||null===(e=t.embed)||void 0===e?void 0:e.url)||""}),[null==t||null===(h=t.embed)||void 0===h?void 0:h.url]),k=Object(o.useContent)({source:"custom-embed",query:{url:e.from(C).toString("base64"),queryParams:{bodyOnly:"true",output:"json"}}}),{data:S}=k||{};return"tldr-widget"===_&&!1===Object(i.e)("tldr")?null:"newsletter-signup-cta"!==_||Object(d.i)(S)?C&&(null==k?void 0:k.html)?Object(p.jsx)("div",{className:"inquirer-custom-embed-container mb-6 last:mb-0 "+("service-snack"===(null==S?void 0:S.templateType)?"service-snack":""),dangerouslySetInnerHTML:{__html:Object(a.a)(m(k.html,_))}}):Object(p.jsx)("div",{className:"inquirer-custom-embed-container mt-0 mb-6 border-2 border-gray-mid border-dashed text-center py-3",children:Object(p.jsx)("p",{className:"m-0 text-gray-mid type-article-details text-5",children:"We can't show this part of the story."})}):(Object(a.f)(`https://media.inquirer.com/widget/newsletter/${"prod"===Object(l.a)("ENV")?"prod":"dev"}/philly-newsletter-widget.js`,!0),Object(p.jsx)(s.a,{isDarkMode:n,isRegularArticle:v,newsletterId:decodeURI(null==S?void 0:S.emailId),newsletterHeading:decodeURI(null==S?void 0:S.header),newsletterSubheader:decodeURI(null==S?void 0:S.subHeader),newsletterDescription:decodeURI(null==S?void 0:S.description),newsletterSailthruName:decodeURI(null==S?void 0:S.emailList)}))}}).call(this,n(62).Buffer)},function(e,t,n){"use strict";n(1);var r=n(131),i=n(704),o=n(0);const a=()=>Object(o.jsx)("div",{className:"border-b border-solid border-neutral-light-charcoal-gray"});t.a=({header:e,description:t,gatewayUrl:n})=>{const{isLoading:l,loggedIn:s,isAdded:c,handleClick:u}=Object(r.i)({gatewayUrl:n,source:"article"});return Object(o.jsxs)("div",{className:"mb-6",children:[Object(o.jsx)(a,{}),Object(o.jsxs)("div",{className:"my-4 md:my-6 lg:my-8 border border-solid border-neutral-text-color rounded p-4 flex flex-col gap-2 items-start",children:[Object(o.jsx)("p",{className:"font-grot10 font-bold text-5 leading-6 text-black",children:e}),Object(o.jsx)("p",{className:"font-grot10 text-[18px] leading-[30px] md:leading-6 text-black",children:t}),l?Object(o.jsx)("div",{className:"h-7 md:h-8 w-44 rounded-full bg-gray-light animate-pulse"}):Object(o.jsx)(i.a,{loggedIn:s,isAdded:c,onClick:async()=>{try{await u()}catch{}}})]}),Object(o.jsx)(a,{})]})}},function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&(t.currentTime=e)}),100))}catch(e){console.error("Seek error:",e),oe(null)}}),50)}}),[ve]),Ie=(0,u.useCallback)((function(e){var t=je.current;if(t){Se.current=!t.paused,t.pause();var n=Me(e);null!==n&&(ke.current=!0,K(n))}}),[Me]),De=(0,u.useCallback)((function(e){if(ke.current){var t=null;if(t=void 0!==e?Me(e):Z,ke.current=!1,null!==t){Ae(t);var n=je.current,r=t,i=_e.current;if(n&&Se.current&&null!==r){var o=0,a=function(){if(_e.current===i){var e=Math.abs(n.currentTime-r)<1,t=n.readyState>=HTMLMediaElement.HAVE_FUTURE_DATA;e&&t?n.play().catch((function(){_e.current===i&&Y(!1)})):o<5&&(o++,we.current=setTimeout(a,50))}};we.current=setTimeout(a,50)}}}}),[Me,Z,Ae]),Re=(0,u.useCallback)((function(e){if(ke.current){var t=Me(e);null!==t&&K(t)}}),[Me]),$e=(0,u.useCallback)((function(e){e.preventDefault(),e.stopPropagation(),Ie(e.clientX);var t=function(e){return Re(e.clientX)},n=function(e){De(e.clientX),window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",n)};window.addEventListener("mousemove",t),window.addEventListener("mouseup",n)}),[Ie,Re,De]),qe=(0,u.useCallback)((function(e){e.preventDefault(),e.stopPropagation(),1===e.touches.length&&Ie(e.touches[0].clientX)}),[Ie]),Be=(0,u.useCallback)((function(e){e.preventDefault(),e.stopPropagation(),1===e.touches.length&&Re(e.touches[0].clientX)}),[Re]),Fe=(0,u.useCallback)((function(e){e.preventDefault(),e.stopPropagation(),1===e.changedTouches.length?De(e.changedTouches[0].clientX):De()}),[De]),Ve=(0,u.useCallback)((function(e){Re(e.clientX)}),[Re]),He=(0,u.useCallback)((function(e){De(e.clientX)}),[De]),Ue=(0,u.useCallback)((function(){ne(!0),Y(!1)}),[]),ze=(0,u.useCallback)((function(e){var t=je.current;t&&(se(e),t.playbackRate=Number(e))}),[]),Ge=(0,u.useCallback)((function(e){if(je.current){var t=Z;"ArrowRight"===e.key&&(t=Math.min(X,Z+5)),"ArrowLeft"===e.key&&(t=Math.max(0,Z-5)),t!==Z&&(Ae(t),K(t),Ee("scrubber"),e.preventDefault())}}),[X,Z,Ae,Ee]),Ye=(0,u.useCallback)((function(e,t){fe((function(n){return t?e:n===e?null:n}))}),[]),We=(0,u.useCallback)((function(e){return Ye("lock",e)}),[Ye]),Ze=(0,u.useCallback)((function(e){return Ye("feedback",e)}),[Ye]),Ke=(0,u.useCallback)((function(e){return Ye("playback",e)}),[Ye]);return(0,u.useEffect)((function(){de(!D())}),[D]),(0,u.useEffect)((function(){var e=je.current;if(e){var t=function(){if(!ke.current&&null===ie){var t=e.currentTime,n=e.duration,r=n?+(t/n*100).toFixed(0):0;K(e.currentTime),x.has(r)&&!O.has(r)&&(Ee("milestone"),O.add(r))}},n=function(){Q(e.duration||0)},r=function(){Y(!1),K(0),Ee("finish")},i=function(){oe(null),K(e.currentTime),Ee("scrubber")};return e.addEventListener("timeupdate",t),e.addEventListener("loadedmetadata",n),e.addEventListener("durationchange",n),e.addEventListener("ended",r),e.addEventListener("seeked",i),function(){e.removeEventListener("timeupdate",t),e.removeEventListener("loadedmetadata",n),e.removeEventListener("durationchange",n),e.removeEventListener("ended",r),e.removeEventListener("seeked",i)}}}),[ie,Ee]),(0,u.useEffect)((function(){return window.addEventListener("mousemove",Ve),window.addEventListener("mouseup",He),function(){window.removeEventListener("mousemove",Ve),window.removeEventListener("mouseup",He)}}),[Ve,He]),(0,u.useEffect)((function(){return function(){xe.current&&clearTimeout(xe.current),Oe.current&&clearTimeout(Oe.current),we.current&&clearTimeout(we.current)}}),[]),H&&te?(0,c.jsx)("div",{className:"flex items-center gap-2 self-stretch ".concat(L||""),children:(0,c.jsx)("span",{className:"text-gray-500 text-xs",children:"Audio not available"})}):B?(0,c.jsxs)("div",{children:[(0,c.jsxs)("button",{onClick:Te,"aria-label":G?"Pause audio":"Play audio",className:"audio-paywall-trigger flex flex-row items-center rounded-full border border-primary outline-none bg-white hover:bg-gray-light active:bg-gray-light focus:bg-gray-light transition-all cursor-pointer gap-2 px-4 py-2 h-8 border-solid",children:[(0,c.jsx)(he,i({},S,{isStoryStack:B,isDarkMode:M})),(0,c.jsxs)("span",{className:"font-grot10 font-bold text-primary text-3.5 leading-4\n ".concat(H?"hidden":""),children:[Le(X)," min"]})]}),H&&(0,c.jsx)("div",{className:"flex items-center gap-2 absolute w-full left-0 top-full pt-1",children:(0,c.jsx)(g.default,{trackClassName:"flex-1",timeClassName:"",filledColor:"#124ab2",emptyColor:"#D9D9D9",progressBarRef:ye,progressButtonRef:Ce,progressPercentage:be,currentTime:Z,isDarkMode:M,audioDuration:X,formatTime:Le,playbackSpeeds:I,playbackRate:le,handlePlaybackRateChange:ze,handleAnalytics:Ne,handleMouseDown:$e,handleTouchStart:qe,handleTouchMove:Be,handleTouchEnd:Fe,handleKeyDown:Ge,tooltipAdditionalProps:E,playbackTooltipOpen:"playback"===me,onPlaybackTooltipChange:Ke})}),(0,c.jsx)(h.default,{ref:je,src:t,isHlsStream:ve,onHlsStreamError:Ue})]}):(0,c.jsxs)("div",{className:"relative flex items-center gap-2 self-stretch ".concat(L||""),children:[ue?(0,c.jsxs)("div",{className:"bg-transparent flex gap-2 items-center",children:[(0,c.jsx)(b.default,{tooltipAdditionalProps:{beakClassName:"-top-2",position:"bottom"},content:(0,c.jsx)(y.AudioPlayLock,{subscriberLink:$,subscriptionPrice:F}),isDarkMode:M,arialLabel:"Subscribe to listen to this article",isOpen:"lock"===me,onOpenChange:We,children:(0,c.jsx)(he,i({},S,{isStoryStack:B}))}),(0,c.jsxs)("span",{className:"font-grot10 text-3.5 font-semibold not-italic leading-4".concat(ge),children:[r," ",(0,c.jsx)("span",{"aria-hidden":!0,children:"•"})," ",(0,c.jsxs)("time",{children:[Le(X)," min"]})]})]}):(0,c.jsxs)("button",{onClick:Te,className:"audio-paywall-trigger bg-transparent flex gap-2 items-center cursor-pointer","aria-label":"play button",children:[(0,c.jsx)(he,i({},S,{isStoryStack:B,isDarkMode:M})),G||H?(0,c.jsx)("span",{className:"sr-only",children:!G&&H?r:"Paused the article"}):(0,c.jsxs)("span",{className:"font-grot10 text-3.5 font-semibold not-italic leading-4".concat(ge),children:[r," ",(0,c.jsx)("span",{"aria-hidden":!0,children:"•"})," ",(0,c.jsxs)("time",{children:[Le(X)," min"]})]})]}),G||H?(0,c.jsx)(g.default,{trackClassName:"w-[135px]",timeClassName:ge,filledColor:M?"#8CB5FF":"#124ab2",emptyColor:M?"#595760":"#D9D9D9",isDarkMode:M,progressBarRef:ye,progressButtonRef:Ce,progressPercentage:be,currentTime:Z,audioDuration:X,formatTime:Le,playbackSpeeds:I,playbackRate:le,handlePlaybackRateChange:ze,handleAnalytics:Ne,handleMouseDown:$e,handleTouchStart:qe,handleTouchMove:Be,handleTouchEnd:Fe,handleKeyDown:Ge,tooltipAdditionalProps:E,playbackTooltipOpen:"playback"===me,onPlaybackTooltipChange:Ke}):(0,c.jsx)(b.default,{tooltipAdditionalProps:E,content:(0,c.jsx)(f.default,{feedBackIconProps:N,infoLabel:a,infoLink:s,feedBackLabel:_,feedBackLink:k,handleAnalytics:Ne,isDarkMode:M}),isDarkMode:M,isOpen:"feedback"===me,onOpenChange:Ze,children:(0,c.jsx)(m.FeedBackIcon,i({},N,{isDarkMode:M}))}),(0,c.jsx)(h.default,{ref:je,src:t,isHlsStream:ve,onHlsStreamError:Ue})]})};w.displayName="AudioPlayer",t.default=u.default.memo(w)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloseButtonIcon=void 0;var r=n(0);t.CloseButtonIcon=function(e){var t=e.size,n=void 0===t?"none":t,i=e.width,o=void 0===i?"34":i,a=e.height,l=void 0===a?"34":a;return(0,r.jsx)("div",{className:"inq-icon inq-icon--circle inq-icon--".concat(n),children:(0,r.jsxs)("svg",{width:o,height:l,viewBox:"0 0 34 34",fill:"none",fillOpacity:"0.75",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{x:"0.5",y:"0.5",width:"33",height:"33",rx:"16.5",fill:"#222222"}),(0,r.jsx)("rect",{x:"0.5",y:"0.5",width:"33",height:"33",rx:"16.5",stroke:"white"}),(0,r.jsx)("path",{d:"M17.0002 15.9745L22.6413 10.3333L23.6668 11.3588L18.0256 17L23.6668 22.6412L22.6413 23.6667L17.0002 18.0255L11.359 23.6667L10.3335 22.6412L15.9747 17L10.3335 11.3588L11.359 10.3333L17.0002 15.9745Z",fill:"white"})]})})}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InquirerIconOutline=void 0;var r=n(0);t.InquirerIconOutline=function(e){var t=e.size,n=void 0===t?"none":t,i=e.width,o=void 0===i?"170":i,a=e.height,l=void 0===a?"170":a,s=e.customClass,c=void 0===s?"":s;return(0,r.jsx)("div",{className:"inq-icon inq-icon--inquirer-icon-outline-live inq-icon--".concat(n," ").concat(c),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:l,viewBox:"0 0 170 170",fill:"none",children:[(0,r.jsx)("path",{d:"M84.9999 5.423C125.783 5.423 158.95 38.607 158.95 79.373C158.95 120.139 125.766 153.323 84.9999 153.323C44.2339 153.323 11.05 120.156 11.05 79.373C11.05 38.59 44.2169 5.423 84.9999 5.423ZM84.9999 0C41.2249 0 5.62695 35.615 5.62695 79.373C5.62695 123.131 41.242 158.746 84.9999 158.746C128.758 158.746 164.373 123.131 164.373 79.373C164.373 35.615 128.775 0 84.9999 0Z",fill:"black"}),(0,r.jsx)("path",{d:"M50.9832 47.5322L52.6322 48.5522C54.7912 42.9422 59.3812 37.3322 67.1502 37.3322C74.9192 37.3322 76.9592 38.3522 81.0392 39.7462L63.2062 52.8702L64.7362 54.5192L67.0312 52.8702C67.1502 52.8702 68.3062 53.8902 68.3062 65.8752V100.657L63.2062 104.346L64.7362 105.995L66.6402 104.601L74.9192 111.605C63.4442 111.605 54.4002 123.454 50.9662 133.144L52.6152 134.164C54.9102 128.435 58.8542 122.825 66.7592 122.825C74.6642 122.825 89.1822 128.945 97.4612 128.945C105.74 128.945 115.549 119.391 119 111.112L117.351 110.092C115.447 114.937 111.112 117.997 105.757 117.997C100.402 117.997 101.558 117.623 98.8722 117.113H98.4812C98.2262 116.994 98.1072 116.994 97.9712 116.994C99.6202 114.444 100.13 112.795 100.64 109.089C101.405 103.105 101.405 91.7662 101.405 83.6062V42.7042C112.744 40.1542 118.354 27.0302 118.983 25.6362L117.334 24.6162C115.294 29.7162 110.959 32.3852 105.23 32.3852C95.6762 32.3852 85.2212 26.1462 76.3132 26.1462C63.0532 26.1462 54.7742 37.6212 50.9492 47.5492M75.0552 111.622L85.0002 103.462C82.7052 101.677 80.6652 99.6372 80.6652 96.7132V42.5512L83.4702 40.3922C84.7452 40.9022 86.1392 41.2762 87.6692 41.6672V105.893C87.6692 108.562 87.4142 111.367 87.1592 113.662C82.8242 112.387 80.2742 112.013 75.0552 111.622Z",fill:"black"}),(0,r.jsx)("path",{d:"M117.062 138.295H52.9381C51.4171 138.295 50.1841 139.528 50.1841 141.049V167.246C50.1841 168.767 51.4171 170 52.9381 170H117.062C118.583 170 119.816 168.767 119.816 167.246V141.049C119.816 139.528 118.583 138.295 117.062 138.295Z",fill:"black"}),(0,r.jsx)("path",{d:"M59.7549 146.438H62.1859V159.8H71.4169V161.874H59.7549V146.455V146.438Z",fill:"white"}),(0,r.jsx)("path",{d:"M74.6299 161.857V146.438H77.0779V161.857H74.6299Z",fill:"white"}),(0,r.jsx)("path",{d:"M92.4121 146.438H94.9621L89.3181 161.857H85.8161L80.2231 146.438H82.9091L87.6861 160.123L92.3951 146.438H92.4121Z",fill:"white"}),(0,r.jsx)("path",{d:"M98.1069 146.438H110.075V148.512H100.538V152.898H108.358V154.972H100.538V159.8H110.262V161.874H98.1239V146.455L98.1069 146.438Z",fill:"white"})]})})}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n(12);const i=(e,t=!1,n,i)=>{const o=[];return r.d.forEach((n=>{((e,n)=>{if(n.length>0){const r="location"===e&&t?"region":e;o.push(`${r}=${encodeURIComponent(n.join(","))}`)}})(n,e[n])})),e.reservations&&o.push("takes_reservations=true"),e.picks&&o.push("is_pick=true"),n&&n>1&&o.push(`page=${n}`),i&&o.push(`slug=${i}`),o.length>0?`?${o.join("&")}`:""},o=e=>e.map((e=>(null==e?void 0:e.address)||{}))},,function(e,t){e.exports=d},,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(8),o=n(2),a=n.n(o),l=n(281),s=n(30),c=n(0);const u=["subtype-live","subtype-longformlight","subtype-longform","subtype-live-event","subtype-innovation-2"];let d=({customFields:e})=>{const{globalContent:t}=Object(i.useAppContext)(),n=Object(r.useMemo)((()=>null==t?void 0:t.type),[t]),o=Object(r.useMemo)((()=>null==t?void 0:t.subtype),[t]),a=(null==e?void 0:e.audioSubscriberLinkPath)||s.c,d=(null==e?void 0:e.subscriptionPrice)||s.d;return"story"!==n||u.includes(o)?Object(c.jsx)("div",{children:"The rest article types"}):Object(c.jsx)(l.c,{audioSubscriberLinkPath:a,subscriptionPrice:d})};d=Object(r.memo)(d),d.propTypes={customFields:a.a.shape({audioSubscriberLinkPath:a.a.string.tag({name:"Audio Subscriber Checkout Path",defaultValue:s.c,description:"URL for the audio player subscriber upsell. The path MUST NOT start with /",group:"Audio Stories"}),subscriptionPrice:a.a.string.tag({name:"Audio Subscription Price",defaultValue:s.d,description:"Price label shown in the audio player subscriber upsell.",group:"Audio Stories"})})},t.default=d},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(8),o=n(16),a=n(59),l=n(141),s=n(114),c=n(150),u=n(40),d=n(0);const p=()=>{const[e,t]=Object(r.useState)([]),[p,m]=Object(r.useState)([]),{globalContent:f}=Object(i.useAppContext)(),{excludeInBodyAds:b}=Object(a.b)(),h=Object(r.useMemo)((()=>null==f?void 0:f.content_elements),[f]),v=Object(r.useMemo)((()=>{var e,t;return(null==f||null===(e=f.label)||void 0===e||null===(t=e.in_article_nav)||void 0===t?void 0:t.text)||""}),[f]),g=Object(r.useMemo)((()=>h.map((e=>String((null==e?void 0:e.content)||"").match(/data-uuid="([A-Za-z0-9 -]*)/g)||[]))),[h]),j=Object(r.useMemo)((()=>g.flat().map((e=>e.replace('data-uuid="',"").replace(/"/g,""))).filter(Boolean)),[g]),y=Object(o.useContent)({source:(null==j?void 0:j.length)>0?"story-by-id":null,query:{ids:null==j?void 0:j.join(","),sourceIncludes:"additional_properties.vertical"}});let x=0;return h&&h.length?(Object(r.useEffect)((()=>{0===p.length&&(null==g?void 0:g.some((e=>e.length>0)))&&(null==y?void 0:y.length)>0?Promise.all([n.e(15),n.e(80)]).then(n.bind(null,1174)).then((e=>e.loadINQ2Video(h,g,t,y,Object(u.a)("ENV")))).then((e=>m(e))).catch((e=>{console.error("Error when load module video transformation",e)})):m(h)}),[h,p,g,y]),Object(d.jsxs)("article",{id:"article-body",role:"article",className:"article-body article__content article__content_lf innovation2-body min-h-screen",children:[e.length>0&&e.map((e=>Object(d.jsx)(c.a,{video:e,noContent:!0,hideCaption:!0,shouldShowPromoImage:!1},e._id))),p&&p.map(((e,t)=>{var n;const r=Object(d.jsx)(s.a,{storyContent:e,labelInArticleNav:v,tags:null==f||null===(n=f.taxonomy)||void 0===n?void 0:n.tags,currentTotalAds:x},t);return b||(x+=Object(l.a)(e)),r})),Object(d.jsx)("div",{id:"bottom-of-article-container"}),Object(d.jsx)("div",{style:{height:"10px"},id:"inq-article-completion"})]})):null};t.default=Object(r.memo)(p)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),o=n(8),a=n(10),l=n(24),s=n(0);const c=()=>{const{globalContent:e}=Object(o.useFusionContext)(),t=Object(r.useMemo)((()=>({_id:(null==e?void 0:e._id)||"",type:(null==e?void 0:e.type)||"",subtype:(null==e?void 0:e.subtype)||"",content_elements:null==e?void 0:e.content_elements,taxonomy:null==e?void 0:e.taxonomy})),[null==e?void 0:e._id,null==e?void 0:e.type,null==e?void 0:e.subtype,null==e?void 0:e.content_elements]);return Object(r.useEffect)((()=>{Object(l.b)([{key:"src",value:`https://media.inquirer.com/storage/inquirer/${Object(a.g)()?"prod":"dev"}/philly-innovation-widget.js`}])}),[]),Object(s.jsx)("div",{id:"philly-innovation-widget","data-canonicalurl":(null==e?void 0:e.canonical_url)||"","data-env":Object(a.g)()?"production":"development","data-content":encodeURIComponent(JSON.stringify(t))})};t.default=i.a.memo(c)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(8),o=n(16),a=n(166),l=n(128),s=n(77),c=n(336),u=n(212),d=n(337),p=n(94),m=n(5),f=n(6),b=n(51),h=n(56),v=n(113),g=n(0);const j=()=>{var e,t,n,j,y,x,O;const{globalContent:w,outputType:_,requestUri:C}=Object(i.useAppContext)(),k=Object(r.useMemo)((()=>Object(m.U)(_,C)),[_,C]),S=Object(r.useMemo)((()=>Object(f.g)(w)),[w]),N=Object(r.useMemo)((()=>null==w?void 0:w.display_date),[w]),L=Object(r.useMemo)((()=>Object(m.r)(w)),[w]),E=Object(r.useMemo)((()=>{var e,t;return Object(f.J)(null==w||null===(e=w.promo_items)||void 0===e||null===(t=e.youtube)||void 0===t?void 0:t.content)}),[w]),P=Object(r.useMemo)((()=>Object(f.o)(null==w?void 0:w.headlines)),[w]),T=Object(r.useCallback)(((e,t)=>{window.PMNdataLayer.push({event:e,podcast_title:t})}),[]),M=Object(o.useContent)({source:"site-menu",query:{section:"/podcasts"}});return Object(g.jsxs)("div",{className:"max-w-[1000px] mx-auto mb-15 mt-3 lg:mt-12",children:[M&&Object(g.jsxs)("div",{className:"mb-10 lg:mb-20 sm:px-5 lg:px-0",children:[Object(g.jsx)("div",{className:"flex md:mt-0 md:items-center justify-start px-5 sm:px-0 md:mb-0 mb-4 mt-4 sm:-mb-0.5 md:flex-row flex-col items-start",children:Object(g.jsx)("div",{className:"flex md:items-center justify-start items-center",children:Object(g.jsxs)("a",{href:(null==M||null===(e=M.site_topper)||void 0===e?void 0:e.site_url)||"/podcasts/",className:"pointer no-underline flex items-center relative z-1",children:[Object(g.jsx)("span",{className:"-m-b-4 h-10",children:Object(g.jsx)(d.InquirerIconOutlineNoLive,{width:"40",height:"40"})}),Object(g.jsx)("p",{className:"font-knockout text-6 leading-7 sm:text-[34px] font-[450] sm:leading-10 pl-2 pr-3 text-black",children:(null==M||null===(t=M.site)||void 0===t?void 0:t.site_title)||""})]})})}),Object(g.jsx)(u.a,{type:u.b.bolder,color:(null==M||null===(n=M.site)||void 0===n?void 0:n.section_color)||"mid-gray"})]}),Object(g.jsxs)("div",{className:"mx-4.5 lg:mx-0",children:[Object(g.jsx)("div",{id:"header-content",className:"focus:outline-none",children:Object(g.jsx)(a.a,{customClasses:"mb-5 lg:mb-3",children:P})}),Object(g.jsx)("p",{className:"mx-0 text-5 lg:text-6 pb-6 sm:pb-2 sm:mb-2 text-black font-inquirer-headline font-normal leading-5 lg:leading-6",children:(null===(j=w.subheadlines)||void 0===j?void 0:j.basic)||w.synopsis||(null==w||null===(y=w.description)||void 0===y?void 0:y.basic)||""}),L&&(null==L?void 0:L.url)&&Object(g.jsx)("div",{className:"aspect-[3/2]",children:k?Object(g.jsx)(b.b,{content:L,index:0,isFeatured:!0}):Object(g.jsx)(p.a,{type:"topper",content:L,ratio:"3x2",hideCaptionAndCredit:!0})}),Object(g.jsx)("ul",{className:"my-10 sm:my-7 list-none",children:Object(g.jsx)(l.a,{authors:(null==S?void 0:S.authors)||[],type:"podcast",timestamp:N,isUpdatedTimestamp:null==S||null===(x=S.timestamp)||void 0===x?void 0:x.isUpdated,section:null==S?void 0:S.section,organization:null==S?void 0:S.organization,hasAuthorAvatar:!1,customDateFormatTimestamp:null===(O=Object(h.e)(null==w?void 0:w.display_date,S))||void 0===O?void 0:O.date})}),E&&Object(g.jsx)("div",{className:"relative my-10",children:Object(g.jsx)(c.a,{onPauseCallback:()=>T("podcast_pause",P),onPlayCallback:()=>T("podcast_play",P),onEndCallback:()=>T("podcast_completion",P),src:E||"",customClass:"w-full"})}),((null==w?void 0:w.content_elements)||[]).map((e=>{var t;return"text"===e.type&&Object(g.jsx)(s.a,{dropcap:"letter"===(null===(t=e.block_properties)||void 0===t?void 0:t.dropcap),customClasses:"text-primary",children:e.content},e._id)}))]}),Object(g.jsx)(v.a,{customClasses:"max-w-[728px] mx-auto px-5"})]})};t.default=Object(r.memo)(j)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),o=n(8),a=n(77),l=n(166),s=n(81),c=n(88),u=n(2),d=n.n(u),p=n(283),m=n(5),f=n(52),b=n(10),h=n(6),v=n(9),g=n(0);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t{var t,n;const{globalContent:i,outputType:u,requestUri:d}=Object(o.useAppContext)(),j=Object(r.useMemo)((()=>Object(h.o)(null==i?void 0:i.headlines)),[i]),x=Object(r.useMemo)((()=>Object(m.o)(i)),[i]),O=Object(r.useMemo)((()=>Object(v.b)(u)),[u]),w=Object(r.useMemo)((()=>Object(m.nb)(d)),[d]),_=Object(r.useMemo)((()=>Object(f.a)({articleTitle:Object(h.o)(null==i?void 0:i.headlines,"social_share"),articleCanonicalUrl:null==i?void 0:i.canonical_url,customClass:"inline-block cursor-pointer bg-transparent p-0 mt-4 hover:fill-blue-mid mr-2 bg-white",isAppWebView:O,fullGiftURL:`${Object(b.c)()}${null==i?void 0:i.canonical_url}`})),[null==i?void 0:i.headlines,null==i?void 0:i.canonical_url,O]);return O&&!w?null:Object(g.jsx)("div",{className:"max-w-[628px] mx-auto mb-2",children:(null==x?void 0:x.name)?Object(g.jsx)(p.default,{customFields:e}):Object(g.jsxs)("div",{className:"px-5 lg:px-0 pb-5",children:[Object(g.jsxs)("div",{id:"header-content",className:"focus:outline-none first-line:relative flex -bottom-2 gap-4 relative",children:[Object(g.jsx)(l.a,{customClasses:"w-full",children:j}),Object(g.jsxs)("div",{className:"my-4 flex",children:[!O&&Object(g.jsx)("div",{onClick:f.d,children:Object(g.jsx)(c.a,y({},_))}),Object(g.jsx)(s.a,{usePMNdataLayerEvent:!0,userInteraction:"social-share",articleTitle:Object(h.o)(i.headlines,"social_share"),articleCanonicalUrl:i.canonical_url,customClass:"inline-block cursor-pointer bg-transparent p-0 mt-4 hover:fill-blue-mid"})]})]}),Object(g.jsx)(a.a,{summary:!0,additionalAttrs:{id:"main-content"},customClasses:"mx-0",children:(null===(t=i.subheadlines)||void 0===t?void 0:t.basic)||i.synopsis||(null==i||null===(n=i.description)||void 0===n?void 0:n.basic)||""})]})})}));O.displayName="GalleryHeader",O.propTypes={customFields:d.a.shape({enableGiftToolTip:d.a.bool.tag({name:"Enable tooltip",defaultValue:!1,description:"This is to control whether to support the gift tooltip or not"})})},t.default=O},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(8),o=n(16),a=n(2),l=n.n(a),s=n(28),c=n(15),u=n(540),d=n(5),p=n(97),m=n(0);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let h=({customFields:e})=>{const{id:t,globalContent:n,renderables:a,metaValue:l,type:h}=Object(i.useAppContext)(),{subtype:v,_id:g}=Object(r.useMemo)((()=>n),[n]),j=Object(r.useMemo)((()=>(null==n?void 0:n.relatedArticles)||[]),[n]),{packageLabel:y,collectionId:x}=Object(r.useMemo)((()=>e),[e]),O=Object(r.useMemo)((()=>Object(c.a)(a)),[a]),w=Object(r.useMemo)((()=>({"data-card-location":l("pagetype"),"data-hp-package-type":h?h.replace("/","-"):"","data-hp-all-packages-layout":Object(c.b)(O),"data-hp-package-section":"No Value Set","data-hp-package-label":y,"data-hp-package-index":Object(s.h)(O,t)})),[l,h,O,t,y]),_=Object(r.useMemo)((()=>Object(d.eb)(v||"")),[v]),C=Object(r.useMemo)((()=>Object(d.T)(v||"")),[v]),k=Object(o.useContent)({source:C?"collections-api":null,query:{id:x,size:5}}),S=Object(r.useMemo)((()=>_?j:C&&(null==k?void 0:k.length)?k.filter((e=>(null==e?void 0:e._id)!==g)).slice(0,4):[]),[_,j,C,k,g]);if(!(null==S?void 0:S.length))return null;const N=Object(r.useCallback)((e=>{C&&window.PMNdataLayer.push({content_type:"article",content_sub_type:v,event:"misc_event",eventAction:"link-click",eventLabel:`${y} | https://www.inquirer.com${e}`})}),[v,y,C]);return Object(m.jsxs)("section",function(e){for(var t=1;tObject(m.jsx)(u.a,{story:e,isCompactCard:_,isMoreGuidesCard:C,hasUnderlined:_,dataLinkType:_?"restaurant-also-appears-in":"",onClickMoreGuideModule:N},e._id)))})})]}))};h=Object(r.memo)(h),h.propTypes={customFields:l.a.shape({packageLabel:l.a.string.tag({name:"Package Label",defaultValue:"Also appears in",group:"Package header"}),collectionId:l.a.string.tag({name:"Collection ID",defaultValue:"",group:"Collections Configuration"})})},t.default=h},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),o=n(2),a=n.n(o),l=n(283),s=n(0);const c=i.a.memo((({customFields:e})=>Object(s.jsx)("div",{className:"max-w-[600px] w-full mx-auto",children:Object(s.jsx)(l.default,{customFields:e})})));c.displayName="VideoHeader",c.propTypes={customFields:a.a.shape({enableGiftToolTip:a.a.bool.tag({name:"Enable tooltip",defaultValue:!1,description:"This is to control whether to support the gift tooltip or not"})})},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InquirerPickIcon=void 0;var r=n(0);t.InquirerPickIcon=function(e){var t=e.size,n=void 0===t?"none":t,i=e.customClass,o=void 0===i?"":i,a=e.circleWidth,l=void 0===a?"w-4":a,s=e.circleHeight,c=void 0===s?"h-4":s,u=e.starWidth,d=void 0===u?"w-3":u,p=e.starHeight,m=void 0===p?"h-3":p;return(0,r.jsxs)("div",{className:"inq-icon relative inq-icon-restaurant-pick inq-icon--".concat(n," ").concat(o),children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"absolute ".concat(l," ").concat(c).concat("none"===n?" top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2":" inset-0"),viewBox:"0 0 16 16",fill:"none",children:(0,r.jsx)("circle",{cx:"8",cy:"8",r:"8",fill:"#F94C0E"})}),(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"absolute ".concat(d," ").concat(m).concat("none"===n?" top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2":" m-auto"),viewBox:"0 0 12 12",fill:"none",children:(0,r.jsx)("path",{d:"M6.00075 8.33365L3.25776 10.0091L4.00354 6.8826L1.5625 4.79157L4.76641 4.53472L6.00075 1.56699L7.23513 4.53472L10.439 4.79157L7.99799 6.8826L8.74377 10.0091L6.00075 8.33365Z",fill:"white"})})]})}},function(e,t,n){"use strict";n.r(t),n.d(t,"ArticleFoodGuideBody",(function(){return ue}));var r=n(1),i=n.n(r),o=n(8),a=n(104),l=n(220),s=n(56),c=n(430),u=n(431),d=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;tObject(d.jsx)("div",{className:`inq-icon inq-icon--down-arrow inq-icon--${e}`,children:Object(d.jsxs)("svg",m({xmlns:"http://www.w3.org/2000/svg",width:"26",height:"34",viewBox:"0 0 26 34"},t?{className:t}:{},{children:[Object(d.jsx)("title",{children:"Up Arrow"}),Object(d.jsx)("path",{d:"M11.3333 6.71329L2.39329 15.6533L0.0366202 13.2966L13 0.33329L25.9633 13.2966L23.6066 15.6533L14.6666 6.71329L14.6666 33.6666L11.3333 33.6666L11.3333 6.71329Z"})]}))});var h=n(105);var v=({totalPlaces:e,currentIndex:t,onNavigation:n,isMapView:i,foodVerticalAnalyticsObj:o})=>{const a=Object(r.useCallback)((e=>{n(e),o(h.a.CLICK,"scroll bar click")}),[o,n]);return Object(d.jsxs)("div",{className:"w-full bg-shades-yellow-70 p-0.5 md:p-1 flex justify-center items-center "+(i?"flex-row h-6 lg:rounded lg:flex-col lg:h-full":"rounded flex-col"),children:[Object(d.jsx)("button",{className:"bg-transparent cursor-pointer "+(i?"p-1 lg:p-1.5":"p-1.5"),onClick:()=>a(t-1),children:Object(d.jsx)(b,{size:"small",customClass:"h-3"+(i?" -rotate-90 lg:rotate-0":"")})}),Object(d.jsxs)("span",{className:"font-grot10 text-sm leading-4 text-primary py-1 w-11 text-center",children:[t+1,"/",e]}),Object(d.jsx)("button",{className:"bg-transparent cursor-pointer "+(i?"p-1 lg:p-1.5":"p-1.5"),onClick:()=>a(t+1),children:Object(d.jsx)(b,{size:"small",customClass:"h-3 "+(i?"rotate-90 lg:rotate-180":"rotate-180")})})]})},g=n(90),j=n(235),y=n(153),x=n(107),O=n(424),w=n(5),_=n(52),C=n(429),k=n(6),S=n(51);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t{var i,a,l,s,c;const{requestUri:u}=Object(o.useAppContext)(),p=Object(r.useMemo)((()=>Object(w.r)(e)),[e]),m=Object(r.useMemo)((()=>Object(w.U)(t,u)&&Object(w.nb)(u)),[t,u]),f=Object(r.useMemo)((()=>Object(w.o)(e)),[e]),b=Object(r.useMemo)((()=>(null==p?void 0:p.imageWebUrl)||(null==p?void 0:p.url)),[p]),h=Object(r.useMemo)((()=>{var t,n;return null!==(t=null==e||null===(n=e.headlines)||void 0===n?void 0:n.basic)&&void 0!==t?t:""}),[null==e||null===(i=e.headlines)||void 0===i?void 0:i.basic]),v=Object(r.useMemo)((()=>{var t;return null!==(t=null==e?void 0:e.subheadlines.basic)&&void 0!==t?t:""}),[null==e||null===(a=e.subheadlines)||void 0===a?void 0:a.basic]),N=Object(r.useMemo)((()=>({usePMNdataLayerEvent:!0,userInteraction:"gift_pop_up_share",articleTitle:Object(k.o)(null==e?void 0:e.headlines,"social_share"),articleCanonicalUrl:null==e?void 0:e.canonical_url,customClass:"inline-block cursor-pointer bg-transparent p-0 mr-2 -mt-1",isDarkMode:!1,getGiftShareLink:()=>Object(_.b)(null==e?void 0:e.canonical_url)})),[e]),[E,P]=Object(r.useState)(!1),T=Object(r.useMemo)((()=>({usePMNdataLayerEvent:!0,userInteraction:"social-share",articleTitle:Object(k.o)(e.headlines,"social_share"),articleCanonicalUrl:e.canonical_url,customClass:"inline-block cursor-pointer bg-transparent p-0"})),[e]),M=Object(d.jsx)(C.a,{story:e,articleCategory:f,outputType:t}),A=Object(r.useCallback)((()=>{const e=!E;P(e),"undefined"!=typeof window&&window.PMNdataLayer.push({event:"ga_generic_event",interactionDetail:"image-byline",interactionType:"click",userInteraction:e?"caption_open":"caption_close"})}),[E]);return Object(d.jsx)("div",{className:"flex flex-col items-end gap-4",children:Object(d.jsxs)("div",{className:"bg-shades-yellow-70 flex flex-col items-center gap-4 self-stretch pb-4 px-4 sm:pb-6 sm:px-6 lg:p-8",children:[p&&Object(d.jsxs)("div",{onClick:A,className:"aspect-[3/2] self-stretch rounded-lg overflow-hidden relative cursor-pointer",children:[m?Object(d.jsx)(S.b,{content:p,index:0,isFeatured:!0}):Object(d.jsx)(g.Image,{src:null!=b?b:"",alt:null!==(l=null==p?void 0:p.caption)&&void 0!==l?l:"",linkEmbedded:null==p||null===(s=p.additional_properties)||void 0===s?void 0:s.link,srcset:null!==(c=null==p?void 0:p.imgSrcSet)&&void 0!==c?c:"",imageRatio:"3x2",type:"topper",sizes:"(min-width: 1024px) 500px, (min-width: 768px) 400px, (max-width: 480px) 500px, 100vw"}),(null==p?void 0:p.caption)&&Object(k.m)(p)&&Object(d.jsxs)("div",{children:[Object(d.jsx)("div",{className:"absolute right-0 bottom-0 p-2 md:p-4",children:Object(d.jsx)("span",{className:"bg-transparent cursor-pointer"+(E?" hidden":""),children:Object(d.jsx)(O.InfoButtonIcon,{customClass:" flex"})})}),Object(d.jsx)("div",{className:"min-w-full",children:Object(d.jsx)("div",{className:"bg-black bg-opacity-75 p-2 md:p-4 font-grot10 text-xs leading-4 lg:text-sm lg:leading-5 absolute bottom-0 inset-x-0 "+(E?"":"hidden"),children:Object(d.jsxs)("div",{className:"relative",children:[Object(d.jsxs)("div",{className:"mr-4 pr-4 flex flex-col",children:[Object(d.jsx)("p",{className:"scrollbar-hidden text-white flex flex-1 overflow-auto max-h-[170px]",children:null==p?void 0:p.caption}),Object(d.jsx)("p",{className:"text-neutral-light-charcoal-gray",children:Object(k.m)(p)})]}),Object(d.jsx)("div",{className:"bg-transparent cursor-pointer absolute top-0 right-0",children:Object(d.jsx)(x.CloseIcon,{size:"small",customClass:"fill-white h-3 w-3"})})]})})})]})]}),Object(d.jsxs)("div",{className:"flex items-center gap-4 self-stretch justify-between",children:[Object(d.jsx)("span",{className:"text-black font-grot12-condensed text-4 not-italic font-semibold leading-4 uppercase",children:M}),Object(d.jsx)("div",{className:"flex items-end gap-2",children:Object(d.jsxs)("div",{className:"relative flex items-center z-2",children:[!n&&Object(d.jsx)("div",{onClick:_.d,className:"w-full h-full self-end",children:Object(d.jsx)(j.Gift,L({},N))}),Object(d.jsx)("div",{className:"w-full h-full",children:Object(d.jsx)(y.Share,L({},T))})]})})]}),Object(d.jsxs)("div",{className:"flex flex-col gap-2 self-stretch mr-5",children:[Object(d.jsx)("h1",{className:"text-black font-inquirer-headline text-10 not-italic font-semibold leading-10 sm:text-12 sm:leading-12 self-stretch",children:h}),""!==v&&Object(d.jsx)("p",{className:"text-neutral-charcoal-gray font-inquirer-headline text-5 not-italic font-medium leading-6 sm:text-6 sm:leading-7",children:v})]})]})})};var T=i.a.memo(P),M=n(77),A=n(10),I=n(320),D=n(317),R=n(167),$=n(423);var q=({place:e,canonicalUrl:t,cardRef:n,handleExpansion:i,isActive:o,shouldShowImage:a,foodVerticalAnalyticsObj:l})=>{const s=Object(r.useRef)(null),[c,u]=Object(r.useState)(!1),p=Object(r.useMemo)((()=>null==e?void 0:e.photo_data),[null==e?void 0:e.photo_data]),m=Object(r.useMemo)((()=>(null==e?void 0:e.cuisines.length)>=2?null==e?void 0:e.cuisines[0]:(null==e?void 0:e.cuisines)||[]),[null==e?void 0:e.cuisines]),f=Object(r.useMemo)((()=>(null==e?void 0:e.price_range)||[]),[null==e?void 0:e.price_range]),b=Object(r.useMemo)((()=>(null==e?void 0:e.place_slug)||""),[null==e?void 0:e.place_slug]),h=Object(r.useMemo)((()=>(null==e?void 0:e.slug)||""),[null==e?void 0:e.slug]),v=Object(r.useMemo)((()=>(null==e?void 0:e.description)||""),[null==e?void 0:e.description]),g=Object(r.useMemo)((()=>null==e?void 0:e.region),[null==e?void 0:e.region]),j=Object(r.useMemo)((()=>(null==e?void 0:e.has_multiple_addresses)||!1),[null==e?void 0:e.has_multiple_addresses]),y=Object(r.useMemo)((()=>(null==e?void 0:e.name)||""),[null==e?void 0:e.name]),x=Object(r.useMemo)((()=>Array.isArray(m)?m.join(", "):m),[m]),O=Object(r.useMemo)((()=>Object(D.a)(f)),[f]),w=Object(r.useCallback)((e=>{l("link-click",`${e} | ${y} | mini_card`)}),[l,y]);return Object(r.useEffect)((()=>{const e=()=>{if(null==s?void 0:s.current){const e=(null==s?void 0:s.current.scrollHeight)||0,t=2*(parseFloat(getComputedStyle(null==s?void 0:s.current).lineHeight)||0)||0;e&&t&&u(e>=t)}};if(null==s?void 0:s.current){e();const t=()=>{u(!1),e()};if("undefined"!=typeof window)return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}}),[]),Object(d.jsxs)("div",{className:`rounded-lg ml-4 md:first:ml-6 scroll-ml-4 md:scroll-ml-6 mt-0.5 flex flex-col flex-shrink-0 bg-white w-60 md:w-64 shadow-card outline outline-2 ${o?"outline-shades-yellow-70":"outline-transparent"}\n `,onClick:()=>i(h),id:`map-view-${h}`,ref:n,children:[Object(d.jsx)("div",{className:"rounded-t-lg overflow-hidden",children:a&&p&&Object(d.jsx)($.a,{featureImage:p})}),Object(d.jsxs)("div",{className:"px-4 py-4 flex flex-col flex-1",children:[Object(d.jsx)("h3",{className:`inq-headline text-primary cursor-pointer text-5 leading-none md:text-6${c?" line-clamp-2 pb-0.5":""}\n `,ref:s,children:y}),Object(d.jsxs)("div",{className:"flex py-1 items-stretch text-3 font-grot10 font-light text-secondary flex-wrap leading-3.5 sm:text-3.5 sm:leading-4.5 gap-y-0.5",children:[g&&Object(d.jsxs)("span",{className:"flex items-center whitespace-nowrap",children:[g,j&&Object(d.jsxs)("span",{children:[" + ",Object(d.jsx)("a",{className:"underline text-secondary font-medium",onClick:e=>e.stopPropagation(),href:`${Object(A.c)()}/food/restaurants/${b}`,children:"more"})]})]}),Object(d.jsx)("div",{className:x||f.length>0?"border-r border-solid pr-2 mr-2":""}),Object(d.jsxs)("div",{className:"flex",children:[x&&Object(d.jsx)("span",{className:"flex items-center"+(f.length>0?" pr-2 mr-2 border-r border-solid":""),children:x}),O&&Object(d.jsx)("span",{className:"flex items-center",children:O})]})]}),Object(d.jsx)("div",{className:"mb-2",onClick:e=>e.stopPropagation(),children:Object(d.jsx)(M.a,{customClasses:`font-grot10 font-normal text-3 md:text-3.5 leading-4 md:leading-4.5 ${c?"line-clamp-1":"line-clamp-2"}\n `,children:Object(R.a)(v)})}),Object(d.jsx)("div",{className:"mt-auto",children:Object(d.jsx)(I.a,{fullAddress:(null==e?void 0:e.address)||"",phoneNumber:(null==e?void 0:e.phone)||"",websiteUrl:(null==e?void 0:e.website)||"",instagram:(null==e?void 0:e.instagram_handle)||"",reservationLink:(null==e?void 0:e.reservation_link)||"",reservationMethod:(null==e?void 0:e.reservation_method)||"",hashUrl:`${Object(A.c)()}${t}#${h}`,email:(null==e?void 0:e.email_address)||"",shouldShowCopyButton:!0,shouldUseCollapsedView:!0,handleAnalytics:w})})]})]})};const B={$:"(Under $50)",$$:"($50-$100)",$$$:"($100-$200)",$$$$:"(Over $200)"},F=({filter:e,handleCheckboxChange:t,selectedFilters:n,wrapperClassName:i,listClassName:o,labelClassName:a})=>{var l;const s=Object(r.useCallback)((e=>e.replace(/\s+/g,"-")),[]),c=Object(r.useCallback)((e=>e.includes("$")?Object(d.jsxs)(d.Fragment,{children:[e," ",Object(d.jsx)("span",{className:"text-neutral-mid-gray",children:B[e]})]}):e),[]);return Object(d.jsx)("ul",{className:i,children:null==e||null===(l=e.options)||void 0===l?void 0:l.map((r=>{var i;return Object(d.jsxs)("li",{className:o,children:[Object(d.jsx)("input",{type:"checkbox",className:"filter-options-check h-4 w-4 border-2 border-solid rounded-sm border-neutral-light-text cursor-pointer",id:s(r),checked:!!(null===(i=n[null==e?void 0:e.title])||void 0===i?void 0:i.includes(r)),onChange:()=>t(null==e?void 0:e.title,r)}),Object(d.jsx)("label",{htmlFor:s(r),className:a,children:c(r)})]},s(r))}))})};var V=Object(r.memo)(F),H=n(134);const U=({title:e,toggleCategory:t,color:n="",className:i,iconClassName:o,selectedFilters:a={},isActive:l=!1,isDesktop:s=!1})=>{const c=Object(r.useMemo)((()=>a[e]||[]),[a,e]),u=Object(r.useMemo)((()=>s&&!!(null==c?void 0:c.length)),[s,null==c?void 0:c.length]);return Object(d.jsxs)("label",{className:i,children:[e,Object(d.jsxs)("button",{type:"button",className:"bg-transparent",onClick:()=>t(e),children:[u&&Object(d.jsx)("div",{className:`font-grot10 text-white text-[11px] absolute \n right-0 w-3 transition-all duration-700 ease-in-out ${l?"-translate-y-3":"-translate-y-2.5"} ${(null==c?void 0:c.length)?"opacity-100":"opacity-0"}`,children:null==c?void 0:c.length}),Object(d.jsx)(H.ChevronUpIcon,{size:"small",customClass:o,color:n})]})]})};var z=Object(r.memo)(U);function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var W=({places:e,selectedFilters:t,setMapFilterResults:n,setSelectedFilters:i,setShouldShowMap:o,handleFilterAnalytic:a})=>{const l=Object(r.useMemo)((()=>(e=>{const t=[];if(!e||0===e.length)return t;const n=new Set(null==e?void 0:e.map((e=>null==e?void 0:e.region)));t.push({title:"region",options:[...n].sort()});const r=new Set(null==e?void 0:e.flatMap((e=>(null==e?void 0:e.cuisines)||[])));return t.push({title:"genre",options:[...r].sort()}),t.push({title:"price",options:["$","$$","$$$","$$$$"]}),t})(e)),[e]),s=Object(r.useMemo)((()=>Object.values(t).reduce(((e,t)=>e+t.length),0)),[t]),[c,u]=Object(r.useState)([]),d=Object(r.useMemo)((()=>s?null==c?void 0:c.length:null==e?void 0:e.length),[s,null==c?void 0:c.length,null==e?void 0:e.length]),p=Object(r.useCallback)((()=>{let r=[...e];var i;(Object.entries(t).forEach((([e,t])=>{if(!t||0===(null==t?void 0:t.length))return;const n=new Set(t);r=r.filter((t=>{var r,i;switch(e){case"region":return n.has(null==t?void 0:t.region);case"genre":return null==t||null===(r=t.cuisines)||void 0===r?void 0:r.some((e=>n.has(e)));case"price":return null==t||null===(i=t.price_range)||void 0===i?void 0:i.some((e=>n.has(e)));default:return!0}}))})),"function"==typeof o)&&o(!!(null===(i=r)||void 0===i?void 0:i.length));n(r),u(r)}),[e,t]),m=Object(r.useCallback)(((e,t)=>{i((n=>{const r=n[e]||[],i=new Set(r),o=`Filter checked | ${e} | ${t} | ${i.has(t)?"off":"on"}`,l=function(e){for(var t=1;te!==t)):[...r,t]});return a(!1,o),0===l[e].length&&delete l[e],l}))}),[i,a]);return{filters:l,selectedFilterCount:s,applyFilters:p,handleCheckboxChange:m,resultCount:d}},Z=n(216);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const X=({places:e,setMapData:t,selectedFilters:n,setSelectedFilters:i,handleActiveOnFilter:o,openMenu:a,setOpenMenu:l,handleFilterAnalytic:s,checkVerticalAligment:c=(()=>{})})=>{const u=Object(r.useRef)(null),[p,m]=Object(r.useState)({region:!0,genre:!0,price:!0}),[f,b]=Object(r.useState)([]),{filters:h,selectedFilterCount:v,applyFilters:g,handleCheckboxChange:j,resultCount:y}=W({places:e,selectedFilters:n,setMapFilterResults:b,setSelectedFilters:i,handleFilterAnalytic:s}),x=Object(r.useMemo)((()=>v&&!(null==f?void 0:f.length)),[v&&!(null==f?void 0:f.length)]),O=Object(r.useCallback)((e=>{e&&(e.stopPropagation(),l(!a))}),[a]),w=Object(r.useCallback)((()=>{v&&s(!0),t([]),i({}),o([]),c("map-area","instant"),l(!1)}),[o,v,s,c]),_=Object(r.useCallback)((e=>{m((t=>function(e){for(var t=1;t{t(f),o(f),c("map-area","instant"),l(!1)}),[f,o,c]);return Object(r.useEffect)((()=>{v?g():b([])}),[v,g]),Object(r.useEffect)((()=>{a||m({region:!0,genre:!0,price:!0})}),[a]),Object(r.useEffect)((()=>{if("undefined"==typeof window||!a)return;const e=()=>{u.current&&(u.current.style.height=`${window.innerHeight}px`)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[a]),Object(d.jsxs)(d.Fragment,{children:[Object(d.jsx)(Z.a,{buttonText:"Filters",icon:"filter",onClick:O,className:"ml-4",children:Object(d.jsx)("div",{className:"flex h-2 w-2 p-1 flex-col justify-center items-center rounded-[20px] bg-whitesmoke",children:Object(d.jsx)("span",{className:"text-center text-black font-grot10 font-bold text-2.5 md:text-3 not-italic",children:v})})}),a&&Object(d.jsxs)("div",{ref:u,className:"flex flex-col items-center gap-4 flex-1 bg-white fixed top-0 left-0 z-9 w-screen h-screen font-grot10",children:[Object(d.jsx)("h3",{className:"self-start pt-4 pl-4 text-4 sm:text-5 font-medium leading-4 sm:leading-5 text-primary",children:"Filters"}),Object(d.jsx)("div",{className:"flex flex-col items-center gap-4 overflow-y-auto w-72 h-screen",children:h.map((e=>Object(d.jsxs)("div",{className:"flex flex-col p-4 items-center self-stretch text-primary border\n border-solid border-gray-light rounded-lg transition-all duration-1000\n ease-in-out "+(p[null==e?void 0:e.title]?"gap-4":"gap-0"),children:[Object(d.jsx)(z,{title:null==e?void 0:e.title,toggleCategory:_,className:"flex justify-between items-center self-stretch capitalize text-4.5 font-medium leading-5",iconClassName:"transition-transform duration-700 "+(p[null==e?void 0:e.title]?"":"rotate-180")}),Object(d.jsx)("div",{className:"filter-options-container w-full overflow-hidden transition-all\n duration-300 ease-in-out "+(p[null==e?void 0:e.title]?"isOpen":""),children:Object(d.jsx)(V,{filter:e,handleCheckboxChange:j,selectedFilters:n,wrapperClassName:"flex flex-col gap-2 items-start self-stretch",listClassName:"flex gap-1 items-center cursor-pointer",labelClassName:"text-4 font-normal leading-5 cursor-pointer"})})]},null==e?void 0:e.title)))}),Object(d.jsxs)("div",{className:"filter-options-footer flex justify-end items-center gap-4 text-center p-4 self-stretch",children:[Object(d.jsx)("button",{type:"button",onClick:w,className:"font-grot10 text-neutral-light-text h-8 px-4 sm:px-6 py-0 font-bold text-3.5 sm:text-4 bg-transparent leading-4 sm:leading-5 capitalize",children:"Clear Filters"}),Object(d.jsxs)("button",{type:"button",className:"font-grot10 text-white rounded h-8 px-4 sm:px-6 py-0 bg-black disabled:cursor-not-allowed \n text-3.5 sm:text-4 font-bold capitalize leading-4 sm:leading-5 "+(x?"bg-gray-light":"bg-black"),onClick:C,disabled:!!x,children:["Show ",y," result",1===y?"":"s"]})]})]})]})};var Q=Object(r.memo)(X);const ee=({places:e,setMapData:t,selectedFilters:n,setSelectedFilters:i,handleActiveOnFilter:o,setShouldShowMap:a,handleFilterAnalytic:l})=>{const[s,c]=Object(r.useState)([]),u=Object(r.useRef)(null),p=Object(r.useRef)(!0),[m,f]=Object(r.useState)(""),[b,h]=Object(r.useState)(!1),{filters:v,selectedFilterCount:g,applyFilters:j,handleCheckboxChange:y,resultCount:x}=W({places:e,selectedFilters:n,setMapFilterResults:c,setSelectedFilters:i,setShouldShowMap:a,handleFilterAnalytic:l}),O=Object(r.useCallback)((e=>{f((t=>t===e?"":e))}),[]),w=Object(r.useCallback)((()=>{t(s),o(s)}),[s,o]),_=Object(r.useCallback)((()=>{g&&!(null==s?void 0:s.length)&&"function"==typeof a&&a(!0),l(!0),t([]),i({}),o([]),f("")}),[o,null==s?void 0:s.length,g,l]);return Object(r.useEffect)((()=>{if("undefined"==typeof window)return;const e=()=>{const e=window.innerHeight+window.scrollY>=document.documentElement.scrollHeight-(x?700:450);h(e)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)}),[x]),Object(r.useEffect)((()=>{if(!u.current||!m||"undefined"==typeof window)return;const e=e=>{var t;(null==e?void 0:e.target)instanceof HTMLElement&&!(null===(t=u.current)||void 0===t?void 0:t.contains(e.target))&&f("")};return window.addEventListener("click",e),()=>document.removeEventListener("click",e)}),[m]),Object(r.useEffect)((()=>{g&&j()}),[g,j]),Object(r.useEffect)((()=>{p.current&&!g||(g?(w(),p.current=!1):p.current||g||_())}),[g,w]),Object(d.jsx)("div",{className:"flex py-8 px-6 flex-col items-center gap-2 self-stretch\n rounded-3xl z-9 sticky top-0 -mt-[8.5rem] transition-all duration-300 ease-in-out w-auto\n "+(b?"opacity-0":"opacity-100"),children:Object(d.jsxs)("div",{ref:u,className:"flex py-3 px-8 items-center gap-4 self-stretch bg-black rounded-3xl",children:[Object(d.jsx)("h3",{className:"font-grot10 text-3.5 text-white not-italic font-bold leading-4 lg:hidden xl:flex lg:text-3 xl:text-3.5",children:"Filter by"}),null==v?void 0:v.map((e=>Object(d.jsxs)("div",{className:"flex items-center relative",children:[Object(d.jsx)(z,{title:null==e?void 0:e.title,toggleCategory:O,className:"flex gap-1 text-white font-grot10 text-3.5 not-italic font-normal leading-4 capitalize z-1 cursor-pointer lg:text-3 xl:text-3.5",iconClassName:"cursor-pointer transition-all duration-700 ease-in-out h-3 w-3 align-middle "+(m!==(null==e?void 0:e.title)?"rotate-180":""),color:"#ffffff",selectedFilters:n,isActive:m===(null==e?void 0:e.title),isDesktop:!0}),Object(d.jsx)(V,{filter:e,handleCheckboxChange:y,selectedFilters:n,wrapperClassName:`filter-options-footer transition-all duration-700 absolute\n top-6 capitalize p-4 gap-2 grid self-stretch rounded-xl max-h-[2000px]\n bg-white ${m===(null==e?void 0:e.title)?"opacity-100 translate-y-0":"-translate-y-5 opacity-0 pointer-events-none"} ${"genre"!==(null==e?void 0:e.title)?"grid-cols-1 w-52":"grid-cols-3 w-150"}`,listClassName:"flex items-center gap-1 cursor-pointer",labelClassName:"leading-5 text-primary font-grot10 text-4 not-italic font-normal cursor-pointer"})]},null==e?void 0:e.title))),Object(d.jsxs)("div",{className:"flex h-4 justify-between items-center flex-1 basis-0",children:[Object(d.jsx)("div",{className:"w-px h-4 bg-neutral-mid-gray"}),Object(d.jsxs)("div",{className:"flex justify-end items-center gap-4",children:[Object(d.jsxs)("h3",{className:"text-neutral-light-gray font-grot10 text-3.5 not-italic font-normal leading-4 lg:text-3 xl:text-3.5",children:["Showing ",x," result",1===x?"":"s"]}),g>0&&Object(d.jsx)("button",{type:"button",onClick:_,className:"text-shades-yellow-70 bg-transparent cursor-pointer "+(g?"z-1":""),children:Object(d.jsxs)("span",{className:"inline-block font-grot10 text-3.5 not-italic font-normal leading-4 underline decoration-solid decoration-auto underline-offset-auto [text-decoration-skip-ink:none] [text-underline-position:from-font] lg:text-3 xl:text-3.5",children:["Clear ",Object(d.jsx)("span",{className:"lg:hidden xl:inline",children:"filters"})]})})]})]})]})})};var te=Object(r.memo)(ee);const ne=({handleClearFilter:e})=>Object(d.jsxs)("div",{className:"flex p-6 flex-col items-center gap-6 rounded-lg bg-white ",children:[Object(d.jsxs)("div",{className:"flex flex-col items-center gap-2 self-stretch",children:[Object(d.jsx)("span",{className:"self-stretch text-secondary-yellow font-grot12-condensed text-8 not-italic font-semibold leading-8",children:"Oops!"}),Object(d.jsx)("span",{className:"self-stretch font-grot10 text-neutral-black text-4 not-italic font-normal leading-5",children:"No restaurants match your selected filters."})]}),Object(d.jsx)("button",{type:"button",onClick:e,className:"flex justify-end items-start gap-4 self-stretch text-neutral-black font-grot10 text-4 not-italic font-bold leading-5 underline bg-transparent decoration-solid decoration-auto underline-offset-auto [text-decoration-skip-ink:none] [text-underline-position:from-font] cursor-pointer",children:"Clear filters"})]});var re=Object(r.memo)(ne),ie=n(9),oe=n(59);function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t{setTimeout((()=>{const n=document.getElementById(e);n&&n.scrollIntoView(le({behavior:"smooth",block:"nearest",inline:"start"},t))}),10)},ue=()=>{var e,t,n,i;const{globalContent:p,outputType:m,requestUri:f}=Object(o.useAppContext)(),{appBarRef:b}=Object(oe.b)(),[h,g]=Object(r.useState)(!1),[j,y]=Object(r.useState)(null),[x,O]=Object(r.useState)(0),[_,C]=Object(r.useState)(!1),[S,N]=Object(r.useState)("undefined"!=typeof window&&window.innerWidth<1024),[L,E]=Object(r.useState)("undefined"!=typeof window&&(window.innerWidth<1024&&window.innerWidth>767)),[P,M]=Object(r.useState)(Object(ie.c)()),[A,I]=Object(r.useState)(void 0),[D,$]=Object(r.useState)([]),[B,F]=Object(r.useState)({}),[V,H]=Object(r.useState)(!1),U=Object(r.useRef)(new Set),z=Object(r.useRef)([]),G=Object(r.useRef)([]),Y=Object(r.useRef)(null),W=Object(r.useRef)(null),K=Object(r.useRef)(null),[J,X]=Object(r.useState)(1),ee=Object(r.useMemo)((()=>{var e,t;return(null==p||null===(e=p.place_data)||void 0===e||null===(t=e.collection)||void 0===t?void 0:t.description)||""}),[p]),ne=Object(r.useMemo)((()=>Object(ie.b)(m)),[m]),ae=Object(r.useMemo)((()=>Object(w.nb)(f)),[f]),se=Object(r.useMemo)((()=>{var e;const t=null==p||null===(e=p.place_data)||void 0===e?void 0:e.addresses;return(null==t?void 0:t.length)?[...t].sort(((e,t)=>{var n,r;return((null==e||null===(n=e.name)||void 0===n?void 0:n.toLowerCase())||"").localeCompare((null==t||null===(r=t.name)||void 0===r?void 0:r.toLowerCase())||"")})):[]}),[null==p||null===(e=p.place_data)||void 0===e?void 0:e.addresses]),ue=Object(r.useMemo)((()=>se.length>=20),[se.length]),de=Object(r.useMemo)((()=>(null==p?void 0:p.canonical_url)||""),[null==p?void 0:p.canonical_url]),pe=Object(r.useMemo)((()=>Object(k.g)(p)),[p]),[me,fe]=Object(r.useState)(!0),be=Object(r.useMemo)((()=>{const e=Object.keys(B).length;return e&&!me?[]:e&&D.length?D:se}),[D,se,me,B]),he=Object(r.useMemo)((()=>se.every((e=>Object.prototype.hasOwnProperty.call(e,"photo_data")&&null!==e.photo_data))),[se]),ve=Object(r.useMemo)((()=>{const e=be.map((e=>null==e?void 0:e.slug)),t=new Map;return e.forEach(((e,n)=>{t.set(e,n)})),t}),[be]),ge=Object(r.useMemo)((()=>Object(s.e)(null==p?void 0:p.display_date,pe,null==p?void 0:p.first_publish_date)),[null==p?void 0:p.display_date,null==p?void 0:p.first_publish_date,pe]),je=Object(r.useMemo)((()=>Object(w.T)((null==p?void 0:p.subtype)||"")),[null==p?void 0:p.subtype]),ye=Object(r.useCallback)((e=>se.find((t=>(null==t?void 0:t.slug)===e))),[se]),xe=Object(r.useCallback)((e=>{var t,n;const r=be.filter((t=>(null==t?void 0:t.slug)===e));ce(`map-view-${e}`,{behavior:"auto"}),I(r[0]||void 0),y(e),O(null==ve?void 0:ve.get(e)),null===(t=window)||void 0===t||null===(n=t.history)||void 0===n||n.pushState(null,""),document.body.style.overflow="hidden"}),[be,ve]),Oe=Object(r.useCallback)((()=>{var e,t;I(void 0),null===(e=window)||void 0===e||null===(t=e.history)||void 0===t||t.pushState(null,""),document.body.style.overflow=""}),[]),we=Object(r.useCallback)(((e,t)=>{if(je&&"undefined"!=typeof window){const n={content_type:"article",content_sub_type:null==p?void 0:p.subtype,event:"misc_event",eventAction:e,eventLabel:t};window.PMNdataLayer.push(n)}}),[je,null==p?void 0:p.subtype]),_e=Object(r.useCallback)((()=>{const e=document.getElementById("map");if(!e||"undefined"==typeof window)return;const{innerHeight:t}=window,{clientHeight:n}=document.documentElement,r=n===t;e.style.height=`${r?n:t}px`}),[]);Object(r.useEffect)((()=>{we("filters-visible",ue?"true":"false")}),[ue,we]),Object(r.useEffect)((()=>{var e;if("undefined"==typeof window)return;let t=null===(e=window)||void 0===e?void 0:e.innerWidth;const n=()=>{var e,n,r,i,o;(null===(e=window)||void 0===e?void 0:e.innerWidth)!==t&&(t=null===(n=window)||void 0===n?void 0:n.innerWidth,N((null===(r=window)||void 0===r?void 0:r.innerWidth)<1024),E((null===(i=window)||void 0===i?void 0:i.innerWidth)<1024&&(null===(o=window)||void 0===o?void 0:o.innerWidth)>767));if(P)return;(S||h||ne)&&_e()};return n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}}),[S,P,h,_e,ne]),Object(r.useEffect)((()=>{if("undefined"!=typeof window)return window.addEventListener("resize",(()=>M(Object(ie.c)()))),()=>window.removeEventListener("resize",(()=>M(Object(ie.c)())))}),[]),Object(r.useEffect)((()=>{const e=(e,t,n=void 0)=>new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const n=t.target.id.replace("map"===e?/^map-view-/:/^list-view-/,"");y(n),O(null==ve?void 0:ve.get(n));const r=ye(n);r&&!U.current.has(n)&&(U.current.add(n),we("card-view",`scrolled in to view | ${null==r?void 0:r.name}`))}}))}),{threshold:t,rootMargin:n}),t=S?P?z.current:G.current:z.current,n=S&&!P?e("map",1,L?"0px -60% 0px 0px":void 0):e("list",0,"-50% 0px -50% 0px");return t.forEach((e=>{e&&n.observe(e)})),()=>{n&&n.disconnect()}}),[S,P,L,we,ye,ve]),Object(r.useEffect)((()=>{const e=()=>{if((null==W?void 0:W.current)&&"undefined"!=typeof window){var e,t;const n=null==W?void 0:W.current.getBoundingClientRect(),r=(null===(e=window)||void 0===e?void 0:e.innerHeight)/1.5;n.top+n.height-(null===(t=window)||void 0===t?void 0:t.innerHeight)<0?C(!1):C(n.top-r<0)}};if("undefined"!=typeof window)return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[]),Object(r.useEffect)((()=>{var e,t;if("undefined"!=typeof window&&(null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.hash)){var n,r;const e=null===(n=window)||void 0===n||null===(r=n.location)||void 0===r?void 0:r.hash.replace("#","");(null==ve?void 0:ve.has(e))&&setTimeout((()=>{ce(`${P?"list":"map"}-view-${e}`)}),0)}}),[ve,P]),Object(r.useEffect)((()=>{const e=()=>{A&&Oe()};if("undefined"!=typeof window)return window.addEventListener("popstate",e),()=>{window.removeEventListener("popstate",e)}}),[A]),Object(r.useEffect)((()=>{const e=new MutationObserver((()=>{const e=(null==b?void 0:b.current)||null;if(!e)return;const t=e.querySelector('div[data-ad-name="article/top_banner_masthead"]');g(!t)}));return e.observe(document.body,{childList:!0,subtree:!0}),()=>e.disconnect()}),[null==b?void 0:b.current]);const Ce=Object(r.useCallback)((e=>{if(e>=0&&e{const t=S?P?z.current:G.current:z.current;if(!t)return;ce(`${P?"list":"map"}-view-${e}`,le({behavior:"auto"},P&&{block:"start"}));const n=t.findIndex((t=>(null==t?void 0:t.id)===`${P?"list":"map"}-view-${e}`)),r=ye(e);r&&we("node-click",r.name),setTimeout((()=>{y(e),O(n)}),500)}),[P,we,S]),Se=Object(r.useCallback)(((e,t="smooth")=>{if("undefined"==typeof window)return;const n=document.getElementById(e);if(!n)return;const r=n.getBoundingClientRect(),i=window.innerHeight,o=Math.round(i-r.bottom);0!==o&&(requestAnimationFrame((()=>{window.scrollBy({top:o<0?Math.abs(o):-o,behavior:t})})),setTimeout((()=>{Se(e,t)}),100))}),[]),Ne=Object(r.useCallback)((e=>{const t="map"===e;N(t),j&&ce(`${e}-view-${j}`,{block:t?"end":"start",inline:"start",behavior:t?"instant":"smooth"}),t&&setTimeout((()=>{Se("map-area","instant")}),10),we("map-toggle",t?"map-view":"list-view")}),[j,Se,we]),Le=Object(d.jsx)(a.Paragraph,{customClasses:"px-4 sm:px-6 lg:px-8 pt-8 self-stretch text-black font-inquirer-text-web text-4.5 not-italic font-medium leading-[30px] mb-0 sm:text-5 sm:leading-8",children:Object(R.a)(ee)}),Ee=Object(r.useCallback)((e=>{var t;const n=e[0]||se[0],r=`${S?"map":"list"}-view-${n.slug}`;y(null!==(t=n.slug)&&void 0!==t?t:""),O(0),ce(r)}),[S,se]);Object(r.useEffect)((()=>{document.body.style.overflow=V?"hidden":""}),[V]);const Pe=Object(r.useCallback)(((e,t)=>{e&&!Object(ie.h)(Object.keys(B))?Object.entries(B).forEach((([e,t])=>{t.forEach((t=>{we("click",`Filter checked | ${e} | ${t} | off`)}))})):t&&we("click",t)}),[we,B]),Te=Object(r.useCallback)((()=>{Pe(!0),fe(!0),$([]),F({}),Ee([])}),[Ee,Pe]);return Object(r.useEffect)((()=>{P&&!me&&W.current&&ce(W.current.id,{behavior:"smooth",block:"center"})}),[me,P]),Object(r.useEffect)((()=>{if(!P||"undefined"==typeof window)return void X(1);let e=null,t=!1;const n=()=>{if(!K.current||!P)return;const e=K.current.getBoundingClientRect(),n=window.innerHeight,r=e.bottom,i=.25*n;let o=1;r{t||(e=requestAnimationFrame(n),t=!0)},i=()=>{e&&cancelAnimationFrame(e),e=requestAnimationFrame(n)};return window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",i),n(),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",i),e&&cancelAnimationFrame(e)}}),[P]),Object(d.jsxs)("div",{children:[A&&Object(d.jsx)(u.a,{foodVerticalAnalyticsObj:we,place:A,canonicalUrl:de,isCardExpanded:!!A,handleClose:Oe,handleAnalytics:we,isMobile:!L&&!P}),Object(d.jsx)("div",{className:"relative",children:Object(d.jsxs)("div",{className:"flex flex-col bg-white lg:bg-transparent lg:mb-[-100vh]",ref:Y,children:[Object(d.jsx)("div",{className:"flex flex-col align-start w-full lg:w-1/2 z-[2]",style:P?{backgroundColor:`rgba(255, 255, 255, ${J})`,transition:"background-color 0.1s ease-out"}:void 0,children:Object(d.jsxs)("div",{className:"flex flex-col gap-0 lg:gap-8",children:[Object(d.jsx)("div",{className:"flex flex-col gap-4 lg:flex-row lg:gap-0",children:(!ne||ae)&&Object(d.jsxs)("div",{className:"flex z-[2] flex-col lg:flex-1\n pb-4 "+(P&&ue?"lg:pb-24":"lg:pb-8"),children:[Object(d.jsx)(T,{story:p,outputType:m,isAppWebView:ne}),Object(d.jsx)("div",{className:"mx-4 sm:mx-6 lg:mx-8 border-neutral-light-charcoal-gray border-solid border-b py-4",children:Object(d.jsx)(l.Bylines,{authors:(null==pe?void 0:pe.authors)||[],type:"standard",timestamp:null==pe||null===(t=pe.timestamp)||void 0===t?void 0:t.time,updatedTimestamp:null==pe||null===(n=pe.timestamp)||void 0===n?void 0:n.updatedTime,isUpdatedTimestamp:null==pe||null===(i=pe.timestamp)||void 0===i?void 0:i.isUpdated,section:null==pe?void 0:pe.section,organization:null==pe?void 0:pe.organization,hasAuthorAvatar:!1,customDateFormatTimestamp:null==ge?void 0:ge.date,isDisplayUpdatedTimestamp:!0,customUpdatedDateFormatTimestamp:null==ge?void 0:ge.updatedDate,customAuthorClass:"leading-5"})}),Object(d.jsx)("div",{ref:K,children:Le})]})}),P&&ue&&Object(d.jsx)(te,{places:se,mapData:D,setMapData:$,selectedFilters:B,setSelectedFilters:F,handleActiveOnFilter:Ee,openMenu:V,setOpenMenu:H,setShouldShowMap:fe,handleFilterAnalytic:Pe}),Object(d.jsxs)("div",{id:"map-area",className:"w-full h-full relative block lg:hidden",children:[Object(d.jsxs)("div",{className:""+(S?"absolute top-4 left-4 md:left-6 "+(V?"z-[11]":"z-[3]"):"hidden"),children:[Object(d.jsx)(Z.a,{buttonText:"List view",icon:"list",onClick:()=>Ne("list")}),ue&&!P&&Object(d.jsx)(Q,{places:se,mapData:D,setMapData:$,selectedFilters:B,setSelectedFilters:F,handleActiveOnFilter:Ee,openMenu:V,setOpenMenu:H,handleFilterAnalytic:Pe,checkVerticalAligment:Se})]}),Object(d.jsxs)("div",{className:S?"scrollbar-hidden flex w-screen flex-row absolute bottom-7 pb-4 md:pb-6 z-[2] overflow-x-auto":"hidden",ref:W,children:[be.map(((e,t)=>Object(d.jsx)(q,{place:e,canonicalUrl:de,handleExpansion:xe,cardRef:e=>G.current[t]=e,isActive:j===(null==e?void 0:e.slug),foodVerticalAnalyticsObj:we,shouldShowImage:he},null==e?void 0:e.slug))),Object(d.jsx)("div",{className:"pr-4 md:pr-6"})]}),Object(d.jsx)("div",{className:S?"block absolute bottom-0 z-1 w-screen":"hidden",children:Object(d.jsx)(v,{totalPlaces:null==be?void 0:be.length,currentIndex:x,onNavigation:Ce,isMapView:S,foodVerticalAnalyticsObj:we})}),S&&Object(d.jsx)(c.a,{mapData:be,activePlace:j,handleMarkerClick:ke,isMobile:!L&&!P},"mobile")]}),Object(d.jsxs)("div",{id:"list-area",className:S?"hidden":"z-[2] pt-4 px-4 md:px-6 lg:px-8 block bg-neutral-ui-background lg:bg-transparent",ref:W,children:[Object(d.jsxs)("div",{className:"z-[4] sticky top-4 block lg:hidden",id:"list-button-area",children:[Object(d.jsx)(Z.a,{buttonText:"Map view",icon:"map",onClick:()=>Ne("map")}),ue&&!P&&Object(d.jsx)(Q,{places:se,mapData:D,setMapData:$,selectedFilters:B,setSelectedFilters:F,handleActiveOnFilter:Ee,openMenu:V,setOpenMenu:H,handleFilterAnalytic:Pe})]}),P&&!me?Object(d.jsx)(re,{handleClearFilter:Te}):be.map(((e,t)=>Object(d.jsx)(u.a,{foodVerticalAnalyticsObj:we,place:e,canonicalUrl:de,isMapView:S,cardRef:e=>z.current[t]=e,handleAnalytics:we,isDesktop:P},null==e?void 0:e.slug)))]})]})}),Object(d.jsx)("div",{className:`fixed bottom-4 right-4 md:right-6 mr-3 md:mr-4\n lg:right-1/2${S?" hidden lg:block":" block"} ${V?"z-0":"z-10"} ${_?"":" opacity-0"}`,children:Object(d.jsx)(v,{totalPlaces:null==be?void 0:be.length,currentIndex:x,onNavigation:Ce,isMapView:S,foodVerticalAnalyticsObj:we})})]})}),!S&&Object(d.jsx)("div",{className:"hidden lg:block lg:sticky lg:bottom-0 lg:z-1",children:Object(d.jsx)(c.a,{mapData:be,activePlace:j,handleMarkerClick:ke,adjustHeight:P&&!me},"desktop")})]})};t.default=i.a.memo(ue)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),o=n(8),a=n(2),l=n.n(a),s=n(5),c=n(0);const u=Object(r.lazy)((()=>Promise.all([n.e(0),n.e(1),n.e(3),n.e(6),n.e(41)]).then(n.bind(null,1115)))),d=({story:e})=>{const{deployment:t,outputType:n,requestUri:i}=Object(o.useAppContext)(),a=Object(r.useMemo)((()=>Object(s.U)(n,i)),[n,i]);return Object(c.jsx)(r.Suspense,{fallback:Object(c.jsx)("div",{}),children:Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)(u,{story:e,isHybrid:a}),Object(c.jsx)("link",{rel:"stylesheet",href:t("/pf/resources/dist/inquirer/css/style.css")})]})})};var p=Object(r.memo)(d),m=n(252);const f=({message:e})=>Object(c.jsx)("div",{className:"flex justify-center py-0 px-4 bg-system-error rounded-[20px]",children:Object(c.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[Object(c.jsx)("div",{className:"text-white text-center font-grot10 text-sm not-italic font-bold leading-4",children:Object(c.jsx)("span",{children:e})}),Object(c.jsx)(m.a,{size:"small",color:"#FFFFFF"})]})});var b=n(77),h=n(81),v=n(85),g=n(117),j=n(88),y=n(40),x=n(52),O=n(10),w=n(6),_=n(9),C=n(51);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t{var t;const{outputType:n,requestUri:i}=Object(o.useAppContext)(),a=Object(r.useMemo)((()=>{var t,n;return null==e||null===(t=e.taxonomy)||void 0===t||null===(n=t.tags)||void 0===n?void 0:n.some((e=>"endliveblog"===e.text))}),[e]),l=Object(r.useMemo)((()=>Object(w.q)(null==e?void 0:e.content_elements,null==e?void 0:e.display_date)),[e]),u=Object(r.useMemo)((()=>Object(w.q)(null==e?void 0:e.content_elements,null==e?void 0:e.display_date,!0)),[e]),d=Object(r.useMemo)((()=>null==e?void 0:e.promo_items),[e]),p=Object(r.useMemo)((()=>Object(s.s)(e)),[e]),m=Object(r.useMemo)((()=>Object(s.r)(e)),[e]),f=Object(r.useMemo)((()=>Object(w.o)(null==e?void 0:e.headlines)),[e]),k=Object(r.useMemo)((()=>Object(w.o)((null==e?void 0:e.headlines)||[],"liveblog")||""),[e]),N=Object(r.useMemo)((()=>{var e,t;return Object(s.sb)((null==d||null===(e=d.basic)||void 0===e||null===(t=e.credits)||void 0===t?void 0:t.by)||[])}),[e]),L=Object(r.useMemo)((()=>{var e,t;return Object(s.sb)((null==d||null===(e=d.basic)||void 0===e||null===(t=e.credits)||void 0===t?void 0:t.affiliation)||[])}),[e]),E=Object(r.useMemo)((()=>Object(_.b)(n)),[n]),P=Object(r.useMemo)((()=>Object(s.U)(n,i)&&Object(s.nb)(i)),[n,i]),T=Object(r.useMemo)((()=>Object(x.a)({articleTitle:Object(w.o)(null==e?void 0:e.headlines,"social_share"),articleCanonicalUrl:null==e?void 0:e.canonical_url,customClass:"inline-block cursor-pointer bg-transparent p-0 mr-2 -mt-1",isAppWebView:E,fullGiftURL:`${Object(O.c)()}${null==e?void 0:e.canonical_url}`,isDarkMode:!0})),[null==e?void 0:e.headlines,null==e?void 0:e.canonical_url,E]);return Object(c.jsxs)("div",{className:"inq-card__inner",children:[Object(c.jsx)("div",{className:"inq-story__header"}),Object(c.jsx)("div",{className:"py-6",children:Object(c.jsxs)("div",{className:"liveblog-header flex flex-col bg-black lg:w-[842px] mx-auto md:justify-between",children:[Object(c.jsxs)("div",{className:"liveblog-header-headline px-4 sm:px-6 lg:px-0",children:[Object(c.jsxs)("div",{className:"liveblog-live flex flex-row justify-between",children:[Object(c.jsxs)("div",{className:"type-article-eyebrow inline-block pb-2 mb-4 uppercase mt-1.5",children:[Object(c.jsx)("span",{className:"text-white text-base leading-4 sm:text-lg\n sm:leading-5 "+(a?"":" bg-secondary-red px-2 py-1 rounded-sm"),children:a?"As It Happened":"Live"}),l&&Object(c.jsxs)("span",{className:`text-neutral-light-gray type-article-details\n normal-case pl-2 align-middle ${a?" pt-1 sm:pt-0":""} `,children:[a?"":"Updated "," ",Object(c.jsx)("time",{dateTime:u,children:l})]})]}),Object(c.jsxs)("div",{className:"relative flex items-center z-2",children:[!E&&Object(c.jsx)("div",{onClick:x.d,className:"w-full h-full mt-3",children:Object(c.jsx)(j.a,S({},T))}),Object(c.jsx)("div",{className:"liveblog-sharetool w-full h-full",children:Object(c.jsx)(h.a,{usePMNdataLayerEvent:!0,userInteraction:"social-share",articleTitle:f,articleCanonicalUrl:(null==e?void 0:e.canonical_url)||"",useSimpleLink:!0,linkIconColor:"white",customClass:"px-1.5 cursor-pointer pb-0.5 pt-1.5 bg-black border border-solid border-neutral-mid-gray rounded-full mb-2 mr-0"})})]})]}),Object(c.jsx)("div",{id:"header-content",className:"focus:outline-non",children:Object(c.jsx)("h1",{className:"text-white mb-2 type-h2 liveblog-headline-mixed font-semibold lg:text-10 lg:leading-10 md:text-9 md:leading-9 sm:leading-6 sm:text-6",children:k})}),Object(c.jsx)(b.a,{customClasses:"font-inquirer-headline font-medium leading-6 pb-4 text-5 sm:text-6 sm:leading-[1.875rem]",children:(null==e||null===(t=e.description)||void 0===t?void 0:t.basic)||""})]}),d&&Object(c.jsx)("div",{className:"sm:px-6 lg:px-0",children:(e=>{const t=p&&Object(c.jsx)(g.a,{dataEnv:Object(y.a)("ENV"),story:S({},p,{promo_items:S({},(null==d?void 0:d.youtube)?{youtube:S({},p)}:{},{},(null==d?void 0:d.video)?{video:S({},p)}:{})}),imageRatio:"3x2",showPromoImage:!0}),n=m&&Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)("div",{className:"aspect-[3/2] liveblog-header",children:Object(c.jsx)(v.a,{src:(null==m?void 0:m.imageWebUrl)||(null==m?void 0:m.url)||"",alt:(null==m?void 0:m.caption)||"",caption:(null==m?void 0:m.caption)||"",linkEmbedded:null==m||null===(e=m.additional_properties)||void 0===e?void 0:e.link,captionClasses:"px-4 sm:px-0",readMoreClasses:"pr-4 sm:pr-0",srcset:(null==m?void 0:m.imgSrcSet)||"",imageRatio:"3x2",type:"topper",sizes:"(min-width: 1024px) 500px, (min-width: 768px) 400px, (max-width: 480px) 500px, 100vw"})}),Object(c.jsx)("div",{className:"text-3 leading-normal pt-0 -mt-1",children:Object(c.jsx)("span",{className:"type-author text-neutral-light-gray font-medium px-4 sm:px-0 text-sm",children:`${N} ${L&&`/ ${L}`}`})})]});return P&&p?Object(c.jsx)(C.c,{video:p,index:0,isFeatured:!0,isYoutubeVideo:p===(null==d?void 0:d.youtube)}):P&&m?Object(c.jsx)(C.b,{content:m,index:0,isFeatured:!0}):p?t:n})()})]})})]})};var E=i.a.memo(L),P=n(277),T=n(95);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t{var n,i,a;const{outputType:l}=Object(o.useAppContext)(),[u,d]=Object(r.useState)(!1),[p,m]=Object(r.useState)((()=>{var t,n,r,i;return A({},null==e||null===(t=e.content_elements)||void 0===t?void 0:t[0],{items:null==e||null===(n=e.content_elements)||void 0===n||null===(r=n[0])||void 0===r||null===(i=r.items)||void 0===i?void 0:i.slice(1)})})),f=Object(r.useMemo)((()=>{var t,n,r,i;return(null==e||null===(t=e.content_elements)||void 0===t||null===(n=t[0])||void 0===n||null===(r=n.items)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.content)||""}),[e]),b=Object(r.useMemo)((()=>Object(_.b)(l)),[l]),v=Object(r.useMemo)((()=>Object(x.a)({articleTitle:Object(w.o)(null==e?void 0:e.headlines,"social_share"),articleCanonicalUrl:null==e?void 0:e.canonical_url,customClass:"inline-block cursor-pointer bg-transparent p-0 mr-2 -mt-1",isAppWebView:b,fullGiftURL:`${Object(O.c)()}${null==e?void 0:e.canonical_url}`})),[null==e?void 0:e.headlines,null==e?void 0:e.canonical_url,b]),g=Object(r.useCallback)((()=>{Object(s.kb)(null==e?void 0:e.subtype,!0),d(!1)}),[e,u,p]);return Object(r.useEffect)((()=>{var t,n,r,i;d((null===(t=window)||void 0===t?void 0:t.innerWidth)<1024&&(null==e||null===(n=e.content_elements)||void 0===n||null===(r=n[0])||void 0===r||null===(i=r.items)||void 0===i?void 0:i.length)>4)}),[null==e||null===(n=e.content_elements)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.items]),Object(r.useLayoutEffect)((()=>{var t,n;let r=A({},null==e||null===(t=e.content_elements)||void 0===t?void 0:t[0]);var i;(r=A({},r,{items:((null===(n=r)||void 0===n?void 0:n.items)||[]).slice(1).map((e=>A({},e,{content:Object(s.b)(null==e?void 0:e.content,"what-we-know")})))}),u)&&(r=A({},r,{items:((null===(i=r)||void 0===i?void 0:i.items)||[]).filter(((e,t)=>t<3))}));m(r)}),[u,e]),Object(c.jsxs)("article",{className:"liveblog-deetbox border-y sm:border-x border-solid border-neutral-light-gray sm:rounded pl-2 pt-4 pr-4 pb-6 relative lg:mb-6",children:[Object(c.jsxs)("div",{className:"flex flex-row items-center justify-between",children:[Object(c.jsx)("span",{className:"type-article-eyebrow text-neutral-text-color pl-2",children:f}),Object(c.jsxs)("div",{className:"flex items-center",children:[(!b||t)&&Object(c.jsx)("div",{onClick:x.d,children:Object(c.jsx)(j.a,A({},v))}),Object(c.jsx)("div",{className:"liveblog-sharetool",children:Object(c.jsx)(h.a,{usePMNdataLayerEvent:!0,userInteraction:"social-share",articleTitle:(null==e||null===(a=e.headlines)||void 0===a?void 0:a.basic)||"",articleCanonicalUrl:(null==e?void 0:e.canonical_url)||"",useSimpleLink:!0,linkIconColor:"black",customClass:"bg-white px-1.5 cursor-pointer pb-0.5 pt-1.5 border border-solid border-neutral-mid-gray rounded-full mb-2"})})]})]}),Object(c.jsx)("div",{className:"liveblog-list-content [&_li]:ml-6 [&_ol]:m-0 [&_li]:mb-0 [&_li]:mt-4 font-grot10 font-normal text-4.5 leading-6 not-italic",children:Object(c.jsx)(P.a,{content:p})}),u&&Object(c.jsx)("div",{className:"text-center mt-4",children:Object(c.jsx)(T.a,{size:"small",mode:"outline",onClick:g,children:"Show more"})})]})};var R=i.a.memo(D),$=n(83),q=n(43);const B=({size:e="small",color:t="black"})=>Object(c.jsx)("div",{className:`inq-icon inq-icon--link inq-icon--${e}`,children:Object(c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"20",viewBox:"0 0 14 20",fill:"none",children:[Object(c.jsx)("title",{children:"Pin Icon"}),Object(c.jsx)("path",{d:"M13 0V2H12V8L14 11V13H8V20H6V13H0V11L2 8V2H1V0H13Z",fill:t})]})});var F=n(114);function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H(e){for(var t=1;t{const r=(e||[]).filter((e=>{var t;return!((null==e||null===(t=e.content)||void 0===t?void 0:t.includes("// Timestamp"))||"header"===(null==e?void 0:e.type)&&2===(null==e?void 0:e.level)||"text"===(null==e?void 0:e.type)&&(null==e?void 0:e.content.includes("// Pinned")))})),i=!t||!Object(_.d)(),o=[];let a=r;if(!i||!n||(null==r?void 0:r.length)<=3)return{contentCard:r,hasCollapsed:!1};(r||[]).forEach((e=>{"text"!==e.type||""===e.content||/^(

)?()?—\s*()?/.test(e.content)||/^—/.test(e.content)||o.push(e)}));const l=(null==o?void 0:o.length)||0;if(l>3){const e=r.findIndex((e=>e._id===o[3]._id));a=r.slice(0,e)}return{contentCard:a,hasCollapsed:l>3}},G=({card:e,displayDate:t,headlines:n,canonicalUrl:i,tags:a,isPinnedCard:l,subtype:u,connectionTime:d,isSubscriber:p,isNewLiveblogId:m})=>{var f;const{outputType:b,requestUri:v}=Object(o.useAppContext)(),g=Object(r.useMemo)((()=>Object(w.q)(e,t,!0)),[e,t]),y=Object(r.useMemo)((()=>Object(w.q)(e,t)),[e,t]),C=Object(r.useMemo)((()=>(e||[]).find((e=>"header"===(null==e?void 0:e.type)&&2===(null==e?void 0:e.level)))),[e]),[k,S]=Object(r.useState)(z(e,l,!0)),[N,L]=Object(r.useState)(k.hasCollapsed),[E,P]=Object(r.useState)(0),M=Object(r.useMemo)((()=>Object(_.b)(b)),[b]),A=Object(r.useMemo)((()=>Object(s.U)(b,v)),[b,v]),I=Object(r.useMemo)((()=>Object(x.a)({articleTitle:Object(w.o)(n,"social_share"),articleCanonicalUrl:`${i}/${Object(s.K)(e,m)}`,customClass:"inline-block cursor-pointer bg-transparent p-0 mr-2 -mt-1",isAppWebView:M,fullGiftURL:`${Object(O.c)()}${i}/${Object(s.K)(e,m)}`})),[n,i,e,M]),D=Object(r.useCallback)((()=>{Object(s.kb)(u,!1),L(!1),S(z(e,l,!1))}),[e,l,u]),R=Object(r.useCallback)((()=>{const t=z(e,l,!0);S(t),L(t.hasCollapsed)}),[e,l]);return Object(r.useEffect)((()=>{void 0!==d&&S(z(e,l,N))}),[e,l,N,d]),Object(r.useEffect)((()=>{const e=()=>{window.innerWidth!==E&&(P(window.innerWidth),R())};return"undefined"!=typeof window&&window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[E,R]),Object(c.jsxs)("div",{className:"liveblog-card px-4 pt-4 pb-6 sm:rounded-lg relative "+(l?"bg-whitesmoke pin-card":"bg-white border border-l-0 border-r-0 sm:border-l sm:border-r border-solid border-gray-light"),id:Object(s.K)(e,m),children:[Object(c.jsxs)("div",{className:"flex justify-between "+(l?"items-start":"items-center"),children:[Object(c.jsxs)("div",{children:[l&&Object(c.jsxs)("div",{className:"mb-1 flex items-center gap-2.5",children:[Object(c.jsx)(B,{})," ",Object(c.jsx)("span",{className:"font-grot10 text-3 leading-4 text-black font-normal mb-2",children:"Pinned"})]}),y&&Object(c.jsx)("time",{dateTime:g,className:"text-neutral-light-text text-sm leading-4 font-normal font-grot10",children:y})]}),Object(c.jsxs)("div",{className:"flex items-center",children:[(!M||p)&&Object(c.jsx)("div",{onClick:x.d,children:Object(c.jsx)(j.a,H({},I))}),Object(c.jsx)("div",{className:"liveblog-sharetool",children:Object(c.jsx)(h.a,{usePMNdataLayerEvent:!0,userInteraction:"social-share",articleTitle:null==n?void 0:n.basic,articleCanonicalUrl:`${i}/${Object(s.K)(e,m)}`,useSimpleLink:!0,linkIconColor:"black",customClass:"bg-transparent px-1.5 cursor-pointer pb-0.5 pt-1.5 border border-solid border-neutral-mid-gray rounded-full mb-2"})})]})]}),Object(c.jsxs)("div",{className:"relative",children:[C&&Object(c.jsx)("div",{className:"font-inquirer-headline my-4",children:Object(c.jsx)("h2",{className:"text-6 leading-6 sm:text-7 sm:leading-7 text-primary font-semibold",children:C.content})}),Object(c.jsx)("div",{className:""+(N?"is-collapse":""),children:null===(f=(null==k?void 0:k.contentCard)||[])||void 0===f?void 0:f.map(((e,t)=>Object(c.jsx)(F.a,{storyContent:e,tags:a,subtype:u,isLiveblog2:!0,isHybrid:A},`liveblog_card_element_${t}`)))}),N&&Object(c.jsx)("div",{className:"text-center",children:Object(c.jsx)(T.a,{size:"small",mode:"outline",onClick:D,children:"Show more"})})]})]})};var Y=i.a.memo(G),W=n(58),Z=n.n(W),K=n(67);const J=Object(r.lazy)((()=>Promise.all([n.e(2),n.e(63)]).then(n.bind(null,1287))));var X=i.a.memo(Object(K.a)((({story:e,fusionEnv:t})=>{const[n,i]=Object(r.useState)(""),[o,a]=Object(r.useState)(!1),l=Object(r.useMemo)((()=>{var t;return(null===(t=Object(s.G)(e))||void 0===t?void 0:t.replace(/\//g,""))||""}),[e]),u=Object(r.useMemo)((()=>Object(s.tb)(e)||""),[e]),{league:d,sport:p}=Object(r.useMemo)((()=>s.ob[`/${l}`]||{}),[l]),m=Object(r.useMemo)((()=>(null==t?void 0:t.GATEWAY_SLS_URL)||""),[t]),f=Object(r.useMemo)((()=>(null==t?void 0:t.ENV)||""),[t]),b=Object(r.useMemo)((()=>!(n&&!o)),[n,o]),h=Object(r.useCallback)((e=>(new Date).getTime()-e>=18e5),[]),v=Object(r.useCallback)((e=>`${f}-${e}`),[]),g=Object(r.useCallback)((async e=>{try{var t;const n={url:`${m}viafoura/viafoura/comments/${v(e)}?commentLimit=10&reply_limit=${"dev"===f?"&environment=dev":""}`,method:"get",headers:{Accept:"application/json"},responseType:"json"},r=await Z()(n);a(h(!r.data.length||(null==r||null===(t=r.data[0])||void 0===t?void 0:t.time)))}catch(e){console.log(e)}}),[]),j=Object(r.useCallback)((async(e,t,n)=>{try{var r;const o={url:`${m}statsinc/stats-query/${e}/${t}/?&date=${n}`,method:"get"},a=await Z()(o),l=null==a||null===(r=a.data[0])||void 0===r?void 0:r.eventId;i(l),g(l)}catch(e){console.log(e)}}),[m]);return Object(r.useEffect)((()=>{j(p,d,u);const e=setInterval((()=>{j(p,d,u)}),15e3);return b&&clearInterval(e),()=>{clearInterval(e)}}),[b]),Object(c.jsx)(c.Fragment,{children:!!n&&!o&&Object(c.jsx)(r.Suspense,{fallback:Object(c.jsx)("div",{}),children:Object(c.jsx)("div",{className:"border mx-4 sm:mx-0 rounded-lg border-solid border-gray-light my-3 sm:my-6",children:Object(c.jsx)(J,{containerId:v(n),onChangeActiveTab:()=>{},isLiveblog2:!0,team:l})})})})}))),Q=n(46);const ee=Object(r.lazy)((()=>Promise.all([n.e(0),n.e(1),n.e(3),n.e(6),n.e(43)]).then(n.bind(null,438)))),te=Object(r.lazy)((()=>Promise.all([n.e(0),n.e(2),n.e(1),n.e(4),n.e(47)]).then(n.bind(null,1305))));var ne=i.a.memo(Object(K.a)((({story:e,fusionEnv:t})=>{var n,i;const[o,a]=Object(r.useState)(null),l=Object(r.useMemo)((()=>{var t;return(null===(t=Object(s.G)(e))||void 0===t?void 0:t.replace(/\//g,""))||""}),[e]),u=Object(r.useMemo)((()=>Object(s.tb)(e)||""),[e]),d=Object(r.useMemo)((()=>(null==t?void 0:t.GATEWAY_SLS_URL)||""),[t]),p=Object(r.useMemo)((()=>s.ob[`/${l}`]),[l]),m=Object(r.useMemo)((()=>!1==!!Object(s.cb)(e)&&!!l&&!!u),[e,l,u,o]),f=Object(r.useCallback)((async(e,t,n)=>(await fetch(`${d}statsinc/stats-query/${e}/${t}/?date=${n}&requestedDateOnly=true&pbp=true&driveCharts=true`)).json()),[d]),b=Object(r.useCallback)((async(e,t,n)=>{try{if(!e||!t||!n)return a(null);const r=await f(e,t,n);return(null==r?void 0:r.length)?a(null==r?void 0:r[0]):a(null)}catch(e){return a(null)}}),[]),h=Object(r.useCallback)((e=>{a(null==e?void 0:e[0])}),[o]),v=Object(r.useCallback)((()=>{"undefined"!=typeof window&&l&&(null==o?void 0:o.eventId)&&(window.location.href=`/${l}/gamedaycentral/${null==o?void 0:o.eventId}/`)}),[l,o]);return Object(r.useEffect)((()=>{b(null==p?void 0:p.sport,null==p?void 0:p.league,u)}),[p,u]),Object(c.jsx)(Q.a,{offset:100,children:Object(c.jsx)(r.Suspense,{fallback:Object(c.jsx)("div",{className:"w-full min-h-[300px] block border border-solid border-neutral-light-gray"}),children:m&&o&&Object(c.jsxs)("div",{className:"liveblog-scoreboard inq-scoreboard box-border shadow-none px-4 sm:min-w-[346px] sm:px-0 lg:min-w-[300px] mb-3 lg:mb-6",children:[Object(c.jsx)("div",{className:"border border-solid border-neutral-light-gray "+(2===(null==o||null===(n=o.eventStatus)||void 0===n?void 0:n.eventStatusId)||4===(null==o||null===(i=o.eventStatus)||void 0===i?void 0:i.eventStatusId)?"liveblog-no-cta":""),children:Object(c.jsx)(ee,{customFields:{teamName:`/${l}`},fixedDate:`${u}`,dataCardType:"scoreboard-card-liveblog",dataCardLocation:"liveblog",dataCardTeamInfo:l,onFetchSportEvents:h,isLiveblogV2:!0})}),o&&Object(c.jsx)("div",{className:"border border-solid border-t-0 border-neutral-light-gray cursor-pointer",onClick:v,children:Object(c.jsx)(te,{teamName:l,pbp:(null==o?void 0:o.pbp)||[],teams:(null==o?void 0:o.teams)||[],league:null==p?void 0:p.league,scoringSummaries:(null==o?void 0:o.scoringSummaries)||[],eventStatus:(null==o?void 0:o.eventStatus)||null,driveChart:(null==o?void 0:o.driveChart)||[],onChangeActiveTab:()=>{},onChangeCommentTab:()=>{},gameId:(null==o?void 0:o.eventId)||"0",featuredCommentsHeader:"",isLiveblogV2:!0})})]})})})}))),re=n(335),ie=n(140),oe=n(148),ae=n.n(oe),le=n(219),se=n(328),ce=n(39);const ue=({data:e})=>{var t;const n=Object(r.useRef)(null),i=Object(r.useRef)(null),[o,a]=Object(r.useState)(!1),[l,s]=Object(r.useState)(!1),[u,d]=Object(r.useState)(0),[p,m]=Object(r.useState)(null),f=Object(r.useCallback)((()=>{const e=null==i?void 0:i.current;if(!e)return;const{scrollLeft:t,scrollWidth:n,clientWidth:r}=e;n>r?e.classList.replace("sm:justify-center","justify-start"):e.classList.add("sm:justify-center"),a(t>0),s(t{const t=null==i?void 0:i.current;t&&t.scrollBy({left:"left"===e?-200:200,behavior:"smooth"})}),[]),h=Object(r.useCallback)((e=>{m(e)}),[]),v=Object(r.useCallback)((()=>{(null==n?void 0:n.current)&&d(n.current.offsetWidth)}),[]);return Object(r.useEffect)((()=>{if("undefined"==typeof window)return;const e=Object(ce.d)((()=>{v(),f()}),300),t=()=>{e([])};t(),window.addEventListener("resize",t);const n=null==i?void 0:i.current;return n&&n.addEventListener("scroll",f),()=>{window.removeEventListener("resize",t),n&&n.removeEventListener("scroll",f)}}),[f,v]),e&&Object(c.jsxs)("div",{ref:n,className:"relative flex items-center w-full",children:[o&&Object(c.jsx)("button",{type:"button",tabIndex:0,onClick:()=>b("left"),className:"absolute left-0 z-10 h-full w-4 bg-white max-h-10","aria-label":"Scroll left",children:Object(c.jsx)(se.ArrowBackwardIcon,{customClass:"!w-3 !h-3",size:"small"})}),Object(c.jsxs)("div",{ref:i,className:"liveblog-mininav-container h-10 sm:h-12 lg:h-14 gap-2 sm:gap-4 w-full flex items-center justify-start sm:justify-center px-4 py-2 sm:py-3 lg:py-2 text-center box-border overflow-x-auto whitespace-nowrap border-t border-solid border-neutral-mid-gray leading-4 overflow-y-hidden",children:[Object(c.jsxs)("div",{className:"rounded-[26px] border border-solid border-neutral-text-color lg:px-4 lg:py-2.5 px-3 py-1 bg-black flex lg:gap-2.5 gap-1.5 items-center",children:[Object(c.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-red-destroy"}),Object(c.jsx)("span",{className:"font-extrabold text-3 leading-4 lg:text-4 lg:leading-5 text-white font-grot10",children:Object(ce.b)(null==e?void 0:e.liveBlogName)})]}),null==e||null===(t=e.relatedLinks)||void 0===t?void 0:t.map(((e,t)=>Object(c.jsx)(ae.a,{customClasses:"font-extrabold min-w-fit",selected:p===t,size:u<1024?"sm":"lg",chipName:Object(ce.b)(e.title),href:e.url,id:e.title,dataLinkType:"relevant-links",onClick:()=>h(t)},`${e.title}-${t}`)))]}),l&&Object(c.jsx)("button",{type:"button",tabIndex:0,onClick:()=>b("right"),className:"absolute right-0 z-10 h-full w-4 bg-white max-h-10","aria-label":"Scroll right",children:Object(c.jsx)(le.ArrowForwardIcon,{customClass:"!w-3 !h-3",size:"small"})})]})};var de=i.a.memo(ue),pe=n(30),me=n(113),fe=n(74),be=n(17);const he=({card:e,isPinnedCard:t,index:n,excludeAds:i,isGamePage:a,articleTargeting:l,cardNo:s,displayDate:u,headlines:d,canonicalUrl:p,tags:m,isDeetBoxExisted:f,subtype:b,story:h,connectionTime:v,isSubscriber:g,isNewLiveblogId:j})=>{const{outputType:y}=Object(o.useAppContext)(),x=Object(r.useMemo)((()=>Math.floor((n-1)/2)+1),[n]),O=Object(r.useMemo)((()=>(n-1)%2==0&&n-1>0&&s>3&&x<6&&nObject(_.b)(y)),[y]);return 0===n?Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)("div",{className:"py-3 sm:py-4 lg:pt-0 "+(f?"":"-mt-3 pt-0 sm:-mt-6 sm:pt-0 lg:mt-0"),children:Object(c.jsx)($.default,{adIndex:1,customFields:{adType:"article/liveblog-inline"},adPosition:"mrec_21",positionType:"mrec_21_article",articleTargeting:l})}),t&&Object(c.jsx)("div",{className:w?"mb-3 sm:mb-6":"my-3 sm:my-6",children:Object(c.jsx)(Y,{card:e,displayDate:u,headlines:d,canonicalUrl:p,tags:m,isPinnedCard:t,subtype:b,connectionTime:v,isSubscriber:g,isNewLiveblogId:j})}),a&&Object(c.jsx)(X,{story:h})]}):Object(c.jsxs)(c.Fragment,{children:[!i&&O&&Object(c.jsx)("div",{className:"py-3 sm:py-4",children:Object(c.jsx)($.default,{adIndex:x,customFields:{adType:"article/liveblog-inline"},adPosition:`mrec_2${x}`,positionType:`mrec_2${x}_article`,articleTargeting:l},`mrec_2${x}`)}),Object(c.jsx)("div",{className:w?"mb-3 sm:mb-6":"my-3 sm:my-6",children:Object(c.jsx)(Y,{card:e,displayDate:u,headlines:d,canonicalUrl:p,tags:m,isPinnedCard:!1,subtype:b,connectionTime:v,isSubscriber:g,isNewLiveblogId:j})})]})},ve=({story:e,connectionTime:t,newCardId:n,isNewLiveblogId:i})=>{const{requestUri:a,outputType:l}=Object(o.useAppContext)(),u=Object(fe.a)(),d=Object(r.useMemo)((()=>{var t;return Object(s.f)(null===(t=e.taxonomy)||void 0===t?void 0:t.sections)}),[e]),p=Object(r.useMemo)((()=>{var t,n;return null==e||null===(t=e.liveblog_cards)||void 0===t||null===(n=t.liveblogElement)||void 0===n?void 0:n.find((e=>e.find((e=>{var t;return null==e||null===(t=e.content)||void 0===t?void 0:t.startsWith(pe.h)}))))}),[e]),m=Object(r.useMemo)((()=>Object(s.E)(p)),[e]),b=Object(r.useMemo)((()=>{var t,n;return null==e||null===(t=e.liveblog_cards)||void 0===t||null===(n=t.liveblogElement)||void 0===n?void 0:n.filter((e=>e!==p))}),[e]),h=Object(r.useMemo)((()=>Object(s.U)(l,a)),[l,a]),v=Object(r.useMemo)((()=>Object(s.nb)(a)),[a]),g=Object(r.useMemo)((()=>{if(!h||!b)return b;const t=Object(q.b)();return Object(q.a)(e,v,t),b.map((e=>Object(q.f)(e,t)))}),[b,h,e,v]),j=Object(r.useMemo)((()=>(g||[]).length),[g]),y=Object(r.useMemo)((()=>Object(s.X)(null==g?void 0:g[0])),[e]),x=Object(r.useMemo)((()=>null==e?void 0:e.article_targeting),[e]),O=Object(r.useMemo)((()=>Object(w.D)(a)),[a]),C=Object(r.useMemo)((()=>Object(s.ib)(a)),[a]),k=Object(r.useMemo)((()=>Object(s.L)(e)),[e]),S=Object(r.useMemo)((()=>{var t;return Object(s.u)(null==e||null===(t=e.liveblog_cards)||void 0===t?void 0:t.interactiveHtmlCard)}),[e]),N=Object(r.useMemo)((()=>Object(_.b)(l)),[l]),[L,P]=Object(r.useState)(!1);let T;const M=Object(r.useRef)(null),A=Object(r.useRef)(null),I=Object(r.useRef)([]),[D,B]=Object(r.useState)(""),[F,V]=Object(r.useState)(!1),[H]=Object(r.useState)((()=>"undefined"!=typeof window?new IntersectionObserver((([e])=>{T=e.isIntersecting}),{rootMargin:"0px 0px -100% 0px"}):void 0)),U=Object(r.useCallback)((()=>{var e,t;if(!n)return;const r=null==A||null===(e=A.current)||void 0===e?void 0:e.querySelector(`#${n}`),i=null==M||null===(t=M.current)||void 0===t?void 0:t.querySelector("svg");if(r&&i){const e=r.getBoundingClientRect(),t=window.innerHeight,n=450;e.bottomt&&(i.style.transform="rotate(180deg)")}}),[n]);Object(r.useEffect)((()=>{let t=null;const n=()=>{P(!0),null!==t&&clearTimeout(t),t=setTimeout((()=>{P(!1)}),100)};window.addEventListener("scroll",n,!1);const r=null==e?void 0:e.liveblogCardId;if(r&&r.includes("card-")){const e=document.getElementById(r);if(e){e.scrollIntoView(),H&&H.observe(e);const t=setInterval((()=>{if(L)return;e.getBoundingClientRect().top<=100?clearInterval(t):(e.scrollIntoView(),T&&clearInterval(t))}),500)}}return()=>{window.removeEventListener("scroll",n),null==H||H.disconnect()}}),[L,H,null==e?void 0:e.liveblogCardId]);const z=Object(r.useMemo)((()=>Object(w.o)(null==e?void 0:e.headlines,"liveblog")),[null==e?void 0:e.headlines]),G=Object(r.useCallback)((()=>{window.PMNdataLayer.push({event:"interaction_event",interactionType:"liveblog_update_pill",interactionDetail:"view",userInteraction:z})}),[z]);Object(r.useEffect)((()=>{var e;const t=n&&!(null==I||null===(e=I.current)||void 0===e?void 0:e.includes(n));if(t&&(G(),t&&n)){var r,i,o,a,l;null==I||null===(r=I.current)||void 0===r||r.unshift(n);const e=null===(i=A.current)||void 0===i?void 0:i.querySelector(`#${n}`),t=null==M||null===(o=M.current)||void 0===o?void 0:o.querySelector("svg");if(t&&(t.style.transform=""),e&&M.current&&(null==t?void 0:t.style)){const n=e.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,i=50;n.top>=0&&n.bottom<=r||n.bottom<0?M.current.style.opacity="1":n.top>r-i&&(t.style.transform="rotate(180deg)",M.current.style.opacity="1")}const s=`${null==I||null===(a=I.current)||void 0===a?void 0:a.length}\n new update${(null==I||null===(l=I.current)||void 0===l?void 0:l.length)>1?"s":""}`;B(s)}}),[n]),Object(r.useEffect)((()=>(window.addEventListener("scroll",U),()=>{window.removeEventListener("scroll",U)})),[U]),Object(r.useEffect)((()=>{N&&"undefined"!=typeof window&&u((e=>{V((null==e?void 0:e.state)===be.a.SUBSCRIBED)}),1e3)}),[N]),Object(re.a)(M,(()=>{(null==M?void 0:M.current)&&(M.current.style.opacity="0",I.current=[])}));const Y=Object(r.useCallback)((()=>{var e;if(!n)return;window.PMNdataLayer.push({event:"interaction_event",interactionType:"click",interactionDetail:"liveblog_update_pill"});const t=null===(e=A.current)||void 0===e?void 0:e.querySelector(`#${n}`);if(t&&M.current){M.current.style.opacity="0";const e=t.getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:e,behavior:"smooth"}),I.current=[]}}),[null==A?void 0:A.current,null==M?void 0:M.current,n,null==I?void 0:I.current]);return Object(c.jsxs)("div",{className:"article-wrapper article-body liveblog-body relative",children:[m&&Object(c.jsx)(de,{data:m}),(!N||v)&&Object(c.jsx)("div",{className:"bg-black w-full",children:Object(c.jsx)("div",{className:"max-w-[966px] mx-auto w-full text-white",children:Object(c.jsx)(E,{story:e})})}),Object(c.jsx)("div",{className:"bg-white w-full my-3 sm:my-6",children:Object(c.jsxs)("div",{className:"sm:max-w-[720px] lg:max-w-[1066px] mx-auto flex flex-col lg:flex-row gap-3 sm:gap-6 lg:gap-8",children:[Object(c.jsxs)("div",{className:"lg:max-w-[300px] w-full",children:[S&&Object(c.jsx)("div",{className:"px-4 lg:px-0",children:Object(c.jsx)(ie.b,{content:S||""})}),Object(c.jsxs)("div",{className:O?"sm:flex sm:flex-row sm:items-start sm:gap-8 sm:max-w-[720px] lg:block":"",children:[O&&Object(c.jsx)(ne,{story:e}),k&&Object(c.jsx)(R,{story:e,isSubscriber:F})]}),Object(c.jsx)("div",{className:"sm:sticky sm:top-16",children:Object(c.jsx)($.default,{customFields:{adType:"article/right-rail-sticky-liveblog"},articleTargeting:x})})]}),Object(c.jsxs)("div",{className:"w-full",ref:A,children:[(g||[]).map(((n,r)=>{var o;return Object(c.jsx)(he,{index:r,card:n,isPinnedCard:y,excludeAds:d,isGamePage:C,articleTargeting:x,cardNo:j,displayDate:null==e?void 0:e.display_date,headlines:null==e?void 0:e.headlines,canonicalUrl:null==e?void 0:e.canonical_url,tags:null==e||null===(o=e.taxonomy)||void 0===o?void 0:o.tags,isDeetBoxExisted:k,subtype:null==e?void 0:e.subtype,story:e,connectionTime:t,isSubscriber:F,isNewLiveblogId:i},`article-element-${r}`)})),Object(c.jsx)(me.a,{})]})]})}),Object(c.jsx)("div",{ref:M,onClick:Y,className:"updatePill fixed top-[85%] left-1/2 transform -translate-x-1/2 transition ease-in-out duration-500 cursor-pointer opacity-0",children:Object(c.jsx)(f,{message:D})}),Object(c.jsx)("div",{id:"bottom-of-article-container"})]})};var ge=i.a.memo(ve),je=n(12);function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xe(e){for(var t=1;txe({},e,{credit:Object(w.m)(e)}),_e=e=>{switch(e.type){case"header":return Object(s.e)(e);case"video":return(e=>{var t,n,r;const i=xe({},e,{synopsis:(null==e||null===(t=e.description)||void 0===t?void 0:t.basic)||"",subheadline:(null==e||null===(n=e.subheadlines)||void 0===n?void 0:n.basic)||""});var o;return(null==i||null===(r=i.credits)||void 0===r?void 0:r.by)?xe({},i,{credit:((null==i||null===(o=i.credits)||void 0===o?void 0:o.by)||[]).map((e=>(null==e?void 0:e.name)||"")).filter((e=>e)).join(", ")}):i})(e);case"image":return we(e);case"gallery":return xe({},t=e,{content_elements:((null==t?void 0:t.content_elements)||[]).map((e=>we(e)))});default:return e}var t},Ce=(e,t)=>xe({},e,{liveblog_cards:Object(s.lb)(((null==e?void 0:e.content_elements)||[]).map(_e),t)});let ke=({customFields:e,fusionEnv:t})=>{const{versionCutoffDate:n}=e,{globalContent:i,deployment:a,metaValue:l}=Object(o.useAppContext)(),u=l("idCutoff")||"",d=Object(r.useRef)(null),m=Object(r.useMemo)((()=>Object(s.Y)(n,i)),[]),f=Object(r.useMemo)((()=>Object(w.x)(u,i)),[u,i]),[b,h]=Object(r.useState)(Ce(i,m)),[v,g]=Object(r.useState)(Date.now()),[j,y]=Object(r.useState)(!1),x=Object(r.useMemo)((()=>{var e;return((null==b||null===(e=b.taxonomy)||void 0===e?void 0:e.tags)||[]).map((e=>e.text))}),[b]),_=Object(r.useMemo)((()=>x.includes("endliveblog")),[x]),C=Object(r.useRef)(!1),[k,S]=Object(r.useState)(""),N=Object(r.useRef)(""),L=Object(r.useCallback)((e=>{const t=Object(s.h)(e,f);let n=document.querySelector('script[data-schema="LiveBlogPosting"]');n||(n=document.createElement("script"),n.setAttribute("type","application/ld+json"),n.setAttribute("data-schema","LiveBlogPosting"),document.head.appendChild(n)),n.textContent=t}),[f]),E=Object(r.useCallback)((e=>{const t=Ce(i,m);h(xe({},t,{},e)),L(e)}),[]);return Object(r.useEffect)((()=>{(null==i?void 0:i.canonical_url)&&Object(w.d)(i.canonical_url,a).then((e=>{E(Ce(e,m))})).catch((e=>{console.error("error: ",e)}))}),[null==i?void 0:i.canonical_url,f]),Object(r.useEffect)((()=>{if(!_&&!j){try{const e=t.LIVEBLOG_WS_SERVER||`wss://liveblog${Object(O.g)()?"":"-stage"}.inquirer.com`;if(!d.current){const t=new WebSocket(`${e}?articleId=${i._id}`);return d.current=t,t.onerror=e=>{console.error("==Websocket Error",e)},t.onopen=()=>{g(Date.now()),console.log("==Connection established")},t.onclose=()=>{d.current?(console.log("==Connection is closed by server",_),y(!0),j||(console.log("==ws closed"),y(!0),_||setTimeout((()=>y(!1)),3e3))):console.log("==Connection is closed by app component unmount")},t.onmessage=e=>{const t=e.data;if(t){var n,r;const e=Ce(JSON.parse(t),m);if(E(e),document.title=(null==e||null===(n=e.headlines)||void 0===n?void 0:n.meta_title)||(null==e||null===(r=e.headlines)||void 0===r?void 0:r.basic)||je.g,C.current){var i;const t=Object(s.K)(null==e||null===(i=e.liveblog_cards)||void 0===i?void 0:i.liveblogElement[1],f);if(t===N.current)return;N.current=t,S(t)}else{var o;C.current=!0,N.current=Object(s.K)(null==e||null===(o=e.liveblog_cards)||void 0===o?void 0:o.liveblogElement[1],f)}}},()=>(d.current=null,t.close(),!0)}}catch(e){console.error("Setting up connection is failed",e)}return()=>{}}}),[j,_]),Object(c.jsx)("div",{className:"grid-left-rail grid-left-rail-liveblog min-h-screen",children:m?Object(c.jsx)(ge,{story:b,connectionTime:v,newCardId:k,isNewLiveblogId:f}):Object(c.jsx)(p,{story:b})})};ke=Object(r.memo)(Object(K.a)(ke)),ke.propTypes={customFields:l.a.shape({versionCutoffDate:l.a.date.tag({name:"Show Liveblog V2 UI After Specified Date",defaultValue:""})})};t.default=ke},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),o=n(8),a=n(0);const l=({story:e})=>{var t,n;const[i,o]=Object(r.useState)("");return Object(r.useEffect)((()=>{var e;o((null===(e=document.getElementsByClassName("video-caption")[0])||void 0===e?void 0:e.innerHTML)||"")}),[]),i&&(null==e||null===(t=e.label)||void 0===t||null===(n=t.longform_photoplacement)||void 0===n?void 0:n.text)?Object(a.jsx)("div",{className:"w-full font-ringside-regular text-3 text-gray-dark leading-[18px] max-w-lf-body mx-auto text-left mt-2 mb-4 px-5",children:i}):null};var s=n(77),c=n(5),u=n(85),d=n(117),p=n(140),m=n(150),f=n(40),b=n(51);const h=({story:e,longformType:t})=>{const{outputType:n,requestUri:i}=Object(o.useAppContext)(),l=Object(r.useMemo)((()=>null==e?void 0:e.content_elements),[e])||{},s=Object(r.useMemo)((()=>{var e;return(null==l?void 0:l.length)>1&&"image"===(null===(e=l[1])||void 0===e?void 0:e.type)}),[e]),h=Object(r.useMemo)((()=>Object(c.U)(n,i)),[n,i]),v=(e,t)=>h&&e?Object(a.jsx)(b.b,{content:e,index:0,isFeatured:!0}):t,g=(e,t,n=!1)=>h&&e?Object(a.jsx)(b.c,{video:e,index:0,isFeatured:!0,isYoutubeVideo:n}):t;switch(t){case 1:{var j,y,x,O,w,_;const e=Object(a.jsx)(u.a,{src:null===(j=l[0])||void 0===j?void 0:j.imageWebUrl,srcset:null===(y=l[0])||void 0===y?void 0:y.imgSrcSet,sizes:c.a,type:"topper",imageRatio:"16x9",caption:"",credit:""});if(!s)return v(l[0],e);const t=Object(a.jsxs)("div",{children:[Object(a.jsx)("div",{className:"hidden sm:block",children:Object(a.jsx)(u.a,{src:null===(x=l[0])||void 0===x?void 0:x.imageWebUrl,srcset:null===(O=l[0])||void 0===O?void 0:O.imgSrcSet,sizes:c.a,type:"topper",imageRatio:"16x9",caption:"",credit:""})}),Object(a.jsx)("div",{className:"sm:hidden",children:Object(a.jsx)(u.a,{src:null===(w=l[1])||void 0===w?void 0:w.imageWebUrl,srcset:null===(_=l[1])||void 0===_?void 0:_.imgSrcSet,sizes:c.a,type:"topper",imageRatio:"16x9",caption:"",credit:""})})]});return v(l[0],t)}case 2:return Object(a.jsx)(p.b,{content:l[0]||""});case 3:{var C,k;const t=Object(a.jsx)(m.a,{video:null==e||null===(C=e.promo_items)||void 0===C?void 0:C.video,hideCaption:!0,hasDuration:!0,customClasses:"mx-0",fusionEnv:Object(f.a)("ENV")});return g(null==e||null===(k=e.promo_items)||void 0===k?void 0:k.video,t)}case 4:{var S,N,L,E,P;const t=Object(a.jsx)(u.a,{src:null==e||null===(S=e.promo_items)||void 0===S||null===(N=S.longform)||void 0===N?void 0:N.imageWebUrl,srcset:null==e||null===(L=e.promo_items)||void 0===L||null===(E=L.longform)||void 0===E?void 0:E.imgSrcSet,sizes:c.a,type:"topper",imageRatio:"16x9",caption:"",credit:""});return v(null==e||null===(P=e.promo_items)||void 0===P?void 0:P.longform,t)}case 5:{var T,M,A,I;const t=Object(a.jsx)("div",{className:"h-full w-full max-w-[980px] max-h-150 mx-auto",children:Object(a.jsx)(d.a,{story:e,imageRatio:"16x9",dataEnv:Object(f.a)("ENV")})});return g((null==e||null===(T=e.promo_items)||void 0===T?void 0:T.video)||(null==e||null===(M=e.promo_items)||void 0===M?void 0:M.youtube),t,!(null==e||null===(A=e.promo_items)||void 0===A?void 0:A.video)&&!!(null==e||null===(I=e.promo_items)||void 0===I?void 0:I.youtube))}default:return null}};var v=Object(r.memo)(h),g=n(9);const j=({story:e,longformType:t,outputType:n,requestUri:r})=>{var i,o,l,u;return Object(a.jsxs)(a.Fragment,{children:[Object(a.jsxs)("div",{className:"relative",children:[t>0&&Object(a.jsx)("div",{className:"bg-primary absolute top-0 right-0 left-0 h-truncate"}),Object(a.jsxs)("div",{className:"relative px-5",children:[Object(a.jsx)("div",{id:"header-content",className:"sm:px-0 pb-5 lg:pt-10 pt-6 focus:outline-none",children:(!Object(g.b)(n)||Object(c.nb)(r))&&Object(a.jsx)("h1",{className:`${t?"font-knockout text-white":""}\n ${t?"":"font-inquirer-headline"}\n max-w-lf-body mx-auto text-center font-black text-8 leading-none sm:text-6xl`,children:Object(c.y)(e)})}),Object(a.jsx)("div",{className:"topper-img-wrapper w-full max-w-lf-body mx-auto max-h-150",children:Object(a.jsx)(v,{story:e,longformType:t})})]})]}),!(null==e||null===(i=e.label)||void 0===i||null===(o=i.longform_photoplacement)||void 0===o?void 0:o.text)&&Object(a.jsx)(s.a,{additionalAttrs:{className:"mb-6 pt-4 px-5 max-w-lf-body mx-auto text-center text-black type-article-tease"},children:Object(c.z)((null==e||null===(l=e.subheadlines)||void 0===l?void 0:l.basic)||(null==e||null===(u=e.description)||void 0===u?void 0:u.basic))})]})};var y=Object(r.memo)(j);const x=({story:e,eyebrows:t,eyeBrowsClass:n,eyebrowsUrl:r,headLineFont:i,headLineClass:o,backgroundColor:l,isMobile:s,isLeftPlacement:u})=>{var d,p;return Object(a.jsx)("div",{className:"col-span-10 "+(u?"md:col-span-6":"md:col-span-5"),children:Object(a.jsx)("div",{className:`flex flex-row ${u||s?"":"justify-end"} box-border h-full ${s?"px-5":""}`,children:Object(a.jsxs)("div",{className:`flex flex-col ${s?"p-2":"p-6"} md:px-0 py-4\n ${u?"md:max-w-[420px] md:ml-16 my-auto":"md:w-[325px] md:justify-center"}`,children:[t&&Object(a.jsx)("a",{className:n,href:r,"data-link-type":"article-eyebrow",children:t}),Object(a.jsx)("h1",{className:`${Object(c.x)(i)} ${o}`,children:Object(c.y)(e)}),Object(a.jsx)("p",{dangerouslySetInnerHTML:{__html:Object(c.z)((null==e||null===(d=e.subheadlines)||void 0===d?void 0:d.basic)||(null==e||null===(p=e.description)||void 0===p?void 0:p.basic))},className:`pt-4 ${Object(c.B)(l)} type-article-tease`})]})})})},O=({story:e,longformType:t})=>Object(a.jsx)("div",{className:"col-span-4 hidden md:block",children:Object(a.jsx)("div",{className:"side-photo-image h-full w-full max-h-150",children:Object(a.jsx)(v,{story:e,longformType:t})})});function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const C=e=>{const{story:t,longformType:n,outputType:r,requestUri:i,themeMetadata:o,isMobile:l}=e;if(!n)return Object(a.jsx)(y,function(e){for(var t=1;t{var e;const{globalContent:t,outputType:n,requestUri:i}=Object(o.useAppContext)(),[s,u]=Object(r.useState)((null===(e=window)||void 0===e?void 0:e.innerWidth)<480||!0),d=Object(r.useMemo)((()=>Object(c.C)(t)),[t]),p=Object(r.useMemo)((()=>(null==t?void 0:t.label)||{}),[null==t?void 0:t.label]),m=Object(r.useMemo)((()=>{var e,t,n,r,i,o;return{theme:null==p||null===(e=p.longform_theme)||void 0===e?void 0:e.text,color:null==p||null===(t=p.longform_color)||void 0===t?void 0:t.url,headLineFont:null==p||null===(n=p.longform_headlinefont)||void 0===n?void 0:n.url,photoPlacement:null==p||null===(r=p.longform_photoplacement)||void 0===r?void 0:r.text,eyebrows:null==p||null===(i=p.eyebrows)||void 0===i?void 0:i.text,eyebrowsUrl:null==p||null===(o=p.eyebrows)||void 0===o?void 0:o.url}}),[p]),f=Object(r.useMemo)((()=>({story:t,longformType:d,outputType:n,requestUri:i,themeMetadata:m,isMobile:s})),[t,d,n,i,m,s]);return Object(r.useEffect)((()=>(window.addEventListener("resize",(()=>{var e;return u((null===(e=window)||void 0===e?void 0:e.innerWidth)<480)})),()=>{window.removeEventListener("resize",(()=>{var e;return u((null===(e=window)||void 0===e?void 0:e.innerWidth)<480)}))})),[]),Object(a.jsxs)("div",{className:"longform-header",children:["Side Photo"===(null==m?void 0:m.theme)?Object(a.jsx)(k,N({},f)):Object(a.jsx)(y,N({},f)),Object(a.jsx)(l,{story:t})]})};var P=Object(r.memo)(E),T=n(88),M=n(81),A=n(52),I=n(10),D=n(6);function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $(e){for(var t=1;t{var e,t,n,i,l,s,d,p,h;const{globalContent:v,outputType:j,requestUri:y}=Object(o.useAppContext)(),x=Object(r.useMemo)((()=>null==v?void 0:v.topperSetting),[null==v?void 0:v.topperSetting]),O=Object(r.useMemo)((()=>null==x?void 0:x.isDarkMode),[null==x?void 0:x.isDarkMode]),w=Object(r.useMemo)((()=>Object(g.b)(j)),[j]),_=Object(r.useMemo)((()=>Object(c.U)(j,y)),[j,y]),C=Object(r.useMemo)((()=>({usePMNdataLayerEvent:!0,userInteraction:"social-share",articleTitle:Object(D.o)(v.headlines,"social_share"),articleCanonicalUrl:v.canonical_url,customClass:"-mt-1 md:mt-0 inline-block cursor-pointer bg-transparent p-0",isDarkMode:"text-white"===Object(c.A)(null==x?void 0:x.bgColor)})),[null==v?void 0:v.headlines,null==v?void 0:v.canonical_url,null==x?void 0:x.bgColor]),k=Object(r.useMemo)((()=>Object(A.a)({articleTitle:Object(D.o)(null==v?void 0:v.headlines,"social_share"),articleCanonicalUrl:null==v?void 0:v.canonical_url,customClass:"-mt-1 md:mt-0 inline-block cursor-pointer bg-transparent p-0 mr-2",isAppWebView:w,fullGiftURL:`${Object(I.c)()}${null==v?void 0:v.canonical_url}`,isDarkMode:"text-white"===Object(c.A)(null==x?void 0:x.bgColor)})),[null==v?void 0:v.headlines,null==v?void 0:v.canonical_url,null==x?void 0:x.bgColor,w]),S=Object(r.useMemo)((()=>Object(c.w)("h1",null==x?void 0:x.mainHeadlinesStyle,null==x?void 0:x.bgColor)),[null==x?void 0:x.mainHeadlinesStyle,null==x?void 0:x.bgColor]),N=Object(r.useMemo)((()=>Object(c.w)("h6","font-normal",null==x?void 0:x.bgColor)),[null==x?void 0:x.bgColor]),L=Object(r.useMemo)((()=>Object(c.v)(null==x?void 0:x.bgColor)),[null==x?void 0:x.bgColor]),E=Object(r.useMemo)((()=>{var e;return(null==x||null===(e=x.topperStyle)||void 0===e?void 0:e.includes("3x2"))?"3x2":"16x9"}),[null==x?void 0:x.topperStyle]),P=Object(r.useMemo)((()=>{var e;return null==x||null===(e=x.topperStyle)||void 0===e?void 0:e.includes("centered-overlay")}),[null==x?void 0:x.topperStyle]),R=Object(r.useMemo)((()=>{var e,t,n,r,i;return(null==v||null===(e=v.promo_items)||void 0===e||null===(t=e.longform)||void 0===t?void 0:t.imageWebUrl)||(null==v||null===(n=v.promo_items)||void 0===n||null===(r=n.basic)||void 0===r?void 0:r.imageWebUrl)||(null==v||null===(i=v.promo_items)||void 0===i?void 0:i.video)}),[null==v||null===(e=v.promo_items)||void 0===e||null===(t=e.longform)||void 0===t?void 0:t.imageWebUrl,null==v||null===(n=v.promo_items)||void 0===n||null===(i=n.basic)||void 0===i?void 0:i.imageWebUrl,null==v||null===(l=v.promo_items)||void 0===l?void 0:l.video]),q=Object(r.useMemo)((()=>{var e,t;return(null==v||null===(e=v.promo_items)||void 0===e?void 0:e.longform)||(null==v||null===(t=v.promo_items)||void 0===t?void 0:t.basic)}),[null==v||null===(s=v.promo_items)||void 0===s?void 0:s.longform,null==v||null===(d=v.promo_items)||void 0===d?void 0:d.baasic]),B=Object(r.useMemo)((()=>"max-w-lf-body "+(P?"mx-auto":"mx-5 md:mx-auto")),[P]);return Object(a.jsxs)("div",{className:"relative",children:[Object(a.jsxs)("div",{className:"relative flex flex-col "+(O?"bg-primary":""),children:[Object(a.jsx)("div",{className:`relative ${L} ${R?"":"mb-4"}`,children:Object(a.jsxs)("div",{id:"header-content",className:"text-center max-w-full sm:max-w-3xl lg:max-w-lf-body focus:outline-none py-5 sm:py-8 mx-auto",children:[Object(a.jsxs)("div",{className:"flex relative pb-4 items-center px-4 lg:px-0",children:[Object(a.jsx)("div",{className:"flex-auto"}),!w&&Object(a.jsx)("div",{onClick:()=>Object(A.d)(),children:Object(a.jsx)(T.a,$({},k))}),Object(a.jsx)(M.a,$({},C))]}),(!w||Object(c.nb)(y))&&Object(a.jsx)("h1",{className:`${S} px-4 lg:px-0`,children:Object(c.y)(v)}),Object(a.jsx)("h6",{className:`${N} mt-2 sm:mt-4 lg:mt-4 px-4 lg:px-0`,children:Object(c.z)((null==v||null===(p=v.subheadlines)||void 0===p?void 0:p.basic)||(null==v||null===(h=v.description)||void 0===h?void 0:h.basic))})]})}),R&&Object(a.jsxs)("div",{className:`relative lg:px-0 pb-2 mb-4 ${P?"px-4":""} ${O?"bg-primary":""}`,children:[Object(a.jsx)("div",{className:"relative mx-auto w-full max-w-full z-1 "+(P?"sm:max-w-lf-body lg:max-w-[980px]":""),children:((e,t,n,r)=>{const i=(null==v||null===(e=v.promo_items)||void 0===e?void 0:e.video)&&Object(a.jsx)(m.a,{video:null==v||null===(t=v.promo_items)||void 0===t?void 0:t.video,hideCaption:!0,hasDuration:!0,customClasses:"mx-0 mb-2",fusionEnv:Object(f.a)("ENV"),aspectRatio:E,isDarkMode:O}),o=!(null==v||null===(n=v.promo_items)||void 0===n?void 0:n.video)&&q&&Object(a.jsx)(u.a,{src:null==q?void 0:q.imageWebUrl,srcset:null==q?void 0:q.imgSrcSet,sizes:Object(c.D)(!P),type:"topper",imageRatio:E,caption:null==q?void 0:q.caption,credit:Object(D.m)(q),captionClasses:B,creditClasses:B,isDarkMode:O});if(_){var l;if(null==v||null===(l=v.promo_items)||void 0===l?void 0:l.video)return Object(a.jsx)(b.c,{video:v.promo_items.video,index:0,isFeatured:!0});if(q)return Object(a.jsx)(b.b,{content:q,index:0,isFeatured:!0})}return(null==v||null===(r=v.promo_items)||void 0===r?void 0:r.video)?i:o})()}),P&&Object(a.jsx)("div",{className:`absolute -top-1 left-0 right-0 h-2/5 ${L}`})]})]}),Object(a.jsx)("div",{className:"hidden bg-silversand"})]})};var F=i.a.memo(B);const V=()=>{const{globalContent:e}=Object(o.useAppContext)(),t=Object(r.useMemo)((()=>Object(c.ab)(null==e?void 0:e.subtype)),[e]);return Object(a.jsx)(a.Fragment,{children:t?Object(a.jsx)(F,{}):Object(a.jsx)(P,{})})};t.default=Object(r.memo)(V)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),o=n(2),a=n.n(o),l=n(8),s=n(16),c=n(21),u=n(0);const d=({id:e,trigger:t,children:n,isAccordionOpen:i,setIsAccordionOpen:o})=>{const a=Object(r.useRef)(null),l=Object(r.useRef)(!1),s=Object(r.useMemo)((()=>`timeline-trigger-${e}`),[e]),c=Object(r.useMemo)((()=>`timeline-region-${e}`),[e]),[d,p]=Object(r.useState)(0),[m,f]=Object(r.useState)(!1),b=Object(r.useMemo)((()=>i?m?`${d}px`:"auto":"0px"),[m,d,i]);return Object(r.useEffect)((()=>{if(!a.current)return()=>{};const e=new ResizeObserver((()=>{a.current&&(p(a.current.scrollHeight),l.current||(l.current=!0,f(!0)))}));return e.observe(a.current),()=>e.disconnect()}),[]),Object(u.jsxs)(u.Fragment,{children:[Object(u.jsxs)("button",{type:"button",id:s,"data-toc-trigger":!0,onClick:()=>o(!i),className:"flex items-center justify-between gap-2.5 w-full group bg-transparent p-5","aria-expanded":i,"aria-controls":c,children:[t,Object(u.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",className:"w-4 h-4 text-muted-foreground flex-shrink-0 transition-transform duration-300 "+(i?"":"rotate-180"),children:Object(u.jsx)("path",{d:"M7.9987 4.66634L14.6654 11.333L1.33203 11.333L7.9987 4.66634Z",fill:"black"})})]}),Object(u.jsx)("div",{id:c,role:"region","aria-labelledby":s,style:{height:b,overflow:"hidden",visibility:i?"visible":"hidden",transition:m?"height 300ms cubic-bezier(0.4, 0, 0.2, 1), visibility "+(i?"0s":"0s 300ms"):"none"},children:Object(u.jsx)("div",{ref:a,children:n})})]})};var p=i.a.memo(d);const m=({headline:e,index:t,isActive:n,isPast:i,isLastArticle:o,onArticleClick:a})=>{const l=Object(r.useMemo)((()=>i||n?"bg-secondary-purple":"bg-gray-300"),[i,n]);return Object(u.jsxs)("li",{className:"flex gap-5",children:[Object(u.jsxs)("div",{className:"relative flex-shrink-0 w-6 ml-3 flex justify-center items-start",children:[t>0&&Object(u.jsx)("div",{className:`absolute top-0 h-3 w-[3px] left-1/2 -translate-x-1/2 ${l}`}),!o&&Object(u.jsx)("div",{className:"absolute top-3 bottom-0 w-[3px] left-1/2 -translate-x-1/2 "+(i?"bg-secondary-purple":"bg-gray-300")}),Object(u.jsx)("span",{className:`relative z-10 mt-[5px] w-[15px] h-[15px] rounded-full transition-colors duration-300 ${l}`})]}),e&&Object(u.jsx)("button",{type:"button","aria-label":`Go to article: ${e}`,onClick:()=>a(t),className:`flex flex-col min-w-0 flex-1 rounded-md text-left bg-transparent cursor-pointer pr-5 ${n?"text-foreground":"text-muted-foreground hover:text-foreground"}${o?" pb-5":" pb-2.5"}`,children:Object(u.jsx)("span",{className:"text-4.5 text-black font-grot10 leading-6 font-normal line-clamp-1",children:e})})]})};var f=i.a.memo(m);const b=({articles:e,timeLineTriggerText:t,customFixedTimelineStyle:n="",activeArticleIndex:i,defaultOpen:o,isFixed:a=!1,showNextLabel:l=!1,onArticleClick:s,topOffset:c,shouldAutoCollapse:d=!1})=>{const[m,b]=Object(r.useState)(o),h=Object(r.useRef)(!1),v=Object(r.useMemo)((()=>{var t,n,r,o;return(null===(t=e[i])||void 0===t||null===(n=t.headlines)||void 0===n?void 0:n.mobile)||(null===(r=e[i])||void 0===r||null===(o=r.headlines)||void 0===o?void 0:o.basic)}),[e,i]),g=Object(r.useRef)(null),j=Object(r.useRef)(null);Object(r.useEffect)((()=>{j.current&&null!=c&&(j.current.style.top=`${c}px`)}),[c]),Object(r.useEffect)((()=>{if(!d||!m)return()=>{};const e=()=>{h.current||b(!1)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)}),[d,m]),Object(r.useEffect)((()=>()=>{null!==g.current&&clearTimeout(g.current)}),[]);const y=Object(r.useCallback)((e=>{h.current=!0,b(e),null!==g.current&&clearTimeout(g.current),g.current=setTimeout((()=>{h.current=!1,g.current=null}),350)}),[]),x=Object(u.jsx)("nav",{"aria-label":"Article timeline",children:Object(u.jsx)("ol",{className:"flex flex-col",children:(e||[]).map(((t,n)=>{var r,o;return Object(u.jsx)(f,{index:n,isActive:n===i,isPast:n{const p=Object(r.useRef)(null),[m,f]=Object(r.useState)(!0),[b,h]=Object(r.useState)(!1),v=Object(r.useCallback)((()=>{var e;if(!p.current)return;const t=p.current.firstChild;if(!t||!document.createRange)return void h(!1);const n=document.createRange();n.selectNodeContents(t);const r=(null===(e=n.getBoundingClientRect)||void 0===e?void 0:e.call(n))?parseInt(String(n.getBoundingClientRect().height-4),10):0,i=p.current.getBoundingClientRect().height;h(r>i)}),[]);return Object(r.useEffect)((()=>{v()}),[o,v]),Object(r.useEffect)((()=>(window.addEventListener("resize",v),window.addEventListener("load",v),()=>{window.removeEventListener("resize",v),window.removeEventListener("load",v)})),[v]),Object(u.jsxs)("figure",{className:l,children:[Object(u.jsx)("img",x({src:e,srcSet:n,sizes:i,alt:t||"",className:`object-contain max-h-screen lg:max-h-75vh h-full w-screen sm:w-full ${s}`,loading:c},d)),Object(u.jsxs)("figcaption",{className:"flex flex-col items-start gap-1 px-4 md:px-0",children:[Object(u.jsxs)("span",{ref:p,className:"text-primary font-grot10 text-3.5 font-normal leading-4 overflow-hidden relative transition-all "+(m?"line-clamp-2 [-webkit-line-clamp:2] [display:-webkit-box] [-webkit-box-orient:vertical]":"max-h-full"),children:[o,b&&m&&Object(u.jsx)("button",{type:"button","aria-label":"Read full caption",className:"font-bold absolute bottom-0 right-0 cursor-pointer text-primary font-grot10 text-3.5 leading-4 bg-white",onClick:()=>f(!1),"data-click-event":"expand-caption",children:" ... Read More"})]}),a&&a.length>0&&Object(u.jsx)("span",{className:"text-neutral-light-text font-grot10 text-3.5 leading-5",children:a.map((e=>e.name)).join(" / ")})]})]})};var _=i.a.memo(w),C=n(114),k=n(5),S=n(43),N=n(51);const L="font-inquirer-text-web text-4.5 leading-[30px] sm:text-5 text-primary mb-5\n sm:leading-8 [&>a]:text-blue-mid [&>a]:no-underline [&>a]:hover:shadow-lightmode px-4 font-medium",E=({element:e,index:t,lastVisibleParagraphIndex:n,firstTextIndex:i,onExpand:o,isHybrid:a})=>{const l=Object(r.useMemo)((()=>t===n),[t,n]),s=Object(r.useMemo)((()=>t===i),[t,i]),c=Object(r.useMemo)((()=>Object(k.b)(e.content)),[e.content]);var d;if("image"===e.type)return Object(u.jsx)("div",{className:"lg:hidden px-0 md:px-4 lg:px-0",children:a&&Object(S.e)(e)?Object(u.jsx)(N.b,{content:e,index:Object(S.c)(e),isFeatured:!1}):Object(u.jsx)(_,{src:e.imageWebUrl||e.url||"",srcSet:e.imgSrcSet,sizes:"(min-width: 1040px) 650px, calc(94.44vw - 15px)",alt:e.caption,caption:e.caption,credits:null===(d=e.credits)||void 0===d?void 0:d.by,imgAttributes:{width:650,height:433}})});if("text"===e.type){if(s){const t=e.content.replace(/<[^>]*>/g,"").charAt(0),n=e.content.replace(t,""),r=Object(u.jsxs)(u.Fragment,{children:[Object(u.jsx)("span",{className:"float-left font-inquirer-headline text-secondary-purple text-16 leading-[58px] sm:text-28 sm:leading-[96px] font-bold mr-2","aria-hidden":"true",children:t}),Object(u.jsx)("span",{className:"font-medium",dangerouslySetInnerHTML:{__html:n}})]});return l?Object(u.jsxs)("p",{className:L,children:[r," ",Object(u.jsx)("button",{type:"button",onClick:o,"aria-label":"Read more of this article",className:"bg-transparent cursor-pointer text-secondary-purple font-inquirer-text-web text-5 font-bold -mt-1",children:"READ MORE"})]}):Object(u.jsx)("p",{className:L,children:r})}return l?Object(u.jsxs)("p",{className:L,children:[Object(u.jsx)("span",{dangerouslySetInnerHTML:{__html:c}})," ",Object(u.jsx)("button",{type:"button",onClick:o,"aria-label":"Read more of this article",className:"bg-transparent cursor-pointer text-secondary-purple font-inquirer-text-web text-5 font-bold -mt-1",children:"READ MORE"})]}):Object(u.jsx)("p",{className:L,dangerouslySetInnerHTML:{__html:c}})}return Object(u.jsx)("div",{className:"px-4 last:px-0",children:Object(u.jsx)(C.a,{storyContent:e,isHybrid:a})})};var P=i.a.memo(E),T=n(127),M=n(83),A=n(6),I=n(3);const D=({article:e,articleIndex:t,expanded:n,onExpand:i,isHybrid:o})=>{var a;const l=Object(r.useMemo)((()=>(null==e?void 0:e.content_elements)||[]),[null==e?void 0:e.content_elements]),s=Object(r.useMemo)((()=>{var t;return null==e||null===(t=e.credits)||void 0===t?void 0:t.by}),[null==e||null===(a=e.credits)||void 0===a?void 0:a.by]),c=Object(r.useMemo)((()=>Object(A.g)(e)),[e]),d=Object(r.useMemo)((()=>l.filter((e=>"text"===e.type)).length),[l]),p=Object(r.useMemo)((()=>0===t&&d>=8),[t,d]),{visibleContent:m,lastVisibleParagraphIndex:f,firstTextIndex:b}=Object(r.useMemo)((()=>{var e;if(n)return{visibleContent:l,lastVisibleParagraphIndex:-1,firstTextIndex:null!==(e=null==l?void 0:l.findIndex((e=>"text"===e.type)))&&void 0!==e?e:-1};let t=0;const r=[];let i=-1;(l||[]).every((e=>!(t>=5)&&(r.push(e),"text"===e.type&&(t++,5===t&&(i=(null==r?void 0:r.length)-1)),!0)));var o;return(null==r?void 0:r.length)<(null==l?void 0:l.length)?{visibleContent:r,lastVisibleParagraphIndex:i,firstTextIndex:null==r?void 0:r.findIndex((e=>"text"===e.type))}:{visibleContent:l,lastVisibleParagraphIndex:-1,firstTextIndex:null!==(o=null==l?void 0:l.findIndex((e=>"text"===e.type)))&&void 0!==o?o:-1}}),[n,l]),h=Object(r.useCallback)((()=>{if(null==e?void 0:e.canonical_url){const{search:t,hash:n}=window.location;window.history.pushState({},"",`${e.canonical_url}${t}${n}`)}i(t)}),[i,t,null==e?void 0:e.canonical_url]);return Object(u.jsxs)("div",{className:"article-body flex flex-col",children:[(()=>{if(!p)return null==m?void 0:m.map(((e,t)=>Object(u.jsx)(P,{element:e,index:t,lastVisibleParagraphIndex:f,firstTextIndex:b,onExpand:h,isHybrid:o},e._id||t)));let e=0,t=0;return null==m?void 0:m.flatMap(((n,r)=>{const i=[Object(u.jsx)(P,{element:n,index:r,lastVisibleParagraphIndex:f,firstTextIndex:b,onExpand:h,isHybrid:o},n._id||r)];return"text"===n.type&&(e++,e%4==0&&(t++,i.push(Object(u.jsx)(M.default,{customFields:{adType:I.a.ARTICLE_CUBE},adIndex:t},`weekend-inline-${t}`)))),i}))})(),!!(null==s?void 0:s.length)&&(n||-1===f)&&Object(u.jsx)("div",{className:"px-4 mt-14",children:Object(u.jsx)(T.a,{bylineObject:c,globalContent:e})})]})};var R=i.a.memo(D),$=n(23),q=n(52),B=n(10),F=n(60),V=n(12);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function U(e){for(var t=1;t{var y,x,O,w,C;const L=Object(r.useMemo)((()=>{var t;return null==e||null===(t=e.promo_items)||void 0===t?void 0:t.basic}),[null==e||null===(y=e.promo_items)||void 0===y?void 0:y.basic]),E=Object(r.useMemo)((()=>(null==L?void 0:L.imageWebUrl)||(null==L?void 0:L.url)),[L]),P=Object(r.useMemo)((()=>{var t;return(null==e||null===(t=e.headlines)||void 0===t?void 0:t.basic)||""}),[null==e||null===(x=e.headlines)||void 0===x?void 0:x.basic]),T=Object(r.useMemo)((()=>{var t;return null==e||null===(t=e.subheadlines)||void 0===t?void 0:t.basic}),[null==e||null===(O=e.subheadlines)||void 0===O?void 0:O.basic]),M=Object(r.useMemo)((()=>{var e;return null==L||null===(e=L.credits)||void 0===e?void 0:e.by}),[null==L||null===(w=L.credits)||void 0===w?void 0:w.by]),I=Object(r.useMemo)((()=>null==L?void 0:L.caption),[L]),D=Object(r.useMemo)((()=>0===t),[t]),H=Object(r.useMemo)((()=>((null==e?void 0:e.content_elements)||[]).filter((e=>"image"===e.type))),[null==e?void 0:e.content_elements]),z=Object(r.useMemo)((()=>Object(A.h)(e)),[e]),G=Object(r.useMemo)((()=>Object(A.k)(e)),[e]),{outputType:Y,requestUri:W}=Object(l.useAppContext)(),Z=Object(r.useMemo)((()=>Object(k.U)(Y,W)),[Y,W]),K=null!==(C=null==e?void 0:e.__topperIndex)&&void 0!==C?C:0,J=Object(r.useRef)(null),X=Object(r.useMemo)((()=>D?"eager":"lazy"),[D]),Q=Object(r.useMemo)((()=>({src:E||"",srcSet:null==L?void 0:L.imgSrcSet,sizes:"(min-width: 1040px) 650px, calc(94.44vw - 15px)",alt:P,credits:M,caption:I,loading:X,imgAttributes:U({width:650,height:433},!D&&{"data-article-separator":!0},{},D&&{fetchpriority:"high"})})),[E,null==L?void 0:L.imgSrcSet,P,M,I,X,D]);return Object(r.useEffect)((()=>{J.current&&(null==e?void 0:e._id)&&Object(F.i)({},J.current,e._id,[],"story section",.1,e._id,"story_stack_story",t,b)}),[]),Object(u.jsxs)("article",U({ref:J,className:"flex flex-col gap-3 lg:pt-16","data-article-section":!0},P&&{"aria-labelledby":`article-heading-${e._id}`},{children:[Object(u.jsxs)("div",{className:"hidden lg:flex lg:gap-2 lg:pl-4 xl:pl-0 justify-center",children:[Object(u.jsx)("div",{className:"lg:w-1/2"}),Object(u.jsx)("div",{className:"lg:w-1/2",children:Object(u.jsx)("a",{href:m||V.b,target:"_blank",rel:"noreferrer",className:"font-grot12-condensed text-4 font-semibold leading-4 block text-secondary-purple uppercase text-center no-underline",children:p})})]}),Object(u.jsxs)("div",{className:"flex flex-col lg:flex-row lg:gap-2 lg:pl-4 xl:pl-0 justify-center",children:[Object(u.jsx)("div",{className:"hidden lg:block lg:w-1/2 lg:min-w-0",children:c&&H.length>0?Object(u.jsxs)(u.Fragment,{children:[Object(u.jsx)("div",{className:"mb-3",style:{height:`calc(100% / ${H.length+1})`},children:E&&Object(u.jsx)("div",{className:"sticky mb-0",style:{top:f},children:Z&&L?Object(u.jsx)(N.b,{content:L,index:K,isFeatured:!0}):Object(u.jsx)(_,U({},Q,{imgClassName:"border border-gray-300",className:"flex flex-col gap-2"}))})}),H.map((e=>{var t;return Object(u.jsx)("div",{style:{height:`calc(100% / ${H.length+1})`},children:Object(u.jsx)("div",{className:"sticky mb-5",style:{top:f},children:Z&&Object(S.e)(e)?Object(u.jsx)(N.b,{content:e,index:Object(S.c)(e),isFeatured:!1}):Object(u.jsx)(_,{src:e.imageWebUrl||e.url||"",srcSet:e.imgSrcSet,sizes:"(min-width: 1040px) 650px, calc(94.44vw - 15px)",alt:e.caption||"",caption:e.caption,credits:null===(t=e.credits)||void 0===t?void 0:t.by,imgClassName:"border border-gray-300",className:"mb-0 flex flex-col gap-2",imgAttributes:{width:650,height:433}})})},e._id)}))]}):E&&Object(u.jsx)("div",{className:"sticky mb-3",style:{top:f},children:Z&&L?Object(u.jsx)(N.b,{content:L,index:K,isFeatured:!0}):Object(u.jsx)(_,U({},Q,{imgClassName:"border border-gray-300",className:"flex flex-col gap-2"}))})}),Object(u.jsxs)("div",{className:"flex flex-col w-auto lg:w-1/2 lg:min-w-0","data-content-column":!0,children:[Object(u.jsxs)("div",{className:"flex flex-col pb-4 px-0 sm:px-4 lg:px-0 justify-center items-center gap-4.5 lg:gap-2 flex-shrink-0 lg:block lg:pb-0",children:[E&&(Z&&L?Object(u.jsx)("div",{className:"order-2 mb-0 lg:hidden",children:Object(u.jsx)(N.b,{content:L,index:K,isFeatured:!0})}):Object(u.jsx)(_,U({},Q,{imgClassName:"border border-gray-300 mb-2",className:"order-2 mb-0 lg:hidden"}))),Object(u.jsxs)("div",{className:"flex flex-col items-center order-1 pt-10 pb-6 px-4 lg:order-none lg:pt-0 lg:pb-16 lg:px-0 mt-0 lg:min-h-[422px] lg:gap-5",children:[P&&Object(u.jsx)("h2",{id:`article-heading-${e._id}`,className:"text-center font-inquirer-headline font-semibold\n text-8 leading-9 text-primary mb-[26px] lg:text-13 lg:leading-13 lg:mb-0 sm:text-10 sm:leading-10",children:P}),T&&Object(u.jsx)("p",{className:"flex text-center justify-center font-inquirer-headline font-normal\n text-primary text-5 leading-6 mb-6 sm:mb-5 sm:text-6 sm:leading-8 lg:text-6 lg:leading-8 lg:w-[463px] lg:mb-0",children:T}),z.length>0&&Object(u.jsxs)("p",{className:"text-center font-grot10 text-4 font-normal leading-4.5 mb-1.5 sm:mb-5 lg:mb-0 text-primary",children:["By ",z.map(((e,t)=>Object(u.jsxs)(i.a.Fragment,{children:[e.url?Object(u.jsx)("a",{href:e.url,rel:"noopener noreferrer",className:"text-secondary-purple no-underline",children:e.name}):Object(u.jsx)("span",{className:"text-secondary-purple",children:e.name}),tdiv]:!flex-col [&>div]:!items-center [&_.inline-flex>div:last-child]:!hidden [&>div:first-child_*]:!text-primary text-center font-grot10 text-4 leading-4.5 lg:leading-4.5 font-normal mb-5 lg:mb-0",children:Object(u.jsx)(j.a,{date:G.time,isUpdated:G.isUpdated,breakLine:!1,customDateFormatTimestamp:`${Object($.b)(G.time)} ET`,isDisplayUpdatedTimestamp:G.isUpdated&&!!G.updatedTime,updatedDate:G.updatedTime,customUpdatedDateFormatTimestamp:G.updatedTime?`${Object($.b)(G.updatedTime)} ET`:void 0})}),Object(u.jsxs)("div",{className:"relative flex justify-center items-end pt-1 gap-1.5 sm:gap-5",children:[Object(u.jsx)(g.Gift,U({},Object(q.a)({articleTitle:P,articleCanonicalUrl:(null==e?void 0:e.canonical_url)||"",customClass:"inline-block cursor-pointer bg-transparent p-0 bg-white",isAppWebView:!1,fullGiftURL:`${Object(B.c)()}${(null==e?void 0:e.canonical_url)||""}`,isV2:!0}),{isStoryStack:!0})),Object(u.jsx)(v.Share,{usePMNdataLayerEvent:!0,userInteraction:"social-share",articleTitle:P,articleCanonicalUrl:(null==e?void 0:e.canonical_url)||"",customClass:"inline-block cursor-pointer bg-transparent p-0",isV2:!0,isStoryStack:!0})]})]})]}),D&&Object(u.jsx)("div",{className:"hidden lg:block lg:mx-4","data-inline-timeline":!0,children:Object(u.jsx)(h,{articles:n,timeLineTriggerText:a,activeArticleIndex:null!=o?o:0,defaultOpen:!0,customFixedTimelineStyle:"lg:mb-7",showNextLabel:!1,onArticleClick:s})}),Object(u.jsx)(R,{article:e,articleIndex:t,expanded:c,onExpand:d,isHybrid:Z})]})]})]}))};var Y=i.a.memo(G),W=n(9);function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function K(e){for(var t=1;t{const n=K({},e,{},t);return n.showFixedTimeline===e.showFixedTimeline&&n.activeArticleIndex===e.activeArticleIndex&&n.showNextLabel===e.showNextLabel&&n.appBarHeight===e.appBarHeight&&n.timelineLeftOffset===e.timelineLeftOffset?e:n},ee=({articles:e,onArticleClick:t,onArticleExpand:n,timeLineTriggerText:o="Weekend reads",packageTitle:a="THE WEEKEND",labelLink:s})=>{const[{showFixedTimeline:c,activeArticleIndex:d,showNextLabel:p,appBarHeight:m,timelineLeftOffset:f},b]=Object(r.useReducer)(Q,X),[v,g]=Object(r.useState)(!1),{outputType:j,requestUri:y}=Object(l.useAppContext)(),x=Object(r.useMemo)((()=>Object(k.U)(j,y)),[j,y]),O=Object(r.useMemo)((()=>{if(!x)return{0:!0};const t={};return(e||[]).forEach(((e,n)=>{t[n]=!0})),t}),[x,e]),[w,_]=Object(r.useState)(O),C=Object(r.useMemo)((()=>{var t;return(null===(t=e[0])||void 0===t?void 0:t.stackArticles)||[]}),[e]),S=Object(r.useMemo)((()=>{var t;return(null===(t=e[0])||void 0===t?void 0:t.storyStackCollectionId)||""}),[e]),N=Object(r.useCallback)((e=>{_((t=>K({},t,{[e]:!0}))),n&&n(e)}),[n]),L=Object(r.useRef)(null),E=Object(r.useRef)(null),P=Object(r.useRef)(null),T=Object(r.useRef)(null),A=Object(r.useRef)(null);return Object(r.useEffect)((()=>{if(!L.current)return;P.current=L.current.querySelectorAll("[data-article-section]"),T.current=L.current.querySelector("[data-inline-timeline]"),A.current=document.querySelectorAll(".global-app-bar");const e=L.current.querySelector("[data-article-section]");E.current=(null==e?void 0:e.querySelector("[data-content-column]"))||null}),[e.length]),Object(r.useEffect)((()=>{g(Object(W.c)());let e=null;const t=()=>{e&&clearTimeout(e),e=setTimeout((()=>{g(Object(W.c)())}),150)};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t),e&&clearTimeout(e)}}),[]),Object(r.useEffect)((()=>{let e=window.scrollY,t=null;const n=v?20:0,r=()=>{null===t&&(t=requestAnimationFrame((()=>{if(t=null,!L.current)return;const r=P.current,i=T.current,{scrollY:o,innerHeight:a}=window,l=o>=e;e=o;let s=0;const c=e=>{const t=getComputedStyle(e);if("none"===t.display||"hidden"===t.visibility)return;const{height:r,bottom:i}=e.getBoundingClientRect();r>0&&(s=Math.max(s,i)+n)};A.current&&A.current.forEach((e=>{c(e),e.querySelectorAll(".subscriber-bar").forEach(c)}));let u=!1;i&&(u=i.getBoundingClientRect().bottom<=s);let d=0;if(E.current&&(d=E.current.getBoundingClientRect().left),!(null==r?void 0:r.length))return void b({showFixedTimeline:u,appBarHeight:s,timelineLeftOffset:d});let p=0;if(l){for(let e=r.length-1;e>=0;e--)if(r[e].getBoundingClientRect().top<=a-0){p=e;break}}else for(let e=0;e=150){p=e;break}let m=!1;if(p>0&&r[p]){m=r[p].getBoundingClientRect().top>a-500}b({showFixedTimeline:u,activeArticleIndex:p,showNextLabel:m,appBarHeight:s,timelineLeftOffset:d})})))};window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r,{passive:!0}),r();const i=[];if("undefined"!=typeof ResizeObserver){const e=A.current;if(e&&e.forEach((e=>{const t=new ResizeObserver(r);t.observe(e),i.push(t)})),L.current){const e=new ResizeObserver(r);e.observe(L.current),i.push(e)}}return()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",r),null!==t&&cancelAnimationFrame(t),i.forEach((e=>e.disconnect()))}}),[v]),(null==e?void 0:e.length)?Object(u.jsxs)("div",{ref:L,className:"flex flex-col max-w-[1240px] mx-auto xl:pl-10 justify-center",children:[Object(u.jsx)("div",{"data-sticky-timeline":!0,className:"sticky w-full lg:fixed lg:transition-transform lg:duration-300 lg:ease-out lg:w-[462px] xl:w-full xl:max-w-[590px] z-10\n "+(c?"":"lg:hidden"),style:K({top:m},v&&f?{left:f+16}:{}),children:Object(u.jsx)(h,{articles:C,timeLineTriggerText:o,activeArticleIndex:d,defaultOpen:!1,isFixed:!0,showNextLabel:p,onArticleClick:t,shouldAutoCollapse:!0})}),(e||[]).map(((n,r)=>Object(u.jsxs)(i.a.Fragment,{children:[Object(u.jsx)(Y,K({article:n,idx:r,stackArticles:C},0===r&&{activeArticleIndex:d},{timeLineTriggerText:o,onArticleClick:t,isExpanded:!!w[r],onExpand:N,packageTitle:a,labelLink:s},v?{stickyTopOffset:m+56}:{},{collectionId:S})),r{const[t,n]=Object(r.useState)(!1),{packageLabel:i="THE WEEKEND",timeLineTriggerText:o="Weekend reads",labelLink:a=V.b}=e||{},{globalContent:d,outputType:p,requestUri:m}=Object(l.useAppContext)(),f=Object(r.useMemo)((()=>d||{}),[d]),b=Object(r.useMemo)((()=>Object(k.U)(p,m)),[p,m]),h=Object(r.useMemo)((()=>((null==f?void 0:f.stackArticles)||[]).slice(1).map((({_id:e})=>e)).join(",")),[f]),v=Object(r.useRef)(null),g=Object(r.useRef)(null),j=Object(r.useRef)(!1),y=Object(r.useRef)([]),x=Object(r.useRef)(null),O=Object(r.useCallback)(((e,t)=>{var n;null===(n=x.current)||void 0===n||n.abort();const r=new AbortController;x.current=r,requestAnimationFrame((()=>((e,t,n)=>{if(null==n?void 0:n.aborted)return;if(e)return void window.scrollTo({top:0,behavior:"smooth"});const r=document.getElementById(`article-heading-${t}`);if(!r)return;const i=r.closest("[data-article-section]"),o=()=>{const e=document.querySelector("[data-sticky-timeline]"),t=e&&parseFloat(getComputedStyle(e).top)||0;let n=0;const i=null==e?void 0:e.querySelector("[data-toc-trigger]");if(i&&i.offsetHeight>0)n=i.offsetHeight;else{const e=document.querySelector("[data-inline-timeline] [data-toc-trigger]");n=(null==e?void 0:e.offsetHeight)||0}const o=t+n;let a=0;e&&"fixed"!==getComputedStyle(e).position&&(a=Math.max(0,e.offsetHeight-n));const l=r.getBoundingClientRect();return Math.max(0,l.top+window.scrollY-o-a-12)};if(window.scrollTo({top:o(),behavior:"smooth"}),"undefined"==typeof ResizeObserver)return;const a=null==i?void 0:i.previousElementSibling;if(!a)return;const l=a.getBoundingClientRect().height,s=new ResizeObserver((()=>{(null==n?void 0:n.aborted)||Math.abs(a.getBoundingClientRect().height-l)<=1||window.scrollTo({top:o(),behavior:"auto"})}));s.observe(a);const c=window.setTimeout((()=>s.disconnect()),1500);n&&n.addEventListener("abort",(()=>{s.disconnect(),clearTimeout(c)}),{once:!0})})(e,t,r.signal)))}),[]),w=Object(s.useContent)((t||b)&&h?{source:"stories-by-ids",query:{articleIds:h}}:null);(null==w?void 0:w.length)&&(j.current=!0),Object(r.useEffect)((()=>{h&&v.current&&n(!0)}),[h]),Object(r.useEffect)((()=>()=>{var e;null===(e=x.current)||void 0===e||e.abort(),x.current=null}),[]);const _=Object(r.useCallback)((e=>{if(j.current){var t;const n=null===(t=y.current[e])||void 0===t?void 0:t._id;if(!n)return;O(0===e,n)}else g.current=e,n(!0)}),[O]),C=Object(r.useMemo)((()=>{const e=(null==w?void 0:w.length)?[f,...w]:[f];if(!b)return e;const t=Object(S.b)();return e.map((e=>{const n=(null==e?void 0:e.content_elements)||[],{topperIndex:r}=Object(S.a)(e,!0,t);return le({},e,{content_elements:Object(S.f)(n,t),__topperIndex:r})}))}),[f,w,b]);y.current=C;const N=Object(r.useCallback)((e=>{const t=C[e];if(!t)return;const n=f.storyStackCollectionId||"";Object(F.j)({},t._id,[],t.canonical_url||"","story section",t._id,"story_stack_story",e,n);const r=le({},t,{storyStackCollectionId:n}),i=Object(ne.a)(r,Object(ie.a)("GOOGLEANALYTICS_ID"));Object(re.j)(i),Object(oe.d)(),Object(oe.c)("")}),[C,f.storyStackCollectionId]);return Object(r.useEffect)((()=>{var e;if(!(null==w?void 0:w.length)||null===g.current)return;const t=g.current;g.current=null;const n=null===(e=y.current[t])||void 0===e?void 0:e._id;n&&O(0===t,n)}),[w,O]),C?Object(u.jsx)(c.a,{children:Object(u.jsx)("section",{ref:v,"aria-label":i,children:Object(u.jsx)(te,{articles:C,onArticleClick:_,onArticleExpand:N,timeLineTriggerText:o,packageTitle:i,labelLink:a})})}):null};ce=Object(r.memo)(ce),ce.propTypes={customFields:a.a.shape({packageLabel:a.a.string.tag({name:"Package Label",defaultValue:"THE WEEKEND",group:"Package Configuration"}),labelLink:a.a.string.tag({name:"Label Link",defaultValue:V.b,group:"Package Configuration"}),timeLineTriggerText:a.a.string.tag({name:"Timeline Text",defaultValue:"Weekend reads",group:"Package Configuration"})})};t.default=ce},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n(8),o=n(16),a=n(77),l=n(0);const s=({customHeigth:e="",hasFullWidth:t,noMargin:n})=>Object(l.jsxs)("article",{className:`inq-card loading-card${e}${t?" max-w-none":""}${n?" m-0":""}`,children:[Object(l.jsx)("div",{className:"placeholder-content placeholder-content--image"}),Object(l.jsxs)("div",{className:"loading-card--content",children:[Object(l.jsx)("div",{className:"placeholder-content placeholder-content--eyebrow"}),Object(l.jsxs)("div",{className:"loading-card--headline",children:[Object(l.jsx)("div",{className:"placeholder-content"}),Object(l.jsx)("div",{className:"placeholder-content"})]})]})]});var c=n(6),u=n(56),d=n(30),p=n(120),m=n(440),f=n(436),b=n(237),h=n(39),v=n(95),g=n(24);const j=({rawContent:e,ctaLabel:t,iconType:n,cssClass:i="",wrappedButton:o})=>{const[a,s]=Object(r.useState)([]),[c,u]=Object(r.useState)(""),d=Object(r.useCallback)(((e=!0)=>{const t="https://media.inquirer.com/assets/live-icons.svg",r=e?"scale(-0.4)":"scale(-0.35)";let i,o,a;switch(n){case"register":i=`url(${t}) ${e?"56.043956043956044% 0":"0 0"}`,o="51px",a="40px";break;case"add":i=`url(${t}) ${e?"39.21568627450981% 100%":"0 100%"}`,o="40px",a="40px";break;default:i=`url(${t}) ${e?"100% 93.02325581395348%":"100% 0"}`,o="40px",a="40px"}return`

`}),[]),p=Object(r.useCallback)((e=>{var r,a,l,c,p,m;if(0===e.length)return!1;const f=e.match(/id="(.*?)"/);if(!f)return!1;const b=f[1],h=`event-btn-${Math.floor(1e3*Math.random())}`,v=(e=e.replace(new RegExp(b,"g"),h)).match(/[\s\S]*?<\/script>/),g=null==v||null===(r=v[1])||void 0===r?void 0:r.replace(/\\|"/g,""),j=(e=e.replace(null!==(a=null==v?void 0:v[0])&&void 0!==a?a:"","")).match(/([\s\S]*?)<\/script>/),y=null==j||null===(l=j[1])||void 0===l?void 0:l.replace(/\\|"/g,"");e=e.replace(null!==(c=null==j?void 0:j[0])&&void 0!==c?c:"","");const x=!t||(null==t||null===(p=t.toLowerCase())||void 0===p?void 0:p.startsWith("register"))?"topper-feature-register-button":"",O=o?i+"\n inq-button-ds cursor-pointer font-grot10 text-lg leading-6 h-14 px-10 font-medium \n text-white inline-flex \n justify-center items-center text-center \n not-italic rounded \n box-border py-0 focus:ring-4 \n transition-all duration-300 ease-out bg-blue-mid hover:bg-blue-dark focus:ring-blue-dark\n ":"bg-transparent no-underline font-grot10 text-4 leading-6 font-extrabold text-left text-blue-mid -mr-3 cursor-pointer",w=(e=e.replace(/