"use strict";(()=>{var U,te,P=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart(t||100)-1)return r||i;if(r=r?i+">"+r:i,a.id)break;e=a.parentNode}}catch{}return r},ue=-1,de=function(){return ue},M=function(e){addEventListener("pageshow",function(t){t.persisted&&(ue=t.timeStamp,e(t))},!0)},_=function(){var e=P();return e&&e.activationStart||0},g=function(e,t){var r=P(),a="navigate";return de()>=0?a="back-forward-cache":r&&(document.prerendering||_()>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}},L=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{}},v=function(e,t,r,a){var i,n;return function(o){t.value>=0&&(o||a)&&((n=t.value-(i||0))||i===void 0)&&(i=t.value,t.delta=n,t.rating=function(s,u){return s>u[1]?"poor":s>u[0]?"needs-improvement":"good"}(t.value,r),e(t))}},Z=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},W=function(e){document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&e()})},K=function(e){var t=!1;return function(){t||(e(),t=!0)}},b=-1,ne=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},B=function(e){document.visibilityState==="hidden"&&b>-1&&(b=e.type==="visibilitychange"?e.timeStamp:0,Re())},re=function(){addEventListener("visibilitychange",B,!0),addEventListener("prerenderingchange",B,!0)},Re=function(){removeEventListener("visibilitychange",B,!0),removeEventListener("prerenderingchange",B,!0)},le=function(){return b<0&&(b=ne(),re(),M(function(){setTimeout(function(){b=ne(),re()},0)})),{get firstHiddenTime(){return b}}},O=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},ie=[1800,3e3],me=function(e,t){t=t||{},O(function(){var r,a=le(),i=g("FCP"),n=L("paint",function(o){o.forEach(function(s){s.name==="first-contentful-paint"&&(n.disconnect(),s.startTimen.value&&(n.value=o,n.entries=s,i())},d=L("layout-shift",u);d&&(i=v(r,n,ae,a.reportAllChanges),W(function(){u(d.takeRecords()),i(!0)}),M(function(){o=0,n=g("CLS",0),i=v(r,n,ae,a.reportAllChanges),Z(function(){return i()})}),setTimeout(i,0))}))})(function(r){var a=function(i){var n,o={};if(i.entries.length){var s=i.entries.reduce(function(d,l){return d&&d.value>l.value?d:l});if(s&&s.sources&&s.sources.length){var u=(n=s.sources).find(function(d){return d.node&&d.node.nodeType===1})||n[0];u&&(o={largestShiftTarget:J(u.node),largestShiftTime:s.startTime,largestShiftValue:s.value,largestShiftSource:u,largestShiftEntry:s,loadState:R(s.startTime)})}}return Object.assign(i,{attribution:o})}(r);e(a)},t)},pe=function(e,t){me(function(r){var a=function(i){var n={timeToFirstByte:0,firstByteToFCP:i.value,loadState:R(de())};if(i.entries.length){var o=P(),s=i.entries[i.entries.length-1];if(o){var u=o.activationStart||0,d=Math.max(0,o.responseStart-u);n={timeToFirstByte:d,firstByteToFCP:i.value-d,loadState:R(i.entries[0].startTime),navigationEntry:o,fcpEntry:s}}}return Object.assign(i,{attribution:n})}(r);e(a)},t)},ge=0,H=1/0,A=0,Be=function(e){e.forEach(function(t){t.interactionId&&(H=Math.min(H,t.interactionId),A=Math.max(A,t.interactionId),ge=A?(A-H)/7+1:0)})},ve=function(){return U?ge:performance.interactionCount||0},_e=function(){"interactionCount"in performance||U||(U=L("event",Be,{type:"event",buffered:!0,durationThreshold:0}))},p=[],D=new Map,he=0,We=function(){var e=Math.min(p.length-1,Math.floor((ve()-he)/50));return p[e]},Te=[],Oe=function(e){if(Te.forEach(function(i){return i(e)}),e.interactionId||e.entryType==="first-input"){var t=p[p.length-1],r=D.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]};D.set(a.id,a),p.push(a)}p.sort(function(i,n){return n.latency-i.latency}),p.length>10&&p.splice(10).forEach(function(i){return D.delete(i.id)})}}},X=function(e){var t=self.requestIdleCallback||self.setTimeout,r=-1;return e=K(e),document.visibilityState==="hidden"?e():(r=t(e),W(e)),r},oe=[200,500],ze=function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},O(function(){var r;_e();var a,i=g("INP"),n=function(s){X(function(){s.forEach(Oe);var u=We();u&&u.latency!==i.value&&(i.value=u.latency,i.entries=u.entries,a())})},o=L("event",n,{durationThreshold:(r=t.durationThreshold)!==null&&r!==void 0?r:40});a=v(e,i,oe,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),W(function(){n(o.takeRecords()),a(!0)}),M(function(){he=ve(),p.length=0,D.clear(),i=g("INP"),a=v(e,i,oe,t.reportAllChanges)}))}))},w=[],T=[],j=0,Y=new WeakMap,C=new Map,G=-1,Ne=function(e){w=w.concat(e),ye()},ye=function(){G<0&&(G=X(qe))},qe=function(){C.size>10&&C.forEach(function(o,s){D.has(s)||C.delete(s)});var e=p.map(function(o){return Y.get(o.entries[0])}),t=T.length-50;T=T.filter(function(o,s){return s>=t||e.includes(o)});for(var r=new Set,a=0;aj&&s>n||r.has(o)}),G=-1};Te.push(function(e){e.interactionId&&e.target&&!C.has(e.interactionId)&&C.set(e.interactionId,e.target)},function(e){var t,r=e.startTime+e.duration;j=Math.max(j,e.processingEnd);for(var a=T.length-1;a>=0;a--){var i=T[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]},T.push(t)),(e.interactionId||e.entryType==="first-input")&&Y.set(e,t),ye()});var Se=function(e,t){for(var r,a=[],i=0;r=w[i];i++)if(!(r.startTime+r.durationt)break;a.push(r)}return a},Ee=function(e,t){te||(te=L("long-animation-frame",Ne)),ze(function(r){var a=function(i){var n=i.entries[0],o=Y.get(n),s=n.processingStart,u=o.processingEnd,d=o.entries.sort(function(E,xe){return E.processingStart-xe.processingStart}),l=Se(n.startTime,u),c=i.entries.find(function(E){return E.target}),m=c&&c.target||C.get(n.interactionId),h=[n.startTime+n.duration,u].concat(l.map(function(E){return E.startTime+E.duration})),x=Math.max.apply(Math,h),Fe={interactionTarget:J(m),interactionTargetElement:m,interactionType:n.name.startsWith("key")?"keyboard":"pointer",interactionTime:n.startTime,nextPaintTime:x,processedEventEntries:d,longAnimationFrameEntries:l,inputDelay:s-n.startTime,processingDuration:u-s,presentationDelay:Math.max(x-u,0),loadState:R(n.startTime)};return Object.assign(i,{attribution:Fe})}(r);e(a)},t)},se=[2500,4e3],V={},be=function(e,t){(function(r,a){a=a||{},O(function(){var i,n=le(),o=g("LCP"),s=function(l){a.reportAllChanges||(l=l.slice(-1)),l.forEach(function(c){c.startTimet.add(n)),pe(n=>t.add(n)),fe(({delta:n,...o})=>{t.add({...o,delta:n*1e3})}),Ee(n=>t.add(n)),we(n=>t.add(n))}catch{}let r=new Set([...performance.getEntriesByType("mark"),...performance.getEntriesByType("measure")].filter(n=>n.name.startsWith("framer-")));new PerformanceObserver(n=>{n.getEntries().forEach(s=>{s.name.startsWith("framer-")&&r.add(s)})}).observe({entryTypes:["measure","mark"]});let a=document.getElementById("main").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};addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Pe(t,r,i,e)}),addEventListener("pagehide",()=>Pe(t,r,i,e))}var Ce=!1;function Pe(e,t,r,a){let i=[];if(Ce||(i.push(Ge(r)),Ce=!0),e.size>0&&(i.push(...Je(e,r)),e.clear()),t.size>0){let n=Ze(t);n&&i.push(n),t.clear()}a(i)}function Ge({pageOptimizedAt:e,ssrReleasedAt:t,origin:r,pathname:a,search:i}){var u,d,l,c,m,h;let n=performance.getEntriesByType("navigation")[0],o=document.querySelector("[data-framer-css-ssr-minified]");return new f("published_site_performance",{domNodes:document.getElementsByTagName("*").length,pageLoadDurationMs:(n==null?void 0:n.domContentLoadedEventEnd)!==void 0&&n.domContentLoadedEventStart!==void 0?Math.round(n.domContentLoadedEventEnd-n.domContentLoadedEventStart):null,timeToFirstByteMs:n?Math.round(n.responseStart):null,resourcesCount:performance.getEntriesByType("resource").length,framerCSSSize:(u=o==null?void 0:o.textContent)==null?void 0:u.length,headSize:document.head.innerHTML.length,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,hydrationDurationMs:null,pageOptimizedAt:e,ssrReleasedAt:t,devicePixelRatio:window.devicePixelRatio,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:S({downlink:(d=navigator.connection)==null?void 0:d.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:(h=navigator.connection)==null?void 0:h.type}),context:{origin:r,pathname:a,search:i}})}function Je(e,{pageOptimizedAt:t,ssrReleasedAt:r,origin:a,pathname:i,search:n}){let o=[];return e.forEach(s=>{e.delete(s);let{name:u,delta:d,id:l,attribution:c}=s,m={metric:u,label:l,value:Math.round(d),pageOptimizedAt:t,ssrReleasedAt:r,context:{origin:a,pathname:i,search:n},attributionLcp:void 0,attributionCls:void 0,attributionInp:void 0,attributionFcp:void 0,attributionTtfb:void 0};u==="LCP"?m.attributionLcp=S({element:c.element,timeToFirstByte:c.timeToFirstByte,resourceLoadDelay:c.resourceLoadDelay,resourceLoadTime:c.resourceLoadDuration,elementRenderDelay:c.elementRenderDelay,url:c.url}):u==="CLS"?m.attributionCls=S({largestShiftTarget:c.largestShiftTarget,largestShiftTime:c.largestShiftTime,largestShiftValue:c.largestShiftValue,loadState:c.loadState}):u==="INP"?m.attributionInp=S({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}):u==="FCP"?m.attributionFcp=S({timeToFirstByte:c.timeToFirstByte,firstByteToFCP:c.firstByteToFCP,loadState:c.loadState}):u==="TTFB"&&(m.attributionTtfb=S({waitingTime:c.waitingDuration,dnsTime:c.dnsDuration,connectionTime:c.connectionDuration,requestTime:c.requestDuration,cacheDuration:c.cacheDuration})),o.push(new f("published_site_performance_web_vitals",m))}),o}function Ze(e){let t=[];if(e.forEach(r=>{e.delete(r);let a={name:r.name,startTime:r.startTime,duration:r.duration};t.push(a)}),t.length!==0)return new f("published_site_performance_user_timings",{timings:JSON.stringify(t)})}var $=null;function z(){if(!$){let e=document.currentScript;$={src:(e==null?void 0:e.src)??"https://events.framer.com/",framerSiteId:e?e.getAttribute("data-fid"):null}}return $}var Ke=z(),N,Q,ee;function I(e,t){N||(N=Intl.DateTimeFormat().resolvedOptions()),Q||(Q=N.timeZone),ee||(ee=N.locale);let r=[new f("published_site_pageview",{referrer:(t==null?void 0:t.initialReferrer)||null,url:location.href,hostname:location.hostname||null,pathname:location.pathname||null,hash:location.hash||null,search:location.search||null,framerSiteId:Ke.framerSiteId,timezone:Q,locale:ee})];e(r)}async function q(e={priority:"background"}){if(window.scheduler){if(window.scheduler.yield)return window.scheduler.yield(e);if(window.scheduler.postTask)return window.scheduler.postTask(()=>{},e)}return Promise.resolve()}function Le(e){addEventListener("popstate",()=>I(e));let t=history.pushState;history.pushState=function(...r){t.apply(history,r),(async()=>(await q(),I(e)))()}}function ke(e){window.__send_framer_event=(t,r)=>{let a=new f(t,r);e([a])}}var k="__framer_events";function De(e){if(window[k]||(window[k]=[]),window[k].length>0){let t=window[k].map(r=>new f(r[0],r[1]));e(t),window[k].length=0}window[k].push=function(...t){let r=t.map(a=>new f(a[0],a[1]));return e(r),-1}}var Ie=z(),Xe=new URL(Ie.src),Ye=Xe.origin+"/anonymous";function $e(e){if(!location.protocol.startsWith("http"))return;let t={framerSiteId:Ie.framerSiteId,origin:document.location.origin,pathname:document.location.pathname,search:document.location.search,visitTimeOrigin:performance.timeOrigin};navigator.sendBeacon(Ye,JSON.stringify(e.map(r=>({...r,data:{...r.data,context:{...t,...r.data.context}}}))))}function F(e){if(e.length===0)return;let t=e.map(r=>r.serialize());$e(t)}var Qe=async()=>{await q(),Me(F),Le(F),ke(F),De(F);let e=typeof document.referrer=="string";I(F,{initialReferrer:e&&document.referrer||null})};Qe();})();