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EG1BdZ,EAAoBwB,EAAI,CAACC,EAAKC,IAAUR,OAAOS,UAAUC,eAAeC,KAAKJ,EAAKC,G,MCKlF,IAAII,EAAkB,CACrB,IAAK,EACL,IAAK,GAaN9B,EAAoBQ,EAAES,EAAKc,GAA0C,IAA7BD,EAAgBC,GAGxD,IAAIC,EAAuB,CAACC,EAA4BC,KACvD,IAGIjC,EAAU8B,GAHTrB,EAAUyB,EAAaC,GAAWF,EAGhBnB,EAAI,EAC3B,GAAGL,EAAS2B,MAAMC,GAAgC,IAAxBR,EAAgBQ,KAAa,CACtD,IAAIrC,KAAYkC,EACZnC,EAAoBwB,EAAEW,EAAalC,KACrCD,EAAoBO,EAAEN,GAAYkC,EAAYlC,IAGhD,GAAGmC,EAAS,IAAI3B,EAAS2B,EAAQpC,EAClC,CAEA,IADGiC,GAA4BA,EAA2BC,GACrDnB,EAAIL,EAASlB,OAAQuB,IACzBgB,EAAUrB,EAASK,GAChBf,EAAoBwB,EAAEM,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO/B,EAAoBQ,EAAEC,EAAO,EAGjC8B,EAAqBC,KAAiC,2BAAIA,KAAiC,4BAAK,GACpGD,EAAmBE,QAAQT,EAAqBU,KAAK,KAAM,IAC3DH,EAAmBI,KAAOX,EAAqBU,KAAK,KAAMH,EAAmBI,KAAKD,KAAKH,G,KC9CvFvC,EAAoBQ,OAAEL,EAAW,CAAC,MAAM,IAAOH,EAAoB,OACnE,IAAI4C,EAAsB5C,EAAoBQ,OAAEL,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7F4C,EAAsB5C,EAAoBQ,EAAEoC,E","sources":["webpack://ll-exit-intent/webpack/runtime/chunk loaded","webpack://ll-exit-intent/./public/js/ll-exit-intent-public.js","webpack://ll-exit-intent/webpack/bootstrap","webpack://ll-exit-intent/webpack/runtime/hasOwnProperty shorthand","webpack://ll-exit-intent/webpack/runtime/jsonp chunk loading","webpack://ll-exit-intent/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","( function( $ ) {\n $( function() {\n if (typeof llExitIntent !== 'undefined') {\n let backgroundOptions;\n llExitIntent.bg_image = llExitIntent.bg_image || {};\n if ( llExitIntent.bg_image && llExitIntent.bg_image.image ) {\n backgroundOptions = `\n class=\"llei-col overlay\" style=\"background-color: ${llExitIntent.bg_color}; background-image: url(${llExitIntent.bg_image.image.sizes.large});\"\n `;\n } else {\n backgroundOptions = `\n class=\"llei-col\" style=\"background-color: ${llExitIntent.bg_color};\"\n `;\n }\n\n let innerTemplate;\n if ( llExitIntent.image ) {\n innerTemplate = `\n
\n
\n ${llExitIntent.image_source}\n
\n
\n
\n
\n ${llExitIntent.content}\n
\n
\n `;\n } else {\n innerTemplate = `\n
\n
\n ${llExitIntent.content}\n
\n
\n `;\n }\n let bottomTemplate = '';\n if ( llExitIntent.bottom_content ) {\n bottomTemplate = `\n
\n
\n ${llExitIntent.bottom_content}\n
\n
\n `;\n }\n\n const template = `\n
\n
\n
\n
\n
×
\n
\n ${innerTemplate}\n
\n ${bottomTemplate}\n
\n
\n
\n
\n `;\n function addStyleString( str ) {\n const node = document.createElement( 'style' );\n node.innerHTML = str;\n document.body.appendChild( node );\n }\n if ( llExitIntent.bg_image && llExitIntent.bg_image.image ) {\n addStyleString( `.llei-col.overlay::after {\n background-color:${llExitIntent.bg_image.overlay_color};\n opacity:${llExitIntent.bg_image.overlay_opacity / 100};\n }\n ` );\n }\n addStyleString( llExitIntent.css );\n document.body.insertAdjacentHTML( 'beforeEnd', template );\n const popup = document.querySelector( '.llei-container' );\n\n setTimeout( () => {\n if ( llExitIntent.trigger === 'exit' ) {\n $( document ).mouseleave( function() {\n if ( !localStorage.getItem( 'leaving_popup_seen' ) && ( $( 'body' ).find( '.llei-container' ).length > 0 ) ) {\n popup.classList.remove( 'llei-hidden' );\n\n localStorage.setItem( 'leaving_popup_seen', true );\n }\n } );\n } else {\n if ( !localStorage.getItem( 'leaving_popup_seen' ) && ( $( 'body' ).find( '.llei-container' ).length > 0 ) ) {\n popup.classList.remove( 'llei-hidden' );\n\n localStorage.setItem( 'leaving_popup_seen', true );\n }\n }\n }, ( +llExitIntent.wait * 1000 ) );\n const closeButton = document.querySelector( '.llei-close' );\n closeButton.addEventListener( 'click', () => {\n popup.classList.add( 'llei-hidden' );\n } );\n }\n } );\n} )( jQuery );\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t206: 0,\n\t579: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkll_exit_intent\"] = self[\"webpackChunkll_exit_intent\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\n__webpack_require__.O(undefined, [579], () => (__webpack_require__(358)))\nvar __webpack_exports__ = __webpack_require__.O(undefined, [579], () => (__webpack_require__(504)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","$","jQuery","llExitIntent","backgroundOptions","innerTemplate","addStyleString","str","node","document","createElement","innerHTML","body","appendChild","bg_image","image","bg_color","sizes","large","image_source","content","bottomTemplate","bottom_content","template","wrapper","overlay_color","overlay_opacity","css","insertAdjacentHTML","popup","querySelector","setTimeout","trigger","mouseleave","localStorage","getItem","find","length","classList","remove","setItem","wait","addEventListener","add","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","fulfilled","j","Object","keys","every","key","splice","r","o","obj","prop","prototype","hasOwnProperty","call","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","data","moreModules","runtime","some","id","chunkLoadingGlobal","self","forEach","bind","push","__webpack_exports__"],"sourceRoot":""}