/** * adpushup/IframeClickTracker is licensed under the MIT License * * MIT License * * * Copyright (c) 2017 AdPushup Inc. * * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ /** * jfriend00/docReady is licensed under the MIT License * * The MIT License (MIT) * * * Copyright (c) 2014, John Friend * * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ (function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports}var module=installedModules[moduleId]={i:moduleId,l:false,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.l=true;return module.exports}__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){if(!__webpack_require__.o(exports,name)){Object.defineProperty(exports,name,{configurable:false,enumerable:true,get:getter})}};__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module["default"]}:function getModuleExports(){return module};__webpack_require__.d(getter,"a",getter);return getter};__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)};__webpack_require__.p="";return __webpack_require__(__webpack_require__.s=3)})([function(module,exports,__webpack_require__){var docReady=__webpack_require__(1);module.exports=function(){var browserConfig={name:"other",pingEl:null,pageVisibility:{supported:false,type:null,vendorPrefix:null},animation:{supported:false,keyframeprefix:"",pfx:"",animationstring:"animationName"},dataSendingMethod:null,unloadMethod:null,trackerSupported:false};(function detectBrowser(){var ua=navigator.userAgent;try{if((!!window.opera||ua.indexOf(" OPR/")>=0)&&ua.indexOf("Opera Mini")==-1){browserConfig.name="opera"}else if(ua.indexOf("Edge")!==-1){browserConfig.name="edge"}else if(typeof InstallTrigger!=="undefined"){browserConfig.name="firefox"}else if(/Android/i.test(ua)&&typeof navigator.vendor!=="undefined"&&navigator.vendor.indexOf("Google")>-1&&/ Version\/[^ ]+ Chrome/i.test(ua)){browserConfig.name="chrome-wv"}else if(!!window.chrome&&ua.match(/chrome/i)){browserConfig.name="chrome"}else if(false||!!document.documentMode){browserConfig.name="ie"}else if(navigator.vendor&&navigator.vendor.indexOf("Apple")>-1){browserConfig.name="safari"}}catch(e){}})();(function detectVisibilitySupport(){browserConfig.pageVisibility.supported=true;browserConfig.pageVisibility.type="standard";if(document.visibilityState!==void 0)browserConfig.pageVisibility.vendorPrefix="";else if(document.webkitVisibilityState!==void 0)browserConfig.pageVisibility.vendorPrefix="webkit";else if(document.mozVisibilityState!==void 0)browserConfig.pageVisibility.vendorPrefix="moz";else if(document.msVisibilityState!==void 0)browserConfig.pageVisibility.vendorPrefix="ms";else if(document.hasFocus!==void 0)browserConfig.pageVisibility.type="blur";else{browserConfig.pageVisibility.type=null;browserConfig.pageVisibility.supported=false}})();(function detectDataSendingMethod(){if(navigator&&typeof navigator.sendBeacon==="function"){browserConfig.dataSendingMethod="sendBeacon"}else if((browserConfig.name.match(/^safari*/)||browserConfig.name.match(/chrome*/)||browserConfig.name=="opera")&&typeof document.createElement("a").ping!="undefined"){browserConfig.dataSendingMethod="ping"}})();(function initBeacon(){if(browserConfig.dataSendingMethod==="ping"){docReady(function(e){var a=document.createElement("a");a.href="javascript:void(0)";a.style.display="none";a.id="_ap_ping_tracker";a.ping="";document.body.appendChild(a);browserConfig.pingEl=a;browserConfig.pingEl.click(function(e){e.stopPropagation();e.stopImmediatePropagation()})})}})();(function detectUnloadMethod(){browserConfig.unloadMethod=browserConfig.name.match("safari*")?"pagehide":"beforeunload"})();(function detectAnimationSupport(){var elm=document.createElement("div"),domPrefixes="Webkit Moz O ms Khtml".split(" ");if(elm.style.animationName!==undefined){browserConfig.animation.supported=true}if(browserConfig.animation.supported===false){for(i=0;i