"use strict";(()=>{var te,_,ne;function Se(){te=Intl.DateTimeFormat().resolvedOptions(),_=te.timeZone,ne=te.locale}var re=null;function P(){if(!re){let e=document.currentScript;re={src:(e==null?void 0:e.src)??"https://events.framer.com/",framerSiteId:e?e.getAttribute("data-fid"):null,trackNavigation:!(e!=null&&e.hasAttribute("data-no-nt"))}}return re}function S(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}function ct(){return`${S()}${S()}-${S()}-${S()}-${S()}-${S()}${S()}${S()}`}var f=class{constructor(t,r){this.event=t;this.data=r}serialize(){return{source:"framer.site",timestamp:Date.now(),data:{type:"track",uuid:ct(),event:this.event,...this.data}}}};var Ee=new Set,ie=e=>Ee.forEach(({callback:t,on:r})=>r===e&&t()),b=(e,t="lazy")=>Ee.add({callback:e,on:t});addEventListener("visibilitychange",()=>{document.hidden&&ie("lazy")});addEventListener("pagehide",()=>ie("lazy"));addEventListener("load",()=>ie("load"));var dt="fetchLater"in window,H,q,M;function ut(e,t){!(H!=null&&H.activated)&&q?q.abort():M&&(M.length=0),M??=[],M=M.concat(t),q=new AbortController,H=be(e,M,!1,q.signal)}function be(e,t,r,a){let i=JSON.stringify(t);try{return window.fetchLater(e,{method:"POST",body:i,signal:a,activateAfter:r?0:6e4})}catch{Ce(e,i)}}function Ce(e,t){fetch(e,{method:"POST",body:t})}function lt(e,t){return navigator.sendBeacon(e,t)}function mt(e,t,r){if(!dt)return!1;r?be(e,t,!0):ut(e,t)}function Le(e,t,r=!1){if(!mt(e,t,r)){let a=JSON.stringify(t);lt(e,a)||Ce(e,a)}}var J=new Set;function we(){for(let e of J)e();J.clear()}var D=window.scheduler,ft=D&&"yield"in D,gt=D&&"postTask"in D;function C(e=!1){return new Promise(t=>{if(J.add(t),document.visibilityState==="visible"){requestAnimationFrame(async()=>{let r=()=>{J.delete(t),t()};e?ft?(await D.yield(),r()):gt?D.postTask(r):r():setTimeout(r,1)});return}we()})}b(we,"lazy");var ke=P(),pt=new URL(ke.src),vt=`${pt.origin}/anonymous`;function Pe(e,t=!1){if(!location.protocol.startsWith("http"))return;let r={framerSiteId:ke.framerSiteId,origin:document.location.origin,pathname:document.location.pathname,search:document.location.search,visitTimeOrigin:performance.timeOrigin};Le(vt,e.map(a=>({...a,data:{...a.data,context:{...r,...a.data.context}}})),t)}function Me(e,t){return e==="eager"||t==="eager"?"eager":t??e}var oe=new Set,ae=!1;function De(){if(!ae){ae=!0,queueMicrotask(De);return}let e=[];oe.forEach(t=>t.forEach(r=>e.push(r.serialize()))),oe.clear(),Pe(e),ae=!1}async function T(e,t="lazy"){if(e.length!==0){if(t==="eager"){await C(),Pe(e.map(r=>r.serialize()),!0);return}oe.add(e)}}b(De,"lazy");var x="__framer_events";function xe(){window[x]||(window[x]=[]);function e(t){let r,a=t.map(i=>{let[o,n,s]=i;return r=Me(r,s),new f(o,n)});T(a,r??"eager")}window[x].length>0&&(e(window[x]),window[x].length=0),window[x].push=(...t)=>(e(t),-1)}var ht=P();function N(e){let t=[new f("published_site_pageview",{referrer:(e==null?void 0:e.initialReferrer)||null,url:location.href,hostname:location.hostname||null,pathname:location.pathname||null,hash:location.hash||null,search:location.search||null,framerSiteId:ht.framerSiteId,timezone:_,locale:ne})];T(t,"eager")}function Fe(){addEventListener("popstate",()=>N());let e=history.pushState;history.pushState=(...t)=>{e.apply(history,t),N()}}var de,Re,I=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},V=function(e){if(document.readyState==="loading")return"loading";var t=I();if(t){if(e<t.domInteractive)return"loading";if(t.domContentLoadedEventStart===0||e<t.domContentLoadedEventStart)return"dom-interactive";if(t.domComplete===0||e<t.domComplete)return"dom-content-loaded"}return"complete"},Tt=function(e){var t=e.nodeName;return e.nodeType===1?t.toLowerCase():t.toUpperCase().replace(/^#/,"")},me=function(e,t){var r="";try{for(;e&&e.nodeType!==9;){var a=e,i=a.id?"#"+a.id:Tt(a)+(a.classList&&a.classList.value&&a.classList.value.trim()&&a.classList.value.trim().length?"."+a.classList.value.trim().replace(/\s+/g,"."):"");if(r.length+i.length>(t||100)-1)return r||i;if(r=r?i+">"+r:i,a.id)break;e=a.parentNode}}catch{}return r},We=-1,Ue=function(){return We},A=function(e){addEventListener("pageshow",function(t){t.persisted&&(We=t.timeStamp,e(t))},!0)},Q=function(){var e=I();return e&&e.activationStart||0},v=function(e,t){var r=I(),a="navigate";return Ue()>=0?a="back-forward-cache":r&&(document.prerendering||Q()>0?a="prerender":document.wasDiscarded?a="restore":r.type&&(a=r.type.replace(/_/g,"-"))),{name:e,value:t===void 0?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:a}},B=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var a=new PerformanceObserver(function(i){Promise.resolve().then(function(){t(i.getEntries())})});return a.observe(Object.assign({type:e,buffered:!0},r||{})),a}}catch{}},h=function(e,t,r,a){var i,o;return function(n){t.value>=0&&(n||a)&&((o=t.value-(i||0))||i===void 0)&&(i=t.value,t.delta=o,t.rating=function(s,d){return s>d[1]?"poor":s>d[0]?"needs-improvement":"good"}(t.value,r),e(t))}},fe=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},Z=function(e){document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&e()})},ge=function(e){var t=!1;return function(){t||(e(),t=!0)}},F=-1,ze=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},G=function(e){document.visibilityState==="hidden"&&F>-1&&(F=e.type==="visibilitychange"?e.timeStamp:0,yt())},Ie=function(){addEventListener("visibilitychange",G,!0),addEventListener("prerenderingchange",G,!0)},yt=function(){removeEventListener("visibilitychange",G,!0),removeEventListener("prerenderingchange",G,!0)},$e=function(){return F<0&&(F=ze(),Ie(),A(function(){setTimeout(function(){F=ze(),Ie()},0)})),{get firstHiddenTime(){return F}}},Y=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},Ae=[1800,3e3],He=function(e,t){t=t||{},Y(function(){var r,a=$e(),i=v("FCP"),o=B("paint",function(n){n.forEach(function(s){s.name==="first-contentful-paint"&&(o.disconnect(),s.startTime<a.firstHiddenTime&&(i.value=Math.max(s.startTime-Q(),0),i.entries.push(s),r(!0)))})});o&&(r=h(e,i,Ae,t.reportAllChanges),A(function(n){i=v("FCP"),r=h(e,i,Ae,t.reportAllChanges),fe(function(){i.value=performance.now()-n.timeStamp,r(!0)})}))})},Be=[.1,.25],qe=function(e,t){(function(r,a){a=a||{},He(ge(function(){var i,o=v("CLS",0),n=0,s=[],d=function(l){l.forEach(function(c){if(!c.hadRecentInput){var m=s[0],g=s[s.length-1];n&&c.startTime-g.startTime<1e3&&c.startTime-m.startTime<5e3?(n+=c.value,s.push(c)):(n=c.value,s=[c])}}),n>o.value&&(o.value=n,o.entries=s,i())},u=B("layout-shift",d);u&&(i=h(r,o,Be,a.reportAllChanges),Z(function(){d(u.takeRecords()),i(!0)}),A(function(){n=0,o=v("CLS",0),i=h(r,o,Be,a.reportAllChanges),fe(function(){return i()})}),setTimeout(i,0))}))})(function(r){var a=function(i){var o,n={};if(i.entries.length){var s=i.entries.reduce(function(u,l){return u&&u.value>l.value?u:l});if(s&&s.sources&&s.sources.length){var d=(o=s.sources).find(function(u){return u.node&&u.node.nodeType===1})||o[0];d&&(n={largestShiftTarget:me(d.node),largestShiftTime:s.startTime,largestShiftValue:s.value,largestShiftSource:d,largestShiftEntry:s,loadState:V(s.startTime)})}}return Object.assign(i,{attribution:n})}(r);e(a)},t)},Je=function(e,t){He(function(r){var a=function(i){var o={timeToFirstByte:0,firstByteToFCP:i.value,loadState:V(Ue())};if(i.entries.length){var n=I(),s=i.entries[i.entries.length-1];if(n){var d=n.activationStart||0,u=Math.max(0,n.responseStart-d);o={timeToFirstByte:u,firstByteToFCP:i.value-u,loadState:V(i.entries[0].startTime),navigationEntry:n,fcpEntry:s}}}return Object.assign(i,{attribution:o})}(r);e(a)},t)},je=0,se=1/0,j=0,St=function(e){e.forEach(function(t){t.interactionId&&(se=Math.min(se,t.interactionId),j=Math.max(j,t.interactionId),je=j?(j-se)/7+1:0)})},Ve=function(){return de?je:performance.interactionCount||0},Et=function(){"interactionCount"in performance||de||(de=B("event",St,{type:"event",buffered:!0,durationThreshold:0}))},p=[],W=new Map,Ge=0,bt=function(){var e=Math.min(p.length-1,Math.floor((Ve()-Ge)/50));return p[e]},Qe=[],Ct=function(e){if(Qe.forEach(function(i){return i(e)}),e.interactionId||e.entryType==="first-input"){var t=p[p.length-1],r=W.get(e.interactionId);if(r||p.length<10||e.duration>t.latency){if(r)e.duration>r.latency?(r.entries=[e],r.latency=e.duration):e.duration===r.latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e);else{var a={id:e.interactionId,latency:e.duration,entries:[e]};W.set(a.id,a),p.push(a)}p.sort(function(i,o){return o.latency-i.latency}),p.length>10&&p.splice(10).forEach(function(i){return W.delete(i.id)})}}},pe=function(e){var t=self.requestIdleCallback||self.setTimeout,r=-1;return e=ge(e),document.visibilityState==="hidden"?e():(r=t(e),Z(e)),r},_e=[200,500],Lt=function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},Y(function(){var r;Et();var a,i=v("INP"),o=function(s){pe(function(){s.forEach(Ct);var d=bt();d&&d.latency!==i.value&&(i.value=d.latency,i.entries=d.entries,a())})},n=B("event",o,{durationThreshold:(r=t.durationThreshold)!==null&&r!==void 0?r:40});a=h(e,i,_e,t.reportAllChanges),n&&(n.observe({type:"first-input",buffered:!0}),Z(function(){o(n.takeRecords()),a(!0)}),A(function(){Ge=Ve(),p.length=0,W.clear(),i=v("INP"),a=h(e,i,_e,t.reportAllChanges)}))}))},R=[],E=[],ue=0,ve=new WeakMap,z=new Map,le=-1,wt=function(e){R=R.concat(e),Ze()},Ze=function(){le<0&&(le=pe(kt))},kt=function(){z.size>10&&z.forEach(function(n,s){W.has(s)||z.delete(s)});var e=p.map(function(n){return ve.get(n.entries[0])}),t=E.length-50;E=E.filter(function(n,s){return s>=t||e.includes(n)});for(var r=new Set,a=0;a<E.length;a++){var i=E[a];Ye(i.startTime,i.processingEnd).forEach(function(n){r.add(n)})}var o=R.length-1-50;R=R.filter(function(n,s){return n.startTime>ue&&s>o||r.has(n)}),le=-1};Qe.push(function(e){e.interactionId&&e.target&&!z.has(e.interactionId)&&z.set(e.interactionId,e.target)},function(e){var t,r=e.startTime+e.duration;ue=Math.max(ue,e.processingEnd);for(var a=E.length-1;a>=0;a--){var i=E[a];if(Math.abs(r-i.renderTime)<=8){(t=i).startTime=Math.min(e.startTime,t.startTime),t.processingStart=Math.min(e.processingStart,t.processingStart),t.processingEnd=Math.max(e.processingEnd,t.processingEnd),t.entries.push(e);break}}t||(t={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:r,entries:[e]},E.push(t)),(e.interactionId||e.entryType==="first-input")&&ve.set(e,t),Ze()});var Ye=function(e,t){for(var r,a=[],i=0;r=R[i];i++)if(!(r.startTime+r.duration<e)){if(r.startTime>t)break;a.push(r)}return a},Ke=function(e,t){Re||(Re=B("long-animation-frame",wt)),Lt(function(r){var a=function(i){var o=i.entries[0],n=ve.get(o),s=o.processingStart,d=n.processingEnd,u=n.entries.sort(function(y,U){return y.processingStart-U.processingStart}),l=Ye(o.startTime,d),c=i.entries.find(function(y){return y.target}),m=c&&c.target||z.get(o.interactionId),g=[o.startTime+o.duration,d].concat(l.map(function(y){return y.startTime+y.duration})),w=Math.max.apply(Math,g),K={interactionTarget:me(m),interactionTargetElement:m,interactionType:o.name.startsWith("key")?"keyboard":"pointer",interactionTime:o.startTime,nextPaintTime:w,processedEventEntries:u,longAnimationFrameEntries:l,inputDelay:s-o.startTime,processingDuration:d-s,presentationDelay:Math.max(w-d,0),loadState:V(o.startTime)};return Object.assign(i,{attribution:K})}(r);e(a)},t)},Oe=[2500,4e3],ce={},Xe=function(e,t){(function(r,a){a=a||{},Y(function(){var i,o=$e(),n=v("LCP"),s=function(l){a.reportAllChanges||(l=l.slice(-1)),l.forEach(function(c){c.startTime<o.firstHiddenTime&&(n.value=Math.max(c.startTime-Q(),0),n.entries=[c],i())})},d=B("largest-contentful-paint",s);if(d){i=h(r,n,Oe,a.reportAllChanges);var u=ge(function(){ce[n.id]||(s(d.takeRecords()),d.disconnect(),ce[n.id]=!0,i(!0))});["keydown","click"].forEach(function(l){addEventListener(l,function(){return pe(u)},{once:!0,capture:!0})}),Z(u),A(function(l){n=v("LCP"),i=h(r,n,Oe,a.reportAllChanges),fe(function(){n.value=performance.now()-l.timeStamp,ce[n.id]=!0,i(!0)})})}})})(function(r){var a=function(i){var o={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:i.value};if(i.entries.length){var n=I();if(n){var s=n.activationStart||0,d=i.entries[i.entries.length-1],u=d.url&&performance.getEntriesByType("resource").filter(function(w){return w.name===d.url})[0],l=Math.max(0,n.responseStart-s),c=Math.max(l,u?(u.requestStart||u.startTime)-s:0),m=Math.max(c,u?u.responseEnd-s:0),g=Math.max(m,d.startTime-s);o={element:me(d.element),timeToFirstByte:l,resourceLoadDelay:c-l,resourceLoadDuration:m-c,elementRenderDelay:g-m,navigationEntry:n,lcpEntry:d},d.url&&(o.url=d.url),u&&(o.lcpResourceEntry=u)}}return Object.assign(i,{attribution:o})}(r);e(a)},t)},Ne=[800,1800],Pt=function e(t){document.prerendering?Y(function(){return e(t)}):document.readyState!=="complete"?addEventListener("load",function(){return e(t)},!0):setTimeout(t,0)},Mt=function(e,t){t=t||{};var r=v("TTFB"),a=h(e,r,Ne,t.reportAllChanges);Pt(function(){var i=I();i&&(r.value=Math.max(i.responseStart-Q(),0),r.entries=[i],a(!0),A(function(){r=v("TTFB",0),(a=h(e,r,Ne,t.reportAllChanges))(!0)}))})},et=function(e,t){Mt(function(r){var a=function(i){var o={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(i.entries.length){var n=i.entries[0],s=n.activationStart||0,d=Math.max((n.workerStart||n.fetchStart)-s,0),u=Math.max(n.domainLookupStart-s,0),l=Math.max(n.connectStart-s,0),c=Math.max(n.connectEnd-s,0);o={waitingDuration:d,cacheDuration:u-d,dnsDuration:l-u,connectionDuration:c-l,requestDuration:i.value-c,navigationEntry:n}}return Object.assign(i,{attribution:o})}(r);e(a)},t)};function Dt(e){for(let t in e)if(e[t]!==void 0)return!0;return!1}function L(e){return Dt(e)?e:void 0}function nt(){let e=document.getElementById("main");if(!e)return;let t=new Set;try{let o=n=>t.add(n);Xe(o),Je(o),qe(({delta:n,...s})=>{t.add({...s,delta:n*1e3})}),Ke(o),et(o)}catch{}let r=new Set([...performance.getEntriesByType("mark"),...performance.getEntriesByType("measure")].filter(o=>o.name.startsWith("framer-")));new PerformanceObserver(o=>{o.getEntries().forEach(n=>{n.name.startsWith("framer-")&&r.add(n)})}).observe({entryTypes:["measure","mark"]});let a=e.dataset,i={pageOptimizedAt:a.framerPageOptimizedAt?new Date(a.framerPageOptimizedAt).getTime():null,ssrReleasedAt:a.framerSsrReleasedAt?new Date(a.framerSsrReleasedAt).getTime():null,origin:document.location.origin,pathname:document.location.pathname,search:document.location.search};b(()=>It(i),"load"),b(()=>xt(t,r,i),"lazy")}var tt=!1;function xt(e,t,r){let a=document.getElementById("main");if(!a)return;let i=[];if(tt||(i.push(Ft(r,a)),tt=!0),e.size>0&&(i.push(...Rt(e,r)),e.clear()),t.size>0){let o=zt(t);o&&i.push(o),t.clear()}T(i)}function Ft({pageOptimizedAt:e,ssrReleasedAt:t,origin:r,pathname:a,search:i},o){var d,u,l,c,m,g;let n=performance.getEntriesByType("navigation")[0],s=document.querySelector("[data-framer-css-ssr-minified]");return new f("published_site_performance",{hydrationDurationMs:null,domNodes:document.getElementsByTagName("*").length,resourcesCount:performance.getEntriesByType("resource").length,headSize:document.head.innerHTML.length,pageLoadDurationMs:(n==null?void 0:n.domContentLoadedEventEnd)!==void 0&&n.domContentLoadedEventStart!==void 0?Math.round(n.domContentLoadedEventEnd-n.domContentLoadedEventStart):null,framerCSSSize:(d=s==null?void 0:s.textContent)==null?void 0:d.length,modulePreloads:document.querySelectorAll("link[rel='modulepreload']").length,hasPageContent:o.dataset["framer-no-content"]===void 0,timeZone:_,pageOptimizedAt:e,ssrReleasedAt:t,devicePixelRatio:window.devicePixelRatio,timeToFirstByteMs:null,navigationTiming:n?{activationStart:n.activationStart,connectEnd:n.connectEnd,connectStart:n.connectStart,criticalCHRestart:n.criticalCHRestart,decodedBodySize:n.decodedBodySize,deliveryType:n.deliveryType,domComplete:n.domComplete,domContentLoadedEventEnd:n.domContentLoadedEventEnd,domContentLoadedEventStart:n.domContentLoadedEventStart,domInteractive:n.domInteractive,domainLookupEnd:n.domainLookupEnd,domainLookupStart:n.domainLookupStart,duration:n.duration,encodedBodySize:n.encodedBodySize,fetchStart:n.fetchStart,firstInterimResponseStart:n.firstInterimResponseStart,loadEventEnd:n.loadEventEnd,loadEventStart:n.loadEventStart,nextHopProtocol:n.nextHopProtocol,redirectCount:n.redirectCount,redirectEnd:n.redirectEnd,redirectStart:n.redirectStart,requestStart:n.requestStart,responseEnd:n.responseEnd,responseStart:n.responseStart,responseStatus:n.responseStatus,secureConnectionStart:n.secureConnectionStart,serverTiming:n.serverTiming?JSON.stringify(n.serverTiming):null,startTime:n.startTime,transferSize:n.transferSize,type:n.type,unloadEventEnd:n.unloadEventEnd,unloadEventStart:n.unloadEventStart,workerStart:n.workerStart}:void 0,connection:L({downlink:(u=navigator.connection)==null?void 0:u.downlink,downlinkMax:(l=navigator.connection)==null?void 0:l.downlinkMax,rtt:(c=navigator.connection)==null?void 0:c.rtt,saveData:(m=navigator.connection)==null?void 0:m.saveData,type:(g=navigator.connection)==null?void 0:g.type}),context:{origin:r,pathname:a,search:i}})}function Rt(e,{pageOptimizedAt:t,ssrReleasedAt:r,origin:a,pathname:i,search:o}){let n=[];return e.forEach(s=>{e.delete(s);let{name:d,delta:u,id:l,attribution:c}=s,m={metric:d,label:l,value:Math.round(u),pageOptimizedAt:t,ssrReleasedAt:r,context:{origin:a,pathname:i,search:o},attributionLcp:void 0,attributionCls:void 0,attributionInp:void 0,attributionFcp:void 0,attributionTtfb:void 0};d==="LCP"?m.attributionLcp=L({element:c.element,timeToFirstByte:c.timeToFirstByte,resourceLoadDelay:c.resourceLoadDelay,resourceLoadTime:c.resourceLoadDuration,elementRenderDelay:c.elementRenderDelay,url:c.url}):d==="CLS"?m.attributionCls=L({largestShiftTarget:c.largestShiftTarget,largestShiftTime:c.largestShiftTime,largestShiftValue:c.largestShiftValue,loadState:c.loadState}):d==="INP"?m.attributionInp=L({eventTarget:c.interactionTarget,eventType:c.interactionType,eventTime:c.interactionTime?Math.round(c.interactionTime):void 0,loadState:c.loadState,inputDelay:c.inputDelay,processingDuration:c.processingDuration,presentationDelay:c.presentationDelay,nextPaintTime:c.nextPaintTime}):d==="FCP"?m.attributionFcp=L({timeToFirstByte:c.timeToFirstByte,firstByteToFCP:c.firstByteToFCP,loadState:c.loadState}):d==="TTFB"&&(m.attributionTtfb=L({waitingTime:c.waitingDuration,dnsTime:c.dnsDuration,connectionTime:c.connectionDuration,requestTime:c.requestDuration,cacheDuration:c.cacheDuration})),n.push(new f("published_site_performance_web_vitals",m))}),n}function zt(e){let t=[];if(e.forEach(r=>{e.delete(r);let{name:a,startTime:i,duration:o,detail:n}=r,s={name:a,startTime:i,duration:o,detail:n};t.push(s)}),t.length!==0)return new f("published_site_performance_user_timings",{timings:JSON.stringify(t)})}async function It({origin:e,pathname:t,search:r}){let a=document.getElementById("main");if(!a)return;await C();let i=1/0,o=null,n=null,s=0,d=0,u=0,l=0,c="https://framerusercontent.com/sites/",m=`^${c}[^/]+/`,g=".[^.]+.mjs$",w=new RegExp(`${m}script_main${g}`),K=new RegExp(`${m}framer${g}`),y=new RegExp(`${m}motion${g}`),U=performance.getEntriesByType("resource"),he=U.length;for(let X=0;X<he;X++){let it=U[X],{deliveryType:Te,initiatorType:at,transferSize:ot,decodedBodySize:ee,encodedBodySize:st,name:$,startTime:ye}=it;ye>i||!(at==="script"&&$.startsWith(c))||(++u,(Te==="cache"||Te!==void 0&&ot===0)&&++l,s+=st,d+=ee,w.test($)?i=ye:o===0&&K.test($)?o=ee:n===0&&y.test($)&&(n=ee))}await C();let k=performance.getEntriesByType("navigation")[0];T([new f("published_site_performance_load",{pageLoadDurationMs:(k==null?void 0:k.domContentLoadedEventEnd)!==void 0&&k.domContentLoadedEventStart!==void 0?Math.round(k.domContentLoadedEventEnd-k.domContentLoadedEventStart):null,resourcesCount:he,domNodes:document.getElementsByTagName("*").length,headSize:document.head.innerHTML.length,headDomNodes:document.head.getElementsByTagName("*").length,bodySize:document.body.innerHTML.length,bodyDomNodes:document.body.getElementsByTagName("*").length,reactRootSize:a.innerHTML.length,reactRootDomNodes:a.getElementsByTagName("*").length,jsSizeDecoded:d,jsSizeEncoded:s,jsCountCached:l,jsCountTotal:u,mainScriptStartTime:Number.isFinite(i)?i:null,libraryJSSizeDecoded:o,motionJSSizeDecoded:n,context:{origin:e,pathname:t,search:r}})])}function rt(){window.__send_framer_event=(e,t)=>{let r=new f(e,t);T([r],"eager")}}var At=P(),Bt=async()=>{if(await C(!0),Se(),At.trackNavigation){Fe();let e=typeof document.referrer=="string";N({initialReferrer:e&&document.referrer||null})}nt(),rt(),xe()};Bt();})();
