1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7689],{88880:function(e,t,r){var n=r(83910),i=r(89123),o=r(29901),a=r(25789),l=r(47833),s=r(10678),c=44,d=o.forwardRef((function(e,t){var r=e.classes,l=e.className,d=e.color,u=void 0===d?"primary":d,v=e.disableShrink,f=void 0!==v&&v,m=e.size,h=void 0===m?40:m,p=e.style,x=e.thickness,g=void 0===x?3.6:x,y=e.value,b=void 0===y?0:y,w=e.variant,Z=void 0===w?"indeterminate":w,C=(0,i.Z)(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),k={},j={},S={};if("determinate"===Z||"static"===Z){var N=2*Math.PI*((c-g)/2);k.strokeDasharray=N.toFixed(3),S["aria-valuenow"]=Math.round(b),k.strokeDashoffset="".concat(((100-b)/100*N).toFixed(3),"px"),j.transform="rotate(-90deg)"}return o.createElement("div",(0,n.Z)({className:(0,a.Z)(r.root,l,"inherit"!==u&&r["color".concat((0,s.Z)(u))],{determinate:r.determinate,indeterminate:r.indeterminate,static:r.static}[Z]),style:(0,n.Z)({width:h,height:h},j,p),ref:t,role:"progressbar"},S,C),o.createElement("svg",{className:r.svg,viewBox:"".concat(22," ").concat(22," ").concat(c," ").concat(c)},o.createElement("circle",{className:(0,a.Z)(r.circle,f&&r.circleDisableShrink,{determinate:r.circleDeterminate,indeterminate:r.circleIndeterminate,static:r.circleStatic}[Z]),style:k,cx:c,cy:c,r:(c-g)/2,fill:"none",strokeWidth:g})))}));t.Z=(0,l.Z)((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(d)},80396:function(e,t,r){var n=r(83910),i=r(89123),o=r(29901),a=r(25789),l=r(47833),s=r(17959),c=o.forwardRef((function(e,t){var r=e.absolute,l=void 0!==r&&r,s=e.classes,c=e.className,d=e.component,u=void 0===d?"hr":d,v=e.flexItem,f=void 0!==v&&v,m=e.light,h=void 0!==m&&m,p=e.orientation,x=void 0===p?"horizontal":p,g=e.role,y=void 0===g?"hr"!==u?"separator":void 0:g,b=e.variant,w=void 0===b?"fullWidth":b,Z=(0,i.Z)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return o.createElement(u,(0,n.Z)({className:(0,a.Z)(s.root,c,"fullWidth"!==w&&s[w],l&&s.absolute,f&&s.flexItem,h&&s.light,"vertical"===x&&s.vertical),role:y,ref:t},Z))}));t.Z=(0,l.Z)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,s.Fq)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(c)},55887:function(e,t,r){r.d(t,{Z:function(){return l}});var n=r(83910),i=r(29901),o=r(47942),a=r(49077);function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,o.Z)(),l=(0,a.Z)({theme:r,name:"MuiUseMediaQuery",props:{}});var s="function"===typeof e?e(r):e;s=s.replace(/^@media( ?)/m,"");var c="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,d=(0,n.Z)({},l,t),u=d.defaultMatches,v=void 0!==u&&u,f=d.matchMedia,m=void 0===f?c?window.matchMedia:null:f,h=d.noSsr,p=void 0!==h&&h,x=d.ssrMatchMedia,g=void 0===x?null:x,y=i.useState((function(){return p&&
1c?m(s).matches:g?g(s).matches:v})),b=y[0],w=y[1];return i.useEffect((function(){var e=!0;if(c){var t=m(s),r=function(){e&&w(t.matches)};return r(),t.addListener(r),function(){e=!1,t.removeListener(r)}}}),[s,m,c]),b}},43024:function(e,t,r){var n=r(27194),i=r(7482);t.Z=void 0;var o=i(r(29901)),a=(0,n(r(63519)).default)(o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");t.Z=a},16850:function(e,t,r){var n=r(27194),i=r(7482);t.Z=void 0;var o=i(r(29901)),a=(0,n(r(63519)).default)(o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");t.Z=a},10210:function(e,t,r){var n=r(27194),i=r(7482);t.Z=void 0;var o=i(r(29901)),a=(0,n(r(63519)).default)(o.createElement("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star");t.Z=a},46513:function(e,t,r){var n=r(27194),i=r(7482);t.Z=void 0;var o=i(r(29901)),a=(0,n(r(63519)).default)(o.createElement("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");t.Z=a},16110:function(e,t,r){var n=r(27194),i=r(7482);t.Z=void 0;var o=i(r(29901)),a=(0,n(r(63519)).default)(o.createElement("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4V6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarHalf");t.Z=a},9266:function(e,t,r){r.d(t,{Y:function(){return p}});var n=r(61250),i=r(19844),o=r(92095),a=r(59480),l=r(14583),s=r(48630),c=r(43024),d=r(16850),u=r(29901),v=r(5338);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=(0,a.Z)((function(e){return(0,l.Z)({root:{display:"flex",position:"relative",alignItems:"center"},carousel:{flex:1,width:"100%"},carouselMulti:{display:"flex",width:"100%"},btnPrev:f({left:-15},e.breakpoints.down("sm"),{position:"absolute",left:"unset",insetInlineStart:0,zIndex:1}),btnNext:f({right:-15},e.breakpoints.down("sm"),{position:"absolute",right:"unset",insetInlineEnd:0,zIndex:1}),iconMoveCarousel:{fontSize:50}})})),h={padding:0},p=function(e){var t=e.children,r=e.autoSlideChangeInterval,a=void 0===r?null:r,l=e.controlsColor,f=e.buttonArrowsStyle,p=e.carouselStyle,x=e.visibleCount,g=void 0===x?1:x,y=function(e){k(e)},b=m(),w=(0,s.Z)(),Z=(0,u.useState)(0),C=Z[0],k=Z[1],j=null!==f&&void 0!==f?f:h,S=u.Children.count(t),N=C>0,M=C+g<S,L=S>g,D=l?"#".concat(l):w.palette.primary.main;(0,v.Y)((function(){k(M?C+1:0)}),a);var R=u.Children.toArray(t).slice(C,C+g);return(0,n.jsxs)("div",{className:b.root,children:[L&&(0,n.jsx)(o.Z,{className:b.btnPrev,style:j,onClick:function(){return y(C-1)},"aria-label":"previous slide",disabled:!N,children:"rtl"===w.direction?(0,n.jsx)(d.Z,{style:{color:N?D:""},className:b.iconMoveCarousel}):(0,n.jsx)(c.Z,{style:{color:N?D:""},className:b.iconMoveCarousel})}),(0,n.jsx)("div",{className:"".concat(b.carousel).concat(g>1?" ".concat(b.carouselMulti):""),style:p,children:R.map((function(e,t){return(0,n.jsx)(i.Z,{in:!0,timeout:1e3,children:e},C+t)}))}),L&&(0,n.jsx)(o.Z,{className:b.btnNext,style:j,onClick:function(){return y(C+1)},"aria-label":"next slide",disabled:!M,children:"rtl"===w.direction?(0,n.jsx)(c.Z,{style:{color:M?D:""},className:b.iconMoveCarousel}):(0,n.jsx)(d.Z,{style:{color:M?D:""},className:b.iconMoveCarousel})})]})}},93814:function(e,t,r){r.d(t,{S:function(){return R}});var n=r(61250),i=r(16788),o=r(38559),a=r(52745),l=r(80396),s=r(59480),c=r(14583),d=r(48630),u=r(55887),v=r(88075),f=r(22166),m=r(29901),h=r(79128),p=r(9266),x=r(48076),g=r(8326),y=r(60359),b=r(11306),w=r(19612),Z=r(10194),C=r(41136);var k=(0,s.Z)((function(e){var t,r,n,i=e.palette,o=e.breakpoints,a=e.spacing,l=e.typography;return(0,c.Z)({textDate:{color:function(e){var t=e.dateColor;return null!==t&&void 0!==t?t:i.text.hint}},reviewerName:{fontWeight:500,fontSize:16,color:function(e){var t=e.mainTextColor;return null!==t&&void 0!==t?t:i.text.secondary}},ratingText:{marginRight:a(1),fontSize:16,fontWeight:500,color:function(e){var t=e.mainTextColor;return null!==t&&void 0!==t?t:i.text.secondary}},root:{},reviewStartQuotes:(t={},r=o.down("sm"),n={display:"none"},r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t),reviewText:{textOverflow:"ellipsis",wordWrap:"break-word",overflow:"hidden",fontSize:14,height:l.pxToRem(45),lineHeight:l.pxToRem(15),color:function(e){var t=e.reviewTextColor;return null!==t&&void 0!==t?t:i.text.secondary}}})})),j=function(e){var t=e.review,r=e.starsColor,a=e.dateColor,l=e.mainColor,s=e.reviewTextColor,c=k({dateColor:a?"#".concat(a):null,mainTextColor:l?"#".concat(l):null,reviewTextColor:s?"#".concat(s):null}),d=Z.NumberUtils.convertToTwoDigit(t.averageRating);return(0,n.jsx)(w.Z,{container:!0,className:c.root,children:(0,n.jsxs)(w.Z,{item:!0,md:12,xs:12,children:[(0,n.jsx)(i.Z,{mb:1,display:"flex",alignItems:"center",children:(0,n.jsx)(o.Z,{className:c.reviewerName,children:t.chosenName})}),(0,n.jsxs)(i.Z,{mb:1,display:"flex",alignItems:"center",children:[(0,n.jsx)(o.Z,{className:c.ratingText,children:d}),(0,n.jsx)(g.Z,{currentRating:t.averageRating,size:"sm",color:r})]}),(0,n.jsx)(i.Z,{mb:1,children:(0,n.jsx)(o.Z,{variant:"body1",color:"textSecondary",className:c.reviewText,children:t.text})}),(0,n.jsx)(i.Z,{mb:1,children:(0,n.jsx)(o.Z,{variant:"caption",className:c.textDate,children:(0,n.jsx)(C.Ji,{value:t.createdAt,year:"numeric",month:"2-digit",day:"2-digit"})})})]})})},S=r(12548),N=(0,C.vU)({title:{id:"reviewsWidgetPageMC.meta.title",defaultMessage:"Reviews widget for medical center {profileName}"},metaDescription:{id:"reviewsWidgetPageMC.meta.description",defaultMessage:"Description of reviews widget for medical center {profileName}. He has {reviewsCount} reviews"},topSectionProfileReviewsCount:{id:"reviewsWidgetPageMC.topSection.reviewsCount",defaultMessage:"reviews count {reviewsCount}"},topSectionProfileLink:{id:"reviewsWidgetPageMC.topSection.profileLink",defaultMessage:"Link to profile {profileName}"}});function M(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1)))),n.forEach((function(t){M(e,t,r[t])}))}return e}var D=(0,s.Z)((function(e){var t=e.palette,r=e.spacing;return(0,c.Z)({"@global":{body:{backgroundColor:function(e){return"#".concat(e.bg)}}},root:{padding:r(1,0)},medreviewsLink:{color:t.text.secondary,textDecoration:"none"},topSectionGeneralRatingText:{fontSize:16,color:function(e){var r=e.mainTextColor;return null!==r&&void 0!==r?r:t.text.secondary}}})}));var R=function(e){var t=e.profileData,r=e.reviews,s=e.showHeader,c=void 0!==s&&s,w=e.slideSwitchInterval,Z=void 0===w?null:w,C=e.isMedicalCenter,k=void 0!==C&&C,M=e.entitySectionPathName,R=void 0===M?"provider":M,T=(0,v.useRouter)(),P=T.query["controls-color"],z=T.query["r-text-color"],I=T.query["date-color"],E=T.query["main-text"],O=T.query.logo,W=D({bg:T.query.bg,mainTextColor:E?"#".concat(E):null}),q=m.useContext(y.J),A=(0,d.Z)(),_=k?N:S.s,F=function(e,t){return e?1:t?3:5}((0,u.Z)(A.breakpoints.down("xs")),(0,u.Z)(A.breakpoints.between("xs","sm"))),G=q.locale===b.O.DEFAULT_LANG?"":"/".concat(q.locale),H=Array.isArray(r)?(0,f.Me)(F,r):[];return(0,n.jsxs)("div",{className:W.root,children:[c&&(0,n.jsxs)(i.Z,{mb:1,children:[(0,n.jsxs)(i.Z,{display:"flex",alignItems:"center",mb:1,children:[(0,n.jsx)(o.Z,{className:W.topSectionGeneralRatingText,children:(0,n.jsx)(h.Z,L({},_.topSectionProfileReviewsCount,{values:{reviewsCount:t.reviewsCount}}))}),(0,n.jsx)(i.Z,{mx:2,children:(0,n.jsx)(g.Z,{currentRating:t.generalRating,color:P})}),(0,n.jsx)(a.Z,{className:W.topSectionGeneralRatingText,target:"_blank",rel:"noopener noreferrer",href:"".concat(q.hostName).concat(G,"/").concat(R,"/").concat(t.slug),color:"textSecondary",underline:"always",children:(0,n.jsx)(h.Z,L({},_.topSectionProfileLink,{values:{profileName:t.name}}))})]}),(0,n.jsx)(l.Z,{})]}),(0,n.jsx)("div",{children:(0,n.jsx)(p.Y,{autoSlideChangeInterval:Z,controlsColor:P,carouselStyle:{paddingLeft:24,paddingRight:24},children:H.map((function(e,t){return(0,n.jsx)(i.Z,{display:"flex",alignContent:"space-between",children:e.map((function(e,t){return(0,n.jsx)(i.Z,{marginX:1,width:"".concat(100/F,"%"),px:1,children:(0,n.jsx)(j,{review:e,starsColor:P,dateColor:I,mainColor:E,reviewTextColor:z},e._id)},t)}))},t)}))})}),(0,n.jsx)(x.o,{generalRating:null===t||void 0===t?void 0:t.generalRating,reviewsCount:t.reviewsCount,slug:null===t||void 0===t?void 0:t.slug,entitySectionPathName:R,logo:O,mainTextColor:E,profileName:null===t||void 0===t?void 0:t.name})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.