{"version":3,"file":"DVH_Override.Cqujg6F0.mjs","names":[],"sources":["https:/framerusercontent.com/modules/zmlQTDVfVtDGqqmdOgca/r4nGOkkeBiJC55eYrra0/DVH_Override.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";// -------------------------------------------------- //\n// GEMEINSAME STYLES (HARDCORE FIX)\n// -------------------------------------------------- //\nconst antiPixelStyle={// Zwingt die GPU zur Nutzung, aber anders als vorher\ntransform:\"translate3d(0, 0, 0)\",// Der \"Filter-Hack\": Zwingt Webkit oft zum Neu-Rendern des Textes\nfilter:\"blur(0px)\",// Sorgt für scharfe Kanten bei Schriftarten während der Animation\nWebkitFontSmoothing:\"antialiased\",MozOsxFontSmoothing:\"grayscale\",// Verhindert Flackern der Rückseite\nbackfaceVisibility:\"hidden\"};// -------------------------------------------------- //\n// NUR PIXEL-FIX (OHNE HÖHEN-ANPASSUNG)\n// -------------------------------------------------- //\nexport function withPixelFixOnly(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{style,...restProps}=props;return /*#__PURE__*/_jsx(Component,{ref:ref,...restProps,style:{...style,...antiPixelStyle}});});}// -------------------------------------------------- //\n// DVH OVERRIDE + PIXEL FIX\n// -------------------------------------------------- //\nexport function withDvh(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{style,...restProps}=props;return /*#__PURE__*/_jsx(Component,{ref:ref,...restProps,style:{...style,maxHeight:\"100dvh\",...antiPixelStyle}});});}// -------------------------------------------------- //\n// SVH OVERRIDE + PIXEL FIX\n// -------------------------------------------------- //\nexport function withSvh(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{style,...restProps}=props;return /*#__PURE__*/_jsx(Component,{ref:ref,...restProps,style:{...style,maxHeight:\"100svh\",...antiPixelStyle}});});}// -------------------------------------------------- //\n// DVH HEIGHT (FIXED) + PIXEL FIX\n// -------------------------------------------------- //\nexport function withDvhHeight(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const{style,...restProps}=props;return /*#__PURE__*/_jsx(Component,{ref:ref,...restProps,style:{...style,height:\"100dvh\",...antiPixelStyle}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withSvh\":{\"type\":\"reactHoc\",\"name\":\"withSvh\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPixelFixOnly\":{\"type\":\"reactHoc\",\"name\":\"withPixelFixOnly\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDvhHeight\":{\"type\":\"reactHoc\",\"name\":\"withDvhHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDvh\":{\"type\":\"reactHoc\",\"name\":\"withDvh\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DVH_Override.map"],"mappings":"kHAaA,SAAgB,EAAQ,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,QAAM,GAAG,GAAW,EAAM,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAU,MAAM,CAAC,GAAG,EAAM,UAAU,SAAS,GAAG,EAAe,CAAC,CAAC,EAAG,CAGnO,SAAgB,EAAQ,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,QAAM,GAAG,GAAW,EAAM,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAU,MAAM,CAAC,GAAG,EAAM,UAAU,SAAS,GAAG,EAAe,CAAC,CAAC,EAAG,CAGnO,SAAgB,EAAc,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,QAAM,GAAG,GAAW,EAAM,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAU,MAAM,CAAC,GAAG,EAAM,OAAO,SAAS,GAAG,EAAe,CAAC,CAAC,EAAG,oBAnB3L,IAA8B,CAGnE,EAAe,CACrB,UAAU,uBACV,OAAO,YACP,oBAAoB,cAAc,oBAAoB,YACtD,mBAAmB,SAAS"}