{"version":3,"file":"debugLog.DPP1-9ve.mjs","names":[],"sources":["https:/framerusercontent.com/modules/lAZ2BZ9JYvlotEWncq8V/JCrDYHV6scQB7mfaxNpw/debugLog.js"],"sourcesContent":["// debugLog.ts\n// 특정 도메인에서만 디버그 로그를 출력하는 유틸리티 함수\n/**\n * 디버그 로그 활성화 여부 체크\n */function isDebugEnabled(){if(typeof window===\"undefined\")return false;const currentDomain=window.location.hostname;// 🔍 개발 디버깅용: 현재 도메인 출력 (최초 1회만)\nif(!window.__DEBUG_DOMAIN_LOGGED__){console.log(\"🔍 [debugLog] 현재 도메인:\",currentDomain);window.__DEBUG_DOMAIN_LOGGED__=true;}// 허용 도메인 목록\nconst targetDomain=\"thankful-keep-657244.framer.app\";const isLocalhost=currentDomain===\"localhost\"||currentDomain===\"127.0.0.1\";const isFramerDomain=currentDomain.includes(\"framer.app\")||currentDomain.includes(\"framer.website\")||currentDomain.includes(\"framercanvas.com\");return currentDomain===targetDomain||isLocalhost||isFramerDomain;}/**\n * 여러 개의 인자를 받을 수 있는 디버그 로그 함수\n * @param args - 출력할 메시지들\n */export function debugLog(...args){if(isDebugEnabled()){args.unshift(\"[debugLog]\");console.log(...args);}}/**\n * 경고 레벨의 디버그 로그\n * @param message - 출력할 경고 메시지\n */export function debugWarn(...args){if(isDebugEnabled()){args.unshift(\"[debugWarn]\");console.warn(...args);}}/**\n * 에러 레벨의 디버그 로그\n * @param message - 출력할 에러 메시지\n */export function debugError(...args){if(isDebugEnabled()){args.unshift(\"[debugError]\");console.error(...args);}}\nexport const __FramerMetadata__ = {\"exports\":{\"debugError\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"debugLog\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"debugWarn\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./debugLog.map"],"mappings":"oGAIG,SAAS,GAAgB,CAAC,GAAU,IAAS,OAAY,MAAO,GAAM,IAAM,EAAc,EAAO,SAAS,SAC7G,AAAuF,EAAO,2BAA1D,QAAQ,IAAI,wBAAwB,EAAc,CAAgC,IACtH,IAA2D,EAAY,IAAgB,aAAa,IAAgB,YAAkB,EAAe,EAAc,SAAS,aAAa,EAAE,EAAc,SAAS,iBAAiB,EAAE,EAAc,SAAS,mBAAmB,CAAC,OAAO,IAAgB,mCAAc,GAAa,EAG/T,SAAgB,EAAS,GAAG,EAAK,CAAI,GAAgB,GAAE,EAAK,QAAQ,aAAa,CAAC,QAAQ,IAAI,GAAG,EAAK,EAGtG,SAAgB,EAAU,GAAG,EAAK,CAAI,GAAgB,GAAE,EAAK,QAAQ,cAAc,CAAC,QAAQ,KAAK,GAAG,EAAK,EAGzG,SAAgB,EAAW,GAAG,EAAK,CAAI,GAAgB,GAAE,EAAK,QAAQ,eAAe,CAAC,QAAQ,MAAM,GAAG,EAAK"}