!function(){"use strict";var e,n,t,r,o={6404:function(e,n){function t(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}(e)||function(){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 r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t1&&void 0!==arguments[1]&&arguments[1]?t(new Date(parseInt(e))):new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric"})}},4032:function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.formatNumber=void 0;n.formatNumber=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return(new Intl.NumberFormat).format(e.toFixed(n))}},3616:function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.formatNumberK=function(e){return Math.abs(e)>999?Math.sign(e)*(Math.abs(e)/1e3).toFixed(1)+"k":Math.sign(e)*Math.abs(e)}},8260:function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});var r=t(1036);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===r[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=t(9624);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===o[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=t(5700);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===i[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return i[e]}}))}));var u=t(4032);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===u[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return u[e]}}))}));var _=t(2237);Object.keys(_).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===_[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return _[e]}}))}));var c=t(3616);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===c[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return c[e]}}))}));var s=t(2456);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===s[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=t(6404);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===l[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return l[e]}}))}));var a=t(4120);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))}));var f=t(616);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===f[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return f[e]}}))}));var d=t(7948);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===d[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return d[e]}}))}));var p=t(9420);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===p[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return p[e]}}))}));var v=t(6720);Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===v[e]||Object.defineProperty(n,e,{enumerable:!0,get:function(){return v[e]}}))}))},9624:function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isEmpty=void 0;n.isEmpty=function(e){return[Object,Array].includes((e||{}).constructor)&&!Object.entries(e||{}).length}},7948:function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isUndefined=void 0;n.isUndefined=function(e){return void 0===e}},616:function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.onlyUnique=function(e,n,t){return t.indexOf(e)===n}},5700:function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.pick=void 0;n.pick=function(e,n){return n.reduce((function(n,t){return e&&e.hasOwnProperty(t)&&(n[t]=e[t]),n}),{})}},2456:function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.sortArrayObject=void 0;n.sortArrayObject=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"asc";return function(t,r){if(!t.hasOwnProperty(e)||!r.hasOwnProperty(e))return 0;var o="string"==typeof t[e]?t[e].toUpperCase():t[e],i="string"==typeof r[e]?r[e].toUpperCase():r[e],u=0;return o>i?u=1:o3;)t.pop()();if(t[1]>>1,1),n.i.removeChild(e)}}),(0,r.ai)((0,r.kv)(w,{context:n.context},e.__v),n.l)}function S(e,n){var t=(0,r.kv)(k,{__v:e,i:n});return t.containerInfo=n,t}(b.prototype=new r.Yl).__a=function(e){var n=this,t=m(n.__v),r=n.o.get(e);return r[0]++,function(o){var i=function(){n.props.revealOrder?(r.push(o),g(n,e,r)):o()};t?t(i):i()}},b.prototype.render=function(e){this.u=null,this.o=new Map;var n=(0,r.Iy)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},b.prototype.componentDidUpdate=b.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){g(e,t,n)}))};var j="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,P=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,O=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,C=/[A-Z0-9]/g,E="undefined"!=typeof document,R=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function x(e,n,t){return null==n.__k&&(n.textContent=""),(0,r.ai)(e,n),"function"==typeof t&&t(),e?e.__c:null}function A(e,n,t){return(0,r.ug)(e,n),"function"==typeof t&&t(),e?e.__c:null}r.Yl.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(r.Yl.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var M=r.s1.event;function T(){}function I(){return this.cancelBubble}function N(){return this.defaultPrevented}r.s1.event=function(e){return M&&(e=M(e)),e.persist=T,e.isPropagationStopped=I,e.isDefaultPrevented=N,e.nativeEvent=e};var F,U={enumerable:!1,configurable:!0,get:function(){return this.class}},D=r.s1.vnode;r.s1.vnode=function(e){"string"==typeof e.type&&function(e){var n=e.props,t=e.type,o={};for(var i in n){var u=n[i];if(!("value"===i&&"defaultValue"in n&&null==u||E&&"children"===i&&"noscript"===t||"class"===i||"className"===i)){var _=i.toLowerCase();"defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===u?u="":"ondoubleclick"===_?i="ondblclick":"onchange"!==_||"input"!==t&&"textarea"!==t||R(n.type)?"onfocus"===_?i="onfocusin":"onblur"===_?i="onfocusout":O.test(i)?i=_:-1===t.indexOf("-")&&P.test(i)?i=i.replace(C,"-$&").toLowerCase():null===u&&(u=void 0):_=i="oninput","oninput"===_&&o[i=_]&&(i="oninputCapture"),o[i]=u}}"select"==t&&o.multiple&&Array.isArray(o.value)&&(o.value=(0,r.Iy)(n.children).forEach((function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)}))),"select"==t&&null!=o.defaultValue&&(o.value=(0,r.Iy)(n.children).forEach((function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value}))),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",U)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(e),e.$$typeof=j,D&&D(e)};var B=r.s1.__r;r.s1.__r=function(e){B&&B(e),F=e.__c};var W=r.s1.diffed;r.s1.diffed=function(e){W&&W(e);var n=e.props,t=e.__e;null!=t&&"textarea"===e.type&&"value"in n&&n.value!==t.value&&(t.value=null==n.value?"":n.value),F=null};var H={ReactCurrentDispatcher:{current:{readContext:function(e){return F.__n[e.__c].props.value}}}};function V(e){return!!e&&e.$$typeof===j}function L(e){return!!e.__k&&((0,r.ai)(null,e),!0)}var $=function(e,n){return e(n)},Y=r.ae;function z(e){e()}var q=o.w$,G=V;function K(e){var n,t,r=e.v,o=e.__;try{var i=r();return!((n=o)===(t=i)&&(0!==n||1/n==1/t)||n!=n&&t!=t)}catch(e){return!0}}var Z={useState:o.oT,useId:o.IN,useReducer:o.qT,useEffect:o.YB,useLayoutEffect:o.w$,useInsertionEffect:q,useTransition:function(){return[!1,z]},useDeferredValue:function(e){return e},useSyncExternalStore:function(e,n){var t=n(),r=(0,o.oT)({h:{__:t,v:n}}),i=r[0].h,u=r[1];return(0,o.w$)((function(){i.__=t,i.v=n,K(i)&&u({h:i})}),[e,t,n]),(0,o.YB)((function(){return K(i)&&u({h:i}),e((function(){K(i)&&u({h:i})}))}),[e]),t},startTransition:z,useRef:o.yK,useImperativeHandle:o.Km,useMemo:o.bB,useCallback:o.kZ,useContext:o.Co,useDebugValue:o._y,version:"17.0.2",Children:a,render:x,hydrate:A,unmountComponentAtNode:L,createPortal:S,createElement:r.kv,createContext:r.GY,createFactory:function(e){return r.kv.bind(null,e)},cloneElement:function(e){return V(e)?r.Yr.apply(null,arguments):e},createRef:r.Yn,Fragment:r.ae,isValidElement:V,isElement:G,isFragment:function(e){return V(e)&&e.type===r.ae},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:r.Yl,PureComponent:_,memo:function(e,n){function t(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!r:u(this.props,e)}function o(n){return this.shouldComponentUpdate=t,(0,r.kv)(e,n)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o},forwardRef:function(e){function n(n){var t=i({},n);return delete t.ref,e(t,n.ref||null)}return n.$$typeof=s,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n},flushSync:function(e,n){return e(n)},unstable_batchedUpdates:$,StrictMode:Y,Suspense:h,SuspenseList:b,lazy:y,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:H}},4860:function(e,n,t){t.d(n,{GY:function(){return $},Iy:function(){return R},Yl:function(){return w},Yn:function(){return b},Yr:function(){return L},ae:function(){return g},ai:function(){return H},h:function(){return m},kv:function(){return m},s1:function(){return o},ug:function(){return V}});var r,o,i,u,_,c,s,l,a={},f=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,p=Array.isArray;function v(e,n){for(var t in n)e[t]=n[t];return e}function h(e){var n=e.parentNode;n&&n.removeChild(e)}function m(e,n,t){var o,i,u,_={};for(u in n)"key"==u?o=n[u]:"ref"==u?i=n[u]:_[u]=n[u];if(arguments.length>2&&(_.children=arguments.length>3?r.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(u in e.defaultProps)void 0===_[u]&&(_[u]=e.defaultProps[u]);return y(e,_,o,i,null)}function y(e,n,t,r,u){var _={type:e,props:n,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==u?++i:u,__i:-1,__u:0};return null==u&&null!=o.vnode&&o.vnode(_),_}function b(){return{current:null}}function g(e){return e.children}function w(e,n){this.props=e,this.context=n}function k(e,n){if(null==n)return e.__?k(e.__,e.__i+1):null;for(var t;nn&&u.sort(s));P.__r=0}function O(e,n,t,r,o,i,u,_,c,s,l){var d,p,v,h,m,y=r&&r.__k||f,b=n.length;for(t.__d=c,C(t,n,y),c=t.__d,d=0;d0?y(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,_=x(o,t,u=r+a,l),o.__i=_,i=null,-1!==_&&(l--,(i=t[_])&&(i.__u|=131072)),null==i||null===i.__v?(-1==_&&a--,"function"!=typeof o.type&&(o.__u|=65536)):_!==u&&(_===u+1?a++:_>u?l>c-u?a+=_-u:a--:a=_(null!=c&&0==(131072&c.__u)?1:0))for(;u>=0||_=0){if((c=n[u])&&0==(131072&c.__u)&&o==c.key&&i===c.type)return u;u--}if(_2&&(c.children=arguments.length>3?r.call(arguments,2):t),y(e.type,c,o||e.key,i||e.ref,null)}function $(e,n){var t={__c:n="__cC"+l++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some((function(e){e.__e=!0,j(e)}))},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}r=f.slice,o={__e:function(e,n,t,r){for(var o,i,u;n=n.__;)if((o=n.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),u=o.__d),u)return o.__E=o}catch(n){e=n}throw e}},i=0,w.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},t),this.props)),e&&v(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),j(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),j(this))},w.prototype.render=g,u=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(e,n){return e.__v.__b-n.__v.__b},P.__r=0,l=0},3496:function(e,n,t){t.d(n,{Co:function(){return P},IN:function(){return C},Km:function(){return k},YB:function(){return b},_y:function(){return O},bB:function(){return S},kZ:function(){return j},oT:function(){return m},qT:function(){return y},w$:function(){return g},yK:function(){return w}});var r,o,i,u,_=t(4860),c=0,s=[],l=[],a=_.s1.__b,f=_.s1.__r,d=_.s1.diffed,p=_.s1.__c,v=_.s1.unmount;function h(e,n){_.s1.__h&&_.s1.__h(o,e,c||n),c=0;var t=o.__H||(o.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({__V:l}),t.__[e]}function m(e){return c=1,y(I,e)}function y(e,n,t){var i=h(r++,2);if(i.t=e,!i.__c&&(i.__=[t?t(n):I(void 0,n),function(e){var n=i.__N?i.__N[0]:i.__[0],t=i.t(n,e);n!==t&&(i.__N=[t,i.__[1]],i.__c.setState({}))}],i.__c=o,!o.u)){var u=function(e,n,t){if(!i.__c.__H)return!0;var r=i.__c.__H.__.filter((function(e){return e.__c}));if(r.every((function(e){return!e.__N})))return!_||_.call(this,e,n,t);var o=!1;return r.forEach((function(e){if(e.__N){var n=e.__[0];e.__=e.__N,e.__N=void 0,n!==e.__[0]&&(o=!0)}})),!(!o&&i.__c.props===e)&&(!_||_.call(this,e,n,t))};o.u=!0;var _=o.shouldComponentUpdate,c=o.componentWillUpdate;o.componentWillUpdate=function(e,n,t){if(this.__e){var r=_;_=void 0,u(e,n,t),_=r}c&&c.call(this,e,n,t)},o.shouldComponentUpdate=u}return i.__N||i.__}function b(e,n){var t=h(r++,3);!_.s1.__s&&T(t.__H,n)&&(t.__=e,t.i=n,o.__H.__h.push(t))}function g(e,n){var t=h(r++,4);!_.s1.__s&&T(t.__H,n)&&(t.__=e,t.i=n,o.__h.push(t))}function w(e){return c=5,S((function(){return{current:e}}),[])}function k(e,n,t){c=6,g((function(){return"function"==typeof e?(e(n()),function(){return e(null)}):e?(e.current=n(),function(){return e.current=null}):void 0}),null==t?t:t.concat(e))}function S(e,n){var t=h(r++,7);return T(t.__H,n)?(t.__V=e(),t.i=n,t.__h=e,t.__V):t.__}function j(e,n){return c=8,S((function(){return e}),n)}function P(e){var n=o.context[e.__c],t=h(r++,9);return t.c=e,n?(null==t.__&&(t.__=!0,n.sub(o)),n.props.value):e.__}function O(e,n){_.s1.useDebugValue&&_.s1.useDebugValue(n?n(e):e)}function C(){var e=h(r++,11);if(!e.__){for(var n=o.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;var t=n.__m||(n.__m=[0,0]);e.__="P"+t[0]+"-"+t[1]++}return e.__}function E(){for(var e;e=s.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(A),e.__H.__h.forEach(M),e.__H.__h=[]}catch(n){e.__H.__h=[],_.s1.__e(n,e.__v)}}_.s1.__b=function(e){o=null,a&&a(e)},_.s1.__r=function(e){f&&f(e),r=0;var n=(o=e.__c).__H;n&&(i===o?(n.__h=[],o.__h=[],n.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=l,e.__N=e.i=void 0}))):(n.__h.forEach(A),n.__h.forEach(M),n.__h=[],r=0)),i=o},_.s1.diffed=function(e){d&&d(e);var n=e.__c;n&&n.__H&&(n.__H.__h.length&&(1!==s.push(n)&&u===_.s1.requestAnimationFrame||((u=_.s1.requestAnimationFrame)||x)(E)),n.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==l&&(e.__=e.__V),e.i=void 0,e.__V=l}))),i=o=null},_.s1.__c=function(e,n){n.some((function(e){try{e.__h.forEach(A),e.__h=e.__h.filter((function(e){return!e.__||M(e)}))}catch(t){n.some((function(e){e.__h&&(e.__h=[])})),n=[],_.s1.__e(t,e.__v)}})),p&&p(e,n)},_.s1.unmount=function(e){v&&v(e);var n,t=e.__c;t&&t.__H&&(t.__H.__.forEach((function(e){try{A(e)}catch(e){n=e}})),t.__H=void 0,n&&_.s1.__e(n,t.__v))};var R="function"==typeof requestAnimationFrame;function x(e){var n,t=function(){clearTimeout(r),R&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);R&&(n=requestAnimationFrame(t))}function A(e){var n=o,t=e.__c;"function"==typeof t&&(e.__c=void 0,t()),o=n}function M(e){var n=o;e.__c=e.__(),o=n}function T(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function I(e,n){return"function"==typeof n?n(e):n}},7628:function(e,n,t){t.d(n,{AX:function(){return d},Cg:function(){return o},Cs:function(){return l},G4:function(){return a},Om:function(){return c},So:function(){return f},_8:function(){return s},h6:function(){return b},iY:function(){return v},mS:function(){return p},qI:function(){return u},uc:function(){return r},w7:function(){return _},wV:function(){return m},yG:function(){return i}});const r="https://cdn1.avada.io/email-marketing/placeholder-image.gif",o="https://cdn1.avada.io/airReviews/icon/close-round.png",i="https://cdn1.avada.io/airReviews/icon/chevron-left.png",u="https://cdn1.avada.io/airReviews/icon/chevron-right.png",_="https://cdnapps.avada.io/airReviews/imgCarrouselExm.png",c=20,s=5242880,l=200,a=["image/gif","image/jpeg","image/png"],f=2100,d=576,p=320,v=992,h="Imported",m="Amazon",y="AliExpress",b=[h,m,y]},5940:function(e,n,t){t.d(n,{z9:function(){return D},kp:function(){return N},defaultSubmitForm:function(){return I},mm:function(){return B}});var r=t(53);const o="All positive";const i="sortlarest@feedback";const u="all_contents";const _="positive";const c="all_reviews";const s="recent";const l="below-product";var a=t(184);const f="desktop-right";const d="https://cdnapps.avada.io/airReviews/icon/star-rating-2.png";var p=t(6948);const v="mobile-left";const h="mm_dd_yyyy";const m="desktop-bottom-left";var y=t(5436);const b="mobile-horizontal-bottom";t(8260);var g=t(1656);const w="https://cdnapps.avada.io/airReviews/icon/pop-cancel-icon-horizontal-style.png",k="https://cdnapps.avada.io/airReviews/icon/pop-cancel-icon-vertical-style.png",S="pop-vertical-image-1",j="pop-vertical-image-2",P="pop-horizontal-image-1",O="pop-horizontal-image-2",C="pop-vertical",E="pop-horizontal";g.C,g.C,g.C,g.y,g.C,g.y,g.C,g.C,g.y;const R="pending";const x="disabled";var A=t(9996);const M="single-color";var T=t(5328);const I={submitForm:{backgroundColor:"#FFFFFF",textColor:"#202223",buttonColor:"#202223",buttonTextColor:"#FFFFFF",validationsColor:"#D72C0D"}},N=(a.wP,T.UT,r.Q5,r.I5,p.sn,p.sn,r.Q5,r.I5,p.sn,y.yg,{reviewSummary:{five_star:{approved:0,disapproved:0,pending:0},four_star:{approved:0,disapproved:0,pending:0},three_star:{approved:0,disapproved:0,pending:0},two_star:{approved:0,disapproved:0,pending:0},one_star:{approved:0,disapproved:0,pending:0}},reviews:[]}),F=(new Date,{ratingOption:o,sortOption:i,photoOption:"all"}),U={amzRatingOption:_,amzSortOption:s,amzReviewerOption:c,amzPhotoOption:u},D={generalSetting:{maxReviewImport:"20",autoTranslate:"english",autoSubmitPublish:x,isTrashFeatureEnabled:!1,hideReviewDate:"",...F,...U,enableAggregateRating:!1,eligibility:A.Sk,enableTrashReview:!1,deleteAfterDays:15,enableCountryFlag:!1,enableUGCContent:!1}},B={firstName:"",lastName:"",images:[],email:"",rate:0,content:"",status:R,files:[],variants:[]}},1656:function(e,n,t){t.d(n,{C:function(){return o},y:function(){return r}});const r="mobile",o="desktop"},53:function(e,n,t){t.d(n,{I5:function(){return i},Q5:function(){return r},iM:function(){return o}});const r="badge-circle",o="after-star-rating",i="after-customer-name"},184:function(e,n,t){t.d(n,{An:function(){return r},wP:function(){return o}});const r="grid",o="list"},6948:function(e,n,t){t.d(n,{sn:function(){return r}});const r="all-reviews"},5328:function(e,n,t){t.d(n,{Os:function(){return o},UT:function(){return r}});const r="simple",o="modern"},5436:function(e,n,t){t.d(n,{yg:function(){return r}});const r="https://cdnapps.avada.io/airReviews/imgCarrouselExm.png"},9996:function(e,n,t){t.d(n,{QB:function(){return o},Sk:function(){return r},cx:function(){return i}});const r="everyone",o="logged_in_users",i="verified_buyers"},1068:function(e,n,t){t.d(n,{c:function(){return _}});var r=t(188),o=t(6948);var i=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(window.hulkapps){const r={method:n};if(t){const e=r.contentType||"application/json;charset=UTF-8";r.headers=r.headers||{},r.headers["Content-Type"]=e,r.body=JSON.stringify(t)}return fetch(e,r).then((e=>e.json()))}const o=new XMLHttpRequest;return new Promise((function(i,u){if(o.onreadystatechange=function(){4===o.readyState&&(o.status>=200&&o.status<300&&204!==o.status?i(JSON.parse(o.responseText)):u({status:o.status,statusText:o.statusText}))},o.open(n,e,!0),t){const e=r.contentType||"application/json;charset=UTF-8";o.setRequestHeader("Content-Type",e),o.send(JSON.stringify(t))}else o.send(t)}))};function u(e){return"URLSearchParams"in window?new URLSearchParams(function(e){const n={};for(const t in e)e[t]&&(n[t]=e[t]);return n}(e)).toString():""}class _{constructor(){var e=this;(0,r.c)(this,"reviewApi",(function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return i(`https://review.useair.app/review${e}`,arguments.length>2&&void 0!==arguments[2]?arguments[2]:n?"POST":"GET",n)})),(0,r.c)(this,"loadReviews",(function(n,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";const _=u({shopId:n,productId:t,sort:r,minimumRating:arguments.length>4&&void 0!==arguments[4]?arguments[4]:o.sn})+i;return e.reviewApi(`/loadReviews?${_}`)})),(0,r.c)(this,"getReviewDetail",(e=>this.reviewApi(`/reviews/${e}`))),(0,r.c)(this,"importReviewFromPage",((e,n)=>{const t=u({type:n});return this.reviewApi(`/importReviewFromPage?${t}`,e)})),(0,r.c)(this,"getImportPageSettings",(e=>{let{shopId:n}=e;const t=u({shopId:n});return this.reviewApi(`/importPageSettings?${t}`)})),(0,r.c)(this,"submitReviews",(function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return e.reviewApi(`/submit?id=${n}`,t)})),(0,r.c)(this,"updateSettings",((e,n,t,r)=>{const o=u({shopId:e,shopifyDomain:n,field:r});return this.reviewApi(`/settings?${o}`,t)})),(0,r.c)(this,"loadReviewsInMetafield",(e=>{let{productId:n,shopId:t}=e;const r=u({shopId:t,productId:n});return this.reviewApi(`/loadReviewsInMetafield?${r}`)})),(0,r.c)(this,"predictiveSearch",(e=>{let{searchText:n,shopId:t,token:r,limit:o}=e;const i=u({shopId:t,searchText:n,limit:o,token:r});return this.reviewApi(`/predictive-search?${i}`)})),this.data=null}}},188:function(e,n,t){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var n=function(e,n){if("object"!==r(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,n||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===r(n)?n:String(n)}function i(e,n,t){return(n=o(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}t.d(n,{c:function(){return i}})}},i={};function u(e){var n=i[e];if(void 0!==n)return n.exports;var t=i[e]={id:e,exports:{}};return o[e].call(t.exports,t,t.exports,u),t.exports}u.m=o,u.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(n,{a:n}),n},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},u.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var o=Object.create(null);u.r(o);var i={};e=e||[null,n({}),n([]),n(n)];for(var _=2&r&&t;"object"==typeof _&&!~e.indexOf(_);_=n(_))Object.getOwnPropertyNames(_).forEach((function(e){i[e]=function(){return t[e]}}));return i.default=function(){return t},u.d(o,i),o},u.d=function(e,n){for(var t in n)u.o(n,t)&&!u.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},u.f={},u.e=function(e){return Promise.all(Object.keys(u.f).reduce((function(n,t){return u.f[t](e,n),n}),[]))},u.u=function(e){return"air-review-"+e+"."+{assets_src_styles__airPreviewStoreFont_scss:"be0b8a287a9a0df479b9","vendors-node_modules_style-loader_dist_runtime_injectStylesIntoStyleTag_js-node_modules_css-l-50e1e4":"1964fe505950298e0f94",src_reviews_components_Block_index_js:"23b6857072cf4214ae05",assets_src_components_AirModal_index_js:"3094592cc3d44f122739","assets_src_components_SubmitReview_Step1_js-assets_src_components_SubmitReview_Step2_js-asset-138bd0":"77b9a95e77a8e2b991b3",assets_src_components_SubmitModal_index_js:"fa169ef76fb0e9a80550","vendors-node_modules_react-redux_es_index_js":"0059a274188e50ff9024","assets_src_helpers_insertElFont_js-assets_src_pages_BlockSettings_PreviewSubmitModal_js":"9c013a953cce5d0692f2",assets_src_components_ReviewDetailsModal_ReviewDetailsMobile_js:"3526c2b8c2335408068c",assets_src_components_ReviewDetailsModal_ReviewDetailsModal_js:"69c2a08401392fdef9f2",assets_src_components_PoweredBy_index_js:"a6956387258bf72b1ce0","assets_src_components_Avatar_index_js-assets_src_components_ReviewContent_index_js-assets_src-e317b3":"236c17fb623152c0c8a7",assets_src_components_ReviewBlock_ListView_js:"b6646fbcf26578f921e4",assets_src_components_ReviewBlock_GridView_js:"b9121695d37e6b212dad",functions_src_config_preview_js:"9a9d5dfc23aaab7a07e3",assets_src_components_MobileLayout_MobilePreview_js:"b7b98dd38df5e7a1283f","vendors-node_modules_firebase_app_dist_index_esm_js-node_modules_firebase_storage_dist_index_-8ad516":"5830d1d3e364810e7e17",src_reviews_helpers_processUploadImages_js:"4b060910719aeb4079ad",assets_src_components_ReviewVariant_index_js:"c9dc4b03ec3cecc4bb84",assets_src_components_CountryFlag_CountryFlag_js:"9966770e3e268238ef60",assets_src_components_ReviewBlock_ShopReply_js:"ee69bef99affbc1c6631",assets_src_components_BadgeIcon_index_js:"6761a677dbe06baff8e2",assets_src_components_SlideShow_ButtonSlider_js:"f04372395348aef23254"}[e]+".bundle.js"},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t={},r="@avada/scripttag:",u.l=function(e,n,o,i){if(t[e])t[e].push(n);else{var _,c;if(void 0!==o)for(var s=document.getElementsByTagName("script"),l=0;l{let n=e,t=n.offsetWidth;let r=1;for(;0===t&&r<=3;)n=n.parentElement,t=n.offsetWidth,r++;return t},s=u(3496);const l=(a=()=>Promise.all([u.e("vendors-node_modules_style-loader_dist_runtime_injectStylesIntoStyleTag_js-node_modules_css-l-50e1e4"),u.e("src_reviews_components_Block_index_js")]).then(u.bind(u,312)),function(e,n){let[{C:r},o]=arguments.length>2&&void 0!==arguments[2]?arguments[2]:(0,s.oT)({C:d||f}),i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,s.yK)();return(0,s.YB)((()=>(!d&&a().then((e=>{let{default:n}=e;return d=n,i.current||o({C:n})})),()=>i.current=1)),[]),r?(0,t.h)(r,e):null});var a,f,d;class p{constructor(){(0,e.c)(this,"initialize",(()=>{if(!this.appUnpublished())return this.emptyProductReview()&&(AIR_REVIEWS.productReview=_.kp),this.insertReviewBlocks();console.log("Please re-publish to see Air Reviews Block")})),(0,e.c)(this,"insertReviewBlocks",(()=>{!function(){if(!document.querySelector("#AirReview__GoogleFont")){const{reviewBlock:{font:e}}=AIR_REVIEWS.settings,n=document.createElement("link");n.id="AirReview__GoogleFont",n.rel="stylesheet",n.href=`https://fonts.bunny.net/css?family=${e}&display=swap`,document.head.appendChild(n)}}();const e=document.createElement("div");!function(e){const{reviewBlock:{font:n}}=AIR_REVIEWS.settings;e.style.fontFamily=n.replace("+"," ")}(e),e.setAttribute("id","AirReviews-BlockWrapper");const n=document.querySelector(".AirReviews-Embed-BlockWrapper"),o=document.querySelector("#AirReviews-BlockWrapper");var u,_;n&&!o&&(u=e,(_=n).parentNode.insertBefore(u,_.nextSibling),(0,t.ai)(r.cp.createElement(l,{isMobile:c(n)<=i.AX,isTablet:c(n)<=i.iY&&c(n)>i.AX,isSmallMobile:c(n)<=i.mS}),e)),function(e){var n,t;"#AirReviews-BlockWrapper"===(null===(n=document.location)||void 0===n?void 0:n.hash)&&setTimeout((()=>{e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}),1e3),"#AirReviews-BlockWrapperSubmit"===(null===(t=document.location)||void 0===t?void 0:t.hash)&&setTimeout((()=>{e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}),1e3)}(e)})),this.apiManager=new o.c}appUnpublished(){try{return(0,n.isUndefined)(AIR_REVIEWS)||(0,n.isEmpty)(AIR_REVIEWS.settings)}catch(e){return!0}}emptyProductReview(){return(0,n.isEmpty)(AIR_REVIEWS.productReview)||!AIR_REVIEWS.productReview}}class v{constructor(){(0,e.c)(this,"initialize",(()=>{this.displayManager.initialize()})),this.displayManager=new p}}(async()=>{console.log("%c Air Reviews Block has initialized","background: #054597; color: white"),window.isLoadAirCss||(window.isLoadAirCss=!0,await u.e("assets_src_styles__airPreviewStoreFont_scss").then(u.t.bind(u,9520,23)));(new v).initialize()})()}()}();