PageSourceSearch

https://www.seniorliving.org/app/cache/min/1/app/themes/senior-liv…/app.10fb5b737dc7c8088d05.js?ver=1789756409

js seniorliving.org collected 2026-10-01 11:42:54 UTC 12,376 bytes, 1 lines download raw bytes

1!function(){var e=[function(){document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelector(".similar-products"),t=document.querySelector(".anchor-link-content"),n=document.querySelector(".page-hero"),o=document.querySelector(".page-meta"),i=document.querySelector(".product-review-nav-container"),a=document.querySelector(".product-review-header"),s=document.querySelector("body");function r(e,t){t.parentNode.insertBefore(e,t.nextSibling)}null!=e&&e.classList.contains("is-top")&&null!=n&&(s.classList.contains("page-template-review-template-2022")||s.classList.contains("post-template-review-template-2022")||s.classList.contains("page-template-brand-template-2023")||s.classList.contains("post-template-brand-template-2023")?r(e,o):null!=i?document.body.insertBefore(e,i):null!=a?r(e,a):document.body.insertBefore(e,t),document.body.classList.add("similar-top"))}))},function(){setTimeout((function(){[".card"].forEach((e=>{const t=document.querySelectorAll(e);null!=t&&t.forEach((e=>{e.addEventListener("click",(e=>(e=>{const t=e.currentTarget.querySelector("a").getAttribute("href");window.location.href=t})(e)))}))}))}),500)}],t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var a=t[o]={exports:{}};return e[o](a,a.exports,n),a.exports}!function(){"use strict";function e(e){const t=document.getElementById("pagetype"),n={event:"on_page_link_click",elementPlacement:"hero",elementClicked:"text to speech button",pageType:t?t.value:"generic",pageUrl:window.location.href,position:"single",linkText:e};window.dataLayer.push(n),console.log(n)}function t(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}n(1),n(0);var i,a,s,r,l,c=(i=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],a=function(){function e(n){var o=n.targetModal,i=n.triggers,a=void 0===i?[]:i,s=n.onShow,r=void 0===s?function(){}:s,l=n.onClose,c=void 0===l?function(){}:l,d=n.openTrigger,u=void 0===d?"data-micromodal-trigger":d,h=n.closeTrigger,m=void 0===h?"data-micromodal-close":h,f=n.openClass,g=void 0===f?"is-open":f,v=n.disableScroll,p=void 0!==v&&v,y=n.disableFocus,b=void 0!==y&&y,w=n.awaitCloseAnimation,L=void 0!==w&&w,k=n.awaitOpenAnimation,E=void 0!==k&&k,S=n.debugMode,C=void 0!==S&&S;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modal=document.getElementById(o),this.config={debugMode:C,disableScroll:p,openTrigger:u,closeTrigger:m,openClass:g,onShow:r,onClose:c,awaitCloseAnimation:L,awaitOpenAnimation:E,disableFocus:b},a.length>0&&this.registerTriggers.apply(this,t(a)),this.onClick=this.onClick.bind(this),this.onKeydown=this.onKeydown.bind(this)}var n;return(n=[{key:"registerTriggers",value:function(){for(var e=this,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];n.filter(Boolean).forEach((function(t){t.addEventListener("click",(function(t){return e.showModal(t)}))}))}},{key:"showModal",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.activeElement=document.activeElement,this.modal.setAttribute("aria-hidden","false"),this.modal.classList.add(this.config.openClass),this.scrollBehaviour("disable"),this.addEventListeners(),this.config.awaitOpenAnimation?this.modal.addEventListener("animationend",(function t(){e.modal.removeEventListener("animationend",t,!1),e.setFocusToFirstNode()}),!1):this.setFocusToFirstNode(),this.config.onShow(this.modal,this.activeElement,t)}},{key:"closeModal",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.modal;if(this.modal.setAttribute("aria-hidden","true"),this.removeEventListeners(),this.scrollBehaviour("enable"),this.activeElement&&this.activeElement.focus&&this.activeElement.focus(),this.config.onClose(this.modal,this.activeElement,e),this.config.awaitCloseAnimation){var n=this.config.openClass;this.modal.addEventListener("animationend",(function e(){t.classList.remove(n),t.removeEventListener("animationend",e,!1)}),!1)}else t.classList.remove(this.config.openClass)}},{key:"closeModalById",value:function(e){this.modal=document.getElementById(e),this.modal&&this.closeModal()}},{key:"scrollBehaviour",value:function(e){if(this.config.disableScroll){var t=document.querySelector("body");switch(e){case"enable":Object.assign(t.style,{overflow:""});break;case"disable":Object.assign(t.style,{overflow:"hidden"})}}}},{key:"addEventListeners",value:function(){this.modal.addEventListener("touchstart",this.onClick),this.modal.addEventListener("click",this.onClick),document.addEventListener("keydown",this.onKeydown)}},{key:"removeEventListeners",value:function(){this.modal.removeEventListener("touchstart",this.onClick),this.modal.removeEventListener("click",this.onClick),document.removeEventListener("keydown",this.onKeydown)}},{key:"onClick",value:function(e){(e.target.hasAttribute(this.config.closeTrigger)||e.target.parentNode.hasAttribute(this.config.closeTrigger))&&(e.preventDefault(),e.stopPropagation(),this.closeModal(e))}}
vendor: 2,591 bytes, line 1
1,{key:"onKeydown",value:function(e){27===e.keyCode&&this.closeModal(e),9===e.keyCode&&this.retainFocus(e)}},{key:"getFocusableNodes",value:function(){var e=this.modal.querySelectorAll(i);return Array.apply(void 0,t(e))}},{key:"setFocusToFirstNode",value:function(){var e=this;if(!this.config.disableFocus){var t=this.getFocusableNodes();if(0!==t.length){var n=t.filter((function(t){return!t.hasAttribute(e.config.closeTrigger)}));n.length>0&&n[0].focus(),0===n.length&&t[0].focus()}}}},{key:"retainFocus",value:function(e){var t=this.getFocusableNodes();if(0!==t.length)if(t=t.filter((function(e){return null!==e.offsetParent})),this.modal.contains(document.activeElement)){var n=t.indexOf(document.activeElement);e.shiftKey&&0===n&&(t[t.length-1].focus(),e.preventDefault()),!e.shiftKey&&t.length>0&&n===t.length-1&&(t[0].focus(),e.preventDefault())}else t[0].focus()}}])&&function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(e.prototype,n),e}(),s=null,r=function(e){if(!document.getElementById(e))return console.warn("MicroModal: ❗Seems like you have missed %c'".concat(e,"'"),"background-color: #f8f9fa;color: #50596c;font-weight: bold;","ID somewhere in your code. Refer example below to resolve it."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<div class="modal" id="'.concat(e,'"></div>')),!1},l=function(e,t){if(function(e){e.length<=0&&(console.warn("MicroModal: ❗Please specify at least one %c'micromodal-trigger'","background-color: #f8f9fa;color: #50596c;font-weight: bold;","data attribute."),console.warn("%cExample:","background-color: #f8f9fa;color: #50596c;font-weight: bold;",'<a href="#" data-micromodal-trigger="my-modal"></a>'))}(e),!t)return!0;for(var n in t)r(n);return!0},{init:function(e){var n=Object.assign({},{openTrigger:"data-micromodal-trigger"},e),o=t(document.querySelectorAll("[".concat(n.openTrigger,"]"))),i=function(e,t){var n=[];return e.forEach((function(e){var o=e.attributes[t].value;void 0===n[o]&&(n[o]=[]),n[o].push(e)})),n}(o,n.openTrigger);if(!0!==n.debugMode||!1!==l(o,i))for(var r in i){var c=i[r];n.targetModal=r,n.triggers=t(c),s=new a(n)}},show:function(e,t){var n=t||{};n.targetModal=e,!0===n.debugMode&&!1===r(e)||(s&&s.removeEventListeners(),(s=new a(n)).showModal())},close:function(e){e?s.closeModalById(e):s.closeModal()}});"undefined"!=typeof window&&(window.MicroModal=c);var d=c;function u(e,t){const n=t.querySelector(".modal-youtube-video .rll-youtube-player iframe");
1n&&n.contentWindow&&n.contentWindow.postMessage(`{"event":"command", "func":"${e}", "args":""}`,"*")}const h=["scroll","click","keydown","mousemove","touchstart"];!function(t){const n=()=>{(()=>{function e(){let e=document.createElement("style");const t=":root { --scrollbar-width: "+(window.innerWidth-document.documentElement.clientWidth)+"px !important; }";e.appendChild(document.createTextNode(t)),e.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(e)}"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",(function(){e()}))})(),function(){let t="";const n=document.querySelectorAll(".text-to-speech"),o=document.querySelectorAll("#text-to-speech");if("speechSynthesis"in window&&!0!==/Android/i.test(navigator.userAgent)){const i=window.speechSynthesis;if(null!=n)for(let e=0;e<n.length;e++)t+=" "+n[e].innerText+".";i.cancel();const a=new SpeechSynthesisUtterance(t);if(a.rate=.85,a.volume=1,a.pitch=1,null!=o)for(let t=0;t<o.length;t++)o[t].classList.add("show"),o[t].addEventListener("click",(function(){const t=this.querySelector("span");t.textContent="Listen Android",this.classList.contains("active")||this.classList.contains("running")?this.classList.contains("active")&&!this.classList.contains("running")?(this.classList.add("running"),this.classList.remove("active"),t.textContent="Pause",i.resume(),e("resume")):(t.textContent="Resume Play",this.classList.remove("running"),this.classList.add("active"),i.pause(),e("pause")):(this.classList.add("running"),t.textContent="Pause",i.speak(a),a.onerror=e=>{console.error(`An error has occurred with the speech synthesis: ${e.error}`)},a.onend=()=>{this.classList.remove("active","running"),t.textContent="Listen to Article",i.cancel(),e("end")},e("start"))}))}else{for(let e=0;e<o.length;e++)o[e].style.display="none";console.log("no support")}}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;console.log("MicroModal inside component."),d.init({disableFocus:!0,onShow:function(e,t){document.body.classList.add("no-scroll");let n=e.querySelector(".modal-youtube-video .rll-youtube-player");const o=e.querySelector(".modal-youtube-video .rll-youtube-player iframe");o&&o.contentWindow?u("playVideo",e):null==n||t.classList.contains("feedback-button")||(n=n.querySelector("button.play"),n.addEventListener("click",(t=>{t.preventDefault(),t.stopPropagation(),setTimeout((function(){u("playVideo",e)}),500)})),n.click())},onClose:function(t,n,o){o.preventDefault(),o.stopPropagation(),u("pauseVideo",t),document.body.classList.remove("no-scroll"),null!==e&&e();const i={event:"on_page_link_click",elementPlacement:"modal",elementClicked:"close-button",pageType:window.sl_pagetype,pageUrl:window.location.href,position:"single",direction:"close"};window.dataLayer.push(i),console.log(i)}})}(),function(){const e=document.getElementsByClassName("collapsable");let t;if(e)for(t=0;t<e.length;t++)e[t].addEventListener("click",(function(){this.classList.toggle("active");var e=this.nextElementSibling;e.style.maxHeight?e.style.maxHeight=null:e.style.maxHeight=e.scrollHeight+"px";let t={event:"on_page_link_click",elementPlacement:"content-accordion",elementClicked:this.classList.contains("active")?"open":"close",elementName:this.firstElementChild.textContent,pageType:window.sl_pagetype,pageUrl:window.location.href};window.dataLayer.push(t),console.log(t)}))}(),function(){const e=document.querySelector(".medicare-sticky-promo-container");if(e){const t=e.querySelector(".medicare-sticky-promo-close");t&&t.addEventListener("click",(()=>{e.remove()}))}}(),h.forEach((e=>{window.removeEventListener(e,n)})),navigator.userAgent.indexOf("iPhone")>-1&&document.querySelector("[name=viewport]").setAttribute("content","width=device-width, initial-scale=1, maximum-scale=1")};h.forEach((e=>{window.addEventListener(e,n)}))}()}()}()

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.