{"version":3,"file":"StaticSectionGrid.Cgdvpg7M.mjs","names":["__esmMin","init_npm_react_18_3_1","p","c","J","init_jsx_runtime","createSectionGrid","Component","props","edges","edge","colour","edgeStyle","withSectionGridTop","withSectionGridBottom","withSectionGridRails","withSectionGridRailsBottom","withSectionGridFrame","init_StaticSectionGrid"],"sources":["https:/framerusercontent.com/modules/0yGwjy91aVdOpuMrIJMA/0pw37Q0yK9gfNYjam4D5/StaticSectionGrid.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";// Put this override on a static section or an absolute grid layer inside it.\n// Content reveals belong on the content children, never on this grid's ancestors.\nconst colour=\"var(--clk-section-grid,var(--token-ea398d8e-fc33-4196-a0ce-115901769a0d, rgb(38, 38, 38)))\";const edgeStyle={top:{left:0,right:0,top:0,height:1},right:{right:0,top:0,bottom:0,width:1},bottom:{left:0,right:0,bottom:0,height:1},left:{left:0,top:0,bottom:0,width:1}};function createSectionGrid(edges){return function withSectionGrid(Component){return /*#__PURE__*/React.forwardRef(function StaticSectionGrid(props,ref){return /*#__PURE__*/_jsxs(Component,{...props,ref:ref,\"data-clk-static-grid\":edges.join(\" \"),children:[props.children,edges.map(edge=>/*#__PURE__*/_jsx(\"span\",{\"data-clk-static-grid-edge\":edge,\"aria-hidden\":\"true\",style:{position:\"absolute\",pointerEvents:\"none\",background:colour,...edgeStyle[edge]}},edge))]});});};}export function withSectionGridTop(Component){return createSectionGrid([\"top\"])(Component);}export function withSectionGridBottom(Component){return createSectionGrid([\"bottom\"])(Component);}export function withSectionGridHorizontal(Component){return createSectionGrid([\"top\",\"bottom\"])(Component);}export function withSectionGridRails(Component){return createSectionGrid([\"left\",\"right\"])(Component);}export function withSectionGridRailsBottom(Component){return createSectionGrid([\"left\",\"right\",\"bottom\"])(Component);}export function withSectionGridFrame(Component){return createSectionGrid([\"top\",\"right\",\"bottom\",\"left\"])(Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withSectionGridRailsBottom\":{\"type\":\"reactHoc\",\"name\":\"withSectionGridRailsBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSectionGridBottom\":{\"type\":\"reactHoc\",\"name\":\"withSectionGridBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSectionGridHorizontal\":{\"type\":\"reactHoc\",\"name\":\"withSectionGridHorizontal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSectionGridFrame\":{\"type\":\"reactHoc\",\"name\":\"withSectionGridFrame\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSectionGridTop\":{\"type\":\"reactHoc\",\"name\":\"withSectionGridTop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSectionGridRails\":{\"type\":\"reactHoc\",\"name\":\"withSectionGridRails\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StaticSectionGrid.map"],"mappings":"A,yHAEsR,SAASM,EAAkB,EAAM,CAAC,OAAO,SAAyB,EAAU,CAAC,MAAoB,gBAAiB,SAA2B,EAAM,EAAI,CAAC,MAAoB,gBAAMC,EAAU,CAAC,GAAGC,EAAU,MAAI,uBAAuBC,EAAM,KAAK,GAAG,EAAE,SAAS,CAACD,EAAM,SAASC,EAAM,IAAI,GAAmB,gBAAK,OAAO,CAAC,4BAA4BC,EAAK,cAAc,OAAO,MAAM,CAAC,SAAS,WAAW,cAAc,OAAO,WAAWC,EAAO,GAAGC,EAAUF,EAAK,CAAC,EAAEA,CAAI,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,CAAE,CAAE,CAAC,SAAgBG,EAAmB,EAAU,CAAC,OAAOP,EAAkB,CAAC,KAAK,CAAC,CAAC,CAACC,CAAS,CAAE,CAAC,SAAgBO,EAAsB,EAAU,CAAC,OAAOR,EAAkB,CAAC,QAAQ,CAAC,CAAC,CAACC,CAAS,CAAE,CAA6G,SAAgBQ,EAAqB,EAAU,CAAC,OAAOT,EAAkB,C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