"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/YotpoReviews.js"),l=require("./uiV2.js"),t=require("../../common/helpers.js");const a={tag:e.default.tag,label:e.default.label,icon:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${e.default.logoUrl}?width=22&height=22">`,editorConfigs:{placeholder:{flowTag:["Product"]},component:{isThirdParty:!0}},presets:[{id:e.default.id,name:e.default.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.default.logoUrl}?width=22&height=22">
          <span class="preset-item-title">${e.default.label}</span>
        </div>
      `},components:[{tag:e.default.tag}]}],settings:[{id:"setting",controls:[{id:"appBlockId",type:"input",default:""},{id:"install",type:"open-link",target:"_blank",linkType:"install",href:t.get3rdPartyInstallLink({handle:"yotpo-product-reviews-ugc"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/yotpo-social-reviews",appName:e.default.label},{id:"productHandle",type:"product-handle",hide:!0},{id:"version",label:"Choose version",type:"select",default:"v1",options:[{label:"V1",value:"v1"},{label:"V3",value:"v3"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"reviews",options:[{label:"Reviews",value:"reviews"},{label:"Star Badge",value:"star-rating"},{label:"Review Highlights",value:"reviewHighlights"}]},{id:"appKey",label:"Your API key",type:"input"},{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:l.default};exports.default=a;
