import{t as e}from"./rolldown-runtime.s3yPkF3n.mjs";import{D as t,I as n,L as r,M as i,N as a,P as o,R as s,S as c,a as l,g as u,i as d,j as f,m as p,n as m,r as h,t as g,u as _,w as v}from"./react.eNNBfCGs.mjs";import{$ as y,Dt as b,Et as x,J as S,X as C,Y as w,Z as T,at as E,b as D,bt as O,f as k,g as A,h as j,ht as M,lt as N,q as P,rt as F,s as I,tt as L,y as R}from"./framer.Bj-T8EHK.mjs";async function z({routeId:e,pathVariables:n,localeId:r,collectionItemId:l}){let u=H[e].page.preload(),m=_(R,{children:_(k,{children:_(A,{children:_(D,{isWebsite:!0,environment:`site`,routeId:e,pathVariables:n,routes:H,collectionUtils:W,framerSiteId:G,notFoundPage:T(()=>import(`./SitesNotFoundPage.js@1.4.BfvzxLuY.mjs`)),isReducedMotion:void 0,localeId:r,locales:U,preserveQueryParams:!0,siteCanonicalURL:`https://budmed.com.br`,EditorBar:s===void 0?void 0:(()=>{if(q){console.log(`[Framer On-Page Editing] Unavailable because navigator is bot`);return}return T(async()=>{s.__framer_editorBarDependencies={__version:3,framer:{useCurrentRoute:N,useLocaleInfo:M,useRouter:O},react:{createElement:_,Fragment:a,memo:p,useCallback:f,useEffect:i,useRef:t,useState:o,useLayoutEffect:c},"react-dom":{createPortal:d}};let{createEditorBar:e}=await import(`https://framer.com/edit/init.mjs`);return{default:e()}})})(),adaptLayoutToTextDirection:!0,loadSnippetsModule:new j(()=>import(`./s-b0uIFqTmvHNthy9bEB6MqLrTImnF6pmGvZN1QfM-Q.DNd5u1nb.mjs`)),initialCollectionItemId:l}),value:{autobahnNavigation:!0,editorBarDisableFrameAncestorsSecurity:!1,motionDivToDiv:!1,onPageLocalizationSupport:!0,onPageMoveTool:!0,synchronousNavigationOnDesktop:!1,yieldOnTap:!1}})}),value:{routes:{}}});return await u,m}function B(){K&&s.__framer_events.push(arguments)}async function V(e,t){function n(e,t,n=!0){if(e.caught||s.__framer_hadFatalError)return;let r=t?.componentStack;if(n){if(console.warn(`Caught a recoverable error. The site is still functional, but might have some UI flickering or degraded page load performance. If you are the author of this website, update external components and check recently added custom code or code overrides to fix the following server/client mismatches: `,e,r),Math.random()>.01)return}else console.error(`Caught a fatal error. Please report the following to the Framer team via https://www.framer.com/contact/: `,e,r);B(n?`published_site_load_recoverable_error`:`published_site_load_error`,{message:String(e),componentStack:r,stack:r?void 0:e instanceof Error&&typeof e.stack==`string`?e.stack:null})}try{let r,i,a,o,c;if(e)c=JSON.parse(t.dataset.framerHydrateV2),r=c.routeId,i=c.localeId,a=c.pathVariables,o=c.breakpoints,r=L(H,r);else{L(H,void 0);let e=performance.getEntriesByType(`navigation`)[0]?.serverTiming?.find(e=>e.name===`route`)?.description;if(e){let t=new URLSearchParams(e);r=t.get(`id`),i=t.get(`locale`);for(let[e,n]of t.entries())e.startsWith(`var.`)&&(a??={},a[e.slice(4)]=n)}if(!r||!i){let e=P(H,decodeURIComponent(location.pathname),!0,U);r=e.routeId,i=e.localeId,a=e.pathVariables}}let l=z({routeId:r,localeId:i,pathVariables:a,collectionItemId:c?.collectionItemId});s!==void 0&&(async()=>{let e=H[r],t=U.find(({id:e})=>i?e===i:e===`default`).code,n=c?.collectionItemId??null;if(n===null&&e?.collectionId&&W){let r=await W[e.collectionId]?.(),[i]=Object.values(a);r&&typeof i==`string`&&(n=await r.getRecordIdBySlug(i,t||void 0)??null)}let o=Intl.DateTimeFormat().resolvedOptions(),l=o.timeZone,u=o.locale;await new Promise(e=>{document.prerendering?document.addEventListener(`prerenderingchange`,e,{once:!0}):e()}),s.__framer_events.push([`published_site_pageview`,{framerSiteId:G??null,version:2,routePath:e?.path||`/`,collectionItemId:n,framerLocale:t||null,webPageId:e?.abTestingVariantId??r,abTestId:e?.abTestId,referrer:document.referrer||null,url:s.location.href,hostname:s.location.hostname||null,pathname:s.location.pathname||null,hash:s.location.hash||null,search:s.location.search||null,timezone:l,locale:u},`eager`]),await b({priority:`background`,ensureContinueBeforeUnload:!0,continueAfter:`paint`}),document.dispatchEvent(new CustomEvent(`framer:pageview`,{detail:{framerLocale:t||null}}))})();let d=await l;e?(x(`framer-rewrite-breakpoints`,()=>{F(o),s.__framer_onRewriteBreakpoints?.(o)}),(q?e=>e():u)(()=>{y(),E(),g(t,d,{onRecoverableError:n})})):h(t,{onRecoverableError:n}).render(d)}catch(e){throw n(e,void 0,!1),e}}var H,U,W,G,K,q;e((()=>{if(n(),w(),v(),l(),m(),H={augiA20Il:{elements:{jVZqlg7XZ:`consultar`,l7mh6tt5r:`budjournal`,N_39TQG8y:`budtoken`,tg5jQrmR1:`sobre`},page:T(()=>import(`./jeaYC5dbo5761KQvbFJOZU2cxjVTYeBbgZ8Z6FZsz8g.CH62JAxj.mjs`)),path:`/`},uqBnByrBE:{elements:{},page:T(()=>import(`./R7ATO_Gh3SLCfLxsYmk8JSS3V6WHW6wMGRytTQ1Thq8.WJILzGcq.mjs`)),path:`/politica-de-privacidade`},nBZ3jqZIq:{elements:{},page:T(()=>import(`./2tGashb_sGk3vbQiDrcynWUbUu-vR8ovDrUH_2JDhA8.UcQsJVQ5.mjs`)),path:`/blog`},ikNGOOH3I:{elements:{},page:T(()=>import(`./15IkiAC-GybbKyXZTUMTs2x8zivceUXNbsj86BHIPIE.Clf0rklq.mjs`)),path:`/termos-de-uso-de-servico`},XF18KdILj:{elements:{},page:T(()=>import(`./kc5vmB0EUnoCRBMpxPRK2QRj8ga4iHB4eUGAZmtWYi8.ClqHtHzy.mjs`)),path:`/prescritor`},EgBbxVtr5:{elements:{},page:T(()=>import(`./3B1g9f3FIxY6f0CP3uxxzdmLyZ0n6WCq2NXdra4FfJQ.dBkCjvhQ.mjs`)),path:`/links`},MSi5zRHXi:{elements:{},page:T(()=>import(`./vl0BF38eNXwIiYYUY0hRf_JEPgtuFpyfrL3tTbAz-LM.DNbmSrqu.mjs`)),path:`/cadastro`},hnNnpjsLV:{elements:{},page:T(()=>import(`./igjzLX7dzq-kCzpeM1k10tAoeDtDcZi_WDikbvsIiW0.CIxuBRnC.mjs`)),path:`/lp`},hIa5Pj4rO:{elements:{},page:T(()=>import(`./ZQ2-hw4kCxFxygLvf_o7JFT5UlTiNPvhFv_MbWBQ_To.w6Cr6Yaq.mjs`)),path:`/is`},S7FNZJpME:{collectionId:`tEToNfAOb`,elements:{},page:T(()=>import(`./OxkOzIEJh9fcnBNwKpv1JoMrapET0uQNHzouF2VlcRI.BBirGgl0.mjs`)),path:`/blog/:lVUTMfGEP`}},U=[{code:`pt-BR`,id:`default`,name:`Portuguese`,slug:``,textDirection:`ltr`}],W={tEToNfAOb:async()=>(await import(`./h7rvs3RiSkqTjfNG-WaivrUxC7Y82kcRFiiUToclAkQ.Ckx8rhwM.mjs`))?.utils},G=`4456cf885e652891a8431b4ae5ad88c84edb056348a6a9acac3eb7131db9f714`,K=typeof document<`u`,q=K&&/bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(r.userAgent),K){s.__framer_importFromPackage=(e,t)=>()=>_(I,{error:`Package component not supported: "`+t+`" in "`+e+`"`}),s.__framer_events=s.__framer_events||[],S(),C();let e=document.getElementById(`main`);`framerHydrateV2`in e.dataset?V(!0,e):V(!1,e)}}))();export{z as getPageRoot}; //# sourceMappingURL=script_main.clAw62Bw.mjs.map