{"version":3,"file":"shared-lib.CyaxYmdl.mjs","names":[],"sources":["https:/framerusercontent.com/modules/Jz6H7HFQhTchUp6uXcdd/lLG55dzzmG6WaJFQOMN3/AutoYearCopyright.js","https:/framerusercontent.com/modules/i99A2Q6RXE7fHkYDzosB/qTL1mnGwStjaxGdJIzke/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth 100%\n * @framerSupportedLayoutHeight 100%\n */export default function AutoYearCopyright(props){const{companyName,rightsText,showSymbol,showTrademark,trademarkType,yearPlacement,font,color,fontSize}=props;const currentYear=new Date().getFullYear();const symbol=showSymbol===\"yes\"?\"\\xa9\":\"\";const trademarkOptionActive=showTrademark===\"yes\";const trademarkSymbol=trademarkOptionActive?trademarkType===\"trademark\"?\"™\":\"\\xae\":\"\";let finalCompanyName=companyName.trim();let finalRightsText=rightsText.trim();let dotAfterCompanyName=\"\";if(yearPlacement===\"beforeCompanyName\"){finalCompanyName=`${currentYear} ${finalCompanyName}`;}else if(yearPlacement===\"afterCompanyName\"&&finalCompanyName){finalCompanyName+=` ${currentYear}`;}else if(yearPlacement===\"beforeRightsText\"&&finalRightsText){finalRightsText=`${currentYear}. ${finalRightsText}`;}else if(yearPlacement===\"afterRightsText\"&&finalRightsText){finalRightsText+=` ${currentYear}`;dotAfterCompanyName=!trademarkOptionActive&&finalCompanyName&&finalRightsText?\".\":\"\";}else if(!finalCompanyName&&!finalRightsText){finalCompanyName=`${currentYear}`;}finalCompanyName+=trademarkSymbol?`${trademarkSymbol}`:\"\";let displayText=symbol?`${symbol} `:\"\";displayText+=finalCompanyName?`${finalCompanyName}${dotAfterCompanyName}`:\"\";if(finalCompanyName&&finalRightsText)displayText+=\" \";displayText+=finalRightsText;const textStyle={fontSize:`${fontSize}px`,color:color,...font};return /*#__PURE__*/_jsx(\"div\",{style:textStyle,children:displayText.trim()});}AutoYearCopyright.defaultProps={companyName:\"Company Name\",rightsText:\"All rights reserved\",showSymbol:\"yes\",showTrademark:\"no\",trademarkType:\"trademark\",yearPlacement:\"afterRightsText\",color:\"#999999\",fontSize:18,font:{family:\"Inter\"}};addPropertyControls(AutoYearCopyright,{font:{type:ControlType.Font,title:\"Font\",defaultValue:\"Inter\",controls:\"extended\"},color:{type:ControlType.Color,title:\"Font Color\",defaultValue:\"#999999\"},companyName:{type:ControlType.String,title:\"Company Name\",defaultValue:\"Company Name\"},rightsText:{type:ControlType.String,title:\"Rights Text\",defaultValue:\"All rights reserved\"},showSymbol:{type:ControlType.SegmentedEnum,title:\"Symbol\",options:[\"yes\",\"no\"],optionTitles:[\"Yes\",\"No\"],defaultValue:\"yes\"},showTrademark:{type:ControlType.SegmentedEnum,title:\"Trademark\",options:[\"yes\",\"no\"],optionTitles:[\"Yes\",\"No\"],defaultValue:\"no\"},trademarkType:{type:ControlType.Enum,options:[\"trademark\",\"registered\"],optionTitles:[\"Trademark\",\"Registered\"],defaultValue:\"trademark\",hidden:({showTrademark})=>showTrademark!==\"yes\"},yearPlacement:{type:ControlType.Enum,options:[\"beforeCompanyName\",\"afterCompanyName\",\"beforeRightsText\",\"afterRightsText\"],optionTitles:[\"Before Company\",\"After Company\",\"Before Rights\",\"After Rights\"],defaultValue:\"afterRightsText\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AutoYearCopyright\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"100%\",\"framerDisableUnlink\":\"*\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"100%\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AutoYearCopyright.map","// Generated by Framer (9805f18)\nexport default function metadata(params,activeLocale){return{description:\"Klarivo is the only managed service and platform that gets brands visibility at scale across Gen AI platforms ChatGPT, Claude, Perplexity and more - ensuring discoverability while and building trust while increasing qualified pipeline. \",favicon:\"https://framerusercontent.com/assets/THJ0l670A6zpCFXLo3iyVkOsxA.png\",robots:\"max-image-preview:large\",title:\"Klarivo\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"iOAMG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,cAAY,aAAW,aAAW,gBAAc,gBAAc,gBAAc,OAAK,QAAM,YAAU,EAAY,EAAY,IAAI,MAAM,CAAC,aAAa,CAAO,EAAO,IAAa,MAAM,IAAO,GAAS,EAAsB,IAAgB,MAAY,EAAgB,EAAsB,IAAgB,YAAY,IAAI,IAAO,GAAO,EAAiB,EAAY,MAAM,CAAK,EAAgB,EAAW,MAAM,CAAK,EAAoB,GAAM,IAAgB,oBAAqB,EAAiB,GAAG,EAAY,GAAG,IAA4B,IAAgB,oBAAoB,EAAkB,GAAkB,IAAI,IAAuB,IAAgB,oBAAoB,EAAiB,EAAgB,GAAG,EAAY,IAAI,IAA2B,IAAgB,mBAAmB,GAAiB,GAAiB,IAAI,IAAc,EAAoB,CAAC,GAAuB,GAAkB,EAAgB,IAAI,IAAY,CAAC,GAAkB,CAAC,IAAiB,EAAiB,GAAG,KAAe,GAAkB,EAAgB,GAAG,IAAkB,GAAG,IAAI,EAAY,EAAO,GAAG,EAAO,GAAG,GAAG,GAAa,EAAiB,GAAG,IAAmB,IAAsB,GAAM,GAAkB,IAAgB,GAAa,KAAI,GAAa,EAAgB,IAAM,EAAU,CAAC,SAAS,GAAG,EAAS,IAAU,QAAM,GAAG,EAAK,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,EAAU,SAAS,EAAY,MAAM,CAAC,CAAC,kBANn4C,IAAoD,CAMi1C,EAAkB,aAAa,CAAC,Y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