{"version":3,"file":"SoftwareStructuredData.BW9l6DAU.mjs","names":["__esmMin","init_jsx_runtime","c","useLocaleInfo","addPropertyControls","ControlType","init_framer_BikQVKhx","RenderTarget","DEFAULT_PLANS","parsePlans","pageLocale","canvasBadgeStyle","init_AnnySchema","softwareNode","toJson","SoftwareStructuredData","locale","activeLocale","planPrices","plans","json","init_SoftwareStructuredData"],"sources":["https:/framerusercontent.com/modules/EEOudDC9gjQWasa9EAJP/TyvMyIoFqsgAjcZtkxBo/SoftwareStructuredData.js"],"sourcesContent":["// The full anny software node (@id https://anny.co/#webapp) with rating and plan\n// offers. Placed on home (incl. A/B variants), /pricing and the solution pages the\n// old snippet covered; every other page points at it by @id.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,useLocaleInfo}from\"framer\";import{canvasBadgeStyle,DEFAULT_PLANS,pageLocale,parsePlans,softwareNode,toJson}from\"https://framerusercontent.com/modules/FTMNCnfWEiVgLb2dp3xR/daTFLKeu7xxXGgIF3H8B/AnnySchema.js\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function SoftwareStructuredData({plans=\"\"}){const{activeLocale}=useLocaleInfo();const locale=pageLocale(activeLocale);const planPrices=parsePlans(plans||DEFAULT_PLANS);if(RenderTarget.current()===RenderTarget.canvas){return /*#__PURE__*/_jsx(\"div\",{style:canvasBadgeStyle,children:`Structured data: anny software \\xb7 ${planPrices.length+1} offers \\xb7 4.7/131`});}const json=toJson([softwareNode(locale,planPrices)]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:0,height:0,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}addPropertyControls(SoftwareStructuredData,{plans:{type:ControlType.String,title:\"Plans\",description:`Monthly price per resource as shown on /pricing. Empty = ${DEFAULT_PLANS}`,defaultValue:\"\",preventLocalization:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SoftwareStructuredData\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerIntrinsicHeight\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SoftwareStructuredData.map"],"mappings":"A,wQAQG,SAAwBe,EAAuB,CAAC,QAAM,IAAI,CAAC,GAAK,CAAC,gBAAcZ,EAAc,EAAQa,EAAON,EAAWO,CAAY,EAAQC,EAAWT,EAAWU,GAAA,2CAAoB,EAAE,GAAGZ,EAAa,QAAQ,IAAIA,EAAa,OAAQ,MAAoB,gBAAK,MAAM,CAAC,MAAMI,EAAiB,SAAS,uCAAuCO,EAAW,OAAO,EAAE,qBAAqB,CAAC,EAAG,IAAME,EAAKN,EAAO,CAACD,EAAaG,EAAOE,CAAU,CAAC,CAAC,EAAE,MAAoB,gBAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,OAAO,EAAE,SAAS,QAAQ,EAAE,SAAsB,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOE,CAAI,CAAC,CAAC,CAAC,CAAC,CAAE,C,0CAAChB,EAAoBW,EAAuB,CAAC,MAAM,CAAC,KAAKV,EAAY,OAAO,MAAM,QAAQ,YAAY,4DAA4DG,IAAgB,aAAa,GAAG,oBAAoB,EAAI,CAAC,CAAC,C"}