"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),helpers$1=require("../../helpers.js"),helpers=require("../common/helpers.js");const BoostAISearchDiscovery=({setting:e,advanced:s})=>{let{appBlockId:r,widgetType:o,align:t}=e??{};return o?helpers.getLiquidForAppBlock(r,t,`${s?.cssClass??""} !gp-block [&_*]:gp-max-w-none`):core.template`
    <div
      class="${s?.cssClass}"
      style="${{...core.makeStyleResponsive("ta",e?.align)}}"
    >
      <div class="boost-sd__filter-block"></div>
      ${core.RenderIf(core.isLocalEnv,`<script ${helpers$1.getSettingPreloadData('class="gps-link" delay',"src")}="{{ 'gp-boost-ai-search-and-discovery-v7-5.js' | asset_url }}" defer="defer"></script>`,`<script ${helpers$1.getSettingPreloadData('class="gps-link" delay',"src")}="${core.baseAssetURL}/assets-v2/gp-boost-ai-search-and-discovery-v7-5.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
      </div>
  `};exports.default=BoostAISearchDiscovery;
