"use strict";function _defineProperty(t,e,n){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,r=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return r=t.done,t},e:function(t){l=!0,i=t},f:function(){try{r||null==n.return||n.return()}finally{if(l)throw i}}}}function asyncGeneratorStep(t,e,n,a,s,i,r){try{var l=t[i](r),o=l.value}catch(a){return void n(a)}l.done?e(o):Promise.resolve(o).then(a,s)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise(function(a,s){function i(t){asyncGeneratorStep(l,a,s,i,r,"next",t)}function r(t){asyncGeneratorStep(l,a,s,i,r,"throw",t)}var l=t.apply(e,n);i(void 0)})}}function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=Array(e);n\n ').concat(n[0]?'\n \n Image 1\n \n '):"",'\n
\n ').concat(n[1]?'\n \n Image 2\n \n '):"","\n ").concat(0\n \n

+').concat(a,"

\n \n
\n "):"","\n \n \n ")},grpInsertModal=function(){var t=document.getElementById("image-modal");null===t&&grEntangleContainer&&document.body.insertAdjacentHTML("beforeend",'\n
\n
\n
X
\n
Close
\n
\n
\n
\n
\n
\n
\n ')},grpHandleImageClick=function(t,e){globalSelectedImages=_toConsumableArray(e),globalActiveImageIndex=t,showModal()},grpCloseModal=function(){var t=document.getElementById("image-modal");t&&(t.style.display="none"),globalSelectedImages=[];var e=document.getElementById("myRgrSilder");e&&(e.innerHTML="")},grpPlusSlides=function(t){grpShowSlides(grpslideIndex+=t)},grpShowSlides=function(t){var e=document.getElementsByClassName("entangle-grp-slide");t>e.length&&(grpslideIndex=e.length),1>t&&(grpslideIndex=1);for(var n=0;n\n \n \n \n '),grpslideIndex=1,grpShowSlides(grpslideIndex)},grpStartTypewriter=function(t){function e(t){return'
    \n '.concat(t.map(function(t){return'
  • '.concat(t,"
  • ")}).join(""),"\n
")}function n(t){return'
\n '.concat(t.join(" "),"\n
")}var a=t.ai_summary,s=t.setting;if(null!=a){var i=document.querySelectorAll("#typewriter-container"),r="";if(a&&0').concat(t,"");switch(e){case"scroll":return'
').concat(t,"
");case"more":void 0===showFullReview[a]&&(showFullReview[a]=!1);var g=showFullReview[a]?t:0==t.length?"":t.length>(null==n?void 0:n.review_truncate_max_len)?"".concat(t.slice(0,null==n?void 0:n.review_truncate_max_len),"... "):t;if(t.length>(null==n?void 0:n.review_truncate_max_len)){var d='
").concat(showFullReview[a]?null==i?void 0:i.show_less_text:null==i?void 0:i.show_more_text,"");g+=d}var h='
').concat(g,"
");return h;default:return'
').concat(t,"
")}},grpToggleFullReview=function(t,e,n,a,s,i,r){if(null!==currentlyExpandedCardId&¤tlyExpandedCardId!==a){showFullReview[currentlyExpandedCardId]=!1;var l=document.getElementById("grp-entangle-read-more-".concat(currentlyExpandedCardId));if(l){var o=l.getAttribute("data-review"),c=JSON.parse(l.getAttribute("data-settings")),g=grpRenderReviewDisplay(o,e,c,currentlyExpandedCardId,s,i,r);l.outerHTML=g}}showFullReview[a]=!showFullReview[a],currentlyExpandedCardId=showFullReview[a]?a:null;var d=document.getElementById("grp-entangle-read-more-".concat(a)),h=t.replace(/%27/g,"'").replace(/%26/g,"
");if(d){var p=grpRenderReviewDisplay(h,e,n,a,s,i,r);d.outerHTML=p}void 0!==GrpSwiperGobal&&!s&&grpUpdateSwiperHeight(a)},grpCustomHeadingHtml=function(t,e){return null!=t&&t.enable_custom_heading&&t.custom_heading&&""!==t.custom_heading.trim()?'\n
\n ').concat(t.custom_heading,"\n
\n "):""},grpUpdateSwiperHeight=function(t){var e,n,a=null===(e=GrpSwiperGobal)||void 0===e?void 0:e.el;if(null==grpInitialHeight&&(grpInitialHeight=null===(n=GrpSwiperGobal)||void 0===n?void 0:n.height),a){var s=document.getElementById("grp-entangle-read-more-".concat(t)),i=null==s?void 0:s.offsetHeight;a.style.height=showFullReview[t]?grpInitialHeight+i+"px":grpInitialHeight+20+"px",GrpSwiperGobal.update()}},isGrpJsonObjectString=function(t){try{var e=JSON.parse(t);return"object"===_typeof(e)&&null!==e&&!Array.isArray(e)}catch(t){return!1}},GrpReviewerLinkGenerate=function(t){var e=t.url,n=t.placeId;if(!e||!n)return"#";var a=e.match(/^(https:\/\/www\.google\.com\/maps\/contrib\/\d+)/);if(a&&a[0]){var s=a[0],i="".concat(s,"/place/").concat(n);return i}return e},grpTextBySelectedLayout=function(t){for(var e=[{"badge-I":"grp-mid"},{"slider-light":"grp-mid"},{reviewWithArrow:"grp-mid"},{"badge-II":"grp-mid"},{"badge-III":"grp-mid"},{oneSlider:"grp-long"},{sliderTopProfile:"grp-long"},{sliderdownstar:"grp-mid"},{badgeReviewSlider:"grp-mid"},{sliderReview:"grp-long"},{sliderReviewImage:"grp-mid"},{reviewAndBadge:"grp-mid"},{reviewAndBadgeIV:"grp-mid"},{grid:"grp-mid"},{list:"grp-long"},{"list-I":"grp-mid"},{masonry:"grp-long"},{static:"grp-mid"},{floating:"grp-mid"},{popupfloating:"grp-mid"},{"popup-slider":"grp-mid"},{googleBadge:"grp-mid"},{googleBadgeI:"grp-mid"},{avatarstar:"grp-mid"},{badgeonly:"grp-mid"},{badgewithrow:"grp-mid"},{badgebutton:"grp-mid"},{badgebuttonI:"grp-mid"}],n=0,a=e;ni;i++)if(i');else if(i===a(t)){var r=(t-a(t)).toFixed(1);s+=.3>=r?''):.7>=r?''):'')}else s+='');return!!n&&(s+='\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\n'),s},GrpHandleToggleClick=function(t,e){var n=e,a=t.srcElement.parentElement.parentElement.firstElementChild,s=t.srcElement;s.innerHTML===n.show_less_text?(s.innerHTML=n.show_more_text,150>=a.innerHTML.length?a.style.cssText="-webkit-line-clamp: 3;":299>=a.innerHTML.length?a.style.cssText="-webkit-line-clamp: 4;":300n&&s&&i&&"badge-I"!==t&&(s.style.flexDirection="column",i.style.alignItems="center"),490>n?a&&(a.style.gridTemplateColumns="repeat(1, 1fr)"):768>n?a&&(a.style.gridTemplateColumns="repeat(2, 1fr)"):a&&(a.style.gridTemplateColumns="repeat(3, 1fr)")},GrpRemoveApp=function(){grEntangleContainer.remove()},grEntanglePopulateHTML=function(){var t=_asyncToGenerator(_regeneratorRuntime().mark(function t(e){var n,a,s,i,r,l,o,c,g,d,h,p,u,y,v,m,_,w,f,x,b,C;return _regeneratorRuntime().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!("undefined"!=typeof grp_app_metadata&&0\n
\n
\n
\n ').concat("withImage"===this.badgeType?'
Thumbnail
'):"",'\n
\n ').concat("withImage"===this.badgeType?"":'
'.concat(this.getAverageReviewComment(this.rating),"
"),"\n ").concat("withImage"===this.badgeType?'
'.concat(this.name,"
"):"",'\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor),"\n
\n ").concat("withImage"===this.badgeType?'"):'"),"\n ").concat("withImage"===this.badgeType?"":'',"\n\n
\n
\n
\n
\n \n ")}}])}(),GrpBadgeOnly=function(){function t(e,n,a,s,i,r){_classCallCheck(this,t),this.total_num_of_reviews=null==s?void 0:s.total_review,this.rating=null==s?void 0:s.rating,this.name=null==s?void 0:s.name,this.place_id=null==s?void 0:s.place_id,this.profile_photo=null==s?void 0:s.image_url,this.buttonType=null==s?void 0:s.buttonType,this.style=a,this.starColor=a.star_color}return _createClass(t,[{key:"getAverageReviewComment",value:function(t){var e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}},{key:"changeBackground",value:function(t){t.target.style.color="#fe8403"}},{key:"changdeBackground",value:function(t){t.target.style.color=this.getStyleColor()}},{key:"render",value:function(){var t=this.place_id,e=this.rating,n="color: ".concat("light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff",";\n\n background-color: ").concat("custom"===this.style.color_scheme?this.style.customStyle.custom_background||"transparent":"dark"===this.style.color_scheme?"#222222":"azlight"===this.style.color_scheme?"#f4f6f9":"transparent"===this.style.color_scheme?"transparent":("light"!==this.style.color_scheme||"static"!==this.layoutType&&this.layoutType,"#f7f7f7"));return'\n \n
\n
\n
\n \n
\n \n
\n
').concat(e,'
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor),'\n
\n
\n ').concat(void 0===this.style.custom_translations.see_all_review?"see all our reviews":this.style.custom_translations.see_all_review," \n\n
\n
\n
\n
\n
")}}])}(),GrpBadgeWithReview=function(){function t(e,n,a,s,i,r){_classCallCheck(this,t),this.total_num_of_reviews=null==s?void 0:s.total_review,this.rating=null==s?void 0:s.rating,this.name=null==s?void 0:s.name,this.place_id=null==s?void 0:s.place_id,this.profile_photo=null==s?void 0:s.image_url,this.buttonType=null==s?void 0:s.buttonType,this.style=a,this.starColor=a.star_color,this.reviewImage=n}return _createClass(t,[{key:"generateAvatarList",value:function(t){var e=this,n="";return t.slice(0,4).forEach(function(t,a){n+='\n
\n \n Avatar ').concat(a,'\n \n
\n ')}),n}},{key:"getAverageReviewComment",value:function(t){var e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}},{key:"changeBackground",value:function(t){t.target.style.color="#fe8403"}},{key:"changdeBackground",value:function(t){t.target.style.color=this.getStyleColor()}},{key:"render",value:function(){var t=this.place_id,e=this.rating,n="color: ".concat("light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff",";\n ");return'\n \n
\n \n
\n
\n \n
\n \n\n
\n
\n ').concat(this.generateAvatarList(this.reviewImage),'\n
\n \n
\n
\n
\n
\n \n ")}}])}(),GrpAvatarGrid=function(){function t(e,n,a,s,i,r){_classCallCheck(this,t),this.total_num_of_reviews=null==s?void 0:s.total_review,this.rating=null==s?void 0:s.rating,this.name=null==s?void 0:s.name,this.place_id=null==s?void 0:s.place_id,this.profile_photo=null==s?void 0:s.image_url,this.buttonType=null==s?void 0:s.buttonType,this.style=a,this.starColor=a.star_color,this.reviewImage=n}return _createClass(t,[{key:"generateAvatarList",value:function(t){var e=this,n="";return t.slice(0,4).forEach(function(t,a){n+='\n
\n \n Avatar ').concat(a,'\n \n
\n ')}),n}},{key:"getAverageReviewComment",value:function(t){var e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}},{key:"changeBackground",value:function(t){t.target.style.color="#fe8403"}},{key:"changdeBackground",value:function(t){t.target.style.color=this.getStyleColor()}},{key:"render",value:function(){var t=this.place_id,e=this.rating,n="color: ".concat("light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff",";\n ");return'\n \n
\n \n
\n \n
\n \n ")}}])}(),GrpAvatarStar=function(){function t(e,n,a,s,i,r){_classCallCheck(this,t),this.total_num_of_reviews=null==s?void 0:s.total_review,this.rating=null==s?void 0:s.rating,this.name=null==s?void 0:s.name,this.place_id=null==s?void 0:s.place_id,this.profile_photo=null==s?void 0:s.image_url,this.buttonType=null==s?void 0:s.buttonType,this.style=a,this.starColor=a.star_color,this.reviewImage=n}return _createClass(t,[{key:"generateAvatarList",value:function(t){var e="";return t.slice(0,4).forEach(function(t,n){e+='\n
\n Avatar ').concat(n,'\n
\n ')}),e}},{key:"getAverageReviewComment",value:function(t){var e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}},{key:"changeBackground",value:function(t){t.target.style.color="#fe8403"}},{key:"changdeBackground",value:function(t){t.target.style.color=this.getStyleColor()}},{key:"render",value:function(){var t=this.place_id,e=this.rating,n="color: ".concat("light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff",";\n ");return'\n \n
\n \n
\n
\n
\n
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
').concat(void 0===this.style.custom_translations.rating_text?"Rating":this.style.custom_translations.rating_text," (").concat(e,')
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t ').concat(grpRenderStarDynamic(this.rating,this.starColor),'\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n
\n \n
\n
\n
\n
\n
\n \n ")}}])}(),GrpBadgeButton=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.total_num_of_reviews=null==s?void 0:s.total_review,this.rating=null==s?void 0:s.rating,this.name=null==s?void 0:s.name,this.place_id=null==s?void 0:s.place_id,this.profile_photo=null==s?void 0:s.image_url,this.buttonType=null==s?void 0:s.buttonType,this.style=a,this.badgeType=l,this.starColor=this.style.star_color}return _createClass(t,[{key:"getAverageReviewComment",value:function(t){var e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}},{key:"changeBackground",value:function(t){t.target.style.color="#fe8403"}},{key:"changdeBackground",value:function(t){t.target.style.color=this.getStyleColor()}},{key:"render",value:function(){this.place_id,this.rating;var t="color: ".concat("light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff",";\n\n background-color: ").concat("custom"===this.style.color_scheme?this.style.customStyle.custom_background||"transparent":"dark"===this.style.color_scheme?"#222222":"azlight"===this.style.color_scheme?"#f4f6f9":"transparent"===this.style.color_scheme?"transparent":("light"!==this.style.color_scheme||"static"!==this.layoutType&&this.layoutType,"#f7f7f7")) ;return'\n \n \n \n ')}}])}(),GrpBadgeWithStarLogo=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.total_num_of_reviews=null==s?void 0:s.total_review,this.rating=null==s?void 0:s.rating,this.name=null==s?void 0:s.name,this.place_id=null==s?void 0:s.place_id,this.profile_photo=null==s?void 0:s.image_url,this.buttonType=null==s?void 0:s.buttonType,this.style=a,this.badgeType=l,this.starColor=a.star_color}return _createClass(t,[{key:"getAverageReviewComment",value:function(t){var e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}},{key:"changeBackground",value:function(t){t.target.style.color="#fe8403"}},{key:"changdeBackground",value:function(t){t.target.style.color=this.getStyleColor()}},{key:"render",value:function(){var t=this.place_id,e=(this.rating,"color: ".concat("light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff",";\n background-color: ").concat("custom"===this.style.color_scheme?this.style.customStyle.custom_background||"transparent":"dark"===this.style.color_scheme?"#222222":"azlight"===this.style.color_scheme?"#f4f6f9":"transparent"===this.style.color_scheme?"transparent":("light"!==this.style.color_scheme||"static"!==this.layoutType&&this.layoutType,"#f7f7f7")));return'\n \n
\n
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor),'\n
\n \n
\n
\n
\n ')}}])}(),GrpBadgeWithRow=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.total_num_of_reviews=null==s?void 0:s.total_review,this.rating=null==s?void 0:s.rating,this.name=null==s?void 0:s.name,this.place_id=null==s?void 0:s.place_id,this.profile_photo=null==s?void 0:s.image_url,this.buttonType=null==s?void 0:s.buttonType,this.style=a,this.badgeType=l,this.starColor=this.style.star_color}return _createClass(t,[{key:"getAverageReviewComment",value:function(t){var e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}},{key:"changeBackground",value:function(t){t.target.style.color="#fe8403"}},{key:"changdeBackground",value:function(t){t.target.style.color=this.getStyleColor()}},{key:"render",value:function(){var t=this.place_id,e=this.rating,n="color: ".concat("light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff",";\n\n background-color: ").concat("custom"===this.style.color_scheme?this.style.customStyle.custom_background||"transparent":"dark"===this.style.color_scheme?"#222222":"azlight"===this.style.color_scheme?"#f4f6f9":"transparent"===this.style.color_scheme?"transparent":("light"!==this.style.color_scheme||"static"!==this.layoutType&&this.layoutType,"#f7f7f7"));return'\n \n
\n
\n
\n
').concat(e,'
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor),'\n
\n
\n
\n
\n \n
\n \n ').concat(void 0===this.style.custom_translations.rating_scale?this.getAverageReviewComment(this.rating):this.style.custom_translations.rating_scale," ").concat(void 0===this.style.custom_translations.rating_text?"Rating":this.style.custom_translations.rating_text,"\n
\n
\n
\n
\n \n ")}}])}(),GrEntangleBadgeComponent=function(){function t(e){_classCallCheck(this,t);var n=e.total_review,a=e.rating,s=e.name,i=e.image_url,r=e.badgeType,l=e.reviewURL,o=e.buttonType,c=e.layoutType,g=e.style,d=e.place_id;this.total_review=n,this.rating=a,this.name=s,this.image_url=i,this.badgeType=r,this.reviewURL=l,this.buttonType=o,this.layoutType=c,this.style=g,this.place_id=d,this.starColor=g.star_color}return _createClass(t,[{key:"getAverageReviewComment",value:function(t){var e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}},{key:"render",value:function(){var t="color: ".concat("light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff",";\n\n background-color: ").concat("custom"===this.style.color_scheme?this.style.customStyle.custom_background||"transparent":"dark"===this.style.color_scheme?"#222222":"azlight"===this.style.color_scheme?"transparent":"transparent"===this.style.color_scheme?"transparent":"light"!==this.style.color_scheme||"static"!==this.layoutType&&"floating"!==this.layoutType?"#ffffff":"#f7f7f7","\n ");return'\n
\n
\n
\n
\n ').concat("withImage"===this.badgeType?'
Thumbnail
'):"",'\n
\n ').concat("withImage"===this.badgeType?"":'
\n \n '.concat(void 0===this.style.custom_translations.rating_scale?this.getAverageReviewComment(this.rating):this.style.custom_translations.rating_scale,"\n
"),"\n ").concat("withImage"===this.badgeType?'
'.concat(this.name,"
"):"",'\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor),"\n
\n ").concat("withImage"===this.badgeType?'"):'"),"\n ").concat("withImage"===this.badgeType?"":'',"\n\n
\n
\n
\n
\n
\n ")}}])}(),GrEntangleBadgeStar=function(){function t(e){_classCallCheck(this,t);var n=e.total_review,a=e.rating,s=e.name,i=e.image_url,r=e.badgeType,l=e.reviewURL,o=e.buttonType,c=e.layoutType,g=e.style,d=e.place_id;this.total_review=n,this.rating=a,this.name=s,this.image_url=i,this.badgeType=r,this.reviewURL=l,this.buttonType=o,this.layoutType=c,this.style=g,this.place_id=d,this.starColor=g.star_color}return _createClass(t,[{key:"getAverageReviewComment",value:function(t){var e=["Poor","Average","Good","Very Good","Excellent"];return e[Math.round(t)-1]}},{key:"render",value:function(){var t="color: ".concat("light"===this.style.color_scheme?"#303030":"custom"===this.style.color_scheme?this.style.customStyle.custom_text_color:"azlight"===this.style.color_scheme?"#222222":"transparent"===this.style.color_scheme?"#222":"#fff",";\n \n background-color: ").concat("custom"===this.style.color_scheme?this.style.customStyle.custom_card_background||"transparent":"dark"===this.style.color_scheme?"#222222":"azlight"===this.style.color_scheme?"#f4f6f9":"transparent"===this.style.color_scheme?"transparent":"light"!==this.style.color_scheme||"static"!==this.layoutType&&"floating"!==this.layoutType&&"badgeReviewSlider"!==this.layoutType?"#f6f6f8":"#EFEFEF","\n ");return'\n
\n
\n
\n
\n
\n
\n ').concat("withImage"===this.badgeType?'
Thumbnail
'):"",'\n
\n ').concat("withImage"===this.badgeType?"":'
\n \n '.concat(void 0===this.style.custom_translations.rating_scale?this.getAverageReviewComment(this.rating):this.style.custom_translations.rating_scale,"\n
"),"\n ").concat("withImage"===this.badgeType?'
'.concat(this.name,"
"):"",'\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor),"\n
\n ").concat("withImage"===this.badgeType?'"):'"),"\n ").concat("withImage"===this.badgeType?"":'',"\n \n
\n
\n
\n
\n
\n ")}}])}(),GrEntangleCardComponent=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.layoutType,h=e.image_url,p=e.author_url,u=e.cardId;this.cardId=u,this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=p,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px",this.image_url=h}return _createClass(t,[{key:"render",value:function(){var t,e,n;return'\n
\n
\n
\n ').concat(this.cardSettings.showImage&&this.author_image?'\n
\n User Image\n
\n '):"",'\n
\n ').concat(this.cardSettings.showName?'\n
').concat(this.author_name,"
\n "):"",'\n
').concat("reviewAndBadgeIV"===this.layoutType?getTimeAgo(this.time,this.styles.custom_translations):grpGetDateString(this.time,this.styles.custom_translations,this.cardSettings.dateformat),"\n ").concat("reviewAndBadgeIV"===this.layoutType?'\n \n Google\n \n '):"",'\n
\n
\n\n
\n \n
\n \n \n
\n
\n
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor,null===(t=this.cardSettings)||void 0===t?void 0:t.verified_review_logo),'\n
\n
\n
\n ').concat(this.cardSettings.hideText?"":grpRenderReviewDisplay(this.review,null===(e=this.cardSettings)||void 0===e?void 0:e.review_text_display_format,this.cardSettings,this.cardId,!("popupfloating"!==this.layoutType),null===(n=this.styles)||void 0===n?void 0:n.custom_translations,this.layoutType),"\n ").concat(null!=this.image_url&&this.cardSettings.show_review_image?GrpImageCard(this.image_url,this.cardSettings.align):"","\n \n \n
\n
\n ")}}])}(),GrEntangleCardArrow=function(){function t(e){_classCallCheck(this,t);var n=e.author_name,a=e.author_image,s=e.time,i=e.review,r=e.rating,l=e.center,o=e.styles,c=e.cardSettings,g=e.layoutType,d=e.image_url,h=e.author_url,p=e.cardId;this.cardId=p,this.author_name=n,this.author_image=a,this.time=s,this.review=i,this.rating=r,this.center=l,this.styles=o,this.cardSettings=c||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=g,this.author_url=h,this.starColor=o.star_color,this.backgroundColor=this.getBackgroundColor(),this.textColor=this.getTextColor(),this.textFontSize="".concat(null==o?void 0:o.customStyle.review_text_font_size,"px"),this.image_url=d}return _createClass(t,[{key:"getBackgroundColor",value:function(){var t;return"custom"===this.styles.color_scheme?null===(t=this.styles.customStyle)||void 0===t?void 0:t.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"transparent"===this.styles.color_scheme?"#EFEFEF":"azlight"===this.styles.color_scheme?"#f4f6f9":"#f6f6f8"}},{key:"getTextColor",value:function(){ return"light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"transparent"===this.styles.color_scheme?"#222":"azlight"===this.styles.color_scheme?"#222222":"#fff"}},{key:"render",value:function(){var t,e,n;return'\n
\n
\n
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor,null===(t=this.cardSettings)||void 0===t?void 0:t.verified_review_logo),'\n
\n \n
\n
\n ').concat(this.cardSettings.hideText?"":grpRenderReviewDisplay(this.review,null===(e=this.cardSettings)||void 0===e?void 0:e.review_text_display_format,this.cardSettings,this.cardId,"popupfloating"===this.layoutType,null===(n=this.styles)||void 0===n?void 0:n.custom_translations,this.layoutType),"\n ").concat(this.image_url&&this.cardSettings.show_review_image?GrpImageCard(this.image_url,this.cardSettings.align):"",'\n
\n
\n
\n
\n ').concat(this.cardSettings.showImage&&this.author_image?'\n \n User Image\n '):"",'\n
\n ').concat(this.cardSettings.showName?'
').concat(this.author_name,"
"):"",'\n
\n ').concat(grpGetDateString(this.time,this.styles.custom_translations,this.cardSettings.dateformat),"\n
\n
\n
\n
\n ")}}])}(),GrEntangleCardTwoRow=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.layoutType,h=e.image_url,p=e.author_url,u=e.cardId;this.cardId=u,this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=p,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px",this.image_url=h}return _createClass(t,[{key:"render",value:function(){var t,e;return'\n
\n
\n
\n
\n
\n ').concat(this.cardSettings.showImage&&this.author_image?'\n
\n User Image\n
\n '):"",'\n
\n ').concat(this.cardSettings.showName?'\n
').concat(this.author_name,"
\n "):"",'\n
').concat(grpGetDateString(this.time,this.styles.custom_translations,this.cardSettings.dateformat),'
\n
\n \n
\n \n \n
\n
\n
\n \n
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor,this.cardSettings.verified_review_logo),'\n
\n
\n \n
\n
\n ').concat(this.cardSettings.hideText?"":grpRenderReviewDisplay(this.review,null===(t=this.cardSettings)||void 0===t?void 0:t.review_text_display_format,this.cardSettings,this.cardId,!1,null===(e=this.styles)||void 0===e?void 0:e.custom_translations,this.layoutType),"\n ").concat(null!=this.image_url&&this.cardSettings.show_review_image?GrpImageCard(this.image_url,this.cardSettings.align):"","\n
\n \n
\n
\n ")}}])}(),GrEntangleCardComponentDownStar=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.layoutType,h=e.image_url,p=e.author_url,u=e.cardId;this.cardId=u,this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=p,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px",this.image_url=h}return _createClass(t,[{key:"render",value:function(){var t,e;return'\n
\n
\n ').concat(this.cardSettings.hideText?"":grpRenderReviewDisplay(this.review,null===(t=this.cardSettings)||void 0===t?void 0:t.review_text_display_format,this.cardSettings,this.cardId,!1,null===(e=this.styles)||void 0===e?void 0:e.custom_translations,this.layoutType),"\n ").concat(null!=this.image_url&&this.cardSettings.show_review_image?GrpImageCard(this.image_url,this.cardSettings.align):"",'\n
\n\n\n
\n
\n ').concat(this.cardSettings.showImage&&this.author_image?'\n
\n User Image\n
\n '):"",'\n
\n ').concat(this.cardSettings.showName?'\n
').concat(this.author_name,"
\n "):"",'\n
').concat(grpGetDateString(this.time,this.styles.custom_translations,this.cardSettings.dateformat),'
\n
\n\n
\n \n \n \n
\n
\n
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor,this.cardSettings.verified_review_logo),"\n
\n
\n
\n\n\n
\n ")}}])}(),GrEntangleCardProfile=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.layoutType,h=e.image_url,p=e.author_url,u=e.cardId;this.cardId=u,this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=p,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px",this.image_url=h}return _createClass(t,[{key:"render",value:function(){var t,e;return'\n
\n
\n
\n ').concat(this.cardSettings.showImage&&this.author_image?'\n
\n User Image\n
\n '):"",'\n
\n ').concat(this.cardSettings.showName?'\n
').concat(this.author_name,"
\n "):"",'\n
').concat(grpGetDateString(this.time,this.styles.custom_translations,this.cardSettings.dateformat),'
\n
\n\n
\n \n \n
\n
\n
\n\n
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor,this.cardSettings.verified_review_logo),'\n
\n
\n
\n ').concat(this.cardSettings.hideText?"":grpRenderReviewDisplay(this.review,null===(t=this.cardSettings)||void 0===t?void 0:t.review_text_display_format,this.cardSettings,this.cardId,!1,null===(e=this.styles)||void 0===e?void 0:e.custom_translations,this.layoutType),"\n ").concat(null!=this.image_url&&this.cardSettings.show_review_image?GrpImageCard(this.image_url,this.cardSettings.align):"","\n
\n
\n ")}}])}(),GrEntangleCardReview=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.image_url,h=e.layout,p=e.author_url,u=e.cardId;this.cardId=u,this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layout=h,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":(this.styles.color_scheme,"#EFEFEF"),this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px",this.customText={for_write_a_review:this.styles.custom_translations.write_a_review,for_view_all_review:this.styles.custom_translations.show_all_review,for_show_more_text:this.styles.custom_translations.show_more_text,for_show_less_text:this.styles.custom_translations.show_less_text},this.isExpanded=!1,this.image_url=d,this.author_url=p}return _createClass(t,[{key:"render",value:function(){var t,e;JSON.stringify(this.styles.custom_translations);return'\n
\n
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor,this.cardSettings.verified_review_logo),"\n
\n
\n ").concat(null!=this.image_url&&this.cardSettings.show_review_image?GrpImageCard(this.image_url,this.cardSettings.align):"",'\n
\n
\n ').concat(this.cardSettings.hideText?"":grpRenderReviewDisplay(this.review,null===(t=this.cardSettings)||void 0===t?void 0:t.review_text_display_format,this.cardSettings,this.cardId,!1,null===(e=this.styles)||void 0===e?void 0:e.custom_translations,this.layoutType),'\n
\n \n
\n
\n
\n
\n ').concat(this.cardSettings.showImage&&this.author_image?'\n
\n User Image\n
\n '):"",'\n
\n ').concat(this.cardSettings.showName?'\n
').concat(this.author_name,"
\n "):"",'\n
').concat(grpGetDateString(this.time,this.styles.custom_translations,this.cardSettings.dateformat),'
\n
\n
\n
\n \n \n \n
Google Review
\n
\n \n \n
\n
\n \n \n \n
\n ')}}])}(),GrEntangleCardOne=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.image_url,h=e.author_url,p=e.cardId,u=e.layoutType;this.cardId=p,this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.author_url=h,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px",this.customText={for_write_a_review:this.styles.custom_translations.write_a_review,for_view_all_review:this.styles.custom_translations.show_all_review,for_show_more_text:this.styles.custom_translations.show_more_text,for_show_less_text:this.styles.custom_translations.show_less_text},this.isExpanded=!1,this.image_url=d,this.layoutType=u}return _createClass(t,[{key:"render",value:function(){var t,e;JSON.stringify(this.styles.custom_translations);return'\n
\n
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor,this.cardSettings.verified_review_logo),'\n
\n
\n
\n ').concat(this.cardSettings.hideText?"":grpRenderReviewDisplay(this.review,null===(t=this.cardSettings)||void 0===t?void 0:t.review_text_display_format,this.cardSettings,this.cardId,!1,null===(e=this.styles)||void 0===e?void 0:e.custom_translations,this.layoutType),"\n
\n ").concat(null!=this.image_url&&this.cardSettings.show_review_image?GrpImageCard(this.image_url,this.cardSettings.align):"",'\n
\n
\n
\n ').concat(this.cardSettings.showImage&&this.author_image?'\n
\n User Image\n
\n '):"",'\n
\n ').concat(this.cardSettings.showName?'\n
').concat(this.author_name,"
\n "):"",'\n
').concat(grpGetDateString(this.time,this.styles.custom_translations,this.cardSettings.dateformat),'
\n
\n \n \n
Google Review
\n
\n
\n\n\n
\n
\n\n\n\n
\n ')}}])}(),GrEntangleCardOnePop=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.layoutType,h=e.image_url,p=e.author_url,u=e.cardId;this.cardId=u,this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.author_url=p,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.background="custom"===this.styles.color_scheme?c.customStyle.custom_background||"transparent":"dark"===this.styles.color_scheme?"#222222":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"transparent":"#ffffff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px",this.image_url=h}return _createClass(t,[{key:"render",value:function(){var t;return'\n
\n
\n \n \n
\n
\n
\n ').concat(this.cardSettings.showImage&&this.author_image?'\n
\n User Image\n
\n '):"",'\n
\n ').concat(this.cardSettings.showName?'\n
').concat(this.author_name,"
\n "):"",'\n
\n ').concat(this.cardSettings.hideText?"":grpRenderReviewDisplay(this.review,"truncated",this.cardSettings,this.cardId,!0,null===(t=this.styles)||void 0===t?void 0:t.custom_translations,this.layoutType),'\n\n
\n
\n\n\n
\n
\n
\n
\n
\n \n \n
\n
').concat(grpGetDateString(this.time,this.styles.custom_translations,this.cardSettings.dateformat),'
\n
\n
\n
\n ').concat(grpRenderStarDynamic(this.rating,this.starColor,this.cardSettings.verified_review_logo),"\n
\n
\n
\n
\n ")}}])}(),GrEntangleListGrid=function(){function t(e,n,a,s,i,r){var l,o;_classCallCheck(this,t),this.layoutType=e,this.reviewData=n,this.styles=a,this.isCentered=i,this.cardSettings=r,this.badgeData=s,this.hideNoComments=r.hideNoComments,this.filterStars=r.filterStars,this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.backgroundColor="custom"===this.styles.color_scheme?null===(l=this.styles.customStyle)||void 0===l?void 0:l.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.starColor=null===(o=this.styles.customStyle)||void 0===o?void 0:o.star_color,this.grpReviewMoreData=grpReviewMoreData}return _createClass(t,[{key:"getClassNames",value:function(){if("grid"===this.layoutType)return"grp-entangle-grid"}},{key:"getScrollClassNames",value:function(){return this.styles.customStyle.enable_scroll_button&&"grid"!==this.layoutType?"grp-entangle-width-scroll":"grp-no-width"}},{key:"generateBadgeHtml",value:function(t){return this.badgeData.buttonType?'\n "):""}},{key:"render",value:function(){var t=this,e=this.reviewData.slice(this.styles.customStyle.show_load_more_button?0:void 0,"grid"===this.layoutType?void 0:this.styles.customStyle.show_load_more_button?grpReviewMoreData+grpChuckSize:void 0).map(function(e,n){return'\n
\n ').concat("list-I"===t.layoutType?new GrEntangleCardTwoRow({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,layoutType:t.layoutType,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render():new GrEntangleCardComponent({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,layoutType:t.layoutType,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join("");return"\n ".concat(grpCustomHeadingHtml(this.cardSettings,this.color),'\n
\n
\n
\n
\n \n
').concat(void 0===this.styles.custom_translations.rating_text?"Rating":this.styles.custom_translations.rating_text,'
\n
\n
\n').concat(this.badgeData.rating,'\n\n
\n ').concat(grpRenderStarDynamic(this.badgeData.rating,this.starColor),'\n
\n
').concat(this.badgeData.total_review," ").concat(void 0===this.styles.custom_translations.rating_scale_textI?"Reviews":this.styles.custom_translations.rating_scale_textI,"
\n\n
\n
\n ").concat("list"===this.layoutType||"grid"===this.layoutType||"list-I"===this.layoutType?'
').concat(this.generateBadgeHtml(this.badgeData),"\n
"):"",'\n
\n
\n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?"list-I"===this.layoutType?"
\n ".concat(new GrEntangleCardTwoAI({author_name:"AI-Generated Summary",author_image:"image",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render(),"\n
"):"\n
\n ".concat(new GrEntangleCardAI({author_name:"AI-Generated Summary",author_image:"image",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render(),"\n
"):"","\n\n ").concat(e,"\n\n ").concat(this.styles.customStyle.show_load_more_button&&"grid"!==this.layoutType&&this.reviewData.length>grpReviewMoreData+3?' '):"",'\n
\n \n
\n
\n
\n ').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review," "):"","\n
\n
\n ")}}])}(),GrEntangleMasonry=function(){function t(e,n,a,s,i,r){var l;_classCallCheck(this,t),this.layoutType=e,this.reviewData=n,this.styles=a,this.isCentered=i,this.cardSettings=r,this.badgeData=s,this.hideNoComments=r.hideNoComments,this.filterStars=r.filterStars,this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.backgroundColor="custom"===this.styles.color_scheme?null===(l=this.styles.customStyle)||void 0===l?void 0:l.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":(this.styles.color_scheme,"#EFEFEF"),this.starColor=this.styles.customStyle.star_color}return _createClass(t,[{key:"getClassNames",value:function(){if("grid"===this.layoutType)return"grp-entangle-grid"}},{key:"getScrollClassNames",value:function(){return 6\n ').concat(this.styles.custom_translations.write_a_review,"\n "):""}},{key:"render",value:function(){var t=this;return"\n ".concat(grpCustomHeadingHtml(this.cardSettings,this.color),'\n
\n
\n
\n
\n \n
').concat(void 0===this.styles.custom_translations.rating_text?"Rating":this.styles.custom_translations.rating_text,'
\n
\n
\n').concat(this.badgeData.rating,'\n\n
\n ').concat(grpRenderStarDynamic(this.badgeData.rating,this.starColor),'\n
\n
').concat(this.badgeData.total_review," ").concat(void 0===this.styles.custom_translations.rating_scale_textI?"Reviews":this.styles.custom_translations.rating_scale_textI,"
\n\n
\n
\n ").concat("list"===this.layoutType||"grid"===this.layoutType||"masonry"===this.layoutType?'
').concat(this.generateBadgeHtml(this.badgeData),"\n
"):"",'\n
\n
\n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
\n '.concat(new GrEntangleCardOneAI({author_name:"AI-Generated Summary",author_image:"image",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutCheck:this.layoutType}).render(),"\n
"):"","\n\n ").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat(new GrEntangleCardOne({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n,layoutType:t.layoutType}).render(),"\n
\n ")}).join(""),'\n\n
\n
\n
\n ').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review," "):"","\n
\n
\n ")}}])}(),GrEntangleReviewBadge=function(){function t(e,n,a,s,i,r){var l;_classCallCheck(this,t),this.layoutType=e,this.reviewData=n,this.styles=a,this.isCentered=i,this.cardSettings=r,this.badgeData=s,this.hideNoComments=r.hideNoComments,this.filterStars=r.filterStars,this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222222":"#ffffff",this.backgroundColor="custom"===this.styles.color_scheme?null===(l=this.styles.customStyle)||void 0===l?void 0:l.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.starColor=this.styles.customStyle.star_color}return _createClass(t,[{key:"getClassNames",value:function(){if("grid"===this.layoutType)return"grp-entangle-grid"}},{key:"getScrollClassNames",value:function(){return 6\n ').concat(this.styles.custom_translations.write_a_review,"\n "):""}},{key:"render",value:function(){var t=this,e=this.reviewData.slice(this.styles.customStyle.show_load_more_button?0:void 0,"grid"===this.layoutType?void 0:this.styles.customStyle.show_load_more_button?grpReviewMoreData+grpChuckSize:void 0).map(function(e,n){return'\n
\n ').concat(new GrEntangleCardComponent({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,layoutType:t.layoutType,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join("") ;return"\n ".concat(grpCustomHeadingHtml(this.cardSettings,this.color),'\n
\n
\n
\n
\n \n
').concat("reviewAndBadgeIV"===this.layoutType?"Reviews":void 0===this.styles.custom_translations.rating_text?"Review":this.styles.custom_translations.rating_text,'
\n
\n\n
\n
').concat(this.generateBadgeHtml(this.badgeData),"\n
\n
\n ").concat("reviewAndBadge"!==this.layoutType&&"reviewAndBadgeIV"!==this.layoutType?'\n
\n '.concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
\n '.concat(new GrEntangleCardOneAI({author_name:"AI-Generated Summary",author_image:"image",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutCheck:this.layoutType}).render(),"\n
"):"","\n\n ").concat(e,"\n \n
\n ").concat(this.styles.customStyle.show_load_more_button&&"grid"!==this.layoutType&&this.reviewData.length>grpReviewMoreData+3?' '):"","\n\n "):new GrEntangleSliderBadge(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render(),'\n
\n
\n ').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review," "):"","\n
\n
\n ")}}])}(),GrEntanglePopFloating=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutType=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#303030":"transparent"===this.styles.color_scheme?"#222":"#fff",this.backgroundColor="custom"===this.styles.color_scheme?i.customStyle.custom_background||"transparent":"dark"===this.styles.color_scheme?"#222222":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"transparent":"#ffffff"}return _createClass(t,[{key:"getClassNames",value:function(){return"floating"===this.layoutType?"grp-entangle-badge-fixed":"grp-entangle-badge-static"}},{key:"render",value:function(){var t=this;return'\n
\n\n
\n
\n
\n
\n\n
\n
\n '.concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
\n '.concat(new GrEntangleCardAI({author_name:"AI-Generated Summary",author_image:"",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render(),"\n
"):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat(new GrEntangleCardOnePop({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join(""),'\n
\n\n\n
\n
\n
\n
\n
\n\n
\n
\n\n
\n\n
\n
\n
\n ').concat(this.badgeData.buttonType?'').concat(this.styles.custom_translations.write_a_review,""):"","\n
\n
\n\n ").concat("popup-slider"===this.layoutType?'
\n
\n
\n \n \n
\n
\n
\n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
\n '.concat(new GrEntangleCardAI({author_name:"AI-Generated Summary",author_image:"image",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render(),"\n
"):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat(new GrEntangleCardComponent({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,layoutType:t.layoutType,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join(""),'\n
\n
\n\n
\n
\n \n \n
\n\n
\n
'):"".concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?"\n
\n ".concat(new GrEntangleCardAI({author_name:"AI-Generated Summary",author_image:"image",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render(),"\n
"):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat(new GrEntangleCardComponent({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,layoutType:t.layoutType,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join("")),'\n\n
\n
\n').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review," "):"","\n
\n
\n
\n
\n
\n
\n \n \n ")}}])}(),GrEntangleFloating=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutType=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.backgroundColor="custom"===this.styles.color_scheme?i.customStyle.custom_background||"transparent":"dark"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"transparent":"#ffffff"}return _createClass(t,[{key:"getClassNames",value:function(){return"floating"===this.layoutType?"grp-entangle-badge-fixed":"grp-entangle-badge-static"}},{key:"render",value:function(){var t=this;return'\n
\n\n
\n
\n ').concat(new GrEntangleReviewComponent({reviewURL:this.badgeData.reviewURL,buttonType:this.badgeData.buttonType,badgeType:this.badgeType,name:this.badgeData.name,layoutType:this.layoutType,rating:this.badgeData.rating,total_review:this.badgeData.total_review,image_url:this.badgeData.image_url,style:this.styles,place_id:this.badgeData.place_id}).render(),'\n\n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n ').concat(this.badgeData.buttonType?'').concat(this.styles.custom_translations.write_a_review,""):"","\n
\n
\n").concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?"\n
\n ".concat(new GrEntangleCardAI({author_name:"AI-Generated Summary",author_image:"image",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render(),"\n
"):"","\n").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat(new GrEntangleCardComponent({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,layoutType:t.layoutType,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join(""),'\n
\n
\n').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review," "):"","\n
\n
\n
\n
\n\n\n
\n\n\n\n \n \n ")}}])}(),GoogleBadge=function(){function t(e){_classCallCheck(this,t);var n=e.total_review,a=e.rating,s=e.name,i=e.image_url,r=e.badgeType,l=e.reviewURL,o=e.buttonType,c=e.layoutType,g=e.style,d=e.place_id,h=e.cardSettings;this.total_review=n,this.rating=a,this.name=s,this.image_url=i,this.badgeType=r,this.reviewURL=l,this.buttonType=o,this.layoutType=c,this.style=g,this.place_id=d,this.starColor=g.star_color,this.cardSettings=h}return _createClass(t,[{key:"render",value:function(){var t,e,n,a,s="right"===(null===(t=this.cardSettings)||void 0===t?void 0:t.offcanvas_position)?"right: ".concat("googleBadgeI"===this.layoutType?"-220px":"googleBadgeII"===this.layoutType?"-205px":"-75px",";"):"left: ".concat("googleBadgeI"===this.layoutType?"70px":"googleBadgeII"===this.layoutType?"25px":"16px","; top: ").concat((this.layoutType,"60%"),";");return"googleBadge"===this.layoutType?'\n
\n
\n Google\n Reviews\n
\n
'):"googleBadgeI"===this.layoutType?'\n
\n
\n Google\n \n Google Rating\n
\n ').concat(this.rating,'\n
').concat(grpRenderStarDynamic(this.rating,this.starColor,null===(n=this.cardSettings)||void 0===n?void 0:n.verified_review_logo),"
\n
\n
\n
\n
"):"googleBadgeII"===this.layoutType?'\n
\n
\n Google\n
').concat(grpRenderStarDynamic(this.rating,this.starColor,null===(a=this.cardSettings)||void 0===a?void 0:a.verified_review_logo),"
\n 19 Reviews\n
\n
"):void 0}}])}(),GrEntangleGoogleBadge=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutType=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.backgroundColor="custom"===this.styles.color_scheme?i.customStyle.custom_background||"transparent":"dark"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"transparent":"#ffffff"}return _createClass(t,[{key:"getClassNames",value:function(){return"floating"===this.layoutType?"grp-entangle-badge-fixed":"grp-entangle-badge-static"}},{key:"render",value:function(){var t,e=this;return'\n
\n
\n '.concat(new GoogleBadge({reviewURL:this.badgeData.reviewURL,buttonType:this.badgeData.buttonType,badgeType:this.badgeType,name:this.badgeData.name,layoutType:this.layoutType,rating:this.badgeData.rating,total_review:this.badgeData.total_review,image_url:this.badgeData.image_url,style:this.styles,place_id:this.badgeData.place_id,cardSettings:this.cardSettings}).render(),'\n\n
\n\n
\n
\n
\n\n
\n
\n
\n
\n ').concat(this.badgeData.buttonType?'').concat(this.styles.custom_translations.write_a_review,""):"","\n
\n
\n").concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?"\n
\n ".concat(new GrEntangleCardAI({author_name:"AI-Generated Summary",author_image:"image",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render(),"\n
"):"","\n").concat(this.reviewData.map(function(t,n){return'\n
\n').concat(new GrEntangleCardComponent({author_name:t.author_name,author_image:t.profile_photo_url.split("=")[0],time:t.time,review:t.text,rating:t.rating,center:!1,styles:e.styles,cardSettings:e.cardSettings,layoutType:e.layoutType,image_url:t.image_urls,author_url:GrpReviewerLinkGenerate({url:t.author_url,placeId:e.badgeData.place_id}),cardId:n}).render(),"\n
\n") }).join(""),'\n
\n
\n').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review," "):"","\n
\n
\n
\n
\n\n\n
\n\n\n\n \n \n")}}])}(),GrEntangleSlide=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutTypes=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.layoutType="badge-III"==this.layoutTypes?"twocol":"badge-III"==this.layoutTypes||768>grEntangleOffsetWidth?"twocol":"onecol",this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff"}return _createClass(t,[{key:"getClassNames",value:function(){switch(this.layoutType){case"onecol":return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol";default:return"grp-entangle-swipper-badge-wrapper"}}},{key:"generateBadgeHtml",value:function(t){return this.badgeData.buttonType?'\n "):""}},{key:"render",value:function(){var t=this;return"\n ".concat(grpCustomHeadingHtml(this.cardSettings,this.color),"\n ").concat("onecol"===this.layoutType?'
').concat(this.generateBadgeHtml(this.badgeData),"\n
"):"",'\n
\n
\n ").concat(new GrEntangleBadgeComponent(_defineProperty({reviewURL:this.badgeData.reviewURL,buttonType:this.badgeData.buttonType,badgeType:this.badgeType,name:this.badgeData.name,layoutType:this.layoutType,rating:this.badgeData.rating,total_review:this.badgeData.total_review,image_url:this.badgeData.image_url,style:this.styles,place_id:this.badgeData.place_id},"layoutType",this.layoutTypes)).render(),"\n ").concat("twocol"===this.layoutType?'
').concat(this.generateBadgeHtml(this.badgeData),"\n
"):"",'\n\n
\n
\n
\n \n \n
\n
\n
\n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
\n '.concat(new GrEntangleCardAI({author_name:"AI-Generated Summary",author_image:"image",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render(),"\n
"):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat("reviewWithArrow"===t.layoutTypes?new GrEntangleCardArrow({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,layoutType:t.layoutTypes,cardSettings:t.cardSettings,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render():new GrEntangleCardComponent({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,layoutType:t.layoutTypes,cardSettings:t.cardSettings,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join(""),'\n
\n
\n\n
\n
\n \n \n
\n\n
\n
\n\n
\n\n
\n\n
\n
\n').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review," "):"","\n
\n
\n ")}}])}(),GrEntangleSlideLight=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutTypes=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.layoutType="badge-III"==this.layoutTypes||768>grEntangleOffsetWidth?"twocol":"onecol",this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff"}return _createClass(t,[{key:"getClassNames",value:function(){switch(this.layoutType){case"onecol":return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol";default:return"grp-entangle-swipper-badge-wrapper"}}},{key:"generateBadgeHtml",value:function(t){return this.badgeData.buttonType?'\n "):""}},{key:"render",value:function(){var t=this;return"\n ".concat(grpCustomHeadingHtml(this.cardSettings,this.color),'\n
').concat(this.generateBadgeHtml(this.badgeData),'\n
\n
\n
\n\n\n
\n
\n
\n \n \n
\n
\n
\n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
\n '.concat(new GrEntangleCardAI({author_name:"AI-Generated Summary",author_image:"image",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutType}).render(),"\n
"):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat(new GrEntangleCardComponent({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,layoutType:t.layoutTypes,cardSettings:t.cardSettings,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join(""),'\n
\n
\n\n
\n
\n \n \n
\n\n
\n
\n\n
\n\n
\n\n
\n
\n').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review,""):"","\n
\n
\n ")}}])}(),GrEntangleSliderDownStar=function(){function t(e,n,a,s,i,r,l){var o;_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutType=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.selectLayout=e,this.layoutType="badge-III"==this.layoutType||768>grEntangleOffsetWidth?"twocol":"onecol",this.backgroundColor="custom"===this.styles.color_scheme?null===(o=this.styles.customStyle)||void 0===o?void 0:o.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff"}return _createClass(t,[{key:"getClassNames",value:function(){switch(this.layoutType){case"onecol":return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol";default:return"grp-entangle-swipper-badge-wrapper"}}},{key:"generateBadgeHtml",value:function(t){return this.badgeData.buttonType?'\n "):""}},{key:"render",value:function(){var t=this;return"\n ".concat(grpCustomHeadingHtml(this.cardSettings,this.color),'\n
').concat(this.generateBadgeHtml(this.badgeData),'\n
\n
\n
\n').concat("badgeReviewSlider"===this.selectLayout?new GrEntangleBadgeStar({reviewURL:this.badgeData.reviewURL,buttonType:this.badgeData.buttonType,badgeType:this.badgeType,name:this.badgeData.name,layoutType:this.layoutType,rating:this.badgeData.rating,total_review:this.badgeData.total_review,image_url:this.badgeData.image_url,style:this.styles,place_id:this.badgeData.place_id}).render():"",'\n\n
\n
\n
\n\n \n \n \n
\n
\n
\n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
\n '.concat(new GrEntangleCardComponentDownStarAI({author_name:"AI-Generated Summary",author_image:"image",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings}).render(),"\n
"):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat(new GrEntangleCardComponentDownStar({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,layoutType:t.selectLayout,cardSettings:t.cardSettings,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join(""),"\n
\n\t ").concat("badgeReviewSlider"===this.selectLayout?"":'\n
\n ','\n\n
\n
\n \n \n
\n\n
\n
\n\n
\n\n
\n\n
\n
\n').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review,""):"","\n
\n
\n ")}}])}(),GrEntangleSliderBadge=function(){function t(e,n,a,s,i,r,l){var o;_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutType=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.selectLayout=e,this.layoutType="badge-III"==this.layoutType||768>grEntangleOffsetWidth?"twocol":"onecol",this.backgroundColor="custom"===this.styles.color_scheme?null===(o=this.styles.customStyle)||void 0===o?void 0:o.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#f8f8f8":"#EFEFEF",this.color="light"===this.styles.color_scheme?"#303030":"dark"===this.styles.color_scheme?"#c9c9c9":"azlight"===this.styles.color_scheme?"#222222":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"transparent"===this.styles.color_scheme?"#222222":"#c9c9c9"}return _createClass(t,[{key:"getClassNames",value:function(){switch(this.layoutType){case"onecol":return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol";default:return"grp-entangle-swipper-badge-wrapper"}}},{key:"render",value:function(){var t=this;return'\n
\n
\n
\n
\n
\n \n
\n
\n
\n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
\n '.concat(new GrEntangleCardAI({author_name:"AI-Generated Summary",author_image:"image",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings}).render(),"\n
"):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat(new GrEntangleCardComponent({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,layoutType:t.selectLayout,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join(""),"\n
\n\t ").concat("badgeReviewSlider"===this.selectLayout?"":'\n
\n ','\n\n
\n
\n \n \n
\n\n
\n
\n\n
\n\n
\n\n ')}}])}(),GrEntangleReviewSlider=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutTypes=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.layoutType=e,this.layoutTypes,this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.starColor=i.star_color}return _createClass(t,[{key:"getClassNames",value:function(){switch(this.layoutType){case"onecol":return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol";default:return"grp-entangle-swipper-badge-wrapper"}}},{key:"generateBadgeHtml",value:function(t){return this.badgeData.buttonType?'\n "):""}},{key:"render",value:function(){var t=this ;return"\n
\n ".concat(grpCustomHeadingHtml(this.cardSettings,this.color),'\n
\n \n
\n
\n
\n ').concat(this.badgeData.name,'\n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n ').concat(void 0===this.styles.custom_translations.rating_text?"Rating":this.styles.custom_translations.rating_text,'\n
\n
\n ').concat(this.badgeData.rating,'\n \n ').concat(grpRenderStarDynamic(this.badgeData.rating,this.starColor),'\n \n
\n
').concat(void 0===this.styles.custom_translations.rating_scale_textII?"Based on":this.styles.custom_translations.rating_scale_textII," ").concat(this.badgeData.total_review," ").concat(void 0===this.styles.custom_translations.rating_scale_textI?"Reviews":this.styles.custom_translations.rating_scale_textI,'
\n
\n
\n \n
').concat(this.generateBadgeHtml(this.badgeData),'\n
\n
\n
\n\n \n \n
\n \n
\n
\n \n \n
\n
\n
\n \n \n
\n \n
\n
\n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
\n '.concat(new GrEntangleCardOneAI({author_name:"AI-Generated Summary",author_image:"",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutCheck:this.layoutTypes}).render(),"\n
"):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat(new GrEntangleCardReview({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,image_url:e.image_urls,layout:t.layoutTypes,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join(""),"\n
\n ").concat(10>=this.reviewData.length?'\n
\n ':"",'\n \n
\n
\n \n \n
\n \n
\n
\n \n
\n \n
\n \n
\n
\n ').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review,""):"","\n
\n
\n \n ")}}])}(),GrEntangleSlideOne=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutType=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.layoutCheck=e,this.layoutType="badge-III"==this.layoutType||768>grEntangleOffsetWidth?"twocol":"onecol",this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff"}return _createClass(t,[{key:"getClassNames",value:function(){switch(this.layoutType){case"onecol":return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol";default:return"grp-entangle-swipper-badge-wrapper"}}},{key:"generateBadgeHtml",value:function(t){return this.badgeData.buttonType?'\n "):""}},{key:"render",value:function(){var t=this;return"\n ".concat(grpCustomHeadingHtml(this.cardSettings,this.color),'\n
\n ').concat("onecol"===this.layoutType?'
').concat(this.generateBadgeHtml(this.badgeData),"\n
"):"",'\n
\n
\n\n ").concat("twocol"===this.layoutType?'
').concat(this.generateBadgeHtml(this.badgeData),"\n
"):"",'\n\n
\n
\n\n
\n
\n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
\n '.concat(new GrEntangleCardOneAI({author_name:"AI-Generated Summary",author_image:"",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutCheck:this.layoutCheck}).render(),"\n
"):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
\n ').concat(new GrEntangleCardOne({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
\n ")}).join(""),"\n
\n ").concat(10>=this.reviewData.length?'\n
\n ':"",'\n\n
\n\n
\n
\n\n
\n\n
\n\n
\n
\n').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review,""):"","\n
\n
\n
\n ")}}])}(),GrEntangleCardAI=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.layoutType;this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.reviews=g.reviews_ai_summary,this.layoutType=d,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px"}return _createClass(t,[{key:"generateReviewsString",value:function(t){var e=null===t?"":t.map(function(t){return'\n
  • \n
    \n
    '.concat(t,"
    \n
  • ")}).join("");return e}},{key:"render",value:function(){return'\n
    \n
    \n
    \n
    \n \n\n \n \n \n \n \n
    \n
    \n
    ').concat(this.author_name,'
    \n
    \n

    Based on listed reviews

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n ')}}])}(),GrEntangleCardTwoAI=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.layoutType;this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.reviews=g.reviews_ai_summary,this.layoutType=d,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px"}return _createClass(t,[{key:"generateReviewsString",value:function(t){var e=null===t?"":t.map(function(t){return'\n
  • \n
    \n
    '.concat(t,"
    \n
  • ")}).join("");return e}},{key:"render",value:function(){return'\n
    \n
    \n \n
    \n
    \n
    \n \n\n \n \n \n \n \n
    \n
    \n
    ').concat(this.author_name,'
    \n
    \n

    Based on listed reviews

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n ')}}])}(),GrEntangleCardOneAI=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.layoutCheck;this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layout=d,this.reviews=g.reviews_ai_summary,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px",this.customText={for_write_a_review:this.styles.custom_translations.write_a_review,for_view_all_review:this.styles.custom_translations.show_all_review,for_show_more_text:this.styles.custom_translations.show_more_text,for_show_less_text:this.styles.custom_translations.show_less_text},this.isExpanded=!1}return _createClass(t,[{key:"getStarPercentage",value:function(t){var e=t/5*100,n="".concat(e,"%");return n}},{key:"render",value:function(){var t,e,n,a,s,i=JSON.stringify(this.styles.custom_translations);return'\n
    \n \n
    \n\n
    =(null===(t=this.review)||void 0===t?void 0:t.length)?3:299>=(null===(e=this.review)||void 0===e?void 0:e.length)?4:300<(null===(n=this.review)||void 0===n?void 0:n.length)?5:0,';">\n \n
    \n
    \n ').concat(this.customText?'\n \n '.concat(200<=(null===(a=this.review)||void 0===a?void 0:a.length)?"\n \n ').concat(null===(s=this.customText)||void 0===s?void 0:s.for_show_more_text,"\n \n "):"","\n
    \n "):"",'\n\n
    \n
    \n
    \n
    \n \n\n \n \n \n \n \n
    \n
    \n
    ').concat(this.author_name,'
    \n
    \n

    Based on listed reviews

    \n
    \n
    \n
    \n
    \n \n ')}}])}(),GrEntangleCardProfileAI=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.layoutType;this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.reviews=g.reviews_ai_summary,this.layoutType=d,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8",this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px"}return _createClass(t,[{key:"generateReviewsString",value:function(t){var e=null===t?"":t.map(function(t){return'\n
  • \n
    \n
    '.concat(t,"
    \n
  • ")}).join("");return e}},{key:"render",value:function(){ return'\n
    \n
    \n
    \n\n
    \n \n\n \n \n \n \n \n
    \n
    \n\n
    ').concat(this.author_name,'
    \n\n
    \n

    Based on listed reviews

    \n \n
    \n
    \n
    \n
    \n\n\n
    \n\n
    \n\n
    \n
    \n\n
    \n
    \n ')}}])}(),GrEntangleCardComponentDownStarAI=function(){function t(e){var n;_classCallCheck(this,t);var a=e.author_name,s=e.author_image,i=e.time,r=e.review,l=e.rating,o=e.center,c=e.styles,g=e.cardSettings,d=e.layoutType,h=e.image_url;this.author_name=a,this.author_image=s,this.time=i,this.review=r,this.rating=l,this.center=o,this.styles=c,this.cardSettings=g||{showImage:!0,showName:!0,hideText:!1,hideNoComments:!1,align:"left",dateformat:"mdy",filterStars:0},this.layoutType=d,this.starColor=c.star_color,this.backgroundColor="custom"===this.styles.color_scheme?null===(n=this.styles.customStyle)||void 0===n?void 0:n.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":(this.styles.color_scheme,"#EFEFEF"),this.textColor="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#black":"transparent"===this.styles.color_scheme?"#222":"#fff",this.textFontSize=(null==c?void 0:c.customStyle.review_text_font_size)+"px",this.image_url=h}return _createClass(t,[{key:"render",value:function(){return'\n
    \n
    \n
    \n\n\n
    \n\n
    \n \n
    \n\n\n
    \n
    \n ').concat(this.cardSettings.showImage&&this.author_image?'\n
    \n \n\n \n \n \n \n \n
    ':"",'\n
    \n ').concat(this.cardSettings.showName?'\n
    '.concat(this.author_name,"
    \n "):"",'\n
    \n

    Based on listed reviews

    \n \n
    \n
    \n
    \n \n
    \n\n\n
    \n ')}}])}(),GrEntangleSlideImage=function(){function t(e,n,a,s,i,r,l){var o;_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutTypes=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.layoutType="badge-III"==this.layoutTypes||768>grEntangleOffsetWidth?"twocol":"onecol",this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff",this.backgroundColor="custom"===this.styles.color_scheme?null===(o=this.styles.customStyle)||void 0===o?void 0:o.custom_card_background:"dark"===this.styles.color_scheme?"#303030":"azlight"===this.styles.color_scheme?"#f4f6f9":"transparent"===this.styles.color_scheme?"#EFEFEF":"#f6f6f8"}return _createClass(t,[{key:"getClassNames",value:function(){switch(this.layoutType){case"onecol":return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol";default:return"grp-entangle-swipper-badge-wrapper"}}},{key:"generateBadgeHtml",value:function(t){return this.badgeData.buttonType?'\n "):""}},{key:"render",value:function(){var t=this;return"\n ".concat(grpCustomHeadingHtml(this.cardSettings,this.color),'\n
    \n
    Thumbnail
    \n
    \n
    \n
    \n
    \n
    \n \n
    ').concat(void 0===this.styles.custom_translations.rating_text?"Rating":this.styles.custom_translations.rating_text,'
    \n
    \n
    \n').concat(this.badgeData.rating,'\n\n
    \n ').concat(grpRenderStarDynamic(this.badgeData.rating,this.styles.star_color),'\n
    \n
    ').concat(this.badgeData.total_review," Reviews
    \n\n
    \n
    \n ").concat("sliderReviewImage"===this.layoutTypes?'
    ').concat(this.generateBadgeHtml(this.badgeData),"\n
    "):"",'\n
    \n\n
    \n
    \n \n
    \n \n \n \n
    \n
    \n
    \n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
    \n '.concat(new GrEntangleCardAI({author_name:"AI-Generated Summary",author_image:"",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!1,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutTypes}).render(),"\n
    "):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
    \n ').concat(new GrEntangleCardComponent({author_name:e.author_name,author_image:e.profile_photo_url.split("=")[0],time:e.time,review:e.text,rating:e.rating,center:!1,styles:t.styles,cardSettings:t.cardSettings,layoutType:t.layoutTypes,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
    \n ")}).join(""),'\n
    \n \n \n \n
    \n \n \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review,""):"","\n
    \n
    \n
    \n
    \n\n\n ")}}])}(),GrEntangleSliderProfile=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.reviewData=s,this.styles=i,this.isCentered=r,this.cardSettings=l,this.layoutTypes=e,this.hideNoComments=l.hideNoComments,this.filterStars=l.filterStars,this.layoutType="badge-III"==this.layoutTypes||768>grEntangleOffsetWidth?"twocol":"onecol",this.color="light"===this.styles.color_scheme?"#303030":"custom"===this.styles.color_scheme?this.styles.customStyle.custom_text_color:"azlight"===this.styles.color_scheme?"#222222":"transparent"===this.styles.color_scheme?"#222":"#fff"}return _createClass(t,[{key:"getClassNames",value:function(){switch(this.layoutType){case"onecol":return"grp-entangle-swipper-badge-wrapper";case"twocol":return"grp-entangle-slide-twocol";default:return"grp-entangle-swipper-badge-wrapper"}}},{key:"generateBadgeHtml",value:function(t){return this.badgeData.buttonType?'\n "):""}},{key:"render",value:function(){var t=this;return"\n ".concat(grpCustomHeadingHtml(this.cardSettings,this.color),'\n
    \n
    \n ').concat("onecol"===this.layoutType?'
    \n ').concat(this.generateBadgeHtml(this.badgeData),"\n
    "):"",'\n
    \n
    \n ").concat("twocol"===this.layoutType?'
    ').concat(this.generateBadgeHtml(this.badgeData),"\n
    "):"",'\n\n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n ').concat(this.cardSettings.display_ai_summary&&this.cardSettings.paid_user?'\n
    \n '.concat(new GrEntangleCardProfileAI({author_name:"AI-Generated Summary",author_image:"",time:"",review:"Hello me ",rating:this.badgeData.rating,center:!0,styles:this.styles,cardSettings:this.cardSettings,layoutType:this.layoutTypes}).render(),"\n
    "):"","\n ").concat(this.reviewData.map(function(e,n){return'\n
    \n ').concat(new GrEntangleCardProfile({author_name:e.author_name,author_image:e.profile_photo_url,time:e.time,review:e.text,rating:e.rating,center:!0,styles:t.styles,cardSettings:t.cardSettings,layoutType:t.layoutTypes,image_url:e.image_urls,author_url:GrpReviewerLinkGenerate({url:e.author_url,placeId:t.badgeData.place_id}),cardId:n}).render(),"\n
    ")}).join(""),'\n
    \n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    Google rating score: ').concat(this.badgeData.rating," of 5, based\n on ").concat(this.badgeData.total_review,' reviews

    \n
    \n\n
    \n
    \n ').concat(this.cardSettings.show_view_on_google?' ').concat(this.styles.custom_translations.show_all_review,""):"","\n
    \n
    \n
    \n
    \n ")}}])}(),GrEntangleSwitch=function(){function t(e,n,a,s,i,r,l){_classCallCheck(this,t),this.badgeType=n,this.badgeData=a,this.layoutType=e,this.reviewData=s,this.isCentered=i,this.styles=r,this.cardSettings=l}return _createClass(t,[{key:"render",value:function(){switch(this.layoutType){case"badge-I":case"badge-II":case"badge-III":case"reviewWithArrow":return new GrEntangleSlide(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render();case"sliderReview":return new GrEntangleReviewSlider(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render();case"slider-light":return new GrEntangleSlideLight(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render();case"oneSlider":return new GrEntangleSlideOne(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render();case"sliderTopProfile":return new GrEntangleSliderProfile(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render();case"list":case"grid":case"list-I":return new GrEntangleListGrid(this.layoutType,this.reviewData,this.styles,this.badgeData,this.isCentered,this.cardSettings).render();case"masonry":return new GrEntangleMasonry(this.layoutType,this.reviewData,this.styles,this.badgeData,this.isCentered,this.cardSettings).render();case"badgeonly":return new GrpBadgeOnly(this.layoutType,this.reviewData,this.styles,this.badgeData,this.isCentered,this.cardSettings).render();case"badgewithreview":return new GrpBadgeWithReview(this.layoutType,this.reviewData,this.styles,this.badgeData,this.isCentered,this.cardSettings).render();case"avatargrid":return new GrpAvatarGrid(this.layoutType,this.reviewData,this.styles,this.badgeData,this.isCentered,this.cardSettings).render();case"avatarstar":return new GrpAvatarStar(this.layoutType,this.reviewData,this.styles,this.badgeData,this.isCentered,this.cardSettings).render();case"badgebutton":case"badgebuttonI":return new GrpBadgeButton(this.layoutType,this.reviewData,this.styles,this.badgeData,this.isCentered,this.cardSettings,this.badgeType).render();case"badgelogo":return new GrpBadgeWithStarLogo(this.layoutType,this.reviewData,this.styles,this.badgeData,this.isCentered,this.cardSettings,this.badgeType).render();case"badgewithrow":return new GrpBadgeWithRow(this.layoutType,this.reviewData,this.styles,this.badgeData,this.isCentered,this.cardSettings,this.badgeType).render();case"floating":case"static":return new GrEntangleFloating(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render();case"googleBadge":case"googleBadgeI":case"googleBadgeII":return new GrEntangleGoogleBadge(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render();case"popup-slider":case"popupfloating":return new GrEntanglePopFloating(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render();case"sliderdownstar":case"badgeReviewSlider":return new GrEntangleSliderDownStar(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render();case"sliderReviewImage":return new GrEntangleSlideImage(this.layoutType,this.badgeType,this.badgeData,this.reviewData,this.styles,this.isCentered,this.cardSettings).render();case"reviewAndBadge":case"reviewAndBadgeIV":case"reviewAndGrid":return new GrEntangleReviewBadge(this.layoutType,this.reviewData,this.styles,this.badgeData,this.isCentered,this.cardSettings).render();default:return null}}}])}();grEntangleContainer&&(console.log("GRP"),grEntanglePopulateHTML(grEntangleApiUrl))}