{"version":3,"file":"WeddingInteractions.CJJCP_KW.mjs","names":[],"sources":["https:/framerusercontent.com/modules/z5PT2EibJExBt3kKLGRm/L2MPq3I8n4ljQ7SNSeYP/WeddingInteractions.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef}from\"react\";/** Template demo only. Remove this override before connecting a real form destination. */export function withDemoEnquiry(Component){return /*#__PURE__*/forwardRef((props,ref)=>{function preview(event){event.preventDefault();event.stopPropagation();const form=event.target.closest(\"form\");if(form&&!form.reportValidity())return;const confirmation=form?.querySelector('a[href*=\"thank-you\"]');confirmation?.click();}return /*#__PURE__*/_jsx(Component,{...props,ref:ref,onSubmitCapture:preview});});}/** Keyboard access for the existing Framer theme control. */export function withThemeAccess(Component){return function AccessibleTheme(props){return /*#__PURE__*/_jsx(\"div\",{role:\"button\",tabIndex:0,\"aria-label\":\"Light or dark appearance / Helles oder dunkles Design\",style:{width:\"100%\",height:\"100%\",borderRadius:20},onKeyDown:event=>{if(event.key===\"Enter\"||event.key===\" \"){event.preventDefault();event.currentTarget.firstElementChild?.click();}},children:/*#__PURE__*/_jsx(Component,{...props})});};}/** Places native slideshow pagination inside the free photo area. */export function withBeautyPagination(Component){return /*#__PURE__*/forwardRef((props,ref)=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"contents\"},\"data-beauty-slideshow\":\"true\",children:[/*#__PURE__*/_jsx(\"style\",{children:'[data-beauty-slideshow] .framer--slideshow-controls > div:has(> button[aria-label=\"Scroll to page 1\"]) { left: 16px !important; right: auto !important; bottom: 16px !important; transform: none !important; box-shadow: 0 2px 8px rgba(0,0,0,.15); } [data-beauty-slideshow] button:focus-visible { outline: 2px solid white; outline-offset: -3px; }'}),/*#__PURE__*/_jsx(Component,{...props,ref:ref})]}));}\nexport const __FramerMetadata__ = {\"exports\":{\"withThemeAccess\":{\"type\":\"reactHoc\",\"name\":\"withThemeAccess\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withBeautyPagination\":{\"type\":\"reactHoc\",\"name\":\"withBeautyPagination\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDemoEnquiry\":{\"type\":\"reactHoc\",\"name\":\"withDemoEnquiry\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WeddingInteractions.map"],"mappings":"yHAAiL,SAAgB,EAAgB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,SAAS,EAAQ,EAAM,CAAC,EAAM,eAAe,EAAE,EAAM,gBAAgB,EAAE,IAAM,EAAK,EAAM,OAAO,QAAQ,MAAM,EAAK,GAAM,CAAC,EAAK,eAAe,IAA4B,GAAM,cAAc,sBAAsB,EAAA,EAAgB,MAAM,CAAE,CAAC,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAU,MAAI,gBAAgB,CAAO,CAAC,CAAE,CAAC,CAAE,CAA8D,SAAgB,EAAgB,EAAU,CAAC,OAAO,SAAyB,EAAM,CAAC,OAAoB,EAAK,MAAM,CAAC,KAAK,SAAS,SAAS,EAAE,aAAa,wDAAwD,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,aAAa,EAAE,EAAE,UAAU,GAAO,EAAI,EAAM,MAAM,SAAS,EAAM,MAAM,OAAK,EAAM,eAAe,EAAE,EAAM,cAAc,mBAAmB,MAAM,EAAG,EAAE,SAAsB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,CAAC,CAAC,CAAE,CAAE,CAAsE,SAAgB,EAAqB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAmB,EAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,UAAU,EAAE,wBAAwB,OAAO,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS,wVAAwV,CAAC,EAAe,EAAK,EAAU,CAAC,GAAG,EAAU,KAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBAA5rD,IAA8B"}