{"version":3,"file":"shared-lib.D1_xESOU.mjs","names":["fonts","css","className","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/sKsTpG5lJbfphwLLZLXs/Np9hqLKPKeIqbP7HJCIU/DayfwhF66.js","https:/framerusercontent.com/modules/eIL3U455UOmodEs6Dssp/tdku8mwXtkZNkFIko5pU/toCjQzWxU.js","https:/framerusercontent.com/modules/LdFmgfn3VY4ig5A8Zi9O/Wpq2ekTQYd9VwVdOvCu9/SitePolishOverride.js","https:/framerusercontent.com/modules/nJfMdqZtt8pf3caXjjNX/8vCi8NKBiyNBPUYfga0k/siteMetadata.js"],"sourcesContent":["// Generated by Framer (0a25121)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-VlZ4X .framer-styles-preset-omm7a:not(.rich-text-wrapper), .framer-VlZ4X .framer-styles-preset-omm7a.rich-text-wrapper a { --framer-link-current-text-decoration: none; --framer-link-hover-text-color: #8f8f8f; --framer-link-hover-text-decoration: none; --framer-link-text-color: #333333; --framer-link-text-decoration: none; transition-delay: 0s; transition-duration: 0.15s; transition-property: color; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }\"];export const className=\"framer-VlZ4X\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (291a518)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;Nuckle Medium\",\"CUSTOMV2;Nuckle Semibold\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Nuckle Medium\",openType:true,source:\"custom\",style:\"normal\",uiFamilyName:\"Nuckle\",url:\"https://framerusercontent.com/assets/sTM3WVSAb1EPbLH4WxKrZOcWVaA.woff\",weight:\"400\"},{cssFamilyName:\"Nuckle Semibold\",openType:true,source:\"custom\",style:\"normal\",uiFamilyName:\"Nuckle\",url:\"https://framerusercontent.com/assets/gqVxj0sLQhADeNkujMznw5Oi0zs.woff2\",weight:\"700\"}]}];export const css=[\".framer-EmmB1 .framer-styles-preset-un0x1e:not(.rich-text-wrapper), .framer-EmmB1 .framer-styles-preset-un0x1e.rich-text-wrapper h1 { --framer-font-family: \\\"Nuckle Medium\\\", \\\"Nuckle Medium Placeholder\\\", sans-serif; --framer-font-family-bold: \\\"Nuckle Semibold\\\", \\\"Nuckle Semibold Placeholder\\\", sans-serif; --framer-font-open-type-features: 'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on; --framer-font-size: 30px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: #333333; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }\"];export const className=\"framer-EmmB1\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useCallback,useEffect,useRef}from\"react\";import{useIsStaticRenderer}from\"framer\";const STYLE_ID=\"site-polish-reduced-motion-style\";const ROOT_ATTR=\"data-site-polish-root\";const ROOT_ATTR_VALUE=\"true\";export function withSitePolish(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const isStaticRenderer=useIsStaticRenderer();const rootRef=useRef(null);const entryAnimationRef=useRef(null);const ioRef=useRef(null);const videoStateRef=useRef(new Map);const reduceMotionRef=useRef(false);const setComposedRef=useCallback(node=>{rootRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&\"current\"in ref){ref.current=node;}},[ref]);useEffect(()=>{if(isStaticRenderer||typeof window===\"undefined\"||typeof document===\"undefined\")return;const reducedMotionQuery=window.matchMedia(\"(prefers-reduced-motion: reduce)\");reduceMotionRef.current=reducedMotionQuery.matches;const onMotionPreferenceChange=event=>{reduceMotionRef.current=event.matches;if(event.matches){entryAnimationRef.current?.cancel();entryAnimationRef.current=null;}};reducedMotionQuery.addEventListener(\"change\",onMotionPreferenceChange);return()=>{reducedMotionQuery.removeEventListener(\"change\",onMotionPreferenceChange);};},[isStaticRenderer]);useEffect(()=>{if(isStaticRenderer||typeof document===\"undefined\")return;if(document.getElementById(STYLE_ID))return;const style=document.createElement(\"style\");style.id=STYLE_ID;style.textContent=`\n@media (prefers-reduced-motion: reduce) {\n  [${ROOT_ATTR}=\"${ROOT_ATTR_VALUE}\"],\n  [${ROOT_ATTR}=\"${ROOT_ATTR_VALUE}\"] * {\n    animation: none !important;\n    transition: none !important;\n  }\n}\n            `;document.head.appendChild(style);},[isStaticRenderer]);useEffect(()=>{if(isStaticRenderer||typeof window===\"undefined\")return;const root=rootRef.current;if(!root)return;root.setAttribute(ROOT_ATTR,ROOT_ATTR_VALUE);if(!reduceMotionRef.current&&typeof root.animate===\"function\"){entryAnimationRef.current?.cancel();const animation=root.animate([{opacity:0},{opacity:1}],{duration:180,easing:\"ease-out\",fill:\"none\"});animation.onfinish=()=>{animation.cancel();if(entryAnimationRef.current===animation){entryAnimationRef.current=null;}};entryAnimationRef.current=animation;}const viewportHeight=window.innerHeight;const images=Array.from(root.querySelectorAll(\"img\"));for(const img of images){const imgElement=img;const loading=(imgElement.getAttribute(\"loading\")||\"\").toLowerCase();if(loading===\"\"||loading===\"auto\"){const rect=imgElement.getBoundingClientRect();if(rect.top>=viewportHeight){imgElement.setAttribute(\"loading\",\"lazy\");}}if(!imgElement.getAttribute(\"decoding\")){imgElement.setAttribute(\"decoding\",\"async\");}}const videos=Array.from(root.querySelectorAll(\"video\"));videoStateRef.current.clear();for(const video of videos){const videoElement=video;if(videoElement.controls)continue;if(!videoElement.muted)continue;const hasAutoplayAttr=videoElement.hasAttribute(\"autoplay\");const isPlayingNow=!videoElement.paused&&!videoElement.ended&&videoElement.readyState>2&&videoElement.currentTime>0;const eligible=hasAutoplayAttr||isPlayingNow;if(!eligible)continue;const preload=(videoElement.getAttribute(\"preload\")||\"\").toLowerCase();if(preload===\"\"||preload===\"auto\"){const rect=videoElement.getBoundingClientRect();if(rect.top>=viewportHeight||rect.bottom<=0){videoElement.setAttribute(\"preload\",\"metadata\");}}videoStateRef.current.set(videoElement,{wasPlayingInitially:isPlayingNow,pausedByObserver:false,eligible});}if(typeof IntersectionObserver!==\"undefined\"){ioRef.current=new IntersectionObserver(entries=>{for(const entry of entries){const target=entry.target;if(!(target instanceof HTMLVideoElement))continue;const state=videoStateRef.current.get(target);if(!state||!state.eligible)continue;const inView=entry.isIntersecting&&entry.intersectionRatio>.2;if(!inView){if(!target.paused){state.wasPlayingInitially=true;target.pause();state.pausedByObserver=true;}continue;}if(state.pausedByObserver&&target.muted){state.pausedByObserver=false;void target.play().catch(()=>{state.pausedByObserver=true;});}}},{root:null,threshold:[0,.2,.5,1],rootMargin:\"120px 0px 120px 0px\"});for(const[video]of videoStateRef.current){ioRef.current.observe(video);}}return()=>{entryAnimationRef.current?.cancel();entryAnimationRef.current=null;ioRef.current?.disconnect();ioRef.current=null;videoStateRef.current.clear();};},[isStaticRenderer]);return /*#__PURE__*/_jsx(Component,{...props,ref:setComposedRef});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withSitePolish\":{\"type\":\"reactHoc\",\"name\":\"withSitePolish\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SitePolishOverride.map","// Generated by Framer (0ea0c8c)\nexport default function metadata(params,activeLocale){return{description:\"Amsterdam, NL\",favicon:\"https://framerusercontent.com/assets/FUHhRQJRDtOplZVgEnpUgTj6xk.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/x6qEJMQnknb0fqHFbVhQiAF4MI.jpg\",title:\"Tom Chung Studio\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"+NAC6B,EAAC,EAAU,UAAU,CAAC,CAAC,EAAeA,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,CAAC,EAAeC,EAAI,CAAC,ydAAyd,EAAeC,EAAU,oCCAhlB,EAAC,EAAU,UAAU,CAAC,yBAAyB,0BAA0B,CAAC,EAAe,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,gBAAgB,SAAS,GAAK,OAAO,SAAS,MAAM,SAAS,aAAa,SAAS,IAAI,wEAAwE,OAAO,KAAK,EAAE,CAAC,cAAc,kBAAkB,SAAS,GAAK,OAAO,SAAS,MAAM,SAAS,aAAa,SAAS,IAAI,yEAAyE,OAAO,KAAK,CAAC,CAAC,CAAC,EAAe,EAAI,CAAC,w2BAAg3B,EAAe,EAAU,kBCD5qC,SAAgB,EAAe,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,IAAM,EAAiB,EAAoB,EAAQ,EAAQC,EAAO,IAAI,EAAQ,EAAkBA,EAAO,IAAI,EAAQ,EAAMA,EAAO,IAAI,EAAQ,EAAcA,EAAO,IAAI,GAAG,EAAQ,EAAgBA,EAAO,EAAK,EAAQ,EAAeC,EAAY,GAAM,CAAC,EAAQ,QAAQ,EAAQ,OAAO,GAAM,WAAY,EAAI,CAAI,EAAW,GAAK,YAA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