import e from"../../configs/JudgemeReviews.js";import i from"./uiV2.js";import{get3rdPartyInstallLink as t}from"../../common/helpers.js";let config={tag:e.tag,label:e.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${e.logoUrl}?width=22&height=22">`,editorConfigs:{component:{isThirdParty:!0}},presets:[{id:e.id,name:e.label,hideTextContent:!0,icon:{desktop:`
        <div class="w-full flex flex-col items-center">
          <img class="w-24 border border-dark-200 rounded-medium" src="${e.logoUrl}?width=22&height=22">
          <span class="preset-item-title">${e.label}</span>
        </div>
      `},components:[{tag:e.tag}]}],settings:[{id:"setting",controls:[{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t({handle:"integrate-judgeme-reviews"}),appName:e.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/judgeme",appName:e.label},{id:"widgetType",label:"Choose widget",type:"select",default:"single_product_preview_badge",options:[{label:"Preview Badge (Stars)",value:"single_product_preview_badge",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC"],flowTag:["Product","ProductList","ProductListV3"],condition:"or"},{label:"Review Widget",value:"review_widget",hideOnPage:["GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC"],flowTag:["Product","ProductList","ProductListV3"],condition:"or"},{label:"Reviews Carousel",value:"reviews_carousel"},{label:"Reviews Text",value:"reviews_text"},{label:"Section for Medals",value:"section_for_medals"},{label:"UGC Media Grid",value:"ugc_media_grid"},{label:"Verified Review Widget",value:"verified_reviews_count_badge"}],info:"For the full widget configuration, please go to the settings area of the Judge.me Product Reviews application"},{id:"align",label:"Alignment",type:"segment",options:[{label:"Left",value:"left",type:"align"},{label:"Center",value:"center",type:"align"},{label:"Right",value:"right",type:"align"}],devices:{desktop:{default:"left"}}}]}],ui:[],uiV2:i};export{config as default};
