{"version":3,"sources":["../../../src/lib/metadata/resolve-metadata.ts"],"names":["collectMetadata","resolveMetadataItems","accumulateMetadata","resolveMetadata","hasIconsProperty","icons","prop","URL","Array","isArray","mergeStaticMetadata","source","target","staticFilesMetadata","metadataContext","titleTemplates","icon","apple","openGraph","twitter","manifest","hasOwnProperty","resolvedTwitter","resolveTwitter","images","metadataBase","resolvedOpenGraph","resolveOpenGraph","merge","key_","key","title","resolveTitle","alternates","resolveAlternates","verification","resolveVerification","viewport","resolveViewport","resolveIcons","appleWebApp","resolveAppleWebApp","appLinks","resolveAppLinks","robots","resolveRobots","themeColor","resolveThemeColor","resolveAsArrayOrUndefined","authors","resolveItunes","itunes","other","Object","assign","getDefinedMetadata","mod","props","tracingProps","isClientReference","generateMetadata","route","parent","getTracer","trace","ResolveMetadataSpan","spanName","attributes","metadata","collectStaticImagesFiles","type","undefined","iconPromises","map","imageModule","interopDefault","length","Promise","all","flat","resolveStaticMetadata","components","staticMetadata","tree","metadataItems","errorMetadataItem","errorConvention","modType","hasErrorConventionComponent","Boolean","getComponentTypeModule","getLayoutOrPageModule","metadataExport","push","errorMod","errorMetadataExport","parentParams","treePrefix","getDynamicParamFromSegment","searchParams","segment","parallelRoutes","page","currentTreePrefix","isPage","segmentParam","currentParams","value","param","layerProps","params","filter","s","PAGE_SEGMENT_KEY","join","childTree","keys","commonOgKeys","postProcessMetadata","autoFillProps","hasTwTitle","absolute","hasTwDescription","description","hasTwImages","partialTwitter","resolvedMetadata","createDefaultMetadata","resolvers","generateMetadataResults","resolvingIndex","i","j","preloadMetadataExport","resolve","resolveParent","generatedMetadata","currentResolvedMetadata","process","env","NODE_ENV","freeze","require","cloneMetadata","template","resolvedMetadataItems","error","err"],"mappings":";;;;;;;;;;;;;;;;;IA2TsBA,eAAe;eAAfA;;IAgDAC,oBAAoB;eAApBA;;IA0HAC,kBAAkB;eAAlBA;;IAqFAC,eAAe;eAAfA;;;iCA9iBgB;kCACW;8BACpB;uBACa;iCACR;8BAI3B;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