l=10]="small"}(b||(b={})),function(t){t[t.normal=14]="normal",t[t.large=20]="large",t[t.small=12]="small"}(F||(F={})),function(t){t[t.normal=30]="normal",t[t.large=44]="large",t[t.small=20]="small"}(L||(L={}));const z=t=>h.d`
    <span class="decoration-unit ${t=>t.isInfopane?"infopane":""}">
        <product-rating
            rating="${t=>t.rating}"
            color="${t}"
            size="${t=>"1-star-with-shadow"===t.elementStyle?L[t.elementSize]:F[t.elementSize]}"
            elementStyle="${t=>t.elementStyle}"
        />
    </span>
    ${(0,$.g)((t=>"1-star-with-shadow"===t.elementStyle),h.d`
        <pure-text 
            content="${t=>t.rating/2}" 
            font-size="${t=>b[t.elementSize]}" 
            font-weight="700" 
            font-family="${t=>t.fontFamily}"
            text-color="${t}" 
        />   
    `)}
    ${(0,$.g)((t=>t.reviewData&&t.isShowReview),h.d`
        ${(0,$.g)((t=>t.elementStyle),h.d`
            <pure-text 
                content="(${t=>t.reviewData})" 
                font-size="${t=>b[t.elementSize]}" 
                font-family="${t=>t.fontFamily}"
                text-color="${t=>{return"5-star-with-button"===(e=t.elementStyle)||"1-star-with-button"===e?"#FFFFFF":t.color;var e}}"
            />
        `)}
        ${(0,$.g)((t=>!t.elementStyle),h.d`
            <pure-text content="(${t=>t.reviewData})" font-weight="400" />
        `)}
    `)}
`,j=h.d`
    ${(0,$.g)((t=>!t.elementStyle||"default"===t.elementStyle),h.d`
        ${t=>z(t.color)}     
    `)}
    ${(0,$.g)((t=>"1-star-with-shadow"===t.elementStyle),h.d`
        ${t=>z(t.color)}

    `)}
    ${(0,$.g)((t=>"5-star-with-button"===t.elementStyle),h.d`
        <color-button color="${t=>t.color}" padding-horizontal="5px">
            <span slot="icon-section" class="rating-icon-${t=>t.elementSize}">
                ${z("#FFFFFF")}
            </span>
        </color-button>
    `)}
    ${(0,$.g)((t=>"1-star-with-button"===t.elementStyle),h.d`
        <color-button color="${t=>t.color}" padding-horizontal="10px" padding-vertical="2px" border-radius="20px">
            <span slot="icon-section" class="rating-icon-${t=>t.elementSize}">
                <span class="decoration-unit">
                    <pure-text 
                        content="${t=>t.rating/2}" font-size="${t=>b[t.elementSize]}" font-family="${t=>t.fontFamily}" />
                </span>
                ${z("#FFFFFF")}
            </span>
        </color-button>
    `)}
`;let k=class extends r{};k=(0,i.gn)([(0,l.M)({name:"decoration-rating",template:j,styles:d})],k)},72501:function(t,e,n){n.r(e),n.d(e,{MsnNativeAdDivWrapper:function(){return p}});var i=n(33940),o=n(89346),a=n(65620),r=n(26415),l=n(92773);let s=class extends o.H{constructor(){super(...arguments),this.marginLeft="",this.marginRight="",this.marginTop="",this.marginBottom="",this.marginInline="",this.width=""}};(0,i.gn)([a.Lj],s.prototype,"marginLeft",void 0),(0,i.gn)([a.Lj],s.prototype,"marginRight",void 0),(0,i.gn)([a.Lj],s.prototype,"marginTop",void 0),(0,i.gn)([a.Lj],s.prototype,"marginBottom",void 0),(0,i.gn)([a.Lj],s.prototype,"marginInline",void 0),(0,i.gn)([a.Lj],s.prototype,"width",void 0),s=(0,i.gn)([(0,l.uj)(r.EoX,"msn-native-ad-div-wrapper")],s);const c=n(53046).i`
`;const d=n(39181).d`
    <style>
    .wrapper {
        margin-top: ${t=>t.marginTop?t.marginTop:"0"}px;
        margin-bottom: ${t=>t.marginBottom?t.marginBottom:"0"}px;
        margin-left: ${t=>t.marginLeft?t.marginLeft:"0"}px;
        margin-right: ${t=>t.marginRight?t.marginRight:"0"}px;
        margin-inline: ${t=>t.marginInline?t.marginInline:"0"}px;
        width: ${t=>t.width?t.width+"px":"auto"};
    }
    </style>
    <div class="wrapper">
        <slot></slot>
    </div>
`;let p=class extends s{};p=(0,i.gn)([(0,o.M)({name:"msn-native-ad-div-wrapper",template:d,styles:c,shadowOptions:{delegatesFocus:!0}})],p)},56588:function(t,e,n){n.r(e),n.d(e,{MsnNativeAdSpecialOffer:function(){return i.N}});var i=n(29702)}}]);A
Eo