{"version":3,"sources":["webpack:///webpack/bootstrap 5d8a69e6e288a099ff46","webpack:///./frontend/js/head.js"],"names":["d","A17","window","de","documentElement","w","h","getElementsByTagName","s","a","test","navigator","userAgent","classList","add","browserSpec","_typeof","querySelectorAll","history","pushState","implementation","hasFeature","touch","documentTouch","DocumentTouch","objectFit","style","className","replace","disableSS","readyState","setTimeout","i","styleSheets","length","ss","title","disabled","disableSSff3","addEventListener","body","insSvg","db","createElement","innerHTML","responseText","insertBefore","childNodes","rel","href","appendChild","src","XMLHttpRequest","open","hc","theme_uri","send","onload","e","status","document"],"mappings":";QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;;;;;;;;;AC7DA;AACA;;AAEA;AACA,CAAC,UAASA,CAAC,EAAE;EAEX;EACA,IAAIC,GAAG,GAAGC,MAAM,CAACD,GAAG,IAAI,CAAC,CAAC;IACtBE,EAAE,GAAGH,CAAC,CAACI,eAAe;IACtBC,CAAC,GAAGH,MAAM;IACVI,CAAC,GAAGN,CAAC,CAACO,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACrCC,CAAC;IAAEC,CAAC;EACR,IAAI,gCAAgC,CAACC,IAAI,CAACC,SAAS,CAACC,SAAS,CAAC,EAAE;IAC9DT,EAAE,CAACU,SAAS,CAACC,GAAG,CAAC,WAAW,CAAC;EAC/B;;EAEA;EACAb,GAAG,CAACc,WAAW,GAAIC,OAAA,CAAOhB,CAAC,CAACiB,gBAAgB,KAAI,kBAAkB,IAAIZ,CAAC,IAAIA,C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;IAC7BnC,CAAC,CAAC2C,GAAG,GAAG,uEAAuE;IAC/E7C,CAAC,CAAC4C,WAAW,CAAC1C,CAAC,CAAC;IAChB,IAAI,CAACP,GAAG,CAACwB,SAAS,EAAE;MAClBjB,CAAC,GAAGR,CAAC,CAAC2C,aAAa,CAAC,QAAQ,CAAC;MAC7BnC,CAAC,CAAC2C,GAAG,GAAG,qEAAqE;MAC7E7C,CAAC,CAAC4C,WAAW,CAAC1C,CAAC,CAAC;IAClB;IACA;IACAC,CAAC,GAAG,IAAI2C,cAAc,CAAC,CAAC;IACxB3C,CAAC,CAAC4C,IAAI,CAAC,KAAK,EAAEnD,MAAM,CAACoD,EAAE,CAACC,SAAS,GAAG,uBAAuB,EAAE,IAAI,CAAC;IAClE9C,CAAC,CAAC+C,IAAI,CAAC,CAAC;IACR/C,CAAC,CAACgD,MAAM,GAAG,UAASC,CAAC,EAAE;MACrB,IAAIjD,CAAC,CAACkD,MAAM,IAAI,GAAG,IAAIlD,CAAC,CAACkD,MAAM,GAAG,GAAG,EAAC;QACpClB,MAAM,CAAC,CAAC;MACV;IACF,CAAC;EACH;AACF,CAAC,EAAEmB,QAAQ,CAAC,C","file":"head.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 5d8a69e6e288a099ff46","// Contents to be minified and placed inline in the document header\n// Doc: https://code.area17.com/a17/fe-boilerplate/wikis/js-head\n\n// go go\n(function(d) {\n\n // set up a master object\n var A17 = window.A17 || {},\n de = d.documentElement,\n w = window,\n h = d.getElementsByTagName('head')[0],\n s, a;\n if (/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {\n de.classList.add('is-safari');\n }\n\n // test for HTML5 vs HTML4 support, cutting the mustard\n A17.browserSpec = (typeof d.querySelectorAll && 'addEventListener' in w && w.history.pushState && d.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1')) ? 'html5' : 'html4';\n\n // test for touch support. Caution: this is dangerous: https://hacks.mozilla.org/2013/04/detecting-touch-its-the-why-not-the-how/\n A17.touch = (('ontouchstart' in w) || w.documentTouch && d instanceof DocumentTouch) ? true : false;\n\n // testing for object fit support\n A17.objectFit = ('objectFit' in de.style);\n\n // expose A17\n window.A17 = A17;\n\n // add class names\n de.className = de.className.replace(/\\bno-js\\b/,' js '+A17.browserSpec+(A17.touch ? ' touch' : ' no-touch')+(A17.objectFit ? ' objectFit' : ' no-objectFit'));\n\n // disable all the stylesheets, except the html4css one\n function disableSS() {\n if (/in/.test(d.readyState)) {\n setTimeout(disableSS,9);\n } else {\n for(var i = 0; i < d.styleSheets.length; i++){\n var ss = d.styleSheets[i];\n if (ss.title !== 'html4css') {\n ss.disabled = true;\n }\n }\n }\n }\n\n // FF < 3.6 didn't have document.readyState - hacky shim for it\n function disableSSff3() {\n if (!d.readyState && d.addEventListener) {\n if (d.body) {\n setTimeout(function(){\n d.readyState = 'complete';\n },500);\n } else {\n setTimeout(disableSSff3,9);\n }\n }\n }\n\n // insert sprite SVG on DOM ready\n function insSvg() {\n if (/in/.test(d.readyState)) {\n setTimeout(insSvg,9);\n } else {\n var db = d.body;\n var s = d.createElement('div');\n s.className = 'svg-sprite svg-sprite--async';\n s.innerHTML = a.responseText;\n db.insertBefore(s, db.childNodes[0]);\n }\n }\n\n if(A17.browserSpec === 'html4'){\n // if an old browser - sort the page out for showing the html4css\n s = d.createElement('link');\n s.rel = 'stylesheet';\n s.title = 'html4css';\n s.href = '/dist/styles/html4css.css';\n h.appendChild(s);\n s = d.createElement('script');\n s.src = '//legacypicturefill.s3.amazonaws.com/legacypicturefill.min.js';\n h.appendChild(s);\n disableSSff3();\n disableSS();\n } else {\n s = d.createElement('script');\n s.src = '//cdnjs.cloudflare.com/ajax/libs/picturefill/3.0.2/picturefill.min.js';\n h.appendChild(s);\n if (!A17.objectFit) {\n s = d.createElement('script');\n s.src = '//cdnjs.cloudflare.com/ajax/libs/object-fit-images/3.2.4/ofi.min.js';\n h.appendChild(s);\n }\n // if not an old browser - ajax in the sprite\n a = new XMLHttpRequest();\n a.open('GET', window.hc.theme_uri + '/dist/icons/icons.svg', true);\n a.send();\n a.onload = function(e) {\n if (a.status >= 200 && a.status < 400){\n insSvg();\n }\n };\n }\n})(document);\n\n\n\n// WEBPACK FOOTER //\n// ./frontend/js/head.js"],"sourceRoot":""}