https://www.umw.edu/news/wp-content/plugins/umw-custom-blocks/bloc…/view.js?ver=e201e9b91fb357fb3b35
1(()=>{var t={6567:(t,e,a)=>{a(9067)},9067:()=>{(()=>{"use strict";var t,e,a,i,r,o={115(t,e,a){a.a(t,async(t,e)=>{try{var i=a(297);const t=async()=>{const t=new Event("NewsCardLoaded");let e=null;return void 0===customElements.get("news-card")&&customElements.define("news-card",i.A),e=await customElements.whenDefined("news-card"),document.dispatchEvent(t),e};await t(),e()}catch(t){e(t)}},1)},297(t,e,a){a.d(e,{A:()=>r});var i=a(126);const r=class t extends HTMLElement{constructor(){super(),this.classes=["umw-news-card"],this.__getTemplate();const t=new CSSStyleSheet;t.replaceSync(i.A),this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(this.template.content.cloneNode(!0)),this.shadowRoot.adoptedStyleSheets=[t]}static log(t){}__getTemplate(){this.template=document.createElement("template"),this.template.innerHTML='<a href="#" class="link"> <slot></slot> <figure class="article"> <picture class="image"> <img decoding="async" alt="" loading="lazy"/> </picture> <figcaption class="content"> <div class="eyebrow"></div> <h3 class="title"></h3> </figcaption> </figure> </a>'}connectedCallback(){this.classList.contains("featured")?this.featuredConnectedCallback():this.standardConnectedCallback()}static get observedAttributes(){return["data-title","data-alt","data-picture","data-date","data-link"]}attributeChangedCallback(t,e,a){switch(t){case"data-title":this.updateTitle(e,a);break;case"data-picture":this.updatePicture(e,a);break;case"data-date":this.updateDate(e,a);break;case"data-link":this.updateLink(e,a);break;case"data-alt":this.updateAlt(e,a)}}updateTitle(e,a){t.log("Preparing to update title from "+e+" to "+a),this.link=this.shadowRoot.querySelector("a"),this.link.querySelector(".content").querySelector(".title").innerHTML=a}updatePicture(e,a){t.log("Preparing to update photo source from "+e+" to "+a),this.link=this.shadowRoot.querySelector("a"),this.link.querySelector("img").src=a}updateAlt(e,a){t.log("Preparing to update alt text from "+e+" to "+a),this.link=this.shadowRoot.querySelector("a"),this.link.querySelector("img").alt=a}updateDate(e,a){t.log("Preparing to update post date from "+e+" to "+a),this.link=this.shadowRoot.querySelector("a"),this.link.querySelector(".content").querySelector(".eyebrow").innerText=a}updateLink(e,a){t.log("Preparing to update link from "+e+" to "+a),this.link=this.shadowRoot.querySelector("a"),this.link.href=a}featuredConnectedCallback(){this.shadowRoot.querySelector("a").classList.add("featured"),this.standardConnectedCallback()}standardConnectedCallback(){const e=this.shadowRoot.querySelectorAll("slot")[0].assignedNodes();if(this.getAttributesFromElements(e),this.newsCard=this.closestElement("news-card"),this.link=this.shadowRoot.querySelector("a"),this.__handleClasses(),"link"in this.dataset)this.link.href=this.dataset.link,t.log("Generating link from attribute");else if("url"in this.elements){t.log("Generating link from element");const e=this.elements.url;this.link.href=e.innerText,this.newsCard.removeChild(this.newsCard.querySelector("url"))}const a=this.link.querySelector("img");if("picture"in this.dataset||"alt"in this.dataset)t.log("Generating img from attribute"),"picture"in this.dataset&&(a.src=this.dataset.picture),"alt"in this.dataset&&(a.alt=this.dataset.alt);else if("picture"in this.elements){t.log("Generating img from element");const e=this.elements.picture;void 0!==e&&(a.src=e.innerText,e.hasAttribute("alt")&&(a.alt=e.getAttribute("alt"))),this.newsCard.removeChild(this.newsCard.querySelector("picture"))}const i=this.link.querySelector(".content");if("title"in this.dataset)t.log("Generating title from attribute"),i.querySelector(".title").innerHTML=this.dataset.title;else if("title"in this.elements){t.log("Generating title from element");const e=this.elements.title;i.querySelector(".title").innerHTML=e.innerHTML,this.newsCard.removeChild(this.newsCard.querySelector("title"))}if("date"in this.dataset)t.log("Generating eyebrow from attribute"),i.querySelector(".eyebrow").innerHTML=this.dataset.date;else if("date"in this.elements){t.log("Generating eyebrow from element");const e=this.elements.date;i.querySelector(".eyebrow").innerHTML=e.innerHTML,this.newsCard.removeChild(this.newsCard.querySelector("date"))}"text"in this.dataset?i.querySelector(".eyebrow").setAttribute("data-text",this.dataset.text):i.querySelector(".eyebrow").setAttribute("data-text","Featured"),this.link.removeChild(this.shadowRoot.querySelector("slot"))}getAttributesFromElements(t){this.elements={},t.forEach(t=>{switch(t.tagName){case"TITLE":this.elements.title=t;break;case"DATE":this.elements.date=t;break;case"PICTURE":this.elements.picture=t;break;case"URL":this.elements.url=t}})}
1__handleClasses(){this.classes.forEach(t=>{this.link.classList.add(t+"__link"),this.link.querySelectorAll(".article").forEach(e=>{e.classList.add(t+"__article"),e.querySelectorAll(".image").forEach(e=>{e.classList.add(t+"__article-image")})}),this.link.querySelectorAll(".content").forEach(e=>{e.classList.add(t+"__content"),e.querySelectorAll(".eyebrow").forEach(e=>{e.classList.add(t+"__content-eyebrow")}),e.querySelectorAll(".title").forEach(e=>{e.classList.add(t+"__content-title")})})})}closestElement(t,e=this,a=(e,i=e&&e.closest(t))=>e&&e!==document&&e!==window?i||a(e.getRootNode().host):null){return a(e)}}},126(t,e,a){a.d(e,{A:()=>s});var i=a(601),r=a.n(i),o=a(314),n=a.n(o)()(r());n.push([t.id,':root{--news-card-heading-font: var(--heading-font,"Times New Roman", Times, serif);--news-card-body-font: var(--body-font,Arial,Helvetica,sans-serif);--news-card-aspect-ratio: var(--feature-aspect-ratio,10 / 5.8)}news-card{height:100%;display:block;margin:0;padding:0}:host :root{--news-card-heading-font: var(--heading-font,"Times New Roman", Times, serif);--news-card-body-font: var(--body-font,Arial,Helvetica,sans-serif);--news-card-aspect-ratio: var(--feature-aspect-ratio,10 / 5.8)}:host .link{display:block;height:100%;margin:0 0 calc(2*2rem);border-bottom:1px solid #cce9ff;font-weight:normal;text-decoration:none;overflow:hidden;font-family:var(--news-card-body-font);transition:all .4s ease}:host .link .article{width:100%;max-width:100%;height:100%;padding:0;position:relative;background:#f5f6f7;margin:0;transition:all .4s ease;display:grid;grid-template-rows:minmax(0, max-content) auto;justify-items:stretch;align-items:stretch;align-content:stretch;justify-content:stretch}:host .link .article img{aspect-ratio:var(--news-card-aspect-ratio);display:block;height:auto;width:100%;max-width:100%;object-fit:cover;object-position:center}:host .link .article .title{font-family:var(--news-card-heading-font);color:#002d61;font-size:1.25rem;line-height:1.2}@media(min-width: 1094px){:host .link .article .title{font-size:1.75rem}}:host .link .article .eyebrow{font-size:.625rem;line-height:180%;color:#0067a2;text-transform:uppercase;font-weight:700;letter-spacing:.3em;margin-bottom:1rem}@media(min-width: 1094px){:host .link .article .eyebrow{font-size:.9375rem}}:host .link .article .content{position:relative;padding:2rem 2rem 0;margin:0;transition:all .4s ease}:host .link .article .content:before{content:"";display:block;height:3px;margin:0;padding:0;width:3rem;background:#0067a2;bottom:2rem;left:0;margin-left:2rem;position:absolute;transition:all .4s ease}:host .link .article .content:after{position:absolute;content:"";display:inline-block;border:solid #0067a2;border-width:0 3px 3px 0;padding:3px;left:0;margin-left:calc(2rem + 2.5rem + 1px);bottom:calc(2rem - 3px);transform:rotate(-45deg);transition:all .4s ease}:host .link:hover,:host .link:focus,:host .link:active{border-bottom-color:#0067a2}@media all and (min-width: 1094px){:host .link:hover,:host .link:focus,:host .link:active{margin:0 0 calc(2*2rem - 10px)}}@media all and (min-width: 1094px){:host .link:hover .article,:host .link:focus .article,:host .link:active .article{transform:translateY(-10px);margin-bottom:-2rem;padding-bottom:10px;background:#f7bf0a}}@media all and (min-width: 1094px){:host .link:hover .article .content,:host .link:focus .article .content,:host .link:active .article .content{padding-bottom:2rem;margin-bottom:calc(0 - 2rem)}}:host .link:hover .article .content:before,:host .link:focus .article .content:before,:host .link:active .article .content:before{width:5rem;margin-left:2rem}:host .link:hover .article .content:after,:host .link:focus .article .content:after,:host .link:active .article .content:after{margin-left:calc(2rem + 4.5rem)}:host .link.featured{padding:0;margin:20px 0 0;transition:all .4s ease;border:none;overflow:initial}@media all and (min-width: 1094px){:host .link.featured{margin-bottom:4rem}}:host .link.featured .article{transition:all .4s ease;background:rgba(0,0,0,0);display:grid}@media all and (min-width: 1094px){:host .link.featured .article{grid-template-columns:54% auto;grid-template-rows:minmax(0, max-content);gap:calc(2rem*1.5)}}:host .link.featured .article{border-bottom:1px solid #cce9ff}:host .link.featured .article .image{display:block;padding-top:60%;position:relative}:host .link.featured .article .image:before{background-color:#f7bf0a;content:"";left:0;right:0;top:0;bottom:0;position:absolute}:host .link.featured .article .image img{aspect-ratio:initial;bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%;transition:all .4s ease}:host .link.featured .content{padding:2rem calc(2rem/2) 2rem 0;margin-bottom:0;transition:all .4s ease;position:relative}:host .link.featured .content .eyebrow{font-size:.625rem;line-height:180%}@media(min-width: 1094px){:host .link.featured .content .eyebrow{font-size:.9375rem}}:host .link.featured .content .eyebrow:before{content:attr(data-text);padding:.25rem 1rem;background:#d1422a;color:#fff;display:block;width:auto;max-width:max-content;border-radius:20px;font-size:.9375rem;font-weight:600;line-height:24px;margin-bottom:18px;text-transform:none;letter-spacing:initial}:host .link.featured .content .title{font-size:1.25rem;line-height:1.2}@media(min-width: 1094px){:host .link.featured .content .title{font-size:3rem;line-height:1.2}}@media all and (min-width: 1094px){:host .link.featured:hover,:host .link.featured:focus,:host .link.featured:active{padding:0;margin:0 0 4rem;border:none}}@media all and (min-width: 1094px){:host .link.featured:hover .article,:host .link.featured:focus .article,:host .link.featured:active .article{padding-bottom:0;margin-bottom:0;border-bottom-color:#0067a2}}@media all and (min-width: 1094px){:host .link.featured:hover .article .content,:host .link.featured:focus .article .content,:host .link.featured:active .article .content{padding:2rem calc(2rem/2) 2rem 0;margin-bottom:0}}:host .link.featured:hover .article .content:before,:host .link.featured:focus .article .content:before,:host .link.featured:active .article .content:before{margin-left:2rem}:host .link.featured:hover .article .content:after,:host .link.featured:focus .article .content:after,:host .link.featured:active .article .content:after{margin-left:calc(2rem*3 + 9px)}@media all and (min-width: 1094px){:host .link.featured:hover .image img,:host .link.featured:focus .image img,:host .link.featured:active .image img{transform:translateX 10px translateY(-10px)}
1:host .link.featured:hover .content,:host .link.featured:focus .content,:host .link.featured:active .content{transform:translateX(-10px) translateY(-10px)}}',""]);const s=n},314(t){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a="",i=void 0!==e[5];return e[4]&&(a+="@supports (".concat(e[4],") {")),e[2]&&(a+="@media ".concat(e[2]," {")),i&&(a+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),a+=t(e),i&&(a+="}"),e[2]&&(a+="}"),e[4]&&(a+="}"),a}).join("")},e.i=function(t,a,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var n={};if(i)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(n[l]=!0)}for(var c=0;c<t.length;c++){var d=[].concat(t[c]);i&&n[d[0]]||(void 0!==o&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),a&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=a):d[2]=a),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),e.push(d))}},e}},601(t){t.exports=function(t){return t[1]}}},n={};function s(t){var e=n[t];if(void 0!==e)return e.exports;var a=n[t]={id:t,exports:{}};return o[t](a,a.exports,s),a.exports}t="function"==typeof Symbol,e=t?Symbol("webpack queues"):"__webpack_queues__",a=t?Symbol("webpack exports"):"__webpack_exports__",i=t?Symbol("webpack error"):"__webpack_error__",r=t=>{t&&t.d<1&&(t.d=1,t.forEach(t=>t.r--),t.forEach(t=>t.r--?t.r++:t()))},s.a=(t,o,n)=>{var s;n&&((s=[]).d=-1);var l,c,d,h=new Set,m=t.exports,u=new Promise((t,e)=>{d=e,c=t});u[a]=m,u[e]=t=>(s&&t(s),h.forEach(t),u.catch(t=>{})),t.exports=u,o(t=>{var o;l=(t=>t.map(t=>{if(null!==t&&"object"==typeof t){if(t[e])return t;if(t.then){var o=[];o.d=0,t.then(t=>{n[a]=t,r(o)},t=>{n[i]=t,r(o)});var n={};return n[e]=t=>t(o),n}}var s={};return s[e]=t=>{},s[a]=t,s}))(t);var n=()=>l.map(t=>{if(t[i])throw t[i];return t[a]}),c=new Promise(t=>{(o=()=>t(n)).r=0;var a=t=>t!==s&&!h.has(t)&&(h.add(t),t&&!t.d&&(o.r++,t.push(o)));l.map(t=>t[e](a))});return o.r?c:n()},t=>(t?d(u[i]=t):c(m),r(s))),s&&s.d<0&&(s.d=0)},s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var a in e)s.o(e,a)&&!s.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:e[a]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s(115)})()}},e={};function a(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={exports:{}};return t[i](o,o.exports,a),o.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},a.d=(t,e)=>{for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";a(6567)})()})();
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.