1(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ 2module.exports={ 3 "clientId": 1, 4 "clientName": "GrowVeg", 5 "basename": "/account", 6 "defaultLanguage": "en", 7 "anonymousApiKey": "c635499c-50f8-4af5-9efc-0d0bad1ecc44", 8 "bugsnag": { 9 "apiKey": "8996401ad91b8baa4fc42a90a6549a2e", 10 "releaseStage": "prod" 11 }, 12 "googleApiKey": "AIzaSyBFrqTWVIlRryC0KsKdKSmIYsStMjgxVKM", 13 "clientDefinedValue": { 14 "enabled": false, 15 "text": "Example client defined option", 16 "default": true 17 }, 18 "giftcodes": true, 19 "defaultCountryCode": "gb", 20 "defaultRedirect": "/account/", 21 "redirectWhitelist": [ 22 "/settings/account", 23 "/journal/view.html", 24 "/journal/", 25 "/gardenplanner/gardenplanner.html", 26 "/app/*", 27 "/app-legacy/", 28 "/app/index.html", 29 "/account/choose-planner", 30 "/account/choose-planner/" 31 ], 32 "createAccount": { 33 "warningAppLink": "http://www.gardenplanpro.com/" 34 }, 35 "applicationLinks": [ 36 { 37 "titleTranslation": "main.newPlannerApplicationLink", 38 "link": "/app/", 39 "subtextTranslation": "main.newPlannerApplicationSubtext", 40 "image": "/account/assets/images/planner-preview.png", 41 "icon": "/account/assets/images/new-planner-icon.png", 42 "requiresSubscription": true, 43 "requiresLocation": true, 44 "requiresVerification": true, 45 "isnew": false 46 }, 47 { 48 "titleTranslation": "main.journalLink", 49 "link": "/journal/", 50 "subtextTranslation": "main.journalSubtext", 51 "image": "/account/assets/images/journal-preview.png", 52 "icon": "/account/assets/images/journal-icon.png", 53 "requiresLocation": true, 54 "requiresVerification": true 55 }, 56 { 57 "titleTranslation": "main.guruAppLink", 58 "link": "/app/garden-guru/", 59 "subtextTranslation": "main.guruAppSubtext", 60 "image": "/account/assets/images/guru-preview.png", 61 "icon": "/account/assets/images/guru-icon.png", 62 "includedWithSubscription": true, 63 "requiresVerification": true 64 }, 65 { 66 "titleTranslation": "main.big-bug-hunt-link", 67 "link": "https://www.bigbughunt.com/", 68 "subtextTranslation": "main.big-bug-hunt-subtext", 69 "image": "/account/assets/images/big-bug-hunt-preview.png", 70 "icon": "/account/assets/images/big-bug-hunt-icon.png", 71 "target": "_blank" 72 } 73 ], 74 "searchURL": "https://www.growveg.co.uk/search.aspx?q=%search%", 75 "subscriptionBenefits": [ 76 "growveg-bonus-chapters", 77 "plan-for-success-guide" 78 ], 79 "intercom": { 80 "appId": "arcz3v0u" 81 }, 82 "sessionRedirectWhitelist": [ 83 "/settings/subscription", 84 "/settings/subscription/", 85 "/settings/account", 86 "/settings/account/", 87 "/settings/location-frost-dates", 88 "/settings/location-frost-dates/", 89 "/settings/friend-family-discount", 90 "/settings/friend-family-discount/" 91 ], 92 "fastspringStoreFront": "growveg.onfastspring.com/popup-growveg", 93 "servicesEndpoint": "https://rest.growinginteractive.com/gardenPlanProService.svc/json", 94 "newServicesEndpoint": "//services.growinginteractive.com", 95 "convert": { 96 "goalIds": { 97 "accountCreated": "100029407", 98 "subscriptionComplete": "100029486", 99 "revenue": "100029363", 100 "viewedIntroPage": "100029589", 101 "viewedCreateAccountPage": "100029590", 102 "viewedConfirmEmailPage": "100029591", 103 "viewedCreateFirstPlanPage": "100029593" 104 } 105 }, 106 "googleAnalytics": { 107 "events": { 108 "accountCreated": "gtm_account_created", 109 "subscriptionComplete": "gtm_subscription_complete", 110 "subscriptionStart": "gtm_subscription_start" 111 } 112 }, 113 "version": "1.10.7" 114} 115},{}],2:[function(require,module,exports){ 116!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(e=e||self).deepmerge=r()}(this,function(){"use strict";var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===r}(e)}(e)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function t(e,r){return!1!==r.clone&&r.isMergeableObject(e)?c((t=e,Array.isArray(t)?[]:{}),e,r):e;var t}function n(e,r,n){return e.concat(r).map(function(e){return t(e,n)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return e.propertyIsEnumerable(r)}):[]}(e))}function u(e,r,n){var u={};return n.isMergeableObject(e)&&o(e).forEach(function(r){u[r]=t(e[r],n)}),o(r).forEach(function(o){n.isMergeableObject(r[o])&&e[o]?u[o]=function(e,r){if(!r.customMerge)return c;var t=r.customMerge(e);return"function"==typeof t?t:c}(o,n)(e[o],r[o],n):u[o]=t(r[o],n)}),u}function c(r,o,c){(c=c||{}).arrayMerge=c.arrayMerge||n,c.isMergeableObject=c.isMergeableObject||e;var f=Array.isArray(o);return f===Array.isArray(r)?f?c.arrayMerge(r,o,c):u(r,o,c):t(o,c)}return c.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return c(e,t,r)},{})},c}); 117 118},{}],3:[function(require,module,exports){ 119"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _deepmerge=require("deepmerge"),_deepmerge2=_interopRequireDefault(_deepmerge),_config2=require("../../../config/config.json"),_config3=_interopRequireDefault(_config2);
119function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _config=_config3.default;try{var runtimeConfig=window.RUNTIME_CONFIG||{};runtimeConfig&&"string"==typeof runtimeConfig&&(runtimeConfig=JSON.parse(runtimeConfig));var mergedConfig=(0,_deepmerge2.default)(_config3.default,runtimeConfig,{arrayMerge:function(e,r){return r}});mergedConfig&&(_config=mergedConfig)}catch(e){console.error("Error while trying to parse runtime config options")}var config=_config;exports.default=config; 120 121},{"../../../config/config.json":1,"deepmerge":2}],4:[function(require,module,exports){ 122"use strict";var _config=require("../config/config"),_config2=_interopRequireDefault(_config);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var emailPanes=document.querySelectorAll(".user-email-address"),logoutbuttons=document.querySelectorAll(".logout-button"),body=document.getElementsByTagName("body")[0],mobileMenuButton=document.getElementById("mobile-menu-open"),mobileMenuContainer=document.getElementById("mobile-menu"),desktopSearchInput=document.getElementById("desktop-search-input"),desktopSearchButton=document.getElementById("desktop-search-button"),mobileSearchInput=document.getElementById("mobile-search-input"),mobileSearchButton=document.getElementById("mobile-search-button"),accountDropdown=document.getElementById("account-dropdown"),accountDropdownButton=document.getElementById("account-dropdown-button"),accountDropdownVisible=!1;function setContentOnElements(e,n){for(var o=e,t=0;t<o.length;t++)o[t].textContent=n}function processLogin(e){null===e?(setContentOnElements(emailPanes,""),body.classList.add("logged-out"),body.classList.remove("logged-in")):(setContentOnElements(emailPanes,e.email),body.classList.add("logged-in"),body.classList.remove("logged-out"))}function addClickEventHandlerToElements(e,n){for(var o=0;o<e.length;o++)e[o]&&e[o].addEventListener?e[o].addEventListener("click",n,!1):console.warn("Unable to add event listener")}function addKeypressEventHandlerToElements(e,n){for(var o=0;o<e.length;o++)e[o]&&e[o].addEventListener?e[o].addEventListener("keypress",n,!1):console.warn("Unable to add event listener")}function toggleMenu(){mobileMenuContainer&&(mobileMenuContainer.classList.contains("menu-open")?mobileMenuContainer.classList.remove("menu-open"):mobileMenuContainer.classList.add("menu-open"))}function search(e){var n=_config2.default.searchURL.replace("%search%",encodeURI(e));window.location=n}function searchInputKeypressHandler(e){13===e.keyCode&&search(e.target.value)}function mobileSearchButtonHandler(){search(mobileSearchInput.value)}function desktopSearchButtonHandler(){search(desktopSearchInput.value)}function hideAccountDropdown(e){e.target.id===accountDropdown.id||e.target.id===accountDropdownButton.id||accountDropdown.contains(e.target)||(accountDropdown.style.display="none",accountDropdownVisible=!1,document.body.removeEventListener("click",hideAccountDropdown))}function toggleAccountDropdown(){accountDropdownVisible?(accountDropdown.style.display="none",document.body.removeEventListener("click",hideAccountDropdown)):(accountDropdown.style.display="block",document.body.addEventListener("click",hideAccountDropdown)),accountDropdownVisible=!accountDropdownVisible}function logout(){window.currentSession.logout(),accountDropdownVisible&&toggleAccountDropdown(),mobileMenuContainer.classList.contains("menu-open")&&mobileMenuContainer.classList.remove("menu-open")}window.currentSession=new window.SharedSession(processLogin),addClickEventHandlerToElements([mobileMenuButton],toggleMenu),_config2.default.searchURL&&(addKeypressEventHandlerToElements([desktopSearchInput,mobileSearchInput],searchInputKeypressHandler),addClickEventHandlerToElements([mobileSearchButton],mobileSearchButtonHandler),addClickEventHandlerToElements([desktopSearchButton],desktopSearchButtonHandler)),addClickEventHandlerToElements([accountDropdownButton],toggleAccountDropdown),addClickEventHandlerToElements(logoutbuttons,logout),window.NEW_MAX_WINDOW=function(){window.open("","gardenPlanner","left=0, top=0, width="+window.screen.width+", height="+window.screen.height+", menubar=no, toolbar=no, directories=no, statusbar=no, scrollbars=no").focus()}; 123 124},{"../config/config":3}]},{},[4]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.