parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"HVsC":[function(require,module,exports) {
const t="j6qtyr66",e=JSON.parse(localStorage.getItem("mvGrowIntercomCache")||"{}");async function n(){if(a())return;const n=window.mvgrow_intercom.options.license,{current_user_email:o,current_firstname:c,current_lastname:s}=window.mvgrow_intercom.user;let m,u,l;if(!o)return;const w=null==e?void 0:e.email,_=null==e?void 0:e.expirationDate;if(w&&w===o&&new Date<=_)m=w,u=e.name,l=e.user_hash;else{const{hash:t,customer_name:e,customer_email:a}=await r(o,n);m=a||o,u=e||`${c} ${s}`,l=t||null,localStorage.setItem("mvGrowIntercomCache",JSON.stringify({user_hash:t,name:e,email:a,expirationDate:i()}))}window.intercomSettings={...l?{user_hash:l}:{},app_id:t,name:u,email:m,is_using_mv_grow_pro:!0},function(){var e=window,n=e.Intercom;if("function"==typeof n)n("reattach_activator"),n("update",e.intercomSettings);else{var o=document,a=function(){a.c(arguments)};a.q=[],a.c=function(t){a.q.push(t)},e.Intercom=a;var r=function(){var e=o.createElement("script");e.type="text/javascript",e.async=!0,e.src="https://widget.intercom.io/widget/"+t;var n=o.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)};"complete"===document.readyState?r():e.attachEvent?e.attachEvent("onload",r):e.addEventListener("load",r,!1)}}(),window.MV_HAS_GROW_INTERCOM_BOOTED=!0;const d={...l?{user_hash:l}:{},app_id:t,email:m};return window.Intercom("boot",d)}function o(){if(window.Intercom)return window.MV_HAS_GROW_INTERCOM_BOOTED=!1,window.Intercom("shutdown")}function a(){return window.MV_HAS_GROW_INTERCOM_BOOTED}async function r(t,e){if(e)try{const o=await fetch("https://product-data-sync.herokuapp.com/validate_user",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,grow_license:e,plugin_slug:"mediavine-grow"})});return 401===o.status||403===o.status?{hash:null}:await o.json()}catch(n){console.error(n)}}function i(){let t=new Date;return t.setDate(t.getDate()+7),t}e||localStorage.setItem("mvGrowIntercomCache",JSON.stringify({})),a()||n();
},{}]},{},["HVsC"], null)