{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/Utilities-LgUQ.js@YgTH7d8XoflBisXAiR7m"],
  "sourcesContent": ["/**\n * Reusable framer utilities\n * @description This file contains utility functions which can be used in any code-overides or\n * code-components in framer.\n * @author Manjunath\n * @see {@link https://manjumjn.com/}\n *//**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx}from\"react/jsx-runtime\";export default function Utilities(props){return /*#__PURE__*/_jsx(\"div\",{});}/**\n * Get element props by tag inside the component\n * @param {Object} elementProps Component props\n * @param {String} elementTag Tag of props to be returned. Eg: a, div, p\n * @returns {Object} props of the `elementTag`\n */export const getPropertiesByTag=(elemProps,elementTag)=>{// Check if the current object is of the target type\nif(elemProps.type===elementTag){return elemProps;}// Iterate through object properties that can hold nested objects (children and props)\nfor(const key of[\"children\",\"props\"]){if(elemProps[key]&&typeof elemProps[key]===\"object\"){// Check if props has more children, if so get first one\nconst childrenProps=Array.isArray(elemProps[key])?elemProps[key][0]:elemProps[key];// Recursively search for the target type within the nested object\nconst result=getPropertiesByTag(childrenProps,elementTag);if(result){return result;}}}// Not found in current object or its children/props\nreturn null;};\nexport const __FramerMetadata__ = {\"exports\":{\"getPropertiesByTag\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Utilities\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utilities.map"],
  "mappings": "yCAAAA,IAiBU,IAAMC,EAAmB,CAACC,EAAUC,IAAa,CAC3D,GAAGD,EAAU,OAAOC,EAAY,OAAOD,EACvC,QAAUE,IAAM,CAAC,WAAW,OAAO,EAAG,GAAGF,EAAUE,CAAG,GAAG,OAAOF,EAAUE,CAAG,GAAI,SAAS,CAC1F,IAAMC,EAAc,MAAM,QAAQH,EAAUE,CAAG,CAAC,EAAEF,EAAUE,CAAG,EAAE,CAAC,EAAEF,EAAUE,CAAG,EAC3EE,EAAOL,EAAmBI,EAAcF,CAAU,EAAE,GAAGG,EAAQ,OAAOA,EAC5E,OAAO,IAAK",
  "names": ["init_ssg_sandbox_shims", "getPropertiesByTag", "elemProps", "elementTag", "key", "childrenProps", "result"]
}
