{"version":3,"file":"ResourceEditorialBridge.BCaz3b36.mjs","names":[],"sources":["https:/framerusercontent.com/modules/BxKH10Ric8IGaQ1uzPBa/BVvok5o2Bd6qEdUth3Bf/ResourceEditorialBridge.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Native text stays editable; this bridge supplies the approved custom WOFF.\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function ResourceEditorialBridge({schemas=\"[]\",style}){React.useEffect(()=>{if(typeof document===\"undefined\")return;let records=[];try{records=JSON.parse(decodeURIComponent(schemas));}catch{return;}const offerUrls={\"Aspen Wedding Videography\":\"https://summitphotoandfilm.com/aspen-wedding-videographer\",\"Aspen Event Videography\":\"https://summitphotoandfilm.com/aspen-event-videographer\",\"Wedding Photography And Videography\":\"https://summitphotoandfilm.com/\",\"Aspen Wedding Photography\":\"https://summitphotoandfilm.com/photo\",\"Event Photography (Private Events)\":\"https://summitphotoandfilm.com/events\"};const repairOffers=value=>{if(Array.isArray(value))return value.map(repairOffers);if(!value||typeof value!==\"object\")return value;const record=value;const repaired=Object.fromEntries(Object.entries(record).map(([key,entry])=>[key,repairOffers(entry)]));if(record[\"@type\"]===\"Offer\"&&!record.url&&offerUrls[record.itemOffered?.name]){repaired.url=offerUrls[record.itemOffered.name];}return repaired;};const eventResourceList={\"@context\":\"https://schema.org\",\"@type\":\"ItemList\",name:\"Aspen Event Photography Resources\",itemListOrder:\"https://schema.org/ItemListOrderAscending\",numberOfItems:9,itemListElement:[{\"@type\":\"ListItem\",name:\"Aspen Event Photography: The Complete Planning Guide\",position:1,url:\"https://summitphotoandfilm.com/aspen-colorado-events-photography-guide\"},{\"@type\":\"ListItem\",name:\"Corporate Event Photography Aspen Guide\",position:2,url:\"https://summitphotoandfilm.com/corporate-event-photography-aspen\"},{\"@type\":\"ListItem\",name:\"Corporate Retreat Photography in Aspen\",position:3,url:\"https://summitphotoandfilm.com/corporate-retreat-photography-aspen\"},{\"@type\":\"ListItem\",name:\"Snowmass Corporate Retreat Photographer: What to Expect\",position:4,url:\"https://summitphotoandfilm.com/snowmass-corporate-retreat-photographer\"},{\"@type\":\"ListItem\",name:\"Best Aspen Corporate Event Venues\",position:5,url:\"https://summitphotoandfilm.com/aspen-corporate-event-venues\"},{\"@type\":\"ListItem\",name:\"Aspen Art Event Photographer: Gallery Openings, Art Fairs, and Collector Events\",position:6,url:\"https://summitphotoandfilm.com/aspen-art-event-photographer\"},{\"@type\":\"ListItem\",name:\"Paul JAS Center Aspen Event Photography: A First Look at One of Downtown’s Newest Venues\",position:7,url:\"https://summitphotoandfilm.com/paul-jas-center-aspen-event-photography\"},{\"@type\":\"ListItem\",name:\"Event Video vs Photography\",position:8,url:\"https://summitphotoandfilm.com/event-video-vs-photography\"},{\"@type\":\"ListItem\",name:\"Explore our Aspen event videography resources\",position:9,url:\"https://summitphotoandfilm.com/aspen-event-videography-resources\"}]};const created=[];records.forEach((r,i)=>{if(!r.json||document.getElementById(r.id))return;const el=document.createElement(\"script\");el.id=r.id||`resource-preserved-schema-${i}`;el.type=\"application/ld+json\";try{const parsed=JSON.parse(r.json);const normalized=window.location.pathname.replace(/\\/$/,\"\")===\"/aspen-event-photography-resources\"&&parsed[\"@type\"]===\"ItemList\"?eventResourceList:parsed;el.textContent=JSON.stringify(repairOffers(normalized));}catch{el.textContent=r.json;}document.head.appendChild(el);created.push(el);});return()=>created.forEach(el=>el.remove());},[schemas]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{...style,width:1,height:1,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"style\",{children:`\n @font-face{font-family:SummitResourceTangardenia;src:url(\"https://static.showit.co/file/9OrRHPlpPC60r18-jLDpBQ/shared/tan-gardenia-webfont.woff\") format(\"woff\");font-weight:400;font-style:normal;font-display:swap}\n [data-framer-name^=\"SummitDisplay__Resource\"],[data-framer-name^=\"SummitDisplay__Resource\"] *{font-family:SummitResourceTangardenia,serif!important;font-weight:400!important}\n [data-framer-name=\"Resource CTA\"] *{font-family:Syne,sans-serif!important}\n [data-framer-name=\"Resource Editorial Main\"] a:focus-visible{outline:2px solid currentColor;outline-offset:5px}\n [data-framer-name=\"Resource Guide Card\"]{transition:background-color .2s ease}\n [data-framer-name=\"Resource Guide Card\"]:hover{background-color:rgba(0,0,0,.045)!important}\n @media(max-width:767.98px){[data-framer-name=\"Retreat date\"] .framer-text{font-size:12px!important}}\n @media(prefers-reduced-motion:reduce){[data-framer-name=\"Resource Guide Card\"]{transition:none}}\n `})});}addPropertyControls(ResourceEditorialBridge,{schemas:{type:ControlType.String,title:\"Preserved schema\",displayTextArea:true,defaultValue:\"[]\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ResourceEditorialBridge\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ResourceEditorialBridge.map"],"mappings":"mLAMG,SAAwB,EAAwB,CAAC,UAAQ,KAAK,SAAO,CAAsoG,OAAroG,MAAoB,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAI,EAAQ,CAAC,EAAE,GAAG,CAAC,EAAQ,KAAK,MAAM,mBAAmB,CAAO,CAAC,CAAE,MAAM,CAAC,MAAO,CAAC,IAAM,EAAU,CAAC,4BAA4B,4DAA4D,0BAA0B,0DAA0D,sCAAsC,kCAAkC,4BAA4B,uCAAuC,qCAAqC,uCAAuC,EAAQ,EAAa,GAAO,CAAC,GAAG,MAAM,QAAQ,CAAK,EAAE,OAAO,EAAM,IAAI,CAAY,EAAE,GAAG,CAAC,GAAO,OAAO,GAAQ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