PageSourceSearch

https://www.live707leahy.com/javascripts/application-7b19a9d002.min.js

js live707leahy.com collected 2026-09-28 12:22:38 UTC 92,330 bytes, 1 lines download raw bytes

1!function(){var t={258:function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}window.AccessiblePhoneNumber=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";t(this,e),n&&document.querySelectorAll(n).forEach((function(t){var e=t.querySelector(".p-tel").innerText.replace(/^(\+)|\D/g,"");"".concat(e.slice(0,3)," . ").concat(e.slice(3,6)," . ").concat(e.slice(6)).split("").join(" ")}))}},799:function(){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function i(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=a(t);if(e){var i=a(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return r(this,n)}}function r(e,n){return!n||"object"!==t(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e):n}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var s=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(l,ApiManager);var r,a,s,c=i(l);function l(){return e(this,l),c.apply(this,arguments)}return r=l,(a=[{key:"apiName",value:function(){return"fortawesomeapi"}},{key:"apiScript",value:function(){return"//use.fortawesome.com/"+this.apiKey()+".js"}},{key:"apiKey",value:function(){return"26805d78"}},{key:"hasOwnOnLoadCallback",value:function(){return!0}}])&&n(r.prototype,a),s&&n(r,s),l}();window.fortAwesomeLoaded=function(){G5.fortAwesomeApi.doneLoading()},G5.fortAwesomeApi=new s},71:function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var e=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.configs=Object.assign(this,t),this.widget=$("#".concat(this.widgetId)),this.officeHoursPresent(this.configs.officeHours)&&(G5.fortAwesomeApi.registerWidget(this,"fortAwesomeLoaded"),this.officeHours=this.format(this.configs.officeHours),this.locationDateTime=this.locationDateTime(),this.display(this.todaysHourSet(),this.locationDateTime),this.expandHoursHandler(),this.compressHoursHandler())}var n,o,i;return n=e,(o=[{key:"officeHoursPresent",value:function(t){return t.length>0}},{key:"format",value:function(t){var e=this;return t.forEach((function(t){e.dateToDayjs(t),e.incrementDayOfWeek(t)})),t}},{key:"dateToDayjs",value:function(t){"open"===t.status&&(t.open=this.dateToTime(t.open),t.close=this.dateToTime(t.close))}},{key:"dateToTime",value:function(t){return dayjs.tz(t.match(/T(.*).000Z/).pop(),"HH:mm:ss",this.timezone)}},{key:"incrementDayOfWeek",value:function(t){t.day_of_week+=1}},{key:"display",value:function(t,e){switch(t.status){case"open":this.displayOpen(t,e);break;case"closed":this.displayClosed(t,e);break;case"24hr":this.display24Hr();break;case"by_appointment_only":this.displayAppointmentOnly(t,e);break;case"none":this.displayNone();break;default:throw"Invalid hour set status: ".concat(t.status)}}},{key:"displayOpen",value:function(t,e){e.isBetween(t.open,t.close)?this.appendCompressedFormatMarkup("Open &#183; Closes ".concat(t.close.format("h:mma"))):this.displayClosed(t,e)}},{key:"displayClosed",value:function(t,e){if("open"in t&&e.isBefore(t.open))this.appendCompressedFormatMarkup("Closed &#183; Opens ".concat(t.open.format("h:mma")));else{var n=this.getNextOpenDay(this.officeHours,t.day_of_week);void 0!==n.open?this.appendCompressedFormatMarkup("Closed &#183; Opens ".concat(n.open.format("h:mma")," ").concat(this.dayToString(n.day_of_week))):this.appendCompressedFormatMarkup("Closed Monday - Sunday")}}},{key:"displayAppointmentOnly",value:function(t,e){if("open"in t&&e.isBefore(t.open))this.appendCompressedFormatMarkup("By Appointment Only &#183; Opens ".concat(t.open.format("h:mma")));else{var n=this.getNextOpenDay(this.officeHours,t.day_of_week);void 0!==n.open?this.appendCompressedFormatMarkup("By Appointment Only &#183; Opens ".concat(n.open.format("h:mma")," ").concat(this.dayToString(n.day_of_week))):this.appendCompressedFormatMarkup("By Appointment Only Monday - Sunday")}}},{key:"display24Hr",value:function(){this.appendCompressedFormatMarkup("Open 24 hours")}},{key:"displayNone",value:function(){this.appendCompressedFormatMarkup("Please call")}},{key:"appendCompressedFormatMarkup",value:function(t){this.widget.find(".office-hours-daily").append("<div class='single-line-hours'>".concat(t," <i class='fa fa-chevron-down'></i></div>"))}},{key:"getNextOpenDay",value:function(t,e){for(var n={},o=0;o<t.length;o++){var i=(o+e)%t.length;if("open"===t[i].status||"24hr"===t[i].status||"by_appointment_only"===t[i].status){n.day_of_week=t[i].day_of_week,"open"===t[i].status?n.open=t[i].open:n.open=dayjs.tz("00:00:00","HH:mm:ss",this.timezone);break}}return n}},{key:"locationDateTime",value:function(){return dayjs().tz(this.timezone)}},{key:"today",value:function(){return this.locationDateTime.isoWeekday()}},{key:"todaysHourSet",value:function(){var t=this.today(),e=this.officeHours.find((function(e){return e.day_of_week===t}));return e}},{key:"allHours",value:function(){for(var t=this.officeHours,e=this.today()-1,n="<div class='expanded-hours'>",o=0;o<t.length;o++){var i=(o+e)%t.length;n+=this.buildHourSetMarkup(t[i])}return n+"</div>"}},{key:"buildHourSetMarkup",value:function(t){var e="";switch(t.status){case"open":e="".concat(t.open.format("h:mma")," - ").concat(t.close.format("h:mma"));break;case"closed":e="Closed";break;case"24hr":e="Open 24 hours";break;case"by_appointment_only":e="By Appointment Only";break;case"none":e="Please Call";break;default:throw"Invalid hours status: ".concat(t.status)}return"<div><label>".concat(this.dayToString(t.day_of_week),":</label><span> ").concat(e,"</span></div>")}},{key:"expandHoursHandler",value:function(){var t=this;this.widget.on("click",".single-line-hours",(function(){t.widget.find(".single-line-hours").remove(),t.widget.find(".office-hours-daily").append(t.allHours()),t.widget.find(".expanded-hours > div").first().addClass("first-expanded-hours").append(" <i class='fa fa-chevron-up'></i>")}))}},{key:"compressHoursHandler",value:function(){var t=this;this.widget.on("click",".expanded-hours",(function(){t.widget.find(".expanded-hours").remove(),t.dis
1play(t.todaysHourSet(),t.locationDateTime)}))}},{key:"dayToString",value:function(t){return{1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday",7:"Sunday"}[t]}}])&&t(n.prototype,o),i&&t(n,i),e}();window.GMBHours=e},391:function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var e=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.configs=t,this.hrefSelector=this.configs.hrefSelector,this.singleDomain=this.configs.singleDomain,this.setHomeUrl()}var n,o,i;return n=e,(o=[{key:"setHomeUrl",value:function(){var t=window.location.protocol+"//"+window.location.host;"true"===this.singleDomain&&(t+=$("body.area").length?"/":this.singleDomainPath()),t&&$(this.hrefSelector).attr("href",t)}},{key:"singleDomainPath",value:function(){var t=window.location.pathname.split("/").filter(Boolean),e="/";if(t.length>=4)for(var n=0;n<4;n++)e+="".concat(t[n],"/");return e}}])&&t(n.prototype,o),i&&t(n,i),e}();window.HomeUrl=e},536:function(){function t(t,n){var o;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(o=function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return e(t,n)}(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){o=t[Symbol.iterator]()},n:function(){var t=o.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==o.return||o.return()}finally{if(c)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}var n=function(){var e={header_offset:0,header_forced_offset:null,header_scrolled:!1,scrolling:!1,scrollTimeout:null,header_id:'header[role="banner"]',nav_container:'header[role="banner"] .navigation-container',jump_class:".jump-link",linkEl:null,page_container_
1class:".content-stripe-widget[data-jump-id]"},n={observeHeader:function(){var n=new ResizeObserver((function(n){var o,i=t(n);try{for(i.s();!(o=i.n()).done;){var r=o.value;e.header_offset=r.target.offsetHeight}}catch(t){i.e(t)}finally{i.f()}}));document.querySelector(e.nav_container)&&n.observe(document.querySelector(e.nav_container))},checkJumpTo:function(){var t=new URLSearchParams(window.location.search),o=t.get("jumpTo"),i=t.get("jumpToOffset");i&&(e.linkEl=document.createElement("i"),e.linkEl.setAttribute("data-jump-offset",i)),o&&n.scrollPage('[data-jump-id="'.concat(n.escapeSelectorValue(o),'" i]'))},checkHead:function(){var t=".sticky-banner-v2.sticky-banner-sticky.active:not(.sticky-banner-bottom)",n=document.querySelector(t)?document.querySelector(t).offsetHeight:0,o=document.querySelector(e.nav_container)?document.querySelector(e.nav_container).offsetHeight:0,i=e.linkEl&&e.linkEl.getAttribute("data-jump-offset")?parseInt(e.linkEl.getAttribute("data-jump-offset")):0;e.header_offset=o>e.header_offset?o:e.header_offset,e.header_forced_offset=i>0&&i!==e.header_offset?i+n:e.header_offset+n},escapeSelectorValue:function(t){return String(t).replace(/\\/g,"\\\\").replace(/"/g,'\\"')},suppressScroll:function(t){document.scrollingElement.style.overflow="",document.body.style.width="",t&&(document.body.style.width=document.body.clientWidth+"px",document.scrollingElement.style.overflow="hidden")},scrollPage:function(t){n.checkHead();var o=document.querySelector(t)?document.querySelector(t).offsetTop-e.header_forced_offset+1:null,i=window.matchMedia("(any-pointer: coarse)").matches?"auto":"smooth",r=function o(){n.suppressScroll(!0),e.scrollTimeout&&clearTimeout(e.scrollTimeout),e.scrollTimeout=setTimeout((function(){n.checkHead();var i=document.querySelector(t)?document.querySelector(t).offsetTop-e.header_forced_offset+1:null,r=document.body.scrollHeight-window.innerHeight;window.removeEventListener("scroll",o),i<r&&i!=Math.ceil(window.scrollY)?(n.scrollPage(t),clearTimeout(e.scrollTimeout),e.scrolling=!1):clearTimeout(e.scrollTimeout),n.suppressScroll(!1)}),333)};window.addEventListener("scroll",r),e.scrolling=!0,r(),o&&window.scrollTo({top:o,behavior:i})},bindJumpLinks:function(){[].forEach.call(document.querySelectorAll("".concat(e.jump_class,":not(.ready)")),(function(t){var o=t.getAttribute("href").toLowerCase().replace("#",""),i='[data-jump-id="'.concat(n.escapeSelectorValue(o),'" i]'),r=t;r.classList.add("ready"),t.addEventListener("click",(function(t){e.linkEl=r;var o=r.closest(".featured-content-pop-out-aside.open");o&&o.querySelector(".close-btn").click(),document.querySelector(i)&&(t.preventDefault(),n.scrollPage(i))}))}))}};return{init:function(){n.observeHeader(),n.checkJumpTo(),n.bindJumpLinks()},bindJumpLinks:n.bindJumpLinks}};!function(){window.jumplinks=new n,jumplinks.init();var e=!1;new MutationObserver((function(n){if(!e){var o,i=t(n);try{for(i.s();!(o=i.n()).done;){if("childList"===o.value.type){e=!0,setTimeout((function(){e=!1,jumplinks.bindJumpLinks()}),250);break}}}catch(t){i.e(t)}finally{i.f()}}})).observe(document.body,{childList:!0,subtree:!0})}()},557:function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function n(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}$("body").on("runG5PhoneService",(function(){}));var o=function(){function e(n,o){t(this,e),this.phoneList=[],this.bindGaEvent(),this.bindPreviewEvent(),this.previewMode=$(document).data("g5_preview_mode"),this.cpmCode=this.getOrStoreCpmCode(),this.locationUrns=[],this.callTrackingPromise=null,this.numbers={}}return n(e,[{key:"addPhoneNumber",value:function(t){var e=this.phoneList.length<=0&&$(document).data("g5_ga_ready");this.phoneList.push(t),this.cpnsUrl=t.cpnsUrl,this.setExistingNumber(t,this.getNumberForUrn(t.locationUrn)),t.number||(this.setExistingNumber(t,this.getCachedNumber(t.locationUrn)),this.addLocationUrn(t.locationUrn),this.fetchOrWait()),e&&this.runCallTracking()}},{key:"setExistingNumber",value:function(t,e){e&&(t.number=e,$(t.scope).trigger("phoneNumbersReady"))}},{key:"getNumberForUrn",value:function(t){if(this.numbers)return this.numbers[t]}},{key:"addLocationUrn",value:function(t){$.inArray(t,this.locationUrns)<0&&this.locationUrns.push(t)}},{key:"runCallTracking",value:function(){this.fetch(),$(document).data("G5CallTrackingRun",!0)}},{key:"bindGaEvent",value:function(){var t=this;$(document).on("G5GaReady",(function(e){t.runCallTracking()}))}},{key:"bindPreviewEvent",value:function(){var t=this;$(document).on("G5PreviewReady",(function(e){t.previewMode=$(document).data("g5_preview_mode"),t.showForPreview()}))}},{key:"unbindGaEvent",value:function(){$(document).off("G5GaReady"),$(document).off("G5PreviewReady")}},{key:"fetchOrWait",value:function(){$(document).data("G5CallTrackingRun")&&!this.callTrackingPromise&&this.fetch()}},{key:"fetch",value:function(){var t=this;if(!this.previewMode)return this.callTrackingPromise||(this.callTrackingPromise=$.post(this.cpnsUrl,{phone_number:{screen_width:$(document).width(),cpm_code:this.cpmCode,location_urns:this.locationUrns,ga_client_id:this.getGaClientId()}},(function(){}),"json")),this.callTrackingPromise.then((function(e,n,o){$.each(e,(function(e,n){t.locationUrns.splice(t.locationUrns.indexOf(e),1),t.numbers[e]=n,t.cacheNumber(n,e)})),t.phoneReady(),t.callTrackingPromise=null,t.locationUrns.length>0&&t.fetch()})),this.callTrackingPromise}},{key:"phoneReady",value:function(){var t=this;this.phoneList.forEach((function(e){e.number=t.numbers[e.locationUrn],e.number&&$(e.scope).trigger("phoneNumbersReady")}))}},{key:"showForPreview",value:function(){this.phoneList.forEach((function(t){t.showNumber()}))}},{key:"getOrStoreCpmCode",value:function(){var t=this.getParameterByName("cpm"),e=t||sessionStorage.getItem("cpm");return t&&sessionStorage.setItem("cpm",t),e}},{key:"getParameterByName",value:function(t){var e=null;t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(location.search);return null!==n&&(e=decodeURIComponent(n[1].replace(/\+/g," "))),e}},{key:"getGaClientId",value:function(){var t;return"undefined"!=typeof ga&&ga((function(e){t=e.get("clientId")})),t||null===(t=sessionStorage.getItem("g5GaClientId-PhoneNumbers"))&&(t="G5NoClientId"+Math.random().toString()),sessionStorage.setItem("g5GaClientId-PhoneNumbers",t),t}},{key:"cacheNumber",value:function(t,e){t.phone_number&&sessionStorage.setItem("g5PhoneNumber-".concat(e),JSON.stringify(t))}},{key:"getCachedNumber",value:function(t){return JSON.parse(sessionStorage.getItem("g5PhoneNumber-".concat(t)))}}]),e}(),i=new o,r=function(){function e(n,o){var r=this;if(t(this,e),this.configs=n,this.locationUrns=this.configs.locationUrns,!this.hasMultipleLocationUrns()){if
1(this.scope=o||"body",this.linkMode=this.configs.linkMode||"on",this.cpnsUrl=this.configs.cpnsUrl,this.locationUrn=this.configs.locationUrn||"",this.updated=!1,!this.valid())throw"Invalid PhoneNumber config options";$(this.scope).bind("phoneNumbersReady",(function(t){return r.update()})),i.addPhoneNumber(this),$("head").data("g5_preview_mode")&&this.showNumber()}}return n(e,[{key:"hasMultipleLocationUrns",value:function(){var t=this;return!!this.locationUrns&&(delete this.configs.locationUrns,$.each(this.locationUrns,(function(n,o){var i={};$.extend(!0,i,t.configs),i.locationUrn=o.urn,new e(i,o.scope)})),!0)}},{key:"valid",value:function(){return!!(this.cpnsUrl&&this.cpnsUrl.length&&this.locationUrn&&this.locationUrn.length)}},{key:"telTags",value:function(t){var e=t.find(".p-tel");return e.length||(e=t.hasClass("p-tel")?t:[]),e}},{key:"showNumber",value:function(){var t=this.telTags($(this.scope));t.length>0&&t.css("visibility","visible")}},{key:"update",value:function(){if(!this.updated){this.updated=!0;var t=$(this.scope),e=this.telTags(t);if(e.length){var n=t.hasClass("number")?t:t.find(".number"),o=this.number.phone_number,i=this.getFormattedNumber(o);if(o.length&&i.length&&e.css("visibility","hidden"),i.length&&e.html(i),n.length)if("off"===this.linkMode)n.contents().unwrap();else{if(o.length){var r=this.getCountryCode()||"",a=o.replace(/^(\+)|\D/g,"");"".concat(a.slice(0,3)," . ").concat(a.slice(3,6)," . ").concat(a.slice(6)).split("").join(" ");n.attr("href","tel:".concat(r).concat(o))}"no-click"===this.linkMode&&(n.attr("href","").css({cursor:"default"}),n.on("click",(function(t){return t.preventDefault(),t.stopPropagation(),!1})))}e.css("visibility","visible")}}}},{key:"getCountryCode",value:function(t){return this.number.country_code_prefix}},{key:"getFormattedNumber",value:function(t){return t.length?t.replace(/(\d{3})(\d{3})(\d{4})/,"$1-$2-$3"):""}},{key:"errorMessage",value:function(t){if("undefined"!==console&&t.length)return console.log(t)}}]),e}();window.PhoneNumber=r,window.PhoneNumberList=o,window.g5PhoneList=i},325:function(t,e,n){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i=function(t){"use strict";var e,n=Object.prototype,i=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function u(t,e,n,o){var i=e&&e.prototype instanceof m?e:m,r=Object.create(i.prototype),a=new I(o||[]);return r._invoke=function(t,e,n){var o=d;return function(i,r){if(o===p)throw new Error("Generator is already running");if(o===g){if("throw"===i)throw r;return M()}for(n.method=i,n.arg=r;;){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var c=h(t,e,n);if("normal"===c.type){if(o=n.done?g:f,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=g,n.method="throw",n.arg=c.arg)}}}(t,n,a),r}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var d="suspendedStart",f="suspendedYield",p="executing",g="completed",v={};function m(){}function y(){}function b(){}var w={};w[a]=function(){return this};var k=Object.getPrototypeOf,C=k&&k(k(E([])));C&&C!==n&&i.call(C,a)&&(w=C);var L=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){var n;this._invoke=function(r,a){function s(){return new e((function(n,s){!function n(r,a,s,c){var l=h(t[r],t,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==o(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(d).then((function(t){u.value=t,s(u)}),(function(t){return n("throw",t,s,c)}))}c(l.arg)}(r,a,n,s)}))}return n=n?n.then(s,s):s()}}function T(t,n){var o=t.iterator[n.method];if(o===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&
vendor: 5,457 bytes, line 1
1(n.method="return",n.arg=e,T(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=h(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var r=i.arg;return r?r.done?(n[t.resultName]=r.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function E(t){if(t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,r=function n(){for(;++o<t.length;)if(i.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return r.next=r}}return{next:M}}function M(){return{value:e,done:!0}}return y.prototype=L.constructor=b,b.constructor=y,y.displayName=l(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,c,"GeneratorFunction")),t.prototype=Object.create(L),t},t.awrap=function(t){return{__await:t}},S(x.prototype),x.prototype[s]=function(){return this},t.AsyncIterator=x,t.async=function(e,n,o,i,r){void 0===r&&(r=Promise);var a=new x(u(e,n,o,i),r);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(L),l(L,c,"Generator"),L[a]=function(){return this},L.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var o=e.pop();if(o in t)return n.value=o,n.done=!1,n}return n.done=!0,n}},t.values=E,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(O),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(o,i){return s.type="throw",s.arg=t,n.next=o,i&&(n.method="next",n.arg=e),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=t,a.arg=e,r?(this.method="next",this.next=r.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var i=o.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,o){return this.delegate={iterator:E(t),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),v}},t}("object"==o(t=n.nmd(t))?t.exports:{});try{regeneratorRuntime=i}catch(t){Function("r","regeneratorRuntime = r")(i)}},535:function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function n(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}void 0===window.G5&&(window.G5={}),G5.isPreview=$("body").hasClass("preview"),G5.loadWidgetConfigs=function(t,e){return new i(t,e).load()};var o,i=function(){function e(n,o){t(this,e),this.configTag=n,this.widgetClass=o}return n(e,[{key:"load",value:function(){var t=this,e=$(this.configTag);return e.length?$.map(e,(function(e){var n=JSON.parse($(e).html());return new t.widgetClass(n)})):[]}}]),e}(),r=function(){function e(){t(this,e),this.initialize()}return n(e,[{key:"initialize",value:function(){this.injected=!1,this.loaded=!1,this.widgets=[]}},{key:"load",value:function(){this.loadScript(),this.injected=!0}},{key:"loadScript",value:function(){this.addScript(this.apiScript(),this.apiName())}},{key:"addScript",value:function(t,e){var n=this;if(!this.injected&&!this.hasScript(t,e)){var o=document.createElement("script");
1if(this.prependScript()){var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(o,i)}else document.body.appendChild(o);this.hasOwnOnLoadCallback()||(o.onload=function(){return n.doneLoading()}),Object.assign(o,{src:t,className:"js-".concat(e),type:"text/javascript"})}}},{key:"hasScript",value:function(t,e){return t.length&&($("script.js-"+e).length||$("script[src='"+t+"']").length)}},{key:"registerWidget",value:function(t,e){return void 0===this.widgets&&this.initialize(),this.loaded?t[e]():(this.widgets.push({widget:t,callback:e}),this.load(),!0)}},{key:"doneLoading",value:function(){this.loaded=!0,$.each(this.widgets,(function(t,e){var n=e.widget,o=e.callback;"function"==typeof n[o]&&n[o]()}))}},{key:"apiName",value:function(){return""}},{key:"apiScript",value:function(){return""}},{key:"prependScript",value:function(){return!1}},{key:"hasOwnOnLoadCallback",value:function(){return!1}}]),e}();void 0===window.noEvent&&(window.noEvent=function(t){return t.stopPropagation(),t.preventDefault(),!1}),function(t){if(!t.support.cors&&t.ajaxTransport&&window.XDomainRequest){var e=/^https?:\/\//i,n=/^get|post$/i,o=new RegExp("^"+location.protocol,"i"),i=/text\/html/i,r=/\/json/i,a=/\/xml/i;t.ajaxTransport("* text html xml json",(function(s,c,l){if(s.crossDomain&&s.async&&n.test(s.type)&&e.test(s.url)&&o.test(s.url)){var u=null,h=(c.dataType||"").toLowerCase();return{send:function(e,n){u=new XDomainRequest,/^\d+$/.test(c.timeout)&&(u.timeout=c.timeout),u.ontimeout=function(){n(500,"timeout")},u.onload=function(){var e="Content-Length: "+u.responseText.length+"\r\nContent-Type: "+u.contentType,o={code:200,message:"success"},s={text:u.responseText};try{if("html"===h||i.test(u.contentType))s.html=u.responseText;else if("json"===h||"text"!==h&&r.test(u.contentType))try{s.json=t.parseJSON(u.responseText)}catch(t){o.code=500,o.message="parseerror"}else if("xml"===h||"text"!==h&&a.test(u.contentType)){var c=new ActiveXObject("Microsoft.XMLDOM");c.async=!1;try{c.loadXML(u.responseText)}catch(t){c=void 0}if(!c||!c.documentElement||c.getElementsByTagName("parsererror").length)throw o.code=500,o.message="parseerror","Invalid XML: "+u.responseText;s.xml=c}}catch(t){throw t}finally{n(o.code,o.message,s,e)}},u.onprogress=function(){},u.onerror=function(){n(500,"error",{text:u.responseText})};var o="";c.data&&(o="string"===t.type(c.data)?c.data:t.param(c.data)),u.open(s.type,s.url),u.send(o)},abort:function(){u&&u.abort()}}}}))}}(jQuery),jQuery,o="smartresize",jQuery.fn[o]=function(t){return t?this.bind("resize",(e=t,function(){var t=this;r?clearTimeout(r):i&&e.apply(t),r=setTimeout((function(){i||e.apply(t),r=null}),n||100)})):this.trigger(o);var e,n,i,r},"function"!=typeof Object.assign&&(Object.assign=function(t,e){"use strict";if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),o=1;o<arguments.length;o++){var i=arguments[o];if(null!=i)for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}),String.prototype.reverse=function(){return this.split("").reverse().join("")},String.prototype.replaceLast=function(t,e){return this.reverse().replace(new RegExp(t.reverse()),e.reverse()).reverse()};var a=function(){function e(){t(this,e)}return n(e,null,[{key:"responsiveImage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.minWidth,o=void 0===n?350:n,i=e.steps,r=void 0===i?5:i,a=this.originalDimensions(t),s=a.width,c=a.height;if(!s&&!c||s<500||c<200)return"";var l=this.calculateBreakPoints(o,s,r),u=this.srcset(t,s,c,l);return"srcset='".concat(u,"'")}},{key:"calculateBreakPoints",value:function(t,e,n){for(var o=(e-t)/(n-1),i=[],r=0;r<n;r++)i.push(Math.ceil(e-o*r));return i}},{key:"srcset",value:function(t,e,n,o){var i=this;return o.map((function(o){var r=t.replaceLast("w_".concat(e),"w_".concat(o)).replaceLast("h_".concat(n),"h_".concat(i.scaleHeight(o,e,n)));return"".concat(r," ").concat(o,"w")})).join(", ")}},{key:"sizes",value:function(t){return t.map((function(t){return"(min-width: ".concat(t,"px) ").concat(t,"px")})).join(", ")}},{key:"originalDimensions",value:function(t){var e=t.match(/w_\d{3,4}(?!.*w_\d{3,4})/),n=t.match(/h_\d{3,4}(?!.*h_\d{3,4})/);return{width:e?parseInt(e[0].match(/\d{3,4}/)[0]):0,height:n?parseInt(n[0].match(/\d{3,4}/)[0]):0}}},{key:"scaleHeight",value:function(t,e,n){return Math.ceil(t/e*n)}}]),e}(),s=function(){function e(){t(this,e)}return n(e,null,[{key:"getItem",value:function(t){var e=sessionStorage.getItem("G5-".concat(t));if("undefined"!=e)return JSON.parse(e)}},{key:"setItem",value:function(t,e){return sessionStorage.setItem("G5-".concat(t),JSON.stringify(e)),e}}]),e}();document.addEventListener("DOMContentLoaded",(function(){var t;if("IntersectionObserver"in window){t=document.querySelectorAll(".lazy-background-images");var e=new IntersectionObserver((function(t,n){t.forEach((function(t){if(t.isIntersecting){var n=t.target;n.classList.remove("lazy-background-images"),e.unobserve(n)}}))}));t.forEach((function(t){e.observe(t)}))}else{var n,o=function e(){n&&clearTimeout(n),n=setTimeout((function(){var n=window.pageYOffset;t.forEach((function(t){t.offsetTop<window.innerHeight+n&&(t.src=t.dataset.src,t.classList.remove("lazy-background-images"))})),0==t.length&&(document.removeEventListener("scroll",e),window.removeEventListener("resize",e),window.removeEventListener("orientationChange",e))}),20)};t=document.querySelectorAll(".lazy-background-images"),document.addEventListener("scroll",o),window.addEventListener("resize",o),window.addEventListener("orientationChange",o)}})),window.G5SessionStorage=s,window.WidgetLoader=i,window.ApiManager=r,window.CloudinaryHelper=a},179:function(){var t={initialize:function(){this.variables(),this.navigation(),this.navLogos(),this.heroImage(),this.internalHero(),this.cityStateZipSearchWidget(),this.logoBackgroun
1dColor(),this.contactInfoWidget(),this.contactInfoSheetWidget(),this.directionsWidget(),this.galleryWidget(),this.selfStorageSearchHomeWidget(),this.mosaicStylesInit(),this.bgColHtmlColor(),this.cssFallbacks(),this.stuckLogoAppear(),this.menuButtonClick(),this.stickyBannerV2(),this.navContentStripe()},onSmartResize:function(){this.internalHero(),this.stuckLogoAppear(),this.body.parents().removeClass("no-scroll"),this.stickyBannerV2()},onScroll:function(){this.stuckLogoAppear(),this.stickyBannerOnScroll()},variables:function(){this.bodyVariables(),this.logoVariables(),this.navigationVariables(),this.dropTargetBtn=$("#drop-target-btn"),this.dropTargetNav=$("#drop-target-nav"),this.navContainer=this.dropTargetNav.closest(".navigation-container"),this.hero=$("[role=main] .row:first-of-type"),this.hamburgerMenuMQ=window.matchMedia("(max-width: 1349px)"),this.mdHamburgerMenuOverflowMQ=window.matchMedia("(max-width: 1499px)"),this.lgHamburgerMenuOverflowMQ=window.matchMedia("(max-width: 1999px)")},bodyVariables:function(){this.body=$("body"),this.altHeaderWrappingNav=this.bodyHasClass("alternative-header-wrapping-navigation"),this.isInteriorPage=this.bodyHasClass("web-page-template"),this.hasDesktopToggleMenu=this.bodyHasClass("desktop-toggle-menu"),this.hasHamburgerMenuOnScroll=this.bodyHasClass("hamburger-menu-on-scroll")},logoVariables:function(){this.logoContainer=$(".logo-container"),this.firstLogoAnchor=this.logoContainer.find("a"),this.asideLogoPhoto=$(".aside-logo #drop-target-aside-before-main > .photo.widget:first-of-type")},navigationVariables:function(){this.topNav=$(".navigation .top-nav"),this.hasNavigation=this.topNav.length>0,this.topNavLi=this.topNav.children("li"),this.corporateHome=$(".corporate-home"),this.corpHomeLink=this.corporateHome.find("a"),this.menuBtn=$(".navigation-container.collapsable .collapsable-btn")},topNavLiChildren:function(t){return this.topNavLi.children(t)},bodyHasClass:function(t){return this.body.hasClass(t)},bodyAddClass:function(t){return this.body.addClass(t)},heroFind:function(t){return this.hero.find(t)},heroHasClass:function(t){return this.hero.hasClass(t)},dropTargetBtnAppend:function(t){return this.dropTargetBtn.append(t)},navigation:function(){this.buildDropTargetBtn(),this.addShrinkHeaderHeight(),this.hasNavigation&&(this.hasHamburgerMenuOnScroll&&!this.hasDesktopToggleMenu&&this.hamburgerMenuOnScroll(),this.lastNavItemClass(),this.topNavLiChildren("a").wrapInner("<span></span>"),this.notDesktopToggleMenu(),this.mobileNavButtons(),this.focusSubnavItems())},get isPageScrolled(){return window.scrollY>=500},get hamburgerMenuScrollOffsetMet(){var t=Array.from(document.querySelectorAll(".row")).filter((function(t){return 0!==t.offsetWidth||0!==t.offsetHeight})),e=t[1],n=t.length>1,o=document.body.classList.contains("sticky-banner-above")&&n?e.offsetTop:500;return window.scrollY>=o},hamburgerMenuOnScroll:function(){$(document).scroll(this.handlehamburgerMenuOnScroll.bind(this)),$(window).smartresize(this.handlehamburgerMenuOnScroll.bind(this)),this.toggleHamburgerMenu(this.hamburgerMenuMQ.matches)},handlehamburgerMenuOnScroll:function(){var t=this.hamburgerMenuMQ.matches||this.hamburgerMenuScrollOffsetMet;this.toggleHamburgerMenu(t)},toggleHamburgerMenu:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.body.toggleClass("desktop-toggle-menu",t)},lastNavItemClass:function(){var t=this.topNavLi.last();(this.corpHomeLink.length?this.addCorpBtn(t):t).addClass("last-nav-item")},addCorpBtn:function(t){return this.bodyAddClass("corporate-home-btn-true"),t.prev()},buildDropTargetBtn:function(){var t=this.corpHomeLink.clone();t.addClass("corporate-home-btn"),this.dropTargetBtn.append(t);var e=$(".appended-phone").detach();this.bodyHasClass("alternative-header-center-logo")||this.bodyHasClass("alternative-header-center-logo-plus")?this.dropTargetBtn.append(e):this.dropTargetBtn.prepend(e)},notDesktopToggleMenu:function(){this.hasDesktopToggleMenu||(this.altHeaderWrappingNav?this.altHeaderWrappingNavFunc():this.notAltHeaderWrappingNav(),this.topNavLiChildren(".subnav").wrap("<div class='subnav-div'></div>"))},notAltHeaderWrappingNav:function(){this.topNav.append("<li class='nav-hover-state'></li>"),this.navHoverState=$(".nav-hover-state"),this.hoverTopNavLi(),this.mouseLeaveTopNav(),this.navOverflowHelper(),$(window).smartresize(this.navOverflowHelper.bind(this)),document.fonts&&document.fonts.ready&&document.fonts.ready.then(this.navOverflowHelper.bind(this))},hoverTopNavLi:function(){var t=this;this.topNavLi.hover((function(e){return t.desktopNavHover(e)}))},mouseLeaveTopNav:function(){var t=this;this.topNav.mouseleave((function(){return t.topNavLeave()}))},navOverflowHelper:function(){if(this.hasNavigation){this.toggleHamburgerMenu(!1);
1var t=!this.hamburgerMenuMQ.matches&&this.mdHamburgerMenuOverflowMQ.matches,e=!this.hamburgerMenuMQ.matches&&!this.mdHamburgerMenuOverflowMQ.matches&&this.lgHamburgerMenuOverflowMQ.matches,n=Array.from(this.dropTargetBtn[0].children).reduce((function(t,e){return t+$(e).outerWidth()}),0),o=this.logoNavItem?0:320,i=this.navContainer.width()-100,r=this.altHeaderWrappingNav&&!this.bodyHasClass("stuck")?this.topNav.width()+o:this.topNav.width()+n,a=this.topNav.offset(),s=t&&r>i||e&&r>i||a&&a.left<50;this.toggleHamburgerMenu(s)}},altHeaderWrappingNavFunc:function(){this.handleAltHeaderWrappingNav();var e=t.debounce(this.handleAltHeaderWrappingNav.bind(this),300);$(window).smartresize(e)},handleAltHeaderWrappingNav:function(){this.navOverflowHelper(),!this.menuBtn.is(":visible")&&(this.altHeaderWrappingNavInit(),this.shiftTopNav())},altHeaderWrappingNavInit:function(){this.logoNavItem&&this.logoNavItem.length||(this.prepareLogoNavItem(),this.createLogoNavItemContainer(),this.prependLogoNavItem())},prepareLogoNavItem:function(){this.logoNavAnchor=this.firstLogoAnchor.clone(),this.logoNavAnchor.find("script").remove(),this.logoNavAnchor.removeAttr("id").removeClass("first-anchor").addClass("logo-nav-item-anchor")},createLogoNavItemContainer:function(){var t=this.corporateHome.length?2:1,e=Math.round(this.topNavLi.length/2)-t;this.topNavLi.eq(e).after("<li class='logo-nav-item'></li>")},prependLogoNavItem:function(){this.logoNavItem=this.topNav.find(".logo-nav-item"),this.logoNavItem.prepend(this.logoNavAnchor)},shiftTopNav:function(){if(this.hasNavigation&&this.logoNavItem&&this.logoNavItem.length){this.topNav.find(".subnav").hide();var t=this.logoNavItem.offset();if(t){var e=this.logoNavItem.width(),n=($(window).width()-e-2*t.left)/2,o=this.topNav.css("transform");(!o||"none"===o||"matrix(1, 0, 0, 1, 0, 0)"===o)&&!this.bodyHasClass("stuck")&&this.topNav.css("transform","translateX(".concat(n,"px)")),this.topNav.find(".subnav").show(),this.navOverflowHelper()}}},addShrinkHeaderHeight:function(){!$.trim(this.dropTargetBtn.html())&&this.bodyAddClass("shrink-header-height")},mobileNavButtons:function(){if(this.hasDesktopToggleMenu&&this.bodyHasClass("logo-in-header")){var t=$("#drop-target-btn > span").clone().removeAttr("id").wrap("<li></li>"),e=$("#drop-target-btn > a").clone().removeAttr("id").wrap("<li></li>");this.topNav.prepend(t.parent()),this.topNav.prepend(e.parent())}},focusSubnavItems:function(){this.subnavAnchor=this.dropTargetNav.find(".subnav a"),this.focusOutSubnavItem(),this.focusSubnavItem()},focusOutSubnavItem:function(){this.subnavAnchor.focusout((function(t){$(t.currentTarget).closest(".has-subnav").removeClass("subnav-a-focus")}))},focusSubnavItem:function(){this.subnavAnchor.focus((function(t){$(t.currentTarget).closest(".has-subnav").addClass("subnav-a-focus")}))},navLogos:function(){this.firstLogoImg=this.firstLogoAnchor.find("img"),this.firstLogoImgExists=this.firstLogoImg.length,this.buildStuckLogoAnchor(),this.firstLogoImgExists?this.firstLogoAnchorClass():this.logoHidden(),this.stuckLogoAnchor.insertAfter(this.firstLogoAnchor),this.chooseStuckLogo()},buildStuckLogoAnchor:function(){this.stuckLogoAnchor=$('<a class="logo widget u-url stuck-anchor" href="'.concat(this.firstLogoAnchor.attr("href"),'"></a>'))},firstLogoAnchorClass:function(){this.firstLogoAnchor.addClass("first-anchor")},logoHidden:function(){$("#drop-target-logo").wrapInner($("<div class='h-c-ret h-card'></div>"))},chooseStuckLogo:function(){this.bodyHasClass("shrink-logo")&&this.firstLogoImgExists?this.shrinkLogo():this.bodyHasClass("aside-logo")&&this.asideLogoPhoto.length?this.asideLogo():this.bodyHasClass("favicon-logo")?this.faviconLogo():this.iconLogo()},shrinkLogo:function(){this.stuckLogoImg=this.firstLogoImg.clone(),this.stuckLogoAnchor.append(this.stuckLogoImg)},iconLogo:function(){this.stuckLogoAnchor.html("<span>Stuck Anchor</span>"),this.bodyAddClass("icon-logo")},asideLogo:function(){var t=this.asideLogoImgAttr("src");this.asideLogoAlt=this.asideLogoImgAttr("alt"),this.stuckLogo(t),this.asideLogoPhoto.remove()},asideLogoImgAttr:function(t){return this.asideLogoPhoto.find("img").attr(t)},faviconLogo:function(){var t=$("link[rel$='shortcut icon']").attr("href");this.stuckLogo(t)},stuckLogo:function(t){this.stuckLogoImg=$("<img>",{src:t,loading:"lazy"}),this.stuckLogoAnchor.append(this.stuckLogoImg),this.stuckLogoImg.attr("alt",this.stuckLogoImgAlt())},stuckLogoImgAlt:function(){var t=this.firstLogoImg.attr("alt"),e=t||"Navigation Logo",n=this.asideLogoAlt?this.asideLogoAlt:e;
1return this.stuckLogoImg.attr("alt",n),n},heroImage:function(){this.heroHasClass("suppress-hero")?this.suppressHero():this.defaultHero()},suppressHero:function(){this.hero.empty(),this.bodyAddClass("suppress-hero")},defaultHero:function(){this.heroVariables(),this.bodyHasClass("web-home-template")?this.heroHome():this.heroInterior()},heroVariables:function(){this.heroBgContent=this.heroFind(".row-1"),this.heroRowWidget=this.heroBgContent.find(".widget")},heroHome:function(){this.bodyHasClass("ws-suppress-hero")&&this.suppressHero(),this.prependHomeHeroContent(),this.alignHeroCenter(),this.removeCinemagraphClasses()},prependHomeHeroContent:function(){var t=this.heroRowWidget.is(".cinemagraph, .gallery-basic, .photo, .photo-randomizer");this.prependHeroBgContent(t)},alignHeroCenter:function(){var t=".align-center, .align-left, .align-right",e=this.bodyHasClass("web-home-template")&&!this.body.is(".ws-hero-align-center, .ws-hero-align-left, .ws-hero-align-right"),n=!this.hero.is(t);e&&n&&!this.heroFind(".column").is(t)&&this.hero.addClass("align-center")},removeCinemagraphClasses:function(){var t=this.heroFind(".cinemagraph");t.length&&t.removeClass("cinemagraph-absolute cinemagraph-full-width cinemagraph-normal")},heroInterior:function(){var t=this.heroRowWidget.is(".photo.widget"),e=!this.heroHasClass("interior-hero-photo-normal"),n=this.isInteriorPage&&t&&e;this.prependHeroBgContent(n)},prependHeroBgContent:function(t){t&&this.hero.prepend(this.heroBgContent)},internalHero:function(){if(this.isInteriorPage){var t=this.firstLogoAnchor.height()+30+55;this.hero.css("padding-top",t)}},cityStateZipSearchWidget:function(){$(".zip-search-button button").text("Search").addClass("text-appear")},logoBackgroundColor:function(){if(!this.bodyHasClass("area")){var t=this.hero.css("background-color");this.firstLogoAnchor.css("background-color",t)}},contactInfoWidget:function(){this.spanWrap(".adr","<span><span></span></span>"),this.spanWrap(".email","<span></span>")},spanWrap:function(t,e){$(t+"> a").wrapInner(e)},contactInfoSheetWidget:function(){this.changeDefault("info-sheet"),this.changeDefault("sheet-nav")},changeDefault:function(t){$(".contact-"+t+".default").removeClass("default").addClass("b-right")},directionsWidget:function(){$(".directions-submit").wrap('<div class="directions-submit-wrapper"></div>')},galleryWidget:function(){$(".full-gallery.gallery-slideshow .slides li").wrapInner('<div class="slide-wrapper"></div>')},selfStorageSearchHomeWidget:function(){$(".self-storage-search-home .sss-search-criteria").each((function(t,e){var n=$(e),o=n.find("h2");n.wrapInner("<div></div>").prepend(o)}))},mosaicStylesInit:function(){this.mosaicClassesInit(),this.mosaicInlineStylesInit()},mosaicClassesInit:function(){var t=this;this.mosaicVariables(),this.mosaicClasses.forEach((function(e,n){t.variablesPerElement(e),t.addMosaicClasses()}))},mosaicVariables:function(){this.photoMosaic=".photo-mosaic",this.photoBrowserEdge=".photo-browser-edge",this.mosaicElementClass="mosaic-element",this.mosaicClasses=[".map-mosaic",this.photoMosaic,".map-browser-edge",this.photoBrowserEdge],this.mosaicStyles="mosaic-styles"},variablesPerElement:function(t){this.mosaicClass=t,this.mosaicElement=$(t),this.mosaicRow=this.mosaicElement.closest(".row")},mosaicClassIs:function(t){return~this.mosaicClass.indexOf(t)},addMosaicClasses:function(){this.mosaicClassIs("map")?this.mosaicClassIsMap():this.mosaicClassIsPhoto(),this.mosaicCol.addClass("mosaic-col"),this.mosaicRow.addClass(this.mosaicStyles),this.browserEdgeAddClasses(this.mosaicClass)},mosaicClassIsMap:function(){this.mosaicCol=this.mosaicElement.find(".map.widget").closest(".col"),this.addElementClass(".map")},mosaicClassIsPhoto:function(){this.mosaicCol=this.mosaicElement.closest(".col"),this.addElementClass(this.photoMosaic),this.addElementClass(this.photoBrowserEdge)},addElementClass:function(t){this.mosaicRow.find(t).addClass(this.mosaicElementClass),".map"==t&&$(window).width()>979&&(this.mosaicRow.find(t).removeClass("tiny").removeClass("small"),this.mosaicRow.find(t).addClass("large"))},browserEdgeAddClasses:function(){var t="browser-edge";this.mosaicClassIs(t)&&(this.mosaicRow.addClass("".concat(t,"-row")),this.mosaicCol.addClass("".concat(t,"-col")))},mosaicInlineStylesInit:function(){$(".".concat(this.mosaicStyles)).each(function(t,e){this.mosaicInlineStylesEach(e)}.bind(this))}
1,mosaicInlineStylesEach:function(t){var e=$(t);e.children("style").text().indexOf("padding-")&&this.mosaicRowPrependStyleTag(e)},mosaicRowPrependStyleTag:function(t){var e=".".concat(this.mosaicStyles,".row-")+t.attr("data-id"),n=t.css("padding-bottom"),o=t.css("padding-top"),i=".row-1 .".concat(this.mosaicElementClass,".widget"),r="[class*=row-]:last-of-type .".concat(this.mosaicElementClass,".widget"),a="".concat(e," .row-single .col"),s="".concat(e," .content:not(.row-single) .col"),c="margin-top: -".concat(o),l="margin-bottom: -".concat(n),u="<style>\n                            @media screen and (max-width: ".concat("979px",") {\n                              ").concat(e," .col-1 ").concat(r," {\n                                ").concat(c,"\n                              }\n                              ").concat(e," [class*=col-]:last-of-type ").concat(i," {\n                                ").concat(l,"\n                              }\n                            }\n                            @media screen and (min-width: ").concat("980px",") {\n                              ").concat(a," ").concat(r," {\n                                ").concat(c,"\n                              }\n                              ").concat(a," ").concat(i," {\n                                ").concat(l,"\n                              }\n                              ").concat(s," ").concat(r," {\n                                top: -").concat(o,"\n                              }\n                              ").concat(s," ").concat(i," {\n                                bottom: -").concat(n,"\n                              }\n                            }\n                          </style>");t.prepend(u)},bgColHtmlColor:function(){var t=["background-color","border-bottom-color","border-bottom-style","border-bottom-width","border-left-color","border-left-style","border-left-width","border-right-color","border-right-style","border-right-width","border-top-color","border-top-style","border-top-width","border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","padding-bottom","padding-left","padding-right","padding-top"];$(".bg-col .html.widget .html-content").each(function(e,n){this.replicateStyles(n,t)}.bind(this))},replicateStyles:function(t,e){for(var n=$(t),o=n.closest(".column"),i=0;i<e.length;i++){var r=e[i];o.css(r,n.css(r))}n.addClass("remove-styles")},objectFitFallback:function(){this.bodyAddClass("object-fit-fallback-support");var t=$(".photo.".concat(this.mosaicElementClass,", .web-page-template .row:first-of-type:not(.interior-hero-photo-normal) > .row-1 .photo"));$(t).each(this.addSupportClass(index,element))},addSupportClass:function(t,e){var n=$(e),o=n.find("img"),i=o.prop("src");o.remove(),n.css("backgroundImage","url("+i+")").addClass("object-fit-support"),n.closest(".col").addClass("col-object-fit-support")},cssFallbacks:function(){!!(window.CSS&&window.CSS.supports||window.supportsCSS)?this.supportsObjectFit():this.objectFitFallback()},supportsObjectFit:function(){if(!CSS.supports("(object-fit: cover) or (object-position: center)"))return this.objectFitSupport()},stuckLogoAppear:function(){var t=this.isPageScrolled;this.body.toggleClass("stuck",t)},menuButtonClick:function(){var t=this,e=!(!window.G5||"function"!=typeof window.G5.isPreviewEditor)&&window.G5.isPreviewEditor();this.menuBtn.click((function(){t.mobileNavBelowFoldFix(),e||(t.body.hasClass("menu-open")?(t.body.removeClass("menu-open"),t.body.parents().removeClass("no-scroll"),t.menuBtn.parent().addClass("changing")):(t.body.addClass("menu-open"),t.body.parents().addClass("no-scroll"),t.menuBtn.parent().addClass("changing")),setTimeout((function(){t.menuBtn.parent().removeClass("changing")}),900))}))},desktopNavHover:function(t){var e=$(t.currentTarget);this.navHoverState.css({left:e.position().left,width:e.width()})},topNavLeave:function(){this.navHoverState.removeAttr("style")},stickyBannerV2:function(){var t=this,e=$(".sticky-banner-v2.sticky-banner-above.active").length,n=$(".sticky-banner-v2.sticky-banner-below.active"),o=n.length,i=$(".sticky-banner-v2.sticky-banner-bottom.active").length;e&&(this.body.removeClass(["sticky-banner-below","sticky-banner-bottom"]).addClass("sticky-banner-above"),o&&$("header[role=banner]").after(n));o&&!e&&(this.body.removeClass(["sticky-banner-above","sticky-banner-bottom"]).addClass("sticky-banner-below"),this.body.prepend(n)),!i||o||e||this.body.removeClass(["sticky-banner-above","sticky-banner-below"]).addClass("sticky-banner-bottom"),this.setStickyBannerHe
1ights(),this._bannerResizeObserver||"undefined"==typeof ResizeObserver||(this._bannerResizeObserver=new ResizeObserver(this.debounce((function(){t.setStickyBannerHeights()}),50)),document.querySelectorAll(".sticky-banner-v2").forEach((function(e){t._bannerResizeObserver.observe(e)}))),this._bodyClassObserver||"undefined"==typeof MutationObserver||(this._bodyClassObserver=new MutationObserver(this.debounce((function(){t.setStickyBannerHeights(),!$("body").hasClass("sticky-banner-below")&&$(".sticky-banner-v2.sticky-banner-below.active").filter(":visible").length&&$("body").addClass("sticky-banner-below")}),10)),this._bodyClassObserver.observe(document.body,{attributes:!0,attributeFilter:["class"]}))},setStickyBannerHeights:function(){var t=$("header[role=banner]").outerHeight()||70;document.documentElement.style.setProperty("--header-height","".concat(t,"px"));var e=$(".sticky-banner-v2.sticky-banner-above"),n=t,o=!1;e.each((function(t){var e=$(this).is(":visible")&&$(this).outerHeight()||0;e>0&&(o=!0),0===t?(document.documentElement.style.setProperty("--first-banner-height","".concat(e,"px")),document.body.style.setProperty("--stickyBannerHeight","".concat(e,"px"))):1===t&&document.documentElement.style.setProperty("--second-banner-height","".concat(e,"px")),n+=e})),o?(document.documentElement.style.setProperty("--stickyBannerHeight","".concat(n,"px")),$("body").addClass("sticky-banner-above"),$("body").hasClass("transparent-navigation")&&$("header[role=banner]").css("position","relative")):(document.documentElement.style.setProperty("--first-banner-height","0px"),document.documentElement.style.setProperty("--second-banner-height","0px"),document.documentElement.style.setProperty("--stickyBannerHeight","0px"),document.body.style.setProperty("--stickyBannerHeight","0px"),$("body").hasClass("transparent-navigation")&&$("header[role=banner]").css("position",""),$("body").removeClass("sticky-banner-above"))},stickyBannerOnScroll:function(){var t=document.body.classList.contains("sticky-banner-v2-sticky-stucky"),e=$(".sticky-banner-v2.sticky-banner-below.active").length>0,n=window.scrollY||window.pageYOffset,o=$(".sticky-banner-sticky header[role=banner] .navigation-container");if(t&&!e&&n>100){var i=getComputedStyle(document.body).getPropertyValue("--stickyBannerHeight").trim()||"3em";o.css("top",i)}else o.css("top","")},mobileNavBelowFoldFix:function(){var t=$(".navigation.widget");if(t.length){var e=$(".layout.rows-layout").offset().top+$("header[role=banner] .collapsable-btn").outerHeight(!0),n=Math.ceil($(window).height()-e);t[0].style.height="",t[0].style.maxHeight="",t.toggleClass("below-the-fold",n<t.find("ul.top-nav").outerHeight(!0)),t.hasClass("below-the-fold")&&t.css({height:n+"px"})}},debounce:function(t,e){var n=null;return function(){for(var o=arguments.length,i=new Array(o),r=0;r<o;r++)i[r]=arguments[r];window.clearTimeout(n),n=window.setTimeout((function(){t.apply(null,i)}),e)}},navContentStripe:function(){var t=$(".content-stripe-widget.navigation-content-stripe"),e=this.bodyHasClass("navigation-contains-content-stripe");if(t.length&&e){t.removeClass("lazy-background-images");var n=t.css("background-attachment"),o=t.css("background-image"),i=t.css("background-position"),r=t.css("background-repeat"),a=t.css("background-size");t.removeClass("row"),this.dropTargetNav.append(t),this.dropTargetNav.css("background-attachment",n),this.dropTargetNav.css("background-image",o),this.dropTargetNav.css("background-position",i),this.dropTargetNav.css("background-repeat",r),this.dropTargetNav.css("background-size",a),t.css("background-image","none")}}};$((function(){t.initialize()})),window.addEventListener("scroll",t.debounce((function(){t.onScroll()}),250)),$(window).smartresize((function(){t.onSmartResize()}))},660:function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var e=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.configs=t,this.widget=$("#".concat(t.widgetId)),this.widgetAnchor=this.widget.find("a"),this.disableButtonAchors(),this.addHeaderButtons(),this.FCPOsetup()}var n,o,i;return n=e,(o=[{key:"disableButtonAchors",value:function(){this.configs.thirdPartyEnable&&this.widget.find("a").click((function(t){t.preventDefault()}))}},{key:"addHeaderButtons",value:function(){this.configs.hBEnable&&($("#drop-target-btn").prepend(this.widget),this.addHeaderButtonsToNav())}},{key:"addHeaderButtonsToNav",value:function(){"navigation"===this.configs.hBMobileOption&&this.setButtons()}},{key:"setButtons",value:function(){window.matchMedia("(max-width: ".concat(this.configs.hBMobileBreakpoint,")")).matches?this.setNavItem(
1):this.setButton()}},{key:"setNavItem",value:function(){var t=$("<li class='nav-item-button'></li>");t.append(this.widgetAnchor),$("#drop-target-nav .navigation .top-nav").append(t)}},{key:"setButton",value:function(){this.widget.find("a").length||this.widget.append(this.widgetAnchor)}},{key:"FCPOsetup",value:function(){this.configs.hBEnable&&"navigation"===this.configs.hBMobileOption&&$(".nav-item-".concat(this.configs.widgetId)).on("click",(function(t){t.preventDefault()})),this.widget.find("a[data-fcpo-name]").on("click",(function(t){t.preventDefault()}))}}])&&t(n.prototype,o),i&&t(n,i),e}();G5.loadWidgetConfigs(".button .config",e)},858:function(){!function(t){t.fn.visible=function(){var e=t(this),n=t(window),o=n.scrollTop(),i=o+n.height(),r=e.offset().top,a=r+e.height();return r<=i&&a>=o}}(jQuery),window.addEventListener("load",(function(){var t=$(window),e=$("[class*=column-transition]");e.each((function(t,e){(e=$(e)).visible()&&e.addClass("column-visible")})),t.scroll((function(t){e.each((function(t,e){(e=$(e)).visible()&&!e.hasClass("column-visible")&&(e.addClass("column-in"),e.on("animationend",(function(){e.addClass("column-visible"),e.removeClass("column-in")})))}))}))}))},800:function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var e=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.widgetId=t.widgetId,this.widget=$("#".concat(this.widgetId)),this.phoneOptions=t,this.initChat(),this.initSocialLinks(),this.setAccessiblePhoneNumber()}var n,o,i;return n=e,(o=[{key:"initChat",value:function(){var t=this;return this.widget.find(".contact-info-chat").click((function(e){return window.open(t.phoneOptions.chatUrl,"Chat","width=600, height=480, scrollbars=yes, resizable=yes"),e.preventDefault()}))}},{key:"initSocialLinks",value:function(){if($(".social-links.widget").length<1){var t=window.location.href;return window.location.hash&&(t=t.replace(window.location.hash,"")),function(){for(var e=[],n=0,o=Array.from($(".social-links use"));n<o.length;n++){var i=o[n];0!==$(i).attr("xlink:href").indexOf("http")?e.push($(i).attr("xlink:href",t+$(i).attr("xlink:href"))):e.push(void 0)}return e}()}}},{key:"setAccessiblePhoneNumber",value:function(){new AccessiblePhoneNumber("#".concat(this.widgetId," .contact-info-phone"))}}])&&t(n.prototype,o),i&&t(n,i),e}();G5.loadWidgetConfigs(".contact-info .config",e)},168:function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var e=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t.backgroundImageURL&&(this.configs=t,this.display())}var n,o,i;return n=e,(o=[{key:"display",value:function(){"hide"==this.configs.mobileSettingOption&&(this.setTextColor(),this.resize())}},{key:"setTextColor",value:function(){var t=this.configs.rowTextColor,e=this.configs.mobileRowTextColor;if("default"!==e&&e!==t){var n=$("#".concat(this.configs.widgetId)),o=window.matchMedia("(min-width:".concat(this.configs.mobileHideBackgroundImageBreakpoint,"px)")).matches?t:e;n.removeClass("text-light text-dark").addClass("text-".concat(o))}}},{key:"resize",value:function(){var t=this;$(window).smartresize((function(){t.setTextColor()}))}}])&&t(n.prototype,o),i&&t(n,i),e}();G5.loadWidgetConfigs(".content-stripe-widget .config",e)},969:function(){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=r(t);if(e){var a=r(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return i(this,n)}}function i(e,n){return!n||"object"!==t(n)&&"function"!=typeof n?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e):n}function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var a=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}(c,GMBHours);var i,r,a,s=o(c);function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=s.call(this,t)).configs=t,e.displayCurrentYear(),e.configureSocialXLinks(),e.footerLayoutClass(),e}return i=c,(r=[{key:"displayCurrentYear",value:function(){this.widget.find(".current-year").html((new Date).getFullYear())}},{key:"configureSocialXLinks",value:function(){if($(".social-links.widget").length<1){var t=window.location.href;window.location.hash&&(t=t.replace(window.location.hash,"")),$.each($(".social-links use"),(function(){0!=$(this).attr("xlink:href").indexOf("http")&&$(this).attr("xlink:href",t+$(this).attr("xlink:href"))}))}}},{key:"footerLayoutVariables",value:function(){this.footerLayoutSelection=this.configs.footerLayoutSelection,this.footer=this.widget.closest("footer[role=contentinfo]"),this.contactinfo=this.footer.find(".contact-info"),this.pName=this.contactinfo.find(".p-name"),this.footerLayoutOpt1="option-1"==this.footerLayoutSelection,this.footerLayoutOpt2="option-2"==this.footerLayoutSelection,this.footerLayoutOpt3="option-3"==this.footerLayoutSelection,this.footerLayoutOpt4="option-4"==this.footerLayoutSelection,this.footerLayoutOpt3Or4=this.footerLayoutOpt3||this.footerLayoutOpt4,this.footerLayoutOpt3Or4&&(this.upperRow=this.footer.find(".upper-row"),this.upperLeftColumn=this.upperRow.find(".left-column"),this.upperRightColumn=this.upperRow.find(".right-column"))}},{key:"footerLayoutInitial",value:function(){var t=this.contactinfo.find(".adr");this.footer.addClass(this.footerLayoutSelection),this.contactinfo.prepend(t),this.contactinfo.prepend(this.pName)}},{key:"reorderCorpLogo",value:function(){var t=this.footer.find(".corporate-logo");t.length>0&&(this.footerLayoutOpt1&&this.contactinfo.prepend(t),this.footerLayoutOpt4&&($(".footer-custom-content").length>
10?this.upperRightColumn:this.upperLeftColumn).prepend(t))}},{key:"phoneAndEmailContainerFill",value:function(){var t=this.contactinfo.find(".phone"),e=this.contactinfo.find(".email");t.length>0&&e.length>0&&!this.footerLayoutOpt2&&(t.before("<div class='phone-and-email-elements-container'></div>"),this.contactinfo.find(".phone-and-email-elements-container").prepend([t,e]))}},{key:"footerLayout3And4Variables",value:function(){this.upperCenterColumn=this.upperRow.find(".center-column")}},{key:"contactInfoIsEmptyCheck",value:function(){var t=this.contactinfo.find("p"),e=this.contactinfo.find("div");this.pName.length>0||t.length>0||e.length>0?this.upperCenterColumn.prepend(this.contactinfo):this.contactinfo.remove()}},{key:"faxAndChatExist",value:function(){var t=this.contactinfo.find(".fax"),e=this.contactinfo.find(".chat"),n=t.length>0&&e.length>0;n&&(t.before("<div class='fax-and-chat-elements-container'></div>"),this.contactinfo.find(".fax-and-chat-elements-container").prepend([e,t]))}},{key:"footerLayoutOpt4Initial",value:function(){if(this.footerLayoutOpt4){var t=this.widget.find(".lower-row .left-column");t.append(this.upperRightColumn.find('svg[style*="display"]')),t.append(this.upperRightColumn.find(".social-links"))}}},{key:"layout3And4Alt",value:function(){this.upperRow.find("[class*='-column']");var t=""==$.trim(this.upperLeftColumn.html()),e=""==$.trim(this.upperCenterColumn.html()),n=""==$.trim(this.upperRightColumn.html());t&&e&&n&&this.upperRow.remove()}},{key:"footerLayoutOpt3And4Initial",value:function(){this.footerLayoutOpt3Or4&&(this.footerLayout3And4Variables(),this.contactInfoIsEmptyCheck(),this.faxAndChatExist(),this.footerLayoutOpt4Initial(),this.layout3And4Alt())}},{key:"footerHeadingsFix",value:function(){var t,e=this.contactinfo.find(".contact-header.p-name > span");e.length&&""!=e.text()&&(t='<h2 class="quietH2">'.concat(e.html(),"</h2>"),e.html(t))}},{key:"footerLayoutClass",value:function(){this.footerLayoutVariables(),this.footerLayoutInitial(),this.phoneAndEmailContainerFill(),this.reorderCorpLogo(),this.footerLayoutOpt3And4Initial(),this.footerHeadingsFix()}}])&&e(i.prototype,r),a&&e(i,a),c}();G5.loadWidgetConfigs(".footer-info .config",a)},641:function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var e=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.widgetId=t.widgetId,this.config=t,this.setAccessiblePhoneNumber()}var n,o,i;return n=e,(o=[{key:"setAccessiblePhoneNumber",value:function(){new AccessiblePhoneNumber("#".concat(this.widgetId," .html-phone"))}}])&&t(n.prototype,o),i&&t(n,i),e}();G5.loadWidgetConfigs(".html .config",e)},327:function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var e=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.script=t.script,this.noscript=t.noscript,this.widgetId=t.widgetId,this.srcUrl=t.srcUrl,this.attributes={async:t.async,defer:t.defer,nomodule:t.nomodule,fetchpriority:t.fetchPriority,referrerpolicy:t.referrerPolicy,crossorigin:t.crossOrigin,integrity:t.integrity},this.appendJavascript(),this.appendExternalSrc()}var n,o,i;return n=e,(o=[{key:"appendJavascript",value:function(){if(this.script.length&&this.appendTag("script",this.script,"text/javascript"),this.noscript.length)return this.appendTag("noscript",this.noscript)}},{key:"appendTag",value:function(t,e,n){var o=document.createElement(t);return n&&(o.type="text/javascript"),o.id="".concat(this.widgetId,"-").concat(t),o.innerHTML=e,this.appendConfigs(o),$("body")[0].appendChild(o)}},{key:"appendExternalSrc",value:function(){if(this.srcUrl.length)return this.appendTagWithSrc("script",this.srcUrl)}},{key:"appendTagWithSrc",value:function(t){var e=document.createElement(t);return e.id="".concat(this.widgetId,"-src"),e.src="".concat(this.srcUrl),this.appendConfigs(e),$("body")[0].appendChild(e)}},{key:"appendConfigs",value:function(t){for(var e in this.attributes)"true"!=this.attributes[e]&&""==this.attributes[e]||"false"==this.attributes[e]||t.setAttribute(e,this.attributes[e])}}])&&t(n.prototype,o),i&&t(n,i),e}();G5.loadWidgetConfigs(".javascript-config",e)},617:function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var e=function(){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.configs=t,this.widget=$("#".concat(t.widgetId));new HomeUrl(this.configs);this.logoImg(),this.toggleLogoImg(),this.addMobileBg(),G5.fortAwesomeApi.registerWidget(this,"fortAwesomeLoaded")}var n,o,i;return n=e,(o=[{key:"logoImg",value:function(){this.configs.enableMobileSpecificDisplay&&(this.mobile=window.matchMedia("(max-width: ".concat(this.configs.mobileBreakpoint,"px)")).matches,this.sourceImg=this.mobile?this.configs.mobileLogoSourceUrl:this.configs.logoSourceUrl,this.imgMarkup(),this.widget.find("img").remove(),this.widget.append(this.widgetMarkup))}},{key:"imgMarkup",value:function(){this.widgetMarkup='<img class="u-logo p-name"                         src=\''.concat(this.sourceImg,"'                         ").concat(CloudinaryHelper.responsiveImage(this.sourceImg,{minWidth:300}),"                         alt='").concat(this.configs.logoAltTag,"' />")}},{key:"toggleLogoImg",value:function(){var t=this;$(window).resize((function(){t.logoImg()}))}},{key:"addMobileBg",value:function(){this.configs.enableMobileSpecificDisplay&&Number(this.configs.mobileBreakpoint)>=$(window).width()&&$(".logo-container").addClass("logo-mobile-bg")}}])&&t(n.prototype,o),i&&t(n,i),e}();G5.loadWidgetConfigs(".logo .config",e)},930:function(){function t(t,n){var o;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(o=function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return e(t,n)}(t))||n&&t&&"number"==typeof t.length){o&&(t=o);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){o=t[Symbol.iterator]()},n:function(){var t=o.next();return s=t.done,t},e:function(t){c=!0,a=t}
1,f:function(){try{s||null==o.return||o.return()}finally{if(c)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}new(function(){function e(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.navVariables(),this.setupMenus(),this.bodyClickResetSubNav();var n=$(window).width(),o=$(window).height();$(window).smartresize((function(){if($(window).width()!=n||$(window).height()!=o)return n=$(window).width(),o=$(window).height(),t.resetNav(),t.setMenuHeights()})),$(this).trigger("navigationReady"),this.focusEvents(),this.skipLinkSetup()}var o,i,r;return o=e,(i=[{key:"skipLinkTemplate",value:function(){clearTimeout(window.skipTimer),window.skipTimer=setTimeout((function(){document.getElementById("skip-link")||(window.document.body.insertAdjacentHTML("afterbegin",'<a id="skip-link" onclick="skipLink(event)" href="#drop-target-main">Skip to Main Content</a>'),window.skipLoadObserver.disconnect())}),100)}},{key:"skipLinkSetup",value:function(){var e=this;window.skipTimer=0,window.skipLink=function(t){t.preventDefault();var e=document.querySelector("#drop-target-main");return e.setAttribute("tabindex","-1"),e.focus()},window.skipCallback=function(n){var o,i=t(n);try{for(i.s();!(o=i.n()).done;){var r=o.value;"childList"!==r.type&&"attributes"!==r.type||e.skipLinkTemplate()}}catch(t){i.e(t)}finally{i.f()}},window.skipLoadObserver=new MutationObserver(skipCallback),window.skipLoadObserver.observe(document.body,{attributes:!0,childList:!0,subtree:!0})}},{key:"navVariables",value:function(){this.body=$("body"),this.dropTarget=$("#drop-target-nav"),this.corporateMenu=this.dropTarget.find(".corporate-navigation"),this.locationMenu=this.dropTarget.find(".navigation"),this.path=location.pathname.match(/([^\/]*)\/*$/)[1],this.subnavAnchor=this.dropTarget.find(".subnav a"),this.navA=this.dropTarget.find(".navigation a"),this.navButton=$(".collapsable-btn")}},{key:"setActiveMenu",value:function(t){return t.find('a[href$="/'+this.path+'"]').addClass("active")}},{key:"setMenuHeights",value:function(){if(this.corporateMenu.length>0&&this.setMenuHeight(this.corporateMenu),this.locationMenu.length>0)return this.setMenuHeight(this.locationMenu)}},{key:"setMenuHeight",value:function(t){return t.css({maxHeight:$(window).height()-$("header[role=banner] .collapsable-btn").outerHeight(!0)+"px"})}},{key:"setupMenus",value:function(){if(this.corporateMenu.length>0&&this.setupMenu(this.corporateMenu),this.locationMenu.length>0)return this.setupMenu(this.locationMenu)}},{key:"setupMenu",value:function(t){if(this.setActiveMenu(t),this.setMenuHeight(t),t.find(".has-subnav").length>0)return this.setupSubNav(t)}},{key:"setupSubNav",value:function(t){var e=this;return t.find(".has-subnav > a").on("click",(function(t){var n=$(t.currentTarget);if(!e.body.hasClass("no-duplicate-parent-nav-items"))return e.closeSubNav(e.corporateMenu.find(".subnav").not(n.next())),e.closeSubNav(e.locationMenu.find(".subnav").not(n.next())),e.toggleSubNav(n.next()),window.noEvent(t)}))}},{key:"closeSubNav",value:function(t){return t.removeClass("show-subnav"),t.parent().removeClass("subnav-open")}},{key:"toggleSubNav",value:function(t){return t.toggleClass("show-subnav"),t.parent().toggleClass("subnav-open")}},{key:"resetNav",value:function(){this.dropTarget.removeClass("in"),this.navButton.removeClass("on"),this.body.removeClass("menu-open"),$(".m-top").removeClass("m-top-click"),$(".m-middle").removeClass("m-middle-click"),$(".m-bottom").removeClass("m-bottom-click"),this.body.removeClass("show-navigation"),this.body.removeClass("all-is-hidden"),$("#to-be-pushed").removeClass("push-left"),this.dropTarget.removeClass("show")}},{key:"resetSubNav",value:function(){return this.closeSubNav(this.corporateMenu.find(".subnav")),this.closeSubNav(this.locationMenu.find(".subnav"))}},{key:"bodyClickResetSubNav",value:function(){var t=this;this.dropTarget.find(".has-subnav").length>0&&this.body.on("click",(function(e){t.resetSubNav()}))}}
1,{key:"focusEvents",value:function(){this.focusOutSubnavItem(),this.focusSubnavItem(),this.focusOutNavAItem(),this.focusNavAItem(),this.navBtnClick()}},{key:"focusOutSubnavItem",value:function(){this.subnavAnchor.focusout(function(t){var e=$(t.currentTarget).closest(".has-subnav"),n=e.children("a");e.hasClass("subnav-open")&&n.click()}.bind(this))}},{key:"focusSubnavItem",value:function(){this.subnavAnchor.focus(function(t){var e=$(t.currentTarget).closest(".has-subnav"),n=e.children("a");e.hasClass("subnav-open")||n.click()}.bind(this))}},{key:"focusOutNavAItem",value:function(){this.navA.focusout(function(){setTimeout(function(){this.navButton.hasClass("on")&&!this.navA.is(":focus")&&this.navButton.click()}.bind(this),1)}.bind(this))}},{key:"focusNavAItem",value:function(){this.navA.focus(function(){this.navButton.hasClass("on")||this.navButton.click()}.bind(this))}},{key:"navBtnClick",value:function(){this.navButton.on("click",function(){setTimeout(function(){this.dropTarget.hasClass("in")&&this.navButton.hasClass("on")||this.resetNav()}.bind(this),1)}.bind(this))}}])&&n(o.prototype,i),r&&n(o,r),e}())},75:function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var e=function(){function e(t){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.configs=t,"true"===this.configs.appendPhone&&$(this.phoneMarkup()).insertAfter("".concat(this.configs.appendElements)),"true"===this.configs.prependPhone&&$(this.phoneMarkup()).insertBefore("".concat(this.configs.appendElements)),"true"===this.configs.appendPhone||"true"===this.configs.prependPhone)?($("".concat(this.configs.appendElements)).parents("div").addClass("phone-widget-wrapper"),$(window).trigger("appendedPhoneNumberReady","#".concat(this.configs.widgetId)),this.setAccessiblePhoneNumber()):"true"===this.configs.displayPhone&&this.setAccessiblePhoneNumber()}var n,o,i;return n=e,(o=[{key:"phoneMarkup",value:function(){return"       <a href='tel://".concat(this.configs.defaultPhoneNumber,"' id='appended-phone-").concat(this.configs.widgetId,"' title='Property Phone Number' class='appended-phone ").concat(this.configs.widgetId," number h-c-ret v-c-ret h-card vcard phone-widget-number'>         <span class='p-tel tel'>").concat(this.configs.defaultPhoneNumber,"</span>       </a>")}},{key:"setAccessiblePhoneNumber",value:function(){new AccessiblePhoneNumber(".phone-widget-number")}}])&&t(n.prototype,o),i&&t(n,i),e}();G5.loadWidgetConfigs(".phone .config",e)},389:function(){function t(t,e,n,o,i,r,a){try{var s=t[r](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(o,i)}function e(e){return function(){var n=this,o=arguments;return new Promise((function(i,r){var a=e.apply(n,o);function s(e){t(a,i,r,s,c,"next",e)}function c(e){t(a,i,r,s,c,"throw",e)}s(void 0)}))}}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function i(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var r=function(){function t(e){var o=this;n(this,t),Object.assign(this,e),Object.assign(this,{widget:$("#".concat(e.widgetId))}),Object.assign(this,{writeReviewModal:$("#write-review-modal-".concat(e.widgetId))}),Object.assign(this,{currentPage:0}),Object.assign(this,{googleReviewEnabled:this.googlePlaceID&&"google"===this.reviewsIntegration}),this.setDirectReviewLink(),this.setCloseModalListeners(),this.buildMarkup((function(t){100===t.length&&o.showAllreviews&&o.buildPagination()}))}var o;return i(t,[{key:"buildPagination",value:function(){var t=this;this.widget.find(".promoted-reviews_pagination").append('\n    <button class="promoted_reviews-pagination_button btn" id="'.concat(this.widgetId,'-previous_button">&#171; Previous</button>\n    <button class="promoted_reviews-pagination_button btn" id="').concat(this.widgetId,'-next_button">Next &#187;</button>\n    '));var e=this.widget.find("#".concat(this.widgetId,"-previous_button")),n=this.widget.find("#".concat(this.widgetId,"-next_button")),o=this.widget.find(".promoted-reviews-content"),i=function(){o.scrollTop(0),$("html, body").animate({scrollTop:t.widget.offset().top},500)};n.on("click",(function(){t.currentPage=t.currentPage+1,e.attr("disabled",0===t.currentPage),t.buildMarkup((function(t){t.length<100&&n.attr("disabled",!0),i()}))})),e.on("click",(function(){t.currentPage=t.currentPage-1,e.attr("disabled",0===t.currentPage),t.buildMarkup((function(t){100===t.length&&n.attr("disabled",!1),i()}))})),e.attr("disabled",0===this.currentPage)}},{key:"setCloseModalListeners",value:function(){var t=this;$(document).keydown((function(e){"�Escape"!==e.key&&"Esc"!==e.key&&27!==e.keyCode||t.closeModal()})),window.addEventListener("message",(function(e){"CLOSEMODAL"===e.data&&t.closeModal()}))}},{key:"setDirectReviewLink",value:function(){var t=this;if(this.yextDirectReviewEnabled&&this.firstPartyReviewPage){var e=this.firstPartyReviewPage;return this.widget.find("#chatmeter-direct-review").attr("href",e),this.widget.find("#chatmeter-direct-review .platinum-toggler").show(),this.widget.find(".write-review-modal iframe").attr("src",e),void this.setModalListeners()}if((this.chatmeterDirectReviewEnabled||this.googleReviewEnabled)&&"hcard"!=this.reviewType)if(this.googleReviewEnabled){var n="https://search.google.com/local/writereview?placeid=".concat(this.googlePlaceID);this.widget.find("#chatmeter-direct-review").attr("href",n),this.widget.find("#chatmeter-direct-review .platinum-toggler").show()}else this.chatmeterDirectReviewEnabled&&(this.getChatmeterLocation().then((function(e){var n=e.id,o="https://social.g5marketingcloud.com/reviewBuilder/form/submission/".concat(t.chatmeterFormId,"?campaignId=").concat(t.chatmeterCampaignId,"&locationId=").concat(n);t.widget.find("#chatmeter-direct-review").attr("href",o),t.widget.find("#chatmeter-direct-review .platinum-toggler").show(),t.widget.find(".write-review-modal iframe").attr("src",o)})),this.setModalListeners())}}
1,{key:"freezeBackgroundPage",value:function(t){var e={top:"-".concat(window.scrollY,"px"),overflow:"hidden",position:"fixed",width:"100%"};t.css(e)}},{key:"unleashBackgroundPage",value:function(t){var e=document.body.style.top;t.css({top:"",overflow:"",position:"",width:""}),window.scrollTo(0,-1*parseInt(e||"0"))}},{key:"appendWriteReviewModalToTheBody",value:function(){this.writeReviewModal.appendTo(document.body)}},{key:"closeModal",value:function(){this.unleashBackgroundPage($(document.body)),this.writeReviewModal.addClass("modal-hidden")}},{key:"setModalListeners",value:function(){var t=this;this.widget.find("#chatmeter-direct-review").on("click",(function(e){e.preventDefault(),t.appendWriteReviewModalToTheBody(),t.writeReviewModal.removeClass("modal-hidden"),t.freezeBackgroundPage($(document.body))})),this.writeReviewModal.find(".modal-close").on("click",(function(){t.closeModal()})),this.writeReviewModal.find(".modal-close").on("keydown",(function(e){"Enter"===e.key&&t.closeModal()}))}},{key:"getChatmeterLocation",value:(o=e(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch("".concat(this.chatmeterApiHost,"/api/v1/chatmeter_location/").concat(this.customLocationUrn,".json"));case 2:return e=t.sent,t.next=5,e.json();case 5:return t.abrupt("return",t.sent);case 6:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"buildMarkup",value:function(t){var e,n=this,o=this.reviewApiUrl,i=this.reviewType,r=this.brandedName,l=this.widget,u=this.insertReviewSchema,h=this.reviewPageUrl,d=this.ratingsToDisplay,f=this.useYext,p=this.useChatmeter;(!f||this.yextAccountId&&this.yextLocationId)&&(e=f?function(t){return a.yextNormalize(t,d,n.excludedSources)}:p?a.chatmeterNormalize:a.g5RepManagerNormalize,a.getfeed(o,this.showAllreviews).then((function(a){if(console.log("[PromotedReviews] API URL called:",o),console.log("[PromotedReviews] Raw feed from server (before normalize):",Array.isArray(a)?"Array(".concat(a.length,")"):a),(a=e(a)).reviews&&0!==a.reviews.length){var d=u||".contact-info";("full"==i?new c(r,l,n.responseAuthor):new s(d,h,l)).update(a,f||p),n.showAllreviews&&t&&t(a.reviews)}else n.widget.hide()})).catch((function(t){console.error("Error in buildMarkup:",t),n.widget.hide()})))}},{key:"reviewApiUrl",get:function(){var t="hcard"==this.reviewType&&"true"==this.countAllReviews?"v2":"v1",e=this.excludedSources?"excluded_providers=".concat(this.excludedSources,"&"):"",n="ratings_to_display=".concat(this.ratingsToDisplay),o=this.showAllreviews?"current_page=".concat(this.currentPage,"&"):"max_reviews=".concat(this.maxNumberReviews,"&");if(this.useYext){var i=this.yextApiHost||"https://api-proxy.g5search.com",r=this.yextAccountId?"yext_account_id=".concat(this.yextAccountId):"",a=this.minRecommendation?"min_recommendation=".concat(this.minRecommendation,"&"):"";return"".concat(i,"/api/v1/yext_reviews/").concat(this.yextLocationId,".json?").concat(e).concat(o).concat(a).concat(r)}return this.useChatmeter?"".concat(this.chatmeterApiHost,"/api/").concat(t,"/chatmeter_reviews/").concat(this.customLocationUrn,"?").concat(o).concat(n,"&").concat(e,"enterprise=").concat(this.chatmeterEnterprise,".json"):"".concat(this.reputationManagerApiHost,"/api/promoted_reviews/stores/").concat(this.apiUrlId,".json")}},{key:"useYext",get:function(){return this.yextEnabled}},{key:"useChatmeter",get:function(){return"true"==this.chatmeterListingManagementEnabled&&("true"==this.chatmeterSocialEnabled||"true"==this.chatmeterReputationEnabled||"true"==this.chatmeterReputationLiteEnabled)}},{key:"chatmeterDirectReviewEnabled",get:function(){return this.useChatmeter&&("true"==this.chatmeterSocialEnabled||"true"==this.chatmeterReputationEnabled)}},{key:"yextDirectReviewEnabled",get:function(){return this.useYext&&this.firstPartyReviewPage}},{key:"firstPartyReviewPage",get:function(){return this.yextFirstPartyReviewPage}},{key:"chatmeterEnterprise",get:function(){return"true"==this.chatmeterListingManagementEnabled&&"true"==this.chatmeterReputationLiteEnabled}},{key:"showAllreviews",get:function(){return"all"===this.maxNumberReviews}}]),t}(),a=function(){function t(){n(this,t)}return i(t,null,[{key:"getfeed",value:function(t,n){return e(regeneratorRuntime.mark((function e(){var o,i,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(o=G5SessionStorage.getItem(t))||n){e.next=3;break}return e.abrupt("return",o);case 3:return e.prev=3,e.next=6,fetch(t);case 6:return i=e.sent,e.next=9,i.json();case 9:r=e.sent,e.next=15;break;case 12:e.prev=12,e.t0=e.catch(3),console.error("We experienced an error fetching reviews: ".concat(e.t0));case 15:return e.abrupt("return",G5SessionStorage.setItem(t,r));case 16:case"end":return e.stop()}}),e,null,[[3,12]])})))()}},{key:"chatmeterNormalize",value:function(t){return{location:{averageRating:t.map((function(t){return void 0===t.rating?5:t.rating})).reduce((function(t,e){return t+e}),0)/t.length,numberofReviews:t.length,outOf:5},reviews:t.map((function(t){return{rating:t.rating||5,excerpt:t.reviewDetail||"",link:t.reviewURL||"",siteName:t.contentProvider||"",date:t.reviewDate||"",author:t.reviewerUserName||"",responses:t.responses||[]}}))}}},{key:"yextNormalize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(console.log("[PromotedReviews] Display Reviews With the Following Ratings (selected value):",e||"(none selected)"),!t||0===t.length)return{location:{averageRating:0,numberofReviews:0,outOf:5},reviews:[]};var o=t;if(n){var i=n.split(",").map((function(t){return t.trim().toLowerCase()}));o=o.filter((function(t){var e=(t.publisherId||"yext").toLowerCase();return!i.includes(e)}))}if(e){var r=e.split(",").map((function(t){return t.trim()}));o=o.filter((function(t){var e=t.rating;return!(!r.includes("1star")||1!==e)||(!(!r.includes("2star")||2!==e)||(!(!r.includes("3star")||3!==e)||(!(!r.includes("4star")||4!==e)||(!(!r.includes("5star")||5!==e)||(!!(r.includes("positive")&&e>=4)||(!(!r.includes("neutral")||3!==e)||!!(r.includes("negative")&&e<=2)))))))}))}console.log("[PromotedReviews] Reviews exist for selected ratings:",o.length>0,"(".concat(o.length," review(s) found)"));var a=(o=o.slice().sort((function(t,e){var n=t.publisherDate?new Date(t.publisherDate).getTime():null,o=e.publisherDate?new Date(e.publisherDate).getTime():null;return null===n&&null===o?0:null===n?1:null===o?-1:o-n}))).map((function(t){return t.rating})),s=a.length>0?a.reduce((function(t,e){return t+e}),0)/a.length:0;return{location:{averageRating:s,numberofReviews:o.length,outOf:5},reviews:o.map((function(t){var e=(t.comments||[]).map((function(t){t.authorRole;return{isFromOwner:!0,responseUserName:"Owner",responseDate:t.publisherDate||t.responseDate||t.date||"",responseDetail:t.content||t.responseDetail||t.text||""}}));return{rating:t.rating,excerpt:t.content||"",link:t.url||"",siteName:t.publisherId||"Yext",date:t.publisherDate||"",author:t.authorName||"",responses:e}}))}}}]),t}(),s=function(){function t(e,o,i){n(this,t),Object.assign(this,{insertReviewSchema:e,reviewPageUrl:o,widget:i})}return i(t,[{key:"update",value:function(t){var e=t.location;e&&e.numberofReviews>0&&$(this.insertReviewSchema).append(this.schemaTemplate(e))}},{key:"schemaTemplate",value:function(t){var e=t.numberofReviews,n=t.averageRating;return'<div class="ratings-summary-outer">\n              <div class="rating ratings-summary" style="display:inline-grid!important;">
1\n                <span style="position:relative!important;display:flex!important;">\n                  <span class="average-rating" style="height:16px!important;padding:0!important;margin:0!important;background-position:left bottom!important;top:0!important;left:0!important;"></span>\n                  <span class="gold-stars" style="width:'.concat(Math.round(16*n),'px;height:16px!important;padding:0!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;background-position:left top!important;"></span>\n                </span>\n                <a href="').concat(this.reviewPageUrl,'" class="total-reviews"><span style="padding:0!important;margin:0!important;">(').concat(e," reviews)</span></a>\n              </div>\n            </div>")}}]),t}(),c=function(){function t(e,o,i){n(this,t),Object.assign(this,{brandedName:e,widget:o,DIRECT_REVIEW:"REVIEWBUILDER",responseAuthor:i})}return i(t,[{key:"update",value:function(t,e){var n=t.reviews,o=t.location;if(n.length){var i=this.chatmeterTemplate,r=this.widget.find(".promoted-reviews-content");r.empty();for(var a=0;a<n.length;a++){var s=n[a];s.excerpt=this.artificallyShortenExcerpt(s),r.append(i.call(this,o,s))}n.length>25&&this.widget.find(".promoted-reviews-content").css({"max-height":"3500px","overflow-y":"scroll"}),this.readMoreListener()}}},{key:"chatmeterTemplate",value:function(t,e){var n=t.outOf,o=e.excerpt,i=e.author,r=e.siteName,a=e.date,s=e.rating;return'<div class="review chatmeter-review">\n              <div class="location-name notranslate">'.concat(this.brandedName,'</div>\n              <div class="author">\n                <span class="notranslate">').concat(i,"</span>\n                <span>\n                  ").concat(this.determineProvider(r),'\n                </span>\n              </div>\n              <div class="rating chatmeter">\n                <meta content="1"><span>').concat(s,"</span> / <span>").concat(n,'</span> stars\n                <span class="gold-stars" style="width:').concat(Math.round(16*s),'px;"></span>\n              </div>\n              <span class="moment-date">').concat(dayjs(a).fromNow(),'</span>\n              <div class="review-body">').concat(o,"</div>\n            </div>")}},{key:"classifyReputationSiteName",value:function(t){return t.toLowerCase().replace(/[^0-9a-z]/i,"")}},{key:"determineProvider",value:function(t){var e=t.toUpperCase();return"G5DIRECT"==e||"REVIEWBUILDER"==e?"":"via "+e}},{key:"buildShortenExcerptHTML",value:function(t,e){var n=t.slice(0,e).split(" "),o=n.pop();n=n.join(" ");var i=o+t.slice(e);return"\n        ".concat(n,'<span class="ellipsis">...</span>\n        <span class="rest" style="display:none">').concat(i,"</span>\n      ")}},{key:"artificallyShortenExcerpt",value:function(t){var e=t.excerpt,n=t.responses,o=void 0===n?[]:n;if(e.length<350&&!o.length)return e;var i=e,r="";return e.length>350&&(i=this.buildShortenExcerptHTML(e,350)),o.length&&(r=this.buildResponsesHTML(o,this.responseAuthor)),"\n        ".concat(i,"\n        ").concat(r?'<div class="review-responses" style="display:none">'.concat(r,"</div>"):"",'\n        <div class="review-link-container">\n          <span class="review-link read-more" role="button" tabindex="0" aria-pressed="false">Read More</span>\n        </div>\n        ')}},{key:"buildResponsesHTML",value:function(t,e){var n=e||"Owner";return t.reduce((function(t,e){return t+'\n        <div class="response">\n          <p class="response-author">Response From '.concat(e.isFromOwner?n:e.responseUserName,'</p>\n          <span class="response-date">').concat(dayjs(e.responseDate).fromNow(),'</span>\n          <p class="response-text">').concat(e.responseDetail,"</p>\n        </div>")}),"")}},{key:"readMoreListener",value:function(){this.widget.on("click keydown",".read-more",(function(t){if(!(t.originalEvent instanceof KeyboardEvent&&"Enter"!==t.key&&" "!==t.key)){t.preventDefault();var e=$(this).closest(".review");"Read More"===$(this).text()?(e.find(".ellipsis").hide(),e.find(".rest").show(),e.find(".review-responses").show(),$(this).attr("aria-pressed","true"),$(this).text("Show Less")):(e.f
1ind(".ellipsis").show(),e.find(".rest").hide(),e.find(".review-responses").hide(),$(this).attr("aria-pressed","false"),$(this).text("Read More"))}}))}}]),t}();G5.loadWidgetConfigs(".promoted-reviews .config",r)}},e={};function n(o){var i=e[o];if(void 0!==i)return i.exports;var r=e[o]={id:o,loaded:!1,exports:{}};return t[o](r,r.exports,n),r.loaded=!0,r.exports}n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},n(325),n(535),n(557),n(536),n(258),n(71),n(799),n(391),n(660),n(858),n(800),n(168),n(969),n(641),n(327),n(617),n(930),n(75),n(389);n(179)}();

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.