import{t as e}from"./rolldown-runtime.Bog7j6PM.mjs";import{A as t,F as n,I as r,M as i,P as a,S as o,T as s,a as c,b as l,g as u,i as d,j as f,k as p,m,n as h,r as g,t as _,u as v}from"./react.Bdg0eOjl.mjs";import{G as y,H as b,Q as x,U as S,V as C,W as w,X as T,Y as E,d as D,f as O,g as k,gt as A,h as j,ht as M,l as N,q as P,rt as F,s as I,st as L,ut as R}from"./framer.DsUXaZvL.mjs";async function z({routeId:e,pathVariables:n,localeId:a,collectionItemId:o}){let c=H[e].page.preload(),u=v(j,{children:v(N,{children:v(O,{children:v(k,{isWebsite:!0,environment:`site`,routeId:e,pathVariables:n,routes:H,collectionUtils:W,framerSiteId:G,notFoundPage:y(()=>import(`./kknLTrDNmmRViPFKS0xAlpETUu79zmkbwRMuWS477U4.CbVhCbNo.mjs`)),isReducedMotion:!0,localeId:a,locales:U,preserveQueryParams:void 0,siteCanonicalURL:`https://aplanarch.com`,EditorBar:r===void 0?void 0:(()=>{if(q){console.log(`[Framer On-Page Editing] Unavailable because navigator is bot`);return}return y(async()=>{r.__framer_editorBarDependencies={__version:3,framer:{useCurrentRoute:F,useLocaleInfo:L,useRouter:R},react:{createElement:v,Fragment:f,memo:m,useCallback:p,useEffect:t,useRef:s,useState:i,useLayoutEffect:l},"react-dom":{createPortal:d}};let{createEditorBar:e}=await import(`https://framer.com/edit/init.mjs`);return{default:e()}})})(),adaptLayoutToTextDirection:!1,loadSnippetsModule:new D(()=>import(`./8xULCE8pxpTYAgh7NmZbAQuTwkuiL8wvdlfnujFP4BM.Bo1SHKJm.mjs`)),initialCollectionItemId:o}),value:{autobahnNavigation:!0,editorBarDisableFrameAncestorsSecurity:!1,motionDivToDiv:!1,onPageLocalizationSupport:!0,onPageMoveTool:!0,synchronousNavigationOnDesktop:!1,yieldOnTap:!1}})}),value:{global:{enter:{opacity:0,rotate:0,rotate3d:!1,rotateX:0,rotateY:0,scale:1,transition:{damping:30,delay:0,duration:.4,ease:[.45,0,0,1],mass:1,stiffness:400,type:`tween`},x:`0px`,y:`0px`}},routes:{}}});return await c,u}function B(){K&&r.__framer_events.push(arguments)}async function V(e,t){function n(e,t,n=!0){if(e.caught||r.__framer_hadFatalError)return;let i=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,i),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,i);B(n?`published_site_load_recoverable_error`:`published_site_load_error`,{message:String(e),componentStack:i,stack:i?void 0:e instanceof Error&&typeof e.stack==`string`?e.stack:null})}try{let i,a,o,s,c;if(e)c=JSON.parse(t.dataset.framerHydrateV2),i=c.routeId,a=c.localeId,o=c.pathVariables,s=c.breakpoints,i=E(H,i);else{E(H,void 0);let e=performance.getEntriesByType(`navigation`)[0]?.serverTiming?.find(e=>e.name===`route`)?.description;if(e){let t=new URLSearchParams(e);i=t.get(`id`),a=t.get(`locale`);for(let[e,n]of t.entries())e.startsWith(`var.`)&&(o??={},o[e.slice(4)]=n)}if(!i||!a){let e=C(H,decodeURIComponent(location.pathname),!0,U);i=e.routeId,a=e.localeId,o=e.pathVariables}}let l=z({routeId:i,localeId:a,pathVariables:o,collectionItemId:c?.collectionItemId});r!==void 0&&(async()=>{let e=H[i],t=U.find(({id:e})=>a?e===a:e===`default`).code,n=c?.collectionItemId??null;if(n===null&&e?.collectionId&&W){let r=await W[e.collectionId]?.(),[i]=Object.values(o);r&&typeof i==`string`&&(n=await r.getRecordIdBySlug(i,t||void 0)??null)}let s=Intl.DateTimeFormat().resolvedOptions(),l=s.timeZone,u=s.locale;await new Promise(e=>{document.prerendering?document.addEventListener(`prerenderingchange`,e,{once:!0}):e()}),r.__framer_events.push([`published_site_pageview`,{framerSiteId:G??null,version:2,routePath:e?.path||`/`,collectionItemId:n,framerLocale:t||null,webPageId:e?.abTestingVariantId??i,abTestId:e?.abTestId,referrer:document.referrer||null,url:r.location.href,hostname:r.location.hostname||null,pathname:r.location.pathname||null,hash:r.location.hash||null,search:r.location.search||null,timezone:l,locale:u},`eager`]),await A({priority:`background`,ensureContinueBeforeUnload:!0,continueAfter:`paint`}),document.dispatchEvent(new CustomEvent(`framer:pageview`,{detail:{framerLocale:t||null}}))})();let d=await l;e?(M(`framer-rewrite-breakpoints`,()=>{T(s),r.__framer_onRewriteBreakpoints?.(s)}),(q?e=>e():u)(()=>{P(),x(),_(t,d,{onRecoverableError:n})})):g(t,{onRecoverableError:n}).render(d)}catch(e){throw n(e,void 0,!1),e}}var H,U,W,G,K,q;e((()=>{if(a(),S(),o(),c(),h(),H={augiA20Il:{elements:{Fl4OxyNUP:`about`,tpitcPjoe:`footer`,uAItBNWBN:`services`,UnCHI343t:`projects`,XM_sMfNfj:`call-to-action`},page:y(()=>import(`./I7F5W_7hl61aCCd8Fe4n1Hto3XvOMnoYLOqVcklmrGI.CmigBhYN.mjs`)),path:`/`},bqmRiTEzo:{elements:{lB77u8SQz:`call-to-action`,oD1v4QEVS:`projects`,ohuEYwSoC:`footer`},page:y(()=>import(`./R7ZkyOjmsDdiu6Z-1nZnyORYFH4Ysi87GCY3xLMBeT8.CTahGfjD.mjs`)),path:`/projects`},bwkrCSUq4:{elements:{BBNY0Bmqj:`call-to-action`,tBAuvpVxq:`footer`},page:y(()=>import(`./M6uTnQdpzvNFXzlIEEKyua78DbhdthtZc8WC2_ZB_98.Bxg_DTqs.mjs`)),path:`/about`},QLdADAiin:{elements:{JO1yRK6xL:`footer`},page:y(()=>import(`./rH3-NrEeL6vxQSmRjYwoFumQVl3_wFH9w4rqXeIZaIM.IwVj5brA.mjs`)),path:`/contact`},tbPvYOvtU:{elements:{Mt5td1Gl_:`footer`},page:y(()=>import(`./kknLTrDNmmRViPFKS0xAlpETUu79zmkbwRMuWS477U4.CbVhCbNo.mjs`)),path:`/404`},tslnC1C4J:{collectionId:`bOqh2_0wu`,elements:{JEeJTmOdF:`footer`,PKXrstupU:`fourth-image`,PxyIylUjM:`third-image`,SXhHyoNi_:`call-to-action`,uT2q3cOww:`second-image`},page:y(()=>import(`./8SAPOB2S--ugt2VVecnCm4hOjP4oDFl7sWGA1aNxbb4.CTELDrH_.mjs`)),path:`/projects/:zk15JmmaV`}},U=[{code:`en`,id:`default`,name:`English`,slug:``,textDirection:`ltr`}],W={bOqh2_0wu:async()=>(await import(`./XzmxABIUMtUWdOsnmxJqvhZl0m-21rhE0FL5GJzohjQ.CDeukiFm.mjs`))?.utils},G=`9076270da60a6a47a0e189849c26d068c059ad8d94175c04a5e7ed14a58ba785`,K=typeof document<`u`,q=K&&/bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(n.userAgent),K){r.__framer_importFromPackage=(e,t)=>()=>v(I,{error:`Package component not supported: "`+t+`" in "`+e+`"`}),r.__framer_events=r.__framer_events||[],b(),w();let e=document.getElementById(`main`);`framerHydrateV2`in e.dataset?V(!0,e):V(!1,e)}}))();export{z as getPageRoot}; //# sourceMappingURL=script_main.C4z8PYpY.mjs.map