'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("@gem-sdk/core"),s=require("next/dynamic"),i=require("react"),n=require("./SalePageHeaderWarning.js");const t=s(()=>Promise.resolve().then(function(){return require("./kind/basic/index.js")})),u=s(()=>Promise.resolve().then(function(){return require("./kind/modern/index.js")}));exports.default=({builderAttrs:s,builderProps:a,style:o,setting:d,styles:l,children:c})=>{let{kind:g,...m}=d??{},v="morden"===g?u:t,x=r.usePageType(),h=i.useMemo(()=>"GP_FUNNEL_PAGE"===x,[x]);return a?.isPreview&&h?null:e.jsxs("nav",{"data-id":a?.uid,className:r.cls("gp-z-10 hover:gp-z-50",a?.uid),...s,style:{...o,...r.getGlobalColorResponsiveStyle("bgc",l?.headerBg),...r.makeStyleResponsive("h",l?.height)},children:[h&&e.jsx(n.default,{}),e.jsx(v,{...m,...l}),c]})};
