{"version":3,"file":"chunk/826.91cace7eda6888671408.js","mappings":"yIACO,MAAMA,EAAWA,KACtB,IACE,OAAOC,OAAOC,OAASD,OAAOE,GAChC,CAAE,MAAOC,GACP,OAAO,CACT,E,mCCNK,MAAMC,EAASC,IACQ,YAAxBC,SAASC,WACXP,OAAOQ,eAAeH,GAEtBC,SAASG,iBAAiB,mBAAoBJ,EAAU,CAAEK,MAAM,GAClE,C","sources":["webpack://resume-io-frontend/./frontend/builder/utils/isIFrame.ts","webpack://resume-io-frontend/./frontend/shared/ready/index.ts"],"sourcesContent":["// Check if the application is running inside an IFrame\nexport const isIFrame = (): boolean => {\n try {\n return window.self !== window.top\n } catch (e) {\n return true\n }\n}\n","export const ready = (callback: () => void) => {\n if (document.readyState !== 'loading') {\n window.queueMicrotask(callback)\n } else {\n document.addEventListener('DOMContentLoaded', callback, { once: true })\n }\n}\n"],"names":["isIFrame","window","self","top","e","ready","callback","document","readyState","queueMicrotask","addEventListener","once"],"sourceRoot":""}