(window.webpackJsonp=window.webpackJsonp||[]).push([[232],{758:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));t(22);function r(n){return"\n function initGTMOnEvent(event) {\n initGTM();\n event.currentTarget.removeEventListener(event.type, initGTMOnEvent);\n }\n \n function initGTM() { \n if (window.gtmDidInit) {\n return false;\n }\n window.gtmDidInit = true;\n \n \n if (!window.lg.gtmId) {\n console.error('GTM ID is not defined')\n }\n \n function pushNetworkInfo(obj) {\n window.dataLayer.push({\n gtmLoadTime: obj.gtmLoadTime,\n gtmSpeed: obj.gtmSpeed,\n })\n }\n \n if (window.lg.gtmData) {\n window.lg.speedTracking = {\n gtmLoadTime: null,\n gtmSpeed: null,\n }\n \n window.lg.utils.meta = window.lg.utils.getUserMetaData()\n \n Object.keys(window.lg.utils.meta).forEach(function (key) {\n const value = window.lg.utils.meta[key]\n window.lg.gtmData[key] = value\n })\n \n // when gtm loads, it will fire whatever is in dataLayer\n window.dataLayer.push(window.lg.gtmData)\n \n const gtmSpeedRanges = [\n [500, '0-500'],\n [1000, '501-1000'],\n [1500, '1001-1500'],\n [2000, '1501-2000'],\n [2500, '2001-2500'],\n [Infinity, '2500-'],\n ]\n \n // Load GTM as speed detection\n ;(function (w, d, s, l, i) {\n \n // disable gtm script load if query param exists\n const searchParams = new URLSearchParams(window.location.search)\n const gtm = searchParams.get('gtm')\n if (gtm == 'false') {\n return\n }\n \n let timeStart\n let timeDiff\n const randomQuery = Date.now() + (Math.random() * 1e8).toFixed()\n \n w[l] = w[l] || []\n w[l].push({\n 'gtm.start': new Date().getTime(),\n event: 'gtm.js',\n })\n \n const f = d.getElementsByTagName(s)[0]\n const j = d.createElement(s)\n const dl = l != 'dataLayer' ? `&l=${l}` : ''\n j.async = true\n j.src = `https://www.googletagmanager.com/gtm.js?id=${i}${dl}&rand=${randomQuery}`\n \n j.onload = function (evt) {\n let gtmSpeed\n // for some reason this is 2 ~ 4 times larger than Chrome's network activity timing\n // this fires after execution\n timeDiff = Math.round(performance.now() - timeStart)\n \n // todo: move functionality out of this method\n for (let i = 0; i < gtmSpeedRanges.length; i++) {\n const item = gtmSpeedRanges[i]\n if (timeDiff < item[0]) {\n gtmSpeed = item[1]\n break\n }\n }\n \n window.lg.speedTracking.gtmLoadTime = parseInt(timeDiff, 10)\n window.lg.speedTracking.gtmSpeed = gtmSpeed\n pushNetworkInfo(window.lg.speedTracking)\n }\n \n j.onerror = function () {\n pushNetworkInfo(window.lg.speedTracking)\n }\n \n f.parentNode.insertBefore(j, f)\n timeStart = performance.now()\n })(window, document, 'script', 'dataLayer', window.lg.gtmId) // the id should be dynamically injected when moved to Fundation\n }\n }\n\n // fallback pages can already have DOMContentLoaded fired when this code is executed\n if (document.readyState === 'loading') {\n document.addEventListener(\"DOMContentLoaded\", () => {\n ".concat(n.enableGtmScriptDelay," ? setTimeout(initGTM, ").concat(n.maxGtmScriptDelay,") : initGTM()\n });\n } else {\n ").concat(n.enableGtmScriptDelay," ? setTimeout(initGTM, ").concat(n.maxGtmScriptDelay,') : initGTM()\n };\n document.addEventListener("scroll", initGTMOnEvent);\n document.addEventListener("mousemove", initGTMOnEvent);\n document.addEventListener("touchstart", initGTMOnEvent);\n \n ')}},759:function(n,e,t){"use strict";t(22);e.a=function(n){return function(e){return"\n ((onceName) => {\n if (window._bedrock && window._bedrock[onceName]) {\n return\n } else if (!window._bedrock) {\n window._bedrock = {}\n }\n\n ".concat(e,'\n\n window._bedrock[onceName] = true\n })("').concat(n,'")\n ')}}},820:function(n,e,t){var content=t(904);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[n.i,content,""]]),content.locals&&(n.exports=content.locals);(0,t(82).default)("ab2929c8",content,!0,{sourceMap:!1})},903:function(n,e,t){"use strict";t(820)},904:function(n,e,t){var r=t(81)(!1);r.push([n.i,'.view-error404 {\n text-align: center;\n max-width: 1920px;\n min-height: 0;\n margin: auto;\n}\n.view-error404 .container {\n max-width: unset;\n}\n.view-error404 .inner {\n padding: 60px 20px;\n}\n@media (min-width: 768px) {\n.view-error404 .inner {\n padding: 100px;\n}\n}\n.view-error404 .header {\n margin: auto;\n max-width: 800px;\n}\n.view-error404 .subheading {\n margin-top: 15px;\n}\n@media (min-width: 768px) {\n.view-error404 .subheading {\n margin-top: 25px;\n}\n}\n.view-error404 .inner--padding {\n padding: 0 20px 60px;\n max-width: 1250px;\n margin: auto;\n}\n@media (min-width: 768px) {\n.view-error404 .inner--padding {\n padding: 0 95px 100px;\n}\n}\n@media (min-width: 991px) {\n.view-error404 .inner--padding {\n padding: 0 30px 100px;\n}\n}\n@media (min-width: 1200px) {\n.view-error404 .inner--padding {\n padding: 0 0 100px;\n}\n}\n.view-error404 .articles-section-title {\n margin: 50px 0 30px 0;\n}\n.view-error404 .inner {\n background-color: #2E2E30;\n color: #FFF;\n}\n.view-error404 .heading {\n font-family: "CaladeaBold", Georgia, serif;\n font-size: 34px;\n line-height: 40px;\n}\n@media (min-width: 768px) {\n.view-error404 .heading {\n font-size: 50px;\n line-height: 61px;\n}\n}\n.view-error404 .subheading {\n font-family: "ProximaNovaBold", Arial, sans-serif;\n font-size: 17px;\n line-height: 28px;\n}\n.view-error404 .articles-section-title {\n font-family: "ProximaNovaBold", Arial, sans-serif;\n font-size: 28px;\n line-height: 36px;\n color: #2E2E30;\n}\n',""]),n.exports=r},924:function(n,e,t){"use strict";t.r(e);var r=t(47),o=(t(22),t(0)),c=t(769),d=t(118),l=t(758),m=t(759),h=c.AllHtmlEntities.decode,f=Object(d.a)({pagetype:"404"}),w={name:"Error404",middleware:["redirects"],asyncData:function(n){(0,n.error)({statusCode:404})},data:function(){return{fallbackHeading:"Uh oh! Something went wrong...",fallbackSubheading:"",fallbackArticlesSectionTitle:"Recent Articles",articles:[],articlesLoaded:!1}},head:function(){var n=Object(o.a)(this,"$config",{}),e={title:this.heading,meta:[{name:"twitter:title",content:"".concat(this.heading," | ").concat(Object(o.a)(n,"site.title",""))},{name:"twitter:description",content:this.heading},{name:"description",content:this.heading},{property:"og:description",content:this.heading},{property:"og:url",content:Object(o.a)(n,"site.domain","")},{property:"og:title",content:"".concat(this.heading," | ").concat(Object(o.a)(n,"site.title",""))}],link:[{vmid:"canonical-url"}],script:[{innerHTML:"window.lg.gtmData = ".concat(JSON.stringify(f)),type:"text/javascript"},{vmid:"gtm-script",hid:"gtm-script",once:!0,type:"text/javascript",innerHTML:Object(m.a)("gtm-script")(h(Object(l.a)(n)))}],__dangerouslyDisableSanitizers:["script"]};if(this.parselyScript){var t=[{name:"parsely-type",content:"webpage"},{name:"parsely-title",content:"".concat(this.heading," | ").concat(Object(o.a)(n,"site.title",""))},{name:"parsely-section",content:"error page"}];e.meta=[].concat(Object(r.a)(e.meta),t)}return e},computed:{heading:function(){return Object(o.a)(this,"$config.error404.heading",this.fallbackHeading)},subheading:function(){return Object(o.a)(this,"$config.error404.subheading",this.fallbackSubheading)},articlesSectionTitle:function(){return Object(o.a)(this,"$config.error404.articlesSectionTitle",this.fallbackArticlesSectionTitle)},fetchLatestArticles:function(){return Object(o.a)(this,"$config.error404.fetchLatestArticles",!1)},fetchTourArticles:function(){return Object(o.a)(this,"$config.error404.fetchTourArticles",!1)},parselyScript:function(){return Object(o.a)(this,"$store.state.config.parsely.source","")}},beforeMount:function(){var n=this;this.fetchLatestArticles&&this.$store.dispatch("collections/FETCH_ARTICLE_COLLECTION",{limit:12}).then((function(){return n.saveArticles(Object(o.a)(n,"$store.state.collections.articles.recent",[]))})),this.fetchTourArticles&&this.$store.dispatch("collections/FETCH_ARTICLE_COLLECTION_BY_CATEGORY",{limit:12,slug:"tours",config:Object(o.a)(this,"$config")}).then((function(){return n.saveArticles(Object(o.a)(n,"$store.state.collections.articles.tours",[]))}))},methods:{saveArticles:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.articles=n,this.articlesLoaded=n.length>0}}},v=w,x=(t(903),t(41)),component=Object(x.a)(v,(function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"view-error404"},[t("div",{staticClass:"container"},[t("div",{staticClass:"inner"},[t("header",{staticClass:"header"},[t("h1",{staticClass:"heading"},[n._v(n._s(n.heading))]),n._v(" "),n.subheading?t("h2",{staticClass:"subheading"},[n._v(n._s(n.subheading))]):n._e()])]),n._v(" "),n.articlesLoaded?t("div",{staticClass:"inner--padding"},[t("h3",{staticClass:"articles-section-title"},[n._v(n._s(n.articlesSectionTitle))]),n._v(" "),t("common-grid",{attrs:{"data-provider":n.articles,"grid-class":"common-view__section-grid"}})],1):n._e()])])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{CommonGrid:t(766).default})}}]);