"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../configs/LooxReviews.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:{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:"add-loox-reviews-star-badge"}),appName:e.default.label},{id:"openApp",type:"open-link",target:"_blank",linkType:"openApp",href:"https://admin.shopify.com/?redirect=/apps/loox-fashion-reviews",appName:e.default.label},{id:"version",label:"Choose version",type:"select",default:"v1",options:[{label:"V1",value:"v1"},{label:"V2",value:"v2"}]},{id:"widgetType",label:"Choose widget",type:"select",default:"reviews_widget",options:[{label:"Reviews Widget",value:"reviews_widget"},{label:"Rating Widget",value:"rating_widget"},{label:"Carousel Widget",value:"carousel_widget",hideOnPage:["GP_PRODUCT"]}]},{id:"widgetTypeV2",label:"Choose widget",type:"select",default:"loox-card-carousel-section",options:[{label:"Cards Carousel",value:"loox-card-carousel-section"},{label:"Gallery Carousel",value:"loox-gallery-carousel-section"},{label:"Onsite Referral Widget",value:"loox-referrals-section"},{label:"Product Reviews Widget",value:"loox-dynamic-section"},{label:"Snippets Widget",value:"loox-snippets-widget",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Star Rating Widget",value:"loox-rating",hideOnPage:["ARTICLE","BLOG","COLLECTION","GP_ARTICLE","GP_BLOG","GP_COLLECTION","GP_INDEX","GP_STATIC","STATIC"]},{label:"Testimonial Carousel",value:"loox-testimonial-carousel-section"},{label:"Trust Badge",value:"loox-trust-badge"},{label:"Video Slider Widget",value:"loox-video-slider"}]},{id:"showAllReviews",type:"toggle",label:"Show reviews from all products",default:!1},{id:"showRatingWidgetAllReviews",type:"toggle",label:"Show reviews from all products",default:!1},{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;
