Current Path : /storage/v11800/testtest/public_html/wp-content/plugins/woocommerce/assets/client/blocks/

Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64

Upload File :
Current File : /storage/v11800/testtest/public_html/wp-content/plugins/woocommerce/assets/client/blocks/product-rating-stars-frontend.js
(self.webpackChunkwebpackWcBlocksFrontendJsonp=self.webpackChunkwebpackWcBlocksFrontendJsonp||[]).push([[8578],{9549:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Block:()=>p,default:()=>g});var o=n(1609),r=n(7723),s=n(851),a=n(2796),l=n(3566),c=n(1616),i=n(3993);n(7195);const u=t=>({width:t/5*100+"%"}),d=({parentClassName:t})=>{const e=u(0);return(0,o.createElement)("div",{className:(0,s.A)("wc-block-components-product-rating-stars__norating-container",`${t}-product-rating-stars__norating-container`)},(0,o.createElement)("div",{className:"wc-block-components-product-rating-stars__norating",role:"img"},(0,o.createElement)("span",{style:e})),(0,o.createElement)("span",null,(0,r.__)("No Reviews","woocommerce")))},m=t=>{const{rating:e,reviews:n,parentClassName:a}=t,l=u(e),c=(0,r.sprintf)(/* translators: %f is referring to the average rating value */ /* translators: %f is referring to the average rating value */
(0,r.__)("Rated %f out of 5","woocommerce"),e),i={__html:(0,r.sprintf)(/* translators: %1$s is referring to the average rating value, %2$s is referring to the number of ratings */ /* translators: %1$s is referring to the average rating value, %2$s is referring to the number of ratings */
(0,r._n)("Rated %1$s out of 5 based on %2$s customer rating","Rated %1$s out of 5 based on %2$s customer ratings",n,"woocommerce"),(0,r.sprintf)('<strong class="rating">%f</strong>',e),(0,r.sprintf)('<span class="rating">%d</span>',n))};return(0,o.createElement)("div",{className:(0,s.A)("wc-block-components-product-rating-stars__stars",`${a}__product-rating-stars__stars`),role:"img","aria-label":c},(0,o.createElement)("span",{style:l,dangerouslySetInnerHTML:i}))},p=t=>{const{textAlign:e,shouldDisplayMockedReviewsWhenProductHasNoReviews:n}=t,r=(0,l.p)(t),{parentClassName:c}=(0,a.useInnerBlockLayoutContext)(),{product:u}=(0,a.useProductDataContext)(),p=(t=>{const e=parseFloat(t.average_rating);return Number.isFinite(e)&&e>0?e:0})(u),g=(t=>{const e=(0,i.isNumber)(t.review_count)?t.review_count:parseInt(t.review_count,10);return Number.isFinite(e)&&e>0?e:0})(u),v=(0,s.A)(r.className,"wc-block-components-product-rating-stars",{[`${c}__product-rating`]:c,[`has-text-align-${e}`]:e}),f=n?(0,o.createElement)(d,{parentClassName:c}):null,y=g?(0,o.createElement)(m,{rating:p,reviews:g,parentClassName:c}):f;return(0,o.createElement)("div",{className:v,style:r.style},(0,o.createElement)("div",{className:"wc-block-components-product-rating-stars__container"},y))},g=(0,c.withProductDataContext)(p)},3566:(t,e,n)=>{"use strict";n.d(e,{p:()=>l});var o=n(851),r=n(3993),s=n(92),a=n(6032);const l=t=>{const e=(t=>{const e=(0,r.isObject)(t)?t:{style:{}};let n=e.style;return(0,r.isString)(n)&&(n=JSON.parse(n)||{}),(0,r.isObject)(n)||(n={}),{...e,style:n}})(t),n=(0,a.BK)(e),l=(0,a.aR)(e),c=(0,a.fo)(e),i=(0,s.x)(e);return{className:(0,o.A)(i.className,n.className,l.className,c.className),style:{...i.style,...n.style,...l.style,...c.style}}}},92:(t,e,n)=>{"use strict";n.d(e,{x:()=>r});var o=n(3993);const r=t=>{const e=(0,o.isObject)(t.style.typography)?t.style.typography:{},n=(0,o.isString)(e.fontFamily)?e.fontFamily:"";return{className:t.fontFamily?`has-${t.fontFamily}-font-family`:n,style:{fontSize:t.fontSize?`var(--wp--preset--font-size--${t.fontSize})`:e.fontSize,fontStyle:e.fontStyle,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,textDecoration:e.textDecoration,textTransform:e.textTransform}}}},6032:(t,e,n)=>{"use strict";n.d(e,{BK:()=>i,aR:()=>u,fo:()=>d});var o=n(851),r=n(1194),s=n(9786),a=n(3993);function l(t={}){const e={};return(0,s.getCSSRules)(t,{selector:""}).forEach((t=>{e[t.key]=t.value})),e}function c(t,e){return t&&e?`has-${(0,r.c)(e)}-${t}`:""}function i(t){var e,n,r,s,i,u,d;const{backgroundColor:m,textColor:p,gradient:g,style:v}=t,f=c("background-color",m),y=c("color",p),b=function(t){if(t)return`has-${t}-gradient-background`}(g),_=b||(null==v||null===(e=v.color)||void 0===e?void 0:e.gradient);return{className:(0,o.A)(y,b,{[f]:!_&&!!f,"has-text-color":p||(null==v||null===(n=v.color)||void 0===n?void 0:n.text),"has-background":m||(null==v||null===(r=v.color)||void 0===r?void 0:r.background)||g||(null==v||null===(s=v.color)||void 0===s?void 0:s.gradient),"has-link-color":(0,a.isObject)(null==v||null===(i=v.elements)||void 0===i?void 0:i.link)?null==v||null===(u=v.elements)||void 0===u||null===(d=u.link)||void 0===d?void 0:d.color:void 0}),style:l({color:(null==v?void 0:v.color)||{}})}}function u(t){var e;const n=(null===(e=t.style)||void 0===e?void 0:e.border)||{};return{className:function(t){var e;const{borderColor:n,style:r}=t,s=n?c("border-color",n):"";return(0,o.A)({"has-border-color":!!n||!(null==r||null===(e=r.border)||void 0===e||!e.color),[s]:!!s})}(t),style:l({border:n})}}function d(t){var e;return{className:void 0,style:l({spacing:(null===(e=t.style)||void 0===e?void 0:e.spacing)||{}})}}},7195:()=>{}}]);

Softgel-Capsule – Affy Pharma Pvt Ltd

Arrange A Callback
[]
1 Step 1
Full Name
Telephone
Departmentyour full name
Postal Address
Message
0 /
Previous
Next
Shopping Basket