est(r))return"stack"}}return""})()||(d?"seo":""),m=!!u,{isCached:w,caching:f,microPop:h}=((e,r)=>{let t,o=(e=>{let r;try{r=e()}catch{r=[]}let t=r.reduce((e,r)=>(e[r.name]=r.description,e),{});return{cache:t.cache,varnish:t.varnish,microPop:t.dc}})(r);if(o.cache||o.varnish)return n({cache:o.cache||i,varnish:o.varnish||i,microPop:o.microPop});let a=(t=e.match(/ssr-caching="?cache[,#]\s*desc=([\w-]+)(?:[,#]\s*varnish=(\w+))?(?:[,#]\s*dc[,#]\s*desc=([\w-]+))?(?:"|;|$)/))&&t.length?{cache:t[1],varnish:t[2]||i,microPop:t[3]}:null;return a?n(a):{caching:i,isCached:!1}})(document.cookie,()=>performance.getEntriesByType("navigation")[0].serverTiming||[]),g={WixSite:1,UGC:2,Template:3}[e.siteType]||0,v=e.appNameForBiEvents,{isDACRollout:x,siteAssetsVersionsRollout:y}=r,S=+!!x,I=+!!y,$=0===t.code||1===t.code?t.code:null,P=2===t.code,b=Date.now()-window.initialTimestamps.initialTimestamp,_=Math.round(performance.now()-(()=>{try{let e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart{let t=e?.reason||e?.message;t?(p||E(26,`&errorInfo=${t}&errorType=${r}`),M({error:{name:r,message:t,stack:e?.stack}})):e.preventDefault()},A("error",T.reportError),A("unhandledrejection",T.reportError);let R=!1;function E(r,t=""){if(c.includes("suppressbi=true"))return;var i="//frog.wix.com/bolt-performance?src=72&evid="+r+"&appName="+v+"&is_rollout="+$+"&is_company_network="+P+"&is_sav_rollout="+I+"&is_dac_rollout="+S+"&dc="+e.dc+(h?"µPop="+h:"")+"&is_cached="+w+"&msid="+e.metaSiteId+"&session_id="+window.fedops.sessionId+"&ish="+m+"&isb="+m+(m?"&isbr="+u:"")+"&vsi="+window.fedops.vsi+"&caching="+f+(R?",browser_cache":"")+"&pv="+O+"&pn=1&v="+k+"&url="+encodeURIComponent(c)+"&st="+g+`&ts=${b}&tsn=${_}`+t;let n=!1;if(!/\(iP(hone|ad|od);/i.test(window?.navigator?.userAgent))try{n=navigator.sendBeacon(i)}catch{}n||(new Image().src=i)}function M({transaction:r,error:t}){let i=[{fullArtifactId:"com.wixpress.html-client.wix-thunderbolt",componentId:`${"Studio"===window.fedops.data.site.editorName?"wix-studio":`thunderbolt${window.fedops.data.site.isResponsive?"-responsive":""}`}`,platform:"viewer",msid:window.fedops.data.site.metaSiteId,sessionId:window.fedops.vsi,sessionTime:Date.now()-window.initialTimestamps.initialTimestamp,logLevel:t?"ERROR":"INFO",message:t?.message??(r?.name&&`${r.name} START`),errorName:t?.name,errorStack:t?.stack,transactionName:r?.name,transactionAction:r&&"START",isSsr:!1,dataCenter:e.dc,isCached:!!w,isRollout:!!$,isHeadless:!!m,isDacRollout:!!S,isSavRollout:!!I,isCompanyNetwork:!!P}];try{let e=JSON.stringify({messages:i});return navigator.sendBeacon("https://panorama.wixapps.net/api/v1/bulklog",e)}catch(e){console.error(e)}}function N(e){return(r,t)=>{let i=Date.now()-b,n=`&name=${r}&duration=${i}`,o=t&&t.paramsOverrides?Object.keys(t.paramsOverrides).map(e=>e+"="+t.paramsOverrides[e]).join("&"):"";E(e,o?`${n}&${o}`:n)}}if(A("pageshow",({persisted:e})=>{e&&!R&&(R=!0,T.is_cached=!0)},!0),window.__browser_deprecation__)return;let C=document.referrer?`&document_referrer=${document.referrer}`:"",D=window.sessionStorage.getItem("isMpa"),B=D?`&isMpa=${D}`:"";D&&window.sessionStorage.removeItem("isMpa");let U=window.sessionStorage.getItem("mpaSessionId");U||(U=o(),window.sessionStorage.setItem("mpaSessionId",U)),window.fedops.mpaSessionId=U;let j={userAgent:navigator.userAgent,devicePixelRatio:window.devicePixelRatio||1,innerWidth:window.innerWidth,outerWidth:window.outerWidth,visualViewportScale:window.visualViewport?.scale},F=function(e){let{userAgent:r,devicePixelRatio:t,innerWidth:i,outerWidth:n,visualViewportScale:o}=e;return r&&a.test(r)?!!(r&&s.test(r))&&(o||1)>1:function(e,r,t){if(!e||!r||!t)return 1;let i=e&&r&&t?Math.trunc(e*r)<=t?1:2:1;return!i||e<=i?1:Math.round(e/i*100)/100}(t,i,n)>1}(j),W=function(e){let r=e.visualViewport?.scale;return{devicePixelRatio:e.devicePixelRatio||1,innerWidth:e.innerWidth,outerWidth:e.outerWidth,...null!=r?{visualViewportScale:r}:{}}}(window);E(21,`&platformOnSite=${window.fedops.data.platformOnSite}&hasInitialZoom=${F}&infoInitialZoom=${encodeURIComponent(JSON.stringify(W))}&mpaSessionId=${U}${C}${B}`),M({transaction:{name:"PANORAMA_COMPONENT_LOAD"}})}()})();