function replaceDashes(){document.querySelectorAll("p.framer-text").forEach(e=>{const t=e.textContent.trim();if("---"===t||"—-"===t||"___"===t){const t=document.createElement("hr");e.replaceWith(t)}})}!function(){function e(e=document){e.querySelectorAll('[data-framer-component-type="RichTextContainer"]').forEach(e=>{if(e.dataset.calloutsProcessed)return;e.dataset.calloutsProcessed="true";const t=Array.from(e.children);let r=!1,o=[],n="";t.forEach(e=>{const t=e.textContent.trim(),a=t.match(/^\{\{start callout(?:\s+(.+))?\}\}$/);if(a){if(r=!0,n="callout",a[1]){a[1].trim().split(/\s+/).forEach(e=>{n+=` callout-${e}`})}e.remove()}else if("{{end callout}}"===t){if(o.length>0){const e=document.createElement("div");e.className=n||"callout",o[0].before(e),o.forEach(t=>e.appendChild(t))}e.remove(),r=!1,o=[],n=""}else r&&o.push(e)})})}setTimeout(()=>e(),100);new MutationObserver(()=>e()).observe(document.body,{childList:!0,subtree:!0})}(),function(){function e(e=document){e.querySelectorAll('[data-framer-component-type="RichTextContainer"] img').forEach(e=>{const t=(e.getAttribute("alt")||"").trim();if(!t)return;const r=e.nextElementSibling;if(r&&r.classList&&r.classList.contains("img-caption"))return;const o=document.createElement("span");o.className="img-caption",o.textContent=t.replace(/^(WIDE|FULL)\s*/,""),e.insertAdjacentElement("afterend",o)})}function t(e=document){e.querySelectorAll("blockquote.framer-text").forEach(e=>{if(e.classList.contains("has-image")||e.querySelector(".text-content"))return;const t=e.querySelector("img:first-child");if(!t)return;e.classList.add("has-image");const r=[];let o=t.nextElementSibling;for(;o;)r.push(o),o=o.nextElementSibling;if(0===r.length)return;const n=document.createElement("div");n.className="text-content",r.forEach(e=>n.appendChild(e)),t.insertAdjacentElement("afterend",n)})}setTimeout(()=>{e(),t()},100);new MutationObserver(r=>{for(const o of r)"childList"===o.type&&o.addedNodes.forEach(r=>{1===r.nodeType&&(r.matches?.('[data-framer-component-type="RichTextContainer"]')||r.querySelector?.('[data-framer-component-type="RichTextContainer"]'))&&(e(r),t(r))})}).observe(document.body,{childList:!0,subtree:!0})}(),setTimeout(()=>replaceDashes(),100);const observer=new MutationObserver(replaceDashes);function convertFootnotesToSuperscript(){document.querySelectorAll('[data-framer-component-type="RichTextContainer"]').forEach(e=>{e.querySelectorAll("p, li, td, th, blockquote, h1, h2, h3, h4, h5, h6").forEach(e=>{if(e.dataset.footnotesProcessed)return;const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null,!1),r=[];let o;for(;o=t.nextNode();)"SUP"!==o.parentElement.tagName&&r.push(o);r.forEach(e=>{const t=e.textContent,r=/\^(\d+)/g;if(r.test(t)){const o=document.createDocumentFragment();let n,a=0;for(r.lastIndex=0;null!==(n=r.exec(t));){n.index>a&&o.appendChild(document.createTextNode(t.substring(a,n.index)));const e=document.createElement("sup");e.textContent=n[1],e.setAttribute("aria-label",`Footnote ${n[1]}`),e.setAttribute("title",`Footnote reference ${n[1]}`),o.appendChild(e),a=n.index+n[0].length}a{if(e.dataset.headersProcessed)return;e.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(e=>{if(e.dataset.anchorProcessed)return;if(e.querySelector("a"))return;const t=e.textContent.trim(),r=generateSlug(t);if(!r)return;e.id=r;const o=e.querySelector("a.framer-text");if(o)o.href=`#${r}`,o.setAttribute("aria-label",`Link to section: ${t}`),o.setAttribute("title",`Share this section: ${t}`);else{const o=document.createElement("a");for(o.href=`#${r}`,o.className="framer-text",o.setAttribute("aria-label",`Link to section: ${t}`),o.setAttribute("title",`Share this section: ${t}`);e.firstChild;)o.appendChild(e.firstChild);e.appendChild(o)}e.dataset.anchorProcessed="true"}),e.dataset.headersProcessed="true"})}observer.observe(document.body,{childList:!0,subtree:!0}),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",convertFootnotesToSuperscript):convertFootnotesToSuperscript(),setTimeout(convertFootnotesToSuperscript,500),setTimeout(convertFootnotesToSuperscript,1e3),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",makeHeadersLinkable):makeHeadersLinkable();const headerObserver=new MutationObserver(e=>{for(const t of e)"childList"===t.type&&t.addedNodes.forEach(e=>{1===e.nodeType&&(e.matches?.('[data-framer-component-type="RichTextContainer"]')||e.querySelector?.('[data-framer-component-type="RichTextContainer"]'))&&makeHeadersLinkable(e)})});headerObserver.observe(document.body,{childList:!0,subtree:!0}),setTimeout(makeHeadersLinkable,100),setTimeout(makeHeadersLinkable,500);