webpackJsonpppg__name_([0],{109:function(n,e,t){"use strict";function r(){return g.h("img.ppg__fab-icon.ppg__fab-icon--default",{src:t(201)})}function o(){return t(202)}function i(n){if(!n.showPopup)return null;if(n.options.subscriptionForm){return new b.FormBuilder(n).buildForm()}}function a(n){var e=n.options.fab.enabled;return n.isOK()&&e?s(n):null}function p(n){var e=n.options.fab;return n.isFabContentLoading?[g.h("div",{innerHTML:"loading..."})]:n.isNativeBlocked?[g.h("div",{innerHTML:e.nativeBlockedText})]:n.isActive?[g.h("div",{innerHTML:e.enabledText}),g.h("a.ppg__link.ppg__link--light.ppg__link--underlined",{href:"#",onclick:n.handleUnsubscribeClick},e.disableButtonText)]:[g.h("div.ppg__fab-title",e.title),g.h("div.ppg__fab-text",{innerHTML:e.disabledText}),g.h("a.ppg__btn",{href:"#",onclick:n.handleFabSubscribeClick},e.enableButtonText)]}function s(n){var e=n.options.fab;return g.h("div.ppg__fab",g.h("div.ppg__fab-bubble",{classes:{"ppg__fab-bubble--opened":n.isBubbleOpen}},[g.h("div.ppg__fab-bubble-inner",p(n)),g.h("span.ppg__icon.ppg__close.ppg__close--small",{onclick:n.handleCloseBuble})]),[g.h("div.ppg__fab-circle",{onclick:n.handleToggleBubble,classes:{"ppg__fab-circle--shake":n.shouldShake}},e.fabIcon?g.h("img.ppg__fab-icon",{src:e.fabIcon}):[g.h("span.ppg__fab-light-dot"),r()])])}function d(n){if(n.isUserInTestMode())return n.isActive?g.h("div.ppg__test-mode",[g.h("div",{key:"subscriberInfo"},[g.h("b","Subscriber info:"),g.h("p",{key:"subscriberStatus",innerHTML:"You are subscribed"}),n.subscriberId&&g.h("p",{key:"subscriberId",innerHTML:"Subscriber ID: "+n.subscriberId})]),g.h("div",{key:"subscriberActions"},[g.h("b","Actions:"),g.h("div.m10t",[g.h("p.m10b",{innerHTML:"Start or end session and trigger automations which are in test mode:"}),g.h("a.ppg__btn.test__mode.m10r.m10b",{innerHTML:"Start Session",onclick:n.startSession}),g.h("a.ppg__btn.test__mode.m10r.m10b",{innerHTML:"End session",onclick:n.endSession}),g.h("p.m10b.m10t",{innerHTML:"Other actions:"}),g.h("a.ppg__btn.test__mode",{innerHTML:"Clear settings",onclick:n.clearAllSettings})])]),g.h("div",{key:"subscriberTagForm"},[g.h("b","Add test tag:"),g.h("p.m10t",[g.h("input",{type:"text",value:n.newTestTag,oninput:n.onNewTagInput,placeholder:"sample"}),g.h("a.ppg__btn.test__mode.m10l",{innerHTML:"Save",onclick:n.addTestTag})]),g.h("br"),g.h("p",{key:"subscriberTags"},["Test tags: ",n.testTags.length>0?n.testTags.join(", "):"You have no test tags"])]),g.h("a.ppg__test-mode-exit-button",{innerHTML:"Leave",onclick:n.leaveTestMode})]):g.h("div.ppg__test-mode",[g.h("div",{key:"subscriberInfo"},[g.h("b","Subscriber info:"),g.h("p",n.isNoDeclined()?"You are not subscribed":"You have rejected subscription")]),g.h("div",{key:"subscriberActions"},[g.h("span.ppg__btn.test__mode",{innerHTML:"Show subscribe popup",onclick:n.showSubscribeForm})]),g.h("a.ppg__test-mode-exit-button",{innerHTML:"Leave",onclick:n.leaveTestMode})])}function c(n,e){return l(this,void 0,void 0,function(){var t;return u(this,function(r){try{m.configureScope(function(n){n.setExtra("debug",!1),n.setTag("plugin","push"),n.setTag("version",e.version),n.setTag("project",e.projectId)}),t=g.createProjector(),t.append(document.head,function(){return g.h("style",{},[".ppg__btn,\n .ppg__fab-circle {\n background-color: "+n.options.fab.primaryColor+";\n }\n .ppg__icon,\n .ppg__checkbox input:checked + span { background-image: url("+o()+"); }\n "+n.options.fab.customCss])}),t.append(document.body,function(){return g.h("div#pushpushgo-container.ppg__container",{classes:{"ppg__container--mobile":n.isMobile()}},[i(n),a(n),d(n)])}),n.sub(function(){return t.renderNow()}),n.autoStart()}catch(n){m.captureException(n)}return[2]})})}var l=this&&this.__awaiter||function(n,e,t,r){return new(t||(t=Promise))(function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function p(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){n.done?o(n.value):new t(function(e){e(n.value)}).then(a,p)}s((r=r.apply(n,e||[])).next())})},u=this&&this.__generator||function(n,e){function t(n){return function(e){return r([n,e])}}function r(t){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,i&&(a=i[2&t[0]?"return":t[0]?"throw":"next"])&&!(a=a.call(i,t[1])).done)return a;switch(i=0,a&&(t=[0,a.value]),t[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,i=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(a=s.trys,!(a=a.length>0&&a[a.length-1])&&(6===t[0]||2===t[0])){s=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1] div {\n width: 100%;\n}\n.ppg__test-mode .ppg__btn {\n border: 2px solid #fff;\n line-height: 30px;\n cursor: pointer;\n background: none;\n text-decoration: none;\n}\n.ppg__test-mode .ppg__btn.test__mode:active {\n transform: translateY(1px);\n}\n.ppg__test-mode .ppg__btn.test__mode:hover {\n background-color: rgba(23, 139, 111, 0.96);\n text-decoration: none;\n}\n.ppg__test-mode input {\n height: 40px;\n border: 0px;\n min-width: 200px;\n border-radius: 4px;\n color: #000;\n padding: 0 10px;\n}\n.ppg__test-mode .m10t {\n margin-top: 10px;\n}\n.ppg__test-mode .m10r {\n margin-right: 10px;\n}\n.ppg__test-mode .m10b {\n margin-bottom: 10px;\n}\n.ppg__test-mode .m10l {\n margin-left: 10px;\n}\n.ppg__test-mode-exit-button {\n position: absolute;\n top: -30px;\n right: 20px;\n background: #fff;\n height: 32px;\n line-height: 32px;\n padding: 0 20px;\n border-radius: 4px 4px 0 0;\n text-transform: uppercase;\n letter-spacing: 1px;\n font-size: 12px;\n color: rgba(22, 160, 133, 0.96);\n font-weight: 600;\n cursor: pointer;\n border: 2px solid rgba(22, 160, 133, 0.96);\n}\n.ppg__test-mode-exit-button:hover {\n text-decoration: none;\n}\n@media (max-width: 1000px) {\n .ppg__test-mode {\n display: block;\n }\n .ppg__test-mode > div {\n margin: 10px 0;\n }\n}\n.ppg__checkbox {\n display: inline-block;\n vertical-align: middle;\n width: 22px;\n height: 22px;\n position: relative;\n margin-right: 10px;\n}\n.ppg__checkbox input {\n opacity: 0;\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1;\n}\n.ppg__checkbox span {\n border: 1px solid #dedede;\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 0;\n box-sizing: border-box;\n transition: border 0.05s;\n}\n.ppg__checkbox input:checked + span {\n border-color: #000;\n background-position: -59px 1px;\n background-repeat: no-repeat;\n}\n.ppg__popup-tags {\n margin-bottom: 20px;\n}\n.ppg__popup-tag-item {\n margin: 10px;\n}\n.ppg__fab {\n position: fixed;\n bottom: 0px;\n left: 0px;\n padding: 25px;\n z-index: 10000;\n}\n.ppg__fab-circle {\n width: 60px;\n height: 60px;\n cursor: pointer;\n background: #16a085;\n border-radius: 100%;\n z-index: 10000;\n padding: 0px;\n line-height: 52px;\n box-sizing: border-box;\n text-align: center;\n box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.2);\n color: #fff;\n border: 3px solid #fff;\n position: relative;\n}\n.ppg__fab-circle--shake .ppg__fab-light-dot {\n -webkit-animation: light-that-ppg 7s;\n -moz-animation: light-that-ppg 7s;\n animation: light-that-ppg 7s;\n -webkit-animation-iteration-count: infinite;\n -moz-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n}\n.ppg__fab-circle--shake .ppg__fab-icon {\n -webkit-animation: shake-that-ppg 7s;\n -moz-animation: shake-that-ppg 7s;\n animation: shake-that-ppg 7s;\n -webkit-animation-iteration-count: infinite;\n -moz-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-timing-function: linear;\n -moz-animation-timing-function: linear;\n animation-timing-function: linear;\n}\n.ppg__fab-light-dot {\n opacity: 0;\n width: 8px;\n height: 8px;\n background: #fff;\n position: absolute;\n top: 22px;\n left: 21px;\n box-shadow: 0px 0px 14px 7px rgba(255, 255, 255, 0.35);\n border-radius: 50%;\n transition: opacity 1s;\n z-index: 0;\n}\n.ppg__fab-icon {\n max-width: 30px;\n display: inline-block;\n vertical-align: middle;\n position: relative;\n z-index: 1;\n margin: 0;\n padding: 0;\n}\n.ppg__fab-icon--default {\n width: 20px;\n margin: 12px;\n}\n.ppg__fab-title {\n font-size: 22px;\n margin-bottom: 5px;\n}\n.ppg__fab-bubble {\n display: none;\n padding-bottom: 10px;\n position: relative;\n}\n.ppg__fab-bubble-inner {\n transition: all 0.5s;\n padding: 20px;\n border-radius: 4px;\n text-align: left;\n background: #fff;\n border: 1px solid #e8e8e8;\n box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.1);\n max-width: 220px;\n}\n.ppg__fab-bubble .ppg__btn {\n margin-top: 20px;\n}\n.ppg__fab-bubble--opened {\n display: block;\n}\n@media (max-width: 500px) {\n .ppg__fab {\n padding: 10px;\n }\n}\n@-moz-keyframes shake-that-ppg {\n 0% {\n transform: rotate(0);\n }\n 1% {\n transform: rotate(-20deg);\n }\n 3% {\n transform: rotate(20deg);\n }\n 5% {\n transform: rotate(-20deg);\n }\n 7% {\n transform: rotate(20deg);\n }\n 9% {\n transform: rotate(-20deg);\n }\n 11% {\n transform: rotate(20deg);\n }\n 13% {\n transform: rotate(-20deg);\n }\n 15% {\n transform: rotate(20deg);\n }\n 17% {\n transform: rotate(-20deg);\n }\n 18% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(0);\n }\n}\n@-webkit-keyframes shake-that-ppg {\n 0% {\n transform: rotate(0);\n }\n 1% {\n transform: rotate(-20deg);\n }\n 3% {\n transform: rotate(20deg);\n }\n 5% {\n transform: rotate(-20deg);\n }\n 7% {\n transform: rotate(20deg);\n }\n 9% {\n transform: rotate(-20deg);\n }\n 11% {\n transform: rotate(20deg);\n }\n 13% {\n transform: rotate(-20deg);\n }\n 15% {\n transform: rotate(20deg);\n }\n 17% {\n transform: rotate(-20deg);\n }\n 18% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(0);\n }\n}\n@keyframes shake-that-ppg {\n 0% {\n transform: rotate(0);\n }\n 1% {\n transform: rotate(-20deg);\n }\n 3% {\n transform: rotate(20deg);\n }\n 5% {\n transform: rotate(-20deg);\n }\n 7% {\n transform: rotate(20deg);\n }\n 9% {\n transform: rotate(-20deg);\n }\n 11% {\n transform: rotate(20deg);\n }\n 13% {\n transform: rotate(-20deg);\n }\n 15% {\n transform: rotate(20deg);\n }\n 17% {\n transform: rotate(-20deg);\n }\n 18% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(0);\n }\n}\n@-webkit-keyframes light-that-ppg {\n 0% {\n opacity: 0;\n }\n 10% {\n opacity: 1;\n }\n 20% {\n opacity: 1;\n }\n 30% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n}\n@-moz-keyframes light-that-ppg {\n 0% {\n opacity: 0;\n }\n 10% {\n opacity: 1;\n }\n 20% {\n opacity: 1;\n }\n 30% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n}\n@keyframes light-that-ppg {\n 0% {\n opacity: 0;\n }\n 10% {\n opacity: 1;\n }\n 20% {\n opacity: 1;\n }\n 30% {\n opacity: 0;\n }\n 100% {\n opacity: 0;\n }\n}\n",""])},149:function(n,e){n.exports=function(){var n=[];return n.toString=function(){for(var n=[],e=0;e=0&&v.splice(e,1)}function a(n){var e=document.createElement("style");return e.type="text/css",o(n,e),e}function p(n){var e=document.createElement("link");return e.rel="stylesheet",o(n,e),e}function s(n,e){var t,r,o;if(e.singleton){var s=m++;t=b||(b=a(e)),r=d.bind(null,t,s,!1),o=d.bind(null,t,s,!0)}else n.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(t=p(e),r=l.bind(null,t),o=function(){i(t),t.href&&URL.revokeObjectURL(t.href)}):(t=a(e),r=c.bind(null,t),o=function(){i(t)});return r(n),function(e){if(e){if(e.css===n.css&&e.media===n.media&&e.sourceMap===n.sourceMap)return;r(n=e)}else o()}}function d(n,e,t,r){var o=t?"":r.css;if(n.styleSheet)n.styleSheet.cssText=x(e,o);else{var i=document.createTextNode(o),a=n.childNodes;a[e]&&n.removeChild(a[e]),a.length?n.insertBefore(i,a[e]):n.appendChild(i)}}function c(n,e){var t=e.css,r=e.media;if(r&&n.setAttribute("media",r),n.styleSheet)n.styleSheet.cssText=t;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(t))}}function l(n,e){var t=e.css,r=e.sourceMap;r&&(t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([t],{type:"text/css"}),i=n.href;n.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var u={},f=function(n){var e;return function(){return void 0===e&&(e=n.apply(this,arguments)),e}},g=f(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),h=f(function(){return document.head||document.getElementsByTagName("head")[0]}),b=null,m=0,v=[];n.exports=function(n,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},void 0===e.singleton&&(e.singleton=g()),void 0===e.insertAt&&(e.insertAt="bottom");var o=r(n);return t(o,e),function(n){for(var i=[],a=0;a=0){for(d=f;df)for(d=f;d