1/* Request ID: c4be930abea180736f5e05a1aa6d4214_1790026876 (09/21/2026 5:41pm) (tdNRTgQhDAbgq3gAO+jqBTYmPu8NNh3oMtXSTgo415c1ewR5A0L65W/TsFmhUEjFwnEcy9+pxs1MFvMc9r4Kx+vWioQra3ZKTNpqaBsVqiGLrSihRud9vL7AbXz/dsgoQs5UQQzT8lWfn8L/Uq+Aqh3ls2u6oDeOvGNj0znYjRU1MsqZ0wdK7ILNfI6lWOjipv0O3iOde2KbYzXbh/fDeVrvTsDVBkMzir9BsZWFoOEqVGcQ75DN8p1w1DrGPiUIpkQJHrcZQEQhTegQe21WZhCPOY9dkUY+JYWMndhgFOmj+i8=) */ 2 3 4 5/* Resource ID: 0f154a56dab58aed4ba95f1c7a7 (0-flickr-galleries-load.js, minified by uglifyjs) (09/21/2026 5:41pm) (A:1464, G:931, K:931) */ 6 7(function(e,s,i){var l=e(".flickr-galleries"),t="/_flickr/load_albums.php",c="https://www.flickr.com/photos/menlophoto/albums/";if(l.length){var o=[],a=[],d=[];e.getJSON(t,function(s){if(s!=null){e.each(s.photosets.photoset,function(s,i){if(i.description._content==""){var e=i.title._content.replace(/^\d+\-\d+\s*/,"");o.push(e)}else{o.push(i.description._content)}a.push(c+i.id);d.push(i.primary_photo_extras.url_m)});for(var i=0;i<o.length;i++){l.find(".flickr-galleries-inner").append('<div class="col-md-3 col-sm-6 card-news card-news--small"><a href="'+a[i]+'"><div class="row"><div class="col-5 pe-0 pe-sm-3 pe-md-4 col-sm-12"><div class="ratio ratio-1x1 mb-3"><img src="'+d[i]+'" class="round" style="object-fit: cover;" title="'+o[i]+'"/></div></div><div class="col-6 col-sm-12"><div class="card-content"><div class="card__content-text">'+o[i]+"</div></div></div></div></a></div>")}}})}})(livewhale.jQuery,window,document); 8 9/* Resource ID: e29adc1e3c73e2587af3427407b (1-annualFundParticipation.js) (09/21/2026 5:41pm) (A:10615, K:10615) */ 10 11/** 12 * circles - v0.0.6 - 2015-05-27 13 * 14 * Copyright (c) 2015 lugolabs 15 * Licensed 16 */ 17!function(){"use strict";var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){setTimeout(a,1e3/60)},b=window.Circles=function(a){var b=a.id;if(this._el=document.getElementById(b),null!==this._el){this._radius=a.radius||10,this._duration=void 0===a.duration?500:a.duration,this._value=0,this._maxValue=a.maxValue||100,this._text=void 0===a.text?function(a){return this.htmlifyNumber(a)}:a.text,this._strokeWidth=a.width||10,this._colors=a.colors||["#EEE","#F00"],this._svg=null,this._movingPath=null,this._wrapContainer=null,this._textContainer=null,this._wrpClass=a.wrpClass||"circles-wrp",this._textClass=a.textClass||"circles-text",this._valClass=a.valueStrokeClass||"circles-valueStroke",this._maxValClass=a.maxValueStrokeClass||"circles-maxValueStroke",this._styleWrapper=a.styleWrapper===!1?!1:!0,this._styleText=a.styleText===!1?!1:!0;var c=Math.PI/180*270;this._start=-Math.PI/180*90,this._startPrecise=this._precise(this._start),this._circ=c-this._start,this._generate().update(a.value||0)}};b.prototype={VERSION:"0.0.6",_generate:function(){return this._svgSize=2*this._radius,this._radiusAdjusted=this._radius-this._strokeWidth/2,this._generateSvg()._generateText()._generateWrapper(),this._el.innerHTML="",this._el.appendChild(this._wrapContainer),this},_setPercentage:function(a){this._movingPath.setAttribute("d",this._calculatePath(a,!0)),this._textContainer.innerHTML=this._getText(this.getValueFromPercent(a))},_generateWrapper:function(){return this._wrapContainer=document.createElement("div"),this._wrapContainer.className=this._wrpClass,this._styleWrapper&&(this._wrapContainer.style.position="relative",this._wrapContainer.style.display="inline-block"),this._wrapContainer.appendChild(this._svg),this._wrapContainer.appendChild(this._textContainer),this},_generateText:function(){if(this._textContainer=document.createElement("div"),this._textContainer.className=this._textClass,this._styleText){var a={position:"absolute",top:0,left:0,textAlign:"center",width:"100%",fontSize:.7*this._radius+"px",height:this._svgSize+"px",lineHeight:this._svgSize+"px"};for(var b in a)this._textContainer.style[b]=a[b]}return this._textContainer.innerHTML=this._getText(0),this},_getText:function(a){return this._text?(void 0===a&&(a=this._value),a=parseFloat(a.toFixed(2)),"function"==typeof this._text?this._text.call(this,a):this._text):""},_generateSvg:function(){return this._svg=document.createElementNS("http://www.w3.org/2000/svg","svg"),this._svg.setAttribute("xmlns","http://www.w3.org/2000/svg"),this._svg.setAttribute("width",this._svgSize),this._svg.setAttribute("height",this._svgSize),this._generatePath(100,!1,this._colors[0],this._maxValClass)._generatePath(1,!0,this._colors[1],this._valClass),this._movingPath=this._svg.getElementsByTagName("path")[1],this},_generatePath:function(a,b,c,d){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return e.setAttribute("fill","transparent"),e.setAttribute("stroke",c),e.setAttribute("stroke-width",this._strokeWidth),e.setAttribute("d",this._calculatePath(a,b)),e.setAttribute("class",d),this._svg.appendChild(e),this},_calculatePath:function(a,b){var c=this._start+a/100*this._circ,d=this._precise(c);return this._arc(d,b)},_arc:function(a,b){var c=a-.001,d=a-this._startPrecise<Math.PI?0:1;return["M",this._radius+this._radiusAdjusted*Math.cos(this._startPrecise),this._radius+this._radiusAdjusted*Math.sin(this._startPrecise),"A",this._radiusAdjusted,this._radiusAdjusted,0,d,1,this._radius+this._radiusAdjusted*Math.cos(c),this._radius+this._radiusAdjusted*Math.sin(c),b?"":"Z"].join(" ")},_precise:function(a){return Math.round(1e3*a)/1e3},htmlifyNumber:function(a,b,c){b=b||"circles-integer",c=c||"circles-decimals";var d=(a+"").split("."),e='<span class="'+b+'">'+d[0]+"</span>";return d.length>1&&(e+='.<span class="'+c+'">'+d[1].substring(0,2)+"</span>"),e},updateRadius:function(a){return this._radius=a,this._generate().update(!0)},updateWidth:function(a){return this._strokeWidth=a,this._generate().update(!0)},updateColors:function(a){this._colors=a;var b=this._svg.getElementsByTagName("path");return b[0].setAttribute("stroke",a[0]),b[1].setAttribute("stroke",a[1]),this},getPercent:function(){return 100*this._value/this._maxValue},getValueFromPercent:function(a){return this._maxValue*a/100},getValue:function(){return this._value},getMaxValue:function(){return this._maxValue},update:function(b,c){if(b===!0)return this._setPercentage(this.getPercent()),this;if(this._value==b||isNaN(b))return this;void 0===c&&(c=this._duration);var d,e,f,g,h=this,i=h.getPercent(),j=1;return this._value=Math.min(this._maxValue,Math.max(0,b)),c?(d=h.getPercent(),e=d>i,j+=d%1,f=Math.floor(Math.abs(d-i)/j),g=c/f,function k(b){if(e?i+=j:i-=j,e&&i>=d||!e&&d>=i)return void a(function(){h._setPercentage(d)});a(function(){h._setPercentage(i)});var c=Date.now(),f=c-b;f>=g?k(c):setTimeout(function(){k(Date.now())},g-f)}(Date.now()),this):(this._setPercentage(this.getPercent()),this)}},b.create=function(a){return new b(a)}}(); 18 19 20/* Annual Fund Particiation */ 21 22(function() { 23 24 // get tag element 25 var $aFPCircles = $("#afpcircles"); 26 27 if ($aFPCircles.length > 0) { 28 29 //Set "as of" date 30 // var asOfDate = "November 1, 2021"; 31 var asOfDate = $aFPCircles.attr('data-date'); 32 33 //Set total participation 34 // var totalParticipation = 60; 35 var totalParticipation = $aFPCircles.attr('data-total-participation'); 36 37 var allParticipation = $aFPCircles.attr('data-all-participation'); 38 var classYearParticipation = {}; 39 var participationArray = allParticipation.split(';'); 40 41 $.each(participationArray, function(index, value) { 42 var thisValue = value.split(','); 43 if (thisValue.length == 2) { 44 classYearParticipation[$.trim(thisValue[0])] = $.trim(thisValue[1]); 45 } 46 }); 47 48 //Add circle and chart to page 49 $aFPCircles.append('<p>As of '+asOfDate+'</p><div class="circle" id="total-participation"></div><br /><br />
49<canvas id="class-year-chart" width="360" height="320"></canvas><br />'); 50 51 //Create total participation circle 52 var totalCircle = Circles.create({ 53 id: 'total-participation', 54 radius: 120, 55 value: 0, 56 width: 15, 57 text: function(value){return value + '%';}, 58 colors: ['#eee', '#FFA747'], 59 duration: 1000, 60 wrpClass: 'circles-wrp', 61 textClass: 'circles-text', 62 valueStrokeClass: 'circles-valueStroke', 63 maxValueStrokeClass: 'circles-maxValueStroke' 64 }); 65 66 //Update the value of the total participation circle when it's visible on the screen 67 $(window).on('scroll load', function(event){ 68 if ($('#total-participation').visible(true)) { 69 setTimeout(function() { 70 totalCircle.update(totalParticipation); 71 }, 500); 72 } 73 }); 74 75 76 //Add ChartJS to page and build participation chart by class year 77 //$.getScript("https://cdnjs.cloudflare.com/ajax/libs/Chart.js/1.0.2/Chart.min.js", function(){ 78 $.getScript("https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.min.js", function(){ 79 80 var dataArray = []; 81 82 for (var key in classYearParticipation) { 83 if (classYearParticipation.hasOwnProperty(key)) { 84 dataArray.push(classYearParticipation[key]); 85 } 86 } 87 88 var data = { 89 //labels: ["2016", "2017", "2018", "2019", "2020", "2021", "2022"], 90 labels: Object.keys(classYearParticipation), 91 datasets: [ 92 { 93 backgroundColor: [ 94 "#FFA747", 95 "#FFA747", 96 "#FFA747", 97 "#FFA747", 98 "#FFA747", 99 "#FFA747", 100 "#FFA747", 101 "#0047A9", 102 "#0047A9", 103 "#0047A9" 104 ], 105 // strokeColor: "#ffffff", 106 // highlightFill: "#0047A9", 107 //data: [58, 55, 58, 43, 72, 52, 66] 108 //data: dataArray 109 data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 110 //data: Object.values(classYearParticipation) 111 } 112 ] 113 }; 114 115 /*var options = { 116 scaleShowGridLines : false, 117 scaleLineColor: "#aaa", 118 barStrokeWidth : 1, 119 scaleLabel: "<%=value%>%", 120 tooltipTemplate: "<%if (label){%><%=label%>: <%}%><%= value %>%", 121 tooltipCornerRadius: 3, 122 scaleOverride: true, 123 scaleSteps: 4, 124 scaleStepWidth: 25, 125 scaleStartValue: 0 126 };*/ 127 128 var ctx = $("#class-year-chart").get(0).getContext("2d"); 129 130 var myBarChart = new Chart(ctx, { 131 type: 'bar', 132 data: data, 133 options: { 134 legend: { 135 display: false 136 }, 137 tooltips: { 138 cornerRadius: 3, 139 displayColors: false, 140 callbacks: { 141 label: function(tooltipItem, data) { 142 return tooltipItem.yLabel + '%'; 143 } 144 } 145 }, 146 scales: { 147 yAxes: [{ 148 ticks: { 149 beginAtZero:true, 150 max: 100, 151 stepSize: 20, 152 callback: function(value, index, values) { 153 return value.toString() + '%'; 154 } 155 }, 156 gridLines: { 157 display: true 158 } 159 }], 160 xAxes: [{ 161 ticks: { 162 stepSize: 1, 163 autoSkip: false 164 }, 165 gridLines: { 166 display: false 167 } 168 }] 169 }, 170 } 171 }); 172 173 174 //Update the value of the class participation chart when it's visible on the screen 175 $(window).on('scroll load', function(event){ 176 if ($('#class-year-chart').visible(true)) { 177 for (var i = 0; i < dataArray.length; i++) { 178 myBarChart.data.datasets[0].data[i] = dataArray[i]; 179 } 180 setTimeout(function() {
181 myBarChart.update(); 182 }, 500); 183 } 184 }); 185 186 }); 187 188 189 //jQuery plugin to check if an element is visible on the screen 190 $.fn.visible = function(partial) { 191 192 var $t = $(this), 193 $w = $(window), 194 viewTop = $w.scrollTop(), 195 viewBottom = viewTop + $w.height(), 196 _top = $t.offset().top, 197 _bottom = _top + $t.height(), 198 compareTop = partial === true ? _bottom : _top, 199 compareBottom = partial === true ? _top : _bottom; 200 201 return ((compareBottom <= viewBottom) && (compareTop >= viewTop)); 202 203 }; 204 205 } 206})(); 207 208/* Resource ID: d473a0dc8e1f296a800a1bad0f8 (1-financialAidCalculator.js, minified by uglifyjs) (09/21/2026 5:41pm) (A:6330, G:4557, K:4557) */ 209 210(function($){$(document).ready(function(){var e=$("#financial_aid_calculator_container");if(e.length>0){var i=` 211 <div id="financial_aid_calculator" style="display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-end; column-gap: 20px; margin: auto;"> 212 <div class="calculator-column" style="flex: 1; min-width: 200px; margin-bottom: 1rem;"> 213 <label for="gross-income" style="font-weight: bold; display: block; margin-bottom: 5px;">Gross Income</label> 214 <select name="Gross Income" id="gross-income" style="width: 100%; padding: 5px; margin-bottom: 1rem;"> 215 <option value="$0-$100,000">$0-$100,000</option> 216 <option value="$101,000-$200,000">$101,000-$200,000</option> 217 <option value="$201,000-$300,000">$201,000-$300,000</option> 218 <option value="$301,000-$400,000">$301,000-$400,000</option> 219 <option value="$401,000-$500,000">$401,000-$500,000</option> 220 <option value="$501,000+">$501,000+</option> 221 </select> 222 </div> 223 <div class="calculator-column" style="flex: 1; min-width: 200px; margin-bottom: 1rem;"> 224 <label for="children_attending" style="font-weight: bold; display: block; margin-bottom: 5px;">Family Size</label> 225 <select name="Family Size" id="family-size" style="width: 100%; padding: 5px; margin-bottom: 1rem;"> 226 <option value="Two">Two</option> 227 <option value="Three">Three</option> 228 <option value="Four">Four</option> 229 <option value="Five">Five</option> 230 <option value="Six+">Six+</option> 231 </select> 232 </div> 233 <div class="calculator-column" style="flex: 1; min-width: 200px; display: flex; align-items: flex-end; margin-bottom: 1rem;"> 234 <button id="apply" class="btn btn--outline" style="width: 100%; margin-top: 5px;">APPLY</button> 235 </div> 236 </div> 237 <div id="message" style="margin-bottom: 20px;"></div> 238 `;e.html(i);var r=[["$0-$100,000","Two",61718,63453,64193],["$0-$100,000","Three",58718,62493,64218],["$0-$100,000","Four",49283,60439,64318],["$0-$100,000","Five",63563,63642,63773],["$0-$100,000","Six+",63668,63668,63668],["$101,000-$200,000","Two",44718,44718,44718],["$101,000-$200,000","Three",39718,56618,64218],["$101,000-$200,000","Four",7218,48227,63248],["$101,000-$200,000","Five",44718,59264,64193],["$101,000-$200,000","Six+",62718,63577,64193],["$201,000-$300,000","Two",28718,42968,57218],["$201,000-$300,000","Three",9718,34051,54718],["$201,000-$300,000","Four",37718,49963,62093],["$201,000-$300,000","Five",24218,43765,61988],["$201,000-$300,000","Six+",54718,57968,59718],["$301,000-$400,000","Two",0,0,0],["$301,000-$400,000","Three",0,0,0],["$301,000-$400,000","Four",35718,45329,53218],["$301,000-$400,000","Five",25133,39370,51068],["$301,000-$400,000","Six+",54718,54718,54718],["$401,000-$500,000","Two",0,0,0],["$401,000-$500,000","Three",0,0,0],["$401,000-$500,000","Four",18178,31850,42718],["$401,000-$500,000","Five",44098,52063,54718],["$401,000-$500,000","Six+",0,0,0],["$501,000+","Two",0,0,0],["$501,000+","Three",24218,19718,28718],["$501,000+","Four",9718,30066,44718],["$501,000+","Five",13718,33066,50468],["$501,000+","Six+",28718,37268,40318]];function o(){var i=$("#gross-income").val();var o=$("#family-size").val();var e=r.filter(function(e){return e[0]===i&&e[1]===o});var t="";if(e.length===0||e[0][2]===0&&e[0][3]===0&&e[0][4]===0){t="There are no currently enrolled families with this gross income range and family size, but all families have unique financial profiles. We encourage all interested families to apply for aid if financial support will be needed for their student to attend Menlo."}
238else{var n=e[0][2].toLocaleString("en-US");var l=e[0][3].toLocaleString("en-US");var a=e[0][4].toLocaleString("en-US");t=`Families in this income range with this household size received grants ranging from <strong>$${n}</strong> to <strong>$${a}</strong>. The average grant was <strong>$${l}</strong>.`}$("#message").html(t);$("#apply").blur()}$("#apply").on("click",function(e){e.preventDefault();o()});$(window).resize(function(){var e=$(window).width()<=767;if(e){$(".calculator-column").css({"flex-basis":"100%"})}else{$(".calculator-column").css({"flex-basis":"30%"})}}).trigger("resize")}})})(jQuery); 239 240/* Resource ID: c44bb3e1d1cbd559f0b97ee8410 (1-namePronunciationAudio.js, minified by uglifyjs) (09/21/2026 5:41pm) (A:1013, G:727, K:727) */ 241 242(function(e){if(e(".employee-name-audio").length>0){var a="https://fortress.menloschool.org/public/about-me/pronounce-name/"+e(".employee-name-audio").data("audioFileId");if(a){var n=new Audio(a),d=e(".employee-name-audio").find("span.play"),o=e(".employee-name-audio").find("span.stop");n.addEventListener("ended",function(){o.addClass("hidden");d.removeClass("hidden");n.currentTime=0});n.addEventListener("canplaythrough",function(){e(".employee-name-audio").removeClass("transparent")})}e(".employee-name-audio").click(function(e){event.preventDefault();if(o.hasClass("hidden")){d.addClass("hidden");o.removeClass("hidden");n.play()}else{o.addClass("hidden");d.removeClass("hidden");n.pause();n.currentTime=0}})}})(jQuery); 243 244/* Resource ID: c32d1c6e2d9a7c0d5b71f3940b7 (1-top-navigation.js, minified by uglifyjs) (09/21/2026 5:41pm) (A:1438, G:1221, K:1221) */ 245 246(function(n,a){var t=n("body"),i=n(window);n("#main-navigation > ul > li").each(function(){n(this).attr("data-nav-section",n(this).children("a").text().replace(/\s+/g,"-").toLowerCase())});n(".nav-sub-page ul > li > ul.lw_subnav").parent().addClass("has-dropdown");n(".nav-sub-page ul.lw_subnav").wrap('<div class="nav__dropdown"></div>');n(".nav__dropdown-body").each(function(){var a=n(this).attr("data-megamenu");var t=n('#main-navigation > ul > li[data-nav-section="'+a+'"] ul').html();n(this).find("ul.nav__dropdown-list-links").prepend(t);n(this).find("ul.lw_subnav").remove();n(this).find("a").prepend('<svg xmlns="http://www.w3.org/2000/svg" width="17.756" height="15.353" viewBox="0 0 17.756 15.353"><g id="ico-arrow-right" transform="translate(-288.838 -110.222)"><path id="Path_401" data-name="Path 401" d="M309.138,117.9a7.676,7.676,0,0,1-7.676-7.676" transform="translate(-2.545)" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="1"/><path id="Path_402" data-name="Path 402" d="M288.838,118.972h17.756a7.676,7.676,0,0,0-7.676,7.676" transform="translate(0 -1.074)" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="1"/></g></svg>')})})(livewhale.jQuery,livewhale); 247 248/* Resource ID: febaf8afca6f63c864e3a550c0e (2-isotope.js) (09/21/2026 5:41pm) (A:35248, K:35248) */ 249
vendor: 35,445 bytes, lines 250-261
250/*! 251 * Isotope PACKAGED v3.0.6 252 * 253 * Licensed GPLv3 for open source use 254 * or Isotope Commercial License for commercial use 255 * 256 * https://isotope.metafizzy.co 257 * Copyright 2010-2018 Metafizzy 258 */ 259 260!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){function u(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(!h)return void r(i+" not initialized. Cannot call methods, i.e. "+s);var d=h[e];if(!d||"_"==e.charAt(0))return void r(s+" is not a valid method");var l=d.apply(h,o);n=void 0===n?l:n}),void 0!==n?n:t}function h(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}a=a||e||t.jQuery,a&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=n.call(arguments,1);return u(this,t,e)}return h(this,t),this},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r="undefined"==typeof s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return o.indexOf(e)==-1&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},o=i[t]=i[t]||{};return o[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return o!=-1&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n],r=o&&o[s];r&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=t.indexOf("%")==-1&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<h;e++){var i=u[e];t[i]=0}return t}function o(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function n(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=o(e);r=200==Math.round(t(n.width)),s.isBoxSizeOuter=r,i.removeChild(e)}}function s(e){if(n(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var s=o(e);if("none"==s.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==s.boxSizing,l=0;l<h;l++){var f=u[l],c=s[f],m=parseFloat(c);a[f]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,y=a.paddingTop+a.paddingBottom,g=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,I=d&&r,x=t(s.width);x!==!1&&(a.width=x+(I?0:p+_));var S=t(s.height);return S!==!1&&(a.height=S+(I?0:y+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(y+z),a.outerWidth=a.width+g,a.outerHeight=a.height+v,a}}var r,a="undefined"==typeof console?e:function(t){console.error(t)},u=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],h=u.length,d=!1;return s}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i],n=o+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var o=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e="object"==typeof t&&"number"==typeof t.length;return e?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);i!=-1&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!o)return void n.push(t);e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}}),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var s=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),d=r+"-options",l=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&&JSON.parse(s)}catch(a){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+a))}var u=new e(t,i);l&&l.data(t,o,u)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function i(t){for(var e in t)return!1;return e=null,!0}function o(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function n(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var s=document.documentElement.style,r="string"==typeof s.transition?"transition":"WebkitTransition",a="string"==typeof s.transform?"transform":"WebkitTransform",u={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[r],h={transform:a,transition:r,transitionDuration:r+"Duration",transitionProperty:r+"Property",transitionDelay:r+"Delay"},d=o.prototype=Object.create(t.prototype);d.constructor=o,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var o=h[i]||i;e[o]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;o.indexOf("%")!=-1&&(s=s/100*a.width),n.indexOf("%")!=-1&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",d=o?"bottom":"top",l=this.position.y+t[u];e[h]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},d.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},d.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),n&&!this.isTransitioning)return void this.layoutPosition();var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop");return t=i?t:-t,e=o?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+n(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(u,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var f={"-webkit-transform":"transform"};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=f[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&&this.disableTransition(),o in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent("transitionEnd",[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var c={transitionProperty:"",transitionDuration:"",transitionDelay:""};return d.removeTransitionStyles=function(){this.css(c)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.remove=function(){return r&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";function s(t,e){var i=o.getQueryElement(t);if(!i)return void(u&&u.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,h&&(this.$element=h(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,f[n]=this,this._create();var s=this._getOption("initLayout");s&&this.layout()}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=m[o]||1;return i*n}var u=t.console,h=t.jQuery,d=function(){},l=0,f={};s.namespace="outlayer",s.Item=n,s.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var c=s.prototype;o.extend(c,e.prototype),c.option=function(t){o.extend(this.options,t)},c._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},c._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},c.reloadItems=function(){this.items=this._itemize(this.element.children)},c._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=e[n],r=new i(s,this);o.push(r)}return o},c._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},c.getItemElements=function(){return this.items.map(function(t){return t.element})},c.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},c._init=c.layout,c._resetLayout=function(){this.getSize()},c.getSize=function(){this.size=i(this.element)},c._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},c.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},c._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},c._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},c._getItemLayoutPosition=function(){return{x:0,y:0}},c._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},c.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},c._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},c._postLayout=function(){this.resizeContainer()},c.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},c._getContainerSize=d,c._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},c._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+"Complete",null,[e])}function o(){r++,r==s&&i()}var n=this,s=e.length;if(!e||!s)return void i();var r=0;e.forEach(function(e){e.once(t,o)})},c.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),h)if(this.$element=this.$element||h(this.element),e){var n=h.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},c.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},c.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},c.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},c.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},c._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},c._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},c._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},c._manageStamp=d,c._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t),s={left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom};return s},c.handleEvent=o.handleEvent,c.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},c.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},c.onresize=function(){this.resize()},o.debounceMethod(s,"onresize",100),c.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},c.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},c.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},c.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},c.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},c.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},c.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},c.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},c.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},c.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},c.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},c.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},c.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete f[e],delete this.element.outlayerGUID,h&&h.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=o.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&f[e]},s.create=function(t,e){var i=r(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),h&&h.bridget&&h.bridget(t,i),i};var m={ms:1,s:1e3};return s.Item=n,s}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype,n=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"];return n.forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&&e;return i&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o,a=r&&r<1?"round":"floor";s=Math[a](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,o=e(i);this.containerWidth=o&&o.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&e<1?"round":"ceil",o=Math[i](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var n=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",s=this[n](o,t),r={x:this.columnWidth*s.col,y:s.y},a=s.y+t.size.outerHeight,u=o+s.col,h=s.col;h<u;h++)this.colYs[h]=a;return r},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,o=t>1&&i+t>this.cols;i=o?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft"),s=n?o.left:o.right,r=s+i.outerWidth,a=Math.floor(s/this.columnWidth);a=Math.max(0,a);var u=Math.floor(r/this.columnWidth);u-=r%this.columnWidth?0:1,u=Math.min(this.cols-1,u);for(var h=this._getOption("originTop"),d=(h?o.top:o.bottom)+i.outerHeight,l=a;l<=u;l++)this.colYs[l]=Math.max(d,this.colYs[l])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){function a(t,e){return function(i,o){for(var n=0;n<t.length;n++){var s=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a){var u=void 0!==e[s]?e[s]:e,h=u?1:-1;return(r>a?1:-1)*h}}return 0}}var u=t.jQuery,h=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},d=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=s,d.LayoutMode=r;var l=d.prototype;l._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var t in r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){var o=t[i];o.id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){function t(){e&&i&&o&&n.dispatchEvent("arrangeComplete",null,[n.filteredItems])}var e,i,o,n=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){o=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return u&&this.options.isJQueryFiltering?function(e){return u(e.element).is(t); 261}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=f(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){var o=t[i];o.updateSortData()}};var f=function(){function t(t){if("string"!=typeof t)return t;var i=h(t).split(" "),o=i[0],n=o.match(/^\[(.+)\]$/),s=n&&n[1],r=e(s,o),a=d.sortDataParsers[i[1]];return t=a?function(t){return t&&a(r(t))}:function(t){return t&&r(t)}}function e(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}return t}();d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=a(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var c=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);c.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){var e=this.items[t];e.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},d});
261 262 263/* Resource ID: 638b319ae4534d9e01318b929ba (3-mobile-tables.js, minified by uglifyjs) (09/21/2026 5:41pm) (A:3774, G:982, K:982) */ 264 265(function(h){var r=function(){var t=h("table");t.each(function(){var t=h(this);var r=t.find("thead").find("th, td");var a=t.find("tbody").find("tr:first-child");var n=a.find("th").length?a.find("th"):a.find("td").has("h1, h2, h3, h4, h5, h6, strong");var i=r.length?r:n;if(i.length){if(!r.length&&n.length){t.addClass("has-tbody-header")}var d=/<br\s*[\/]?>/gi;var e=i.map(function(){var t=h(this).html().replace(d," ");var r=h.trim(h("<div>"+t+"</div>").text());return r}).get();t.find("tbody").find("tr").children().attr("data-table-header",function(){var t=h(this);var r=t.parent().children().index(h(this));var a=parseInt(t.attr("colspan"));if(a){var n="";for(var i=r;i<r+a;i++){n+=n.length?" and "+e[i]:e[i]}n=n}else{n=e[r]}n=n.length?n+":":"";return n});t.find("tbody").find("tr").children(":first-child").filter(function(){return!h(this).first().attr("data-table-header")}).addClass("mobile-header")}})};r();h("body").bind("stopEdit.lw",function(t){r()})})(livewhale.jQuery); 266 267/* Resource ID: a98051653388f7188bf19032d0b (4-google-translate.js, minified by uglifyjs) (09/21/2026 5:41pm) (A:877, G:629, K:629) */ 268 269function googleTranslateElementInit(){new google.translate.TranslateElement({pageLanguage:"en",layout:google.translate.TranslateElement.InlineLayout.HORIZONTAL,gaTrack:true,gaId:"UA-15295917-1"},"google_translate")}var script=document.createElement("script");script.type="text/javascript";script.src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit";document.body.appendChild(script);(function(e,t){e("div.mobile-footer .footer__language-selection").addClass("mobile");e(".footer__language-selection:not(.mobile)").append(e("#google_translate").removeClass("lw_hidden"))})(livewhale.jQuery,livewhale); 270 271/* Resource ID: 56ad4b78ac589224e788686484f (added-scripts.js, minified by uglifyjs) (09/21/2026 5:41pm) (A:9185, G:4810, K:4810) */ 272 273(function(a,t){var e=a("body"),i=a(window);function d(r,s,o){var l;return function t(){var e=this;var i=arguments;var a=function(){l=null;if(!o)r.apply(e,i)};var n=o&&!l;clearTimeout(l);l=setTimeout(a,s);if(n)r.apply(e,i)}}function n(e,i){var a,n,r,s,o,l;var c=d(function(){o=s=false},i);return function(){a=this;n=arguments;var t=function(){r=null;if(o)e.apply(a,n);c()};if(!r)r=setTimeout(t,i);if(s){o=true}else{l=e.apply(a,n)}c();s=true;return l}}a(".js-mobile-nav-trigger").click(function(t){t.stopPropagation();a(this).parents(".section__navigation").toggleClass("mobile-nav-open")});a(".header button.search__btn").click(function(t){console.log(a(this).parent().find("form"));t.preventDefault();if(a(this).parent().find("form").hasClass("is-open")){a(this).parent().find("form").removeClass("is-open");a(this).attr("aria-expanded","false")}else{a(this).parent().find("form").addClass("is-open");a(this).attr("aria-expanded","true")}a("input#header-search").focus()});a(".header button.search__close__btn").on("click",function(t){t.preventDefault();a(".header form.search-form").removeClass("is-open");a(".header button.search__btn").attr("aria-expanded","false")});if(a(".hero .lw_image_caption").length){var r=a(".hero .lw_image_caption").html();a("#hero-caption").html(r)}else{a(".hero__caption").hide()}a("h1, h2, h3").each(function(){if(a(this).html().trim()==" "){console.log("Removing a header with "+a(this).html());a(this).html("")}});a("p > .lw_image").parent().addClass("no-line-cap");a("section").prev("hr").addClass("immediately-precedes-section");a(".lw_accordion_block > h4 > button").wrapInner("<span></span>");a(".lw_accordion_block > h4 > button").append("<i></i>");a(".lw_accordion_block_content").wrapInner('<div class="lw_accordion_block_text"><p></p></div>');a(".cards-news .cards__cols.row .cards__col:nth-child(even)").addClass("cards__col--top-right");a(".banner-featured .banner__image:empty").parent().addClass("no-image");a(".section__images picture").wrap('<figure class="section__image aos-init aos-animate" data-aos="fade-up"></figure>');a(".section__photo-collage picture").wrap('<figure class="section__image section__image--big aos-init aos-animate" data-aos="fade-up"></figure>');if(a(".section__courses").length){var s=a(".section__courses .cards__col.col-12.col-md-6:first-child +div").text();if(s==""||s.trim()==""){a(".section__courses .cards__col.col-12.col-md-6:first-child").removeClass("col-md-6").addClass("two-columns")}}function o(){var t=a("span.lw_image_caption");if(t.length){t.each(function(){var t=a(this).attr("class");a(this).prev().addBack().wrapAll('<div class="lw_image_wrap '+t+'"/>')})}}
273a("body").bind("calLoad.lwcal",function(t,e,i){o()});o();a(".section__photo-collage .collage-1 figure:nth-child(even)").appendTo(".collage-2");var l=function(){var t=a("table");t.each(function(){var t=a(this);var e=0;if(t.find("tbody").find("tr:first-child").has("th, h1, h2, h3, h4, h5, h6").length){e=t.find("tr:first-child").find("td");t.addClass("has-first-row-headers")}if(t.find("thead").length){e=t.find("thead").find("th")}if(e.length){t.addClass("has-header");var i=e.map(function(){var t=a.trim(a(this).text());if(t.length){t+=":"}return t}).get();t.find("tr").not(e).children().attr("data-th",function(){var t=a(this).parent().children().index(a(this));return i[t]});t.find("tr").not(e).children(":first-child").filter(function(){return!a(this).first().attr("data-th")}).addClass("mobile-header")}})};var c=a("div[data-type=people-slider]"),h=a("div.section__content-text"),f=a("div.section__content-text > h3"),_=a("div.section__content-text > p");if(c.length>0){c.each(function(){if(a(this).find(f).length||a(this).find(_).length){}else{a(this).find(h).remove();a(this).find(".section-members--size1 .section__content-slider").css("max-width","100%");a(this).find(".js-slider-members").addClass("slider-4-across")}})}var p=a('.course-catalog, .content_layout[data-type="course-listings-2col"], .content_layout[data-type="course-listings-1col"]');if(p.length){p.find(".read-more__text > *:not(:first-child)").css("display","none");p.find(".read-more__text :first-child").attr("style","margin-bottom: 0 !important;");var m=p.find(".read-more input");m.on("click",function(){if(a(this).attr("aria-label")==="read more"){a(this).parent().find(".read-more__text > *").css("display","block");a(this).parent().find(".read-more__text > *:first-child").attr("style","margin-bottom: 1.1em;")}else if(a(this).attr("aria-label")==="read less"){a(this).parent().find(".read-more__text > *:not(:first-child)").css("display","none");a(this).parent().find(".read-more__text > *:first-child").attr("style","margin-bottom: 0 !important;")}})}document.querySelectorAll("fieldset.form-disabled input").forEach(t=>{t.disabled=true})})(livewhale.jQuery,livewhale); 274 275/* Resource ID: cd298a1fa8bb7e73ecb22fc33ca (calendar-custom.js, minified by uglifyjs) (09/21/2026 5:41pm) (A:51143, G:32995, K:32995) */ 276 277(function(i,d,Q){var n=typeof d.lwCalendar!=="undefined";var e=document.getElementById("cal-feed-builder");if(!n&&!e){return}var s=i(window);function f(l,s,r){var i;return function e(){var t=this;var n=arguments;var a=function(){i=null;if(!r)l.apply(t,n)};var o=r&&!i;clearTimeout(i);i=setTimeout(a,s);if(o)l.apply(t,n)}}function r(t,n){var a,o,l,s,r,i;var c=f(function(){r=s=false},n);return function(){a=this;o=arguments;var e=function(){l=null;if(r)t.apply(a,o);c()};if(!l)l=setTimeout(e,n);if(s){r=true}else{i=t.apply(a,o)}c();s=true;return i}}window.menloCategoryDisplayNames={Partnership:"Menlo Parent Partnership","School Holidays-No School":"School Holidays","Rotation Days - Middle School":"Rotation Days - MS","Rotation Days - Upper School":"Rotation Days - US"};var a=null;var o=Object.create(null);function h(){var e=document.getElementById("cal-feed-builder");return e&&e.getAttribute("data-base")||"https://www.menloschool.org"}function c(e){return String(e).replace(/[&<>"']/g,function(e){return{"&":"&","<":"<",">":">",'"':""","'":"'"}[e]})}var l={baseball:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M464.1 544a80 80 0 1 1 0-160 80 80 0 1 1 0 160zm8.4-576c15.1 0 29.7 5.8 40.7 16.2l47.2 44.8c12.6 12 19.1 29 17.5 46.3-1.2 13.3-7 25.8-16.5 35.2L363.1 309c-7.3 7.3-15.7 13.4-25 18L206 393c-9.2 4.6-17.7 10.7-25 18l-92 92 1.7 1.8c7.7 9.4 7.1 23.3-1.7 32.1s-22.7 9.3-32.1 1.7l-1.8-1.7-48-48-1.7-1.8c-7.7-9.4-7.1-23.3 1.7-32.1s22.7-9.3 32.1-1.7l1.8 1.7 92-92c7.3-7.3 13.4-15.7 18-25l66.1-132.1c4.6-9.2 10.7-17.7 18-25L430.8-14.7C441.9-25.8 456.9-32 472.5-32z"></path></svg>',basketball:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M92.7 58.8l78.4 78.4c18.2-25 28.9-55.9 28.9-89.2 0-14.1-1.9-27.7-5.5-40.6-38 9.4-72.6 27.2-101.8 51.4zM58.8 92.7c-24.2 29.2-42 63.8-51.4 101.8 12.9 3.6 26.5 5.5 40.6 5.5 33.3 0 64.1-10.7 89.2-28.9L58.8 92.7zM256 0c-4.6 0-9.2 .1-13.7 .4 3.7 15.3 5.7 31.2 5.7 47.
2776 0 46.6-15.9 89.4-42.6 123.4L256 222.1 419.3 58.8C374.9 22.1 318.1 0 256 0zM48 248c-16.4 0-32.4-2-47.6-5.7-.2 4.5-.4 9.1-.4 13.7 0 62.1 22.1 118.9 58.8 163.3L222.1 256 171.4 205.4C137.4 232.1 94.6 248 48 248zm463.6 21.7c.2-4.5 .4-9.1 .4-13.7 0-62.1-22.1-118.9-58.8-163.3L289.9 256 340.6 306.6c34-26.7 76.9-42.6 123.4-42.6 16.4 0 32.4 2 47.6 5.7zm-7.1 47.8c-12.9-3.6-26.5-5.5-40.6-5.5-33.3 0-64.1 10.7-89.2 28.9l78.4 78.4c24.2-29.2 42-63.8 51.4-101.8zM340.9 374.8c-18.2 25-28.9 55.9-28.9 89.2 0 14.1 1.9 27.7 5.5 40.6 38-9.4 72.6-27.2 101.8-51.4l-78.4-78.4zm-34.3-34.3L256 289.9 92.7 453.2c44.3 36.7 101.2 58.8 163.3 58.8 4.6 0 9.2-.1 13.7-.4-3.7-15.3-5.7-31.2-5.7-47.6 0-46.6 15.9-89.4 42.6-123.4z"></path></svg>',cross_country:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M256.5-32a56 56 0 1 1 0 112 56 56 0 1 1 0-112zM123.6 176c-3.3 0-6.2 2-7.4 5L94.2 235.9c-6.6 16.4-25.2 24.4-41.6 17.8s-24.4-25.2-17.8-41.6l21.9-54.9C67.7 129.9 94.1 112 123.6 112l97.3 0c28.5 0 54.8 15.1 69.1 39.7l32.8 56.3 61.6 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-61.6 0c-22.8 0-43.8-12.1-55.3-31.8l-10-17.1-20.7 70.4 75.4 22.6c27.7 8.3 41.8 39 30.1 65.5L285.7 509c-7.2 16.2-26.1 23.4-42.2 16.2s-23.4-26.1-16.2-42.2l49.2-110.8-95.9-28.8c-32.7-9.8-52-43.7-43.7-76.8l22.7-90.6-35.9 0zm-8 181c13.3 14.9 30.7 26.3 51.2 32.4l4.7 1.4-6.9 19.3c-5.8 16.3-16 30.8-29.3 41.8L52.9 519.8c-13.6 11.2-33.8 9.3-45-4.3s-9.3-33.8 4.3-45l82.4-67.9c4.5-3.7 7.8-8.5 9.8-13.9L115.6 357z"></path></svg>',flag_football:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M261.1 22.6c-89 18-150.5 63.4-190 123.9-23.3 35.6-38.1 75.3-46.7 115.5L251.9 489.4c89-18 150.5-63.4 190.1-123.9 23.3-35.6 38.1-75.3 46.7-115.5L261.1 22.6zm236 168.1c3.2-42.3 .7-83.3-4.8-118.7-4.4-27.8-26.8-48-53.1-51.6-43-5.9-82.2-7.5-117.8-5.4L497.1 190.6zM191.7 497.1L15.9 321.4c-3.2 42.3-.7 83.3 4.8 118.7 4.4 27.8 26.8 48 53.1 51.6 43 5.9 82.2 7.5 117.8 5.4zM271.5 143c9.4-9.4 24.6-9.4 33.9 0l64 64c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9zm-64 64c9.4-9.4 24.6-9.4 33.9 0l64 64c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9zm-64 64c9.4-9.4 24.6-9.4 33.9 0l64 64c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9z"></path></svg>',football:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M261.1 22.6c-89 18-150.5 63.4-190 123.9-23.3 35.6-38.1 75.3-46.7 115.5L251.9 489.4c89-18 150.5-63.4 190.1-123.9 23.3-35.6 38.1-75.3 46.7-115.5L261.1 22.6zm236 168.1c3.2-42.3 .7-83.3-4.8-118.7-4.4-27.8-26.8-48-53.1-51.6-43-5.9-82.2-7.5-117.8-5.4L497.1 190.6zM191.7 497.1L15.9 321.4c-3.2 42.3-.7 83.3 4.8 118.7 4.4 27.8 26.8 48 53.1 51.6 43 5.9 82.2 7.5 117.8 5.4zM271.5 143c9.4-9.4 24.6-9.4 33.9 0l64 64c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9zm-64 64c9.4-9.4 24.6-9.4 33.9 0l64 64c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9zm-64 64c9.4-9.4 24.6-9.4 33.9 0l64 64c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9z"></path></svg>',golf:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M515.8-15.1c8.3-15.6 27.7-21.5 43.3-13.2S580.6-.5 572.3 15.1L329.8 469.7c-13.9 26.1-41.1 42.3-70.6 42.3L64 512c-17.7 0-32-14.3-32-32l0-24 44 0c11 0 20-9 20-20s-9-20-20-20l-44 0 0-32 44 0c11 0 20-9 20-20s-9-20-20-20l-44 0 0-24 .2-3.7c1-8.5 5.3-16.3 12.1-21.6 7.8-6.1 17.9-8.2 27.4-5.8L320.5 351.1 515.8-15.1z"></path></svg>',lacrosse:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M400-32c97.2
2770 176 78.8 176 176 0 57.8-35.9 109-89.3 129.2l-10.9 3.6-11.5 3.3c-8.6 2.5-16.8 6.2-24.2 11l-7.2 5.2-34.9 27.9c-22.5 18-50.4 27.8-79.2 27.8-23.4 0-45.3-6.4-64.1-17.4L54.6 534.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l200-200.1c-11-18.8-17.4-40.7-17.4-64.1 0-28.8 9.8-56.7 27.8-79.2l27.9-34.9 5.2-7.2c4.8-7.5 8.6-15.7 11-24.2l3.3-11.5 3.6-10.9C291 3.9 342.2-32 400-32zm96 576a80 80 0 1 1 0-160 80 80 0 1 1 0 160zM400 32c-31 0-58.5 19.3-69.3 47.9l-1.9 5.8-3.3 11.5c-4.9 17.2-12.8 33.3-23.2 47.8l-4.6 6.1-27.9 34.9c-8.9 11.1-13.7 25-13.8 39.2 0 34.7 28.1 62.7 62.7 62.7 14.2 0 28.1-4.8 39.2-13.7l34.9-27.9 6.1-4.6c14.4-10.4 30.6-18.3 47.8-23.2l11.5-3.3 5.8-1.9C492.7 202.5 512 175 512 144 512 82.1 461.8 32 400 32z"></path></svg>',soccer:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M417.3 360.1l-71.6-4.8c-5.2-.3-10.3 1.1-14.5 4.2s-7.2 7.4-8.4 12.5l-17.6 69.6C289.5 445.8 273 448 256 448s-33.5-2.2-49.2-6.4L189.2 372c-1.3-5-4.3-9.4-8.4-12.5s-9.3-4.5-14.5-4.2l-71.6 4.8c-17.6-27.2-28.5-59.2-30.4-93.6L125 228.3c4.4-2.8 7.6-7 9.2-11.9s1.4-10.2-.5-15l-26.7-66.6C128 109.2 155.3 89 186.7 76.9l55.2 46c4 3.3 9 5.1 14.1 5.1s10.2-1.8 14.1-5.1l55.2-46c31.3 12.1 58.7 32.3 79.6 57.9l-26.7 66.6c-1.9 4.8-2.1 10.1-.5 15s4.9 9.1 9.2 11.9l60.7 38.2c-1.9 34.4-12.8 66.4-30.4 93.6zM256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm14.1-325.7c-8.4-6.1-19.8-6.1-28.2 0L194 221c-8.4 6.1-11.9 16.9-8.7 26.8l18.3 56.3c3.2 9.9 12.4 16.6 22.8 16.6l59.2 0c10.4 0 19.6-6.7 22.8-16.6l18.3-56.3c3.2-9.9-.3-20.7-8.7-26.8l-47.9-34.8z"></path></svg>',softball:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M464.1 544a80 80 0 1 1 0-160 80 80 0 1 1 0 160zm8.4-576c15.1 0 29.7 5.8 40.7 16.2l47.2 44.8c12.6 12 19.1 29 17.5 46.3-1.2 13.3-7 25.8-16.5 35.2L363.1 309c-7.3 7.3-15.7 13.4-25 18L206 393c-9.2 4.6-17.7 10.7-25 18l-92 92 1.7 1.8c7.7 9.4 7.1 23.3-1.7 32.1s-22.7 9.3-32.1 1.7l-1.8-1.7-48-48-1.7-1.8c-7.7-9.4-7.1-23.3 1.7-32.1s22.7-9.3 32.1-1.7l1.8 1.7 92-92c7.3-7.3 13.4-15.7 18-25l66.1-132.1c4.6-9.2 10.7-17.7 18-25L430.8-14.7C441.9-25.8 456.9-32 472.5-32z"></path></svg>',swimming:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M552 152a56 56 0 1 0 -112 0 56 56 0 1 0 112 0zM293.4 198.2l-88.6 73.9c1.1 0 2.2-.1 3.3-.1 33.1-.2 66.3 10.2 94.4 31.4 22.1 16.6 29.1 16.6 51.2 0 27.5-20.7 59.9-31.2 92.4-31.4 4.8 0 9.7 .2 14.5 .6-8.3-30-24.3-57.7-46.8-80.2-18.4-18.4-40.6-32.7-65-41.8l-68.6-25.7c-27.4-10.3-58-7.5-83.1 7.6l-53.5 32.1c-15.2 9.1-20.1 28.7-11 43.9s28.7 20.1 43.9 11L230 187.3c8.4-5 18.6-5.9 27.7-2.5l35.7 13.4zm110 181.9c21.3-16.1 49.9-16.1 71.2 0 19 14.4 41.9 28.2 67.2 33.3 26.5 5.4 54.3 .8 80.7-19.1 10.6-8 12.7-23 4.7-33.6s-23-12.7-33.6-4.7c-14.9 11.2-28.6 13.1-42.3 10.3-14.9-3-30.9-11.9-47.8-24.6-38.4-29-90.5-29-129 0-24 18.1-40.7 26.3-54.5 26.3s-30.5-8.2-54.5-26.3c-38.4-29-90.5-29-129 0-21.6 16.3-41.3 25.8-58.9 25.7-9.6-.1-19.9-3-31.2-11.5-10.6-8-25.6-5.9-33.6 4.7S7 386.3 17.6 394.3c19.1 14.4 39.4 21 59.8 21.1 33.9 .2 64.3-17.4 88.1-35.3 21.3-16.1 49.9-16.1 71.2 0 24.2 18.3 52.3 35.9 83.4 35.9s59.1-17.7 83.4-35.9z"></path></svg>',tennis:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zM51.9 216c41.7-1 83.1-17.3 114.9-49.2S215 93.6 216 51.9c13-2.5 26.3-3.9 40-3.9 2.7 0 5.3 .1 8 .2 0 55.2-21.1 110.4-63.3 152.6S103.4 264 48.2 264c-.1-2.7-.2-5.3-.2-8 0-13.7 1.3-27.1 3.9-40zM460.2 296c-41.7 1-83.1 17.3-114.9 49.2S297 418.4 296 460.2c-13 2.5-26.3 3.8-40 3.8-2.7 0-5.3-.1-8-.2 0-55.2 21.1-110.4 63.3-152.6S408.6 248 463.8 248c.1 2.7 .2 5.3 .2 8 0 13.7-1.3 27.1-3.8 40z"></path></svg>',track:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M256.5-32a56 56 0 1 1 0 112 56 56 0 1 1 0-112zM123.6 176c-3.3 0-6.2 2-7.4 5L94.2 235.9c-6.6 16.4-25.2 24.4-41.6 17.8s-24.4-25.2-17.8-41.6l21.9-54.9C67.7 129.9 94.1 112 123.6 112l97.3 0c28.5 0 54.8 15.1 69.1 39.7l32.8 56.3 61.6 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-61.6 0c-22.8 0-43.8-12.1-55.3-31.8l-10-17.1-20.7 70.4 75.4 22.6c27.7 8.3 41.8 39 30.1 65.5L285.7 509c-7.2 16.2-26.1 23.4-42.2 16.2s-23.4-26.1-16.2-42.2l49.2-110.8-95.9-28.8c-32.7-9.8-52-43.7-43.7-76.8l22.7-90.6-35.9 0zm-8 181c13.3 14.9 30.7 26.3 51.2 32.4l4.7 1.4-6.9 19.3c-5.8 16.3-16 30.8-29.3 41.8L52.9 519.8c-13.6 11.2-33.8 9.3-45-4.3s-9.3-33.8 4.3-45l82.4
277-67.9c4.5-3.7 7.8-8.5 9.8-13.9L115.6 357z"></path></svg>',volleyball:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M512 258.9c-23.4 8-47.8 13.1-72.6 15.1 5.9-98.6-30.7-191.1-94.9-258.3 97.8 36 167.5 130 167.5 240.3 0 1 0 1.9 0 2.9zm-5.9 52c-5.2 23.7-13.6 46.2-24.9 66.9-94.7 52.2-214 50-308.4-13.6 21.7-31.3 49.8-58.9 83.8-80.5 79.5 41.6 168.5 49.1 249.5 27.1zM279.7 241.6c-3.7-89.7-41.7-170.5-101.3-229.7 22.3-7.1 46-11.2 70.5-11.9 92.5 55.9 150.3 160.3 142.4 273.8-38-3.2-75.9-13.7-111.6-32.3zM130.5 32.8C149.1 49.1 165.8 67.7 179.9 88.2 91.5 132.3 29.7 210.3 3.7 299.5 1.3 285.3 0 270.8 0 256 0 160.2 52.6 76.7 130.5 32.8zm73.4 97c16.3 34.5 26.1 72.6 27.9 112.8-75.8 48-126.8 121.3-148.3 202.5-17.6-16.1-33-34.6-45.5-55 2.1-108.1 63.7-210.4 165.9-260.3zM256 512c-47.7 0-92.3-13-130.5-35.7 4.8-24.3 12.6-48 23.2-70.4 82.4 54.4 180.8 68.9 271 47-44.4 37-101.5 59.2-163.7 59.2z"></path></svg>',water_polo:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640" part="svg" fill="currentColor">\x3c!--!Font Awesome Pro 7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc.--\x3e<path d="M500 70C500 31.3 531.3 0 570 0C608.7 0 640 31.3 640 70C640 108.7 608.7 140 570 140C531.3 140 500 108.7 500 70zM264 216C264 185.1 289.1 160 320 160C350.9 160 376 185.1 376 216C376 246.9 350.9 272 320 272C289.1 272 264 246.9 264 216zM133.9 193.6C150.7 188 168.8 197.1 174.4 213.8L185.3 246.6C194.7 274.9 218.5 296.1 247.8 302.2C253.4 303.4 259.1 304 264.9 304L352.9 304C370.1 304 387.2 301.2 403.5 295.8L517.9 257.7C534.7 252.1 552.8 261.2 558.4 277.9C564 294.6 554.9 312.8 538.2 318.4L423.7 356.5C415.3 359.3 406.7 361.6 398 363.4L371.5 451.7C365.4 455.1 359.4 459 353.6 463.4C331.5 480 324.5 480 302.4 463.4C276.2 443.7 245.5 433.2 214.6 432.1L234.8 364.9C183.3 354.2 141.3 316.8 124.6 266.9L113.7 234.1C108.1 217.3 117.2 199.2 133.9 193.6zM136.5 501.8C174.9 472.8 227 472.8 265.5 501.8C289.5 519.9 306.2 528.1 320 528.1C333.8 528.1 350.5 519.9 374.5 501.8C412.9 472.8 465 472.8 503.5 501.8C520.4 514.5 536.4 523.3 551.3 526.4C565 529.2 578.7 527.3 593.6 516.1C604.2 508.1 619.2 510.2 627.2 520.8C635.2 531.4 633.1 546.4 622.5 554.4C596.1 574.3 568.3 578.8 541.8 573.5C516.5 568.4 493.7 554.6 474.6 540.2C453.3 524.1 424.7 524.1 403.4 540.2L403.4 540.1C379.1 558.3 351.1 576 320 576C288.9 576 260.9 558.3 236.6 540.1C215.3 524 186.7 524 165.4 540.1C141.6 558 111.3 575.6 77.3 575.4C56.9 575.3 36.6 568.7 17.5 554.3C6.9 546.3 4.8 531.3 12.8 520.7C20.8 510.1 35.8 508 46.4 516C57.7 524.5 68 527.4 77.6 527.5C95.2 527.6 114.9 518.1 136.5 501.8z"/></svg>',other:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" part="svg" fill="currentColor">\x3c!--! Font Awesome Pro 7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc. --\x3e<path d="M144.3 0l224 0c26.5 0 48.1 21.8 47.1 48.2-.2 5.3-.4 10.6-.7 15.8l49.6 0c26.1 0 49.1 21.6 47.1 49.8-7.5 103.7-60.5 160.7-118 190.5-15.8 8.2-31.9 14.3-47.2 18.8-20.2 28.6-41.2 43.7-57.9 51.8l0 73.1 64 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0 0-73.1c-16-7.7-35.9-22-55.3-48.3-18.4-4.8-38.4-12.1-57.9-23.1-54.1-30.3-102.9-87.4-109.9-189.9-1.9-28.1 21-49.7 47.1-49.7l49.6 0c-.3-5.2-.5-10.4-.7-15.8-1-26.5 20.6-48.2 47.1-48.2zM101.5 112l-52.4 0c6.2 84.7 45.1 127.1 85.2 149.6-14.4-37.3-26.3-86-32.8-149.6zM380 256.8c40.5-23.8 77.1-66.1 83.3-144.8L411 112c-6.2 60.9-17.4 108.2-31 144.8z"></path></svg>'};var u=[["baseball",/\bbaseball\b/i],["basketball",/\bbasketball\b/i],["cross_country",/cross.country/i],["flag_football",/\bflag football\b/i],["football",/\bfootball\b/i],["golf",/\bgolf\b/i],["lacrosse",/\blacrosse\b/i],["soccer",/\bsoccer\b/i],["softball",/\bsoftball\b/i],["swimming",/\bswimming|\bdiving\b/i],["tennis",/\btennis\b/i],["track",/\btrack\b/i],["volleyball",/\bvolleyball\b/i],["water_polo",/\bwater polo\b/i]];function p(e){var t=String(e||"");for(var n=0;n<u.length;n++){if(u[n][1].test(t)){return l[u[n][0]]||l.other||""}}return l.other||""}function v(){var e=[];d.jQuery('#cal-feed-builder .feed-options:not([data-param="fs"]) input[type="checkbox"]:checked').each(function(){e.push(this.value)});return e}function m(){var e=[];d.jQuery('#cal-feed-builder .feed-options[data-param="fs"] input[type="checkbox"]:checked').each(function(){e.push(this.value)});return e}function t(){var t=document.getElementById("feed-athletics-tree");if(!t){return}if(a){return}var e=t.getAttribute("data-ath-filters");if(!e){return}fetch(e,{credentials:"omit"}).then(function(e){return e.ok?e.json():Promise.reject(e.status)}).then(function(e){if(!e||!e.divisions||!e.divisions.length){t.innerHTML='<p class="feed-note" style="margin:4px 0;">No athletics schedules available.</p>';return}a=w(e);t.innerHTML=b(a)}).catch(function(e){t.innerHTML='<p class="feed-note" style="margin:4px 0;">Couldnât load teams.</p>';if(window.console){console.warn("athletics filter load failed:",e)}})}function w(e){e.divisions.forEach(function(t){t._path=t.seg;t._leaves=[];
277t.genders.forEach(function(e){e._path=t._path+"/"+e.seg;e._leaves=[];e.sports.forEach(function(t){t._path=e._path+"/"+t.seg;if(t.teams&&t.teams.length){t._leaves=t.teams.map(function(e){e._path=t._path+"/"+e.seg;return e._path})}else{t._leaves=[t._path];t._isLeaf=true}e._leaves=e._leaves.concat(t._leaves)});t._leaves=t._leaves.concat(e._leaves)})});return e}var g='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><polyline points="9 6 15 12 9 18"></polyline></svg>';function _(e,t,n,a,o,l){var s=a?'<span class="ath-toggle" role="button" aria-label="Expand" aria-expanded="false">'+g+"</span>":'<span class="ath-toggle ath-toggle-empty"></span>';var r=o?' data-leaf="1"':"";var i=l?'<span class="ath-sport-ico" aria-hidden="true">'+l+"</span>":"";return'<div class="ath-row">'+s+'<label><input type="checkbox" class="ath-cb" data-level="'+e+'" data-path="'+t+'"'+r+"> "+i+c(n)+"</label></div>"}function b(e){var t="";e.divisions.forEach(function(e){t+='<div class="ath-node ath-level-div">';t+=_("div",e._path,e.label,true,false);t+='<div class="ath-children" style="display:none;">';e.genders.forEach(function(e){t+='<div class="ath-node ath-level-gen">';t+=_("gen",e._path,e.label,true,false);t+='<div class="ath-children" style="display:none;">';e.sports.forEach(function(e){if(e._isLeaf){t+='<div class="ath-node ath-level-sport">';t+=_("sport",e._path,e.label,false,true,p(e.label));t+="</div>"}else{t+='<div class="ath-node ath-level-sport">';t+=_("sport",e._path,e.label,true,false,p(e.label));t+='<div class="ath-children" style="display:none;">';e.teams.forEach(function(e){t+='<div class="ath-node ath-level-team">';t+=_("team",e._path,e.label,false,true);t+="</div>"});t+="</div></div>"}});t+="</div></div>"});t+="</div></div>"});return t}function C(e){return o[e]===true}function y(e,t){if(t){o[e]=true}else{delete o[e]}}function L(t,n){if(!a){return}a.divisions.forEach(function(e){if(e._path===t){e._leaves.forEach(n);return}e.genders.forEach(function(e){if(e._path===t){e._leaves.forEach(n);return}e.sports.forEach(function(e){if(e._path===t){e._leaves.forEach(n)}})})})}function x(e){var t=e.getAttribute("data-path");var n=e.checked;if(e.getAttribute("data-leaf")==="1"){y(t,n)}else{L(t,function(e){y(e,n)})}k();M()}function k(){if(!a){return}var o={};d.jQuery("#feed-athletics-tree input.ath-cb").each(function(){o[this.getAttribute("data-path")]=this});function t(e){var t=o[e._path];if(!t){return}if(t.getAttribute("data-leaf")==="1"){t.checked=C(e._path);t.indeterminate=false;return}var n=e._leaves||[],a=0;n.forEach(function(e){if(C(e)){a++}});t.checked=n.length>0&&a===n.length;t.indeterminate=a>0&&a<n.length}a.divisions.forEach(function(e){t(e);e.genders.forEach(function(e){t(e);e.sports.forEach(function(e){t(e);if(e.teams){e.teams.forEach(function(e){t(e)})}})})})}function z(e){var t=e.parentNode&&e.parentNode.parentNode;if(!t){return}var n=null;for(var a=0;a<t.children.length;a++){if(t.children[a].className&&t.children[a].className.indexOf("ath-children")!==-1){n=t.children[a];break}}if(!n){return}var o=n.style.display!=="none";n.style.display=o?"none":"block";e.classList.toggle("is-open",!o);e.setAttribute("aria-label",o?"Expand":"Collapse");e.setAttribute("aria-expanded",o?"false":"true")}function T(){if(!a||!a.divisions){return[]}var t=[];a.divisions.forEach(function(e){if(e._leaves.length&&e._leaves.every(C)){t.push(e._path);return}e.genders.forEach(function(e){if(e._leaves.length&&e._leaves.every(C)){t.push(e._path);return}e.sports.forEach(function(e){if(e._leaves.every(C)){t.push(e._path)}else{e._leaves.forEach(function(e){if(C(e)){t.push(e)}})}})})});return t}var V={"Middle School":"MS","Upper School":"US"};function D(){return d.jQuery('#cal-feed-builder .feed-options input[type="checkbox"]:checked').closest("label").text().replace(/\s+/g," ").trim()}function R(e,t){if(e==="Coed"||t.indexOf(e)!==-1){return t}return e+" "+t}function U(o){if(!a){return""}var l="";a.divisions.forEach(function(e){var a=V[e.label]||e.label;if(e._path===o){l=a+" Athletics";return}
277e.genders.forEach(function(n){if(n._path===o){l=a+" "+n.label+" Athletics";return}n.sports.forEach(function(e){var t=a+" "+R(n.label,e.label);if(e._path===o){l=t;return}(e.teams||[]).forEach(function(e){if(e._path===o){l=t+" - "+e.label}})})})});return l}function H(e,t,n){if(e.length+t.length+n.length!==1){return""}var a=t.length?U(t[0]):D();if(!a){return""}return/^Menlo\b/.test(a)?a:"Menlo "+a}function M(){if(!document.getElementById("cal-feed-builder")){return}var e=h();var t=v();var n=T();var a=m();var o=t.length>0||n.length>0||a.length>0;d.jQuery("#feed-select-all-btn").toggle(!(t.length>0));d.jQuery("#feed-select-none").toggle(t.length>0);d.jQuery("#feed-google-btn, #feed-ical-btn").toggleClass("is-disabled",!o);if(!o){d.jQuery("#feed-google-btn, #feed-ical-btn").attr("href","#");return}var l=[];t.forEach(function(e){l.push("lw[]="+encodeURIComponent(e))});n.forEach(function(e){l.push("ath[]="+encodeURIComponent(e))});a.forEach(function(e){l.push("fs[]="+encodeURIComponent(e))});var s=H(t,n,a);if(s){l.push("name="+encodeURIComponent(s))}l.push("v=20260812");var r=e+"/ics/feed.php?"+l.join("&");var i=r.replace(/^https:/i,"webcal:");var c="https://calendar.google.com/calendar/r?cid="+encodeURIComponent(i);d.jQuery("#feed-google-btn").attr("href",c);d.jQuery("#feed-ical-btn").attr("href",i)}document.addEventListener("click",function(e){if(e.target&&(e.target.id==="feed-select-all-btn"||e.target.id==="feed-select-none")){e.stopPropagation();e.preventDefault();var t=e.target.id==="feed-select-all-btn";d.jQuery('#cal-feed-builder .feed-options input[type="checkbox"]:visible').prop("checked",t);M()}},true);function N(e){e.stopPropagation();var t=e.target;if(!t){return}var n=t.closest&&t.closest(".ath-toggle");if(n&&!n.classList.contains("ath-toggle-empty")){z(n);return}if(t.matches&&t.matches("#feed-athletics-tree input.ath-cb")){x(t);return}if(t.matches&&t.matches('#cal-feed-builder .feed-options input[type="checkbox"]')){M();return}}function E(e){if(!e||e._feedListenerAdded){return}e._feedListenerAdded=true;e.addEventListener("click",N,true);t();M()}E(e);i(document).on("click",".feed-builder-popover .filter__head",function(e){e.preventDefault();var t=i(this).closest(".feed-builder-popover");var n=!t.hasClass("is-active");t.toggleClass("is-active",n);t.find(".filter__trigger").attr("aria-expanded",n?"true":"false")});function q(){i(".feed-builder-popover.is-active").removeClass("is-active").find(".filter__trigger").attr("aria-expanded","false")}function O(){i("#lw_cal_header .js-filter.is-active").removeClass("is-active").find(".js-filter-trigger").attr("aria-expanded","false")}function G(){var e=i("#lw_cal_view_selector ul.drop-down");if(e.length&&!e.hasClass("closed")){e.addClass("closed");i(".selectric-select-view").removeClass("selectric-open");i("#lw_cal_view_selector").attr("aria-expanded","false")}}i(document).on("click",function(e){var t=i(e.target);if(!t.closest(".feed-builder-popover").length){q()}if(!t.closest("#lw_cal_header .js-filter").length){O()}if(!t.closest("#lw_cal_view_selector").length){G()}});function A(e){if(!e||!e.classList){return}e.classList.toggle("has-scroll-above",e.scrollTop>1);e.classList.toggle("has-scroll-below",e.scrollHeight-e.clientHeight-e.scrollTop>1)}function F(){var e=document.querySelectorAll("#lw_cal_header .filter__body, .feed-builder-popover .filter__body");for(var t=0;t<e.length;t++){A(e[t])}}document.addEventListener("scroll",function(e){var t=e.target;if(t&&t.classList&&t.classList.contains("filter__body")){A(t)}},true);i(window).on("resize",F);i(document).on("click",".filter__head",function(){setTimeout(F,0)});i("body").on("calLoad.lwcal",function(){setTimeout(F,0)});var j=4;function I(){var e=document.getElementById("lw_cal_category_selector");var t=e?e.querySelectorAll("input:checked"):[];var n=t.length;i("#lw_cal_header .filter--alt").toggleClass("has-filters",!!n);var a=document.querySelector("#lw_cal_header .filter--alt .filter-count");if(a){a.textContent=n?String(n):""}var o=document.querySelector("#lw_cal_header .filter--alt .js-filter-trigger");if(!o){return}if(!n){o.setAttribute("aria-label","Filters, none applied");return}var l=[],s,r;for(s=0;s<n&&s<j;s++){r=t[s].closest("label");l.push(r?r.textContent.trim():t[s].value)}if(n>j){l.push("and "+(n-j)+" more")}o.setAttribute("aria-label","Filters, "+n+" applied: "+l.join(", "))}i(document).on("change","#lw_cal_category_selector input",I);document.addEventListener("click",function(e){var t=e.target;if(!t||!t.closest||!t.closest("#lw_cal_header .filter-clear-all")){return}e.stopPropagation();e.preventDefault();var n=document.querySelector("#lw_cal_showing a.lw_cal_clear_filters");if(n){n.click()}},true);function W(){var e=n&&d.lwCalendar.controller;if(!e||!e.getValue){return}var t=e.getValue("categories");if(!t||!t.length){return}d.jQuery('#lw_cal_category_selector input[type="checkbox"]').each(function(){if(d.jQuery.inArray(this.value,t)!==-1&&!this.checked){this.checked=true;d.jQuery(this).closest("li").addClass("selected")}})}i("body").on("calLoad.lwcal",function(){setTimeout(function(){W();I()},0)});i("body").bind("calInit.lwcal",function(e){i("#lw_cal_view_selector").on("click",function(e){if(i("#lw_cal_view_selector ul.drop-down").hasClass("closed")){i("ul.drop-down").removeClass("closed");i(".selectric-select-view").addClass("selectric-open");i("#lw_cal_view_selector:focus").css("outline","none").attr("aria-expanded","true")}else{i("ul.drop-down").addClass("closed");i(".selectric-select-view").removeClass("selectric-open");i("#lw_cal_view_selector:focus").css("outline","none").attr("aria-expanded","fal
277se")}});i("#lw_cal_view_selector").on("keydown",function(e){if(e.keyCode==13){if(i("#lw_cal_view_selector ul.drop-down").hasClass("closed")){i("ul.drop-down").removeClass("closed");i(".selectric-select-view").addClass("selectric-open");i("#lw_cal_view_selector:focus").css("outline","none").attr("aria-expanded","true")}else{i("ul.drop-down").addClass("closed");i(".selectric-select-view").removeClass("selectric-open");i("#lw_cal_view_selector:focus").css("outline","none").attr("aria-expanded","false")}}});var n;var a=i("#lw_cal_header .js-filter");var o=a.find(".js-filter-trigger");a.on("click",function(e){e.preventDefault();if(!a.hasClass("is-active")){a.addClass("is-active");o.attr("aria-expanded","true")}else{a.removeClass("is-active");o.attr("aria-expanded","false")}});a.focusin(function(){a.addClass("is-focused")});i("body").keyup(function(e){var t=e.keyCode||e.which;if(t=="9"){if(n==true){a.removeClass("is-active is-focused");o.attr("aria-expanded","false");n=false}n=a.find('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])').last().is(":focus")}});var t=false;var l=d.lwCalendar.controller.getView();if(s.width()<=767&&d.lwCalendar.controller.getView()!=="event"){d.lwCalendar.controller.setVar("view","all");d.lwCalendar.controller.load()}s.on("resize",r(function(){var e=s.width();if(e<=767&&!t&&d.lwCalendar.controller.getView()!=="event"){l=d.lwCalendar.controller.getView();d.lwCalendar.controller.setVar("view","all");d.lwCalendar.controller.load();t=true}if(e>767&&t){d.lwCalendar.controller.setVar("view",l);d.lwCalendar.controller.load();t=false}},100));E(document.getElementById("cal-feed-builder"))});i("body").bind("calLoad.lwcal",function(e,t,n){var a=t.getView();if("day"===a){i("#view-name").text("Day")}if("week"===a){i("#view-name").text("Week")}if("month"===a){i("#view-name").text("Month")}if("all"===a){i("#view-name").text("List All Events")}});if(n){i(document).ready(function(){if(d.lwCalendar.controller.getView()==="all"){i("#view-name").text("List All Events")}else{i("#view-name").text(d.lwCalendar.controller.getView())}})}i("body").on("click",".open-description-button",function(){var e=i(this).closest(".item__content").find(".lw_calendar_event_description");var t=!e.hasClass("show");e.toggleClass("show",t).attr("aria-expanded",t?"true":"false");i(this).toggleClass("show",t)});i("body").on("calLoad.lwcal",function(e,t,n){i(".js-popup-more").magnificPopup({type:"inline",midClick:true,fixedContentPos:true,fixedBgPos:true});i("a.js-popup-more").removeAttr("href")});var P='<i><svg xmlns="http://www.w3.org/2000/svg" width="17.188" height="15.957" viewBox="0 0 17.188 15.957"><g id="Group_1552" data-name="Group 1552" transform="translate(0.5 0.5)"><rect id="Rectangle_845" data-name="Rectangle 845" width="16.188" height="12.972" rx="3.239" transform="translate(0 1.984)" fill="none" stroke="#325ca0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="1"></rect><line id="Line_262" data-name="Line 262" y2="1.984" transform="translate(4.192)" fill="none" stroke="#325ca0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="1"></line><line id="Line_263" data-name="Line 263" y2="1.984" transform="translate(12.172)" fill="none" stroke="#325ca0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="1"></line><line id="Line_264" data-name="Line 264" x2="16.188" transform="translate(0 6.517)" fill="none" stroke="#325ca0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="1"></line><line id="Line_470" data-name="Line 470" y2="5.357" transform="translate(8.094 7.937)" fill="none" stroke="#325ca0" stroke-width="1"></line><line id="Line_471" data-name="Line 471" x2="5.357" transform="translate(5.416 10.616)" fill="none" stroke="#325ca0" stroke-width="1"></line></g></svg></i>';i("body").bind("calLoad.lwcal",function(e,t,n){if(t.getView()==="month"){return}i("#lw_cal_events .item__content").each(function(){var e=i(this);var t=e.find(".item__head");var n=e.find(".item__body");var a=e.find(".lw_calendar_event_description");a.insertAfter(n);var o=i('<div class="event_add_calendar desktop"/>').appendTo(t);var l=i('<div class="event_add_calendar mobile"/>').appendTo(a);e.find(".btn-calendar-options a").each(function(){i("<span>").append(i(P)).append(i(this).clone()).appendTo(o);
277i("<span>").append(i(P)).append(i(this).clone()).appendTo(l)});e.find(".btn-calendar").remove()})});function S(){if(d.lwCalendar.controller.getView()!=="month"||s.width()<=766){return}i(".lw_cal_event_list").each(function(){var e=i(this).find("li"),t=i(this).find("a.more_link"),n=5,a=e.length-n;if(e.length>n){e.each(function(e){if(e>=n){i(this).addClass("hidden")}});if(!t.text().startsWith(a+" ")){t.text(a+" "+t.text()).addClass("shown").on("click touchstart",function(e){window.location=i(this).attr("href")})}}})}function B(){var e=d.lwCalendar.controller.getView();if(e!=="day"&&e!=="week"&&e!=="all"){return}i("#lw_cal_events .item-timetable").each(function(){var e=Math.round(i(this).find(".lw_calendar_event_description").outerHeight());if(e/28>1){i(this).find(".lw_calendar_event_description").addClass("multi-line-desc")}})}if(n){i("body").on("calLoad.lwcal",function(){S();B()});s.on("load",function(){S();B()});s.on("resize",r(function(){S();B()},100))}i("body").on("click",".btn-calendar .show-options",function(e){var t=i(this).closest(".btn-calendar"),n=i(this);e.preventDefault();e.stopPropagation();i(this).closest(".btn-calendar").toggleClass("is-open");n.attr("aria-expanded",t.hasClass("is-open")?"true":"false")})})(livewhale.jQuery,livewhale); 278 279/* Resource ID: 8e516f7eb3c6e71554425f32d92 (isotope-filters.js, minified by uglifyjs) (09/21/2026 5:41pm) (A:10009, G:2937, K:2937) */ 280 281(function(l,e){var t=l("body"),r=l(window);if(l(".section-course-selection").length){var o=l(".filter-items");if(o.length){o.isotope({itemSelector:".cards__item",masonry:{percentPosition:true}})}var s={};l(".sort-button-group").on("click","button",function(){var e=l(this).parents(".sort-button-group");var t=e.attr("data-filter-group");s[t]=l(this).attr("data-category");var i=n(s);e.find("button").removeClass("is-checked");l(this).addClass("is-checked");o.isotope({filter:i})});function n(e){var t="";for(var i in e){t+=e[i]}return t}l('.sort-button-group[data-filter-group="grade-level"]').on("click","button",function(){l("h2 span#grade-level").text(l(this).text())});l('.sort-button-group[data-filter-group="subject"]').on("click","button",function(){l("h2 span#subject").text(l(this).text())});l(".js-read-more").on("click","input",function(){o.isotope()})}if(l(".directory-widget").length){var a=l(".filter-list");if(a.length){var f=[];if(window.location.hash){f=window.location.hash.substring(1).split("&");for(i in f){if(i==0){l("span.show-filter-value").text(f[i].replaceAll("-"," ").trim())}else{l("span.show-filter-value").text(l("span.show-filter-value").text()+", "+f[i].replaceAll("-"," ").trim())}l('.filter__radio input[value=".'+f[i]+'"]').prop("checked",true);l("#filter-field-all").prop("checked",false)}}if(l("#preset-filter").text().trim()!==""){f.push(l("#preset-filter").text().trim());l("span.show-filter-value").text(l("#preset-filter").text().replaceAll("-"," ").trim())}var o=l(".filter-list").isotope({itemSelector:".filter-item",layoutMode:"fitRows",filter:function(){if(f.length==0){return true}else{for(i in f){if(!l(this).hasClass(f[i])){return false}}return true}}})}l("#filters").on("click","input",function(){if(f.includes(this.value.substring(1))){f.splice(f.indexOf(this.value.substring(1)),1);if(f.length==0){l("#filter-field-all").prop("checked",true)}}else{f.push(this.value.substring(1))}if(this.value=="*"){f=[];l(".filter__radio input").not("#filter-field-all").prop("checked",false);l("#filter-field-all").prop("checked",true)}else{l("#filter-field-all").prop("checked",false)}o.isotope({filter:function(){var e=l(this);if(f.length==0){return true}else{for(i in f){if(!l(this).hasClass(f[i])){return false}}return true}}});if(f.length==0){history.pushState("",document.title,window.location.pathname+window.location.search)}else{for(i in f){if(i==0){window.location.hash=f[i]}else{window.location.hash=window.location.hash+"&"+f[i]}}}if(f.length==0){l("span.show-filter-value").text("")}else{for(i in f){if(i==0){l("span.show-filter-value").text(f[i].replaceAll("-"," ").trim())}else{l("span.show-filter-value").text(l("span.show-filter-value").text()+", "+f[i].replaceAll("-"," ").trim())}}}});l(".button-group").each(function(e,t){var i=l(t);i.on("click","button",function(){i.find(".is-checked").removeClass("is-checked");l(this).addClass("is-checked")})})}})(livewhale.jQuery,livewhale); 282 283/* Resource ID: f1fb76f62b1f67bf2ce2a737665 (lunch-menu.js, minified by uglifyjs) (09/21/2026 5:41pm) (A:9648, G:5999, K:5999) */ 284 285(function(){"use strict";var u=document.querySelector("[data-lunch-menu]");if(!u){return}var e=u.getAttribute("data-lunch-menu");var r="America/Los_Angeles";var n="https://menloschool.flikisdining.com/";var t=864e5;var i=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var a=null;var l=[];var c=null;var o=null;var s=h();function d(e){return(e<10?"0":"")+e}function h(){try{var e=new Intl.DateTimeFormat("en-US",{timeZone:r,year:"numeric",month:"2-digit",day:"2-digit"}).formatToParts(new Date);var n={};e.forEach(function(e){n[e.type]=e.value});return n.year+"-"+n.month+"-"+n.day}catch(e){var t=new Date;return t.getFullYear()+"-"+d(t.getMonth()+1)+"-"+d(t.getDate())}}function m(e){var n=e.split("-");return Date.UTC(+n[0],+n[1]-1,+n[2])}function f(e){var n=new Date(e);return n.getUTCFullYear()+"-"+d(n.getUTCMonth()+1)+"-"+d(n.getUTCDate())}function v(e,n){return f(m(e)+n*t)}function _(e){return new Date(m(e)).getUTCDay()}function y(e){var n=_(e);if(n===0){return v(e,1)}if(n===6){return v(e,2)}return v(e,1-n)}function g(e,n){n.timeZone="UTC";return new Date(m(e)).toLocaleDateString("en-US",n)}function p(e){return String(e==null?"":e).replace(/[&<>"']/g,function(e){return{"&":"&","<":"<",">":">",'"':""","'":"'"}[e]})}function b(e){var n=a&&a.days&&a.days[e];return!!(n&&n.stations&&n.stations.length)}function w(e){var n={};Object.keys(e||{}
285).forEach(function(e){if(b(e)){n[y(e)]=true}});return Object.keys(n).sort()}function k(){var n=y(s);if(l.indexOf(n)!==-1){return n}var e=l.filter(function(e){return e>n});return e.length?e[0]:l[l.length-1]}function T(n){return[0,1,2,3,4].map(function(e){return v(n,e)})}function A(e){var n=T(e);if(n.indexOf(s)!==-1&&b(s)){return s}var t=n.filter(b);return t.length?t[0]:n[0]}function S(e,n){var t=e.slice(0,7)===n.slice(0,7);var r=g(e,{month:"long",day:"numeric"});var a=t?String(Number(n.slice(8,10)))+", "+n.slice(0,4):g(n,{month:"long",day:"numeric",year:"numeric"});return"Week of "+r+"â"+a}function D(e){var n=e===s;var t=e===o;var r=!b(e);var a="lunch-menu__day"+(t?" is-selected":"")+(n?" is-today":"")+(r?" is-empty":"");return'<button type="button" role="tab" class="'+a+'" data-day="'+e+'"'+' aria-selected="'+(t?"true":"false")+'" aria-controls="lunch-menu-card"'+' tabindex="'+(t?"0":"-1")+'">'+'<span class="lunch-menu__day-name">'+i[_(e)]+"</span>"+'<span class="lunch-menu__day-date">'+p(g(e,{month:"short",day:"numeric"}))+"</span>"+(n?'<span class="lunch-menu__day-today">Today</span>':"")+"</button>"}function x(e){var n=(e.items||[]).map(function(e){return'<li class="lunch-menu__item">'+p(e)+"</li>"}).join("");return'<section class="lunch-menu__section">'+'<h5 class="lunch-menu__station"><span>'+p(e.name)+"</span></h5>"+'<ul class="lunch-menu__items">'+n+"</ul>"+"</section>"}function L(e){var n=a.days[e];var t=a.mealPeriod||"Lunch";var r='<header class="lunch-menu__card-head">'+'<p class="lunch-menu__eyebrow">'+p(t)+(e===s?" · Today":"")+"</p>"+'<h4 class="lunch-menu__card-title">'+p(g(e,{weekday:"long",month:"long",day:"numeric"}))+"</h4>"+"</header>";if(b(e)){r+='<div class="lunch-menu__sections'+(n.stations.length===1?" is-single":"")+'">'+n.stations.map(x).join("")+"</div>"}else{r+='<p class="lunch-menu__none">No lunch service</p>'}return r}function M(e){var n=T(e);var t=l.indexOf(e);var r='<div class="lunch-menu__nav">'+'<button type="button" class="lunch-menu__arrow lunch-menu__arrow--prev" data-dir="-1"'+(t>0?"":" disabled")+' aria-label="Previous week" title="Previous week"></button>'+'<h3 class="lunch-menu__week" tabindex="-1">'+p(S(n[0],n[4]))+"</h3>"+'<button type="button" class="lunch-menu__arrow lunch-menu__arrow--next" data-dir="1"'+(t<l.length-1?"":" disabled")+' aria-label="Next week" title="Next week"></button>'+"</div>";r+='<div class="lunch-menu__days" role="tablist" aria-label="Day of the week">'+n.map(D).join("")+"</div>";r+='<article class="lunch-menu__card" id="lunch-menu-card" role="tabpanel" aria-live="polite">'+L(o)+"</article>";if(a.updated){r+='<p class="lunch-menu__meta">Menu updated '+p(g(String(a.updated).slice(0,10),{month:"long",day:"numeric",year:"numeric"}))+". Menus are subject to change.</p>"}else{r+='<p class="lunch-menu__meta">Menus are subject to change.</p>'}u.innerHTML=r}function j(t,r){o=t;var e=u.querySelectorAll(".lunch-menu__day");Array.prototype.forEach.call(e,function(e){var n=e.getAttribute("data-day")===t;e.classList.toggle("is-selected",n);e.setAttribute("aria-selected",n?"true":"false");e.setAttribute("tabindex",n?"0":"-1");if(n&&r){e.focus({preventScroll:true})}});var n=u.querySelector(".lunch-menu__card");if(n){n.innerHTML=L(t)}}function O(e){u.innerHTML='<p class="lunch-menu__status">'+e+"</p>"}u.addEventListener("click",function(e){var n=e.target.closest(".lunch-menu__arrow");if(n&&u.contains(n)){if(n.disabled){return}var t=l[l.indexOf(c)+Number(n.getAttribute("data-dir"))];if(!t){return}c=t;o=A(c);M(c);var r=u.querySelector(".lunch-menu__week");if(r){r.focus({preventScroll:true})}return}var a=e.target.closest(".lunch-menu__day");if(a&&u.contains(a)){j(a.getAttribute("data-day"),false)}});u.addEventListener("keydown",function(e){var n=e.target.closest(".lunch-menu__day");if(!n||e.key!=="ArrowLeft"&&e.key!=="ArrowRight"){return}var t=Array.prototype.slice.call(u.querySelectorAll(".lunch-menu__day"));var r=t.indexOf(n);if(r===-1){return}e.preventDefault();var a=(r+(e.key==="ArrowRight"?1:-1)+t.length)%t.length;j(t[a].getAttribute("data-day"),true)});var U="t="+Math.floor(Date.now()/36e5);var C=e+(e.indexOf("?")===-1?"?":"&")+U;fetch(C,{credentials:"omit"}).then(function(e){return e.ok?e.json():Promise.reject(e.status)}).then(function(e){a=e||{};l=w(a.days);if(!l.length){O("This weekâs menu hasnât been posted yet. Check back soon.");return}c=k();o=A(c);M(c)}).catch(function(e){O("The lunch menu is temporarily unavailable. "+'<a href="'+n+'" target="_blank" rel="noopener noreferrer">Try Flikâs menu site</a>.');
285if(window.console){console.warn("lunch menu load failed:",e)}})})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.