2 men dead, woman in critical condition after Shelby Twp. stabbing ๐Ÿ’ฅ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ’ฅ

SHELBY TWP., Mich. (WWJ) — An investigation is underway after a stabbing in Shelby Township left two men dead and a woman in critical condition.

Police and fire units were called to a home on Woodall Street near Auburn Road around 8 a.m. Sunday after a 911 call reporting three people had been stabbed.

When authorities arrived, they heard a woman screaming inside the home and forced entry into the home.

When officers were inside they found three victims who had been stabbed multiple times โ€“ a 40-year-old man who was pronounced dead at the scene, a 63-year-old man who died at the hospital and a 62-year-old woman who is said to be in critical but stable condition after undergoing surgery.

No other people were found inside the home.

Police have not said what may have led to the stabbing or if there are any suspects in the case, but did say they do not believe there is any danger to the public.

The case is still under investigation and authorities are asking anyone with information about the stabbings to contact the Shelby Township Police Department at 586-731-2121.

Stay tuned to WWJ Newsradio 950 for the latest details on this developing story. >>> LISTEN LIVE!

"),e.close(),createDict=e.F;r--;)delete createDict[PROTOTYPE][enumBugKeys[r]];return createDict()};module.exports=Object.create||function(e,t){var r;return null!==e?(Empty[PROTOTYPE]=anObject(e),r=new Empty,Empty[PROTOTYPE]=null,r[IE_PROTO]=e):r=createDict(),void 0===t?r:dPs(r,t)}; }, {"248":248,"260":260,"262":262,"275":275,"283":283,"284":284}]; window.modules["283"] = [function(require,module,exports){var dP=require(273),anObject=require(248),getKeys=require(264);module.exports=require(258)?Object.defineProperties:function(e,r){anObject(e);for(var t,o=getKeys(r),c=o.length,i=0;c>i;)dP.f(e,t=o[i++],r[t]);return e}; }, {"248":248,"258":258,"264":264,"273":273}]; window.modules["284"] = [function(require,module,exports){var shared=require(271)("keys"),uid=require(281);module.exports=function(e){return shared[e]||(shared[e]=uid(e))}; }, {"271":271,"281":281}]; window.modules["285"] = [function(require,module,exports){var isObject=require(249);module.exports=function(t,e){if(!isObject(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!isObject(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!isObject(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!isObject(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}; }, {"249":249}]; window.modules["286"] = [function(require,module,exports){var pIE=require(266),createDesc=require(274),toIObject=require(251),toPrimitive=require(285),has=require(272),IE8_DOM_DEFINE=require(276),gOPD=Object.getOwnPropertyDescriptor;exports.f=require(258)?gOPD:function(e,r){if(e=toIObject(e),r=toPrimitive(r,!0),IE8_DOM_DEFINE)try{return gOPD(e,r)}catch(e){}if(has(e,r))return createDesc(!pIE.f.call(e,r),e[r])}; }, {"251":251,"258":258,"266":266,"272":272,"274":274,"276":276,"285":285}]; window.modules["287"] = [function(require,module,exports){var toIObject=require(251),gOPN=require(288).f,toString={}.toString,windowNames="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],getWindowNames=function(e){try{return gOPN(e)}catch(e){return windowNames.slice()}};module.exports.f=function(e){return windowNames&&"[object Window]"==toString.call(e)?getWindowNames(e):gOPN(toIObject(e))}; }, {"251":251,"288":288}]; window.modules["288"] = [function(require,module,exports){var $keys=require(289),hiddenKeys=require(262).concat("length","prototype");exports.f=Object.getOwnPropertyNames||function(e){return $keys(e,hiddenKeys)}; }, {"262":262,"289":289}]; window.modules["289"] = [function(require,module,exports){var has=require(272),toIObject=require(251),arrayIndexOf=require(250)(!1),IE_PROTO=require(284)("IE_PROTO");module.exports=function(r,e){var a,t=toIObject(r),u=0,O=[];for(a in t)a!=IE_PROTO&&has(t,a)&&O.push(a);for(;e.length>u;)has(t,a=e[u++])&&(~arrayIndexOf(O,a)||O.push(a));return O}; }, {"250":250,"251":251,"272":272,"284":284}]; window.modules["290"] = [function(require,module,exports){var def=require(273).f,has=require(272),TAG=require(291)("toStringTag");module.exports=function(e,r,o){e&&!has(e=o?e:e.prototype,TAG)&&def(e,TAG,{configurable:!0,value:r})}; }, {"272":272,"273":273,"291":291}]; window.modules["291"] = [function(require,module,exports){var store=require(271)("wks"),uid=require(281),Symbol=require(261).Symbol,USE_SYMBOL="function"==typeof Symbol,$exports=module.exports=function(o){return store[o]||(store[o]=USE_SYMBOL&&Symbol[o]||(USE_SYMBOL?Symbol:uid)("Symbol."+o))};$exports.store=store; }, {"261":261,"271":271,"281":281}]; window.modules["292"] = [function(require,module,exports){var ceil=Math.ceil,floor=Math.floor;module.exports=function(o){return isNaN(o=+o)?0:(o>0?floor:ceil)(o)}; }, {}]; window.modules["293"] = [function(require,module,exports){var defined=require(257);module.exports=function(e){return Object(defined(e))}; }, {"257":257}]; window.modules["294"] = [function(require,module,exports){var global=require(261),core=require(255),LIBRARY=require(279),wksExt=require(295),defineProperty=require(273).f;module.exports=function(e){var r=core.Symbol||(core.Symbol=LIBRARY?{}:global.Symbol||{});"_"==e.charAt(0)||e in r||defineProperty(r,e,{value:wksExt.f(e)})}; }, {"255":255,"261":261,"273":273,"279":279,"295":295}]; window.modules["295"] = [function(require,module,exports){exports.f=require(291); }, {"291":291}]; window.modules["296"] = [function(require,module,exports){!function(){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(r,t){return r<>>32-t},rotr:function(r,t){return r<<32-t|r>>>t},endian:function(r){if(r.constructor==Number)return 16711935&t.rotl(r,8)|4278255360&t.rotl(r,24);for(var n=0;n0;r--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(r){for(var t=[],n=0,o=0;n>>5]|=r[n]<<24-o%32;return t},wordsToBytes:function(r){for(var t=[],n=0;n<32*r.length;n+=8)t.push(r[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(r){for(var t=[],n=0;n>>4).toString(16)),t.push((15&r[n]).toString(16));return t.join("")},hexToBytes:function(r){for(var t=[],n=0;n>>6*(3-u)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+/]/gi,"");for(var n=[],o=0,e=0;o>>6-2*e);return n}};module.exports=t}(); }, {}]; window.modules["297"] = [function(require,module,exports){var MILLISECONDS_IN_MINUTE=6e4;module.exports=function(e){var I=new Date(e.getTime()),t=I.getTimezoneOffset();I.setSeconds(0,0);var N=I.getTime()%MILLISECONDS_IN_MINUTE;return t*MILLISECONDS_IN_MINUTE+N}; }, {}]; window.modules["298"] = [function(require,module,exports){var parse=require(135);function addDays(e,a){var r=parse(e),s=Number(a);return r.setDate(r.getDate()+s),r}module.exports=addDays; }, {"135":135}]; window.modules["299"] = [function(require,module,exports){var addMilliseconds=require(300),MILLISECONDS_IN_HOUR=36e5;function addHours(d,e){var r=Number(e);return addMilliseconds(d,r*MILLISECONDS_IN_HOUR)}module.exports=addHours; }, {"300":300}]; window.modules["300"] = [function(require,module,exports){var parse=require(135);function addMilliseconds(e,r){var s=parse(e).getTime(),a=Number(r);return new Date(s+a)}module.exports=addMilliseconds; }, {"135":135}]; window.modules["301"] = [function(require,module,exports){var getISOYear=require(302),setISOYear=require(303);function addISOYears(e,r){var a=Number(r);return setISOYear(e,getISOYear(e)+a)}module.exports=addISOYears; }, {"302":302,"303":303}]; window.modules["302"] = [function(require,module,exports){var parse=require(135),startOfISOWeek=require(318);function getISOYear(e){var r=parse(e),t=r.getFullYear(),a=new Date(0);a.setFullYear(t+1,0,4),a.setHours(0,0,0,0);var s=startOfISOWeek(a),i=new Date(0);i.setFullYear(t,0,4),i.setHours(0,0,0,0);var u=startOfISOWeek(i);return r.getTime()>=s.getTime()?t+1:r.getTime()>=u.getTime()?t:t-1}module.exports=getISOYear; }, {"135":135,"318":318}]; window.modules["303"] = [function(require,module,exports){var parse=require(135),startOfISOYear=require(365),differenceInCalendarDays=require(315);function setISOYear(e,r){var a=parse(e),s=Number(r),t=differenceInCalendarDays(a,startOfISOYear(a)),n=new Date(0);return n.setFullYear(s,0,4),n.setHours(0,0,0,0),(a=startOfISOYear(n)).setDate(a.getDate()+t),a}module.exports=setISOYear; }, {"135":135,"315":315,"365":365}]; window.modules["304"] = [function(require,module,exports){var addMilliseconds=require(300),MILLISECONDS_IN_MINUTE=6e4;function addMinutes(d,e){var i=Number(e);return addMilliseconds(d,i*MILLISECONDS_IN_MINUTE)}module.exports=addMinutes; }, {"300":300}]; window.modules["305"] = [function(require,module,exports){var parse=require(135),getDaysInMonth=require(306);function addMonths(e,t){var n=parse(e),r=Number(t),a=n.getMonth()+r,s=new Date(0);s.setFullYear(n.getFullYear(),a,1),s.setHours(0,0,0,0);var o=getDaysInMonth(s);return n.setMonth(a,Math.min(o,n.getDate())),n}module.exports=addMonths; }, {"135":135,"306":306}]; window.modules["306"] = [function(require,module,exports){var parse=require(135);function getDaysInMonth(e){var t=parse(e),r=t.getFullYear(),a=t.getMonth(),n=new Date(0);return n.setFullYear(r,a+1,0),n.setHours(0,0,0,0),n.getDate()}module.exports=getDaysInMonth; }, {"135":135}]; window.modules["307"] = [function(require,module,exports){var addMonths=require(305);function addQuarters(d,r){var a=Number(r);return addMonths(d,3*a)}module.exports=addQuarters; }, {"305":305}]; window.modules["308"] = [function(require,module,exports){var addDays=require(298);function addWeeks(d,e){var a=Number(e);return addDays(d,7*a)}module.exports=addWeeks; }, {"298":298}]; window.modules["309"] = [function(require,module,exports){var addMonths=require(305);function addYears(d,r){var a=Number(r);return addMonths(d,12*a)}module.exports=addYears; }, {"305":305}]; window.modules["310"] = [function(require,module,exports){var parse=require(135);function areRangesOverlapping(e,r,a,t){var n=parse(e).getTime(),p=parse(r).getTime(),s=parse(a).getTime(),g=parse(t).getTime();if(n>p||s>g)throw new Error("The start of the range cannot be after the end of the range");return ns?1:0}module.exports=compareAsc; }, {"135":135}]; window.modules["314"] = [function(require,module,exports){var parse=require(135);function compareDesc(e,r){var a=parse(e).getTime(),s=parse(r).getTime();return a>s?-1:a0?Math.floor(i):Math.ceil(i)}module.exports=differenceInHours; }, {"328":328}]; window.modules["328"] = [function(require,module,exports){var parse=require(135);function differenceInMilliseconds(e,r){var i=parse(e),n=parse(r);return i.getTime()-n.getTime()}module.exports=differenceInMilliseconds; }, {"135":135}]; window.modules["329"] = [function(require,module,exports){var parse=require(135),differenceInCalendarISOYears=require(319),compareAsc=require(313),subISOYears=require(330);function differenceInISOYears(e,r){var a=parse(e),s=parse(r),n=compareAsc(a,s),i=Math.abs(differenceInCalendarISOYears(a,s));return a=subISOYears(a,n*i),n*(i-(compareAsc(a,s)===-n))}module.exports=differenceInISOYears; }, {"135":135,"313":313,"319":319,"330":330}]; window.modules["330"] = [function(require,module,exports){var addISOYears=require(301);function subISOYears(r,e){var a=Number(e);return addISOYears(r,-a)}module.exports=subISOYears; }, {"301":301}]; window.modules["331"] = [function(require,module,exports){var differenceInMilliseconds=require(328),MILLISECONDS_IN_MINUTE=6e4;function differenceInMinutes(e,n){var i=differenceInMilliseconds(e,n)/MILLISECONDS_IN_MINUTE;return i>0?Math.floor(i):Math.ceil(i)}module.exports=differenceInMinutes; }, {"328":328}]; window.modules["332"] = [function(require,module,exports){var parse=require(135),differenceInCalendarMonths=require(320),compareAsc=require(313);function differenceInMonths(e,r){var n=parse(e),a=parse(r),s=compareAsc(n,a),c=Math.abs(differenceInCalendarMonths(n,a));return n.setMonth(n.getMonth()-s*c),s*(c-(compareAsc(n,a)===-s))}module.exports=differenceInMonths; }, {"135":135,"313":313,"320":320}]; window.modules["333"] = [function(require,module,exports){var differenceInMonths=require(332);function differenceInQuarters(e,n){var r=differenceInMonths(e,n)/3;return r>0?Math.floor(r):Math.ceil(r)}module.exports=differenceInQuarters; }, {"332":332}]; window.modules["334"] = [function(require,module,exports){var differenceInMilliseconds=require(328);function differenceInSeconds(e,n){var i=differenceInMilliseconds(e,n)/1e3;return i>0?Math.floor(i):Math.ceil(i)}module.exports=differenceInSeconds; }, {"328":328}]; window.modules["335"] = [function(require,module,exports){var differenceInDays=require(326);function differenceInWeeks(e,n){var r=differenceInDays(e,n)/7;return r>0?Math.floor(r):Math.ceil(r)}module.exports=differenceInWeeks; }, {"326":326}]; window.modules["336"] = [function(require,module,exports){var parse=require(135),differenceInCalendarYears=require(325),compareAsc=require(313);function differenceInYears(e,r){var a=parse(e),n=parse(r),s=compareAsc(a,n),c=Math.abs(differenceInCalendarYears(a,n));return a.setFullYear(a.getFullYear()-s*c),s*(c-(compareAsc(a,n)===-s))}module.exports=differenceInYears; }, {"135":135,"313":313,"325":325}]; window.modules["337"] = [function(require,module,exports){var compareDesc=require(314),parse=require(135),differenceInSeconds=require(334),differenceInMonths=require(332),enLocale=require(338),MINUTES_IN_DAY=1440,MINUTES_IN_ALMOST_TWO_DAYS=2520,MINUTES_IN_MONTH=43200,MINUTES_IN_TWO_MONTHS=86400;function distanceInWords(e,n,r){var s=r||{},a=compareDesc(e,n),o=s.locale,i=enLocale.distanceInWords.localize;o&&o.distanceInWords&&o.distanceInWords.localize&&(i=o.distanceInWords.localize);var t,d,u={addSuffix:Boolean(s.addSuffix),comparison:a};a>0?(t=parse(e),d=parse(n)):(t=parse(n),d=parse(e));var c,M=differenceInSeconds(d,t),_=d.getTimezoneOffset()-t.getTimezoneOffset(),I=Math.round(M/60)-_;if(I<2)return s.includeSeconds?M<5?i("lessThanXSeconds",5,u):M<10?i("lessThanXSeconds",10,u):M<20?i("lessThanXSeconds",20,u):M<40?i("halfAMinute",null,u):i(M<60?"lessThanXMinutes":"xMinutes",1,u):0===I?i("lessThanXMinutes",1,u):i("xMinutes",I,u);if(I<45)return i("xMinutes",I,u);if(I<90)return i("aboutXHours",1,u);if(I0?(t=parse(e),d=parse(r)):(t=parse(r),d=parse(e));var f=Math[i.partialMethod?String(i.partialMethod):"floor"],N=differenceInSeconds(d,t),_=d.getTimezoneOffset()-t.getTimezoneOffset(),u=f(N/60)-_;if("s"===(c=i.unit?String(i.unit):u<1?"s":u<60?"m":uo)throw new Error("The first date cannot be after the second date");var i=[],n=t;for(n.setHours(0,0,0,0);n.getTime()<=o;)i.push(parse(n)),n.setDate(n.getDate()+s);return i}module.exports=eachDay; }, {"135":135}]; window.modules["342"] = [function(require,module,exports){var parse=require(135);function endOfDay(e){var r=parse(e);return r.setHours(23,59,59,999),r}module.exports=endOfDay; }, {"135":135}]; window.modules["343"] = [function(require,module,exports){var parse=require(135);function endOfHour(e){var r=parse(e);return r.setMinutes(59,59,999),r}module.exports=endOfHour; }, {"135":135}]; window.modules["344"] = [function(require,module,exports){var endOfWeek=require(345);function endOfISOWeek(e){return endOfWeek(e,{weekStartsOn:1})}module.exports=endOfISOWeek; }, {"345":345}]; window.modules["345"] = [function(require,module,exports){var parse=require(135);function endOfWeek(e,r){var t=r&&Number(r.weekStartsOn)||0,a=parse(e),s=a.getDay(),n=6+(ss||g>i)throw new Error("The start of the range cannot be after the end of the range");if(!(ns?s:i)-(gi.getTime()}module.exports=isAfter; }, {"135":135}]; window.modules["379"] = [function(require,module,exports){var parse=require(135);function isBefore(e,r){var s=parse(e),i=parse(r);return s.getTime()(new Date).getTime()}module.exports=isFuture; }, {"135":135}]; window.modules["385"] = [function(require,module,exports){var parse=require(135);function isPast(e){return parse(e).getTime()<(new Date).getTime()}module.exports=isPast; }, {"135":135}]; window.modules["386"] = [function(require,module,exports){var startOfDay=require(316);function isSameDay(a,t){var e=startOfDay(a),r=startOfDay(t);return e.getTime()===r.getTime()}module.exports=isSameDay; }, {"316":316}]; window.modules["387"] = [function(require,module,exports){var startOfHour=require(440);function isSameHour(r,t){var e=startOfHour(r),o=startOfHour(t);return e.getTime()===o.getTime()}module.exports=isSameHour; }, {"440":440}]; window.modules["388"] = [function(require,module,exports){var parse=require(135);function isMonday(e){return 1===parse(e).getDay()}module.exports=isMonday; }, {"135":135}]; window.modules["389"] = [function(require,module,exports){var startOfMinute=require(438);function isSameMinute(t,e){var i=startOfMinute(t),r=startOfMinute(e);return i.getTime()===r.getTime()}module.exports=isSameMinute; }, {"438":438}]; window.modules["390"] = [function(require,module,exports){var isSameWeek=require(396);function isSameISOWeek(e,s){return isSameWeek(e,s,{weekStartsOn:1})}module.exports=isSameISOWeek; }, {"396":396}]; window.modules["391"] = [function(require,module,exports){var parse=require(135);function isSameMonth(e,r){var t=parse(e),a=parse(r);return t.getFullYear()===a.getFullYear()&&t.getMonth()===a.getMonth()}module.exports=isSameMonth; }, {"135":135}]; window.modules["392"] = [function(require,module,exports){var startOfISOYear=require(365);function isSameISOYear(e,r){var a=startOfISOYear(e),t=startOfISOYear(r);return a.getTime()===t.getTime()}module.exports=isSameISOYear; }, {"365":365}]; window.modules["393"] = [function(require,module,exports){var startOfSecond=require(439);function isSameSecond(e,t){var r=startOfSecond(e),n=startOfSecond(t);return r.getTime()===n.getTime()}module.exports=isSameSecond; }, {"439":439}]; window.modules["394"] = [function(require,module,exports){var parse=require(135);function isSaturday(r){return 6===parse(r).getDay()}module.exports=isSaturday; }, {"135":135}]; window.modules["395"] = [function(require,module,exports){var parse=require(135);function isSunday(e){return 0===parse(e).getDay()}module.exports=isSunday; }, {"135":135}]; window.modules["396"] = [function(require,module,exports){var startOfWeek=require(324);function isSameWeek(e,t,r){var a=startOfWeek(e,r),s=startOfWeek(t,r);return a.getTime()===s.getTime()}module.exports=isSameWeek; }, {"324":324}]; window.modules["397"] = [function(require,module,exports){var parse=require(135);function isSameYear(e,r){var a=parse(e),s=parse(r);return a.getFullYear()===s.getFullYear()}module.exports=isSameYear; }, {"135":135}]; window.modules["398"] = [function(require,module,exports){var isSameHour=require(387);function isThisHour(e){return isSameHour(new Date,e)}module.exports=isThisHour; }, {"387":387}]; window.modules["399"] = [function(require,module,exports){var startOfQuarter=require(442);function isSameQuarter(r,t){var e=startOfQuarter(r),a=startOfQuarter(t);return e.getTime()===a.getTime()}module.exports=isSameQuarter; }, {"442":442}]; window.modules["400"] = [function(require,module,exports){var isSameISOWeek=require(390);function isThisISOWeek(e){return isSameISOWeek(new Date,e)}module.exports=isThisISOWeek; }, {"390":390}]; window.modules["401"] = [function(require,module,exports){var isSameISOYear=require(392);function isThisISOYear(e){return isSameISOYear(new Date,e)}module.exports=isThisISOYear; }, {"392":392}]; window.modules["402"] = [function(require,module,exports){var isSameQuarter=require(399);function isThisQuarter(e){return isSameQuarter(new Date,e)}module.exports=isThisQuarter; }, {"399":399}]; window.modules["403"] = [function(require,module,exports){var isSameWeek=require(396);function isThisWeek(e,i){return isSameWeek(new Date,e,i)}module.exports=isThisWeek; }, {"396":396}]; window.modules["404"] = [function(require,module,exports){var isSameMinute=require(389);function isThisMinute(e){return isSameMinute(new Date,e)}module.exports=isThisMinute; }, {"389":389}]; window.modules["405"] = [function(require,module,exports){var isSameSecond=require(393);function isThisSecond(e){return isSameSecond(new Date,e)}module.exports=isThisSecond; }, {"393":393}]; window.modules["406"] = [function(require,module,exports){var isSameMonth=require(391);function isThisMonth(e){return isSameMonth(new Date,e)}module.exports=isThisMonth; }, {"391":391}]; window.modules["407"] = [function(require,module,exports){var startOfDay=require(316);function isToday(t){return startOfDay(t).getTime()===startOfDay(new Date).getTime()}module.exports=isToday; }, {"316":316}]; window.modules["408"] = [function(require,module,exports){var parse=require(135);function isTuesday(e){return 2===parse(e).getDay()}module.exports=isTuesday; }, {"135":135}]; window.modules["409"] = [function(require,module,exports){var startOfDay=require(316);function isTomorrow(t){var e=new Date;return e.setDate(e.getDate()+1),startOfDay(t).getTime()===startOfDay(e).getTime()}module.exports=isTomorrow; }, {"316":316}]; window.modules["410"] = [function(require,module,exports){var isSameYear=require(397);function isThisYear(e){return isSameYear(new Date,e)}module.exports=isThisYear; }, {"397":397}]; window.modules["411"] = [function(require,module,exports){var parse=require(135);function isThursday(r){return 4===parse(r).getDay()}module.exports=isThursday; }, {"135":135}]; window.modules["412"] = [function(require,module,exports){var parse=require(135);function isWednesday(e){return 3===parse(e).getDay()}module.exports=isWednesday; }, {"135":135}]; window.modules["413"] = [function(require,module,exports){var parse=require(135);function isWeekend(e){var r=parse(e).getDay();return 0===r||6===r}module.exports=isWeekend; }, {"135":135}]; window.modules["414"] = [function(require,module,exports){var parse=require(135);function isWithinRange(e,r,t){var a=parse(e).getTime(),n=parse(r).getTime(),i=parse(t).getTime();if(n>i)throw new Error("The start of the range cannot be after the end of the range");return a>=n&&a<=i}module.exports=isWithinRange; }, {"135":135}]; window.modules["415"] = [function(require,module,exports){var parse=require(135);function lastDayOfMonth(e){var r=parse(e),t=r.getMonth();return r.setFullYear(r.getFullYear(),t+1,0),r.setHours(0,0,0,0),r}module.exports=lastDayOfMonth; }, {"135":135}]; window.modules["416"] = [function(require,module,exports){var parse=require(135);function lastDayOfQuarter(r){var e=parse(r),t=e.getMonth(),a=t-t%3+3;return e.setMonth(a,0),e.setHours(0,0,0,0),e}module.exports=lastDayOfQuarter; }, {"135":135}]; window.modules["417"] = [function(require,module,exports){var lastDayOfWeek=require(418);function lastDayOfISOWeek(e){return lastDayOfWeek(e,{weekStartsOn:1})}module.exports=lastDayOfISOWeek; }, {"418":418}]; window.modules["418"] = [function(require,module,exports){var parse=require(135);function lastDayOfWeek(e,a){var r=a&&Number(a.weekStartsOn)||0,t=parse(e),s=t.getDay(),u=6+(s0?"in "+s:s+" ago":s}}}module.exports=buildDistanceInWordsLocale; }, {}]; window.modules["453"] = [function(require,module,exports){var buildFormattingTokensRegExp=require(451);function buildFormatLocale(){var r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],e=["January","February","March","April","May","June","July","August","September","October","November","December"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],u=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=["AM","PM"],o=["am","pm"],i=["a.m.","p.m."],d={MMM:function(e){return r[e.getMonth()]},MMMM:function(r){return e[r.getMonth()]},dd:function(r){return n[r.getDay()]},ddd:function(r){return t[r.getDay()]},dddd:function(r){return u[r.getDay()]},A:function(r){return r.getHours()/12>=1?a[1]:a[0]},a:function(r){return r.getHours()/12>=1?o[1]:o[0]},aa:function(r){return r.getHours()/12>=1?i[1]:i[0]}};return["M","D","DDD","d","Q","W"].forEach(function(r){d[r+"o"]=function(e,n){return ordinal(n[r](e))}}),{formatters:d,formattingTokensRegExp:buildFormattingTokensRegExp(d)}}function ordinal(r){var e=r%100;if(e>20||e<10)switch(e%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"}module.exports=buildFormatLocale; }, {"451":451}]; window.modules["474"] = [function(require,module,exports){!function(t,e,n){if("undefined"!=typeof module)module.exports=n();else if("function"==typeof define&&"object"==typeof define.amd)define(n);else{var r=n(),i=e[t];r.noConflict=function(){return e[t]=i,r},e[t]=r}}(this.localEventifyLibraryName||"Eventify",this,function(){"use strict";var t,e={listenTo:"on",listenToOnce:"once"},n=(Array.prototype.slice,0),r=/s+/,i=function(){return this};function s(t,e,n,i){var s,l,o,c;if(!n)return!0;if("object"==typeof n){for(s in n)n.hasOwnProperty(s)&&t[e].apply(t,[s,n[s]].concat(i));return!1}if(r.test(n)){for(l=0,o=(c=n.split(r)).length;l1)throw new _exception2.default("Unsupported number of partial arguments: "+o.length,e);o.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):o.push({type:"PathExpression",parts:[],depth:0}));var s=e.name.original,i="SubExpression"===e.name.type;i&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var r=e.indent||"";this.options.preventIndent&&r&&(this.opcode("appendContent",r),r=""),this.opcode("invokePartial",i,s,r),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){transformLiteralToPath(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,o){var s=e.path,i=s.parts[0],r=null!=t||null!=o;this.opcode("getContext",s.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",o),s.strict=!0,this.accept(s),this.opcode("invokeAmbiguous",i,r)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,o){var s=this.setupFullMustacheParams(e,t,o),i=e.path,r=i.parts[0];if(this.options.knownHelpers[r])this.opcode("invokeKnownHelper",s.length,r);else{if(this.options.knownHelpersOnly)throw new _exception2.default("You specified knownHelpersOnly, but used the unknown helper "+r,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",s.length,i.original,_ast2.default.helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],o=_ast2.default.helpers.scopedId(e),s=!e.depth&&!o&&this.blockParamIndex(t);s?this.opcode("lookupBlockParam",s,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,o):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,o=0,s=t.length;for(this.opcode("pushHash");o=0)return[t,i]}}}; }, {"478":478,"484":484,"485":485}]; window.modules["481"] = [function(require,module,exports){"use strict";function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r.default=e,r}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}exports.__esModule=!0,exports.parse=parse;var _parser=require(492),_parser2=_interopRequireDefault(_parser),_whitespaceControl=require(494),_whitespaceControl2=_interopRequireDefault(_whitespaceControl),_helpers=require(493),Helpers=_interopRequireWildcard(_helpers),_utils=require(484);exports.parser=_parser2.default;var yy={};function parse(e,r){return"Program"===e.type?e:(_parser2.default.yy=yy,yy.locInfo=function(e){return new yy.SourceLocation(r&&r.srcName,e)},new _whitespaceControl2.default(r).accept(_parser2.default.parse(e)))}_utils.extend(yy,Helpers); }, {"484":484,"492":492,"493":493,"494":494}]; window.modules["482"] = [function(require,module,exports){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r.default=e,r}exports.__esModule=!0;var _handlebarsBase=require(488),base=_interopRequireWildcard(_handlebarsBase),_handlebarsSafeString=require(486),_handlebarsSafeString2=_interopRequireDefault(_handlebarsSafeString),_handlebarsException=require(485),_handlebarsException2=_interopRequireDefault(_handlebarsException),_handlebarsUtils=require(484),Utils=_interopRequireWildcard(_handlebarsUtils),_handlebarsRuntime=require(487),runtime=_interopRequireWildcard(_handlebarsRuntime),_handlebarsNoConflict=require(477),_handlebarsNoConflict2=_interopRequireDefault(_handlebarsNoConflict);function create(){var e=new base.HandlebarsEnvironment;return Utils.extend(e,base),e.SafeString=_handlebarsSafeString2.default,e.Exception=_handlebarsException2.default,e.Utils=Utils,e.escapeExpression=Utils.escapeExpression,e.VM=runtime,e.template=function(r){return runtime.template(r,e)},e}var inst=create();inst.create=create,_handlebarsNoConflict2.default(inst),inst.default=inst,exports.default=inst,module.exports=exports.default; }, {"477":477,"484":484,"485":485,"486":486,"487":487,"488":488}]; window.modules["483"] = [function(require,module,exports){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}exports.__esModule=!0;var _base=require(488),_exception=require(485),_exception2=_interopRequireDefault(_exception),_utils=require(484),_codeGen=require(495),_codeGen2=_interopRequireDefault(_codeGen);function Literal(t){this.value=t}function JavaScriptCompiler(){}function strictLookup(t,s,e,i){var a=s.popStack(),r=0,n=e.length;for(t&&n--;r0&&(s+=", "+e.join(", "));var i=0;for(var a in this.aliases){var r=this.aliases[a];this.aliases.hasOwnProperty(a)&&r.children&&r.referenceCount>1&&(s+=", alias"+ ++i+"="+a,r.children[0]="alias"+i)}var n=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths");var o=this.mergeSource(s);return t?(n.push(o),Function.apply(this,n)):this.source.wrap(["function(",n.join(","),") {n ",o,"}"])},mergeSource:function(t){var s=this.environment.isSimple,e=!this.forceBuffer,i=void 0,a=void 0,r=void 0,n=void 0;return this.source.each(function(t){t.appendToBuffer?(r?t.prepend(" + "):r=t,n=t):(r&&(a?r.prepend("buffer += "):i=!0,n.add(";"),r=n=void 0),a=!0,s||(e=!1))}),e?r?(r.prepend("return "),n.add(";")):a||this.source.push('return "";'):(t+=", buffer = "+(i?"":this.initializeBuffer()),r?(r.prepend("return buffer + "),n.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(i?"":";n")),this.source.merge()},blockValue:function(t){var s=this.aliasable("helpers.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs(t,0,e);var i=this.popStack();e.splice(1,0,i),this.push(this.source.functionCall(s,"call",e))},ambiguousBlockValue:function(){var t=this.aliasable("helpers.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs("",0,s,!0),this.flushInline();var e=this.topStack();s.splice(1,0,e),this.pushSource(["if (!",this.lastHelper,") { ",e," = ",this.source.functionCall(t,"call",s),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(t){return[" != null ? ",t,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,s,e,i){var a=0;i||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[a++])),this.resolvePath("context",t,a,s,e)},lookupBlockParam:function(t,s){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",s,1)},lookupData:function(t,s,e){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",s,0,!0,e)},resolvePath:function(t,s,e,i,a){var r=this;if(this.options.strict||this.options.assumeObjects)this.push(strictLookup(this.options.strict&&a,this,s,t));else for(var n=s.length;ethis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var s=0,e=t.length;s":">",'"':""","'":"'","`":"`","=":"="},badChars=/[&<>"'`=]/g,possible=/[&<>"'`=]/;function escapeChar(t){return escape[t]}function extend(t){for(var r=1;r= 2.0.0-beta.1",7:">= 4.0.0"};exports.REVISION_CHANGES=REVISION_CHANGES;var objectType="[object Object]";function HandlebarsEnvironment(e,t,r){this.helpers=e||{},this.partials=t||{},this.decorators=r||{},_helpers.registerDefaultHelpers(this),_decorators.registerDefaultDecorators(this)}HandlebarsEnvironment.prototype={constructor:HandlebarsEnvironment,logger:_logger2.default,log:_logger2.default.log,registerHelper:function(e,t){if(_utils.toString.call(e)===objectType){if(t)throw new _exception2.default("Arg not supported with multiple helpers");_utils.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(_utils.toString.call(e)===objectType)_utils.extend(this.partials,e);else{if(void 0===t)throw new _exception2.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(_utils.toString.call(e)===objectType){if(t)throw new _exception2.default("Arg not supported with multiple decorators");_utils.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var log=_logger2.default.log;exports.log=log,exports.createFrame=_utils.createFrame,exports.logger=_logger2.default; }, {"484":484,"485":485,"489":489,"490":490,"491":491}]; window.modules["489"] = [function(require,module,exports){"use strict";exports.__esModule=!0;var _utils=require(484),logger={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var o=_utils.indexOf(logger.methodMap,e.toLowerCase());e=o>=0?o:parseInt(e,10)}return e},log:function(e){if(e=logger.lookupLevel(e),"undefined"!=typeof console&&logger.lookupLevel(logger.level)<=e){var o=logger.methodMap[e];console[o]||(o="log");for(var l=arguments.length,r=Array(l>1?l-1:0),t=1;t2&&f.push("'"+this.terminals_[k]+"'");N=this.lexer.showPosition?"Parse error on line "+(h+1)+":n"+this.lexer.showPosition()+"nExpecting "+f.join(", ")+", got '"+(this.terminals_[u]||u)+"'":"Parse error on line "+(h+1)+": Unexpected "+(1==u?"end of input":"'"+(this.terminals_[u]||u)+"'"),this.parseError(N,{text:this.lexer.match,token:this.terminals_[u]||u,line:this.lexer.yylineno,loc:c,expected:f})}}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+u);switch(g[0]){case 1:s.push(u),i.push(this.lexer.yytext),r.push(this.lexer.yylloc),s.push(g[1]),u=null,y?(u=y,y=null):(o=this.lexer.yyleng,a=this.lexer.yytext,h=this.lexer.yylineno,c=this.lexer.yylloc,l>0&&l--);break;case 2:if(b=this.productions_[g[1]][1],x.$=i[i.length-b],x._$={first_line:r[r.length-(b||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(b||1)].first_column,last_column:r[r.length-1].last_column},p&&(x._$.range=[r[r.length-(b||1)].range[0],r[r.length-1].range[1]]),void 0!==(m=this.performAction.call(x,a,o,h,this.yy,g[1],i,r)))return m;b&&(s=s.slice(0,-1*b*2),i=i.slice(0,-1*b),r=r.slice(0,-1*b)),s.push(this.productions_[g[1]][0]),i.push(x.$),r.push(x._$),E=n[s[s.length-2]][s[s.length-1]],s.push(E);break;case 3:return!0}}return!0}},e=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:rn?|n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,s=t.split(/(?:rn?|n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var i=this.match.split(/(?:rn?|n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e,s,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),a=0;ae[0].length)||(e=s,i=a,this.options.flex));a++);return e?((r=e[0].match(/(?:rn?|n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/r?n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,n[i],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,e,s,i){function r(t,s){return e.yytext=e.yytext.substr(t,e.yyleng-s)}switch(s){case 0:if("\\"===e.yytext.slice(-2)?(r(0,1),this.begin("mu")):"\"===e.yytext.slice(-1)?(r(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(e.yytext=e.yytext.substr(5,e.yyleng-9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=r(1,2).replace(/\"/g,'"'),80;case 32:return e.yytext=r(1,2).replace(/\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return e.yytext=e.yytext.replace(/\([\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^x00]*?(?=({{)))/,/^(?:[^x00]+)/,/^(?:[^x00]{2,}?(?=({{|\{{|\\{{|$)))/,/^(?:{{{{(?=[^/]))/,/^(?:{{{{/[^s!"#%-,./;->@[-^`{-~]+(?=[=}s/.])}}}})/,/^(?:[^x00]*?(?=({{{{)))/,/^(?:[sS]*?--(~)?}})/,/^(?:()/,/^(?:))/,/^(?:{{{{)/,/^(?:}}}})/,/^(?:{{(~)?>)/,/^(?:{{(~)?#>)/,/^(?:{{(~)?#*?)/,/^(?:{{(~)?/)/,/^(?:{{(~)?^s*(~)?}})/,/^(?:{{(~)?s*elses*(~)?}})/,/^(?:{{(~)?^)/,/^(?:{{(~)?s*elseb)/,/^(?:{{(~)?{)/,/^(?:{{(~)?&)/,/^(?:{{(~)?!--)/,/^(?:{{(~)?![sS]*?}})/,/^(?:{{(~)?*?)/,/^(?:=)/,/^(?:..)/,/^(?:.(?=([=~}s/.)|])))/,/^(?:[/.])/,/^(?:s+)/,/^(?:}(~)?}})/,/^(?:(~)?}})/,/^(?:"(\["]|[^"])*")/,/^(?:'(\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}s)])))/,/^(?:false(?=([~}s)])))/,/^(?:undefined(?=([~}s)])))/,/^(?:null(?=([~}s)])))/,/^(?:-?[0-9]+(?:.[0-9]+)?(?=([~}s)])))/,/^(?:ass+|)/,/^(?:|)/,/^(?:([^s!"#%-,./;->@[-^`{-~]+(?=([=~}s/.)|]))))/,/^(?:[(\]|[^]])*])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return t}();function s(){this.yy={}}return t.lexer=e,s.prototype=t,t.Parser=s,new s}();exports.default=handlebars,module.exports=exports.default; }, {}]; window.modules["493"] = [function(require,module,exports){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}exports.__esModule=!0,exports.SourceLocation=SourceLocation,exports.id=id,exports.stripFlags=stripFlags,exports.stripComment=stripComment,exports.preparePath=preparePath,exports.prepareMustache=prepareMustache,exports.prepareRawBlock=prepareRawBlock,exports.prepareBlock=prepareBlock,exports.prepareProgram=prepareProgram,exports.preparePartialBlock=preparePartialBlock;var _exception=require(485),_exception2=_interopRequireDefault(_exception);function validateClose(e,r){if(r=r.path?r.path.original:r,e.path.original!==r){var t={loc:e.path.loc};throw new _exception2.default(e.path.original+" doesn't match "+r,t)}}function SourceLocation(e,r){this.source=e,this.start={line:r.first_line,column:r.first_column},this.end={line:r.last_line,column:r.last_column}}function id(e){return/^[.*]$/.test(e)?e.substr(1,e.length-2):e}function stripFlags(e,r){return{open:"~"===e.charAt(2),close:"~"===r.charAt(r.length-3)}}function stripComment(e){return e.replace(/^{{~?!-?-?/,"").replace(/-?-?~?}}$/,"")}function preparePath(e,r,t){t=this.locInfo(t);for(var a=e?"@":"",o=[],p=0,n=0,i=r.length;n0)throw new _exception2.default("Invalid path: "+a,{loc:t});".."===s&&p++}}return{type:"PathExpression",data:e,depth:p,parts:o,original:a,loc:t}}function prepareMustache(e,r,t,a,o,p){var n=a.charAt(3)||a.charAt(2),i="{"!==n&&"&"!==n;return{type:/*/.test(a)?"Decorator":"MustacheStatement",path:e,params:r,hash:t,escaped:i,strip:o,loc:this.locInfo(p)}}function prepareRawBlock(e,r,t,a){validateClose(e,t);var o={type:"Program",body:r,strip:{},loc:a=this.locInfo(a)};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:a}}function prepareBlock(e,r,t,a,o,p){a&&a.path&&validateClose(e,a);var n=/*/.test(e.open);r.blockParams=e.blockParams;var i=void 0,s=void 0;if(t){if(n)throw new _exception2.default("Unexpected inverse block on decorator",t);t.chain&&(t.program.body[0].closeStrip=a.strip),s=t.strip,i=t.program}return o&&(o=i,i=r,r=o),{type:n?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:r,inverse:i,openStrip:e.strip,inverseStrip:s,closeStrip:a&&a.strip,loc:this.locInfo(p)}}function prepareProgram(e,r){if(!r&&e.length){var t=e[0].loc,a=e[e.length-1].loc;t&&a&&(r={source:t.source,start:{line:t.start.line,column:t.start.column},end:{line:a.end.line,column:a.end.column}})}return{type:"Program",body:e,strip:{},loc:r}}function preparePartialBlock(e,r,t,a){return validateClose(e,t),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:r,openStrip:e.strip,closeStrip:t&&t.strip,loc:this.locInfo(a)}} }, {"485":485}]; window.modules["494"] = [function(require,module,exports){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}exports.__esModule=!0;var _visitor=require(479),_visitor2=_interopRequireDefault(_visitor);function WhitespaceControl(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function isPrevWhitespace(t,e,o){void 0===e&&(e=t.length);var i=t[e-1],n=t[e-2];return i?"ContentStatement"===i.type?(n||!o?/r?ns*?$/:/(^|r?n)s*?$/).test(i.original):void 0:o}function isNextWhitespace(t,e,o){void 0===e&&(e=-1);var i=t[e+1],n=t[e+2];return i?"ContentStatement"===i.type?(n||!o?/^s*?r?n/:/^s*?(r?n|$)/).test(i.original):void 0:o}function omitRight(t,e,o){var i=t[null==e?0:e+1];if(i&&"ContentStatement"===i.type&&(o||!i.rightStripped)){var n=i.value;i.value=i.value.replace(o?/^s+/:/^[ t]*r?n?/,""),i.rightStripped=i.value!==n}}function omitLeft(t,e,o){var i=t[null==e?t.length-1:e-1];if(i&&"ContentStatement"===i.type&&(o||!i.leftStripped)){var n=i.value;return i.value=i.value.replace(o?/s+$/:/[ t]+$/,""),i.leftStripped=i.value!==n,i.leftStripped}}WhitespaceControl.prototype=new _visitor2.default,WhitespaceControl.prototype.Program=function(t){var e=!this.options.ignoreStandalone,o=!this.isRootSeen;this.isRootSeen=!0;for(var i=t.body,n=0,r=i.length;n "+i+" }}")},PrintVisitor.prototype.PartialBlockStatement=function(t){var i="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(i+=" "+this.accept(t.params[0])),t.hash&&(i+=" "+this.accept(t.hash)),i+=" "+this.pad("PROGRAM:"),this.padding++,i+=this.accept(t.program),this.padding--,this.pad("{{> "+i+" }}")},PrintVisitor.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")},PrintVisitor.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")},PrintVisitor.prototype.SubExpression=function(t){for(var i,r=t.params,n=[],o=0,e=r.length;o0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):i(this);if(r.data&&r.ids){var a=_utils.createFrame(r.data);a.contextPath=_utils.appendContextPath(r.data.contextPath,r.name),r={data:a}}return s(e,r)})},module.exports=exports.default; }, {"484":484}]; window.modules["502"] = [function(require,module,exports){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}exports.__esModule=!0;var _exception=require(485),_exception2=_interopRequireDefault(_exception);exports.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new _exception2.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},module.exports=exports.default; }, {"485":485}]; window.modules["503"] = [function(require,module,exports){"use strict";exports.__esModule=!0;var _utils=require(484);exports.default=function(e){e.registerHelper("if",function(e,s){return _utils.isFunction(e)&&(e=e.call(this)),!s.hash.includeZero&&!e||_utils.isEmpty(e)?s.inverse(this):s.fn(this)}),e.registerHelper("unless",function(s,t){return e.helpers.if.call(this,s,{fn:t.inverse,inverse:t.fn,hash:t.hash})})},module.exports=exports.default; }, {"484":484}]; window.modules["504"] = [function(require,module,exports){"use strict";exports.__esModule=!0;var _utils=require(484);exports.default=function(t){t.registerHelper("with",function(t,e){_utils.isFunction(t)&&(t=t.call(this));var a=e.fn;if(_utils.isEmpty(t))return e.inverse(this);var s=e.data;return e.data&&e.ids&&((s=_utils.createFrame(e.data)).contextPath=_utils.appendContextPath(e.data.contextPath,e.ids[0])),a(t,{data:s,blockParams:_utils.blockParams([t],[s&&s.contextPath])})})},module.exports=exports.default; }, {"484":484}]; window.modules["505"] = [function(require,module,exports){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}exports.__esModule=!0;var _utils=require(484),_exception=require(485),_exception2=_interopRequireDefault(_exception);exports.default=function(e){e.registerHelper("each",function(e,t){if(!t)throw new _exception2.default("Must pass iterator to #each");var i=t.fn,r=t.inverse,a=0,o="",n=void 0,s=void 0;function u(t,r,a){n&&(n.key=t,n.index=r,n.first=0===r,n.last=!!a,s&&(n.contextPath=s+t)),o+=i(e[t],{data:n,blockParams:_utils.blockParams([e[t],t],[s+t,null])})}if(t.data&&t.ids&&(s=_utils.appendContextPath(t.data.contextPath,t.ids[0])+"."),_utils.isFunction(e)&&(e=e.call(this)),t.data&&(n=_utils.createFrame(t.data)),e&&"object"==typeof e)if(_utils.isArray(e))for(var l=e.length;a-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function i(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var r={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e.iterable&&(r[Symbol.iterator]=function(){return r}),r}function a(t){this.map={},t instanceof a?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function h(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function u(t){var e=new FileReader,r=f(e);return e.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function c(){return this.bodyUsed=!1,this._initBody=function(t){var r;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((r=t)&&DataView.prototype.isPrototypeOf(r))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||o(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=h(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t,e,r,o=h(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=f(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),o=r.shift().replace(/+/g," "),n=r.join("=").replace(/+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}}),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new a(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},c.call(y.prototype),c.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new a(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},t.DOMException=self.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function w(r,o){return new Promise(function(n,i){var s=new y(r,o);if(s.signal&&s.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var h=new XMLHttpRequest;function f(){h.abort()}h.onload=function(){var t,e,r={status:h.status,statusText:h.statusText,headers:(t=h.getAllResponseHeaders()||"",e=new a,t.replace(/r?n[t ]+/g," ").split(/r?n/).forEach(function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}}),e)};r.url="responseURL"in h?h.responseURL:r.headers.get("X-Request-URL");var o="response"in h?h.response:h.responseText;n(new b(o,r))},h.onerror=function(){i(new TypeError("Network request failed"))},h.ontimeout=function(){i(new TypeError("Network request failed"))},h.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},h.open(s.method,s.url,!0),"include"===s.credentials?h.withCredentials=!0:"omit"===s.credentials&&(h.withCredentials=!1),"responseType"in h&&e.blob&&(h.responseType="blob"),s.headers.forEach(function(t,e){h.setRequestHeader(e,t)}),s.signal&&(s.signal.addEventListener("abort",f),h.onreadystatechange=function(){4===h.readyState&&s.signal.removeEventListener("abort",f)}),h.send(void 0===s._bodyInit?null:s._bodyInit)})}w.polyfill=!0,self.fetch||(self.fetch=w,self.Headers=a,self.Request=y,self.Response=b),t.Headers=a,t.Request=y,t.Response=b,t.fetch=w,Object.defineProperty(t,"__esModule",{value:!0})}); }, {}]; window.modules["532"] = [function(require,module,exports){(function (process){ !function(n){"use strict";var e,t=n.jsonpClient,o="undefined"!=typeof process?process.browser:"undefined"!=typeof window,r=/[\?|&]callback=([a-z0-9_]+)/i,i=function(){var n,t,o,r,i=Array.prototype.slice.apply(arguments),a=i.slice(0,-1),l=0,c=[];try{if("function"!=typeof(n=i.slice(-1)[0]))throw new Error("Callback not found")}catch(n){throw new Error("jsonpClient expects a callback")}for("string"!=typeof a[0]&&(a=a[0]),r=function(){var e=0;for(c=c.sort(function(n,e){return n.position>e.position}),e=0;c.length>e;e+=1)c[e]=c[e].data;c.unshift(null),n.apply(null,c)},o=function(o,i){e(a[l],function(e,o){if(!t){if(t=e,e)return n(e);c.push({data:o,position:i}),c.length===a.length&&r()}})},l=0;a.length>l;l+=1)o(a[l],l)};i.noConflict=function(){return n.jsonpClient=t,i},e=o?function(){var n,e,t=document.getElementsByTagName("head")[0];return e=function(n,e){var o=document.createElement("script"),r=!1;o.src=n,o.async=!0,o.onload=o.onreadystatechange=function(){r||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(r=!0,o.onload=o.onreadystatechange=null,o&&o.parentNode&&o.parentNode.removeChild(o),e())},t.appendChild(o)},n=function(n,e){var t=n.match(r);if(!t)return e(new Error("Could not find callback on URL"));e(null,t[1])},function(t,o){n(t,function(n,r){var i,a=window[r];if(n)return o(n);window[r]=function(n){i=n},e(t,function(n){if(n||i||(n=new Error("Calling to "+r+" did not returned a JSON response.Make sure the callback "+r+" exists and is properly formatted.")),a)window[r]=a;else try{delete window[r]}catch(n){window[r]=void 0}o(n,i)})})}}():require(533),"undefined"!=typeof module&&module.exports?module.exports=i:n.jsonpClient=i}(this); }).call(this,require(39))}, {"39":39,"533":533}]; window.modules["533"] = [function(require,module,exports){(function (process,global){ "use strict";var evalJsonp,parseJsonp,evalOrParseJavascript,fetchRemoteJsonp,fetchUrl,fetchLocalJsonp,request=require(236),vm=require(534),fs=require(237),parensRegex=/(^(|);?s*$)/,functionRegex=/^[a-zd_]*(/i,functionNameRegex=/([wd_]*)(/,enableLocalFileSupport="test"===window.process.env.NODE_ENV||window.process.env.JSONP_CLIENT_ENABLE_LOCAL_SUPPORT;if("test"===window.process.env.NODE_ENV&&window.process.env.SUPERAGENT_MOCK){var mockConfig=global.superAgentMockConfig||require(window.process.env.SUPERAGENT_MOCK);require(236)(request,mockConfig)}parseJsonp=function(e,t){var r,n,o=null;try{r=e.replace(functionRegex,"").replace(parensRegex,""),n=JSON.parse(r)}catch(e){o=e}t(o,n)},evalJsonp=function(e,t){var r,n;e=(e||"")+"",r=vm.createContext({error:null,cbData:null}),n="function "+(e.match(functionNameRegex)||[null,!1])[1]+" (data) { cbData = data } try { "+e+" } catch(e) { error = e;} ";try{vm.runInContext(n,r)}catch(e){t(new Error(e))}if(r.error)return t(new Error(r.error));t(null,r.cbData)},evalOrParseJavascript=function(e,t){e=e.toString(),parseJsonp(e,function(r,n){if(r)return evalJsonp(e,function(e,r){t(e,r)});t(r,n)})},fetchUrl=function(e,t){request.get(e).buffer(!0).accept("application/javascript").parse(function(e,t){e.text="",e.setEncoding("utf8"),e.on("data",function(t){e.text=e.text+t}),e.on("end",t)}).end(function(r,n){!r&&n&&n.status&&n.status>=400&&(r=new Error("Could not fetch url "+e+", with status "+(n&&n.status||"unknown")+". Got error: "+(r&&r.message)+".")),t(r,n&&n.text||"cb({})")})},fetchRemoteJsonp=function(e,t){fetchUrl(e,function(e,r){if(e)return t(e);evalOrParseJavascript(r,t)})},fetchLocalJsonp=enableLocalFileSupport?function(e,t){e=e.split("?")[0],fs.readFile(e,function(e,r){if(e)return t(e);evalOrParseJavascript(r,t)})}:fetchRemoteJsonp,module.exports=function(e,t){e.match(/^http/)?fetchRemoteJsonp(e,t):fetchLocalJsonp(e,t)}; }).call(this,require(39),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {"39":39,"236":236,"237":237,"534":534}]; window.modules["534"] = [function(require,module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n-1}module.exports=listCacheHas; }, {"601":601}]; window.modules["553"] = [function(require,module,exports){var assocIndexOf=require(601),arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var r=this.__data__,a=assocIndexOf(r,e);return!(a<0)&&(a==r.length-1?r.pop():splice.call(r,a,1),--this.size,!0)}module.exports=listCacheDelete; }, {"601":601}]; window.modules["554"] = [function(require,module,exports){var baseCreate=require(546),baseLodash=require(547);function LodashWrapper(e,a){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!a,this.__index__=0,this.__values__=void 0}LodashWrapper.prototype=baseCreate(baseLodash.prototype),LodashWrapper.prototype.constructor=LodashWrapper,module.exports=LodashWrapper; }, {"546":546,"547":547}]; window.modules["555"] = [function(require,module,exports){var getNative=require(538),root=require(537),Map=getNative(root,"Map");module.exports=Map; }, {"537":537,"538":538}]; window.modules["556"] = [function(require,module,exports){var mapCacheClear=require(561),mapCacheDelete=require(558),mapCacheGet=require(560),mapCacheHas=require(557),mapCacheSet=require(559);function MapCache(e){var a=-1,p=null==e?0:e.length;for(this.clear();++a-1}module.exports=arrayIncludes; }, {"581":581}]; window.modules["581"] = [function(require,module,exports){var baseFindIndex=require(633),baseIsNaN=require(650),strictIndexOf=require(649);function baseIndexOf(e,s,n){return s==s?strictIndexOf(e,s,n):baseFindIndex(e,baseIsNaN,n)}module.exports=baseIndexOf; }, {"633":633,"649":649,"650":650}]; window.modules["582"] = [function(require,module,exports){function arrayIncludesWith(r,n,e){for(var t=-1,u=null==r?0:r.length;++t-1&&e%1==0&&e=o?e:o)),e}module.exports=baseClamp; }, {}]; window.modules["609"] = [function(require,module,exports){var Stack=require(567),arrayEach=require(577),assignValue=require(600),baseAssign=require(602),baseAssignIn=require(605),cloneBuffer=require(616),copyArray=require(610),copySymbols=require(619),copySymbolsIn=require(615),getAllKeys=require(617),getAllKeysIn=require(612),getTag=require(611),initCloneArray=require(614),initCloneByTag=require(622),initCloneObject=require(618),isArray=require(585),isBuffer=require(587),isMap=require(620),isObject=require(613),isSet=require(621),keys=require(603),keysIn=require(606),CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4,argsTag="[object Arguments]",arrayTag="[object Array]",boolTag="[object Boolean]",dateTag="[object Date]",errorTag="[object Error]",funcTag="[object Function]",genTag="[object GeneratorFunction]",mapTag="[object Map]",numberTag="[object Number]",objectTag="[object Object]",regexpTag="[object RegExp]",setTag="[object Set]",stringTag="[object String]",symbolTag="[object Symbol]",weakMapTag="[object WeakMap]",arrayBufferTag="[object ArrayBuffer]",dataViewTag="[object DataView]",float32Tag="[object Float32Array]",float64Tag="[object Float64Array]",int8Tag="[object Int8Array]",int16Tag="[object Int16Array]",int32Tag="[object Int32Array]",uint8Tag="[object Uint8Array]",uint8ClampedTag="[object Uint8ClampedArray]",uint16Tag="[object Uint16Array]",uint32Tag="[object Uint32Array]",cloneableTags={};function baseClone(e,a,r,n,g,o){var t,l=a&CLONE_DEEP_FLAG,i=a&CLONE_FLAT_FLAG,s=a&CLONE_SYMBOLS_FLAG;if(r&&(t=g?r(e,n,g,o):r(e)),void 0!==t)return t;if(!isObject(e))return e;var c=isArray(e);if(c){if(t=initCloneArray(e),!l)return copyArray(e,t)}else{var T=getTag(e),b=T==funcTag||T==genTag;if(isBuffer(e))return cloneBuffer(e,l);if(T==objectTag||T==argsTag||b&&!g){if(t=i||b?{}:initCloneObject(e),!l)return i?copySymbolsIn(e,baseAssignIn(t,e)):copySymbols(e,baseAssign(t,e))}else{if(!cloneableTags[T])return g?e:{};t=initCloneByTag(e,T,l)}}o||(o=new Stack);var u=o.get(e);if(u)return u;o.set(e,t),isSet(e)?e.forEach(function(n){t.add(baseClone(n,a,r,n,e,o))}):isMap(e)&&e.forEach(function(n,g){t.set(g,baseClone(n,a,r,g,e,o))});var y=c?void 0:(s?i?getAllKeysIn:getAllKeys:i?keysIn:keys)(e);return arrayEach(y||e,function(n,g){y&&(n=e[g=n]),assignValue(t,g,baseClone(n,a,r,g,e,o))}),t}cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1,module.exports=baseClone; }, {"567":567,"577":577,"585":585,"587":587,"600":600,"602":602,"603":603,"605":605,"606":606,"610":610,"611":611,"612":612,"613":613,"614":614,"615":615,"616":616,"617":617,"618":618,"619":619,"620":620,"621":621,"622":622}]; window.modules["610"] = [function(require,module,exports){function copyArray(r,o){var y=-1,a=r.length;for(o||(o=Array(a));++y0&&r(u)?e>1?baseFlatten(u,e-1,r,t,l):arrayPush(l,u):t||(l[l.length]=u)}return l}module.exports=baseFlatten; }, {"591":591,"636":636}]; window.modules["636"] = [function(require,module,exports){var Symbol=require(573),isArguments=require(584),isArray=require(585),spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0;function isFlattenable(e){return isArray(e)||isArguments(e)||!!(spreadableSymbol&&e&&e[spreadableSymbol])}module.exports=isFlattenable; }, {"573":573,"584":584,"585":585}]; window.modules["637"] = [function(require,module,exports){var createBaseFor=require(638),baseFor=createBaseFor();module.exports=baseFor; }, {"638":638}]; window.modules["638"] = [function(require,module,exports){function createBaseFor(e){return function(r,t,a){for(var n=-1,o=Object(r),c=a(r),u=c.length;u--;){var f=c[e?u:++n];if(!1===t(o[f],f,o))break}return r}}module.exports=createBaseFor; }, {}]; window.modules["640"] = [function(require,module,exports){var castPath=require(642),toKey=require(641);function baseGet(e,t){for(var a=0,r=(t=castPath(t,e)).length;null!=e&&an))return!1;var f=u.get(e),o=u.get(r);if(f&&o)return f==r&&o==e;var _=-1,s=!0,R=a&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(u.set(e,r),u.set(r,e);++_-1&&e%1==0&&e<=MAX_SAFE_INTEGER}module.exports=isLength; }, {}]; window.modules["668"] = [function(require,module,exports){var baseMatches=require(672),baseMatchesProperty=require(670),identity=require(669),isArray=require(585),property=require(671);function baseIteratee(e){return"function"==typeof e?e:null==e?identity:"object"==typeof e?isArray(e)?baseMatchesProperty(e[0],e[1]):baseMatches(e):property(e)}module.exports=baseIteratee; }, {"585":585,"669":669,"670":670,"671":671,"672":672}]; window.modules["669"] = [function(require,module,exports){function identity(t){return t}module.exports=identity; }, {}]; window.modules["670"] = [function(require,module,exports){var baseIsEqual=require(654),get=require(14),hasIn=require(682),isKey=require(683),isStrictComparable=require(684),matchesStrictComparable=require(680),toKey=require(641),COMPARE_PARTIAL_FLAG=1,COMPARE_UNORDERED_FLAG=2;function baseMatchesProperty(e,r){return isKey(e)&&isStrictComparable(r)?matchesStrictComparable(toKey(e),r):function(a){var t=get(a,e);return void 0===t&&t===r?hasIn(a,e):baseIsEqual(r,t,COMPARE_PARTIAL_FLAG|COMPARE_UNORDERED_FLAG)}}module.exports=baseMatchesProperty; }, {"14":14,"641":641,"654":654,"680":680,"682":682,"683":683,"684":684}]; window.modules["671"] = [function(require,module,exports){var baseProperty=require(697),basePropertyDeep=require(698),isKey=require(683),toKey=require(641);function property(e){return isKey(e)?baseProperty(toKey(e)):basePropertyDeep(e)}module.exports=property; }, {"641":641,"683":683,"697":697,"698":698}]; window.modules["672"] = [function(require,module,exports){var baseIsMatch=require(660),getMatchData=require(681),matchesStrictComparable=require(680);function baseMatches(a){var t=getMatchData(a);return 1==t.length&&t[0][2]?matchesStrictComparable(t[0][0],t[0][1]):function(e){return e===a||baseIsMatch(e,a,t)}}module.exports=baseMatches; }, {"660":660,"680":680,"681":681}]; window.modules["673"] = [function(require,module,exports){var isPrototype=require(674),nativeKeys=require(675),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseKeys(e){if(!isPrototype(e))return nativeKeys(e);var r=[];for(var t in Object(e))hasOwnProperty.call(e,t)&&"constructor"!=t&&r.push(t);return r}module.exports=baseKeys; }, {"674":674,"675":675}]; window.modules["674"] = [function(require,module,exports){var objectProto=Object.prototype;function isPrototype(o){var t=o&&o.constructor;return o===("function"==typeof t&&t.prototype||objectProto)}module.exports=isPrototype; }, {}]; window.modules["675"] = [function(require,module,exports){var overArg=require(778),nativeKeys=overArg(Object.keys,Object);module.exports=nativeKeys; }, {"778":778}]; window.modules["676"] = [function(require,module,exports){var isObject=require(613),isPrototype=require(674),nativeKeysIn=require(677),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseKeysIn(e){if(!isObject(e))return nativeKeysIn(e);var r=isPrototype(e),t=[];for(var o in e)("constructor"!=o||!r&&hasOwnProperty.call(e,o))&&t.push(o);return t}module.exports=baseKeysIn; }, {"613":613,"674":674,"677":677}]; window.modules["677"] = [function(require,module,exports){function nativeKeysIn(n){var e=[];if(null!=n)for(var r in Object(n))e.push(r);return e}module.exports=nativeKeysIn; }, {}]; window.modules["679"] = [function(require,module,exports){var isFunction=require(662),isLength=require(667);function isArrayLike(i){return null!=i&&isLength(i.length)&&!isFunction(i)}module.exports=isArrayLike; }, {"662":662,"667":667}]; window.modules["680"] = [function(require,module,exports){function matchesStrictComparable(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}module.exports=matchesStrictComparable; }, {}]; window.modules["681"] = [function(require,module,exports){var isStrictComparable=require(684),keys=require(603);function getMatchData(r){for(var e=keys(r),t=e.length;t--;){var a=e[t],i=r[a];e[t]=[a,i,isStrictComparable(i)]}return e}module.exports=getMatchData; }, {"603":603,"684":684}]; window.modules["682"] = [function(require,module,exports){var baseHasIn=require(648),hasPath=require(781);function hasIn(a,s){return null!=a&&hasPath(a,s,baseHasIn)}module.exports=hasIn; }, {"648":648,"781":781}]; window.modules["683"] = [function(require,module,exports){var isArray=require(585),isSymbol=require(712),reIsDeepProp=/.|[(?:[^[]]*|(["'])(?:(?!1)[^\]|\.)*?1)]/,reIsPlainProp=/^w*$/;function isKey(r,e){if(isArray(r))return!1;var s=typeof r;return!("number"!=s&&"symbol"!=s&&"boolean"!=s&&null!=r&&!isSymbol(r))||(reIsPlainProp.test(r)||!reIsDeepProp.test(r)||null!=e&&r in Object(e))}module.exports=isKey; }, {"585":585,"712":712}]; window.modules["684"] = [function(require,module,exports){var isObject=require(613);function isStrictComparable(e){return e==e&&!isObject(e)}module.exports=isStrictComparable; }, {"613":613}]; window.modules["688"] = [function(require,module,exports){var cloneArrayBuffer=require(726);function cloneTypedArray(r,e){var f=e?cloneArrayBuffer(r.buffer):r.buffer;return new r.constructor(f,r.byteOffset,r.length)}module.exports=cloneTypedArray; }, {"726":726}]; window.modules["689"] = [function(require,module,exports){var isArrayLike=require(679),isObjectLike=require(653);function isArrayLikeObject(e){return isObjectLike(e)&&isArrayLike(e)}module.exports=isArrayLikeObject; }, {"653":653,"679":679}]; window.modules["696"] = [function(require,module,exports){var assignValue=require(600),castPath=require(642),isIndex=require(588),isObject=require(613),toKey=require(641);function baseSet(e,r,t,i){if(!isObject(e))return e;for(var s=-1,a=(r=castPath(r,e)).length,o=a-1,u=e;null!=u&&++s=LARGE_ARRAY_SIZE){var h=r?null:createSet(e);if(h)return setToArray(h);c=!1,t=cacheHas,n=new SetCache}else n=r?[]:i;e:for(;++s1&&H.reverse(),a&&i1?"& ":"")+e[t],e=e.join(n>2?", ":" "),r.replace(reWrapComment,"{n/* [wrapped with "+e+"] */n")}module.exports=insertWrapDetails; }, {}]; window.modules["785"] = [function(require,module,exports){var LazyWrapper=require(545),LodashWrapper=require(554),baseLodash=require(547),isArray=require(585),isObjectLike=require(653),wrapperClone=require(793),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function lodash(r){if(isObjectLike(r)&&!isArray(r)&&!(r instanceof LazyWrapper)){if(r instanceof LodashWrapper)return r;if(hasOwnProperty.call(r,"__wrapped__"))return wrapperClone(r)}return new LodashWrapper(r)}lodash.prototype=baseLodash.prototype,lodash.prototype.constructor=lodash,module.exports=lodash; }, {"545":545,"547":547,"554":554,"585":585,"653":653,"793":793}]; window.modules["786"] = [function(require,module,exports){var memoize=require(787),MAX_MEMOIZE_SIZE=500;function memoizeCapped(e){var m=memoize(e,function(e){return r.size===MAX_MEMOIZE_SIZE&&r.clear(),e}),r=m.cache;return m}module.exports=memoizeCapped; }, {"787":787}]; window.modules["787"] = [function(require,module,exports){var MapCache=require(556),FUNC_ERROR_TEXT="Expected a function";function memoize(e,a){if("function"!=typeof e||null!=a&&"function"!=typeof a)throw new TypeError(FUNC_ERROR_TEXT);var c=function(){var r=arguments,t=a?a.apply(this,r):r[0],n=c.cache;if(n.has(t))return n.get(t);var o=e.apply(this,r);return c.cache=n.set(t,o)||n,o};return c.cache=new(memoize.Cache||MapCache),c}memoize.Cache=MapCache,module.exports=memoize; }, {"556":556}]; window.modules["788"] = [function(require,module,exports){var freeGlobal=require(772),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var e=freeModule&&freeModule.require&&freeModule.require("util").types;return e||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil; }, {"772":772}]; window.modules["789"] = [function(require,module,exports){var HOT_COUNT=800,HOT_SPAN=16,nativeNow=Date.now;function shortOut(t){var r=0,e=0;return function(){var n=nativeNow(),o=HOT_SPAN-(n-e);if(e=n,o>0){if(++r>=HOT_COUNT)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}module.exports=shortOut; }, {}]; window.modules["790"] = [function(require,module,exports){var arrayEach=require(577),arrayIncludes=require(580),WRAP_BIND_FLAG=1,WRAP_BIND_KEY_FLAG=2,WRAP_CURRY_FLAG=8,WRAP_CURRY_RIGHT_FLAG=16,WRAP_PARTIAL_FLAG=32,WRAP_PARTIAL_RIGHT_FLAG=64,WRAP_ARY_FLAG=128,WRAP_REARG_FLAG=256,WRAP_FLIP_FLAG=512,wrapFlags=[["ary",WRAP_ARY_FLAG],["bind",WRAP_BIND_FLAG],["bindKey",WRAP_BIND_KEY_FLAG],["curry",WRAP_CURRY_FLAG],["curryRight",WRAP_CURRY_RIGHT_FLAG],["flip",WRAP_FLIP_FLAG],["partial",WRAP_PARTIAL_FLAG],["partialRight",WRAP_PARTIAL_RIGHT_FLAG],["rearg",WRAP_REARG_FLAG]];function updateWrapDetails(A,_){return arrayEach(wrapFlags,function(R){var r="_."+R[0];_&R[1]&&!arrayIncludes(A,r)&&A.push(r)}),A.sort()}module.exports=updateWrapDetails; }, {"577":577,"580":580}]; window.modules["792"] = [function(require,module,exports){var rsAstralRange="\ud800-\udfff",rsComboMarksRange="\u0300-\u036f",reComboHalfMarksRange="\ufe20-\ufe2f",rsComboSymbolsRange="\u20d0-\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsDingbatRange="\u2700-\u27bf",rsLowerRange="a-z\xdf-\xf6\xf8-\xff",rsMathOpRange="\xac\xb1\xd7\xf7",rsNonCharRange="\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf",rsPunctuationRange="\u2000-\u206f",rsSpaceRange=" \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000",rsUpperRange="A-Z\xc0-\xd6\xd8-\xde",rsVarRange="\ufe0e\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos="['โ€™]",rsBreak="["+rsBreakRange+"]",rsCombo="["+rsComboRange+"]",rsDigits="\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz="\ud83c[\udffb-\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\ud83c[\udde6-\uddff]){2}",rsSurrPair="[\ud800-\udbff][\udc00-\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ="\u200d",rsMiscLower="(?:"+rsLower+"|"+rsMisc+")",rsMiscUpper="(?:"+rsUpper+"|"+rsMisc+")",rsOptContrLower="(?:"+rsApos+"(?:d|ll|m|re|s|t|ve))?",rsOptContrUpper="(?:"+rsApos+"(?:D|LL|M|RE|S|T|VE))?",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsOrdLower="\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])",rsOrdUpper="\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptContrLower+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsMiscUpper+"+"+rsOptContrUpper+"(?="+[rsBreak,rsUpper+rsMiscLower,"$"].join("|")+")",rsUpper+"?"+rsMiscLower+"+"+rsOptContrLower,rsUpper+"+"+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join("|"),"g");function unicodeWords(r){return r.match(reUnicodeWord)||[]}module.exports=unicodeWords; }, {}]; window.modules["793"] = [function(require,module,exports){var LazyWrapper=require(545),LodashWrapper=require(554),copyArray=require(610);function wrapperClone(r){if(r instanceof LazyWrapper)return r.clone();var _=new LodashWrapper(r.__wrapped__,r.__chain__);return _.__actions__=copyArray(r.__actions__),_.__index__=r.__index__,_.__values__=r.__values__,_}module.exports=wrapperClone; }, {"545":545,"554":554,"610":610}]; window.modules["794"] = [function(require,module,exports){var baseRest=require(701),createWrap=require(767),getHolder=require(749),replaceHolders=require(750),WRAP_BIND_FLAG=1,WRAP_PARTIAL_FLAG=32,bind=baseRest(function(e,r,a){var l=WRAP_BIND_FLAG;if(a.length){var t=replaceHolders(a,getHolder(bind));l|=WRAP_PARTIAL_FLAG}return createWrap(e,l,r,a,t)});bind.placeholder={},module.exports=bind; }, {"701":701,"749":749,"750":750,"767":767}]; window.modules["796"] = [function(require,module,exports){var root=require(537),now=function(){return root.Date.now()};module.exports=now; }, {"537":537}]; window.modules["797"] = [function(require,module,exports){var baseRest=require(701),eq=require(598),isIterateeCall=require(738),keysIn=require(606),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,defaults=baseRest(function(e,r){e=Object(e);var t=-1,o=r.length,a=o>2?r[2]:void 0;for(a&&isIterateeCall(r[0],r[1],a)&&(o=1);++t>>24)|4278255360&(a[y]<<24|a[y]>>>8);a[s>>>5]|=128<>>9<<4)]=s;var h=i._ff,_=i._gg,v=i._hh,b=i._ii;for(y=0;y>>0,f=f+T>>>0,g=g+p>>>0,l=l+q>>>0}return r.endian([c,f,g,l])};i._ff=function(r,n,e,t,i,o,u){var a=r+(n&e|~n&t)+(i>>>0)+u;return(a<>>32-o)+n},i._gg=function(r,n,e,t,i,o,u){var a=r+(n&t|e&~t)+(i>>>0)+u;return(a<>>32-o)+n},i._hh=function(r,n,e,t,i,o,u){var a=r+(n^e^t)+(i>>>0)+u;return(a<>>32-o)+n},i._ii=function(r,n,e,t,i,o,u){var a=r+(e^(n|~t))+(i>>>0)+u;return(a<>>32-o)+n},i._blocksize=16,i._digestsize=16,module.exports=function(n,e){if(null==n)throw new Error("Illegal argument "+n);var o=r.wordsToBytes(i(n,e));return e&&e.asBytes?o:e&&e.asString?t.bytesToString(o):r.bytesToHex(o)}}(); }, {"241":241,"296":296,"528":528}]; window.modules["832"] = [function(require,module,exports){!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t("Selectr"):e.Selectr=t("Selectr")}(this,function(e){function t(e,t){return e.hasOwnProperty(t)&&(!0===e[t]||e[t].length)}function i(e,t,i){e.parentNode?e.parentNode.parentNode||t.appendChild(e.parentNode):t.appendChild(e),n.removeClass(e,"excluded"),i||(e.innerHTML=e.textContent)}var s=function(){};s.prototype={on:function(e,t){this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(t)},off:function(e,t){this._events=this._events||{},!1!=e in this._events&&this._events[e].splice(this._events[e].indexOf(t),1)},emit:function(e){if(this._events=this._events||{},!1!=e in this._events)for(var t=0;t=e.scrollHeight-e.offsetHeight&&this.pageIndex"+t.label+" "}),n.each(t.children,function(e,t){t.idx=a,s.appendChild(l.call(this,t,s)),a++},this)):(t.idx=a,l.call(this,t),a++)},this),this.config.data&&Array.isArray(this.config.data)){this.data=[];var o,h=!1;s=!1,a=0,n.each(this.config.data,function(e,i){t(i,"children")?(h=n.createElement("optgroup",{label:i.text}),s=n.createElement("ul",{class:"selectr-optgroup",role:"group",html:"

  • "+i.text+"
  • "}),n.each(i.children,function(e,i){(o=new Option(i.text,i.value,!1,i.hasOwnProperty("selected")&&!0===i.selected)).disabled=t(i,"disabled"),this.options.push(o),h.appendChild(o),o.idx=a,s.appendChild(l.call(this,o,i)),this.data[a]=i,a++},this),this.el.appendChild(h)):((o=new Option(i.text,i.value,!1,i.hasOwnProperty("selected")&&!0===i.selected)).disabled=t(i,"disabled"),this.options.push(o),o.idx=a,l.call(this,o,i),this.data[a]=i,a++)},this)}this.setSelected(!0);for(var c=this.navIndex=0;cthis.tree.lastElementChild.idx){this.navIndex=this.tree.lastElementChild.idx;break}if(this.navIndexthis.optsRect.top+this.optsRect.height&&(this.tree.scrollTop+=e.top+e.height-(this.optsRect.top+this.optsRect.height)),this.navIndex===this.tree.childElementCount-1&&this.requiresPagination&&o.call(this)):0===this.navIndex?this.tree.scrollTop=0:0>e.top-this.optsRect.top&&(this.tree.scrollTop+=e.top-this.optsRect.top),t&&n.removeClass(t,"active"),n.addClass(this.items[this.navIndex],"active")}else this.navigating=!1}.bind(this),this.events.reset=this.reset.bind(this),this.config.nativeDropdown||this.mobileDevice){this.container.addEventListener("touchstart",function(t){t.changedTouches[0].target===e.el&&e.toggle()},!!this.supportsEventPassiveOption&&{passive:!0}),this.container.addEventListener("click",function(t){t.target===e.el&&e.toggle()});this.el.addEventListener("change",function(t){e.el.multiple?(t=e.getSelectedProperties("idx"),t=function(e,t){for(var i,s=[],n=e.slice(0),a=0;a=i.key.length&&String[String.fromCodePoint?"fromCodePoint":"fromCharCode"](i.key[String.codePointAt?"codePointAt":"charCodeAt"](0))===i.key){if(e.config.multiple)e.open(),e.config.searchable&&(e.input.value=i.key,e.input.focus(),e.search(null,!0));else{t+=i.key;var s=e.search(t,!0);s&&s.length&&(e.clear(),e.setValue(s[0].value)),setTimeout(function(){t=""},1e3)}i.preventDefault(),i.stopPropagation()}}),this.container.addEventListener("keyup",function(t){e.opened&&"Escape"===t.key&&(e.close(),t.stopPropagation(),e.selected.focus())})}this.label.addEventListener("click",function(t){n.hasClass(t.target,"selectr-tag-remove")&&e.deselect(t.target.parentNode.idx)}),this.selectClear&&this.selectClear.addEventListener("click",this.clear.bind(this)),this.tree.addEventListener("mousedown",function(e){e.preventDefault()}),this.tree.addEventListener("click",function(t){var i=n.closest(t.target,function(e){return e&&n.hasClass(e,"selectr-option")});i&&!n.hasClass(i,"disabled")&&(n.hasClass(i,"selected")?(e.el.multiple||!e.el.multiple&&e.config.allowDeselect)&&e.deselect(i.idx):e.select(i.idx),e.opened&&!e.el.multiple&&e.close()),t.preventDefault(),t.stopPropagation()}),this.tree.addEventListener("mouseover",function(t){n.hasClass(t.target,"selectr-option")&&!n.hasClass(t.target,"disabled")&&(n.removeClass(e.items[e.navIndex],"active"),n.addClass(t.target,"active"),e.navIndex=[].slice.call(e.items).indexOf(t.target))}),this.config.searchable&&(this.input.addEventListener("focus",function(t){e.searching=!0}),this.input.addEventListener("blur",function(t){e.searching=!1}),this.input.addEventListener("keyup",function(t){e.search(),e.config.taggable||(this.value.length?n.addClass(this.parentNode,"active"):n.removeClass(this.parentNode,"active"))}),this.inputClear.addEventListener("click",function(t){e.input.value=null,h.call(e),e.tree.childElementCount||a.call(e)})),this.config.taggable&&this.input.addEventListener("keyup",function(t){if(e.search(),e.config.taggable&&this.value.length){var i=this.value.trim();(13===t.which||n.includes(e.tagSeperators,t.key))&&(n.each(e.tagSeperators,function(e,t){i=i.replace(t,"")}),e.add({value:i,text:i,selected:!0},!0)?(e.close(),h.call(e)):(this.value="",e.setMessage(e.config.messages.tagDuplicate)))}}),this.update=n.debounce(function(){e.opened&&e.config.closeOnScroll&&e.close(),e.width&&(e.container.style.width=e.width),e.invert()},50),this.requiresPagination&&(this.paginateItems=n.debounce(function(){o.call(this)},50),this.tree.addEventListener("scroll",this.paginateItems.bind(this))),document.addEventListener("click",this.events.dismiss),window.addEventListener("keydown",this.events.navigate),window.addEventListener("resize",this.update),window.addEventListener("scroll",this.update),this.on("selectr.destroy",function(){document.removeEventListener("click",this.events.dismiss),window.removeEventListener("keydown",this.events.navigate),window.removeEventListener("resize",this.update),window.removeEventListener("scroll",this.update)}),this.el.form&&(this.el.form.addEventListener("reset",this.events.reset),this.on("selectr.destroy",function(){this.el.form.removeEventListener("reset",this.events.reset)}))},e.prototype.setSelected=function(e){if(this.config.data||this.el.multiple||!this.el.options.length||(0!==this.el.selectedIndex||this.el.options[0].defaultSelected||this.config.defaultSelected||(this.el.selectedIndex=-1),this.selectedIndex=this.el.selectedIndex,-1this.el.selectedIndex&&this.select(0);var i=0;n.each(this.config.data,function(e,s){t(s,"children")?n.each(s.children,function(e,t){t.hasOwnProperty("selected")&&!0===t.selected&&this.select(i),i++},this):(s.hasOwnProperty("selected")&&!0===s.selected&&this.select(i),i++)},this)}},e.prototype.destroy=function(){this.rendered&&(this.emit("selectr.destroy"),"select-one"===this.originalType&&(this.el.multiple=!1),this.config.data&&(this.el.innerHTML=""),n.removeClass(this.el,"selectr-hidden"),this.container.parentNode.replaceChild(this.el,this.container),this.rendered=!1,delete this.el.selectr)},e.prototype.change=function(e){var t=this.items[e],i=this.options[e];i.disabled||(i.selected&&n.hasClass(t,"selected")?this.deselect(e):this.select(e),this.opened&&!this.el.multiple&&this.close())},e.prototype.select=function(e){var t=this.items[e],i=[].slice.call(this.el.options),s=this.options[e];if(this.el.multiple){if(n.includes(this.selectedIndexes,e))return!1;if(this.config.maxSelections&&this.tags.length===this.config.maxSelections)return this.setMessage(this.config.messages.maxSelections.replace("{max}",this.config.maxSelections),!0),!1;this.selectedValues.push(s.value),this.selectedIndexes.push(e),function(e){var t=this,i=document.createDocumentFragment(),s=this.options[e.idx],a=this.data?this.data[e.idx]:s;a=this.customSelected?this.config.renderSelection(a):s.textContent,a=n.createElement("li",{class:"selectr-tag",html:a});var l=n.createElement("button",{class:"selectr-tag-remove",type:"button"});if(a.appendChild(l),a.idx=e.idx,a.tag=s.value,this.tags.push(a),this.config.sortSelected){e=this.tags.slice();var o=function(e,t){e.replace(/(d+)|(D+)/g,function(e,i,s){t.push([i||1/0,s||""])})};e.sort(function(e,i){var s=[],n=[];if(!0===t.config.sortSelected)var a=e.tag,l=i.tag;else"text"===t.config.sortSelected&&(a=e.textContent,l=i.textContent);for(o(a,s),o(l,n);s.length&&n.length;)if(a=s.shift(),l=n.shift(),a=a[0]-l[0]||a[1].localeCompare(l[1]))return a;return s.length-n.length}),n.each(e,function(e,t){i.appendChild(t)}),this.label.innerHTML=""}else i.appendChild(a);this.config.taggable?this.label.insertBefore(i,this.input.parentNode):this.label.appendChild(i)}.call(this,t)}else{var a=this.data?this.data[e]:s;this.label.innerHTML=this.customSelected?this.config.renderSelection(a):s.textContent,this.selectedValue=s.value,this.selectedIndex=e,n.each(this.options,function(t,i){var s=this.items[t];t!==e&&(s&&n.removeClass(s,"selected"),i.selected=!1,i.removeAttribute("selected"))},this)}n.includes(i,s)||this.el.add(s),t.setAttribute("aria-selected",!0),n.addClass(t,"selected"),n.addClass(this.container,"has-selected"),s.selected=!0,s.setAttribute("selected",""),this.emit("selectr.change",s),this.emit("selectr.select",s),"createEvent"in document?((t=document.createEvent("HTMLEvents")).initEvent("change",!0,!0),this.el.dispatchEvent(t)):this.el.fireEvent("onchange")},e.prototype.deselect=function(e,t){var i=this.items[e],s=this.options[e];if(this.el.multiple){var a=this.selectedIndexes.indexOf(e);this.selectedIndexes.splice(a,1),a=this.selectedValues.indexOf(s.value),this.selectedValues.splice(a,1),function(e){var t=!1;n.each(this.tags,function(i,s){s.idx===e.idx&&(t=s)},this),t&&(this.label.removeChild(t),this.tags.splice(this.tags.indexOf(t),1))}.call(this,i),this.tags.length||n.removeClass(this.container,"has-selected")}else{if(!t&&!this.config.clearable&&!this.config.allowDeselect)return!1;this.label.innerHTML="",this.selectedValue=null,this.el.selectedIndex=this.selectedIndex=-1,n.removeClass(this.container,"has-selected")}this.items[e].setAttribute("aria-selected",!1),n.removeClass(this.items[e],"selected"),s.selected=!1,s.removeAttribute("selected"),this.emit("selectr.change",null),this.emit("selectr.deselect",s),"createEvent"in document?((i=document.createEvent("HTMLEvents")).initEvent("change",!0,!0),this.el.dispatchEvent(i)):this.el.fireEvent("onchange")},e.prototype.setValue=function(e){var t=Array.isArray(e);if(t||(e=e.toString().trim()),!this.el.multiple&&t)return!1;n.each(this.options,function(i,s){(t&&-1"+r[0]+"");c.innerHTML=r}}else s&&n.addClass(c,"excluded")},this),s){if(o.childElementCount){var c=this.items[this.navIndex],r=o.querySelector(".selectr-option:not(.excluded)");this.noResults=!1,n.removeClass(c,"active"),this.navIndex=r.idx,n.addClass(r,"active")}else this.config.taggable||(this.noResults=!0,this.setMessage(this.config.messages.noResults));this.tree.appendChild(o)}}else a.call(this);return l}},e.prototype.toggle=function(){this.disabled||(this.opened?this.close():this.open())},e.prototype.open=function(){var e=this;if(!this.options.length)return!1;this.opened||this.emit("selectr.open"),this.opened=!0,this.mobileDevice||this.config.nativeDropdown?(n.addClass(this.container,"native-open"),this.config.data&&n.each(this.options,function(e,t){this.el.add(t)},this)):(n.addClass(this.container,"open"),a.call(this),this.invert(),this.tree.scrollTop=0,n.removeClass(this.container,"notice"),this.selected.setAttribute("aria-expanded",!0),this.tree.setAttribute("aria-hidden",!1),this.tree.setAttribute("aria-expanded",!0),this.config.searchable&&!this.config.taggable&&setTimeout(function(){e.input.focus(),e.input.tabIndex=0},10))},e.prototype.close=function(){if(this.opened&&this.emit("selectr.close"),this.navigating=this.opened=!1,this.mobileDevice||this.config.nativeDropdown)n.removeClass(this.container,"native-open");else{var e=n.hasClass(this.container,"notice");this.config.searchable&&!e&&(this.input.blur(),this.input.tabIndex=-1,this.searching=!1),e&&(n.removeClass(this.container,"notice"),this.notice.textContent=""),n.removeClass(this.container,"open"),n.removeClass(this.container,"native-open"),this.selected.setAttribute("aria-expanded",!1),this.tree.setAttribute("aria-hidden",!0),this.tree.setAttribute("aria-expanded",!1),n.truncate(this.tree),h.call(this),this.selected.focus()}},e.prototype.enable=function(){this.disabled=!1,this.el.disabled=!1,this.selected.tabIndex=this.originalIndex,this.el.multiple&&n.each(this.tags,function(e,t){t.lastElementChild.tabIndex=0}),n.removeClass(this.container,"selectr-disabled")},e.prototype.disable=function(e){e||(this.el.disabled=!0),this.selected.tabIndex=-1,this.el.multiple&&n.each(this.tags,function(e,t){t.lastElementChild.tabIndex=-1}),this.disabled=!0,n.addClass(this.container,"selectr-disabled")},e.prototype.reset=function(){this.disabled||(this.clear(),this.setSelected(!0),n.each(this.defaultSelected,function(e,t){this.select(t)},this),this.emit("selectr.reset"))},e.prototype.clear=function(e){this.el.multiple?this.selectedIndexes.length&&(e=this.selectedIndexes.slice(),n.each(e,function(e,t){this.deselect(t)},this)):-1window.innerHeight?(n.addClass(this.container,"inverted"),this.isInverted=!0):(n.removeClass(this.container,"inverted"),this.isInverted=!1),this.optsRect=n.rect(this.tree)},e.prototype.getOptionByIndex=function(e){return this.options[e]},e.prototype.getOptionByValue=function(e){for(var t=!1,i=0,s=this.options.length;i1;){var r=e.pop(),t=r.obj[r.prop];if(isArray(t)){for(var o=[],n=0;n=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122?n+=o.charAt(a):c<128?n+=hexTable[c]:c<2048?n+=hexTable[192|c>>6]+hexTable[128|63&c]:c<55296||c>=57344?n+=hexTable[224|c>>12]+hexTable[128|c>>6&63]+hexTable[128|63&c]:(a+=1,c=65536+((1023&c)<<10|1023&o.charCodeAt(a)),n+=hexTable[240|c>>18]+hexTable[128|c>>12&63]+hexTable[128|c>>6&63]+hexTable[128|63&c])}return n},compact=function(e){for(var r=[{obj:{o:e},prop:"o"}],t=[],o=0;o0?d+u:""}; }, {"837":837,"838":838}]; window.modules["840"] = [function(require,module,exports){"use strict";var utils=require(838),has=Object.prototype.hasOwnProperty,isArray=Array.isArray,defaults={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:utils.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(e){return e.replace(/&#(d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},parseArrayValue=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},isoSentinel="utf8=%26%2310003%3B",charsetSentinel="utf8=%E2%9C%93",parseValues=function(e,t){var r,i={},a=t.ignoreQueryPrefix?e.replace(/^?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,s=a.split(t.delimiter,l),n=-1,o=t.charset;if(t.charsetSentinel)for(r=0;r-1&&(u=isArray(u)?[u]:u),has.call(i,c)?i[c]=utils.combine(i[c],u):i[c]=u}return i},parseObject=function(e,t,r,i){for(var a=i?t:parseArrayValue(t,r),l=e.length-1;l>=0;--l){var s,n=e[l];if("[]"===n&&r.parseArrays)s=[].concat(a);else{s=r.plainObjects?Object.create(null):{};var o="["===n.charAt(0)&&"]"===n.charAt(n.length-1)?n.slice(1,-1):n,c=parseInt(o,10);r.parseArrays||""!==o?!isNaN(c)&&n!==o&&String(c)===o&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(s=[])[c]=a:s[o]=a:s={0:a}}a=s}return a},parseKeys=function(e,t,r,i){if(e){var a=r.allowDots?e.replace(/.([^.[]+)/g,"[$1]"):e,l=/([[^[]]*])/g,s=r.depth>0&&/([[^[]]*])/.exec(a),n=s?a.slice(0,s.index):a,o=[];if(n){if(!r.plainObjects&&has.call(Object.prototype,n)&&!r.allowPrototypes)return;o.push(n)}for(var c=0;r.depth>0&&null!==(s=l.exec(a))&&c=0)return r}else{var e=util.toSetString(t);if(has.call(this._set,e))return this._set[e]}throw new Error('"'+t+'" is not in the set.')},ArraySet.prototype.at=function(t){if(t>=0&&t=0;u--)"."===(n=a[u])?a.splice(u,1):".."===n?i++:i>0&&(""===n?(a.splice(u+1,i),i=0):(a.splice(u,2),i--));return""===(r=a.join("/"))&&(r=o?"/":"."),t?(t.path=r,urlGenerate(t)):r}function join(e,r){""===e&&(e="."),""===r&&(r=".");var t=urlParse(r),n=urlParse(e);if(n&&(e=n.path||"/"),t&&!t.scheme)return n&&(t.scheme=n.scheme),urlGenerate(t);if(t||r.match(dataUrlRegexp))return r;if(n&&!n.host&&!n.path)return n.host=r,urlGenerate(n);var o="/"===r.charAt(0)?r:normalize(e.replace(//+$/,"")+"/"+r);return n?(n.path=o,urlGenerate(n)):o}function relative(e,r){""===e&&(e="."),e=e.replace(//$/,"");for(var t=0;0!==r.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return r;if((e=e.slice(0,n)).match(/^([^/]+:/)?/*$/))return r;++t}return Array(t+1).join("../")+r.substr(e.length+1)}exports.urlParse=urlParse,exports.urlGenerate=urlGenerate,exports.normalize=normalize,exports.join=join,exports.isAbsolute=function(e){return"/"===e.charAt(0)||urlRegexp.test(e)},exports.relative=relative;var supportsNullProto=!("__proto__"in Object.create(null));function identity(e){return e}function toSetString(e){return isProtoString(e)?"$"+e:e}function fromSetString(e){return isProtoString(e)?e.slice(1):e}function isProtoString(e){if(!e)return!1;var r=e.length;if(r<9)return!1;if(95!==e.charCodeAt(r-1)||95!==e.charCodeAt(r-2)||111!==e.charCodeAt(r-3)||116!==e.charCodeAt(r-4)||111!==e.charCodeAt(r-5)||114!==e.charCodeAt(r-6)||112!==e.charCodeAt(r-7)||95!==e.charCodeAt(r-8)||95!==e.charCodeAt(r-9))return!1;for(var t=r-10;t>=0;t--)if(36!==e.charCodeAt(t))return!1;return!0}function compareByOriginalPositions(e,r,t){var n=strcmp(e.source,r.source);return 0!==n?n:0!==(n=e.originalLine-r.originalLine)?n:0!==(n=e.originalColumn-r.originalColumn)||t?n:0!==(n=e.generatedColumn-r.generatedColumn)?n:0!==(n=e.generatedLine-r.generatedLine)?n:strcmp(e.name,r.name)}function compareByGeneratedPositionsDeflated(e,r,t){var n=e.generatedLine-r.generatedLine;return 0!==n?n:0!==(n=e.generatedColumn-r.generatedColumn)||t?n:0!==(n=strcmp(e.source,r.source))?n:0!==(n=e.originalLine-r.originalLine)?n:0!==(n=e.originalColumn-r.originalColumn)?n:strcmp(e.name,r.name)}function strcmp(e,r){return e===r?0:null===e?1:null===r?-1:e>r?1:-1}function compareByGeneratedPositionsInflated(e,r){var t=e.generatedLine-r.generatedLine;return 0!==t?t:0!==(t=e.generatedColumn-r.generatedColumn)?t:0!==(t=strcmp(e.source,r.source))?t:0!==(t=e.originalLine-r.originalLine)?t:0!==(t=e.originalColumn-r.originalColumn)?t:strcmp(e.name,r.name)}function parseSourceMapInput(e){return JSON.parse(e.replace(/^)]}'[^n]*n/,""))}function computeSourceURL(e,r,t){if(r=r||"",e&&("/"!==e[e.length-1]&&"/"!==r[0]&&(e+="/"),r=e+r),t){var n=urlParse(t);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var o=n.path.lastIndexOf("/");o>=0&&(n.path=n.path.substring(0,o+1))}r=join(urlGenerate(n),r)}return normalize(r)}exports.toSetString=supportsNullProto?identity:toSetString,exports.fromSetString=supportsNullProto?identity:fromSetString,exports.compareByOriginalPositions=compareByOriginalPositions,exports.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated,exports.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated,exports.parseSourceMapInput=parseSourceMapInput,exports.computeSourceURL=computeSourceURL; }, {}]; window.modules["850"] = [function(require,module,exports){var base64=require(851),VLQ_BASE_SHIFT=5,VLQ_BASE=1<>1;return 1==(1&e)?-r:r}exports.encode=function(e){var r,_="",n=toVLQSigned(e);do{r=n&VLQ_BASE_MASK,(n>>>=VLQ_BASE_SHIFT)>0&&(r|=VLQ_CONTINUATION_BIT),_+=base64.encode(r)}while(n>0);return _},exports.decode=function(e,r,_){var n,o,S=e.length,t=0,i=0;do{if(r>=S)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=base64.decode(e.charCodeAt(r++))))throw new Error("Invalid base64 digit: "+e.charAt(r-1));n=!!(o&VLQ_CONTINUATION_BIT),t+=(o&=VLQ_BASE_MASK)<0?e-o>1?recursiveSearch(o,e,t,E,c,n):n==exports.LEAST_UPPER_BOUND?e1?recursiveSearch(r,o,t,E,c,n):n==exports.LEAST_UPPER_BOUND?o:r<0?-1:r}exports.GREATEST_LOWER_BOUND=1,exports.LEAST_UPPER_BOUND=2,exports.search=function(r,e,t,E){if(0===e.length)return-1;var c=recursiveSearch(-1,e.length,r,e,t,E||exports.GREATEST_LOWER_BOUND);if(c<0)return-1;for(;c-1>=0&&0===t(e[c],e[c-1],!0);)--c;return c}; }, {}]; window.modules["853"] = [function(require,module,exports){var util=require(849);function generatedPositionAfter(t,e){var r=t.generatedLine,i=e.generatedLine,a=t.generatedColumn,n=e.generatedColumn;return i>r||i==r&&n>=a||util.compareByGeneratedPositionsInflated(t,e)<=0}function MappingList(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function(t,e){this._array.forEach(t,e)},MappingList.prototype.add=function(t){generatedPositionAfter(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},MappingList.prototype.toArray=function(){return this._sorted||(this._array.sort(util.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},exports.MappingList=MappingList; }, {"849":849}]; window.modules["854"] = [function(require,module,exports){function swap(n,o,r){var t=n[o];n[o]=n[r],n[r]=t}function randomIntInRange(n,o){return Math.round(n+Math.random()*(o-n))}function doQuickSort(n,o,r,t){if(r=0){var i=this._originalMappings[t];if(void 0===e.column)for(var u=i.originalLine;i&&i.originalLine===u;)o.push({line:util.getArg(i,"generatedLine",null),column:util.getArg(i,"generatedColumn",null),lastColumn:util.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++t];else for(var s=i.originalColumn;i&&i.originalLine===r&&i.originalColumn==s;)o.push({line:util.getArg(i,"generatedLine",null),column:util.getArg(i,"generatedColumn",null),lastColumn:util.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++t]}return o},exports.SourceMapConsumer=SourceMapConsumer,BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer,BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r,n=e;if(null!=this.sourceRoot&&(n=util.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(r=0;r1&&(n.source=p+t[1],p+=t[1],n.originalLine=l+t[2],l=n.originalLine,n.originalLine+=1,n.originalColumn=c+t[3],c=n.originalColumn,t.length>4&&(n.name=g+t[4],g+=t[4])),C.push(n),"number"==typeof n.originalLine&&_.push(n)}quickSort(C,util.compareByGeneratedPositionsDeflated),this.__generatedMappings=C,quickSort(_,util.compareByOriginalPositions),this.__originalMappings=_},BasicSourceMapConsumer.prototype._findMapping=function(e,r,n,o,t,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[o]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[o]);return binarySearch.search(e,r,t,i)},BasicSourceMapConsumer.prototype.computeColumnSpans=function(){for(var e=0;e=0){var o=this._generatedMappings[n];if(o.generatedLine===r.generatedLine){var t=util.getArg(o,"source",null);null!==t&&(t=this._sources.at(t),t=util.computeSourceURL(this.sourceRoot,t,this._sourceMapURL));var i=util.getArg(o,"name",null);return null!==i&&(i=this._names.at(i)),{source:t,line:util.getArg(o,"originalLine",null),column:util.getArg(o,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},BasicSourceMapConsumer.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var o,t=e;if(null!=this.sourceRoot&&(t=util.relative(this.sourceRoot,t)),null!=this.sourceRoot&&(o=util.urlParse(this.sourceRoot))){var i=t.replace(/^file:///,"");if("file"==o.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!o.path||"/"==o.path)&&this._sources.has("/"+t))return this.sourcesContent[this._sources.indexOf("/"+t)]}if(r)return null;throw new Error('"'+t+'" is not in the SourceMap.')},BasicSourceMapConsumer.prototype.generatedPositionFor=function(e){var r=util.getArg(e,"source");if((r=this._findSourceIndex(r))<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:util.getArg(e,"line"),originalColumn:util.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",util.compareByOriginalPositions,util.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(o>=0){var t=this._originalMappings[o];if(t.source===n.source)return{line:util.getArg(t,"generatedLine",null),column:util.getArg(t,"generatedColumn",null),lastColumn:util.getArg(t,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},exports.BasicSourceMapConsumer=BasicSourceMapConsumer,IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer,IndexedSourceMapConsumer.prototype._version=3,Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){for(var e=[],r=0;r0&&e.column>=0)||n||r||t)&&!(e&&"line"in e&&"column"in e&&n&&"line"in n&&"column"in n&&e.line>0&&e.column>=0&&n.line>0&&n.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:n,name:t}))},SourceMapGenerator.prototype._serializeMappings=function(){for(var e,n,r,t,o=0,i=1,s=0,l=0,u=0,a=0,c="",p=this._mappings.toArray(),g=0,h=p.length;g0){if(!util.compareByGeneratedPositionsInflated(n,p[g-1]))continue;e+=","}e+=base64VLQ.encode(n.generatedColumn-o),o=n.generatedColumn,null!=n.source&&(t=this._sources.indexOf(n.source),e+=base64VLQ.encode(t-a),a=t,e+=base64VLQ.encode(n.originalLine-1-l),l=n.originalLine-1,e+=base64VLQ.encode(n.originalColumn-s),s=n.originalColumn,null!=n.name&&(r=this._names.indexOf(n.name),e+=base64VLQ.encode(r-u),u=r)),c+=e}return c},SourceMapGenerator.prototype._generateSourcesContent=function(e,n){return e.map(function(e){if(!this._sourcesContents)return null;null!=n&&(e=util.relative(n,e));var r=util.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},SourceMapGenerator.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},SourceMapGenerator.prototype.toString=function(){return JSON.stringify(this.toJSON())},exports.SourceMapGenerator=SourceMapGenerator; }, {"848":848,"849":849,"850":850,"853":853}]; window.modules["857"] = [function(require,module,exports){var SourceMapGenerator=require(856).SourceMapGenerator,util=require(849),REGEX_NEWLINE=/(r?n)/,NEWLINE_CODE=10,isSourceNode="$$$isSourceNode$$$";function SourceNode(e,n,o,r,t){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==n?null:n,this.source=null==o?null:o,this.name=null==t?null:t,this[isSourceNode]=!0,null!=r&&this.add(r)}SourceNode.fromStringWithSourceMap=function(e,n,o){var r=new SourceNode,t=e.split(REGEX_NEWLINE),i=0,u=function(){return e()+(e()||"");function e(){return i=0;n--)this.prepend(e[n]);else{if(!e[isSourceNode]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},SourceNode.prototype.walk=function(e){for(var n,o=0,r=this.children.length;o0){for(n=[],o=0;o>>((3&e)<<3)&255;return rnds}} }, {}]; window.modules["936"] = [function(require,module,exports){var rng=require(935),bytesToUuid=require(934);function v4(r,n,e){var i=n&&e||0;"string"==typeof r&&(n="binary"===r?new Array(16):null,r=null);var u=(r=r||{}).random||(r.rng||rng)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,n)for(var o=0;o<16;++o)n[i+o]=u[o];return n||bytesToUuid(u)}module.exports=v4; }, {"934":934,"935":935}]; window.modules["953"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),clientCommunicationBridge=require(131)(),ClientStateIInterface=function(){function e(){(0,_classCallCheck3.default)(this,e)}return(0,_createClass3.default)(e,[{key:"getState",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(r){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,clientCommunicationBridge.sendMessage("SpaStateInterfaceState",r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}));return function(r){return e.apply(this,arguments)}}()},{key:"setLoadedIds",value:function(e){clientCommunicationBridge.sendMessage("SpaStateInterface_SetLoadedIds",e)}}]),e}();module.exports=function(){return new ClientStateIInterface}; }, {"5":5,"6":6,"7":7,"8":8,"12":12,"131":131}]; window.modules["954"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),clientCommunicationBridge=require(131)(),ClientUserInterface=function(){function e(){(0,_classCallCheck3.default)(this,e)}return(0,_createClass3.default)(e,[{key:"addEventListener",value:function(e){var r=this,t=function(e){return Array.from(e.classList).find(function(e){return/-active$/i.test(e)})};return e.querySelectorAll("[data-fav-station]").forEach(function(e){e.addEventListener("click",function(){var a=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function a(n){var i;return _regenerator2.default.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return n.preventDefault(),n.stopPropagation(),i=t(e).includes("--active")?"removeFavorite":"addFavorite",a.next=5,r[i](e.dataset.favStation);case 5:if(!a.sent){a.next=7;break}document.querySelectorAll('[data-fav-station="'.concat(e.dataset.favStation,'"]')).forEach(function(e){return a=t(r=e),n=a.includes("--active")?a.replace("--active","--not-active"):a.replace("--not-active","--active"),void r.classList.replace(a,n);var r,a,n});case 7:case"end":return a.stop()}},a)}));return function(e){return a.apply(this,arguments)}}())}),e}},{key:"addFavorite",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(r){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,clientCommunicationBridge.sendMessage("SpaUserFavorite",{action:"addFavorite",stationId:r});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}));return function(r){return e.apply(this,arguments)}}()},{key:"removeFavorite",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(r){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,clientCommunicationBridge.sendMessage("SpaUserFavorite",{action:"removeFavorite",stationId:r});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}));return function(r){return e.apply(this,arguments)}}()}]),e}();module.exports=function(){return new ClientUserInterface}; }, {"5":5,"6":6,"7":7,"8":8,"12":12,"131":131}]; window.modules["955"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_defineProperty2=require(15),_defineProperty3=(0,_interopRequireDefault2.default)(_defineProperty2);function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r0&&void 0!==arguments[0]?arguments[0]:{},r=e.token?_objectSpread({},e.token&&{Authorization:"Bearer ".concat(e.token)}):_objectSpread({},e.authorization&&{Authorization:e.authorization}),t=_objectSpread({},e.reqBody&&{body:JSON.stringify(e.reqBody)});return _objectSpread({method:e.method||"GET",mode:e.mode||"cors",headers:_objectSpread({Accept:e.accept||"*/*","Content-Type":e.contentType||"application/json"},r),referrerPolicy:e.referrerPolicy||"origin"},t)};module.exports=getRequestParams; }, {"6":6,"15":15}]; window.modules["970"] = [function(require,module,exports){"use strict";var moment=require(30);function formatDateRange(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"MMMM D, YYYY";return e&&t?"".concat(moment(new Date(t).setHours(24)).format("MMMM D"),"-").concat(moment(new Date(e).setHours(24)).format(o)):!e&&t?"".concat(moment(new Date(t).setHours(24).format(o))):""}function formatDateTimeRange(t){var e=t.hash,o=e.dateFrom,m=e.dateTo,a=e.format,n=void 0===a?"MMMM D, YYYY [at] h:mma":a,r=e.separator,s=void 0===r?" through ":r;return o&&m?"".concat(moment.utc(o).format(n)).concat(s).concat(moment.utc(m).format(n)):""}function secondsToISO(t){return moment.duration(t,"seconds").toISOString()}function isPublished24HrsAgo(t){var e=moment(new Date(t)).valueOf(),o=!1;return moment().valueOf()-e<=864e5&&(o=!0),o}function timeAgoTimestamp(t){return moment(t).fromNow()}function formatZonedDate(t,e){var o=moment(t),m=moment().utcOffset();return o.utcOffset(m).format(e)}module.exports.formatDateRange=formatDateRange,module.exports.formatDateTimeRange=formatDateTimeRange,module.exports.formatZonedDate=formatZonedDate,module.exports.secondsToISO=secondsToISO,module.exports.isPublished24HrsAgo=isPublished24HrsAgo,module.exports.timeAgoTimestamp=timeAgoTimestamp; }, {"30":30}]; window.modules["971"] = [function(require,module,exports){"use strict";var _get=require(14),_uniq=require(106),initialLoadedIds=window.spaPayload?_get(JSON.parse(atob(window.spaPayload)),"locals.loadedIds"):[],state={loadedIds:initialLoadedIds};function getLoadedIds(){return state.loadedIds}function setLoadedIds(d){state.loadedIds=_uniq(d).sort()}document.addEventListener("set-loaded-ids",function(d){setLoadedIds(d.loadedIds)}),module.exports={getLoadedIds:getLoadedIds,setLoadedIds:setLoadedIds}; }, {"14":14,"106":106}]; window.modules["972"] = [function(require,module,exports){"use strict";var _get=require(14),getLocals=function(e){return{currentlyPlaying:_get(e,"spaPayloadLocals.currentlyPlaying",{})}};module.exports={getLocals:getLocals}; }, {"14":14}]; window.modules["985"] = [function(require,module,exports){"use strict";module.exports.stripOuterSlashes=function(e){return e.replace(/^/|/$/g,"")}; }, {}]; window.modules["986"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_toConsumableArray2=require(43),_toConsumableArray3=(0,_interopRequireDefault2.default)(_toConsumableArray2),_get=require(14),_startsWith=require(822),urlParse=require(102),_require=require(985),stripOuterSlashes=_require.stripOuterSlashes,_require2=require(99),pageTypeTagSection=_require2.pageTypeTagSection,pageTypeTagStationsDirectory=_require2.pageTypeTagStationsDirectory,pageTypeHomepage="homepage",pageTypeTagAuthor="authors",pageTypeTagTag="tag",setOfCategories=new Set(["music","news-talk","sports"]),contentPages=new Set(["article","vgallery","events","contests","authorPage"]),homepageOrStationFront=new Set(["homepage","stationFront"]),rdcOrStationSectionFront=new Set(["sectionFront","stationSectionFront"]),stationsDirectory={getCategory:function(e){var t=e.match(/^/stations/([^/]+)/),r=_get(t,"[1]");return setOfCategories.has(r)?r:""},getGenre:function(e){var t=stationsDirectory.getCategory(e);return"music"!==t?t:stripOuterSlashes(e).replace("stations/music/","")}};function assertCurrentStation(e){if(!e)throw new Error("'currentStation' must exist for station detail pages")}module.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pathname,r=e.url;if(t&&r)throw new Error("You cannot pass both 'pathname' and 'url'.");if(!t&&""!==t&&!r)throw new Error("either 'pathname' or 'url' must be passed.");r&&(t=urlParse(r).pathname);var a={getCategory:function(e){return a.isStationsDirectory()?stationsDirectory.getCategory(t):a.isStationDetail()?(assertCurrentStation(e),e.category.toLowerCase()):void 0},getGenre:function(e){if(a.isStationsDirectory())return stationsDirectory.getGenre(t);if(a.isStationDetail()){assertCurrentStation(e);var r=e.category.toLowerCase();return"music"===r&&e.genre_name.length?e.genre_name[0].toLowerCase():r}},getPageId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.page,a=e.pageName,n=a;return homepageOrStationFront.has(r)?n=pageTypeHomepage:"stationDetail"===r?n="listen_"+a:rdcOrStationSectionFront.has(r)?n=pageTypeTagSection+"_"+a:contentPages.has(r)?n=a+"_"+stripOuterSlashes(t).split("/").pop():"topicPage"===r&&(n=pageTypeTagTag+"_"+a),n},getPathname:function(){return t},getTags:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=e.page,a=e.pageName;switch(r){case"article":case"vgallery":case"events":case"contests":return[a];case"homepage":case"stationFront":return[pageTypeTagSection,pageTypeHomepage];case"sectionFront":case"stationSectionFront":return[pageTypeTagSection].concat((0,_toConsumableArray3.default)(a.split("_")));case"stationsDirectory":return[pageTypeTagStationsDirectory,a];case"stationDetail":return[a,t];case"topicPage":return[pageTypeTagTag,pageTypeTagSection,a];case"authorPage":return[pageTypeTagAuthor];default:return[]}},isAuthorPage:function(){return/^/(.*/)?authors/.+$/.test(t)},isHomepage:function(){return""===stripOuterSlashes(t)},isStationDetail:function(){return/^/[^/]+/listen$/.test(t)},isStationsDirectory:function(){return"https://www.audacy.com/stations"===t||_startsWith(t,"/stations/")},isTopicPage:function(){return/^/(.*/)?topic/.+$/.test(t)}};return a}; }, {"6":6,"14":14,"43":43,"99":99,"102":102,"822":822,"985":985}]; window.modules["987"] = [function(require,module,exports){"use strict";var makeFromPathname=require(986);module.exports=function(a){var e=a.pageData,t=a.pathname;return makeFromPathname({pathname:t}).getPageId(e).substring(0,40)}; }, {"986":986}]; window.modules["993"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),Color=function(){function e(a,r,t){(0,_classCallCheck3.default)(this,e),this._hex=a,this._midTintHex=r,this._lightTintHex=t}return(0,_createClass3.default)(e,[{key:"hex",value:function(e){var a;switch(e){case"mid":case"middle":a=this._midTintHex;break;case"light":a=this._lightTintHex;break;case"reg":case"regular":default:a=this._hex}return a}},{key:"rgb",value:function(a){var r=e.hexToRgb(this.hex(a)),t=r.r,l=r.g,i=r.b;return"rgb(".concat(t,", ").concat(l,", ").concat(i,")")}},{key:"rgba",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=e.hexToRgb(this.hex()),t=r.r,l=r.g,i=r.b;return"rgba(".concat(t,", ").concat(l,", ").concat(i,", ").concat(a,")")}}],[{key:"hexToRgb",value:function(e){e=e.replace(/^#?([a-fd])([a-fd])([a-fd])$/i,function(e,a,r,t){return a+a+r+r+t+t});var a=/^#?([a-fd]{2})([a-fd]{2})([a-fd]{2})$/i.exec(e),r={r:parseInt(a[1],16),g:parseInt(a[2],16),b:parseInt(a[3],16)};return a?r:null}}]),e}();module.exports=Color; }, {"6":6,"7":7,"12":12}]; window.modules["994"] = [function(require,module,exports){"use strict";var Color=require(993);module.exports={audacyPalette:{orange:new Color("#fe5000","#fe7333","#ffb999"),darkNavy:new Color("#090527"),purple:new Color("#7a3bcb","#9466dd","#d4c0f9"),spruceGreen:new Color("#024239","#078574","#2ec5a6"),silicaSea:new Color("#6fe2de","#93e6e4","#dff7f5"),mediumGray:new Color("#808080","#a6a6a6","#cdcdcd"),dusk:new Color("#1f2772","#363fb2","#6879e0"),mustard:new Color("#cdb300","#dfc746","#f9eaaf"),lightGray:new Color("#c5c4c1","#dfdedd","#ebebeb"),deepBlue:new Color("#11075f","#0f0fa1","#3333c3"),lilac:new Color("#9e9edd","#b3b0e2","#d2d1ed")},legacyPalette:{black:new Color("#000000"),cerulean:new Color("#05aeee"),chambray:new Color("#3b5998"),red:new Color("#ff0000"),white:new Color("#ffffff")},socialPalette:{facebook:new Color("#3b5998"),twitter:new Color("#00acee")},keenUi:{default:new Color("#ccc"),primary:new Color("#2196f3"),accent:new Color("#d500f9"),green:new Color("#4caf50"),orange:new Color("#ff9800"),red:new Color("#f44336")}}; }, {"993":993}]; window.modules["account-favorite-manager.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_inherits2=require(9),_inherits3=(0,_interopRequireDefault2.default)(_inherits2),_possibleConstructorReturn2=require(10),_possibleConstructorReturn3=(0,_interopRequireDefault2.default)(_possibleConstructorReturn2),_getPrototypeOf2=require(11),_getPrototypeOf3=(0,_interopRequireDefault2.default)(_getPrototypeOf2);function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,n=(0,_getPrototypeOf3.default)(e);if(t){var a=(0,_getPrototypeOf3.default)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,_possibleConstructorReturn3.default)(this,r)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}var _require=require(1),addEventListeners=_require.addEventListeners,_require2=require(2),events=_require2.unityOauth.events,ClientPlayerInterface=require(13),radioApiService=require(4),UnityFEComponent=require(3),COMPONENT_CONFIG_OPTIONS={bindings:["onLogout","onLogin"],listenerConfigs:[{element:document,eventName:events.login,eventHandlerName:"onLogin"},{element:document,eventName:events.logout,eventHandlerName:"onLogout"}]},COMPONENT_NAME="account-favorite-manager",SELECTORS={templateID:"account-favorite-manager-station-template",favoritesContainer:"favorite-manager-container",downloadBadgeSection:"download-badges",favoriteStationsSection:"favorite-list"},VISIBILITY={HIDDEN:"hidden",SHOWN:"shown"},AccountFavoriteManager=function(e){(0,_inherits3.default)(r,e);var t=_createSuper(r);function r(e,n,a){return(0,_classCallCheck3.default)(this,r),t.call(this,e,n,a)}return(0,_createClass3.default)(r,[{key:"showContainer",value:function(){document.getElementById(SELECTORS.favoritesContainer).classList.remove("class",VISIBILITY.HIDDEN)}},{key:"hideContainer",value:function(){document.getElementById(SELECTORS.favoritesContainer).classList.add("class",VISIBILITY.HIDDEN)}},{key:"afterMount",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r,n;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=t,e.t0){e.next=5;break}return e.next=4,window.clientUserService.getUserData();case 4:e.t0=e.sent;case 5:if(r=e.t0,n=r&&r.favorite_stations?r.favorite_stations.filter(Boolean):[],!!r){e.next=11;break}return this.hideContainer(),e.abrupt("return");case 11:if(this.showContainer(),0!==n.length){e.next=16;break}this.hideFavoritesList(),e.next=19;break;case 16:return this.showFavoritesList(),e.next=19,this.setFavoriteListItems(n);case 19:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"setFavoriteListItems",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r,n,a,i,o,s,u;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=this.getHTMLTemplate(),n=document.getElementById("favorite-list"),a=n.querySelector("p"),i=n.querySelector("ul"),o={"filtertag:google.com,2013:googlealerts/feed:433767265086469750":t.join(","),"page[size]":t.length},e.next=8,radioApiService.get("stations",o);case 8:if(s=e.sent,u=s.data,i){e.next=12;break}return e.abrupt("return");case 12:i.innerHTML="",a.setAttribute("style","display: none"),u.forEach(function(e){i.insertAdjacentHTML("beforeend",r(e))}),ClientPlayerInterface().addEventListener(i),addEventListeners(i),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(0),console.log(e.t0);case 22:case"end":return e.stop()}},e,this,[[0,19]])}));return function(t){return e.apply(this,arguments)}}()},{key:"showFavoritesList",value:function(){var e=document.getElementById(SELECTORS.downloadBadgeSection),t=document.getElementById(SELECTORS.favoriteStationsSection);e.classList.add(VISIBILITY.HIDDEN),t.classList.remove(VISIBILITY.HIDDEN)}},{key:"hideFavoritesList",value:function(){var e=document.getElementById(SELECTORS.downloadBadgeSection),t=document.getElementById(SELECTORS.favoriteStationsSection);e.classList.remove(VISIBILITY.HIDDEN),t.classList.add(VISIBILITY.HIDDEN)}},{key:"getHTMLTemplate",value:function(){var e=(document.getElementById(SELECTORS.templateID)||{}).content;if(!e)return function(){return""};var t=e.querySelector("li").cloneNode(!0),r=t.querySelector("meta"),n=t.querySelector(".lede__image"),a=t.querySelector(".station__link"),i=t.querySelector(".station__name"),o=t.querySelector(".lede__play-btn"),s=a.getAttribute("href"),u=n.getAttribute("src"),l=n.getAttribute("srcset");return function(e){var c=e.id,f=e.attributes,d=f.site_slug||f.callsign||f.id;return i.innerText=f.name,o.dataset.playStation=c,a.setAttribute("href",s.replaceAll(":s",d)),r.setAttribute("content",f.square_logo_large),n.setAttribute("srcset",l.replaceAll(":station_logo",f.square_logo_large)),n.setAttribute("src",u.replace(":station_logo",f.square_logo_large)),t.outerHTML}}},{key:"onLogin",value:function(e){this.afterMount(e.detail.userData)}},{key:"onLogout",value:function(){this.afterMount(null)}}]),r}(UnityFEComponent);module.exports=function(e){return new AccountFavoriteManager(e,COMPONENT_NAME,COMPONENT_CONFIG_OPTIONS)}; }, {"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,"10":10,"11":11,"12":12,"13":13}]; window.modules["account-profile.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_inherits2=require(9),_inherits3=(0,_interopRequireDefault2.default)(_inherits2),_possibleConstructorReturn2=require(10),_possibleConstructorReturn3=(0,_interopRequireDefault2.default)(_possibleConstructorReturn2),_getPrototypeOf2=require(11),_getPrototypeOf3=(0,_interopRequireDefault2.default)(_getPrototypeOf2);function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var n,s=(0,_getPrototypeOf3.default)(e);if(t){var a=(0,_getPrototypeOf3.default)(this).constructor;n=Reflect.construct(s,arguments,a)}else n=s.apply(this,arguments);return(0,_possibleConstructorReturn3.default)(this,n)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}var _clone=require(18),_isEmpty=require(19),_require=require(2),unityOauth=_require.unityOauth,UnityFEComponent=require(3),events=unityOauth.events,componentName="account-profile",classes={editing:"".concat(componentName,"--editing"),empty:"".concat(componentName,"__form-input-label--empty"),hide:"".concat(componentName,"--hide")},selectors={cancelBtn:".".concat(componentName,"__form-cancel-btn"),editBtn:".".concat(componentName,"__form-edit-btn"),form:".".concat(componentName,"__form"),genderOption:".".concat(componentName,"__form-group--gender-option input"),input:".".concat(componentName,"__form-input"),inputWithModifier:function(e){return".".concat(componentName,"__form-input--").concat(e)},loading:".".concat(componentName,"__loading"),loggedIn:".".concat(componentName,"__logged-in"),loginLink:".".concat(componentName,"__login-link"),notLoggedIn:".".concat(componentName,"__not-logged-in"),saveBtn:".".concat(componentName,"__form-input--submit"),staticDisplay:function(e){return".".concat(componentName,"__form-input-static-display--").concat(e," .").concat(componentName,"__form-input-static-display-value")},successMessage:".".concat(componentName,"__success-msg"),successMessageText:".".concat(componentName,"__success-msg .").concat(componentName,"__success-msg-text"),successMessageTitle:".".concat(componentName,"__success-msg .").concat(componentName,"__success-msg-title"),resetPasswordLink:".".concat(componentName,"__reset-password"),topNavLoginLink:".top-nav-login__login-link.login",userProfileId:".".concat(componentName,'__form-input input[name="userProfileId"]')},componentOptions={bindings:["onEdit","onCancel","onSave","onChange","onLogin","onLogout","onResetPassword"],domCacheConfigs:[{elementKey:"form",selector:selectors.form},{elementKey:"inputs",querySelectorMethod:"querySelectorAll",selector:selectors.input},{elementKey:"birthDay",selector:selectors.inputWithModifier("birthDay")},{elementKey:"birthMonth",selector:selectors.inputWithModifier("birthMonth")},{elementKey:"birthYear",selector:selectors.inputWithModifier("birthYear")},{elementKey:"cancelBtn",selector:selectors.cancelBtn},{elementKey:"editBtn",selector:selectors.editBtn},{elementKey:"saveBtn",selector:selectors.saveBtn},{elementKey:"loginLink",selector:selectors.loginLink},{elementKey:"topNavLoginLink",selector:selectors.topNavLoginLink},{elementKey:"loggedInDiv",selector:selectors.loggedIn},{elementKey:"notLoggedInDiv",selector:selectors.notLoggedIn},{elementKey:"loadingDiv",selector:selectors.loading},{elementKey:"successMessage",selector:selectors.successMessage},{elementKey:"successMessageTitle",selector:selectors.successMessageTitle},{elementKey:"successMessageText",selector:selectors.successMessageText},{elementKey:"resetPasswordLink",selector:selectors.resetPasswordLink}],listenerConfigs:[{elementKey:"cancelBtn",eventName:"click",eventHandlerName:"onCancel"},{elementKey:"editBtn",eventName:"click",eventHandlerName:"onEdit"},{elementKey:"saveBtn",eventName:"click",eventHandlerName:"onSave"},{elementKey:"inputs",eventName:"change",eventHandlerName:"onChange"},{element:document,eventName:events.login,eventHandlerName:"onLogin"},{element:document,eventName:events.logout,eventHandlerName:"onLogout"},{elementKey:"loginLink",eventName:"click",eventHandlerName:"onLoginClick"},{elementKey:"resetPasswordLink",eventName:"click",eventHandlerName:"onResetPassword"}]},daysInMonth=function(e,t){return new Date(e,t,0).getDate()},AccountProfile=function(e){(0,_inherits3.default)(n,e);var t=_createSuper(n);function n(e,s,a){var r;return(0,_classCallCheck3.default)(this,n),(r=t.call(this,e,s,a)).userData={},r}return(0,_createClass3.default)(n,[{key:"afterMount",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var t;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.clientUserService.getUserData();case 2:t=e.sent,this.receivedUserData(t);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"onEdit",value:function(e){var t=this.elements.saveBtn;e.preventDefault(),e.stopPropagation(),this.savedValues=_clone(this.getInputValues()),this.clearSuccessMessage(),this.setMaxBirthDay(),this.toggleEditing(),t.setAttribute("data-valid",this.checkFormValidity())}},{key:"onCancel",value:function(e){e.preventDefault(),e.stopPropagation(),this.setInputValues(this.savedValues),this.toggleEditing()}},{key:"onChange",value:function(e){var t=this.elements.saveBtn,n=e.target,s=n.parentElement,a=n.nextElementSibling;_isEmpty(n.value)?s.classList.add(classes.empty):s.classList.remove(classes.empty),this.setMaxBirthDay(),a&&a.setAttribute("data-valid",n.checkValidity()),t.setAttribute("data-valid",this.checkFormValidity())}},{key:"onSave",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var n,s;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),t.stopPropagation(),this.checkFormValidity()){e.next=4;break}return e.abrupt("return");case 4:return n=this.getInputValues(),e.next=7,window.clientUserService.patchUserData(n);case 7:(s=e.sent)?(this.showSuccessMessage("Saved!","Profile data saved successfully."),this.receivedUserData(s),this.toggleEditing()):this.showSuccessMessage("Error","There was an error saving your profile information! Please try again later.");case 9:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"onLogin",value:function(e){var t=e.detail.userData;this.receivedUserData(t)}},{key:"onLogout",value:function(){this.receivedUserData(null)}},{key:"onLoginClick",value:function(e){e.preventDefault();var t=selectors.topNavLoginLink;document.querySelector(t).click()}},{key:"onResetPassword",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var n;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),n=this.userData.email,e.next=4,window.clientUserService.resetPassword(n);case 4:e.sent?this.showSuccessMessage("Email Sent!","Please check your email at ".concat(n," for further instructions.")):this.showSuccessMessage("Error","There was a problem sending the password reset email! Please try again later.");case 6:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"receivedUserData",value:function(e){var t=this.elements,n=t.loadingDiv,s=t.loggedInDiv,a=t.notLoggedInDiv,r=!!e;this.userData=e||{},this.setInputValues(e||{}),this.setDisplayValues(e||{}),n.classList.add(classes.hide),r?(s.classList.remove(classes.hide),a.classList.add(classes.hide)):(s.classList.add(classes.hide),a.classList.remove(classes.hide))}},{key:"toggleEditing",value:function(){this.elements.componentRootElement.classList.toggle(classes.editing)}},{key:"checkFormValidity",value:function(){return Array.from(this.elements.inputs).every(function(e){return e.checkValidity()})}},{key:"getInputValue",value:function(e){var t=selectors.inputWithModifier(e);return document.querySelector(t).value}},{key:"setInputValue",value:function(e,t){var n=selectors.inputWithModifier(e),s=document.querySelector(n),a=s.parentElement;s.value=t,_isEmpty(s.value)?a.classList.add(classes.empty):a.classList.remove(classes.empty)}},{key:"setDisplayValue",value:function(e,t){var n=selectors.staticDisplay(e);document.querySelector(n).innerText=t}},{key:"getGenderInputValue",value:function(){var e="".concat(selectors.genderOption,":checked");return document.querySelector(e).nextElementSibling.innerText}},{key:"setGenderInputValue",value:function(e){var t="".concat(selectors.genderOption);document.querySelectorAll(t).forEach(function(t){var n=t.nextElementSibling;t.checked=n.innerText===e})}},{key:"getInputValues",value:function(){return{first_name:this.getInputValue("FirstName"),last_name:this.getInputValue("LastName"),birth_day:this.getInputValue("birthDay"),birth_month:this.getInputValue("birthMonth"),birth_year:this.getInputValue("birthYear"),zip_code:this.getInputValue("zip"),gender:this.getGenderInputValue()}}},{key:"setInputValues",value:function(e){this.setInputValue("FirstName",e.first_name||""),this.setInputValue("LastName",e.last_name||""),this.setInputValue("birthDay",e.birth_day),this.setInputValue("birthMonth",e.birth_month),this.setInputValue("birthYear",e.birth_year),this.setInputValue("zip",e.zip_code),this.setGenderInputValue(e.gender)}},{key:"setDisplayValues",value:function(e){var t=e.birth_day||"--",n=e.birth_month||"--",s=e.birth_year||"----",a="".concat(n,"/").concat(t,"/").concat(s);this.setDisplayValue("FirstName",e.first_name||""),this.setDisplayValue("LastName",e.last_name||""),this.setDisplayValue("email",e.email),this.setDisplayValue("birthDayString",a),this.setDisplayValue("zip",e.zip_code),this.setDisplayValue("gender",e.gender)}},{key:"showSuccessMessage",value:function(e,t){var n=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e4,a=this.elements,r=a.successMessage,i=a.successMessageTitle,o=a.successMessageText;i.innerText=e,o.innerText=t,r.classList.remove(classes.hide),this.successMessageTimeout=setTimeout(function(){return n.clearSuccessMessage()},s)}},{key:"clearSuccessMessage",value:function(){var e=this.elements,t=e.successMessage,n=e.successMessageTitle,s=e.successMessageText;t.classList.add(classes.hide),n.innerText="",s.innerText="",this.successMessageTimeout&&(clearTimeout(this.successMessageTimeout),this.successMessageTimeout=null)}},{key:"setMaxBirthDay",value:function(){var e=this.elements,t=e.birthDay,n=e.birthMonth,s=e.birthYear,a=new Date;t.max=daysInMonth(s.value,n.value),s.max=a.getFullYear()-13,n.max=12,s.value===s.max&&(n.max=a.getMonth()+1,t.max=Math.min(t.max,a.getDate()))}}]),n}(UnityFEComponent);module.exports=function(e){return new AccountProfile(e,componentName,componentOptions)}; }, {"2":2,"3":3,"5":5,"6":6,"7":7,"8":8,"9":9,"10":10,"11":11,"12":12,"18":18,"19":19}]; window.modules["alert-banner.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_defineProperty2=require(15),_defineProperty3=(0,_interopRequireDefault2.default)(_defineProperty2);function _createForOfIteratorHelper(e,r){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,i=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return l=e.done,e},e:function(e){i=!0,o=e},f:function(){try{l||null==t.return||t.return()}finally{if(i)throw o}}}}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t=2*parseFloat(r.getPropertyValue("line-height")),n=e.data.origText.split(" "),a=t&&e.clientHeight0;)n.pop(),e.innerHTML=n.join(" ")+" โ€ฆ",a=e.clientHeight1&&(clearExistingIntervals(),_fadeCycleIntervalId=setInterval(function(){return e.classList.toggle("alert-banner--show-secondary")},MESSAGE_CYCLE_DURATION))}function attachCloseHandlers(e){e.querySelectorAll(".alert-banner__message").forEach(function(r){r.querySelector(".alert-banner__close-button").addEventListener("click",closeAlert(e,r),{once:!0})})}function ensureClosedAlerts(e){for(var r,t=document.cookie,n=/atbr_(w+)=1/g;null!==(r=n.exec(t));){var a=e.querySelector("#alertBanner_".concat(r[1])),o=closeAlert(e,a);a&&o()}}function setupAlertBannerClientFunctionality(e){if(!e.bannerAlertSet){e.bannerAlertSet=!0;var r=e.querySelector(".alert-banner");r&&(handleOverflow(r),setMessageFadeCycle(r),attachCloseHandlers(r),ensureClosedAlerts(r))}}module.exports=setupAlertBannerClientFunctionality; }, {"2":2,"6":6,"15":15}]; window.modules["aptivada-widget.client"] = [function(require,module,exports){"use strict";var scriptSrc="https://campaign.aptivada.com/widget.js",createScript=function(t){var e=document.createElement("script");return e.defer=!0,e.setAttribute("src",t),e.setAttribute("type","text/javascript"),e};function loadAptivadaScript(t){function e(){var e=document.querySelector('script[src="'.concat(scriptSrc,'"]'));e||(e=createScript(scriptSrc),t.insertAdjacentElement("beforeend",e))}document.addEventListener("aptivada-widget-dismount",function t(){window.Aptivada=null;document.removeEventListener("aptivada-widget-mount",e);document.removeEventListener("aptivada-widget-dismount",t)}),document.addEventListener("aptivada-widget-mount",e)}module.exports=function(t){loadAptivadaScript(t)}; }, {}]; window.modules["article.client"] = [function(require,module,exports){"use strict";var renderClientTime=require(25);function Constructor(e){var t=this,i=document.getElementsByClassName("content__sidebar")[0],n=document.getElementsByClassName("article__body")[0];new MutationObserver(function(){t.repositionRightRail(i,n)}).observe(e,{childList:!0,subtree:!0}),renderClientTime()}Constructor.prototype={repositionRightRail:function(e,t){e.style.marginTop=t.offsetTop+"px",e.style.position="relative",e.style.visibility="visible"}},module.exports=function(e){return new Constructor(e)}; }, {"25":25}]; window.modules["author-page-header.client"] = [function(require,module,exports){"use strict";var getRightRail=require(34);module.exports=function(t){return getRightRail(t,"author")}; }, {"34":34}]; window.modules["brightcove-live.client"] = [function(require,module,exports){"use strict";var BrightcoveVideo=require("BrightcoveVideo.legacy");module.exports=function(e){return new BrightcoveVideo(e)}; }, {"BrightcoveVideo.legacy":"BrightcoveVideo.legacy"}]; window.modules["BrightcoveVideo.legacy"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_get3=require(162),_get4=(0,_interopRequireDefault2.default)(_get3),_inherits2=require(9),_inherits3=(0,_interopRequireDefault2.default)(_inherits2),_possibleConstructorReturn2=require(10),_possibleConstructorReturn3=(0,_interopRequireDefault2.default)(_possibleConstructorReturn2),_getPrototypeOf2=require(11),_getPrototypeOf3=(0,_interopRequireDefault2.default)(_getPrototypeOf2);function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,a=(0,_getPrototypeOf3.default)(e);if(t){var i=(0,_getPrototypeOf3.default)(this).constructor;r=Reflect.construct(a,arguments,i)}else r=a.apply(this,arguments);return(0,_possibleConstructorReturn3.default)(this,r)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}require(153);var _require=require(141),defer=_require.defer,_get=require(14),Video=require("Video.legacy"),clientCommunicationBridge=require(131)(),scriptLoadedPromises=[],loadedPlayers=[],_require2=require(2),DEFAULT_STATION=_require2.DEFAULT_STATION,BrightcoveVideo=function(e){(0,_inherits3.default)(r,e);var t=_createSuper(r);function r(e){var a;(0,_classCallCheck3.default)(this,r);var i=e.querySelector("video-js"),n=i.getAttribute("data-account"),o=i.getAttribute("data-player"),l=e.querySelector(".player__video-close-btn");return(a=t.call(this,e,{script:"//players.brightcove.net/".concat(n,"/").concat(o,"_default/index.min.js"),dontLoadScripts:!0})).deferredScriptLoaded=defer(),Promise.all(scriptLoadedPromises).then(function(){loadedPlayers.includes(o)?(a.whenScriptsLoaded(),a.deferredScriptLoaded.resolve()):(a.loadScripts(),loadedPlayers.push(o))}),scriptLoadedPromises.push(a.deferredScriptLoaded.promise),a.videoPlayerWrapper=e.querySelector(".player__video"),a.webPlayerPlaybackState=clientCommunicationBridge.getLatest("ClientWebPlayerPlaybackStatus",{}).playerState,clientCommunicationBridge.subscribe("ClientWebPlayerPlaybackStatus",function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=t.playerState,a.webPlayerPlaybackState=r,"play"===a.webPlayerPlaybackState&&a.hideStickyPlayer();case 3:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()),l.addEventListener("click",function(){return a.onCloseStickyPlayer()}),a}return(0,_createClass3.default)(r,[{key:"createMedia",value:function(e){var t=e.querySelector("video-js"),r=t.getAttribute("id"),a=bc(r),i=e;return this.autoplayUnmuted="true"===t.getAttribute("data-autoplay-unmuted"),this.clickToPlay="true"===t.getAttribute("data-click-to-play"),{id:r,media:a,node:i}}},{key:"prepareMedia",value:function(){var e=this;(0,_get4.default)((0,_getPrototypeOf3.default)(r.prototype),"prepareMedia",this).call(this),this.addEvent(this.getEventTypes().MEDIA_PLAY,function(){e.active=!0}),this.addEvent(this.getEventTypes().MEDIA_READY,function(){e.deferredScriptLoaded.resolve()}),this.addStationIma3ServeUrl()}},{key:"getEventTypes",value:function(){return{MEDIA_PLAY:"play",MEDIA_PAUSE:"pause",MEDIA_READY:"loadstart",AD_PLAY:"ads-play",MEDIA_VOLUME:"volumechange",AD_VOLUME:"ads-volumechange"}}},{key:"addEvent",value:function(e,t,r){r&&r.once?this.getMedia().one(e,t):this.getMedia().on(e,t)}},{key:"play",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.autoplayUnmuted){e.next=3;break}return e.next=3,this.getMedia().muted(!1);case 3:return e.next=5,this.getMedia().play();case 5:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"pause",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.active=!1,this.hideStickyPlayer(),e.next=4,(0,_get4.default)((0,_getPrototypeOf3.default)(r.prototype),"pause",this).call(this);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"mute",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getMedia().muted(!0);case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"unmute",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.userInteracted()){e.next=3;break}return e.next=3,this.getMedia().muted(!1);case 3:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"showStickyPlayer",value:function(){return clientCommunicationBridge.getLatest("ClientWebPlayerMountPlayer")&&this.videoPlayerWrapper.classList.add("web-player-exists"),"play"!==this.webPlayerPlaybackState&&(this.getNode().style.minHeight="".concat(this.videoPlayerWrapper.offsetHeight,"px"),this.videoPlayerWrapper.classList.add("player__video--out-of-view"),!0)}},{key:"hideStickyPlayer",value:function(){this.getNode().style.minHeight="initial",this.videoPlayerWrapper.classList.remove("player__video--out-of-view")}},{key:"notInView",value:function(e){var t=this,a=!1;e.forEach(function(e){0===e.intersectionRatio&&t.active?a=t.showStickyPlayer():t.hideStickyPlayer()}),a||(0,_get4.default)((0,_getPrototypeOf3.default)(r.prototype),"notInView",this).call(this,e)}},{key:"userInteracted",value:function(){return this.getMedia().userActive()}},{key:"shouldAutoplay",value:function(){return!this.clickToPlay&&(0,_get4.default)((0,_getPrototypeOf3.default)(r.prototype),"shouldAutoplay",this).call(this)}},{key:"addOverlay",value:function(){videojs.getPlayer(this.id).ready(function(){var e=this;e.on("loadstart",function(){var t=_get(e,"mediainfo.customFields.high_level_category");if(t&&"SPORTS"===t){e.overlay({class:"rdc-overlay",overlays:[{content:'n n n
    Download the RADIO.COM app
    n
    n
    n ',start:20,end:30}]});var r=e.el_.querySelector(".rdc-overlay__close");e.onRdcClose=function(t){t.target.parentElement.style.display="none",r.removeEventListener("click",e.onRdcClose)},r.addEventListener("click",e.onRdcClose)}})})}},{key:"addStationIma3ServeUrl",value:function(){videojs.getPlayer(this.id).ready(function(){var e=this.el().dataset.stationDbcBannertag,t=this.ima3.settings.serverUrl;e&&(t=t.replace(DEFAULT_STATION.national_doubleclick_bannertag,e),this.ima3.settings.serverUrl=t)})}},{key:"onCloseStickyPlayer",value:function(){this.pause()}}]),r}(Video);module.exports=BrightcoveVideo; }, {"2":2,"5":5,"6":6,"7":7,"8":8,"9":9,"10":10,"11":11,"12":12,"14":14,"131":131,"141":141,"153":153,"162":162,"Video.legacy":"Video.legacy"}]; window.modules["Video.legacy"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_get2=require(162),_get3=(0,_interopRequireDefault2.default)(_get2),_inherits2=require(9),_inherits3=(0,_interopRequireDefault2.default)(_inherits2),_possibleConstructorReturn2=require(10),_possibleConstructorReturn3=(0,_interopRequireDefault2.default)(_possibleConstructorReturn2),_getPrototypeOf2=require(11),_getPrototypeOf3=(0,_interopRequireDefault2.default)(_getPrototypeOf2);function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,n=(0,_getPrototypeOf3.default)(e);if(t){var u=(0,_getPrototypeOf3.default)(this).constructor;r=Reflect.construct(n,arguments,u)}else r=n.apply(this,arguments);return(0,_possibleConstructorReturn3.default)(this,r)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}var Media=require("Media.legacy"),_require=require(150),isMobileWidth=_require.isMobileWidth,Video=function(e){(0,_inherits3.default)(r,e);var t=_createSuper(r);function r(e,n){var u;return(0,_classCallCheck3.default)(this,r),(u=t.call(this,e,n)).userInteraction=!1,u}return(0,_createClass3.default)(r,[{key:"prepareMedia",value:function(){var e=this,t=this.getEventTypes();this.addEvent(t.MEDIA_READY,function(){return e.autoPlayOrPause()},{once:!0})}},{key:"unmuteOnPlay",value:function(e){var t=this;this.addEvent(e.MEDIA_PLAY,function(){return t.unmute()})}},{key:"addInteractionEvents",value:function(e){var t=this;this.addEvent(e.MEDIA_PAUSE,function(){t.log("PAUSE interaction"),t.userInteraction=!0},{once:!0}),this.addEvent(e.MEDIA_VOLUME,function(){t.log("VOLUME interaction"),t.userInteraction=!0},{once:!0})}},{key:"userInteracted",value:function(){return this.userInteraction}},{key:"pauseOnUnmute",value:function(e){var t=this;this.addEvent(e.MEDIA_VOLUME,function(){return t.pauseOtherActiveMedia()}),e.AD_VOLUME&&this.addEvent(e.AD_VOLUME,function(){return t.pauseOtherActiveMedia()})}},{key:"shouldAutoplay",value:function(){return!isMobileWidth()&&this.isLead()}},{key:"autoPlayOrPause",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var t;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.getEventTypes(),!this.shouldAutoplay()){e.next=9;break}return e.next=4,this.mute();case 4:return e.next=6,this.play();case 6:this.addInteractionEvents(t),e.next=14;break;case 9:return e.next=11,this.pause();case 11:return e.next=13,this.unmute();case 13:this.userInteraction=!0;case 14:(0,_get3.default)((0,_getPrototypeOf3.default)(r.prototype),"prepareMedia",this).call(this),this.unmuteOnPlay(t),this.pauseOnUnmute(t);case 17:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"unmute",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.userInteracted()){e.next=3;break}return e.next=3,(0,_get3.default)((0,_getPrototypeOf3.default)(r.prototype),"unmute",this).call(this);case 3:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"pauseOtherActiveMedia",value:function(){if(this.userInteracted())return(0,_get3.default)((0,_getPrototypeOf3.default)(r.prototype),"pauseOtherActiveMedia",this).call(this)}}]),r}(Media);module.exports=Video; }, {"5":5,"6":6,"7":7,"8":8,"9":9,"10":10,"11":11,"12":12,"150":150,"162":162,"Media.legacy":"Media.legacy"}]; window.modules["Media.legacy"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_defineProperty2=require(15),_defineProperty3=(0,_interopRequireDefault2.default)(_defineProperty2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t=LAZY_LOAD_MINIMUM,fbSdkUrl="//connect.facebook.net/en_US/all.js#xfbml=1&version=v2.3";function Constructor(e){var t=this;window.FB?this.processFbPost(e):document.querySelector('script[src="'.concat(fbSdkUrl,'"]'))||this.mountFacebookSdk(function(n){if(n)throw n;t.processFbPost(e)})}Constructor.prototype={mountFacebookSdk:function(e){var t=document.getElementsByTagName("script")[0],n=document.createElement("script");n.onload=function(){return e(null)},n.onerror=function(t){return e(t)},n.src=fbSdkUrl,t.parentNode.insertBefore(n,t)},processFbPost:function(e){this.visible=new $visibility.Visible(e,{shownThreshold:SHOWN_THRESHOLD}),lazyLoadEmbeds?(this.hideContent(e),this.initializeVisible(e)):FB.XFBML.parse()},initializeVisible:function(e){this.visible.on("shown",this.showContent.bind(this,e))},showContent:function(e){var t=e.innerHTML;e.classList.contains("rendered")||(t=t.replace("x3c!--",""),t=this.replaceRight(t,"--x3e",""),e.innerHTML=t,e.classList.add("rendered"),FB.XFBML.parse())},hideContent:function(e){e.innerHTML="x3c!--"+e.innerHTML+"--x3e"},replaceRight:function(e,t,n){var i=e.lastIndexOf(t);return-1===i?e:e.substring(0,i)+n+e.substring(i+t.length)}},module.exports=function(e){return new Constructor(e)}; }, {"62":62}]; window.modules["featured-stations-carousel.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_bindAll=require(66),_debounce=require(67),classes={component:"featured-stations-carousel",currentPageIndicator:"active",disableControls:"disabled"},Hammer=require(65),hammerDirectionLeft=2,hammerDirectionRight=4,hammerDeltaXThreshold=5,selectors={carouselCard:".carousel-card",carouselCards:".carousel-cards",carouselControls:".carousel-controls",carouselMask:".carousel-mask",directionalBtnLeft:".carousel-control-btn.left",directionalBtnRight:".carousel-control-btn.right",paginationDot:".pagination-dot",paginationDotsWrap:".pagination-dots",paginationDotTemplate:"#paginationDotTemplate",verticalCarouselCard:".subset",verticalCarouselCards:".vertical-carousel-cards"},FeaturedStationsCarouselState=function(){function e(t){(0,_classCallCheck3.default)(this,e),this.carousel=t,this._pageIndex=0,this.usesVerticalOption="true"===t.elements.el.dataset.isVertical}return(0,_createClass3.default)(e,[{key:"isDisplayingVertically",get:function(){return window.innerWidth>1023}},{key:"pageIndex",get:function(){return this._pageIndex},set:function(e){e>this.totalPages-1||e<0||(this._pageIndex=e)}},{key:"possibleCardSlots",get:function(){var e=window.innerWidth,t=8;return e>480&&e<1024&&(t=4),e>0&&e<481&&(t=2),this.isDisplayingVertically&&this.usesVerticalOption?1:t}},{key:"totalCards",get:function(){var e=this.carousel.elements,t=e.cards,a=e.verticalCards;return(this.isDisplayingVertically&&this.usesVerticalOption?a:t).length}},{key:"totalPages",get:function(){return Math.ceil(this.totalCards/this.possibleCardSlots)}}]),e}(),FeaturedStationsCarousel=function(){function e(t){var a=this;(0,_classCallCheck3.default)(this,e),this.onResizeDebounced=_debounce(this.onResize,350,{leading:!1,trailing:!0}),_bindAll(this,["onResizeDebounced","onClick","onPan"]),document.addEventListener("".concat(classes.component,"-mount"),function(){return a.onMount(t)},{once:!0}),document.addEventListener("".concat(classes.component,"-dismount"),function(){return a.onDismount()},{once:!0})}return(0,_createClass3.default)(e,[{key:"addOrRemoveListeners",value:function(e){var t="".concat(e,"EventListener");this.elements.el[t]("click",this.onClick),window[t]("resize",this.onResizeDebounced)}},{key:"cacheDomElements",value:function(e){this.elements={cards:e.querySelectorAll(selectors.carouselCard),cardsWrap:e.querySelector(selectors.carouselCards),controls:e.querySelector(selectors.carouselControls),forwardBtn:e.querySelector(selectors.directionalBtnRight),backwardBtn:e.querySelector(selectors.directionalBtnLeft),dotTemplate:e.querySelector(selectors.paginationDotTemplate),dotsWrap:e.querySelector(selectors.paginationDotsWrap),el:e,mask:e.querySelector(selectors.carouselMask),verticalCards:e.querySelectorAll(selectors.verticalCarouselCard),verticalCardsWrap:e.querySelector(selectors.verticalCarouselCards)}}},{key:"createPaginationDots",value:function(){var e=this.elements,t=e.dotTemplate,a=e.dotsWrap,s=this.state.totalPages;a.innerHTML="";for(var r=0;rhammerDeltaXThreshold&&(e.direction===hammerDirectionLeft?this.elements.forwardBtn.click():e.direction===hammerDirectionRight&&this.elements.backwardBtn.click()))}},{key:"onResize",value:function(){this.resetCarousel()}},{key:"resetCarousel",value:function(){this.state.totalPages<2?this.elements.controls.classList.add(classes.disableControls):this.elements.controls.classList.remove(classes.disableControls),this.setPageAndUpdateCarousel(0,0,!0)}},{key:"setActivePaginationDot",value:function(){var e=this.elements.el,t=this.state.pageIndex;e.querySelectorAll(selectors.paginationDot).forEach(function(e,a){e.dataset.pageIndex=a,a===t?e.classList.add(classes.currentPageIndicator):e.classList.remove(classes.currentPageIndicator)})}},{key:"setCardsPosition",value:function(e){var t=this.elements,a=t.cardsWrap,s=t.mask,r=t.verticalCardsWrap,n=this.state,i=n.isDisplayingVertically,o=n.usesVerticalOption,l=s.offsetWidth;i&&o?r.style.transform="translateX(".concat(l*e*-1,"px)"):a.style.transform="translateX(".concat(-1*(l*e+20*e),"px)")}},{key:"setDirectionalBtnStates",value:function(){var e=this.elements,t=e.forwardBtn,a=e.backwardBtn,s=this.state,r=s.pageIndex,n=s.totalPages;a.disabled=0===r,t.disabled=r===n-1}},{key:"setPageAndUpdateCarousel",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.state.pageIndex=e+t,a&&this.createPaginationDots(),this.setActivePaginationDot(),this.setCardsPosition(this.state.pageIndex),this.setDirectionalBtnStates()}}]),e}();module.exports=function(e){return new FeaturedStationsCarousel(e)}; }, {"6":6,"7":7,"12":12,"65":65,"66":66,"67":67}]; window.modules["follow.client"] = [function(require,module,exports){"use strict";var $popup=require(88),_=require(89);function Constructor(t){this.el=t}Constructor.prototype={events:{click:"openFollow"},openFollow:function(t){var e,n,a=$popup.position,r=$popup.params,o={},l={w:780,h:500},s=a(l.w,l.h),p=this.el.classList;t.target.hasAttribute("data-handle")?o.handle=t.target.getAttribute("data-handle"):o.handle=t.target.parentNode.getAttribute("data-handle"),l.left=s.left,l.top=s.top,n=_.find([{className:"facebook",url:"https://facebook.com/{handle}",network:"Facebook"},{className:"pinterest",url:"http://www.pinterest.com/{handle}",network:"Pinterest"},{className:"instagram",url:"https://www.instagram.com/{handle}",network:"Instagram"},{className:"rss",url:"http://feeds.feedburner.com/{handle}",network:"RSS"},{className:"twitter",url:"https://twitter.com/intent/follow?screen_name={handle}&tw_p=followbutton&variant=2.0",network:"Twitter"}],function(t){return p.contains(t.className)}),o.url=n.url.replace("{handle}",o.handle),o.network=n.network,o.name="Follow "+o.handle+" on "+o.network,e=r(o,l),window.open(e.address,e.name,e.features),t.preventDefault()}},module.exports=function(t){return new Constructor(t)}; }, {"88":88,"89":89}]; window.modules["gallery.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_slicedToArray2=require(22),_slicedToArray3=(0,_interopRequireDefault2.default)(_slicedToArray2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),renderClientTime=require(25),Gallery=function(){function e(i){var t=this;(0,_classCallCheck3.default)(this,e),this.sidebar=document.querySelector(".content__sidebar"),this.galleryBody=document.querySelector(".gallery__body"),this.firstInlineAd=document.querySelector(".slides__ad-container"),this.virtualPageviewObserver=new IntersectionObserver(this.virtualPageview.bind(this),{root:null,rootMargin:"0px",threshold:1}),this.galleryAdTotal=document.querySelectorAll(".slides__ad-container").length,this.trackedPageviews=[],new MutationObserver(function(){t.repositionRightRail()}).observe(i,{childList:!0,subtree:!0}),this.firstInlineAd&&window.addEventListener("scroll",function(){t.hideTertiaryStickyAd()}),document.addEventListener("gallery-dismount",function(){var e=this;window.removeEventListener("scroll",function(){e.hideTertiaryStickyAd()})}.bind(this)),document.querySelectorAll(".gallery__body .slides__ad-container .google-ad-manager__slot").forEach(function(e){t.virtualPageviewObserver.observe(e)}),renderClientTime()}return(0,_createClass3.default)(e,[{key:"repositionRightRail",value:function(){this.sidebar.style.marginTop=this.galleryBody.offsetTop+"px",this.sidebar.style.position="relative",this.sidebar.style.visibility="visible"}},{key:"hideTertiaryStickyAd",value:function(){var e=document.querySelector(".content__sidebar .sticky");e.offsetTop+e.offsetHeight>this.firstInlineAd.offsetTop?"hidden"!==e.style.visibility&&(e.style.visibility="hidden"):"visible"!==e.style.visibility&&(e.style.visibility="visible")}},{key:"virtualPageview",value:function(e){var i=this;e.forEach(function(e){var t=/([d]+)$/.exec(e.target.getAttribute("id")),r=(0,_slicedToArray3.default)(t,1)[0];if(1===e.intersectionRatio&&-1===i.trackedPageviews.indexOf(r)){var l={event:"virtualPageview",galleryAdPosition:r,galleryAdTotal:i.galleryAdTotal,userId:window.clientUserService.getUserId()};window.dataLayer=window.dataLayer||[],window.dataLayer.push(l),i.trackedPageviews.push(r)}})}}]),e}();module.exports=function(e){return new Gallery(e)}; }, {"6":6,"7":7,"12":12,"22":22,"25":25}]; window.modules["google-ad-manager.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_toConsumableArray2=require(43),_toConsumableArray3=(0,_interopRequireDefault2.default)(_toConsumableArray2),_slicedToArray2=require(22),_slicedToArray3=(0,_interopRequireDefault2.default)(_slicedToArray2);function _createForOfIteratorHelper(e,t){var a;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(a=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i=!0,s=!1;return{s:function(){a=e[Symbol.iterator]()},n:function(){var e=a.next();return i=e.done,e},e:function(e){s=!0,r=e},f:function(){try{i||null==a.return||a.return()}finally{if(s)throw r}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a0&&(googletag.pubads().refresh([allAdSlots[e.target.id]],{changeCorrelator:!1}),t.unobserve(e.target))})}adMapping.setupSizeMapping(),function(){var e=document.getElementsByTagName("script")[0],t=document.createElement("script");t.async=!0,t.src="https://native.sharethrough.com/assets/sfp.js",e.parentNode.insertBefore(t,e)}(),document.addEventListener("content-feed-lazy-load",function(){googletag.destroySlots(),adsMounted=!0,initializeAds()},!1),document.addEventListener("google-ad-manager-mount",function(){initializeAds(),adsMounted=!0,windowWidth=window.innerWidth,teads.mount(),window.addEventListener("resize",debounceRefresh())}),document.addEventListener("google-ad-manager-dismount",function(){teads.cleanup(),googletag.cmd.push(function(){googletag.destroySlots()}),window.removeEventListener("resize",debounceRefresh())}),window.onload=function(){var e=document.querySelector("body");new MutationObserver(function(e){e.forEach(function(){var e=getCurrentLocation();prevLocation!==e&&(prevLocation=e,refreshAllSlots())})}).observe(e,{childList:!0,subtree:!0})},googletag.cmd.push(function(){googletag.pubads().addEventListener("impressionViewable",function(e){allAdSlots[e.slot.getSlotElementId()]&&!adsRefreshing&&(adsRefreshing=!0,googletag.pubads().setTargeting("refresh",(refreshCount++).toString()),setTimeout(function(){var e=Object.entries(allAdSlots).filter(function(e){var t=(0,_slicedToArray3.default)(e,1)[0];return t=t.split("--")[1],!disabledRefreshAds.has(t)}),t=e.map(function(e){return(0,_slicedToArray3.default)(e,2)[1]}),a=e.reduce(function(e,t){var a=(0,_slicedToArray3.default)(t,2),n=a[0],o=a[1];return e[n]=o,e},{});amazonTam.fetchAPSBids(a,function(){clearDfpTakeover(),googletag.pubads().refresh(t,{changeCorrelator:!1}),(0,_toConsumableArray3.default)(document.querySelectorAll(".google-ad-manager__slot")).forEach(function(e){observer.unobserve(e)}),adsRefreshing=!1})},adRefreshInterval))}),googletag.pubads().addEventListener("slotRenderEnded",function(e){var t=e.slot.getSlotElementId(),a=document.getElementById(t).parentElement;a.classList.contains("google-ad-manager__slot--outOfPage")&&updateSkinStyles(!e.isEmpty),e.isEmpty?a.style.display="none":(a.style.display="flex",a.classList.contains("google-ad-manager--mobile-adhesion")&&addCloseEvent(a))})});var refreshAllSlots=function(){googletag.cmd.push(function(){googletag.pubads().refresh()})};function addCloseEvent(e){e.querySelector(".mobile-adhesion__close").addEventListener("click",function(e){e.target.parentElement.style.display="none"},!0)}function updateSkinStyles(e){var t=document.querySelector(".google-ad-manager--billboard");e?(t.style.background="transparent",t.style["margin-bottom"]="0"):(t.style.background=null,t.style["margin-bottom"]=null,document.body.style.backgroundColor=null)}function setAdsIDs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=/google-ad-manager__slot--([^s"]+)/;e=e||document.getElementsByClassName("component--google-ad-manager"),(0,_toConsumableArray3.default)(e).forEach(function(e){var a=e.querySelector(".google-ad-manager__slot"),n=t.exec(a.classList[1]),o=(0,_slicedToArray3.default)(n,2)[1];void 0===adIndices[o]?adIndices[o]=1:adIndices[o]++,a.id=a.classList[1].concat("-",adIndices[o])}),createAds(e)}function isArticleOrGallery(e){return"article"===e.page||"vgallery"===e.page}function getAuthors(e){if(!isArticleOrGallery(e))return[];var t="article"===e.page?"article":"gallery";return Array.from(document.querySelectorAll(".component--".concat(t," .author"))).map(function(e){return e.getAttribute("data-author").replace(/s/,"-").toLowerCase()})}function getContentAdTags(){var e=document.querySelector(".component--ad-tags");return e?(e.dataset.adTags||"").split(","):[]}function getInitialAdTargetingData(e,t){var a=getAuthors(t),n=getContentAdTags(),o=getTrackingData({pathname:window.location.pathname,station:e,pageData:t,contentTags:n}),r=(getMetaTagContent("name",NMC.tag)||"").replace(///g,",").split(",").concat(o.tag),i=r.map(slugifyService),s={targetingAuthors:a,targetingTags:_uniq(i.concat(r)).filter(Boolean).join(",")};return Object.assign(s,{targetingCategory:o.cat,targetingGenre:o.genre,targetingMarket:o.market,targetingPageId:o.pid,targetingRadioStation:o.station}),s}function getCurrentStation(){var e=document.querySelector(".component--google-ad-manager");return JSON.parse(e.dataset.gamStationData)}function getAdTargeting(e){var t=document.querySelector(".component--google-ad-manager").dataset.doubleclickBannerTag,a=getCurrentStation(),n=doubleclickPrefix.concat("/",t),o=getInitialAdTargetingData(a,e);switch(e.page){case"article":case"vgallery":o.siteZone=n.concat("/",e.pageName);break;case"contests":o.siteZone=n.concat("/","contest");break;case"events":o.siteZone=n.concat("/","event");break;case"homepage":case"stationFront":o.siteZone=n.concat("/","home");break;case"sectionFront":case"stationSectionFront":var r=e.pageName.split("_"),i="podcasts"===r[0]&&r.length>=2,s=i&&r.length>2,l=i?s?"podcasts/podcasts_episode":"podcast":r.join("/");o.siteZone=n.concat("/",l);break;case"stationsDirectory":o.siteZone=n.concat("/".concat(e.pageName,"_music"));break;case"stationDetail":o.siteZone=n.concat("/".concat(e.pageName));break;case"topicPage":o.siteZone=n.concat("/","tag");break;case"authorPage":o.siteZone=n.concat("/","show")}return o}function createAds(e){var t=urlParse(window.location,!0).query,a=getMetaTagContent("property",OG_TYPE),n=getCurrentStation(),o=getPageData(window.location.pathname,a,n.site_slug),r=getAdTargeting(o),i=[];calculatePos(e,o.page),googletag.cmd.push(function(){googletag.pubads().setTargeting("refresh",(refreshCount++).toString());var a,n=_createForOfIteratorHelper(e);try{for(n.s();!(a=n.n()).done;){var o=a.value,s=o.querySelector(".google-ad-manager__slot"),l=o.getAttribute("data-ad-size"),d=o.getAttribute("data-ad-position"),u=o.getAttribute("data-ad-location"),c=googletag.pubads(),g=adMapping.sizeMapping[l],f=void 0;"outOfPage"===l||"station-1-by-1"===l?f=googletag.defineOutOfPageSlot(r.siteZone,s.id):(f=googletag.defineSlot(r.siteZone,[adSizes[l].defaultSize],s.id)).defineSizeMapping(g),f.setTargeting("station",r.targetingRadioStation).setTargeting("genre",r.targetingGenre).setTargeting("cat",r.targetingCategory).setTargeting("tag",r.targetingTags).setTargeting("pid",r.targetingPageId).setTargeting("pos",d).setTargeting("loc",u).setTargeting("adtest",t.adtest||"").addService(c),r.targetingMarket&&f.setTargeting("market",r.targetingMarket),"sharethrough-tag"===l&&f.setTargeting("strnativekey",sharethroughPlacementKey),r.targetingAuthors.length&&f.setTargeting("author",r.targetingAuthors),allAdSlots[s.id]=f,i.push(s)}}catch(e){n.e(e)}finally{n.f()}amazonTam.fetchAPSBids(allAdSlots,(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i.forEach(function(e){var t=allAdSlots[e.id];googletag.display(e.id),"atf"===t.getTargeting("loc")[0]?initialPageAdSlots.push(t):observer.observe(e)}),e.next=3,initializeMoatViewability();case 3:googletag.pubads().refresh(initialPageAdSlots);case 4:case"end":return e.stop()}},e)})))})}function calculatePos(e,t){var a=(0,_toConsumableArray3.default)(e),n=a.filter(function(e){return rightRailAdSizes.includes(e.getAttribute("data-ad-size"))}),o=[],r=[],i=[],s=[];"homepage"===t||"stationFront"===t||"sectionFront"===t?(i=a.filter(function(e){return"atf"===e.getAttribute("data-ad-location")}),s=a.filter(function(e){return"btf"===e.getAttribute("data-ad-location")})):(o=a.filter(function(e){return"billboard"===e.getAttribute("data-ad-size")}),r=n.filter(function(e){return"content__sidebar"!==e.parentElement.className&&"medium-rectangle"===e.getAttribute("data-ad-size")}),i=a.filter(function(e){return"content__sidebar"===e.parentElement.className&&"atf"===e.getAttribute("data-ad-location")}),s=a.filter(function(e){return"content__sidebar"===e.parentElement.className&&"btf"===e.getAttribute("data-ad-location")}));var l,d=[].concat((0,_toConsumableArray3.default)(i),(0,_toConsumableArray3.default)(s),(0,_toConsumableArray3.default)(o),(0,_toConsumableArray3.default)(r)),u=_createForOfIteratorHelper(_union(d,a));try{var c=function(){var t=l.value,a=t.getAttribute("data-ad-size"),n=t.getAttribute("data-ad-position");"billboard"===a&&("top"!==n&&(n=n?"".concat(n,"-").concat(countBillboard):"bottom-".concat(countBillboard)),countBillboard++),rightRailAdSizes.includes(a)&&(n="".concat(n,"-").concat(countMediumRectangle++)),document.querySelector(".component--gallery")&&"leader"===n?n="".concat(n).concat(numGalleryInline++):document.querySelector(".component--stations-directory")&&"leader"===n&&(n="".concat(n).concat(numStationsDirectoryInline++)),e.forEach(function(e){e.querySelector(".google-ad-manager__slot")===t.querySelector(".google-ad-manager__slot")&&e.setAttribute("data-ad-position",n)})};for(u.s();!(l=u.n()).done;)c()}catch(e){u.e(e)}finally{u.f()}}function resizeForSkin(){var e,t=document.querySelector(".layout__content"),a=document.querySelectorAll(".component--stations-carousel"),n=window.innerWidth,o=[];return e=n>=1280?"1220px":n<1280&&n>=1024?"100vw":t.clientWidth,a.forEach(function(t){var a=window.getComputedStyle(t),n=a.margin,r=a.width;o.push({margin:n,width:r}),Object.assign(t.style,{"margin-left":"calc((100% - ".concat(e,")/2)"),width:e})}),function(){a.forEach(function(e,t){var a=o[t],n=a.margin,r=a.width;Object.assign(e.style,{margin:n,width:r})})}}function debounceRefresh(){return _debounce(function(){window.innerWidth!=windowWidth&&(windowWidth=window.innerWidth,refreshAllSlots())},500)}function getCurrentLocation(){var e=new URL(window.location.href);return e.hash="",e.toString()}document.querySelectorAll(".google-ad-manager--mobile-adhesion").forEach(function(e){return addCloseEvent(e)}),window.disableAdRefresh=function(e){e.forEach(function(e){return disabledRefreshAds.add(e)})},window.enableAdRefresh=function(e){e.forEach(function(e){return disabledRefreshAds.delete(e)})},window.freq_dfp_takeover=function(e,t,a,n){var o=document.createElement("div"),r=document.querySelector(".layout__topSection")||document.querySelector(".layout__top"),i=resizeForSkin(),s=getCurrentStation();if(void 0===a&&(a="#FFF"),void 0===n&&(n="absolute"),o.setAttribute("id","freq-dfp--bg-skin"),o.setAttribute("class","advertisement--full"),o.setAttribute("data-ad-type","fullpageBanner"),o.style.position=n,"fixed"==n&&(window.onscroll=function(){var e=void 0!==window.pageXOffset,t="CSS1Compat"===(document.compatMode||"")?document.documentElement.scrollTop:document.body.scrollTop,a=e?window.pageYOffset:t,n=document.getElementsByClassName("radiocom-nav")[0].clientHeight;n&&a>=n?(o.style.position="fixed",o.style["padding-top"]="0px"):o.style.position="absolute"}),t&&(o.onclick=window.open.bind(this,t,"_new")),e){var l=document.createElement("div"),d=new Image,u=document.getElementsByTagName("body")[0];l.style["background-image"]="url(".concat(e,")"),l.setAttribute("class","dfp-takeover-skin"),o.appendChild(l),d.src=e,d.onload=function(){void 0!==d.width&&d.width>1&&(updateSkinStyles(!0),u.classList.add("has-fullpage-ad"),document.querySelector(".google-ad-manager--global-logo-sponsorship")&&s.site_slug&&u.classList.add("has-global-sponsorship-ad"))}}r&&(document.body.style.backgroundColor=a,r.parentNode.insertBefore(o,r.nextSibling)),clearDfpTakeover=function(){var e=document.getElementsByTagName("body")[0];o.remove(),e&&(e.classList.remove("has-fullpage-ad"),e.classList.remove("has-global-sponsorship-ad")),i(),updateSkinStyles(!1)}}; }, {"5":5,"6":6,"8":8,"14":14,"20":20,"22":22,"43":43,"46":46,"67":67,"95":95,"96":96,"99":99,"100":100,"101":101,"102":102,"103":103,"104":104,"105":105,"106":106}]; window.modules["google-tag-manager.client"] = [function(require,module,exports){"use strict";!function(){if("undefined"!=typeof window){var t=document.getElementsByTagName("script")[0],e=document.createElement("script"),a=document.getElementById("google-tag-manager").getAttribute("data-container-id");window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js"}),e.async=!0,e.src="https://www.googletagmanager.com/gtm.js?id=GTM-".concat(a),t.parentNode.insertBefore(e,t)}}(),document.addEventListener("pageView",function(t){window.dataLayer=window.dataLayer||[];var e={event:"Pageview",title:t.detail.toTitle,"og:title":t.detail.toTitle,description:t.detail.toDescription,"twitter:image":t.detail.toMetaImageUrl,"og:image":t.detail.toMetaImageUrl,url:"".concat(window.location.protocol,"//").concat(window.location.hostname).concat(t.detail.toPath),userId:window.clientUserService.getUserId()};window.dataLayer.push(e)}); }, {}]; window.modules["host-page-header.client"] = [function(require,module,exports){"use strict";var getRightRail=require(34);module.exports=function(t){return getRightRail(t,"host")}; }, {"34":34}]; window.modules["html-embed.client"] = [function(require,module,exports){"use strict";var scriptEmbed=require(110);module.exports=function(e){return scriptEmbed(e)}; }, {"110":110}]; window.modules["instagram-post.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),embedsLibraryUrl="//platform.instagram.com/en_US/embeds.js",InstagramEmbeds=function(){function e(){(0,_classCallCheck3.default)(this,e),window.instgrm?this.process():document.querySelector('script[src="'.concat(embedsLibraryUrl,'"]'))||this.mount()}return(0,_createClass3.default)(e,[{key:"mount",value:function(){var e=this,r=document.getElementsByTagName("script")[0],t=document.createElement("script");t.onload=function(){e.process()},t.src=embedsLibraryUrl,r.parentNode.insertBefore(t,r)}},{key:"process",value:function(){window.instgrm.Embeds.process()}}]),e}();module.exports=function(e){return new InstagramEmbeds(e)}; }, {"6":6,"7":7,"12":12}]; window.modules["latest-recirculation.client"] = [function(require,module,exports){"use strict";void 0===window.document.createElement("div").style.webkitLineClamp&&document.querySelector("html").classList.add("no-line-clamp"); }, {}]; window.modules["latest-top-recirc-slider.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),Hammer=require(65),SliderDom=function(){function t(e){var i=this;(0,_classCallCheck3.default)(this,t),this.dom={el:e,btns:{left:e.querySelector(".latest-top-recirc-slider__control--left"),right:e.querySelector(".latest-top-recirc-slider__control--right"),canMoveRight:!0,canMoveLeft:!1,disabledOpacity:.35},itemsContainer:{el:e.querySelector(".latest-top-recirc-slider__items-container"),x:0,getViewWidth:function(){return i.dom.itemsContainer.el.offsetWidth},getSlides:function(){return Array.from(i.dom.itemsContainer.el.children)},getSingleSlideWidth:function(){return i.dom.itemsContainer.el.children[0].offsetWidth},getTotalWidthOfSlides:function(){return i.dom.itemsContainer.getSlides().reduce(function(t,e){return t+e.offsetWidth},0)},getInitialOffset:function(){return i.dom.itemsContainer.getSingleSlideWidth()-i.dom.itemsContainer.getViewWidth()%i.dom.itemsContainer.getSingleSlideWidth()},getMaxX:function(){return i.dom.itemsContainer.getTotalWidthOfSlides()-i.dom.itemsContainer.getViewWidth()},getSlidesVisible:function(){return i.dom.itemsContainer.getViewWidth()/i.dom.itemsContainer.getSingleSlideWidth()},getTotalClicksToTheRight:function(){return i.dom.itemsContainer.getSlides().length-i.dom.itemsContainer.getSlidesVisible()}},items:e.querySelectorAll(".latest-top-recirc-slider__item-container")},this._maxClicksRight=Math.round(this.dom.itemsContainer.getTotalClicksToTheRight()),this.setBtnsState()}return(0,_createClass3.default)(t,[{key:"setItemsContainerPosition",value:function(t){var e=this.dom,i=e.btns,s=e.itemsContainer;this.maxClicksRight=t,t>0&&!i.canMoveLeft||t<0&&!i.canMoveRight||(this.setBtnsState(),s.x+=s.getSingleSlideWidth()*t,s.el.style.transform="translateX(".concat(s.x,"px)"))}},{key:"setBtnsState",value:function(){var t=this.dom,e=t.btns,i=t.itemsContainer,s=e.left,n=e.right;this.maxClicksRight>0?(e.canMoveRight=!0,n.style.opacity=1):(e.canMoveRight=!1,n.style.opacity=e.disabledOpacity),Math.round(i.getTotalClicksToTheRight())-this.maxClicksRight>0?(e.canMoveLeft=!0,s.style.opacity=1):(e.canMoveLeft=!1,s.style.opacity=e.disabledOpacity)}},{key:"onResize",value:function(){var t=this.dom.itemsContainer;t.x=0,t.el.style.transform="translateX(".concat(t.x,"px)"),this.setBtnsState(),this.maxClicksRight=Math.round(t.getTotalClicksToTheRight())}},{key:"maxClicksRight",set:function(t){this._maxClicksRight+=t,this._maxClicksRight<0?this._maxClicksRight=0:this._maxClicksRight>Math.round(this.dom.itemsContainer.getTotalClicksToTheRight())&&(this._maxClicksRight=Math.round(this.dom.itemsContainer.getTotalClicksToTheRight()))},get:function(){return this._maxClicksRight}}]),t}(),Slider=function(){function t(){var e=this;(0,_classCallCheck3.default)(this,t),this.onClick=this.onClick.bind(this),this.onResize=this.onResize.bind(this),document.addEventListener("latest-top-recirc-slider-mount",function(t){return e.onMount(t)}),document.addEventListener("latest-top-recirc-slider-dismount",function(t){return e.onDismount(t)})}return(0,_createClass3.default)(t,[{key:"onMount",value:function(){var t=this;this.sd=new SliderDom(document.querySelector(".latest-top-recirc-slider")),this.sd.dom.el.addEventListener("click",this.onClick),window.addEventListener("resize",this.onResize),this.hammer=new Hammer(this.sd.dom.itemsContainer.el),this.hammer.on("swipeleft swiperight",function(e){"swipeleft"===e.type&&t.moveRight(),"swiperight"===e.type&&t.moveLeft()})}},{key:"onDismount",value:function(){this.sd.dom.el.removeEventListener("click",this.onClick),window.removeEventListener("resize",this.onResize),this.hammer.off("swipeleft swiperight",this.sd.dom.itemsContainer.el)}},{key:"onClick",value:function(t){(t.target===this.sd.dom.btns.right||this.sd.dom.btns.right.contains(t.target))&&this.moveRight(),(t.target===this.sd.dom.btns.left||this.sd.dom.btns.left.contains(t.target))&&this.moveLeft()}},{key:"onResize",value:function(){this.sd.onResize()}},{key:"moveLeft",value:function(){this.sd.setItemsContainerPosition(1)}},{key:"moveRight",value:function(){this.sd.setItemsContainerPosition(-1)}}]),t}();module.exports=function(t){return new Slider(t)}; }, {"6":6,"7":7,"12":12,"65":65}]; window.modules["latest-videos.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_bindAll=require(66),LatestVideosViewController=function(){function e(t){var l=this;(0,_classCallCheck3.default)(this,e),this.dom={componentEl:t,rail:{el:t.querySelector(".latest-videos__rail"),hasScrollListener:!1,getItems:function(){return Array.from(l.dom.rail.el.querySelectorAll(".latest-videos__video"))},getAllItemsHeight:function(){return l.dom.rail.getItems().reduce(function(e,t){return e+t.offsetHeight},0)}},railForeground:{el:t.querySelector(".latest-videos__rail-foreground"),moreScrollClass:"latest-videos__rail-foreground--scroll-down-more"}}}return(0,_createClass3.default)(e,[{key:"onRailScroll",value:function(){var e=this.dom.rail.el.scrollTop,t=this.dom.rail.getAllItemsHeight()-this.dom.rail.el.offsetHeight+45,l=this.dom.railForeground;e>=t?l.el.classList.remove(l.moreScrollClass):l.el.classList.add(l.moreScrollClass)}}]),e}(),LatestVideos=function(){function e(t){(0,_classCallCheck3.default)(this,e),this.el=t,_bindAll(this,["onMount","onDismount","onScroll"]),document.addEventListener("latest-videos-mount",this.onMount),document.addEventListener("latest-videos-dismount",this.onDismount)}return(0,_createClass3.default)(e,[{key:"onMount",value:function(){this.vc=new LatestVideosViewController(this.el);var e=this.vc.dom.rail;e.el&&(e.el.addEventListener("scroll",this.onScroll),e.hasScrollListener=!0)}},{key:"onDismount",value:function(){var e=this.vc.dom.rail;e.hasScrollListener&&(e.el.removeEventListener("scroll",this.onScroll),e.hasScrollListener=!1),document.removeEventListener("latest-videos-mount",this.onMount),document.removeEventListener("latest-videos-dismount",this.onDismount)}},{key:"onScroll",value:function(){this.vc.onRailScroll()}}]),e}();module.exports=function(e){return new LatestVideos(e)}; }, {"6":6,"7":7,"12":12,"66":66}]; window.modules["more-content-feed.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_require=require(4),fetchDOM=_require.fetchDOM,safari=require(124),visibility=require(62),_require2=require(2),LOAD_MORE_LIMIT=_require2.LOAD_MORE_LIMIT,MoreContentFeed=function(){function e(t){(0,_classCallCheck3.default)(this,e),this.moreContentFeed=t,this.loadMore=t.querySelector(".links__link--loadmore"),this.moreContentUrl="//"+this.moreContentFeed.getAttribute("data-uri").replace("@published","")+".html",this.maxLazyLoadedPages=parseInt(this.moreContentFeed.getAttribute("data-lazy-loads"),10),this.currentPage=1,this.tag="",this.author="",this.lazyLoadEvent=new CustomEvent("content-feed-lazy-load"),this.loadMore&&(this.setupLazyLoad(),this.loadMore.onclick=this.handleLoadMoreContent.bind(this),this.loadMore.getAttribute("data-tag")?this.tag=this.loadMore.getAttribute("data-tag")||"":this.loadMore.getAttribute("data-author")&&(this.author=this.loadMore.getAttribute("data-author")||""),this.loadMore.getAttribute("data-section")&&(this.sectionFront=this.loadMore.getAttribute("data-section")||""),this.loadMore.getAttribute("data-station")&&(this.stationId=this.loadMore.getAttribute("data-station")||""))}return(0,_createClass3.default)(e,[{key:"setupLazyLoad",value:function(){var e=this;this.currentPage>this.maxLazyLoadedPages||(this.loadMoreVisibility=new visibility.Visible(this.loadMore,{shownThreshold:.05}),this.loadMore.style.visibility="hidden",this.loadMoreVisibility.on("shown",(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function t(){return _regenerator2.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.loadMoreVisibility.destroy(),t.next=3,e.handleLoadMoreContent();case 3:e.loadMore&&(document.dispatchEvent(e.lazyLoadEvent),e.setupLazyLoad());case 4:case"end":return t.stop()}},t)}))))}},{key:"handleLoadMoreContent",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var t,r;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t="".concat(this.moreContentUrl,"?page=").concat(this.currentPage++),this.tag?t+="&tag=".concat(this.tag):this.author&&(t+="&author=".concat(this.author)),this.sectionFront&&(t+="§ionFront=".concat(this.sectionFront)),this.stationId&&(t+="&stationId=".concat(this.stationId)),e.next=6,fetchDOM(t,{shouldDedupeContent:!0});case 6:r=e.sent,this.loadMore.parentNode.removeChild(this.loadMore),this.moreContentFeed.querySelector("ul").append(r),safari.fixAJAXImages(this.moreContentFeed),this.loadMore=this.moreContentFeed.querySelector(".links__link--loadmore"),LOAD_MORE_LIMIT===this.currentPage?this.loadMore.parentNode.removeChild(this.loadMore):this.loadMore&&(this.loadMore.onclick=this.handleLoadMoreContent.bind(this));case 12:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),e}();module.exports=function(e){return new MoreContentFeed(e)}; }, {"2":2,"4":4,"5":5,"6":6,"7":7,"8":8,"12":12,"62":62,"124":124}]; window.modules["newsletter-sign-up.client"] = [function(require,module,exports){"use strict";var $,_interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_bindAll=require(66),qs=require(125),rest=require(49),componentName="newsletter-sign-up",formClass="".concat(componentName,"__form"),formInputClass="".concat(componentName,"__form-input"),formInputLabelClass="".concat(componentName,"__form-input-label"),formInputMsgClass="".concat(componentName,"__form-input-msg"),formInputs=["email","zip","DateofBirth"],validations={email:[function(e){return{isValid:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,}$/i.test(e),invalidMsg:"Please enter a valid email address"}}],zip:[function(e){return{isValid:/^d{5}$|^d{5}-d{4}$/.test(e),invalidMsg:"Please enter a valid postal code like 19020"}}],DateofBirth:[function(e){return{isValid:/^[0-9]{2}[/]{1}[0-9]{2}[/]{1}[0-9]{4}$/.test(e),invalidMsg:"Please enter a valid date like 09/08/2001"}},function(e){var t=Date.now()-new Date(e).getTime();return{isValid:Math.abs(new Date(t).getUTCFullYear()-1970)>=13,invalidMsg:"Must be 13 years or older to signup"}}]},NewsletterSignUpModel=function(){function e(){var t=this;(0,_classCallCheck3.default)(this,e),this.form={isValid:function(){return Object.entries(t.form.inputs).every(function(e){return!0===e[1].isValid})},inputs:formInputs.reduce(function(e,t){return e[t]={isValid:!1,validations:validations[t]},e},{})}}return(0,_createClass3.default)(e,[{key:"getValidationResults",value:function(e,t){var n=this.form.inputs[e].validations,i=[];return n.forEach(function(e){var n=e(t);i.push(n)}),i}},{key:"validateInputFromResults",value:function(e,t){return this.form.inputs[e].isValid=t.every(function(e){return e.isValid})}}]),e}(),NewsletterSignUpView=function(){function e(t){(0,_classCallCheck3.default)(this,e),this.elements={container:t,form:{el:$(".".concat(formClass)),inputs:formInputs.map(function(e){return $(".".concat(formInputClass,"--").concat(e))}),submit:$(".".concat(formInputClass,"--submit"))}}}return(0,_createClass3.default)(e,[{key:"checkForEmptyInputAndSetClass",value:function(e){e.value.trim()?e.parentNode.classList.remove("".concat(formInputLabelClass,"--empty")):e.parentNode.classList.add("".concat(formInputLabelClass,"--empty"))}},{key:"addInvalidMessages",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=e.parentNode.querySelector(".".concat(formInputMsgClass)),s="";e.dataset.valid=t,i.dataset.valid=t,t||(n.forEach(function(e){e.isValid||(s+="
    ".concat(e.invalidMsg,"
    "))}),i.innerHTML=s)}},{key:"setSubmitState",value:function(e){this.elements.form.submit.dataset.valid=e}}]),e}(),NewsletterSignUpCtrl=function(){function e(t){(0,_classCallCheck3.default)(this,e),_bindAll(this,["onMount","onDismount","onInputChange","onSubmit"]),this.view=new NewsletterSignUpView(t),this.model=new NewsletterSignUpModel,this.listeners=[],this.addEventListener({el:document,type:"".concat(componentName,"-mount"),cb:this.onMount}),this.apiEndpoint="//"+t.getAttribute("data-uri").replace("@published","")}return(0,_createClass3.default)(e,[{key:"addEventListener",value:function(e){this.listeners.push(e),e.el.addEventListener(e.type,e.cb)}},{key:"removeEventListener",value:function(e){e.el.removeEventListener(e.type,e.cb)}},{key:"onMount",value:function(){this.addListeners()}},{key:"addListeners",value:function(){var e=this,t=this.view.elements;t.form.inputs.forEach(function(t){e.addEventListener({el:t,type:"change",cb:e.onInputChange})}),this.addEventListener({el:t.form.el,type:"submit",cb:this.onSubmit})}},{key:"onSubmit",value:function(e){var t=this;if(e.preventDefault(),this.model.form.isValid()){var n=new FormData(e.target),i=this.apiEndpoint,s=qs.stringify({postup:{address:n.get("email"),PostalCode:n.get("zip"),DateofBirth:n.get("DateofBirth")}});i+="?".concat(s),rest.get(i).then(function(e){if(e.success)t.view.elements.container.classList.toggle("".concat(componentName,"--success"));else if(e.error)console.error(e.error);else{var n=document.createElement("div");n.innerHTML=e.html,n.querySelectorAll("li.error").forEach(function(e){return console.error(new Error(e.innerText))})}}).catch(function(e){return console.error(e)})}}},{key:"onInputChange",value:function(e){var t=e.target,n=this.model.getValidationResults(t.name,t.value),i=this.model.validateInputFromResults(t.name,n);n&&(this.view.addInvalidMessages(e.target,i,n),this.view.checkForEmptyInputAndSetClass(t),this.view.setSubmitState(this.model.form.isValid()))}},{key:"onDismount",value:function(){var e=this;document.removeEventListener("".concat(componentName,"-mount"),this.onMount),document.removeEventListener("".concat(componentName,"-dismount"),this.onDismount),this.listeners.forEach(function(t){e.removeEventListener(t)})}}]),e}();module.exports=function(e){return $=e.querySelector.bind(e),new NewsletterSignUpCtrl(e)}; }, {"6":6,"7":7,"12":12,"49":49,"66":66,"125":125}]; window.modules["nielsen.client"] = [function(require,module,exports){"use strict";var spaPayload,_interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),NielsenMarketingCloud=function(){function e(){(0,_classCallCheck3.default)(this,e),this.initialParams={p:"1149",g:"5",podcast:"",blog:"",livestreamplayer:"player",pid:"",station:"NATL-RC",keyword:"",mkt:"Corporate",tag:"",author:"",genre:"",team:"",format:"",ctg:""}}return(0,_createClass3.default)(e,[{key:"parseSPAPayload",value:function(e){var t={};e._self&&e.main?-1!==e.main[0]._ref.indexOf("article")?(t.tag=e.main[0].tags.items.map(function(e){return e.text}).join(","),t.author=e.main[0].authors.map(function(e){return e.text}).join(","),t.format=t.ctg=e.main[0].sectionFront):-1!==e.main[0]._ref.indexOf("station-detail")?(t.station=e.main[0].station,t.keyword=e.main[0].keyword,t.mkt=e.main[0].market,t.genre=e.main[0].genre,t.format=t.ctg=e.main[0].sectionFront):-1!==e.main[0]._ref.indexOf("topic-page")?t.tag=e.pageHeader[0].tag:-1!==e.main[0]._ref.indexOf("section-front")&&(t.format=t.ctg=e.main[0].title):e.toArticlePage._ref?(t.tag=e.toArticlePage.tags.items.map(function(e){return e.text}).join(","),t.author=e.toArticlePage.authors.map(function(e){return e.text}).join(","),t.format=t.ctg=e.toArticlePage.sectionFront):e.toStationDetailPage._ref?(t.station=e.toStationDetailPage.station,t.keyword=e.toStationDetailPage.keyword,t.mkt=e.toStationDetailPage.market,t.genre=e.toStationDetailPage.genre,t.format=t.ctg=e.toStationDetailPage.sectionFront):e.toTopicPage._ref?t.tag=e.toTopicPage.tag:e.toSectionFrontPage._ref&&(t.format=t.ctg=e.toSectionFrontPage.title),this.updateParams(t)}},{key:"updateParams",value:function(e){this.params=this.initialParams,this.nielsenUrl="//loadus.exelator.com/load/?",this.params={p:e.p||"1149",g:e.g||"5",podcast:e.podcast||"",blog:e.blog||"",livestreamplayer:e.livestreamplayer||"player",pid:e.pid||"",station:e.station||"NATL-RC",keyword:e.keyword||"",mkt:e.mkt||"Corporate",tag:e.tag||"",author:e.author||"",genre:e.genre||"",team:e.team||"",format:e.format||"",ctg:e.ctg||""},this.nielsenUrl+=Object.keys(this.params).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(this.params[e])}.bind(this)).join("&"),this.updatePixel()}},{key:"updatePixel",value:function(){var e=document.querySelector(".component--nielsen"),t=e.querySelector(".nielsen__marketing-cloud-pixel");t&&e.removeChild(t),e&&((t=document.createElement("script")).classList.add("nielsen__marketing-cloud-pixel"),t.src=this.nielsenUrl,e.appendChild(t))}}]),e}(),nielsen=new NielsenMarketingCloud;!function(){var e=atob(window.spaPayload);spaPayload=JSON.parse(e),document.addEventListener("nielsen-mount",function(){nielsen.parseSPAPayload(spaPayload)})}(),document.addEventListener("pageView",function(e){spaPayload=e.detail}); }, {"6":6,"7":7,"12":12}]; window.modules["podcast-episode-list.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_defineProperty2=require(15),_defineProperty3=(0,_interopRequireDefault2.default)(_defineProperty2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2);function ownKeys(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,o)}return a}function _objectSpread(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];return rest.get(this.getApiUrl(e))}},{key:"pageNumber",set:function(e){this.apiParams.pageNumber=e},get:function(){return this.apiParams.pageNumber}}]),e}(),PodcastListComponentView=function(){function e(t){(0,_classCallCheck3.default)(this,e),this.elements={container:t,sortDropdown:$one("#episodesOrder"),episodesContainer:$one(".".concat(componentClassName,"__episodes")),loadMoreBtn:$one(".".concat(componentClassName,"__load-more-btn"))},this.itemTemplate=this.getHtmlTemplateFromClone()}return(0,_createClass3.default)(e,[{key:"getHtmlTemplateFromClone",value:function(){var e=(document.getElementById("podcast-episode-template")||{}).content;if(e){var t=e.querySelector("li").cloneNode(!0),a={image:t.querySelector(".".concat(componentClassName,"__image")),link:t.querySelector(".".concat(componentClassName,"__download-link")),playBtn:t.querySelector(".".concat(componentClassName,"__play-btn")),published_date_formatted:t.querySelector(".".concat(componentClassName,"__pub-date")),duration_seconds_formatted:t.querySelector(".".concat(componentClassName,"__duration-text")),title:t.querySelector(".".concat(componentClassName,"__title")),description:t.querySelector(".".concat(componentClassName,"__description"))};return function(e){for(var o in a)if(a.hasOwnProperty(o)){var s=a[o];switch(o){case"image":s.setAttribute("src",e.attributes.image_url);break;case"link":s.setAttribute("href",e.attributes.audio_url);break;case"playBtn":s.setAttribute("href",e.attributes.episode_detail_url),s.dataset.playPodcastEpisodeId=e.id,s.dataset.playPodcastShowId=e.attributes.podcast[0].id;break;case"title":s.setAttribute("href",e.attributes.episode_detail_url),s.innerText=e.attributes.title;break;default:var i=e.attributes[o];"description"===o&&(i=utils.truncate(i,210,{useSuffix:!0})),s.innerText=i}}return t.outerHTML}}}},{key:"addMoreEpisodes",value:function(e){var t=this,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=this.elements.episodesContainer;a&&(o.innerHTML=""),e.forEach(function(e){o.insertAdjacentHTML("beforeend",t.itemTemplate(e))})}},{key:"hideLoadMoreBtn",value:function(){this.elements.loadMoreBtn.style.display="none"}},{key:"showLoadMoreBtn",value:function(){this.elements.loadMoreBtn.style.display="block"}}]),e}(),PodcastListComponentController=function(){function e(t){(0,_classCallCheck3.default)(this,e),_bindAll(this,"onMount","onDismount","onClick","onChange","onPlaybackStateChange"),this.view=new PodcastListComponentView(t),this.model=new PodcastListComponentModel(t),doc.addEventListener("".concat(componentName,"-mount"),this.onMount)}return(0,_createClass3.default)(e,[{key:"onMount",value:function(){var e=new SelectBox(this.view.elements.sortDropdown,{searchable:!1,customClass:"podcast-episode-list__select-box"});this.view.elements.container.addEventListener("click",this.onClick),e.addEventListener("change",this.onChange),window.addEventListener("playbackStateChange",this.onPlaybackStateChange)}},{key:"onClick",value:function(e){var t=this;if(!this.model.isLoading){e.target===this.view.elements.loadMoreBtn&&(this.model.isLoading,this.model.getEpisodes().then(function(e){var a=e._computed.episodes;t.model.pageNumber=t.model.pageNumber+1,t.view.addMoreEpisodes(a),a.length0&&void 0!==arguments[0]?arguments[0]:timerStepInterval;(0,_classCallCheck3.default)(this,e),_bindAll(this,["tick"]),this.stepsPassed=0,this.isPaused=!1,this.step=t,this.subscription={}}return(0,_createClass3.default)(e,[{key:"subscribe",value:function(e,t){this.subscription={threshold:e,cb:t}}},{key:"start",value:function(){this.tmr=setInterval(this.tick,this.step)}},{key:"tick",value:function(){this.isPaused||(this.stepsPassed++,this.subscription.threshold===this.stepsPassed&&(this.subscription.cb(),this.reset()))}},{key:"reset",value:function(){this.stepsPassed=0}},{key:"pause",value:function(){this.isPaused=!0}},{key:"play",value:function(){this.isPaused=!1}},{key:"unsubscribe",value:function(){clearInterval(this.tmr)}}]),e}(),PodcastHeroCarouselModel=function(){function e(t){(0,_classCallCheck3.default)(this,e),this.ctrl=t,this.slideIndex=0,this.numSlides=this.ctrl.view.slideElements.length}return(0,_createClass3.default)(e,[{key:"setSlideIndex",value:function(e,t){t||0===t?this.slideIndex=t:(this.slideIndex+=e,this.slideIndex<0&&(this.slideIndex=this.numSlides-1),this.slideIndex>this.numSlides-1&&(this.slideIndex=0))}},{key:"updateSlideIndex",value:function(e,t){this.setSlideIndex(e.value,t)}}]),e}(),PodcastHeroCarouselView=function(){function e(t,s){(0,_classCallCheck3.default)(this,e),this.ctrl=t,this.el=s,this.slidesContainer=this.el.querySelector(".".concat(componentClassName,"__slides")),this.slideElements=this.el.querySelectorAll(".".concat(componentClassName,"__slide")),this.macroElements=this.el.querySelectorAll(".".concat(componentClassName,"__macro-button")),this.directionalButtons={left:this.el.querySelector(".".concat(componentClassName,"__control-button--left")),right:this.el.querySelector(".".concat(componentClassName,"__control-button--right"))},this.isAnimating=!1}return(0,_createClass3.default)(e,[{key:"setDirectionalClassName",value:function(e){1===e.value?this.slidesContainer.classList.replace(carouselDirectionalObjects.left.className,e.className):this.slidesContainer.classList.replace(carouselDirectionalObjects.right.className,e.className)}},{key:"onClickDirectionButton",value:function(e){var t=this;this.isAnimating=!0;var s="".concat(componentClassName,"__slide").concat(activeSlideModifierName),i=this.slidesContainer.querySelector(".".concat(s));this.setDirectionalClassName(e),setTimeout(function(){i.classList.add("zero-index"),t.slideElements[t.ctrl.model.slideIndex].classList.add(s),setTimeout(function(){i.classList.remove(s,"zero-index"),t.isAnimating=!1},slideTransitionTime+10)},10)}},{key:"setActiveMacro",value:function(e){this.el.querySelector(".".concat(activeMacroClassName)).classList.remove(activeMacroClassName),this.macroElements[e].classList.add(activeMacroClassName)}}]),e}(),PodcastHeroCarouselController=function(){function e(t){(0,_classCallCheck3.default)(this,e),bindInstanceFunctions(this),this.view=new PodcastHeroCarouselView(this,t),this.model=new PodcastHeroCarouselModel(this),this.timer=new PodcastHeroCarouselTimer,this.setupSwipe(t),document.addEventListener("podcast-hero-carousel-mount",this.onMount),document.addEventListener("podcast-hero-carousel-dismount",this.onDismount)}return(0,_createClass3.default)(e,[{key:"onComponentClick",value:function(e){if(!this.view.isAnimating&&(e.target.classList.contains("".concat(componentClassName,"__control-button"))&&this.transitionDirection(carouselDirectionalObjects[e.target.dataset.direction]),e.target.classList.contains("".concat(componentClassName,"__macro-button")))){var t=parseInt(e.target.dataset.slideIndex),s=carouselDirectionalObjects[t1&&void 0!==s[1]?s[1]:this.set,n="?",t.length&&(n+="&podcastIds=".concat(t.join(","))),e.next=5,radioApiService.fetchDOM("//".concat(window.location.hostname,"/_components/podcast-set/instances/").concat(r,".html").concat(n)).catch(function(){return!1});case 5:if(!(a=e.sent)||!a.classList.contains("component--podcast-set")){e.next=8;break}return e.abrupt("return",a);case 8:return e.abrupt("return",!1);case 9:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"updateDomWithIds",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r,n;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getComponentTemplate(t);case 2:if(r=e.sent,n=this.parentElement,r){for(;n.firstChild;)n.removeChild(n.firstChild);n.append(r),this.el=r}return e.abrupt("return",!!r);case 6:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"updateRecent",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var t,r;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=recentPodcasts.get(),!(r=t.slice(0,numberOfRecentPodcasts)).length){e.next=8;break}return this.el.querySelector(".podcast-set-waiting").classList.remove("hidden"),e.next=5,this.updateDomWithIds(r);case 5:return e.abrupt("return",e.sent);case 8:return this.el.querySelector(".podcast-set-empty").classList.remove("hidden"),e.abrupt("return",!1);case 10:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"updateDomForSet",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var t,r=arguments;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=r.length>0&&void 0!==r[0]?r[0]:this.set,e.t0=t,e.next="recent"===e.t0?4:5;break;case 4:return e.abrupt("return",this.updateRecent());case 5:return e.abrupt("return",!1);case 6:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),e}();module.exports=function(e){return new PodcastSet(e)}; }, {"4":4,"5":5,"6":6,"7":7,"8":8,"12":12,"66":66,"140":140}]; window.modules["podcast-show-page.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2);function _createForOfIteratorHelper(e,t){var a;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(a=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,i=!1;return{s:function(){a=e[Symbol.iterator]()},n:function(){var e=a.next();return s=e.done,e},e:function(e){i=!0,o=e},f:function(){try{s||null==a.return||a.return()}finally{if(i)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a=1180&&""==this.query.value||window.innerWidth<1180)||!this.vultureHomepage&&(window.innerWidth>=1024&&""==this.query.value||window.innerWidth<1024))&&(this.search.classList.remove("expanded"),this.query.placeholder=this.placeholderText,this.query.value="")},expandSearch:function(){this.search.classList.contains("expanded")||(this.search.classList.add("expanded"),this.query.value="",window.innerWidth<1024||this.vultureHomepage&&window.innerWidth<1180?this.query.placeholder="":this.query.placeholder=this.placeholderText,this.query.focus())},submitHandler:function(){this.search.submit()}},module.exports=function(e){return new Constructor(e)}; }, {"143":143}]; window.modules["share.client"] = [function(require,module,exports){"use strict";function Constructor(e){this.url=window.location.href,this.addCopyEventListener()}Constructor.prototype={copyToClipboard:function(){var e=document.createElement("textarea");e.className="share__hidden-text-area",e.value=this.url,document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy")}catch(e){console.log("Unable to copy")}document.body.removeChild(e)},addCopyEventListener:function(){var e=this,t=document.getElementsByClassName("share-link--copy-link");Array.from(t,function(t){t.addEventListener("click",function(t){return e.copyToClipboard(t)})})}},module.exports=function(e){return new Constructor(e)}; }, {}]; window.modules["start-listening.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_bindAll=require(66),_debounce=require(67),cardPaddingRight=20,classes={component:"start-listening",componentDisabledControls:"disabled-controls",currentPageIndicator:"active",disableControls:"disabled"},Hammer=require(65),hammerDirectionLeft=2,hammerDirectionRight=4,hammerDeltaXThreshold=5,selectors={carouselCard:".carousel-card",carouselCards:".carousel-cards",carouselControls:".carousel-controls",carouselMask:".carousel-mask",directionalBtnLeft:".carousel-control-btn.left",directionalBtnRight:".carousel-control-btn.right",paginationDot:".pagination-dot",paginationDotsWrap:".pagination-dots",paginationDotTemplate:"#paginationDotTemplate"},StartListeningState=function(){function e(t){(0,_classCallCheck3.default)(this,e),this.carousel=t,this._pageIndex=0}return(0,_createClass3.default)(e,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(e){e>this.totalPages-1||e<0||(this._pageIndex=e)}},{key:"possibleCardSlots",get:function(){var e=window.innerWidth,t=parseInt(this.carousel.elements.el.dataset.totalNumItems);return e>480&&e<1024&&(t=2),e>0&&e<481&&(t=1),t}},{key:"totalCards",get:function(){return this.carousel.elements.cards.length}},{key:"totalPages",get:function(){return Math.ceil(this.totalCards/this.possibleCardSlots)}}]),e}(),StartListening=function(){function e(t){var a=this;(0,_classCallCheck3.default)(this,e),this.onResizeDebounced=_debounce(this.onResize,350,{leading:!1,trailing:!0}),_bindAll(this,["onResizeDebounced","onClick","onPan"]),document.addEventListener("".concat(classes.component,"-mount"),function(){return a.onMount(t)},{once:!0}),document.addEventListener("".concat(classes.component,"-dismount"),function(){return a.onDismount()},{once:!0})}return(0,_createClass3.default)(e,[{key:"addOrRemoveListeners",value:function(e){var t="".concat(e,"EventListener");this.elements.el[t]("click",this.onClick),window[t]("resize",this.onResizeDebounced)}},{key:"cacheDomElements",value:function(e){this.elements={cards:e.querySelectorAll(selectors.carouselCard),cardsWrap:e.querySelector(selectors.carouselCards),controls:e.querySelector(selectors.carouselControls),forwardBtn:e.querySelector(selectors.directionalBtnRight),backwardBtn:e.querySelector(selectors.directionalBtnLeft),dotTemplate:e.querySelector(selectors.paginationDotTemplate),dotsWrap:e.querySelector(selectors.paginationDotsWrap),el:e,mask:e.querySelector(selectors.carouselMask)}}},{key:"createPaginationDots",value:function(){var e=this.elements,t=e.dotTemplate,a=e.dotsWrap,s=this.state.totalPages;a.innerHTML="";for(var n=0;nhammerDeltaXThreshold&&(e.direction===hammerDirectionLeft?this.elements.forwardBtn.click():e.direction===hammerDirectionRight&&this.elements.backwardBtn.click()))}},{key:"onResize",value:function(){this.resetCarousel()}},{key:"resetCarousel",value:function(){var e=this.elements,t=e.controls,a=e.el;this.state.totalPages<2?(t.classList.add(classes.disableControls),a.classList.add(classes.componentDisabledControls)):(t.classList.remove(classes.disableControls),a.classList.remove(classes.componentDisabledControls)),this.setPageAndUpdateCarousel(0,0,!0)}},{key:"setActivePaginationDot",value:function(){var e=this.elements.el,t=this.state.pageIndex;e.querySelectorAll(selectors.paginationDot).forEach(function(e,a){e.dataset.pageIndex=a,a===t?e.classList.add(classes.currentPageIndicator):e.classList.remove(classes.currentPageIndicator)})}},{key:"setCardsPosition",value:function(e){var t=this.elements,a=t.cardsWrap,s=-1*(t.mask.offsetWidth*e+e*cardPaddingRight);a.style.transform="translateX(".concat(s,"px)")}},{key:"setDirectionalBtnStates",value:function(){var e=this.elements,t=e.forwardBtn,a=e.backwardBtn,s=this.state,n=s.pageIndex,i=s.totalPages;a.disabled=0===n,t.disabled=n===i-1}},{key:"setPageAndUpdateCarousel",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.state.pageIndex=e+t,a&&this.createPaginationDots(),this.setActivePaginationDot(),this.setCardsPosition(this.state.pageIndex),this.setDirectionalBtnStates()}}]),e}();module.exports=function(e){return new StartListening(e)}; }, {"6":6,"7":7,"12":12,"65":65,"66":66,"67":67}]; window.modules["static-page.client"] = [function(require,module,exports){"use strict";function init(){Object.assign(document.querySelector(".content__sidebar").style,{position:"relative",visibility:"visible"})}module.exports=init; }, {}]; window.modules["station-detail.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2);function _createForOfIteratorHelper(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r ").concat(selectors.tab)),r=e.target.closest(selectors.tab).dataset.discoverFilterId,a=t.dataset.tabType;if(r){var n=new CustomEvent("component-broadcast",{detail:{discoverFilterId:parseInt(r)}});document.dispatchEvent(n)}this.activateTab(t,a)}},{key:"init",value:function(){var e=this.elements,t=e.el,r=e.firstTab,a=e.playBtn,n=e.sidebar,o=e.tabs,i=window.location.hash.replace("https://www.audacy.com/wwjnewsradio/news/local/#","");if(this.stationId=a.dataset.playStation,this.repositionRightRail(n,t),this.addOrRemoveTabNavigationListeners("add"),i){var s=Array.from(o).find(function(e){return e.dataset.tabType===i});s?(s.click(),window.scrollTo(0,document.querySelector(selectors.body).offsetTop)):r.click()}else r.click()}},{key:"repositionRightRail",value:function(e,t){e.style.marginTop=window.getComputedStyle(t).marginTop,e.style.visibility="visible"}},{key:"updateRecentlyPlayed",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=factories.stationRecentlyPlayed,e.next=3,updateTab(t,this.stationId);case 3:r(t.querySelector(selectors.recentlyPlayed));case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"updateSchedule",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=factories.stationSchedule,e.next=3,updateTab(t,this.stationId);case 3:r(t.querySelector(selectors.stationSchedule));case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"updateDiscover",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r,a;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=factories.stationDiscover,a=factories.stationsList,e.next=3,updateTab(t,this.stationId);case 3:r(t.querySelector(selectors.stationDiscover)),t.querySelectorAll(selectors.stationsList).forEach(a);case 5:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"updateFavorites",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=factories.stationsList,e.next=3,updateTab(t);case 3:r(t.querySelector(selectors.stationsList));case 4:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()},{key:"activateTab",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t,r){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.removeActiveFromAllTabs(),t.classList.add(classes.activeTab),this.toggleActivatedTabContent(r),history.pushState(null,null,"".concat(window.location.origin).concat(window.location.pathname).concat(window.location.search,"https://www.audacy.com/wwjnewsradio/news/local/#").concat(r));case 4:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}()},{key:"removeActiveFromAllTabs",value:function(){this.elements.tabs.forEach(function(e){return e.classList.remove(classes.activeTab)})}},{key:"toggleActivatedTabContent",value:function(e){this.elements.content.forEach(function(t){t.classList.remove(classes.activeContent),t.dataset.tabType===e&&t.classList.add(classes.activeContent)})}}]),e}();module.exports=function(e){return new StationDetail(e)}; }, {"4":4,"5":5,"6":6,"7":7,"8":8,"12":12,"66":66,"station-discover.client":"station-discover.client","stations-list.client":"stations-list.client","station-schedule.client":"station-schedule.client","station-recently-played.client":"station-recently-played.client"}]; window.modules["station-discover.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2);function _createForOfIteratorHelper(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,n=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){n=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(n)throw s}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r section"),a=e.querySelector(".stations-list__data");n.classList.contains("component--stations-directory")?(this.pageType=STATIONS_DIRECTORY,this.directoryType=n.querySelector(".directory-body__directory-page").getAttribute("id").replace("stations-directory__","")):n.classList.contains("component--station-detail")&&(this.pageType=STATION_DETAIL),this.stationsData=a&&a.innerText?JSON.parse(a.innerText):[],this.updateStations(),window.addEventListener("resize",this.toggleSeeAllLinkAndAds.bind(this)),document.addEventListener("stations-list-dismount",function(){window.removeEventListener("resize",i.toggleSeeAllLinkAndAds)},{once:!0})}return(0,_createClass3.default)(t,[{key:"resetStationsList",value:function(){var t=this.stationsList.getAttribute("data-initial-count"),e=this.stationsList.childElementCount;if(null===t&&(t=e,this.stationsList.setAttribute("data-initial-count",t)),(t=parseInt(t))=1280?this.pageType===STATION_DETAIL?this.stationsShownOnLoad=10:this.directoryType===FEATURED?this.stationsShownOnLoad=14:this.stationsShownOnLoad=7:window.innerWidth>=1024?this.pageType===STATION_DETAIL?this.stationsShownOnLoad=8:this.stationsShownOnLoad=12:this.stationsShownOnLoad=6,this.seeAllLink&&(this.stationsData.length<=this.stationsShownOnLoad||isMobileWidth()?this.seeAllLink.style.display="none":this.seeAllLink.style.display="flex")}},{key:"toggleLoader",value:function(){this.loader&&this.loader.classList.toggle("active")}},{key:"getComponentTemplate",value:function(){var t=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function t(e,i,n){var a,r;return _regenerator2.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a="?",r=this.filterStationsBy,e?a+="&stationIDs=".concat(e):i&&(this.truncateStations&&(n="Truncated"),a+="&".concat(this.filterStationsBy,"=").concat(i)),n&&(r+=n),t.next=5,radioApiService.fetchDOM("//".concat(window.location.hostname,"/_components/stations-list/instances/").concat(r,".html").concat(a));case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}},t,this)}));return function(e,i,n){return t.apply(this,arguments)}}()},{key:"displayActiveStations",value:function(){var t=this;this.stationsList.querySelectorAll("li.station").forEach(function(e,i){i=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,o=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return s=e.done,e},e:function(e){o=!0,i=e},f:function(){try{s||null==t.return||t.return()}finally{if(o)throw i}}}}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t .label__menu-toggle");r&&r.addEventListener("click",toggleMobileSecondaryLinks)}),desktopNavItems.forEach(function(e){e.classList.contains("primary--drawer-enabled")&&(e.addEventListener("mouseenter",toggleNavDrawer),e.addEventListener("mouseleave",toggleNavDrawer))}),navDrawersContainer.addEventListener("mouseenter",toggleNavDrawerContainer),navDrawersContainer.addEventListener("mouseleave",toggleNavDrawerContainer),window.addEventListener("resize",function(){if(isMobileNavWidth()){var e,r=_createForOfIteratorHelper(desktopNavDrawers);try{for(r.s();!(e=r.n()).done;){e.value.classList.remove(active)}}catch(e){r.e(e)}finally{r.f()}}else isMobile=!1,resetNavs()})};document.addEventListener("station-nav-mount",function(){var e=document.querySelector(".component--station-nav");desktopNavItems=e.querySelectorAll(".navigation__primary"),navDrawersContainer=e.querySelector(".station_nav__drawers"),allDrawers=navDrawersContainer.querySelectorAll(".drawers__drawer"),desktopNavDrawers=navDrawersContainer.querySelectorAll(".drawer--desktop"),mobileNavToggle=e.querySelector(".menu__mobile-toggle"),mobileNavDrawer=navDrawersContainer.querySelector(".drawer--mobile"),mobileNavItems=mobileNavDrawer&&mobileNavDrawer.querySelectorAll(".drawer__item")||[],listenNavToggle=e.querySelector(".menu__listen-toggle"),listenNavDrawer=navDrawersContainer.querySelector(".drawer--listen"),listenNavComponent=document.querySelector(".component--station-listen-nav"),stationId=e.dataset.stationId,stationListenNavInstance=getComponentInstance(listenNavComponent.dataset.uri),addEventListeners()}); }, {"4":4,"5":5,"6":6,"8":8,"35":35,"150":150}]; window.modules["stations-carousel.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),radioApi="".concat(window.location.protocol,"//").concat(window.location.hostname,"/api/v1/"),market=require(151),radioApiService=require(4),Hammer=require(65),localStorage=window.localStorage,hammerDirectionLeft=2,hammerDirectionRight=4,hammerDeltaXThreshold=5,StationsCarousel=function(){function t(e){(0,_classCallCheck3.default)(this,t),this.hammerTime=new Hammer(e),this.allStationsCount=303,this.stationsCarousel=e,this.innerContainerClass="stations-carousel__carousel",this.filterStationsBy=this.stationsCarousel.getAttribute("data-filter-stations-by-track"),this.genre=this.stationsCarousel.getAttribute("data-genre-track"),this.sectionFront=this.stationsCarousel.getAttribute("data-section-front-track"),this.stationsList=this.stationsCarousel.querySelector("ul"),this.leftArrow=this.stationsCarousel.querySelector(".stations-carousel__arrow--left"),this.rightArrow=this.stationsCarousel.querySelector(".stations-carousel__arrow--right"),this.paginationDots=this.stationsCarousel.querySelector(".carousel__pagination-dots"),this.curatedItems=this.stationsCarousel.querySelectorAll(".curated-item"),this.dotClass="pagination-dots__dot",this.marketID=localStorage.getItem("marketID"),this.pageSize=1,this.gutterWidth=Number(getComputedStyle(this.stationsCarousel.querySelector(".".concat(this.innerContainerClass," li"))).marginRight.replace("px","")),this.imageSize=Number(getComputedStyle(this.stationsCarousel.querySelector(".".concat(this.innerContainerClass," .thumb"))).width.replace("px",""))+this.gutterWidth,this.pageNum=1,this.windowWidth=window.innerWidth,this.windowSizes={large:1280,medium:1024,beforeMediumSmall:788,mediumSmall:480},this.hammerTime.get("swipe").set({threshold:5,velocity:.075}),"section-front"==this.filterStationsBy?this.filterByValue=this.sectionFront:"genre"==this.filterStationsBy&&(this.filterByValue=this.genre),this.updateStations()}return(0,_createClass3.default)(t,[{key:"setImageAndPageDims",value:function(){var t=this.stationsCarousel.querySelector(".".concat(this.innerContainerClass," li")),e=this.stationsCarousel.querySelector(".".concat(this.innerContainerClass," .thumb"));if(this.pageSize=1,this.layoutWidth=getComputedStyle(this.stationsCarousel.querySelector(".".concat(this.innerContainerClass))).width,t&&(this.gutterWidth=Number(getComputedStyle(t).marginRight.replace("px",""))),e&&(this.imageSize=Number(getComputedStyle(e).width.replace("px",""))+this.gutterWidth),this.windowWidth>=this.windowSizes.medium)this.stationsVisible=8;else if(this.layoutWidth="100%",this.pageSize=1,this.stationsVisible=4,this.windowWidth<=this.windowSizes.mediumSmall&&(this.pageSize=2,this.stationsVisible=2),this.windowWidth160&&(i=160),this.imageSize=i+this.gutterWidth;for(var s=0;s=this.windowSizes.medium)for(var a=0;a=this.windowSizes.medium){var t="visibility: visible";this.pageNum<=1?(this.leftArrow.setAttribute("style","visibility: hidden"),this.rightArrow.setAttribute("style",t)):(this.leftArrow.setAttribute("style",t),this.rightArrow.setAttribute("style",t)),this.pageNum>this.totalPages-this.stationsVisible&&this.rightArrow.setAttribute("style","visibility: hidden")}}},{key:"centerPageResults",value:function(){var t=this.stationsData.count%this.pageSize;if(this.totalPages*this.pageSize<=this.stationsVisible){this.stationsList.classList.add("align-center");for(var e=0;e0){for(var i=0;i1)for(var t=1;t<=this.totalPages;t++){var e=document.createElement("div");e.setAttribute("class",this.dotClass),e.setAttribute("data-page",t),e.addEventListener("click",function(t){this.getPage(t,this)}.bind(this)),this.paginationDots.appendChild(e)}this.updatePaginationDots()}},{key:"updatePaginationDots",value:function(){if(this.totalPages>1){for(var t=this.stationsCarousel.querySelectorAll(".".concat(this.dotClass)),e=0;ee.totalPages?e.pageNum=e.totalPages:e.pageNum<1&&(e.pageNum=1),e.updatePaginationDots()):(e.pageNum>e.totalPages+1-e.stationsVisible&&(e.pageNum=1),t&&(s?e.pageNum=e.pageNum-1:a&&e.pageNum<=e.totalPages-e.stationsVisible&&(e.pageNum=e.pageNum+1)),e.hideOrShowEndArrows()),e.pageStationsLocation=(e.pageNum-1)*e.pageSize*e.imageSize,e.stationsList.setAttribute("style","transform: translateX(-".concat(e.pageStationsLocation,"px);")),e.centerPageResults()}},{key:"getFilteredStationsFromApi",value:function(){var t=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function t(){var e;return _regenerator2.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e="?sort=-popularity&filter[market_id]=".concat(this.marketID,"&page[size]=").concat(this.allStationsCount),"section-front"==this.filterStationsBy?e+="&filter[category]=".concat(this.filterByValue):"genre"==this.filterStationsBy&&(e+="&filter[genre_id]=".concat(this.filterByValue)),t.abrupt("return",radioApiService.get("".concat(radioApi,"stations").concat(e)).then(function(t){return t.data?{stations:t.data.map(function(t){return t.attributes}),count:t.data.length}:Promise.reject()}));case 3:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"addCarouselItem",value:function(t){t.classList.add("station"),this.stationsData.count++,this.stationsList.append(t)}},{key:"hideStationCarousel",value:function(){this.stationsCarousel.style.display="none"}},{key:"updateStationsDOM",value:function(){var t=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function t(){var e,i,s,a=this;return _regenerator2.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=this.stationsData.stations.map(function(t){return t.id}),i="//".concat(window.location.hostname,"/_components/stations-list/instances/local.html?stationIDs=").concat(e.join(",")),t.next=4,radioApiService.fetchDOM(i);case 4:for(s=t.sent;this.stationsList.firstChild;)this.stationsList.removeChild(this.stationsList.firstChild);e.length&&this.stationsList.append(s),this.curatedItems.forEach(function(t){return a.addCarouselItem(t)}),this.stationsNodes=this.stationsCarousel.querySelectorAll("li"),this.stationsNodes.thumbs=this.stationsCarousel.querySelectorAll(".thumb");case 10:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"updateStations",value:function(){var t=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function t(){var e=this;return _regenerator2.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,market.getID();case 2:return this.marketID=t.sent,t.abrupt("return",this.getFilteredStationsFromApi().then(function(){var t=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function t(i){return _regenerator2.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i.count||e.curatedItems.length){t.next=3;break}return e.hideStationCarousel(),t.abrupt("return");case 3:return e.stationsData=i,t.next=6,e.updateStationsDOM();case 6:return e.setImageAndPageDims(),e.totalPages=Math.ceil(e.stationsData.count/e.pageSize),e.hideOrShowEndArrows(),e.centerPageResults(),e.windowWidthhammerDeltaXThreshold&&this.getPage(t,this,t.direction))}.bind(e)),e.leftArrow.addEventListener("click",function(t){this.getPage(t,this)}.bind(e)),e.rightArrow.addEventListener("click",function(t){this.getPage(t,this)}.bind(e)),window.addEventListener("resize",function(t){this.restyleCarousel(t,this)}.bind(e)),t.abrupt("return",i);case 16:case"end":return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}()));case 4:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()}]),t}();module.exports=function(t){return new StationsCarousel(t)}; }, {"4":4,"5":5,"6":6,"7":7,"8":8,"12":12,"65":65,"151":151}]; window.modules["stats-boxscore-masthead.client"] = [function(require,module,exports){"use strict";var applyWidgetScripts=require(154);module.exports=function(t){applyWidgetScripts("stats-boxscore-masthead",t)}; }, {"154":154}]; window.modules["stats-boxscore.client"] = [function(require,module,exports){"use strict";var applyWidgetScripts=require(154);module.exports=function(t){applyWidgetScripts("stats-boxscore",t)}; }, {"154":154}]; window.modules["stats-full-standings.client"] = [function(require,module,exports){"use strict";var applyWidgetScripts=require(154);module.exports=function(t){applyWidgetScripts("stats-full-standings",t)}; }, {"154":154}]; window.modules["stats-scoreboard.client"] = [function(require,module,exports){"use strict";var applyWidgetScripts=require(154);module.exports=function(t){applyWidgetScripts("stats-scoreboard",t)}; }, {"154":154}]; window.modules["stats-standings.client"] = [function(require,module,exports){"use strict";var applyWidgetScripts=require(154);module.exports=function(t){applyWidgetScripts("stats-standings",t)}; }, {"154":154}]; window.modules["stats-team-masthead.client"] = [function(require,module,exports){"use strict";var applyWidgetScripts=require(154);module.exports=function(t){applyWidgetScripts("stats-team-masthead",t)}; }, {"154":154}]; window.modules["stats-team-schedule.client"] = [function(require,module,exports){"use strict";var applyWidgetScripts=require(154);module.exports=function(t){applyWidgetScripts("stats-team-schedule",t)}; }, {"154":154}]; window.modules["tags.client"] = [function(require,module,exports){"use strict";var _=require(89),dom=require(143);function Constructor(e){this.el=e,this.showAll=dom.find(this.el,".more")}Constructor.prototype={showAll:function(e){var o=e.target;_.forEach(hiddenTags,function(e){e.classList.remove("hidden")}),o.parentNode.removeChild(o),e.preventDefault()}},module.exports=function(e){return new Constructor(e)}; }, {"89":89,"143":143}]; window.modules["theme.client"] = [function(require,module,exports){"use strict";var cssVars=require(157);cssVars({}); }, {"157":157}]; window.modules["top-nav-login.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_bindAll=require(66),_require=require(2),unityOauth=_require.unityOauth,Auth=require(158),events=unityOauth.events,authConfig=unityOauth.oauth,auth=new Auth(authConfig),ClientUserService=require(159),classes={activeMobileNavClass:"nav-drawer--active",activeMobileSubNavClass:"nav-drawer__sub-nav--active",hideMenu:"top-nav-login--hide"},selectors={loginWrap:".top-nav-login__login-wrap.login-wrap",loginLink:".top-nav-login__login-link.login",logoutLink:".top-nav-login__profile-link.logout",profileWrap:".top-nav-login__profile-wrap.profile-wrap",profileEmail:".top-nav-login__profile-email.profile-email",profileLinkWrap:".top-nav-login__profile-link-wrap",profilePlaceholder:".top-nav-login__profile-placeholder"},TopNavLoginController=function(){function e(t){var r=this;(0,_classCallCheck3.default)(this,e),_bindAll(this,["onLogin","onLoginClick","onLogout","onLogoutClick","onProfileClick","toggleUserProfile"]),this.childWindow=null,document.addEventListener("top-nav-mount",function(e){return r.onMount(e,t)},{once:!0}),document.addEventListener("top-nav-dismount",function(){return r.onDismount()},{once:!0}),window.clientUserService=new ClientUserService}return(0,_createClass3.default)(e,[{key:"addOrRemoveListeners",value:function(e){var t=this.elements,r=t.loginLink,n=t.logoutLink,i=t.profileLinkWrap,o="".concat(e,"EventListener");r[o]("click",this.onLoginClick),n[o]("click",this.onLogoutClick),i[o]("click",this.onProfileClick,{capture:!0}),window.document[o](events.login,this.onLogin,!1),window.document[o](events.logout,this.onLogout,!1)}},{key:"cacheDomElements",value:function(e){this.elements={el:e,loginWrap:e.querySelector(selectors.loginWrap),loginLink:e.querySelector(selectors.loginLink),logoutLink:e.querySelector(selectors.logoutLink),profileLinkWrap:e.querySelector(selectors.profileLinkWrap),profilePlaceholder:e.querySelector(selectors.profilePlaceholder),profileWrap:e.querySelector(selectors.profileWrap),emailLabels:e.querySelector(selectors.profileEmail)}}},{key:"loginRedirect",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=this,e.next=3,auth.generateLoginUrl();case 3:e.t1=e.sent,e.t0.openUrl.call(e.t0,e.t1),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"lodgeEntered"});case 7:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"logoutRedirect",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.clientUserService.logout();case 2:this.openUrl(auth.generateLogoutUrl());case 3:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"onDismount",value:function(){this.addOrRemoveListeners("remove")}},{key:"onLogin",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.childWindow&&this.childWindow.close(),r=t.detail.userData,this.toggleUserProfile(r);case 3:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"onLoginClick",value:function(e){e.preventDefault(),this.loginRedirect()}},{key:"onLogout",value:function(){this.childWindow&&this.childWindow.close(),this.toggleUserProfile({},!0)}},{key:"onLogoutClick",value:function(e){e.preventDefault(),this.logoutRedirect()}},{key:"onProfileClick",value:function(e){var t=this.elements.profileLinkWrap,r=t.firstElementChild;t.classList.contains("open-new-window")&&(e.preventDefault(),e.stopPropagation(),this.openUrl(r.getAttribute("href")))}},{key:"onMount",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t,r){var n;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.cacheDomElements(r),this.addOrRemoveListeners("add"),e.next=4,window.clientUserService.getUserData();case 4:n=e.sent,!!n?this.toggleUserProfile(n):this.toggleUserProfile({},!0);case 7:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}()},{key:"openUrl",value:function(e){!this.childWindow||this.childWindow.closed?this.childWindow=window.open(e,"_ blank"):this.childWindow.focus()}},{key:"toggleUserProfile",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.elements,n=r.emailLabels,i=r.loginWrap,o=r.profilePlaceholder,l=r.profileWrap,a=t&&l||i,s=t&&i||l;n.innerHTML=e.email||"",o.classList.add(classes.hideMenu),a.classList.add(classes.hideMenu),s.classList.remove(classes.hideMenu)}}]),e}();module.exports=function(e){return new TopNavLoginController(e)}; }, {"2":2,"5":5,"6":6,"7":7,"8":8,"12":12,"66":66,"158":158,"159":159}]; window.modules["top-nav.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_bindAll=require(66),_debounce=require(67),classes={activeHamburgerClass:"active",activeMobileNavClass:"nav-drawer--active",activeMobileSubNavClass:"nav-drawer__sub-nav--active",resetNav:"reset-radiocom-top-nav",resetRecircSlider:"reset-slider-top-nav",stickyNavBar:"sticky-station-nav-bar",stickyRecircSlider:"sticky-latest-recirc-slider-bar"},navIncludes=require(160),selectors={categoryButtons:".radiocom-nav__category-button",categoryDrawerEnabled:".radiocom-nav__category-button--drawer-enabled",categoryDrawer:".radiocom-nav__category-button--drawer-enabled .nav-drawer",hamburger:"#hamburger",hamburgerBars:"#hamburger .bar",latestRecircSlider:".latest-top-recirc-slider__slider-container",mobileMenuToggler:".label__menu-toggle",mobileNavDrawer:".nav-drawer--mobile",mobileSubNavDrawer:".nav-drawer__sub-nav--mobile",navDrawer:".nav-drawer",spaLink:".spa-link",stationNav:".station-nav__fixed-container",subNavDropdown:".sub-nav__dropdown"},TopNavController=function(){function e(s){var t=this;(0,_classCallCheck3.default)(this,e),this.onResizeDebounced=_debounce(this.onResize,250,{leading:!0,trailing:!1}),_bindAll(this,["onClick","onHamburgerClick","onMobileMenuClick","onMouseover","onMouseout","onResizeDebounced","onScroll"]),document.addEventListener("top-nav-mount",function(e){return t.onMount(e,s)},{once:!0}),document.addEventListener("top-nav-dismount",function(){return t.onDismount()},{once:!0})}return(0,_createClass3.default)(e,[{key:"addOrRemoveListeners",value:function(e){var s=this,t=this.elements,a=t.el,r=t.hamburger,l=t.mobileNavMenu,i=t.desktopNavCategoriesWithDrawers,o=this.state.hasStationNavBar,n="".concat(e,"EventListener");a[n]("click",this.onClick),r[n]("click",this.onHamburgerClick),l[n]("click",this.onMobileMenuClick),i.forEach(function(e){e[n]("mouseover",s.onMouseover),e[n]("mouseout",s.onMouseout)}),window[n]("resize",this.onResizeDebounced),o&&window[n]("scroll",this.onScroll)}},{key:"cacheDomElements",value:function(e){this.elements={desktopNavCategories:e.querySelectorAll(selectors.categoryButtons),desktopNavCategoriesWithDrawers:e.querySelectorAll(selectors.categoryDrawerEnabled),desktopDrawers:e.querySelectorAll(selectors.categoryDrawer),el:e,hamburger:e.querySelector(selectors.hamburger),hamburgerBars:e.querySelectorAll(selectors.hamburgerBars),latestRecircSlider:document.querySelector(selectors.latestRecircSlider),mobileNavCategories:e.querySelectorAll(selectors.subNavDropdown),mobileSubNavDrawers:e.querySelectorAll(selectors.mobileSubNavDrawer),mobileNavMenu:e.querySelector(selectors.mobileNavDrawer),stationNav:document.querySelector(selectors.stationNav)}}},{key:"closeAllDesktopDrawers",value:function(){this.elements.desktopDrawers.forEach(function(e){e.classList.remove(classes.activeMobileSubNavClass),e.classList.remove(classes.activeMobileNavClass)})}},{key:"handleStickyNavBars",value:function(){var e=this.elements,s=e.el,t=e.stationNav,a=e.latestRecircSlider,r=t.offsetTop,l=window.pageYOffset>r?"add":"remove";s.classList.add(classes.resetNav),a&&a.classList.add(classes.resetRecircSlider),t.classList[l](classes.stickyNavBar),a&&a.classList[l](classes.stickyRecircSlider)}},{key:"initState",value:function(){this.state={hasStationNavBar:this.elements.stationNav,isMobileNavOpen:!1,previousWindowWidth:window.innerWidth}}},{key:"onClick",value:function(e){e.target.closest(selectors.spaLink)&&this.closeAllDesktopDrawers()}},{key:"onDismount",value:function(){navIncludes.stagingHelper.onDismount(),this.addOrRemoveListeners("remove")}},{key:"onHamburgerClick",value:function(){this.toggleMobileNavMenu(),this.state.isMobileNavOpen=!this.state.isMobileNavOpen}},{key:"onMobileMenuClick",value:function(e){var s=this,t=e.target,a=t.closest(selectors.mobileMenuToggler),r=t.closest(selectors.mobileSubNavDrawer),l=t.closest(selectors.spaLink),i=this.elements.hamburger;a?(this.removeAllMobileSubMenuActiveClasses(r),r.classList.toggle(classes.activeMobileSubNavClass)):l&&(i.click(),setTimeout(function(){s.removeAllMobileSubMenuActiveClasses()},50))}},{key:"onMount",value:function(e,s){this.cacheDomElements(s),this.initState(),this.addOrRemoveListeners("add"),navIncludes.stagingHelper.onMount()}},{key:"onMouseover",value:function(e){this.openDesktopDrawer(e)}},{key:"onMouseout",value:function(){this.closeAllDesktopDrawers()}},{key:"onResize",value:function(){var e=this.state.previousWindowWidth;window.innerWidth!==e&&(this.state.previousWindowWidth=window.innerWidth,this.resetAllMenus())}},{key:"onScroll",value:function(){this.resetAllMenus(),this.handleStickyNavBars()}},{key:"openDesktopDrawer",value:function(e){var s=e.currentTarget.querySelector(selectors.navDrawer);s.classList.add(classes.activeMobileSubNavClass),s.classList.add(classes.activeMobileNavClass)}},{key:"removeAllMobileSubMenuActiveClasses",value:function(e){this.elements.mobileSubNavDrawers.forEach(function(s){e!==s&&s.classList.remove(classes.activeMobileSubNavClass)})}},{key:"resetAllMenus",value:function(){this.closeAllDesktopDrawers(),this.state.isMobileNavOpen&&(this.elements.hamburger.click(),this.removeAllMobileSubMenuActiveClasses())}},{key:"toggleMobileNavMenu",value:function(){var e=this.elements,s=e.hamburgerBars,t=e.mobileNavMenu,a=this.state.isMobileNavOpen?"remove":"add";s.forEach(function(e){e.classList[a](classes.activeHamburgerClass)}),t.classList[a](classes.activeMobileNavClass)}}]),e}();module.exports=function(e){return new TopNavController(e)}; }, {"6":6,"7":7,"12":12,"66":66,"67":67,"160":160}]; window.modules["tweet.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),embedsLibraryUrl="//platform.twitter.com/widgets.js",_get=require(14),TwitterEmbeds=function(){function e(){(0,_classCallCheck3.default)(this,e),_get(window,"twttr.widgets")?this.process():document.querySelector('script[src="'.concat(embedsLibraryUrl,'"]'))||this.mount()}return(0,_createClass3.default)(e,[{key:"mount",value:function(){var e=this,t=document.getElementsByTagName("script")[0],r=document.createElement("script");r.onload=function(){e.process()},r.src=embedsLibraryUrl,t.parentNode.insertBefore(r,t)}},{key:"process",value:function(){var e=_get(window,"twttr.widgets.load");e&&e()}}]),e}();module.exports=function(e){return new TwitterEmbeds(e)}; }, {"6":6,"7":7,"12":12,"14":14}]; window.modules["verizon-media.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_inherits2=require(9),_inherits3=(0,_interopRequireDefault2.default)(_inherits2),_possibleConstructorReturn2=require(10),_possibleConstructorReturn3=(0,_interopRequireDefault2.default)(_possibleConstructorReturn2),_getPrototypeOf2=require(11),_getPrototypeOf3=(0,_interopRequireDefault2.default)(_getPrototypeOf2);function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,n=(0,_getPrototypeOf3.default)(e);if(t){var a=(0,_getPrototypeOf3.default)(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return(0,_possibleConstructorReturn3.default)(this,r)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}var Video=require("Video.legacy"),VerizonMedia=function(e){(0,_inherits3.default)(r,e);var t=_createSuper(r);function r(e){return(0,_classCallCheck3.default)(this,r),t.call(this,e.querySelector("video-js"),{script:"//cdn.vidible.tv/prod/player/js/latest/vidible-min.js"})}return(0,_createClass3.default)(r,[{key:"createMedia",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r,n,a,i=this;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=vidible.player(t.getAttribute("id")).setup({bcid:t.getAttribute("data-company"),pid:t.getAttribute("data-player"),videos:t.getAttribute("data-video-id"),"m.playback":"pause","m.responsive":"true"}).load(),n=t.getAttribute("data-video-id"),a=this.getEventTypes(),Object.keys(a).forEach(function(e){return r.addEventListener(a[e],function(e){return i.dispatchEvent(e)})}),e.abrupt("return",new Promise(function(e){return setTimeout(function(){return e({id:n,media:r,node:t.querySelector("div")})},100)}));case 3:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}()},{key:"getEventTypes",value:function(){return{MEDIA_PLAY:vidible.VIDEO_PLAY,MEDIA_PAUSE:vidible.VIDEO_PAUSE,MEDIA_READY:vidible.VIDEO_DATA_LOADED,AD_PLAY:vidible.AD_PLAY,MEDIA_VOLUME:vidible.VIDEO_VOLUME_CHANGED}}},{key:"dispatchEvent",value:function(e){(e.type!==vidible.VIDEO_PLAY||this.userInteracted())&&this.getNode().dispatchEvent(new CustomEvent(e.type,e.data))}},{key:"addEvent",value:function(e,t,r){this.getNode().addEventListener(e,t,r)}},{key:"mute",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getMedia().mute();case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"unmute",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var t;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.getMedia(),e.t0=this.userInteracted(),!e.t0){e.next=6;break}return e.next=5,t.isMuted();case 5:e.t0=e.sent;case 6:if(!e.t0){e.next=14;break}return e.next=9,t.toggleMute();case 9:return e.next=11,t.getPlayerInfo().volume;case 11:if(e.sent){e.next=14;break}return e.next=14,t.volume(1);case 14:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()}]),r}(Video);module.exports=function(e){return new VerizonMedia(e)}; }, {"5":5,"6":6,"7":7,"8":8,"9":9,"10":10,"11":11,"12":12,"Video.legacy":"Video.legacy"}]; window.modules["web-player.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_inherits2=require(9),_inherits3=(0,_interopRequireDefault2.default)(_inherits2),_possibleConstructorReturn2=require(10),_possibleConstructorReturn3=(0,_interopRequireDefault2.default)(_possibleConstructorReturn2),_getPrototypeOf2=require(11),_getPrototypeOf3=(0,_interopRequireDefault2.default)(_getPrototypeOf2);function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,a=(0,_getPrototypeOf3.default)(e);if(t){var n=(0,_getPrototypeOf3.default)(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return(0,_possibleConstructorReturn3.default)(this,r)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}var _get=require(14),clientPlayerInterface=require(13)(),clientCommunicationBridge=require(131)(),recentStations=require(152),Audio=require("Audio.legacy"),MOBILE_STICKY_AD="google-ad-manager__slot--mobile-adhesion-1",webPlayer=null,WebPlayer=function(e){(0,_inherits3.default)(r,e);var t=_createSuper(r);function r(e){return(0,_classCallCheck3.default)(this,r),t.call(this,e)}return(0,_createClass3.default)(r,[{key:"dispatchEvent",value:function(e){this.getNode().dispatchEvent(new CustomEvent(e))}},{key:"createMedia",value:function(e){return{id:e.id,media:{},node:e,persistent:!0}}},{key:"addEvent",value:function(e,t,r){this.getNode().addEventListener(e,t,r)}},{key:"pause",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,clientPlayerInterface.pause();case 2:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()},{key:"play",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,clientPlayerInterface.play();case 2:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()},{key:"mute",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()},{key:"unmute",value:function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()}]),r}(Audio);function syncPlayerButtons(e,t){var r=_get(window,"RadioPlayer.podcastService.podcast.id"),a=_get(window,"RadioPlayer.podcastService.episode.id");window.document.querySelectorAll("[data-play-station], [data-play-podcast-show-id]").forEach(function(n){n.classList.replace("show__pause","show__play"),n.classList.replace("show__stop","show__play"),parseInt(n.dataset.playStation)===parseInt(e)&&n.classList.replace("show__play",t),parseInt(n.dataset.playPodcastEpisodeId)===a&&parseInt(n.dataset.playPodcastShowId)===r&&n.classList.replace("show__play",t)})}function hideMobileStickyAd(e){var t=document.querySelector("https://www.audacy.com/wwjnewsradio/news/local/#".concat(MOBILE_STICKY_AD));t&&("play"===e?(t.style.display="none",window.disableAdRefresh([MOBILE_STICKY_AD])):"stop"===e&&(window.enableAdRefresh([MOBILE_STICKY_AD]),t.style.display="block"))}clientCommunicationBridge.subscribe("ClientWebPlayerMountPlayer",(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var t;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,clientPlayerInterface.mountPlayer();case 2:return(t=document.createElement("div")).id="radio-web-player",webPlayer=new WebPlayer(t),e.abrupt("return",!0);case 6:case"end":return e.stop()}},e)}))),clientCommunicationBridge.subscribe("ClientWebPlayerPlaybackStatus",function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(t){var r,a,n;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=t.id,a=t.playingClass,"play"===(n=t.playerState)&&recentStations.add(r),syncPlayerButtons(r,a),"play"===n&&webPlayer.dispatchEvent(webPlayer.getEventTypes().MEDIA_PLAY),hideMobileStickyAd(n);case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()); }, {"5":5,"6":6,"7":7,"8":8,"9":9,"10":10,"11":11,"12":12,"13":13,"14":14,"131":131,"152":152,"Audio.legacy":"Audio.legacy"}]; window.modules["Audio.legacy"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_inherits2=require(9),_inherits3=(0,_interopRequireDefault2.default)(_inherits2),_possibleConstructorReturn2=require(10),_possibleConstructorReturn3=(0,_interopRequireDefault2.default)(_possibleConstructorReturn2),_getPrototypeOf2=require(11),_getPrototypeOf3=(0,_interopRequireDefault2.default)(_getPrototypeOf2);function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,u=(0,_getPrototypeOf3.default)(e);if(t){var i=(0,_getPrototypeOf3.default)(this).constructor;r=Reflect.construct(u,arguments,i)}else r=u.apply(this,arguments);return(0,_possibleConstructorReturn3.default)(this,r)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}var Media=require("Media.legacy"),Audio=function(e){(0,_inherits3.default)(r,e);var t=_createSuper(r);function r(e,u){return(0,_classCallCheck3.default)(this,r),t.call(this,e,u)}return r}(Media);module.exports=Audio; }, {"6":6,"9":9,"10":10,"11":11,"12":12,"Media.legacy":"Media.legacy"}]; window.modules["yieldmo.client"] = [function(require,module,exports){"use strict";function injectYieldmo(){var e=document.querySelector(".component--yieldmo"),t=document.getElementsByClassName("body__content")[0];t&&t.insertAdjacentElement("afterbegin",e),window._ym?window._ym.requestPageView([e.querySelector(".placement-1").id]):function(e,t){if(void 0===t._ym){var n=Math.round(5*Math.random()/3)+"";t._ym="";var m=e.createElement("script");m.type="text/javascript",m.async=!0,m.src="https://static.yieldmo.com/ym."+n+".js",(e.getElementsByTagName("head")[0]||e.getElementsByTagName("body")[0]).appendChild(m)}else t._ym instanceof String||void 0===t._ym.chkPls||t._ym.chkPls()}(document,window)}document.addEventListener("yieldmo-mount",injectYieldmo); }, {}]; window.modules["youtube.client"] = [function(require,module,exports){"use strict";var _interopRequireDefault3=require(6),_interopRequireDefault2=_interopRequireDefault3(require(6)),_regenerator=require(5),_regenerator2=(0,_interopRequireDefault2.default)(_regenerator),_defineProperty2=require(15),_defineProperty3=(0,_interopRequireDefault2.default)(_defineProperty2),_asyncToGenerator2=require(8),_asyncToGenerator3=(0,_interopRequireDefault2.default)(_asyncToGenerator2),_classCallCheck2=require(12),_classCallCheck3=(0,_interopRequireDefault2.default)(_classCallCheck2),_createClass2=require(7),_createClass3=(0,_interopRequireDefault2.default)(_createClass2),_get2=require(162),_get3=(0,_interopRequireDefault2.default)(_get2),_inherits2=require(9),_inherits3=(0,_interopRequireDefault2.default)(_inherits2),_possibleConstructorReturn2=require(10),_possibleConstructorReturn3=(0,_interopRequireDefault2.default)(_possibleConstructorReturn2),_getPrototypeOf2=require(11),_getPrototypeOf3=(0,_interopRequireDefault2.default)(_getPrototypeOf2);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,i=!1;return{s:function(){e=r[Symbol.iterator]()},n:function(){var r=e.next();return u=r.done,r},e:function(r){i=!0,a=r},f:function(){try{u||null==e.return||e.return()}finally{if(i)throw a}}}}function _unsupportedIterableToArray(r,t){if(r){if("string"==typeof r)return _arrayLikeToArray(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(r,t):void 0}}function _arrayLikeToArray(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e
    2 men dead, woman in critical condition after Shelby Twp. stabbing
    Get link xoonews.com websitetrafficnews.com