/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
/******/ (function() { // webpackBootstrap
/******/ 	var __webpack_modules__ = ({

/***/ "./src/scss/main.scss":
/*!****************************!*\
  !*** ./src/scss/main.scss ***!
  \****************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://pandago2/./src/scss/main.scss?");

/***/ }),

/***/ "./src/index.js":
/*!**********************!*\
  !*** ./src/index.js ***!
  \**********************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

eval("window.$ = window.jQuery;\r\n\r\n__webpack_require__( /*! ./scss/main.scss */ \"./src/scss/main.scss\");\r\n\r\nif ( pdg_opts.cc_enable ) {\r\n    __webpack_require__( /*! ./vendor/cookie-consent/cookie-consent.js */ \"./src/vendor/cookie-consent/cookie-consent.js\" );\r\n}\r\n\r\nwindow.conditionizr = __webpack_require__( /*! ./vendor/conditionizr/conditionizr.js */ \"./src/vendor/conditionizr/conditionizr.js\" );\r\n__webpack_require__( /*! ./js/main.js */ \"./src/js/main.js\");\r\n__webpack_require__( /*! ./js/browser-support.js */ \"./src/js/browser-support.js\" );\r\n\r\nif ( pdg_opts.cc_enable ) {\r\n    __webpack_require__( /*! ./js/cookie-consent.js */ \"./src/js/cookie-consent.js\" );\r\n}\n\n//# sourceURL=webpack://pandago2/./src/index.js?");

/***/ }),

/***/ "./src/js/browser-support.js":
/*!***********************************!*\
  !*** ./src/js/browser-support.js ***!
  \***********************************/
/***/ (function() {

eval("/**\r\n * Add classes and show outdated browser notice\r\n * for browsers spiecified in theme options.\r\n */\r\nfunction browser_support() {\r\n\r\n    var conditions = {\r\n        'ie6':     !!(Function('/*@cc_on return (@_jscript_version == 5.6 || (@_jscript_version == 5.7 && /MSIE 6\\.0/i.test(navigator.userAgent))); @*/')()),\r\n        'ie7':     !!(Function('/*@cc_on return (@_jscript_version == 5.7 && /MSIE 7\\.0(?!.*IEMobile)/i.test(navigator.userAgent)); @*/')()),\r\n        'ie8':     !!(Function('/*@cc_on return (@_jscript_version > 5.7 && !/^(9|10)/.test(@_jscript_version)); @*/')()),\r\n        'ie9':     !!(Function('/*@cc_on return (/^9/.test(@_jscript_version) && /MSIE 9\\.0(?!.*IEMobile)/i.test(navigator.userAgent)); @*/')()),\r\n        'ie10':    !!(Function('/*@cc_on return document.documentMode===10@*/')()),\r\n        'ie11':    /(?:\\sTrident\\/7\\.0;.*\\srv:11\\.0)/i.test(navigator.userAgent),\r\n        'edge':    /edge\\//i.test(navigator.userAgent),\r\n        'chrome':  !!window.chrome && /google/i.test(navigator.vendor),\r\n        'firefox': 'InstallTrigger' in window,\r\n        'opera':   !!window.opera || /opera/i.test(navigator.vendor),\r\n        'safari':  function(){ return (/Constructor/.test(window.HTMLElement) || (function (root) { return (!root || root.pushNotification).toString() === '[object SafariRemoteNotification]'; })(window.safari));},\r\n        'ios':     /iP(ad|hone|od)/i.test(navigator.userAgent),\r\n        'android': /android/i.test(navigator.userAgent),\r\n        'touch':   'ontouchstart' in window || !!navigator.msMaxTouchPoints\r\n    };\r\n\r\n    \r\n    browser_add_class( conditions );\r\n    browser_add_notice( conditions );\r\n\r\n}\r\n\r\n/**\r\n * Add classes to html element for specified browsers.\r\n */\r\nfunction browser_add_class( conditions ) {\r\n\r\n    var browsers = {};\r\n\r\n    var x = pdg_opts.browser_class.length;\r\n\r\n    if ( x ) {\r\n        for ( var i = 0; i < x; i++ ) {\r\n            browsers[pdg_opts.browser_class[i]] = ['class'];\r\n\r\n            conditionizr.add( pdg_opts.browser_class[i], conditions[pdg_opts.browser_class[i]] );\r\n        }\r\n    \r\n        conditionizr.config({\r\n            tests: browsers\r\n        } );\r\n    }\r\n\r\n}\r\n\r\n/**\r\n * Show browser notice html element and include\r\n * assets needed.\r\n */\r\nfunction browser_add_notice( conditions ) {\r\n\r\n    if ( pdg_cookie_get( 'hide_browser_notice' ) ) {\r\n        return;\r\n    }\r\n\r\n    var x = pdg_opts.browser_notice.length;\r\n\r\n    if ( x ) {\r\n        for ( var i = 0; i < x; i++ ) {\r\n            conditionizr.add( pdg_opts.browser_notice[i], conditions[pdg_opts.browser_notice[i]] );\r\n\r\n            conditionizr.on( pdg_opts.browser_notice[i], function() {\r\n\r\n                // Add stylesheet.\r\n                pdg_add_css( pdg_opts.theme_url + '/assets/vendor/browser-notice/browser-notice.css' );\r\n\r\n                // Add html.\r\n                $.get( '/wp-json/pdg/v2/browser-notice/', function( data ) {\r\n                    if ( data ) {\r\n                        $( 'body' ).addClass( 'show-browser-notice' ).prepend( data );\r\n\r\n                        $( document ).on( 'click', '.js-ubn-close', function() {\r\n                            $( this ).closest( '.update-browser-notification, .update-browser-notification-bg' ).remove();\r\n                            pdg_cookie_set( 'hide_browser_notice', 'yes', false );\r\n                        } );\r\n                    }\r\n                } );\r\n\r\n            } );\r\n        }\r\n    }\r\n\r\n}\r\n\r\nbrowser_support();\n\n//# sourceURL=webpack://pandago2/./src/js/browser-support.js?");

/***/ }),

/***/ "./src/js/cookie-consent.js":
/*!**********************************!*\
  !*** ./src/js/cookie-consent.js ***!
  \**********************************/
/***/ (function() {

eval("function enable_cookies() {\r\n\r\n    if ( pdg_opts.cc_on_consent_head ) {\r\n        $( pdg_opts.cc_on_consent_head ).appendTo( 'head' );\r\n    }\r\n\r\n    if ( pdg_opts.cc_on_consent_body ) {\r\n        $( pdg_opts.cc_on_consent_body ).appendTo( 'body' );\r\n    }\r\n\r\n}\r\n\r\nwindow.addEventListener( 'load', function() {\r\n    window.cookieconsent.initialise( {\r\n        position: pdg_opts.cc_position,\r\n        type: 'opt-in',\r\n        content: {\r\n            message: pdg_strings.cc_msg,\r\n            allow:   pdg_strings.cc_allow,\r\n            deny:    pdg_strings.cc_deny,\r\n            link:    pdg_strings.cc_learn_more,\r\n            href:    pdg_opts.cc_url\r\n        },\r\n        onPopupOpen: function() {\r\n            $( '<link rel=\"preload\" href=\"' + pdg_opts.theme_url + '/assets/vendor/cookie-consent/cookie-consent.css\" as=\"style\">' ).appendTo( 'head' );\r\n\r\n            pdg_add_css( pdg_opts.theme_url + '/assets/vendor/cookie-consent/cookie-consent.css', 'pdg-cc', true );\r\n        },\r\n        onInitialise: function ( status ) {\r\n            var did_consent = this.hasConsented();\r\n\r\n            if ( did_consent ) {\r\n                enable_cookies();\r\n            }\r\n        },\r\n        onStatusChange: function( status, chosenBefore ) {\r\n            var did_consent = this.hasConsented();\r\n\r\n            if ( did_consent ) {\r\n                enable_cookies();\r\n            }\r\n        }\r\n    } );\r\n} );\n\n//# sourceURL=webpack://pandago2/./src/js/cookie-consent.js?");

/***/ }),

/***/ "./src/js/main.js":
/*!************************!*\
  !*** ./src/js/main.js ***!
  \************************/
/***/ (function() {

eval("/**\r\n * Sets a browser cookie.\r\n *\r\n * @param {string} name  Cookie name\r\n * @param {mixed}  value Cookie value\r\n * @param {number} days  Days until cookie expires\r\n */\r\nwindow.pdg_cookie_set = function( name, value, days ) {\r\n\r\n    var expires;\r\n\r\n    if ( days ) {\r\n        var date = new Date();\r\n\r\n        date.setTime( date.getTime() + ( days * 24 * 60 * 60 * 1000 ) );\r\n        expires = '; expires=' + date.toGMTString();\r\n    } else {\r\n        expires = '';\r\n    }\r\n\r\n    document.cookie = name + '=' + value + expires + '; path=/';\r\n\r\n}\r\n\r\n/**\r\n * Gets info about chosen cookie.\r\n *\r\n * @param {string} name Cookie name to retrieve\r\n * @returns {string} Cookies value\r\n */\r\nwindow.pdg_cookie_get = function( name ) {\r\n\r\n    if ( document.cookie.length > 0 ) {\r\n        var start = document.cookie.indexOf( name + '=' );\r\n        var end;\r\n\r\n        if ( start != -1 ) {\r\n            start = start + name.length + 1;\r\n            end   = document.cookie.indexOf( ';', start );\r\n\r\n            if ( end == -1 ) {\r\n                end = document.cookie.length;\r\n            }\r\n\r\n            return unescape( document.cookie.substring( start, end ) );\r\n        }\r\n    }\r\n\r\n    return '';\r\n\r\n}\r\n\r\n/**\r\n * Add stylesheet to head.\r\n *\r\n * @param {string} url\r\n * @param {string} handle\r\n * @param {bool}   before\r\n */\r\nwindow.pdg_add_css = function( url, handle, before ) {\r\n\r\n    if ( typeof handle === 'undefined' ) {\r\n        handle = false;\r\n    }\r\n\r\n    if ( typeof before === 'undefined' ) {\r\n        before = false;\r\n    }\r\n\r\n    var head = document.head;\r\n    var link = document.createElement( 'link' );\r\n  \r\n    link.rel  = 'stylesheet';\r\n    link.href = url;\r\n\r\n    if ( handle ) {\r\n        link.id = handle + '-css';\r\n    }\r\n  \r\n    if ( before ) {\r\n        $( 'head' ).prepend( link );\r\n    } else {\r\n        head.appendChild( link );\r\n    }\r\n\r\n}\r\n\r\n/**\r\n * Add script to document.\r\n * \r\n * @param {string} url\r\n * @param {string} handle\r\n * @param {bool}   retrn\r\n */\r\nwindow.pdg_add_js = function( url, handle, retrn ) {\r\n\r\n    if ( typeof retrn === 'undefined' ) {\r\n        retrn = false;\r\n    }\r\n\r\n    var script = document.createElement( 'script' );\r\n\r\n    script.setAttribute( 'src', url );\r\n    script.setAttribute( 'id', handle + '-js' );\r\n    \r\n    document.body.appendChild( script );\r\n\r\n    if ( retrn ) {\r\n        return script;\r\n    }\r\n\r\n}\r\n\r\nwindow.pdg_add_inline_js = function( data, handle ) {\r\n\r\n    var script = document.createElement( 'script' );\r\n\r\n    script.textContent = data;\r\n    script.setAttribute( 'id', handle + '-js-extra' );\r\n\r\n    document.body.appendChild( script );\r\n\r\n}\r\n\r\n/**\r\n * Detect touch device.\r\n * \r\n * @returns {bool}\r\n */\r\nwindow.pdg_is_touch = function() {\r\n    return ( ( 'ontouchstart' in window ) || ( navigator.maxTouchPoints > 0 ) || ( navigator.msMaxTouchPoints > 0 ) );\r\n}\r\n\r\n/**\r\n * Load assets when user interacts with document.\r\n */\r\nvar load_js_index = 0;\r\n\r\nfunction load_js() {\r\n\r\n    if ( pdg_late_load['js'].length == 0 ) {\r\n        return;\r\n    }\r\n\r\n    if ( load_js_index === 0 && pdg_late_load['extra'].length ) {\r\n        var extra_count = pdg_late_load['extra'].length;\r\n\r\n        for ( var i = 0; i < extra_count; i++ ) {\r\n            pdg_add_inline_js( pdg_late_load['extra'][i].data, pdg_late_load['extra'][i].handle );\r\n        }\r\n    }\r\n\r\n    if ( load_js_index < pdg_late_load['js'].length ) {\r\n        var script_ref = pdg_late_load['js'][load_js_index];\r\n        var script;\r\n\r\n        var load_if_element = [];\r\n\r\n        if ( script_ref.deps.length ) {\r\n            for ( var i = 0; i < script_ref.deps.length; i++ ) {\r\n                if ( script_ref.deps[i].indexOf( 'domelement:' ) !== -1 ) {\r\n                    load_if_element.push( script_ref.deps[i].replace( 'domelement:', '' ) );\r\n                }\r\n            }\r\n        }\r\n\r\n        if ( load_if_element.length && $( load_if_element.join( ',' ) ).length || ! load_if_element.length ) {\r\n            script = pdg_add_js( script_ref.url, script_ref.handle, true );\r\n\r\n            script.onload = function() {\r\n                load_js_index++;\r\n                load_js();\r\n            };\r\n        } else {\r\n            load_js_index++;\r\n            load_js();\r\n        }\r\n    } else {\r\n        var event;\r\n\r\n        if ( typeof( Event ) === 'function' ) {\r\n            event = new Event( 'DOMContentLoaded', {\r\n                bubbles: true,\r\n                cancelable: true\r\n            } );\r\n        } else {\r\n            event = document.createEvent( 'Event' );\r\n            event.initEvent( 'DOMContentLoaded', true, true );\r\n        }\r\n\r\n        window.document.dispatchEvent( event );\r\n    }\r\n}\r\n\r\nfunction load_css() {\r\n\r\n    if ( pdg_late_load['css'].length == 0 ) {\r\n        return;\r\n    }\r\n\r\n    for ( var i = 0; i < pdg_late_load['css'].length; i++ ) {\r\n        var load_if_element = [];\r\n\r\n        if ( pdg_late_load['css'][i].deps.length ) {\r\n            for ( var x = 0; x < pdg_late_load['css'][i].deps.length; x++ ) {\r\n                if ( pdg_late_load['css'][i].deps[x].indexOf( 'domelement:' ) !== -1 ) {\r\n                    load_if_element.push( pdg_late_load['css'][i].deps[x].replace( 'domelement:', '' ) );\r\n                }\r\n            }\r\n        }\r\n\r\n        if ( load_if_element.length && $( load_if_element.join( ',' ) ).length || ! load_if_element.length ) {\r\n            $( '<link rel=\"preload\" href=\"' + pdg_late_load['css'][i]['url'] + '\" as=\"style\">' ).appendTo( 'head' );\r\n\r\n            pdg_add_css( pdg_late_load['css'][i]['url'], pdg_late_load['css'][i]['handle'], true );\r\n        }\r\n    }\r\n\r\n}\r\n\r\n\r\n/**\r\n * Late load scripts and styles.\r\n */\r\nif ( typeof pdg_late_load !== 'undefined' ) {\r\n    var f_late_loaded = false;\r\n\r\n    $( document ).on( 'click mousemove touchstart scroll', function() {\r\n        if ( ! f_late_loaded ) {\r\n            load_js();\r\n            load_css();\r\n\r\n            f_late_loaded = true;\r\n        }\r\n    } );\r\n}\r\n\r\n/**\r\n * Add touch class to body element.\r\n */\r\nfunction add_touch_class() {\r\n\r\n    if ( pdg_is_touch() ) {\r\n        $( 'body' ).addClass( 'is-touch-device' );\r\n    } else {\r\n        $( 'body' ).removeClass( 'is-touch-device' );\r\n    }\r\n\r\n}\r\n$( document ).ready( add_touch_class );\r\n$( window ).on( 'resize', add_touch_class );\n\n//# sourceURL=webpack://pandago2/./src/js/main.js?");

/***/ }),

/***/ "./src/vendor/conditionizr/conditionizr.js":
/*!*************************************************!*\
  !*** ./src/vendor/conditionizr/conditionizr.js ***!
  \*************************************************/
/***/ (function(module, exports, __webpack_require__) {

eval("var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! conditionizr v4.5.1 | (c) 2015 @toddmotto, @markgdyr | https://github.com/conditionizr */\r\n(function (root, factory) {\r\n  if (true) {\r\n    !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\r\n  } else {}\r\n})(this, function () {\r\n\r\n  'use strict';\r\n\r\n  var conditionizr = {};\r\n  var assets;\r\n\r\n  conditionizr.config = function (config) {\r\n    assets = config.assets || '';\r\n    for (var prop in config.tests) {\r\n      conditionizr[prop] && load(prop, config.tests[prop]);\r\n    }\r\n  };\r\n\r\n  conditionizr.add = function (prop, fn) {\r\n    conditionizr[prop] = typeof fn === 'function' ? fn() : fn;\r\n  };\r\n\r\n  conditionizr.on = function (prop, fn) {\r\n    (conditionizr[prop] || /^!/.test(prop) && !conditionizr[prop.slice(1)]) && fn();\r\n  };\r\n\r\n  conditionizr.load = conditionizr.polyfill = function (file, props) {\r\n    for (var i = props.length; i--;) {\r\n      conditionizr[props[i]] && load(file, [/\\.js$/.test(file) ? 'script' : 'style'], true);\r\n    }\r\n  };\r\n\r\n  function load (prop, tasks, external) {\r\n    for (var i = tasks.length; i--;) {\r\n      run(tasks[i]);\r\n    }\r\n    function run (task) {\r\n      var file;\r\n      var path = external ? prop : assets + prop + (task === 'style' ? '.css' : '.js');\r\n      switch (task) {\r\n      case 'script':\r\n        file = document.createElement('script');\r\n        file.src = path;\r\n        break;\r\n      case 'style':\r\n        file = document.createElement('link');\r\n        file.href = path;\r\n        file.rel = 'stylesheet';\r\n        break;\r\n      case 'class':\r\n        document.documentElement.className += ' ' + prop;\r\n        break;\r\n      }\r\n      !!file && (document.head || document.getElementsByTagName('head')[0]).appendChild(file);\r\n    }\r\n  }\r\n\r\n  return conditionizr;\r\n\r\n});\r\n\n\n//# sourceURL=webpack://pandago2/./src/vendor/conditionizr/conditionizr.js?");

/***/ }),

/***/ "./src/vendor/cookie-consent/cookie-consent.js":
/*!*****************************************************!*\
  !*** ./src/vendor/cookie-consent/cookie-consent.js ***!
  \*****************************************************/
/***/ (function() {

eval("!function(e){if(!e.hasInitialised){var t={escapeRegExp:function(e){return e.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\"\\\\$&\")},hasClass:function(e,t){var i=\" \";return 1===e.nodeType&&(i+e.className+i).replace(/[\\n\\t]/g,i).indexOf(i+t+i)>=0},addClass:function(e,t){e.className+=\" \"+t},removeClass:function(e,t){var i=new RegExp(\"\\\\b\"+this.escapeRegExp(t)+\"\\\\b\");e.className=e.className.replace(i,\"\")},interpolateString:function(e,t){var i=/{{([a-z][a-z0-9\\-_]*)}}/gi;return e.replace(i,function(e){return t(arguments[1])||\"\"})},getCookie:function(e){var t=\"; \"+document.cookie,i=t.split(\"; \"+e+\"=\");return i.length<2?void 0:i.pop().split(\";\").shift()},setCookie:function(e,t,i,n,o,s){var r=new Date;r.setDate(r.getDate()+(i||365));var a=[e+\"=\"+t,\"expires=\"+r.toUTCString(),\"path=\"+(o||\"/\")];n&&a.push(\"domain=\"+n),s&&a.push(\"secure\"),document.cookie=a.join(\";\")},deepExtend:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(i in e&&this.isPlainObject(e[i])&&this.isPlainObject(t[i])?this.deepExtend(e[i],t[i]):e[i]=t[i]);return e},throttle:function(e,t){var i=!1;return function(){i||(e.apply(this,arguments),i=!0,setTimeout(function(){i=!1},t))}},hash:function(e){var t,i,n,o=0;if(0===e.length)return o;for(t=0,n=e.length;t<n;++t)i=e.charCodeAt(t),o=(o<<5)-o+i,o|=0;return o},normaliseHex:function(e){return\"#\"==e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e},getContrast:function(e){e=this.normaliseHex(e);var t=parseInt(e.substr(0,2),16),i=parseInt(e.substr(2,2),16),n=parseInt(e.substr(4,2),16),o=(299*t+587*i+114*n)/1e3;return o>=128?\"#000\":\"#fff\"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),i=38,n=(t>>16)+i,o=(t>>8&255)+i,s=(255&t)+i,r=(16777216+65536*(n<255?n<1?0:n:255)+256*(o<255?o<1?0:o:255)+(s<255?s<1?0:s:255)).toString(16).slice(1);return\"#\"+r},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return\"object\"==typeof e&&null!==e&&e.constructor==Object},traverseDOMPath:function(e,i){return e&&e.parentNode?t.hasClass(e,i)?e:this.traverseDOMPath(e.parentNode,i):null}};e.status={deny:\"deny\",allow:\"allow\",dismiss:\"dismiss\"},e.transitionEnd=function(){var e=document.createElement(\"div\"),t={t:\"transitionend\",OT:\"oTransitionEnd\",msT:\"MSTransitionEnd\",MozT:\"transitionend\",WebkitT:\"webkitTransitionEnd\"};for(var i in t)if(t.hasOwnProperty(i)&&\"undefined\"!=typeof e.style[i+\"ransition\"])return t[i];return\"\"}(),e.hasTransition=!!e.transitionEnd;var i=Object.keys(e.status).map(t.escapeRegExp);e.customStyles={},e.Popup=function(){function n(){this.initialise.apply(this,arguments)}function o(e){this.openingTimeout=null,t.removeClass(e,\"cc-invisible\")}function s(t){t.style.display=\"none\",t.removeEventListener(e.transitionEnd,this.afterTransition),this.afterTransition=null}function r(){var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(e.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(e.status.allow),!0;var i=Object.keys(e.status),n=this.getStatus(),o=i.indexOf(n)>=0;return o&&t(n),o}function a(){var e=this.options.position.split(\"-\"),t=[];return e.forEach(function(e){t.push(\"cc-\"+e)}),t}function c(){var e=this.options,i=\"top\"==e.position||\"bottom\"==e.position?\"banner\":\"floating\";t.isMobile()&&(i=\"floating\");var n=[\"cc-\"+i,\"cc-type-\"+e.type,\"cc-theme-\"+e.theme];e[\"static\"]&&n.push(\"cc-static\"),n.push.apply(n,a.call(this));p.call(this,this.options.palette);return this.customStyleSelector&&n.push(this.customStyleSelector),n}function l(){var e={},i=this.options;i.showLink||(i.elements.link=\"\",i.elements.messagelink=i.elements.message),Object.keys(i.elements).forEach(function(n){e[n]=t.interpolateString(i.elements[n],function(e){var t=i.content[e];return e&&\"string\"==typeof t&&t.length?t:\"\"})});var n=i.compliance[i.type];n||(n=i.compliance.info),e.compliance=t.interpolateString(n,function(t){return e[t]});var o=i.layouts[i.layout];return o||(o=i.layouts.basic),t.interpolateString(o,function(t){return e[t]})}function u(i){var n=this.options,o=document.createElement(\"div\"),s=n.container&&1===n.container.nodeType?n.container:document.body;o.innerHTML=i;var r=o.children[0];return r.style.display=\"none\",t.hasClass(r,\"cc-window\")&&e.hasTransition&&t.addClass(r,\"cc-invisible\"),this.onButtonClick=h.bind(this),r.addEventListener(\"click\",this.onButtonClick),n.autoAttach&&(s.firstChild?s.insertBefore(r,s.firstChild):s.appendChild(r)),r}function h(n){var o=t.traverseDOMPath(n.target,\"cc-btn\")||n.target;if(t.hasClass(o,\"cc-btn\")){var s=o.className.match(new RegExp(\"\\\\bcc-(\"+i.join(\"|\")+\")\\\\b\")),r=s&&s[1]||!1;r&&(this.setStatus(r),this.close(!0))}t.hasClass(o,\"cc-close\")&&(this.setStatus(e.status.dismiss),this.close(!0)),t.hasClass(o,\"cc-revoke\")&&this.revokeChoice()}function p(e){var i=t.hash(JSON.stringify(e)),n=\"cc-color-override-\"+i,o=t.isPlainObject(e);return this.customStyleSelector=o?n:null,o&&d(i,e,\".\"+n),o}function d(i,n,o){if(e.customStyles[i])return void++e.customStyles[i].references;var s={},r=n.popup,a=n.button,c=n.highlight;r&&(r.text=r.text?r.text:t.getContrast(r.background),r.link=r.link?r.link:r.text,s[o+\".cc-window\"]=[\"color: \"+r.text,\"background-color: \"+r.background],s[o+\".cc-revoke\"]=[\"color: \"+r.text,\"background-color: \"+r.background],s[o+\" .cc-link,\"+o+\" .cc-link:active,\"+o+\" .cc-link:visited\"]=[\"color: \"+r.link],a&&(a.text=a.text?a.text:t.getContrast(a.background),a.border=a.border?a.border:\"transparent\",s[o+\" .cc-btn\"]=[\"color: \"+a.text,\"border-color: \"+a.border,\"background-color: \"+a.background],a.padding&&s[o+\" .cc-btn\"].push(\"padding: \"+a.padding),\"transparent\"!=a.background&&(s[o+\" .cc-btn:hover, \"+o+\" .cc-btn:focus\"]=[\"background-color: \"+(a.hover||v(a.background))]),c?(c.text=c.text?c.text:t.getContrast(c.background),c.border=c.border?c.border:\"transparent\",s[o+\" .cc-highlight .cc-btn:first-child\"]=[\"color: \"+c.text,\"border-color: \"+c.border,\"background-color: \"+c.background]):s[o+\" .cc-highlight .cc-btn:first-child\"]=[\"color: \"+r.text]));var l=document.createElement(\"style\");document.head.appendChild(l),e.customStyles[i]={references:1,element:l.sheet};var u=-1;for(var h in s)s.hasOwnProperty(h)&&l.sheet.insertRule(h+\"{\"+s[h].join(\";\")+\"}\",++u)}function v(e){return e=t.normaliseHex(e),\"000000\"==e?\"#222\":t.getLuminance(e)}function f(i){if(t.isPlainObject(i)){var n=t.hash(JSON.stringify(i)),o=e.customStyles[n];if(o&&!--o.references){var s=o.element.ownerNode;s&&s.parentNode&&s.parentNode.removeChild(s),e.customStyles[n]=null}}}function m(e,t){for(var i=0,n=e.length;i<n;++i){var o=e[i];if(o instanceof RegExp&&o.test(t)||\"string\"==typeof o&&o.length&&o===t)return!0}return!1}function b(){var i=this.setStatus.bind(this),n=this.close.bind(this),o=this.options.dismissOnTimeout;\"number\"==typeof o&&o>=0&&(this.dismissTimeout=window.setTimeout(function(){i(e.status.dismiss),n(!0)},Math.floor(o)));var s=this.options.dismissOnScroll;if(\"number\"==typeof s&&s>=0){var r=function(t){window.pageYOffset>Math.floor(s)&&(i(e.status.dismiss),n(!0),window.removeEventListener(\"scroll\",r),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=r,window.addEventListener(\"scroll\",r))}var a=this.options.dismissOnWindowClick,c=this.options.ignoreClicksFrom;if(a){var l=function(o){for(var s=!1,r=o.path.length,a=c.length,u=0;u<r;u++)if(!s)for(var h=0;h<a;h++)s||(s=t.hasClass(o.path[u],c[h]));s||(i(e.status.dismiss),n(!0),window.removeEventListener(\"click\",l),this.onWindowClick=null)}.bind(this);this.options.enabled&&(this.onWindowClick=l,window.addEventListener(\"click\",l))}}function g(){if(\"info\"!=this.options.type&&(this.options.revokable=!0),t.isMobile()&&(this.options.animateRevokable=!1),this.options.revokable){var e=a.call(this);this.options.animateRevokable&&e.push(\"cc-animate\"),this.customStyleSelector&&e.push(this.customStyleSelector);var i=this.options.revokeBtn.replace(\"{{classes}}\",e.join(\" \")).replace(\"{{policy}}\",this.options.content.policy);this.revokeBtn=u.call(this,i);var n=this.revokeBtn;if(this.options.animateRevokable){var o=t.throttle(function(e){var i=!1,o=20,s=window.innerHeight-20;t.hasClass(n,\"cc-top\")&&e.clientY<o&&(i=!0),t.hasClass(n,\"cc-bottom\")&&e.clientY>s&&(i=!0),i?t.hasClass(n,\"cc-active\")||t.addClass(n,\"cc-active\"):t.hasClass(n,\"cc-active\")&&t.removeClass(n,\"cc-active\")},200);this.onMouseMove=o,window.addEventListener(\"mousemove\",o)}}}var y={enabled:!0,container:null,cookie:{name:\"cookieconsent_status\",path:\"/\",domain:\"\",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(e){},onStatusChange:function(e,t){},onRevokeChoice:function(){},onNoCookieLaw:function(e,t){},content:{header:\"Cookies used on the website!\",message:\"This website uses cookies to ensure you get the best experience on our website.\",dismiss:\"Got it!\",allow:\"Allow cookies\",deny:\"Decline\",link:\"Learn more\",href:\"https://cookiesandyou.com\",close:\"&#x274c;\",target:\"_blank\",policy:\"Cookie Policy\"},elements:{header:'<span class=\"cc-header\">{{header}}</span>&nbsp;',message:'<span id=\"cookieconsent:desc\" class=\"cc-message\">{{message}}</span>',messagelink:'<span id=\"cookieconsent:desc\" class=\"cc-message\">{{message}} <a aria-label=\"learn more about cookies\" role=button tabindex=\"0\" class=\"cc-link\" href=\"{{href}}\" rel=\"noopener noreferrer nofollow\" target=\"{{target}}\">{{link}}</a></span>',dismiss:'<a aria-label=\"dismiss cookie message\" role=button tabindex=\"0\" class=\"cc-btn cc-dismiss\">{{dismiss}}</a>',allow:'<a aria-label=\"allow cookies\" role=button tabindex=\"0\"  class=\"cc-btn cc-allow\">{{allow}}</a>',deny:'<a aria-label=\"deny cookies\" role=button tabindex=\"0\" class=\"cc-btn cc-deny\">{{deny}}</a>',link:'<a aria-label=\"learn more about cookies\" role=button tabindex=\"0\" class=\"cc-link\" href=\"{{href}}\" rel=\"noopener noreferrer nofollow\" target=\"{{target}}\">{{link}}</a>',close:'<span aria-label=\"dismiss cookie message\" role=button tabindex=\"0\" class=\"cc-close\">{{close}}</span>'},window:'<div role=\"dialog\" aria-live=\"polite\" aria-label=\"cookieconsent\" aria-describedby=\"cookieconsent:desc\" class=\"cc-window {{classes}}\"><!--googleoff: all-->{{children}}<!--googleon: all--></div>',revokeBtn:'<div class=\"cc-revoke {{classes}}\">{{policy}}</div>',compliance:{info:'<div class=\"cc-compliance\">{{dismiss}}</div>',\"opt-in\":'<div class=\"cc-compliance cc-highlight\">{{deny}}{{allow}}</div>',\"opt-out\":'<div class=\"cc-compliance cc-highlight\">{{deny}}{{allow}}</div>'},type:\"info\",layouts:{basic:\"{{messagelink}}{{compliance}}\",\"basic-close\":\"{{messagelink}}{{compliance}}{{close}}\",\"basic-header\":\"{{header}}{{message}}{{link}}{{compliance}}\"},layout:\"basic\",position:\"bottom\",theme:\"block\",\"static\":!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:[\"cc-revoke\",\"cc-btn\"],autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};return n.prototype.initialise=function(e){this.options&&this.destroy(),t.deepExtend(this.options={},y),t.isPlainObject(e)&&t.deepExtend(this.options,e),r.call(this)&&(this.options.enabled=!1),m(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),m(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var i=this.options.window.replace(\"{{classes}}\",c.call(this).join(\" \")).replace(\"{{children}}\",l.call(this)),n=this.options.overrideHTML;if(\"string\"==typeof n&&n.length&&(i=n),this.options[\"static\"]){var o=u.call(this,'<div class=\"cc-grower\">'+i+\"</div>\");o.style.display=\"\",this.element=o.firstChild,this.element.style.display=\"none\",t.addClass(this.element,\"cc-invisible\")}else this.element=u.call(this,i);b.call(this),g.call(this),this.options.autoOpen&&this.autoOpen()},n.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener(\"click\",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener(\"scroll\",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener(\"click\",this.onWindowClick),this.onWindowClick=null),this.onMouseMove&&(window.removeEventListener(\"mousemove\",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,f(this.options.palette),this.options=null},n.prototype.open=function(t){if(this.element)return this.isOpen()||(e.hasTransition?this.fadeIn():this.element.style.display=\"\",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},n.prototype.close=function(t){if(this.element)return this.isOpen()&&(e.hasTransition?this.fadeOut():this.element.style.display=\"none\",t&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},n.prototype.fadeIn=function(){var i=this.element;if(e.hasTransition&&i&&(this.afterTransition&&s.call(this,i),t.hasClass(i,\"cc-invisible\"))){if(i.style.display=\"\",this.options[\"static\"]){var n=this.element.clientHeight;this.element.parentNode.style.maxHeight=n+\"px\"}var r=20;this.openingTimeout=setTimeout(o.bind(this,i),r)}},n.prototype.fadeOut=function(){var i=this.element;e.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),o.bind(this,i)),t.hasClass(i,\"cc-invisible\")||(this.options[\"static\"]&&(this.element.parentNode.style.maxHeight=\"\"),this.afterTransition=s.bind(this,i),i.addEventListener(e.transitionEnd,this.afterTransition),t.addClass(i,\"cc-invisible\")))},n.prototype.isOpen=function(){return this.element&&\"\"==this.element.style.display&&(!e.hasTransition||!t.hasClass(this.element,\"cc-invisible\"))},n.prototype.toggleRevokeButton=function(e){this.revokeBtn&&(this.revokeBtn.style.display=e?\"\":\"none\")},n.prototype.revokeChoice=function(e){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),e||this.autoOpen()},n.prototype.hasAnswered=function(t){return Object.keys(e.status).indexOf(this.getStatus())>=0},n.prototype.hasConsented=function(t){var i=this.getStatus();return i==e.status.allow||i==e.status.dismiss},n.prototype.autoOpen=function(e){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&this.options.revokable&&this.toggleRevokeButton(!0)},n.prototype.setStatus=function(i){var n=this.options.cookie,o=t.getCookie(n.name),s=Object.keys(e.status).indexOf(o)>=0;Object.keys(e.status).indexOf(i)>=0?(t.setCookie(n.name,i,n.expiryDays,n.domain,n.path,n.secure),this.options.onStatusChange.call(this,i,s)):this.clearStatus()},n.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},n.prototype.clearStatus=function(){var e=this.options.cookie;t.setCookie(e.name,\"\",-1,e.domain,e.path)},n}(),e.Location=function(){function e(e){t.deepExtend(this.options={},s),t.isPlainObject(e)&&t.deepExtend(this.options,e),this.currentServiceIndex=-1}function i(e,t,i){var n,o=document.createElement(\"script\");o.type=\"text/\"+(e.type||\"javascript\"),o.src=e.src||e,o.async=!1,o.onreadystatechange=o.onload=function(){var e=o.readyState;clearTimeout(n),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),o.onreadystatechange=o.onload=null)},document.body.appendChild(o),n=setTimeout(function(){t.done=!0,t(),o.onreadystatechange=o.onload=null},i)}function n(e,t,i,n,o){var s=new(window.XMLHttpRequest||window.ActiveXObject)(\"MSXML2.XMLHTTP.3.0\");if(s.open(n?\"POST\":\"GET\",e,1),s.setRequestHeader(\"Content-type\",\"application/x-www-form-urlencoded\"),Array.isArray(o))for(var r=0,a=o.length;r<a;++r){var c=o[r].split(\":\",2);s.setRequestHeader(c[0].replace(/^\\s+|\\s+$/g,\"\"),c[1].replace(/^\\s+|\\s+$/g,\"\"))}\"function\"==typeof t&&(s.onreadystatechange=function(){s.readyState>3&&t(s)}),s.send(n)}function o(e){return new Error(\"Error [\"+(e.code||\"UNKNOWN\")+\"]: \"+e.error)}var s={timeout:5e3,services:[\"ipinfo\"],serviceDefinitions:{ipinfo:function(){return{url:\"//ipinfo.io\",headers:[\"Accept: application/json\"],callback:function(e,t){try{var i=JSON.parse(t);return i.error?o(i):{code:i.country}}catch(n){return o({error:\"Invalid response (\"+n+\")\"})}}}},ipinfodb:function(e){return{url:\"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}\",isScript:!0,callback:function(e,t){try{var i=JSON.parse(t);return\"ERROR\"==i.statusCode?o({error:i.statusMessage}):{code:i.countryCode}}catch(n){return o({error:\"Invalid response (\"+n+\")\"})}}}},maxmind:function(){return{url:\"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js\",isScript:!0,callback:function(e){return window.geoip2?void geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(i){e(o(i))}},function(t){e(o(t))}):void e(new Error(\"Unexpected response format. The downloaded script should have exported `geoip2` to the global scope\"))}}}}};return e.prototype.getNextService=function(){var e;do e=this.getServiceByIdx(++this.currentServiceIndex);while(this.currentServiceIndex<this.options.services.length&&!e);return e},e.prototype.getServiceByIdx=function(e){var i=this.options.services[e];if(\"function\"==typeof i){var n=i();return n.name&&t.deepExtend(n,this.options.serviceDefinitions[n.name](n)),n}return\"string\"==typeof i?this.options.serviceDefinitions[i]():t.isPlainObject(i)?this.options.serviceDefinitions[i.name](i):null},e.prototype.locate=function(e,t){var i=this.getNextService();return i?(this.callbackComplete=e,this.callbackError=t,void this.runService(i,this.runNextServiceOnError.bind(this))):void t(new Error(\"No services to run\"))},e.prototype.setupUrl=function(e){var t=this.getCurrentServiceOpts();return e.url.replace(/\\{(.*?)\\}/g,function(i,n){if(\"callback\"===n){var o=\"callback\"+Date.now();return window[o]=function(t){e.__JSONP_DATA=JSON.stringify(t)},o}if(n in t.interpolateUrl)return t.interpolateUrl[n]})},e.prototype.runService=function(e,t){var o=this;if(e&&e.url&&e.callback){var s=e.isScript?i:n,r=this.setupUrl(e);s(r,function(i){var n=i?i.responseText:\"\";e.__JSONP_DATA&&(n=e.__JSONP_DATA,delete e.__JSONP_DATA),o.runServiceCallback.call(o,t,e,n)},this.options.timeout,e.data,e.headers)}},e.prototype.runServiceCallback=function(e,t,i){var n=this,o=function(t){s||n.onServiceResult.call(n,e,t)},s=t.callback(o,i);s&&this.onServiceResult.call(this,e,s)},e.prototype.onServiceResult=function(e,t){t instanceof Error||t&&t.error?e.call(this,t,null):e.call(this,null,t)},e.prototype.runNextServiceOnError=function(e,t){if(e){this.logError(e);var i=this.getNextService();i?this.runService(i,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error(\"All services failed\"))}else this.completeService.call(this,this.callbackComplete,t)},e.prototype.getCurrentServiceOpts=function(){var e=this.options.services[this.currentServiceIndex];return\"string\"==typeof e?{name:e}:\"function\"==typeof e?e():t.isPlainObject(e)?e:{}},e.prototype.completeService=function(e,t){this.currentServiceIndex=-1,e&&e(t)},e.prototype.logError=function(e){var t=this.currentServiceIndex,i=this.getServiceByIdx(t);console.warn(\"The service[\"+t+\"] (\"+i.url+\") responded with the following error\",e)},e}(),e.Law=function(){function e(e){this.initialise.apply(this,arguments)}var i={regionalLaw:!0,hasLaw:[\"AT\",\"BE\",\"BG\",\"HR\",\"CZ\",\"CY\",\"DK\",\"EE\",\"FI\",\"FR\",\"DE\",\"EL\",\"HU\",\"IE\",\"IT\",\"LV\",\"LT\",\"LU\",\"MT\",\"NL\",\"PL\",\"PT\",\"SK\",\"ES\",\"SE\",\"GB\",\"UK\",\"GR\",\"EU\"],revokable:[\"HR\",\"CY\",\"DK\",\"EE\",\"FR\",\"DE\",\"LV\",\"LT\",\"NL\",\"PT\",\"ES\"],explicitAction:[\"HR\",\"IT\",\"ES\"]};return e.prototype.initialise=function(e){t.deepExtend(this.options={},i),t.isPlainObject(e)&&t.deepExtend(this.options,e)},e.prototype.get=function(e){var t=this.options;return{hasLaw:t.hasLaw.indexOf(e)>=0,revokable:t.revokable.indexOf(e)>=0,explicitAction:t.explicitAction.indexOf(e)>=0}},e.prototype.applyLaw=function(e,t){var i=this.get(t);return i.hasLaw||(e.enabled=!1,\"function\"==typeof e.onNoCookieLaw&&e.onNoCookieLaw(t,i)),this.options.regionalLaw&&(i.revokable&&(e.revokable=!0),i.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e},e}(),e.initialise=function(i,n,o){var s=new e.Law(i.law);n||(n=function(){}),o||(o=function(){});var r=Object.keys(e.status),a=t.getCookie(\"cookieconsent_status\"),c=r.indexOf(a)>=0;return c?void n(new e.Popup(i)):void e.getCountryCode(i,function(t){delete i.law,delete i.location,t.code&&(i=s.applyLaw(i,t.code)),n(new e.Popup(i))},function(t){delete i.law,delete i.location,o(t,new e.Popup(i))})},e.getCountryCode=function(t,i,n){if(t.law&&t.law.countryCode)return void i({code:t.law.countryCode});if(t.location){var o=new e.Location(t.location);return void o.locate(function(e){i(e||{})},n)}i({})},e.utils=t,e.hasInitialised=!0,window.cookieconsent=e}}(window.cookieconsent||{});\n\n//# sourceURL=webpack://pandago2/./src/vendor/cookie-consent/cookie-consent.js?");

/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// The module cache
/******/ 	var __webpack_module_cache__ = {};
/******/ 	
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/ 		// Check if module is in cache
/******/ 		var cachedModule = __webpack_module_cache__[moduleId];
/******/ 		if (cachedModule !== undefined) {
/******/ 			return cachedModule.exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = __webpack_module_cache__[moduleId] = {
/******/ 			// no module.id needed
/******/ 			// no module.loaded needed
/******/ 			exports: {}
/******/ 		};
/******/ 	
/******/ 		// Execute the module function
/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ 	
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	!function() {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = function(exports) {
/******/ 			if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 				Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 			}
/******/ 			Object.defineProperty(exports, '__esModule', { value: true });
/******/ 		};
/******/ 	}();
/******/ 	
/************************************************************************/
/******/ 	
/******/ 	// startup
/******/ 	// Load entry module and return exports
/******/ 	// This entry module can't be inlined because the eval devtool is used.
/******/ 	var __webpack_exports__ = __webpack_require__("./src/index.js");
/******/ 	
/******/ })()
;