import{m as t,a as e,b as r,c as n,d as a}from"./vendor-DZ5e5eAs.js";import{g as o}from"./cookies-Btke1V1y.js";const i=36e5,c=24*i,s=7*c,l=30*c,d=365*c,u=()=>"undefined"!=typeof window&&window.ffte&&window.ffte.lang?window.ffte.lang:"en-US",p=(t,e=null,r=new Date)=>t>new Date(r).setDate(r.getDate()-3)&&t{const n=r?{timeStyle:"short"}:{};return new Intl.DateTimeFormat(e||u(),{dateStyle:"long",...n}).format(t)},f=(t,e=null,r=Date.now())=>{const n=r-t,a=new Intl.RelativeTimeFormat(e||u(),{numeric:"auto"});return n<6e4?a.format(-Math.round(n/1e3),"second"):n{Array.prototype.forEach.call(t,(function(t){t.innerHTML=e(new Date(t.getAttribute("datetime")))}))},h=Object.freeze(Object.defineProperty({__proto__:null,formatAbsoluteDate:m,formatDate:p,formatRelativeDate:f,updateRelativeDates:()=>{w(document.querySelectorAll("time.relative-date"),(t=>p(t))),w(document.querySelectorAll("time.live-feed-date"),(t=>m(t,null,!0)))}},Symbol.toStringTag,{value:"Module"})),x=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript"],y=Object.freeze(Object.defineProperty({__proto__:null,loadLazyIframes:function(t){t.querySelectorAll("iframe[data-lazy-src]").forEach((t=>{!t.src&&t.dataset&&t.dataset.lazySrc&&(t.src=t.dataset.lazySrc)}))},runScripts:function(t){t.querySelectorAll("script").forEach((function(t){const e=t.getAttribute("type");e&&!x.includes(e)||function(t){const e=document.createElement("script");e.type="text/javascript",t.src?e.src=t.src:e.textContent=t.innerText,document.head.appendChild(e),t.parentNode.removeChild(t)}(t)}))}},Symbol.toStringTag,{value:"Module"})),g={xs:"575px",sm:"700px",md:"900px",lg:"1000px",xl:"1280px","2xl":"1574px"},v=t=>parseInt(g[t].slice(0,g[t].indexOf("px"))),j=Object.freeze(Object.defineProperty({__proto__:null,getActiveBreakpoints:()=>{const t=[];for(const e of Object.keys(g)){const r=v(e);window.innerWidth>=r&&t.push(e)}return t},getBreakpointValue:v,getCurrentBreakpoint:()=>{let t,e=0;for(const r of Object.keys(g)){const n=v(r);n>e&&window.innerWidth>=n&&(e=n,t=r)}return t},getScreenWidth:()=>window.document.documentElement.clientWidth||window.document.body.clientWidth||window.innerWidth,screenIsLargerThan:t=>{const e=v(t);return window.innerWidth>=e},screenIsSmallerThan:t=>{const e=v(t);return window.innerWidtht.isIntersecting;t.plugin(e),t.plugin(r),t.plugin(n),t.plugin(a),window.Alpine=t,window.utils={screenSizes:j,getCookieValue:o,scripts:y,dates:h},(t=>{const e=(r=b,t=>{const e=t.getAttribute(r);return e&&t.setAttribute("src",e),t});var r;const n=new IntersectionObserver(((t,r)=>t.filter(S).map((t=>t.target)).map(e).forEach((t=>r.unobserve(t)))),{threshold:.1});document.querySelectorAll(`iframe[${b}]`).forEach((t=>n.observe(t)))})();