{"ast":null,"code":"import { checkIfControllingVariants, isVariantLabel } from '../../render/utils/variants.js';\nfunction getCurrentTreeVariants(props, context) {\n  if (checkIfControllingVariants(props)) {\n    var initial = props.initial,\n      animate = props.animate;\n    return {\n      initial: initial === false || isVariantLabel(initial) ? initial : undefined,\n      animate: isVariantLabel(animate) ? animate : undefined\n    };\n  }\n  return props.inherit !== false ? context : {};\n}\nexport { getCurrentTreeVariants };","map":{"version":3,"names":["checkIfControllingVariants","isVariantLabel","getCurrentTreeVariants","props","context","initial","animate","undefined","inherit"],"sources":["C:/ldt/LDT/Safemate_Management/node_modules/framer-motion/dist/es/context/MotionContext/utils.js"],"sourcesContent":["import { checkIfControllingVariants, isVariantLabel } from '../../render/utils/variants.js';\n\nfunction getCurrentTreeVariants(props, context) {\n    if (checkIfControllingVariants(props)) {\n        var initial = props.initial, animate = props.animate;\n        return {\n            initial: initial === false || isVariantLabel(initial)\n                ? initial\n                : undefined,\n            animate: isVariantLabel(animate) ? animate : undefined,\n        };\n    }\n    return props.inherit !== false ? context : {};\n}\n\nexport { getCurrentTreeVariants };\n"],"mappings":"AAAA,SAASA,0BAA0B,EAAEC,cAAc,QAAQ,gCAAgC;AAE3F,SAASC,sBAAsBA,CAACC,KAAK,EAAEC,OAAO,EAAE;EAC5C,IAAIJ,0BAA0B,CAACG,KAAK,CAAC,EAAE;IACnC,IAAIE,OAAO,GAAGF,KAAK,CAACE,OAAO;MAAEC,OAAO,GAAGH,KAAK,CAACG,OAAO;IACpD,OAAO;MACHD,OAAO,EAAEA,OAAO,KAAK,KAAK,IAAIJ,cAAc,CAACI,OAAO,CAAC,GAC/CA,OAAO,GACPE,SAAS;MACfD,OAAO,EAAEL,cAAc,CAACK,OAAO,CAAC,GAAGA,OAAO,GAAGC;IACjD,CAAC;EACL;EACA,OAAOJ,KAAK,CAACK,OAAO,KAAK,KAAK,GAAGJ,OAAO,GAAG,CAAC,CAAC;AACjD;AAEA,SAASF,sBAAsB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}