define("controllers/Variable",["require","ControllerObjects"],function(e){return function(n){function t(e,n){if((n||l&&l.name!=e)&&(l.uninit(),l=null),!l){var t={};c.hashTable.each(function(e,n){for(var r=0;r0&&F.length<1?(a({type:"url.unhandled",url:"/search",data:{type_:"HSSearchQuery",searchText:e}}),!1):z.get("multiArea",!1)? "Out of state":"Absentee - Out of state";case 4:return"Corporate";case 8:return"Owner Occupied";default:return null}},getDistressedAttributeDescription:function(e,t){switch(e){case 1:return"Lis Pendens";case 2:return"Notice Of Default";case 4:return t? 80538 {raw:e,string:e.toLocaleString(),label:"Acres"}:null},getPrice:function(e,t){if(e||0===e){var r=Math.round(e),n="$"+r.toLocaleString();t&&2==t&&(n+="/mo");var a;return r<1e4?a=r.toLocaleString():r<999500?(a=Math.round(r/1e3).toString(),a+="K"):r<105e4?a="1M":r<9995e4? (Ge.ui.heatMaps.$dom&&Ge.ui.heatMaps.$dom.removeClass("hidden"),Ge.ui.heatMaps2.$dom&&Ge.ui.heatMaps2.$dom.removeClass("hidden")):(Ge.ui.heatMaps.$dom&&Ge.ui.heatMaps.$dom.addClass("hidden"),Ge.ui.heatMaps2.$dom&&Ge.ui.heatMaps2.$dom.addClass("hidden"));break;case"heatMapsBtn.UpdateMargin":Ge.ui.heatMaps2.$dom&&Ge.ui.heatMaps2.$dom.css("margin-bottom",t)}Te.event(e,t)}var ce,ue,pe,ge,me,ye,he=e("ControllerObjects"),ve=e("Objects"),fe=e("Utilities"),be=e("Application"),we=e("jquery"),ke=e("modules/CommuteTimePlaces"),Me=e("SearchDefinitions"),Se=e("lodash"),Le=new he.Unique(t),Ce=new he.Callbacks,Te=new he.ChildControllerManager,Pe=new he.StateManager(Te,{}),xe=!1,Ie=!1,Ae=[],Ee=[],He=[],Oe="hideRegistrationReminder",$e=new ve.CacheWithLocalStorage(50,"Map_Register_Reminder",!0,0),ze="localContextPlaceTypes",_e=new ve.CacheWithLocalStorage(50,"Map_Local_Context_Place_Types",!1,0),De=!1,Be=function(){var e=we.Deferred();return be.getCurrentUser(function(t){me=t.user,De=Se.get(me,"currentDetails.products.pro.availableForUse"),e.resolve()}),e}();be.getDeviceSize(function(e){ye=e});var Re,je,Ke,Ne,Ve,Ze=function(e){this.status=e,this.$dom=null},Ge={clusters:{markers:[]},listingGroups:{markers:new ve.HashTable,data:new ve.HashTable},paItems:{markers:new ve.HashTable,data:new ve.HashTable},singlePropertyAddressItem:null,schools:{markers:new ve.HashTable,data:new ve.HashTable},multiAreasSchools:{markers:new ve.HashTable,data:new ve.HashTable},commuteTimePlaces:{markers:[]},listingMapDots:{markers:[]},polygon:{polygon:null,bounds:null,marker:null,type:null,data:null,listeners:{zoom:null}},bounds:null,propertyTiles:!1,offMarketTiles:!1,type:null,zoom:null,bubble:{overlay:null,marker:null},isSavedSearch:null,ui:{schools:new Ze(!1),polygon:new Ze(!0),zoom:new Ze(!0),lotPolygons:new Ze(!0),draw:new Ze(!1),saveSearch:new Ze(!1),commuteTime:new Ze(!1),heatMaps:new Ze(!1),heatMaps2:new Ze(!1),listToggle:new Ze(!1),mobileListToggle:new Ze(!1),mapTypeToggle:new Ze(!1),layersFab:new Ze(!1),localContextPlaces:new Ze(!1)},heatMaps:{polygon:null,sectionKey:null,sectionValues:null,colors:null},transactionType:null,localContext:{mapShown:!1,contextBubbleVisible:!1},drivingDirections:{renderer:null,markers:[]}},We=(we.extend(!0,{},Ge),{listingGroups:{data:new ve.HashTable},paItems:{data:new ve.HashTable},schools:{data:new ve.HashTable},multiAreasSchools:{data:new ve.HashTable},bounds:null,heatMaps:{polygon:null,sectionKey:null,sectionValues:null,colors:null},transactionType:null}),Fe={default:null,hide:[{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"labels.icon",stylers:[{visibility:"off"}]}]};return{show:function(e,t){Ie?h(e,t):Ae.push({type:e,settings:t})},set:function(e,t){Ie?m(e,t):He.push({type:e,settings:t})},clear:function(e,t){Ie?y(e,t):Ee.push({type:e,settings:t})},click:function(e){e&&ne(e)},hideBubble:function(){D()},update:a,restore:function(e){Pe.restore(e,n)},uninit:re,getState:Pe.getState.bind(Pe),register:Ce.register.bind(Ce),event:de}}}); define("controllers/Footer",["require","ControllerObjects","Application"],function(e){return function(t){function n(e){c.call("bubble",e)}function o(e){s.update(e),r()}function r(){p=void 0;var e=(new Date).getFullYear();s.$dom&&f.get({$dom:s.$dom,data:{hide:s.get("hide",!1),year:e,showIDXDisclaimer:s.get("showIDXDisclaimer")}})}function a(e){var t=e.$dom,o=e.data;t.divContainer.find("a").on("click",function(e){var t=$(e.target).attr("href"),o="_blank"==$(e.target).attr("target")||$(e.target).data("ignore");if(t&&-1===t.indexOf("http")&&-1===t.indexOf("mailto:")&&!o)return n({type:"url.unhandled",url:t}),!1}),t.aFooterRegister.off("click").on("click",function(e){return n({type:"account.mode",data:"default"}),!1}),t.aDownloadMobileApp.off("click").on("click",function(e){return n({type:"account.mode",data:"app"}),!1}),l.getCurrentUser(function(e){var o,r=e.user;r&&r.registrationStatus&&!r.registrationStatus.notRegistered&&(t.divSupport.removeClass("bs4--d-none"),t.aFooterRegister.addClass("bs4--d-none")),null!==r&&void 0!==r&&null!==(o=r.permissions)&&void 0!==o&&o.paidAgent? Educators are taking the best of what we know about learning, student support, effective instruction, and interpersonal skill-building to completely reimagine schools so that students experience that kind of purposeful learning all day, every day. ");return"Discover homes for sale, apartments for rent, open houses, and more on ".concat(z.name,". WebLucile Erwin Middle School is a public school located in Loveland, CO, which is in a large suburb setting. If you teach a second language, that is the best route, she says. (Ge.polygon.bounds=new google.maps.LatLngBounds,Ge.polygon.bounds.extend({lat:l.south,lng:l.west}),Ge.polygon.bounds.extend({lat:l.north,lng:l.east})):Ge.polygon.bounds=A(Ge.polygon.polygon),Ge.polygon.type=t,Ge.polygon.data=l,v()}break;case"MultiAreaItem":var c,u,p;if(null===a||void 0===a||!a.data||Array.isArray(a.data))return;var m=a.data.item,y=null===a||void 0===a?void 0:null===(c=a.data)||void 0===c?void 0:c.fit;b(),T(Ge.polygon.marker),y&&g();var M=[],H=[];if(Ge.polygon.bounds=new google.maps.LatLngBounds,Ge.polygon.polygon=null!==m&&void 0!==m&&m.length&&Ge.polygon.polygon?Ge.polygon.polygon:[],Array.isArray(m)&&m.forEach(function(e){var t,o;if("HSStreetArea"===(null===e||void 0===e?void 0:e.type_)&&null!==(t=e.segments)&&void 0!==t&&t.length){var a=null===e||void 0===e?void 0:e.segments.map(function(e){return e});H=H.concat(a)}else if(null!==e&&void 0!==e&&e.polygon)M.push(e.polygon);else if(null!==e&&void 0!==e&&null!==(o=e.zones)&&void 0!==o&&o.length){var n=e.zones.map(function(e){return e.polygon})[0];n&&M.push(n)}e.north&&e.south&&e.east&&e.west&&(Ge.polygon.bounds.extend({lat:e.south,lng:e.west}),Ge.polygon.bounds.extend({lat:e.north,lng:e.east}))}),H.length){var z=H.map(function(e){return google.maps.geometry.encoding.decodePath(e)});Ge.polygon.polygon=Ge.polygon.polygon.concat(P({paths:z}))}if(M.length){var D=O(M);Ge.polygon.polygon=Ge.polygon.polygon.concat(x({paths:D,fit:y}))}y&&ce.fitBounds(E(Ge.polygon.bounds,y.percent));var B=a.data.item.filter(function(e){return 26===e.entityType});if(B.length){var R;We.multiAreasSchools.data=Ge.multiAreasSchools.data,Ge.multiAreasSchools.data=new ve.HashTable,B.forEach(function(e){Ge.multiAreasSchools.data.setItem(e.id.toString(),e)});var j=fe.js.dedupeHashTables(We.multiAreasSchools.data,Ge.multiAreasSchools.data);null!==j&&void 0!==j&&null!==(R=j.remove)&&void 0!==R&&R.length&&j.remove.forEach(function(e,t){var o=Ge.multiAreasSchools.markers.getItem(e);o&&(T(o),Ge.multiAreasSchools.markers.removeItem(e))}),e(["modules/MapCustomMarker"],function(e){var t;if(void 0===e||null===e)return!1;if((null===j||void 0===j?void 0:null===(t=j.add)||void 0===t?void 0:t.length)>0){var n,s=function(t,a){function n(e,t){_({latLng:t,marker:Ge.multiAreasSchools.markers.getItem(e.id.toString()),data:e,onClick:function(e,t,a){o({type:"url.unhandled",url:e&&e.hasPolygon&&t?e.polygonUrl:e.url,data:e,polygon:t,details:a})}})}var s=new google.maps.LatLng(t.latitude,t.longitude);return new e.School(s,a,t,!0,n)};null===j||void 0===j||null===(n=j.add)||void 0===n||n.forEach(function(e){var t=Ge.multiAreasSchools.data.getItem(e);if(!1!==a.marker&&t.latitude&&t.longitude){var o=s(t,ce);Ge.multiAreasSchools.markers.setItem(t.id.toString(),o)}})}})}else Ge.multiAreasSchools.data.length&&S();1===m.length&&fe.ajax.isType(m[0],"HSSchool")&&(null===(u=m[0])||void 0===u||null===(p=u.zones)||void 0===p||!p.length)&&m[0].latitude&&m[0].longitude&&(ce.setCenter({lat:m[0].latitude,lng:m[0].longitude}),ce.setZoom(Pe.get("nonPolygonZoom",18))),Ge.polygon.type=t,Ge.polygon.data=m;break;case"HSSchool":if(a&&a.data&&Array.isArray(a.data)){We.schools.data=Ge.schools.data,a.ui&&a.ui.schools&&(Ge.ui.schools=a.ui.schools),Ge.schools.data=new ve.HashTable;for(var K=0;K0;Ge.polygon.polygon.forEach(function(o){google.maps.geometry.poly.containsLocation(t,o)&&!n&&Ge.schools.data.setItem(e.id.toString(),e)})}}();var N=fe.js.dedupeHashTables(We.schools.data,Ge.schools.data);if(N&&N.remove&&N.remove.length>0)for(var V=0;V0&&e(["modules/MapCustomMarker"],function(e){if(void 0===e||null===e)return!1;for(var t=0;t0){var X=U.zones.reduce(function(e,t){return t.polygon&&(e=e||[],e.push(t.polygon)),e},void 0),Y=O(X);Ge.polygon.polygon=x({paths:Y,fit:q}),U.north&&U.south&&U.east&&U.west? Developing Critical, Creative, and Reflective Thinkers at Lucile Erwin Middle School, We See and Believe in Thompson School District, Teaching & Learning Is an Open Book at Turner Middle School, Student Success in a Fast-Evolving World at Loveland High School, Learning Spaces Redefine Learning at High Plains School, Learning by Doing at Ferguson High School, Students and Teachers Owning Personalized Learning at Bill Reed Middle School, Personalizing Learning with Music and Art at Mountain View High School, Multidisciplinary Projects at Walt Clark Middle School. "map-cluster-marker larger-marker":"map-cluster-marker",text:0===e.count.raw?" Homesnap.templates["controllers/Header.html"] = '{{#with data}}
{{/with}}'; There are less worksheets, which means we dont get so under pressure and all of that, says one student. define("controllers/SchoolDetailsKeyMetrics",["require","ControllerObjects","lodash","Utilities","tinycolor"],function(t){return function(e){function r(t){g.call("bubble",t)}function a(t){m.update(t),o()}function o(){try{m.requireDom()}catch(t){throw t}var t=m.get("schoolDetails");if(t.studentsByGrade){var e=t.studentsByGrade.groups.map(function(t){return t.count.raw}),r=h.max(e),a=h.sortBy(e).reverse(),o=t.studentsByGrade.groups.map(function(t){return(t.count.raw/r*100).toFixed(2)}),n=o.map(function(t){return t>25}),i=t.studentsByGrade.groups.map(function(t){var e=a.indexOf(t.count.raw),r=c.split("|");return e<2?r[e]:r[2]});y.template.get({$dom:m.$dom,data:{schoolDetails:t,percentages:o,takeGradeNameOutOfBar:n,barColors:i}})}}function n(t){var e=t.$dom,a=t.data;a.schoolDetails.ethnicity&&(f.add("ethnicityPieChart",new u.ChildController({type:"controllers/Charts/PieChart",namespace:p.get(),register:{bubble:r}}),!0),m.updateController("ethnicityPieChart",{$dom:e.divEthnicityPieChart,data:{chartData:i(a.schoolDetails.ethnicity),colorsArray:c.split("|"),total:a.schoolDetails.ethnicity.total.raw,tooltipFormat:"label",height:160,presorted:!0}})),a.schoolDetails.freeLunches&&(f.add("lunchPieChart",new u.ChildController({type:"controllers/Charts/PieChart",namespace:p.get(),register:{bubble:r}}),!0),m.updateController("lunchPieChart",{$dom:e.divLunchPieChart,data:{chartData:i(a.schoolDetails.freeLunches),colorsArray:c.split("|"),total:a.schoolDetails.freeLunches.total.raw,tooltipFormat:"label",height:160}}))}function i(t){for(var e={datasets:[],labels:[]},r=t.total.raw,a=0,o=t.groups.length;a0?$("a[href='#".concat(c.divMiddleSchoolContainer[0].id,"']")).trigger("click").attr("aria-selected",!0):h.high.length>0&&$("a[href='#".concat(c.divHighSchoolContainer[0].id,"']")).trigger("click").attr("aria-selected",!0)),d.call("bubble",{type:"url.update"})}var l=e("ControllerObjects"),n=e("Objects"),i=(e("bootstrap"),new l.Unique(t)),d=new l.Callbacks,c=new l.ChildControllerManager,u=new l.StateManager(c,{});c.add("graduateFromSchoolItem",new l.ChildControllerArray({type:"controllers/schoolItem",namespace:i.get(),register:{bubble:o}})),c.add("graduateToSchoolItem",new l.ChildControllerArray({type:"controllers/schoolItem",namespace:i.get(),register:{bubble:o}})),c.add("elementarySchoolItem",new l.ChildControllerArray({type:"controllers/schoolItem",namespace:i.get(),register:{bubble:o}})),c.add("middleSchoolItem",new l.ChildControllerArray({type:"controllers/schoolItem",namespace:i.get(),register:{bubble:o}})),c.add("highSchoolItem",new l.ChildControllerArray({type:"controllers/schoolItem",namespace:i.get(),register:{bubble:o}}));var h={getRelated:new l.Getter({namespace:i.get(),type:n.HSSchoolRelated,webService:"/service/Schools/GetRelated",failure:function(){throw u&&console.info(u),new Error("School Related Schools controller: Unhandled Error")}}),main:new l.Getter({namespace:i.get(),success:function(e){try{a(e)}catch(e){throw u&&console.info(u),e}},template:{url:"controllers/SchoolRelatedSchools.html",dom:["divFrom","divGraduateTo","divGraduateFrom","divElementary","divMiddle","divHigh","divElementaryContainer","divMiddleSchoolContainer","divHighSchoolContainer",["divGraduateFromSchool"],["divGraduateToSchool"],["divElementarySchool"],["divMiddleSchool"],["divHighSchool"],"aElementaryLabel","aMiddleLabel","aHighLabel","ulTabList"]}})};return{update:function(e){u.update(e),r()},restore:function(e){u.restore(e,r)},uninit:function(){c.uninit()},getState:u.getState.bind(u),register:d.register.bind(d),event:function(e,t){c.event(e,t)}}}}); ");o=x(e.length)}if(g._useTypedArrays?i=g._augment(new Uint8Array(o)):((i=this).length=o,i._isBuffer=!0),g._useTypedArrays&&"number"==typeof e.byteLength)i._set(e);else if(S(a=e)||g.isBuffer(a)||a&&"object"==typeof a&&"number"==typeof a.length)for(u=0;u>8,r=t%256,o.push(r),o.push(n);return o}(t),e,n,r)}function c(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o>>0)):(t+1>>0),o}function h(e,t,n,r){if(r||(D("boolean"==typeof n,"missing or invalid endian"),D(null!=t,"missing offset"),D(t+1>>8*(r?u:1-u)}function _(e,t,n,r,o){o||(D(null!=t,"missing value"),D("boolean"==typeof r,"missing or invalid endian"),D(null!=n,"missing offset"),D(n+3>>8*(r?u:3-u)&255}function E(e,t,n,r,o){o||(D(null!=t,"missing value"),D("boolean"==typeof r,"missing or invalid endian"),D(null!=n,"missing offset"),D(n+1this.length&&(r=this.length),e.length-t=this.length))return this[e]},g.prototype.readUInt16LE=function(e,t){return l(this,e,!0,t)},g.prototype.readUInt16BE=function(e,t){return l(this,e,!1,t)},g.prototype.readUInt32LE=function(e,t){return d(this,e,!0,t)},g.prototype.readUInt32BE=function(e,t){return d(this,e,!1,t)},g.prototype.readInt8=function(e,t){if(t||(D(null!=e,"missing offset"),D(e=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},g.prototype.readInt16LE=function(e,t){return h(this,e,!0,t)},g.prototype.readInt16BE=function(e,t){return h(this,e,!1,t)},g.prototype.readInt32LE=function(e,t){return p(this,e,!0,t)},g.prototype.readInt32BE=function(e,t){return p(this,e,!1,t)},g.prototype.readFloatLE=function(e,t){return b(this,e,!0,t)},g.prototype.readFloatBE=function(e,t){return b(this,e,!1,t)},g.prototype.readDoubleLE=function(e,t){return m(this,e,!0,t)},g.prototype.readDoubleBE=function(e,t){return m(this,e,!1,t)},g.prototype.writeUInt8=function(e,t,n){n||(D(null!=e,"missing value"),D(null!=t,"missing offset"),D(t=this.length||(this[t]=e)},g.prototype.writeUInt16LE=function(e,t,n){v(this,e,t,!0,n)},g.prototype.writeUInt16BE=function(e,t,n){v(this,e,t,!1,n)},g.prototype.writeUInt32LE=function(e,t,n){_(this,e,t,!0,n)},g.prototype.writeUInt32BE=function(e,t,n){_(this,e,t,!1,n)},g.prototype.writeInt8=function(e,t,n){n||(D(null!=e,"missing value"),D(null!=t,"missing offset"),D(t=this.length||(0<=e?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},g.prototype.writeInt16LE=function(e,t,n){E(this,e,t,!0,n)},g.prototype.writeInt16BE=function(e,t,n){E(this,e,t,!1,n)},g.prototype.writeInt32LE=function(e,t,n){I(this,e,t,!0,n)},g.prototype.writeInt32BE=function(e,t,n){I(this,e,t,!1,n)},g.prototype.writeFloatLE=function(e,t,n){A(this,e,t,!0,n)},g.prototype.writeFloatBE=function(e,t,n){A(this,e,t,!1,n)},g.prototype.writeDoubleLE=function(e,t,n){B(this,e,t,!0,n)},g.prototype.writeDoubleBE=function(e,t,n){B(this,e,t,!1,n)},g.prototype.fill=function(e,t,n){if(e=e||0,t=t||0,n=n||this.length,"string"==typeof e&&(e=e.charCodeAt(0)),D("number"==typeof e&&!isNaN(e),"value is not a number"),D(t<=n,"end < start"),n!==t&&0!==this.length){D(0<=t&&t"},g.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw new Error("Buffer.toArrayBuffer not supported in this browser");if(g._useTypedArrays)return new g(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t=t.length||o>=e.length);o++)t[o+n]=e[o];return o}function M(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function N(e,t){D("number"==typeof e,"cannot write a non-number as a number"),D(0<=e,"specified a negative value for writing an unsigned value"),D(e<=t,"value is larger than maximum value for type"),D(Math.floor(e)===e,"value has a fractional component")}function Y(e,t,n){D("number"==typeof e,"cannot write a non-number as a number"),D(e<=t,"value larger than maximum allowed value"),D(n<=e,"value smaller than minimum allowed value"),D(Math.floor(e)===e,"value has a fractional component")}function F(e,t,n){D("number"==typeof e,"cannot write a non-number as a number"),D(e<=t,"value larger than maximum allowed value"),D(n<=e,"value smaller than minimum allowed value")}function D(e,t){if(!e)throw new Error(t||"Failed assertion")}g._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=L.get,e.set=L.set,e.write=L.write,e.toString=L.toString,e.toLocaleString=L.toString,e.toJSON=L.toJSON,e.copy=L.copy,e.slice=L.slice,e.readUInt8=L.readUInt8,e.readUInt16LE=L.readUInt16LE,e.readUInt16BE=L.readUInt16BE,e.readUInt32LE=L.readUInt32LE,e.readUInt32BE=L.readUInt32BE,e.readInt8=L.readInt8,e.readInt16LE=L.readInt16LE,e.readInt16BE=L.readInt16BE,e.readInt32LE=L.readInt32LE,e.readInt32BE=L.readInt32BE,e.readFloatLE=L.readFloatLE,e.readFloatBE=L.readFloatBE,e.readDoubleLE=L.readDoubleLE,e.readDoubleBE=L.readDoubleBE,e.writeUInt8=L.writeUInt8,e.writeUInt16LE=L.writeUInt16LE,e.writeUInt16BE=L.writeUInt16BE,e.writeUInt32LE=L.writeUInt32LE,e.writeUInt32BE=L.writeUInt32BE,e.writeInt8=L.writeInt8,e.writeInt16LE=L.writeInt16LE,e.writeInt16BE=L.writeInt16BE,e.writeInt32LE=L.writeInt32LE,e.writeInt32BE=L.writeInt32BE,e.writeFloatLE=L.writeFloatLE,e.writeFloatBE=L.writeFloatBE,e.writeDoubleLE=L.writeDoubleLE,e.writeDoubleBE=L.writeDoubleBE,e.fill=L.fill,e.inspect=L.inspect,e.toArrayBuffer=L.toArrayBuffer,e}}).call(this,O("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},O("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:11,lYpoI2:10}],4:[function(l,d,e){(function(e,t,u,n,r,o,i,a,s){var u=l("buffer").Buffer,f=4,c=new u(f);c.fill(0);d.exports={hash:function(e,t,n,r){return u.isBuffer(e)||(e=new u(e)),function(e,t,n){for(var r=new u(t),o=n?r.writeInt32BE:r.writeInt32LE,i=0;ih?t=e(t):t.length>5]|=128<>>9<<4)]=t;for(var n=1732584193,r=-271733879,o=-1732584194,i=271733878,u=0;u>>32-a,n);var u,a}function d(e,t,n,r,o,i,u){return l(t&n|~t&r,e,t,o,i,u)}function h(e,t,n,r,o,i,u){return l(t&r|n&~r,e,t,o,i,u)}function p(e,t,n,r,o,i,u){return l(t^n^r,e,t,o,i,u)}function g(e,t,n,r,o,i,u){return l(n^(t|~r),e,t,o,i,u)}function y(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}b.exports=function(e){return f.hash(e,c,16)}}).call(this,w("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},w("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],7:[function(e,l,t){(function(e,t,n,r,o,i,u,a,s){var f,c;c=function(e){for(var t,n=new Array(e),r=0;r>>((3&r)<<3)&255;return n},l.exports=f||c}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:10}],8:[function(l,d,e){(function(e,t,n,r,o,i,u,a,s){var f=l("./helpers");function c(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n,r,o,i,u,a=Array(80),s=1732584193,f=-271733879,c=-1732584194,l=271733878,d=-1009589776,h=0;h>16)+(t>>16)+(n>>16)<<16|65535&n}function E(e,t){return e<>>32-t}d.exports=function(e){return f.hash(e,c,20,!0)}}).call(this,l("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},l("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],9:[function(l,d,e){(function(e,t,n,r,o,i,u,a,s){function B(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function L(e,t){return e>>>t|e<<32-t}function f(e,t){var n,r,o,i,u,a,s,f,c,l,d=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),h=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),p=new Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var g,y,w,b,m,v,_,E,I=0;I>>10),p[A-7]),(_=p[A-15],L(_,7)^L(_,18)^_>>>3)),p[A-16]),c=B(B(B(B(f,L(v=u,6)^L(v,11)^L(v,25)),(m=u)&a^~m&s),d[A]),p[A]),l=B(L(b=n,2)^L(b,13)^L(b,22),(g=n)&(y=r)^g&(w=o)^y&w),f=s,s=a,a=u,u=B(i,c),i=o,o=r,r=n,n=B(c,l);h[0]=B(n,h[0]),h[1]=B(r,h[1]),h[2]=B(o,h[2]),h[3]=B(i,h[3]),h[4]=B(u,h[4]),h[5]=B(a,h[5]),h[6]=B(s,h[6]),h[7]=B(f,h[7])}return h}var c=l("./helpers");d.exports=function(e){return c.hash(e,f,32,!0)}}).call(this,l("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},l("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:10}],10:[function(e,c,t){(function(e,t,n,r,o,i,u,a,s){function f(){}(e=c.exports={}).nextTick=function(){var e="undefined"!=typeof window&&window.setImmediate,t="undefined"!=typeof window&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0>1,c=-7,l=n?o-1:0,d=n?-1:1,h=e[t+l];for(l+=d,i=h&(1<>=-c,c+=a;0>=-c,c+=r;0>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,u=c):(u=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-u))<1&&(u--,s*=2),2<=(t+=1<=u+l?d/s:d*Math.pow(2,1-l))*s&&(u++,s/=2),c<=u+l?(a=0,u=c):1<=u+l? LEMS is an internationally minded community striving to develop compassionate life-long learners through the lens of the IB learner profile. "$".concat(a.string.getShortNumber(e)):"$".concat((e/1e6).toString(),"M")}}),o=[],i=0;i<=1e4;i+=100)o.push(i);for(var s=10500;s<15e3;s+=500)o.push(s);for(var c=15e3;c<=2e4;c+=1e3)o.push(c);o.push(1e8),a.coStarBrand.is("citysnap")&&(o=o.filter(function(e){return 0===e||e>900}));var l=o.map(function(e){return{value:e,label:e<1e4? "::".concat(n.listingID):"",s&&(s.favorites.indexOf(c)>-1?a(!0,n,o,r,c,!1):s.notFavorites.indexOf(c)>-1&&a(!1,n,o,r,c,!1)),r.buttonFavorite.on("click",function(){return i(r,n,o,c),!1}),r.spanFavoriteText.on("click",function(){return i(r,n,o,c),!1})}function i(t,o,n,c){F.done(function(){return s.registrationStatus.registered?