(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.jQuery;var n=e.n(t);window.zESettings={webWidget:{color:{theme:"#00457C"},position:{horizontal:"right",vertical:"bottom"},zIndex:9999999999,launcher:{label:{"en-US":"Contact Us"}},contactForm:{title:{"en-US":"Contact Payment Plugins"},fields:[{id:"360024242873",prefill:{"*":"PayPal WooCommerce"}}]},helpCenter:{suppress:!0}}},window.zEmbed||function(){var e,t,n,o,i=[],a=document.createElement("iframe");window.zEmbed=function(){i.push(arguments)},window.zE=window.zE||window.zEmbed,a.src="javascript:false",a.title="",a.role="presentation",(a.frameElement||a).style.cssText="display: none",(n=(n=document.getElementsByTagName("script"))[n.length-1]).parentNode.insertBefore(a,n),o=a.contentWindow.document;try{t=o}catch(n){e=document.domain,a.src='javascript:var d=document.open();d.domain="'+e+'";void(0);',t=o}t.open()._l=function(){var t=this.createElement("script");e&&(this.domain=e),t.id="js-iframe-async",t.src="https://assets.zendesk.com/embeddable_framework/main.js",this.t=+new Date,this.zendeskHost="paymentplugins.zendesk.com",this.zEQueue=i,this.body.appendChild(t)},t.write('<body onload="document._l();">'),t.close()}(),n()(()=>{zE(function(){zE.hide()}),zE("webWidget","prefill",{name:{value:wcPPCPSupportParams.name},email:{value:wcPPCPSupportParams.email}}),n()(document.body).on("click","#paypalSupportButton",function(e){e.preventDefault(),zE("webWidget","updateSettings",{webWidget:{offset:{horizontal:n()(".wc-ppcp-support__page").outerWidth()/2-187+"px"}}}),zE(function(){zE.activate()})})}),(this.wcPPCP=this.wcPPCP||{})["help-widget"]={}})();
//# sourceMappingURL=help-widget.js.map