PageSourceSearch

https://www.mdinr.com/scripts/react.bundle.js

js mdinr.com collected 2026-09-24 12:56:54 UTC 130,055 bytes, 2 lines download raw bytes

1/*! For license information please see react.bundle.js.LICENSE.txt */
2(()=>{"use strict";var __webpack_modules__={
2"./react/Forms/ContactUs.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n  value: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ \"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ContactUs = function (_Component) {\n  _inherits(ContactUs, _Component);\n\n  function ContactUs(props) {\n    _classCallCheck(this, ContactUs);\n\n    var _this = _possibleConstructorReturn(this, (ContactUs.__proto__ || Object.getPrototypeOf(ContactUs)).call(this, props));\n\n    _this.state = {\n      levelOne: [],\n      levelTwo: [],\n      levelThree: [],\n      levelOneValue: 0,\n      levelTwoValue: 0,\n      levelThreeValue: 0,\n      responseText: ''\n    };\n    _this.updateLevelOne = _this.updateLevelOne.bind(_this);\n    _this.updateLevelTwo = _this.updateLevelTwo.bind(_this);\n    _this.updateLevelThree = _this.updateLevelThree.bind(_this);\n    _this.pushDataLayerEvent = _this.pushDataLayerEvent.bind(_this);\n    return _this;\n  }\n\n  _createClass(ContactUs, [{\n    key: 'componentDidMount',\n    value: function componentDidMount() {\n      this.setState({\n        levelOne: this.props.data.items.Children,\n        levelTwo: this.props.data.items.Children[0].Children\n      });\n    }\n  }, {\n    key: 'pushDataLayerEvent',\n    value: function pushDataLayerEvent() {\n      var data = {\n        'formType': 'Contact us',\n        'formName': 'Contact us',\n        'dropdown_1': this.state.levelOne[this.state.levelOneValue]['Name']\n      };\n      if (this.state.levelTwoValue != 0) {\n        data['dropdown_2'] = this.state.levelTwo[this.state.levelTwoValue]['Name'];\n      }\n      if (this.state.levelThreeValue != 0) {\n        data['dropdown_2'] = this.state.levelTwo[this.state.levelTwoValue]['Name'];\n        data['dropdown_3'] = this.state.levelTwo[this.state.levelThreeValue]['Name'];\n      }\n      window.dataLayer && window.dataLayer.push(data);\n    }\n  }, {\n    key: 'updateLevelOne',\n    value: function updateLevelOne(event) {\n      var val = event.target.value;\n      this.setState({\n        levelOneValue: val,\n        levelTwoValue: 0,\n        levelThreeValue: 0,\n        levelTwo: this.state.levelOne[val].Children,\n        levelThree: [],\n        responseText: ''\n      });\n    }\n  }, {\n    key: 'updateLevelTwo',\n    value: function updateLevelTwo(event) {\n      var _this2 = this;\n\n      var val = event.target.value;\n      this.setState({\n        levelTwoValue: val,\n        levelThreeValue: 0,\n        levelThree: this.state.levelTwo[val].Children,\n        responseText: this.state.levelTwo[val].Response\n      }, function () {\n        if (_this2.state.levelTwoValue !== 0 && _this2.state.levelTwo[_this2.state.levelTwoValue].Children.length === 0) {\n          _this2.pushDataLayerEvent();\n        }\n      });\n    }\n  }, {\n    key: 'updateLevelThree',\n    value: function updateLevelThree(event) {\n      var _this3 = this;\n\n      var val = event.target.value;\n      this.setState({\n        levelThreeValue: val,\n        responseText: this.state.levelThree[val].Response\n      }, function () {\n        if (_this3.state.levelThreeValue !== 0) {\n          _this3.pushDataLayerEvent();\n        }\n      });\n    }\n  }, {\n    key: 'render',\n    value: function render() {\n      var responseClasses = ['contact-response'];\n      if (this.state.responseText.length > 0) {\n        responseClasses.push('shown');\n        if (this.state.levelThreeValue.length > 0) {\n          responseClasses.push('third-response');\n        } else {\n          responseClasses.push('second-response');\n        }\n      }\n\n      return _react2.default.createElement(\n        'div',\n        { 'class': 'contact-us initialized' },\n        _react2.default.createElement(\n          'div',\n          { 'class': 'contact-us-form' },\n          _react2.default.createElement(\n            'h2',\n            null,\n            this.props.data.heading\n          ),\n          _react2.default.createElement(\n            'p',\n            null,\n            this.props.data.description\n          ),\n          _react2.default.createElement(\n            'p',\n            { 'class': 'contact-us-label' },\n            this.props.data.labelText,\n            ':'\n          ),\n          _react2.default.createElement(\n            'select',\n            { 'class': 'first-level', onChange: this.updateLevelO
2ne, value: this.state.levelOneValue, title: 'Step 1' },\n            this.state.levelOne.map(function (opt, idx) {\n              return _react2.default.createElement(\n                'option',\n                { key: idx, value: idx },\n                opt.Name\n              );\n            })\n          ),\n          _react2.default.createElement(\n            'select',\n            { className: 'second-level shown', onChange: this.updateLevelTwo, value: this.state.levelTwoValue, title: 'Step 2' },\n            this.state.levelTwo.map(function (opt, idx) {\n              return _react2.default.createElement(\n                'option',\n                { key: idx, value: idx },\n                opt.Name\n              );\n            })\n          ),\n          _react2.default.createElement(\n            'select',\n            { className: 'third-level ' + (this.state.levelThree.length > 0 ? 'shown' : ''), onChange: this.updateLevelThree, value: this.state.levelThreeValue, title: 'Step 3' },\n            this.state.levelThree.map(function (opt, idx) {\n              return _react2.default.createElement(\n                'option',\n                { key: idx, value: idx },\n                opt.Name\n              );\n            })\n          ),\n          _react2.default.createElement('div', { className: responseClasses.join(' '), dangerouslySetInnerHTML: { __html: this.state.responseText } })\n        )\n      );\n    }\n  }]);\n\n  return ContactUs;\n}(_react.Component);\n\nexports[\"default\"] = ContactUs;\n\n//# sourceURL=webpack://React/./react/Forms/ContactUs.jsx?")},
2"./react/LocationSearch/LocationDetail.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ "react");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _LocationEndpoint = __webpack_require__(/*! ./LocationEndpoint.jsx */ "./react/LocationSearch/LocationEndpoint.jsx");\n\nvar _LocationEndpoint2 = _interopRequireDefault(_LocationEndpoint);\n\nvar _LocationHelper = __webpack_require__(/*! ./LocationHelper.jsx */ "./react/LocationSearch/LocationHelper.jsx");\n\nvar _LocationHelper2 = _interopRequireDefault(_LocationHelper);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar LocationDetail = function (_Component) {\n\t_inherits(LocationDetail, _Component);\n\n\tfunction LocationDetail(props) {\n\t\t_classCallCheck(this, LocationDetail);\n\n\t\tvar _this = _possibleConstructorReturn(this, (LocationDetail.__proto__ || Object.getPrototypeOf(LocationDetail)).call(this, props));\n\n\t\t_this.performSearch = function () {\n\t\t\t_this.LocationEndpoint.RetrieveLocation(_this.handleResponse);\n\t\t};\n\n\t\t_this.handleResponse = function (response) {\n\t\t\t_this.setState({\n\t\t\t\ttotal: response.total,\n\t\t\t\tlocation: response.documents[0]\n\t\t\t});\n\t\t};\n\n\t\t_this.state = {\n\t\t\ttotal: 0,\n\t\t\tlocation: null\n\t\t};\n\t\t_this.LocationEndpoint = new _LocationEndpoint2.default(_this.props.data.shortDatasourceId);\n\t\t_this.LocationHelper = new _LocationHelper2.default();\n\t\treturn _this;\n\t}\n\n\t_createClass(LocationDetail, [{\n\t\tkey: "componentDidMount",\n\t\tvalue: function componentDidMount() {\n\t\t\tthis.performSearch();\n\t\t}\n\t}, {\n\t\tkey: "render",\n\t\tvalue: function render() {\n\t\t\tvar locationInfo = [];\n\t\t\tif (this.state.total == 0) {\n\t\t\t\tlocationInfo.push(_react2.default.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\tnull,\n\t\t\t\t\tthis.props.data.noDefaultLocationSelectedText\n\t\t\t\t));\n\t\t\t} else {\n\t\t\t\tlocationInfo.push(_react2.default.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\t{ "class": "detail-wrapper" },\n\t\t\t\t\t_react2.default.createElement("img", { src: this.state.location.Image }),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t"div",\n\t\t\t\t\t\t{ "class": "location-content rich-text" },\n\t\t\t\t\t\tthis.state.location.DistanceFromUser > 0 && _react2.default.createElement(\n\t\t\t\t\t\t\t"i",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\tthis.LocationHelper.CurateDistanceFromUserMessage(this.state.location.DistanceFromUser, this.props.data.milesAwayText)\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"p",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\tthis.state.location.Address1,\n\t\t\t\t\t\t\tthis.state.location.Address2 && ", " + this.state.location.Address2,\n\t\t\t\t\t\t\t_react2.default.createElement("br", null),\n\t\t\t\t\t\t\tthis.state.location.City,\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tthis.state.location.State,\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t" "\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tthis.state.location.ZipCode\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"p",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"b",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tthis.props.data.generalHoursHeaderText\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement("br", null),\n\t\t\t\t\t\t\tthis.props.data.generalHoursDaysText,\n\t\t\t\t\t\t\t"    ",\n\t\t\t\t\t\t\tthis.props.data.generalHoursText\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t{ "class": "location-links" },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t"class": "location-phone",\n\t\t\t\t\t\t\t\t\thref: this.LocationHelper.ConstructPhoneNumber(this.state.location.Phone)\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tthis.state.location.Phone\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement("br", null),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t"class": "location-fax",\n\t\t\t\t\t\t\t\t\thref: this.LocationHelper.ConstructPhoneNumber(this.state.location.Fax)\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tthis.props.data.faxText,\n\t\t\t\t\t\t\t\t" ",\n\t\t\t\t\t\t\t\tthis.state.location.Fax\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tthis.props.data.referralText && _react2.default.createElement(\n\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"h5",\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\tthis.props.data.physicianResourcesText\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t"class": "location-referral",\n\t\t\t\t\t\t\t\t\t\thref: this.props.data.referralLink,\n\t\t\t\t\t\t\t\t\t\ttarget: "_blank"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tthis.props.data.referralText\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t));\n\t\t\t}\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t"div",\n\t\t\t\t{ className: "location-detail component" },\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\t{ "class": "component-content" },\n\t\t\t\t\tlocationInfo\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn LocationDetail;\n}(_react.Component);\n\nexports["default"] = LocationDetail;\n\n//# sourceURL=webpack://React/./react/LocationSearch/LocationDetail.jsx?')},
2"./react/LocationSearch/LocationEndpoint.jsx":(__unused_webpack_module,exports)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n\tvalue: true\n}));\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nvar LocationEndpoint = function () {\n\tfunction LocationEndpoint(datasourceId) {\n\t\t_classCallCheck(this, LocationEndpoint);\n\n\t\tthis.locationProcessed = false;\n\t\tthis.apiCall = "/api/LocationEndpoint/GetLocation?datasourceId=" + datasourceId;\n\t\tthis.data = null;\n\t}\n\n\t_createClass(LocationEndpoint, [{\n\t\tkey: "RetrieveLocation",\n\t\tvalue: function RetrieveLocation(handleResponse) {\n\t\t\tvar handleLocation = handleResponse;\n\t\t\tvar self = this;\n\n\t\t\tvar success = function success(position) {\n\t\t\t\tif (position) {\n\t\t\t\t\tself.apiCall += "&lat=" + position.coords.latitude + "&lon=" + position.coords.longitude;\n\t\t\t\t}\n\t\t\t\tfetch(self.apiCall).then(function (res) {\n\t\t\t\t\treturn res.json();\n\t\t\t\t}).then(function (myJson) {\n\t\t\t\t\treturn handleLocation(self.FormatResults(myJson));\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tvar error = function error(position) {\n\t\t\t\tfetch(self.apiCall).then(function (res) {\n\t\t\t\t\treturn res.json();\n\t\t\t\t}).then(function (myJson) {\n\t\t\t\t\treturn handleLocation(self.FormatResults(myJson));\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tif (!self.locationProcessed && window.navigator.geolocation) {\n\t\t\t\twindow.navigator.geolocation.getCurrentPosition(success, error);\n\t\t\t\tself.locationProcessed = true;\n\t\t\t} else {\n\t\t\t\tsuccess();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: "FormatResults",\n\t\tvalue: function FormatResults(js) {\n\t\t\treturn {\n\t\t\t\t"total": js.total,\n\t\t\t\t"documents": js.documents.map(function (d) {\n\t\t\t\t\treturn _extends({ "DistanceFromUser": d.DistanceFromUser }, d.Location);\n\t\t\t\t})\n\t\t\t};\n\t\t}\n\t}]);\n\n\treturn LocationEndpoint;\n}();\n\nexports["default"] = LocationEndpoint;\n\n//# sourceURL=webpack://React/./react/LocationSearch/LocationEndpoint.jsx?')},
2"./react/LocationSearch/LocationHelper.jsx":(__unused_webpack_module,exports)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nvar LocationHelper = function () {\n\tfunction LocationHelper() {\n\t\t_classCallCheck(this, LocationHelper);\n\n\t\tthis.ConstructPhoneNumber = this.ConstructPhoneNumber.bind(this);\n\t\tthis.CurateDistanceFromUserMessage = this.CurateDistanceFromUserMessage.bind(this);\n\t\tthis.ConstructAddress = this.ConstructAddress.bind(this);\n\t\tthis.ConstructReferralLink = this.ConstructReferralLink.bind(this);\n\t\tthis.FormatName = this.FormatName.bind(this);\n\t}\n\n\t_createClass(LocationHelper, [{\n\t\tkey: "ConstructPhoneNumber",\n\t\tvalue: function ConstructPhoneNumber(phone) {\n\t\t\treturn "tel:+1" + phone;\n\t\t}\n\t}, {\n\t\tkey: "ConstructReferralLink",\n\t\tvalue: function ConstructReferralLink(location) {\n\t\t\treturn "https://www.quickreferralonline.com/Home/moduleId/2271/SiteId/" + location.Id + "/fax/" + location.CdrFax + "/controller/QuickReferral/action/Form?DBAName=" + encodeURIComponent(location.Dba);\n\t\t}\n\t}, {\n\t\tkey: "ConstructAddress",\n\t\tvalue: function ConstructAddress(location) {\n\t\t\tvar destination = location.Address1;\n\t\t\tif (location.Address2) {\n\t\t\t\tdestination += ", " + location.Address2;\n\t\t\t}\n\t\t\tdestination += " " + location.City + ", " + location.State + " " + location.ZipCode;\n\t\t\tif (location.ZipPlus) {\n\t\t\t\tdestination += "-" + location.ZipPlus;\n\t\t\t}\n\t\t\treturn "https://www.google.com/maps/dir/?api=1&destination=" + encodeURIComponent(destination);\n\t\t}\n\t}, {\n\t\tkey: "CurateDistanceFromUserMessage",\n\t\tvalue: function CurateDistanceFromUserMessage(distance, distanceText) {\n\t\t\tif (distance == "") {\n\t\t\t\treturn "";\n\t\t\t} else {\n\t\t\t\treturn distance + " " + distanceText;\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: "FormatName",\n\t\tvalue: function FormatName(location) {\n\t\t\treturn location.Name + " - " + location.MarketingName;\n\t\t}\n\t}]);\n\n\treturn LocationHelper;\n}();\n\nexports["default"] = LocationHelper;\n\n//# sourceURL=webpack://React/./react/LocationSearch/LocationHelper.jsx?')},
2"./react/LocationSearch/LocationSearch.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ \"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _LocationSearchResults = __webpack_require__(/*! ./LocationSearchResults.jsx */ \"./react/LocationSearch/LocationSearchResults.jsx\");\n\nvar _LocationSearchResults2 = _interopRequireDefault(_LocationSearchResults);\n\nvar _ServiceFilters = __webpack_require__(/*! ./ServiceFilters.jsx */ \"./react/LocationSearch/ServiceFilters.jsx\");\n\nvar _ServiceFilters2 = _interopRequireDefault(_ServiceFilters);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar LocationSearch = function (_Component) {\n\t_inherits(LocationSearch, _Component);\n\n\tfunction LocationSearch(props) {\n\t\t_classCallCheck(this, LocationSearch);\n\n\t\tvar _this = _possibleConstructorReturn(this, (LocationSearch.__proto__ || Object.getPrototypeOf(LocationSearch)).call(this, props));\n\n\t\t_this.handleServiceFilterChange = function () {\n\t\t\tvar services = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n\t\t\t_this.setState({ services: services }, function () {\n\t\t\t\t_this.performSearch(_this.state.newQuery);\n\t\t\t\thistory.pushState(_this.state, null, _this.getStateHash());\n\t\t\t});\n\t\t};\n\n\t\t_this.allowUseOfUserLocation = function (position) {\n\t\t\t_this.setState({\n\t\t\t\tuserLat: position.coords.latitude,\n\t\t\t\tuserLon: position.coords.longitude,\n\t\t\t\thideDistance: false\n\t\t\t});\n\t\t\thistory.pushState(_this.state, null, _this.getStateHash());\n\t\t\t_this.updateStateFromHistory(_this.state);\n\t\t};\n\n\t\t_this.denyUseOfUserLocation = function () {\n\t\t\t_this.setState({\n\t\t\t\thideDistance: true\n\t\t\t});\n\t\t\thistory.pushState(_this.state, null, _this.getStateHash());\n\t\t\t_this.updateStateFromHistory(_this.state);\n\t\t};\n\n\t\t_this.useClearSearch = function () {\n\t\t\t_this.parseInitialServices('');\n\t\t\t_this.setState({ query: '', newQuery: '', take: 5 }, function () {\n\t\t\t\thistory.pushState(this.state, null, '#lq=&take=5&services=');\n\t\t\t\tthis.updateStateFromHistory(this.state);\n\t\t\t});\n\t\t};\n\n\t\t_this.handleSubmit = function (event) {\n\t\t\tevent.preventDefault();\n\t\t\t_this.setState({ take: 5 });\n\t\t\thistory.pushState(_this.state, null, _this.getStateHash());\n\t\t\t_this.performSearch(_this.state.newQuery);\n\t\t};\n\n\t\t_this.handleQueryChange = function (event) {\n\t\t\t_this.setState({ newQuery: event.target.value });\n\t\t};\n\n\t\t_this.handleFilterClick = function (event) {\n\t\t\tif (event.target.tagName === 'LABEL' || event.target.name === 'service') {\n\t\t\t\treturn; // don't close on checkbox click\n\t\t\t}\n\t\t\t_this.setState(function (prevState) {\n\t\t\t\treturn { showFilter: !prevState.showFilter, take: 5 };\n\t\t\t});\n\t\t};\n\n\t\t_this.showListView = function (event) {\n\t\t\t_this.setState({ useListView: true });\n\t\t};\n\n\t\t_this.showMapView = function (event) {\n\t\t\t_this.setState({ useListView: false });\n\t\t};\n\n\t\t_this.showMoreResults = function () {\n\t\t\tvar newTake = (parseInt(_this.state.take) || 0) + 5;\n\t\t\t_this.setState({\n\t\t\t\tshowAll: _this.state.take > _this.state.total ? true : false,\n\t\t\t\ttake: newTake\n\t\t\t}, function () {\n\t\t\t\thistory.pushState(this.state, null, this.get
2StateHash());\n\t\t\t\tthis.performSearch(this.state.newQuery);\n\t\t\t});\n\t\t};\n\n\t\t_this.state = {\n\t\t\tisLoading: true,\n\t\t\tquery: \"\",\n\t\t\tnewQuery: \"\",\n\t\t\tservices: _this.props.data.services,\n\t\t\tuserLat: undefined,\n\t\t\tuserLon: undefined,\n\t\t\tgeocodeLat: undefined,\n\t\t\tgeocodeLon: undefined,\n\t\t\tdistance: 2147483647, // Int32.MaxValue -- higher values cause back-end service to fail\n\t\t\thideDistance: true,\n\t\t\tuseListView: false,\n\t\t\tskip: 0,\n\t\t\ttake: 5,\n\t\t\tcount: 0,\n\t\t\ttotal: 0,\n\t\t\tshowAll: false,\n\t\t\tshowFilter: false,\n\t\t\tresults: [],\n\t\t\tlabels: _this.generateLabels({\n\t\t\t\t__searchedTerm__: \"\",\n\t\t\t\t__totalResults__: 0,\n\t\t\t\t__showingNumber__: 0\n\t\t\t})\n\t\t};\n\t\t_this.geocoder = undefined;\n\t\t_this.updateStateFromHistory.bind(_this);\n\t\treturn _this;\n\t}\n\n\t_createClass(LocationSearch, [{\n\t\tkey: 'updateStateFromHistory',\n\t\tvalue: function updateStateFromHistory(newState) {\n\t\t\tvar state = newState;\n\t\t\tif (newState instanceof PopStateEvent) {\n\t\t\t\tstate = newState.state;\n\t\t\t}\n\t\t\tstate.showFilter = false; // never want to keep the showFilter in the state history\n\t\t\tthis.setState(state);\n\t\t\tthis.performSearch(this.state.newQuery);\n\t\t}\n\t}, {\n\t\tkey: 'getStateHash',\n\t\tvalue: function getStateHash() {\n\t\t\tvar selectedServices = this.state.services.filter(function (s) {\n\t\t\t\treturn s.isChecked;\n\t\t\t}).map(function (s) {\n\t\t\t\treturn s.id;\n\t\t\t});\n\t\t\treturn '#lq=' + encodeURIComponent(this.state.newQuery) + '&take=' + this.state.take + '&services=' + selectedServices.join(',');\n\t\t}\n\t}, {\n\t\tkey: 'parseInitialServices',\n\t\tvalue: function parseInitialServices(services) {\n\t\t\tif (services === undefined || services === null) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar serviceArray = services.split(',');\n\t\t\tfor (var i = 0; i < this.state.services.length; i++) {\n\t\t\t\tvar service = this.state.services[i];\n\t\t\t\tservice.isChecked = serviceArray.indexOf(service.id) >= 0;\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'componentDidMount',\n\t\tvalue: function componentDidMount() {\n\t\t\twindow.addEventListener('popstate', this.updateStateFromHistory.bind(this));\n\t\t\tvar params = new URLSearchParams(window.location.hash.substring(1));\n\t\t\tvar query = params.get('lq') || '';\n\t\t\tvar take = params.get('take') || 5;\n\t\t\tthis.parseInitialServices(params.get('services'));\n\t\t\tthis.setState({ newQuery: query, take: take });\n\n\t\t\tif (window.navigator.geolocation) {\n\t\t\t\twindow.navigator.geolocation.getCurrentPosition(this.allowUseOfUserLocation, this.denyUseOfUserLocation);\n\t\t\t} else {\n\t\t\t\tthis.updateStateFromHistory(this.state);\n\t\t\t}\n\n\t\t\tif (typeof window !== 'undefined') {\n\t\t\t\tthis.geocoder = new window.google.maps.Geocoder();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'performSearch',\n\t\tvalue: function performSearch(newQuery) {\n\t\t\tvar _this3 = this;\n\n\t\t\tvar performSearchInternal = function (query) {\n\t\t\t\tvar services = [];\n\t\t\t\tfor (var i = 0; i < this.state.services.length; i++) {\n\t\t\t\t\tvar service = this.state.services[i];\n\t\t\t\t\tif (service.isChecked) {\n\t\t\t\t\t\tservices.push('service=' + service.id);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tvar queryParams = query ? ['search=' + encodeURIComponent(query)].concat(services) : services;\n\t\t\t\tvar _state = this.state,\n\t\t\t\t    geocodeLat = _state.geocodeLat,\n\t\t\t\t    userLat = _state.userLat,\n\t\t\t\t    geocodeLon = _state.geocodeLon,\n\t\t\t\t    userLon = _state.userLon;\n\n\t\t\t\tvar lat = geocodeLat || userLat;\n\t\t\t\tvar lon = geocodeLon || userLon;\n\t\t\t\tif (lat) {\n\t\t\t\t\tqueryParams.push('lat=' + (this.state.geocodeLat || this.state.userLat));\n\t\t\t\t}\n\t\t\t\tif (lon) {\n\t\t\t\t\tqueryParams.push('lon=' + (this.state.geocodeLon || this.state.userLon));\n\t\t\t\t}\n\t\t\t\tqueryParams.push('skip=' + this.state.skip);\n\t\t\t\tqueryParams.push('take=' + this.state.take);\n\t\t\t\tvar apiCall = '/api/LocationSearch/LocationSearch?' + queryParams.join(\"&\");\n\n\t\t\t\tthis.setState({\n\t\t\t\t\tisLoading: true,\n\t\t\t\t\tquery: newQuery\n\t\t\t\t}, function () {\n\t\t\t\t\tvar _this2 = this;\n\n\t\t\t\t\tjQuery.get(apiCall, null, function (response) {\n\t\t\t\t\t\tvar newState = {\n\t\t\t\t\t\t\tisLoading: false,\n\t\t\t\t\t\t\tquery: newQuery,\n\t\t\t\t\t\t\tcount: Object.keys(response.documents).length,\n\t\t\t\t\t\t\ttotal: response.total,\n\t\t\t\t\t\t\tresults: response.documents,\n\t\t\t\t\t\t\tlabels: _this2.generateLabels({\n\t\t\t\t\t\t\t\t__searchedTerm__: newQuery,\n\t\t\t\t\t\t\t\t__totalResults__: response.total,\n\t\t\t\t\t\t\t\t__showingNumber__: Object.keys(response.documents).length\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t};\n\t\t\t\t\t\tsetTimeout(_this2.setState(newState), 1000);\n\t\t\t\t\t}.bind(this));\n\t\t\t\t});\n\t\t\t}.bind(this);\n\n\t\t\t// if the user typed something in, make an attempt to geocode it to\n\t\t\t// a lat/lon value. If it resolves, use that as the location for\n\t\t\t// proximity search, not what the geolocation resolved to.\n\t\t\tif (newQuery) {\n\t\t\t\tthis.setState(function () {\n\t\t\t\t\treturn { geocodeL
2at: undefined, geocodeLon: undefined };\n\t\t\t\t}, function () {\n\t\t\t\t\t_this3.geocoder.geocode({ address: newQuery, componentRestrictions: { country: 'US' } }, function (results, status) {\n\t\t\t\t\t\tif (status == 'OK' && results.length == 1 && results[0].address_components.length > 1) {\n\t\t\t\t\t\t\t// single result means with a high degree of certainty they're\n\t\t\t\t\t\t\t// targetting the input. if now, google's trying to make a best-guess\n\t\t\t\t\t\t\t// and return the kitchen sink.\n\t\t\t\t\t\t\tvar _results$0$geometry$l = results[0].geometry.location,\n\t\t\t\t\t\t\t    latFn = _results$0$geometry$l.lat,\n\t\t\t\t\t\t\t    lonFn = _results$0$geometry$l.lng;\n\n\t\t\t\t\t\t\tthis.setState(function () {\n\t\t\t\t\t\t\t\treturn { geocodeLat: latFn(), geocodeLon: lonFn() };\n\t\t\t\t\t\t\t}, function () {\n\t\t\t\t\t\t\t\tperformSearchInternal(undefined);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tperformSearchInternal(newQuery);\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(_this3));\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tthis.setState(function () {\n\t\t\t\t\treturn { geocodeLat: undefined, geocodeLon: undefined };\n\t\t\t\t}, function () {\n\t\t\t\t\tperformSearchInternal(newQuery);\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'generateLabels',\n\t\tvalue: function generateLabels(labelMap) {\n\t\t\tvar ret = {};\n\t\t\tfor (var key in this.props.data.datasourceItem.fields) {\n\t\t\t\tret[key] = this.replaceTokens(this.props.data.datasourceItem.fields[key], labelMap);\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t}, {\n\t\tkey: 'replaceTokens',\n\t\tvalue: function replaceTokens(text, labelMap) {\n\t\t\tvar re = new RegExp(Object.keys(labelMap).join(\"|\"), \"gi\");\n\t\t\tvar map = labelMap;\n\t\t\ttext = text.replace(re, function (matched) {\n\t\t\t\treturn map[matched];\n\t\t\t});\n\t\t\treturn text;\n\t\t}\n\t}, {\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'location-search-context-container' },\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'search-header col-12' },\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'h1',\n\t\t\t\t\t\t{ className: 'col-xl-10 offset-xl-1' },\n\t\t\t\t\t\tthis.state.labels[\"Title Text\"]\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'p',\n\t\t\t\t\t\t{ className: 'col-xl-10 offset-xl-1' },\n\t\t\t\t\t\tthis.state.labels[\"Description Text\"]\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'form',\n\t\t\t\t\t\t{ id: 'locationSearchForm', className: 'search-form', onSubmit: this.handleSubmit },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-xl-10 offset-xl-1 search-header-textbox' },\n\t\t\t\t\t\t\t_react2.default.createElement('input', {\n\t\t\t\t\t\t\t\t'aria-label': 'search text',\n\t\t\t\t\t\t\t\ttype: 'text',\n\t\t\t\t\t\t\t\tonChange: this.handleQueryChange,\n\t\t\t\t\t\t\t\tplaceholder: this.state.labels[\"Placeholder Text\"],\n\t\t\t\t\t\t\t\tvalue: this.state.newQuery\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t_react2.default.createElement('input', { 'aria-label': 'search', type: 'submit', 'class': 'btn-dark', value: this.state.labels[\"Submit Button Text\"] }),\n\t\t\t\t\t\t\t_react2.default.createElement('div', { 'class': 'mobile-search-button' })\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-6 col-xl-5 offset-xl-1 search-location' },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{ onClick: this.useCurrentLocation, 'class': 'current-location' },\n\t\t\t\t\t\t\t\tthis.state.labels[\"Use Current Location Text\"]\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{ onClick: this.useClearSearch, 'class': 'clear-search' },\n\t\t\t\t\t\t\t\tthis.props.data.clearSearchText\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'col-md-6 col-xl-5 search-labels' },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{ 'aria-label': 'show map view', onClick: this.showMapView, className: 'map-view-button ' + (!this.state.useListView ? \"active\" : \"\") },\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t'Show '\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tthis.state.labels[\"Map View Label\"]\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\t\t{ 'class': 'view-divider' },\n\t\t\t\t\t\t\t\t'/'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{ 'aria-label': 'show list view', onClick: this.showListView, className: 'list-view-button ' + (this.state.useListView ? \"active\" : \"\") },\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t'Show '\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tthis.state.labels[\"List View Label\"]\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ className: 'filter-toggle', onClick: this.handleFilterClick },\n\t\t\t\t\t\t\t\tthis.state.labels[\"Filter Label\"]\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'row search-filters ' + (this.state.showFilter ? \"active\" : \"\"), id: 'search-filters', onClick: this.handleFilterClick },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t\t{ 'class': 'col-xl-10 offset-xl-1 filter-wrapper' },\n\t\t\t\t\t\t\t\t_react2.default.createElement(_ServiceFilters2.default, {\n\t\t\t\t\t\t\t\t\tlabels: this.state.labels,\n\t\t\t\t\t\t\t\t\tservices: this.state.services,\n\t\t\t\t\t\t\t\t\tserviceChangeFunction: this.handleServiceFilterChange,\n\t\t\t\t\t\t\t\t\tcloseClickFunction: this.handleFilterClick\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\t_react2.default.createElement(_LocationSearchResults2.default, {\n\t\t\t\t\tisLoading: this.state.isLoading,\n\t\t\t\t\tresults: this.state.results,\n\t\t\t\t\tuserLat: this.state.geocodeL
2at || this.state.userLat,\n\t\t\t\t\tuserLon: this.state.geocodeLon || this.state.userLon,\n\t\t\t\t\tdistance: parseFloat(this.state.distance),\n\t\t\t\t\thideDistance: this.state.hideDistance,\n\t\t\t\t\tuseListView: this.state.useListView,\n\t\t\t\t\tskip: this.state.skip,\n\t\t\t\t\ttake: this.state.take,\n\t\t\t\t\tcount: this.state.count,\n\t\t\t\t\ttotal: this.state.total,\n\t\t\t\t\tshowAll: this.state.showAll,\n\t\t\t\t\tshowMoreResultsFunction: this.showMoreResults,\n\t\t\t\t\tlabels: this.state.labels })\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn LocationSearch;\n}(_react.Component);\n\nexports[\"default\"] = LocationSearch;\n\n//# sourceURL=webpack://React/./react/LocationSearch/LocationSearch.jsx?")},
2"./react/LocationSearch/LocationSearchResults.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ "react");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _Map = __webpack_require__(/*! ./Map.jsx */ "./react/LocationSearch/Map.jsx");\n\nvar _Map2 = _interopRequireDefault(_Map);\n\nvar _LocationHelper = __webpack_require__(/*! ./LocationHelper.jsx */ "./react/LocationSearch/LocationHelper.jsx");\n\nvar _LocationHelper2 = _interopRequireDefault(_LocationHelper);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar LocationSearchResults = function (_Component) {\n\t_inherits(LocationSearchResults, _Component);\n\n\tfunction LocationSearchResults(props) {\n\t\t_classCallCheck(this, LocationSearchResults);\n\n\t\tvar _this = _possibleConstructorReturn(this, (LocationSearchResults.__proto__ || Object.getPrototypeOf(LocationSearchResults)).call(this, props));\n\n\t\t_this.CurateDistanceFromUserMessage = function (lat1, lon1, lat2, lon2) {\n\t\t\treturn _this.LocationHelper.CurateDistanceFromUserMessage(_this.CalculateDistanceFromUser(lat1, lon1, lat2, lon2), _this.props.labels["Distance Away Text"]);\n\t\t};\n\n\t\t_this.CalculateDistanceFromUser = function (lat1, lon1, lat2, lon2) {\n\t\t\tvar unit = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : \'mi\';\n\n\t\t\t// Radius of earth in miles/kilometers\n\t\t\tvar R = unit === \'mi\' ? 6371 / 1.609344 : 6371;\n\n\t\t\tvar dLat = _this.Deg2rad(lat2 - lat1);\n\t\t\tvar dLon = _this.Deg2rad(lon2 - lon1);\n\t\t\tvar a = Math.sin(dLat / 2.0) * Math.sin(dLat / 2.0) + Math.cos(_this.Deg2rad(lat1)) * Math.cos(_this.Deg2rad(lat2)) * Math.sin(dLon / 2.0) * Math.sin(dLon / 2.0);\n\t\t\tvar c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\n\t\t\treturn (R * c).toFixed(2);\n\t\t};\n\n\t\t_this.DetermineContainerStyling = function () {\n\t\t\tif (_this.props.useListView) {\n\t\t\t\treturn "results-wrapper list-view";\n\t\t\t} else {\n\t\t\t\treturn "results-wrapper";\n\t\t\t}\n\t\t};\n\n\t\t_this.DetermineShowMoreButtonStyling = function () {\n\t\t\tif (_this.props.isLoading || _this.props.showAll || _this.props.count < 5) {\n\t\t\t\treturn "show-more hidden";\n\t\t\t} else {\n\t\t\t\treturn "show-more";\n\t\t\t}\n\t\t};\n\n\t\t_this.LocationHelper = new _LocationHelper2.default();\n\t\treturn _this;\n\t}\n\n\t_createClass(LocationSearchResults, [{\n\t\tkey: "Deg2rad",\n\t\tvalue: function Deg2rad(deg) {\n\t\t\treturn deg * (Math.PI / 180.0);\n\t\t}\n\t}, {\n\t\tkey: "render",\n\t\tvalue: function render() {\n\t\t\tvar results = [];\n\t\t\tif (this.props.results.length === 0 && !this.props.isLoading) {\n\t\t\t\tresults.push(_react2.default.createElement("div", { "class": "no-location-results", dangerouslySetInnerHTML: { __html: this.props.labels["No Results Message"] } }));\n\t\t\t} else {\n\t\t\t\tfor (var i = 0; i < this.props.results.length;
2 i++) {\n\n\t\t\t\t\t// populate services\n\t\t\t\t\tvar servicesOffered = "";\n\t\t\t\t\tfor (var x = 0; x < this.props.results[i].ServicesOffered.length && 5; x++) {\n\t\t\t\t\t\tif (x < 5) {\n\t\t\t\t\t\t\tservicesOffered += this.props.results[i].ServicesOffered[x].ServiceDescription + "<br>";\n\t\t\t\t\t\t} else if (x === 5) {\n\t\t\t\t\t\t\tservicesOffered += "More...";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// populate distance\n\t\t\t\t\tif (this.props.userLat && this.props.userLon) {\n\t\t\t\t\t\tthis.props.results[i].DistanceFromUser = this.CurateDistanceFromUserMessage(this.props.userLat, this.props.userLon, this.props.results[i].Lat, this.props.results[i].Lon);\n\t\t\t\t\t}\n\n\t\t\t\t\t// populate location results\n\t\t\t\t\tresults.push(_react2.default.createElement(\n\t\t\t\t\t\t"div",\n\t\t\t\t\t\t{ className: "search-result-item" },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t{ "class": "search-list-content" },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"i",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tthis.props.results[i].DistanceFromUser\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\t{ "class": "directions-info" },\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\t\t{ "aria-label": "name and address of location", "class": "name-and-address" },\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"h5",\n\t\t\t\t\t\t\t\t\t\t{ "class": "location-link" },\n\t\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t\t\t{ href: this.props.results[i].LocationDetailPageLink },\n\t\t\t\t\t\t\t\t\t\t\tthis.LocationHelper.FormatName(this.props.results[i])\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"p",\n\t\t\t\t\t\t\t\t\t\t{ "class": "address" },\n\t\t\t\t\t\t\t\t\t\tthis.props.results[i].Address1,\n\t\t\t\t\t\t\t\t\t\tthis.props.results[i].Address2 && ", " + this.props.results[i].Address2\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"p",\n\t\t\t\t\t\t\t\t\t\t{ "class": "address" },\n\t\t\t\t\t\t\t\t\t\tthis.props.results[i].City,\n\t\t\t\t\t\t\t\t\t\t", ",\n\t\t\t\t\t\t\t\t\t\tthis.props.results[i].State,\n\t\t\t\t\t\t\t\t\t\t" ",\n\t\t\t\t\t\t\t\t\t\tthis.props.results[i].ZipCode,\n\t\t\t\t\t\t\t\t\t\t"-",\n\t\t\t\t\t\t\t\t\t\tthis.props.results[i].ZipPlus\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\t\t{ "class": "directions" },\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t\t{ "aria-label": "get directions link", target: "_blank", href: this.LocationHelper.ConstructAddress(this.props.results[i]) },\n\t\t\t\t\t\t\t\t\t\tthis.props.labels["Directions Text"]\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t{ "class": "location-phone", href: this.LocationHelper.ConstructPhoneNumber(this.props.results[i].Phone) },\n\t\t\t\t\t\t\t\tthis.props.results[i].Phone\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\t{ "class": "location-links" },\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t{ "class": "location-fax", href: this.LocationHelper.ConstructPhoneNumber(this.props.results[i].Fax) },\n\t\t\t\t\t\t\t\t\tthis.props.results[i].Fax\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t{ "class": "services-and-counties" },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\t{ "aria-label": this.props.labels["Services Provided Text"], "class": "services" },\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"p",\n\t\t\t\t\t\t\t\t\t{ "class": "title" },\n\t\t\t\t\t\t\t\t\tthis.props.labels["Services Provided Text"]\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t_react2.default.createElement("p", { dangerouslySetInnerHTML: { __html: servicesOffered } })\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t"div",\n\t\t\t\t{ className: "location-search-results" },\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\t{ className: "total-wrapper" },\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t"div",\n\t\t\t\t\t\t{ className: "col-md-4 col-xl-3 offset-xl-1" },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\tthis.props.labels["Total Results Message"]\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t"div",\n\t\t\t\t\t\t{ className: "col-md-8 col-xl-7 text-right" },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\tthis.props.labels["Standard Hours Message"]\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\t{ className: this.DetermineContainerStyling() },\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t"div",\n\t\t\t\t\t\t{ className: "search-results-list" },\n\t\t\t\t\t\tresults,\n\t\t\t\t\t\tthis.props.isLoading && _react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t{ "class": "sk-chase" },\n\t\t\t\t\t\t\t_react2.default.createElement("div", { "class": "sk-chase-dot" }),\n\t\t\t\t\t\t\t_react2.default.createElement("div", { "class": "sk-chase-dot" }),\n\t\t\t\t\t\t\t_react2.default.createElement("div", { "class": "sk-chase-dot" }),\n\t\t\t\t\t\t\t_react2.default.createElement("div", { "class": "sk-chase-dot" }),\n\t\t\t\t\t\t\t_react2.default.createElement("div", { "class": "sk-chase-dot" }),\n\t\t\t\t\t\t\t_react2.default.createElement("div", { "class": "sk-chase-dot" })\n\t\t\t\t\t\t),\n\t\t\t\t\t\t!this.props.isLoading && _react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t{ "class": this.DetermineShowMoreButtonStyling() },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"button",\n\t\t\t\t\t\t\t\t{ onClick: this.props.showMoreResultsFunction },\n\t\t\t\t\t\t\t\tthis.props.labels["Show More Message"]\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(_Map2.default, { results: this.props.results,\n\t\t\t\t\t\tshowAll: this.props.showAll,\n\t\t\t\t\t\tuserLat: this.props.userLat,\n\t\t\t\t\t\tuserLon: this.props.userLon,\n\t\t\t\t\t\tuseListView: this.props.useListView\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn LocationSearchResults;\n}(_react.Component);\n\nexports["default"] = LocationSearchResults;\n\n//# sourceURL=webpack://React/./react/LocationSearch/LocationSearchResults.jsx?')},
2"./react/LocationSearch/LocationsEndpoint.jsx":(__unused_webpack_module,exports)=>{eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n\tvalue: true\n}));\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar LocationsEndpoint = function () {\n\tfunction LocationsEndpoint(datasourceId, defaultLocationFieldId, maxLocations, locationDetails, noGeolocation) {\n\t\t_classCallCheck(this, LocationsEndpoint);\n\n\t\tthis.locationProcessed = false;\n\t\tthis.apiCall = '/api/LocationEndpoint/GetLocations?' + ('datasourceId=' + datasourceId + '&defaultLocationFieldId=' + defaultLocationFieldId) + ('&locationDetails=' + locationDetails + '&maxLocations=' + maxLocations);\n\t\tthis.data = null;\n\t\tthis.noGeolocation = noGeolocation || false;\n\t\tthis.Retrieve3Locations = this.RetrieveLocations.bind(this);\n\t}\n\n\t_createClass(LocationsEndpoint, [{\n\t\tkey: 'RetrieveLocations',\n\t\tvalue: function RetrieveLocations(handleResponse) {\n\t\t\tvar handleLocation = handleResponse;\n\t\t\tvar self = this;\n\n\t\t\tvar success = function success(position) {\n\t\t\t\t// Only append if we have actual coordinates\n\t\t\t\tif (position && position.coords && !self.noGeolocation) {\n\t\t\t\t\t// Ensure we don't keep appending lat/lon if function is called multiple times\n\t\t\t\t\tif (!self.apiCall.includes('&lat=')) {\n\t\t\t\t\t\tself.apiCall += '&lat=' + position.coords.latitude + '&lon=' + position.coords.longitude;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfetch(self.apiCall).then(function (res) {\n\t\t\t\t\treturn res.json();\n\t\t\t\t}).then(function (myJson) {\n\t\t\t\t\treturn handleLocation(self.FormatResults(myJson));\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tvar error = function error(err) {\n\t\t\t\t// If it expires (code 3) or is blocked (code 1), fetch default data\n\t\t\t\tconsole.warn('Geolocation issue (' + err.code + '). Loading defaults.');\n\t\t\t\tfetch(self.apiCall).then(function (res) {\n\t\t\t\t\treturn res.json();\n\t\t\t\t}).then(function (myJson) {\n\t\t\t\t\treturn handleLocation(self.FormatResults(myJson));\n\t\t\t\t});\n\t\t\t};\n\n\t\t\t// CATCH LATE INPUT: Listen for permission changes after the timeout\n\t\t\tif (window.navigator && window.navigator.permissions && !self.permissionWatcherActive) {\n\t\t\t\tself.permissionWatcherActive = true;\n\t\t\t\twindow.navigator.permissions.query({ name: 'geolocation' }).then(function (result) {\n\t\t\t\t\tresult.onchange = function () {\n\t\t\t\t\t\tif (result.state === 'granted') {\n\t\t\t\t\t\t\tconsole.log(\"User granted access after expiration. Refreshing...\");\n\t\t\t\t\t\t\tself.locationProcessed = false; // Reset flag to allow re-run\n\t\t\t\t\t\t\tself.RetrieveLocations(handleResponse);\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif (!self.locationProcessed && window.navigator.geolocation) {\n\t\t\t\tself.locationProcessed = true;\n\t\t\t\twindow.navigator.geolocation.getCurrentPosition(success, error, {\n\t\t\t\t\tenableHighAccuracy: true,\n\t\t\t\t\ttimeout: 3000, // 3 second expiration\n\t\t\t\t\tmaximumAge: 0\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tsuccess();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'FormatResults',\n\t\tvalue: function FormatResults(js) {\n\t\t\treturn {\n\t\t\t\t\"total\": js.total,\n\t\t\t\t\"documents\": js.documents.map(function (d) {\n\t\t\t\t\treturn _extends({ \"DistanceFromUser\": d.DistanceFromUser }, d.Location);\n\t\t\t\t})\n\t\t\t};\n\t\t}\n\t}]);\n\n\treturn LocationsEndpoint;\n}();\n\nexports[\"default\"] = LocationsEndpoint;\n\n//# sourceURL=webpack://React/./react/LocationSearch/LocationsEndpoint.jsx?")},
2"./react/LocationSearch/Map.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ "react");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Map = function (_PureComponent) {\n\t_inherits(Map, _PureComponent);\n\n\tfunction Map(props) {\n\t\t_classCallCheck(this, Map);\n\n\t\tvar _this = _possibleConstructorReturn(this, (Map.__proto__ || Object.getPrototypeOf(Map)).call(this, props));\n\n\t\t_this.CreatePins = function () {\n\t\t\tif (typeof window !== \'undefined\' && document.getElementsByClassName(\'search-results-map\')[0] != null) {\n\t\t\t\t_this.locations = [];\n\t\t\t\tfor (var i in _this.props.results) {\n\t\t\t\t\tvar latlon = new google.maps.LatLng(_this.props.results[i].Lat, _this.props.results[i].Lon);\n\n\t\t\t\t\t// populate services\n\t\t\t\t\tvar services = "";\n\t\t\t\t\tfor (var x = 0; x < _this.props.results[i].ServicesOffered.length && 5; x++) {\n\t\t\t\t\t\tif (x < 5) {\n\t\t\t\t\t\t\tservices += \'<p>\' + _this.props.results[i].ServicesOffered[x].ServiceDescription + \'</p>\';\n\t\t\t\t\t\t} else if (x === 5) {\n\t\t\t\t\t\t\tservices += \'<p>More...</p>\';\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// populate location results\n\t\t\t\t\t_this.locations.push({\n\t\t\t\t\t\tmarker: null,\n\t\t\t\t\t\tlatlon: latlon,\n\t\t\t\t\t\ticon: {\n\t\t\t\t\t\t\turl: _this.BuildMarkerIcon(_this.options.default_icon_color),\n\t\t\t\t\t\t\tscaledSize: { width: 32, height: 32 }\n\t\t\t\t\t\t},\n\t\t\t\t\t\ticon_active: {\n\t\t\t\t\t\t\turl: _this.BuildMarkerIcon(_this.options.default_icon_color, 1),\n\t\t\t\t\t\t\tscaledSize: { width: 36, height: 36 }\n\t\t\t\t\t\t},\n\t\t\t\t\t\ttitle: _this.props.results[i].Name + \' - \' + _this.props.results[i].Dba,\n\t\t\t\t\t\taddress: _this.props.results[i].Address1 + \', \' + _this.props.results[i].Address2,\n\t\t\t\t\t\taddress2: _this.props.results[i].City + \', \' + _this.props.results[i].State + \' \' + _this.props.results[i].ZipCode + \' - \' + _this.props.results[i].ZipPlus,\n\t\t\t\t\t\tphone: _this.props.results[i].Phone,\n\t\t\t\t\t\tfax: _this.props.results[i].Fax,\
2n\t\t\t\t\t\tlocationDetailPageLink: _this.props.results[i].LocationDetailPageLink,\n\t\t\t\t\t\tdirections: \'https://www.google.com/maps/dir/?api=1&destination=\' + _this.props.results[i].Address1 + _this.props.results[i].Address2 + location.City + location.State + location.ZipCode,\n\t\t\t\t\t\tservices: services,\n\t\t\t\t\t\tdistanceFromUser: _this.props.results[i].DistanceFromUser\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t_this.InitGMap = function () {\n\t\t\tif (typeof window !== \'undefined\' && document.getElementsByClassName(\'search-results-map\')[0] != null) {\n\t\t\t\t_this.gMap = new google.maps.Map(document.getElementsByClassName(\'search-results-map\')[0], {\n\t\t\t\t\tcenter: { lat: _this.options.lat, lng: _this.options.lon },\n\t\t\t\t\tzoom: _this.options.zoom\n\t\t\t\t});\n\n\t\t\t\t// Set markers.\n\t\t\t\t_this.SetMarkers();\n\n\t\t\t\tif (!_this.locations.length) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tvar all_same = true;\n\t\t\t\tfor (var i = 1; i < _this.locations.length; i++) {\n\t\t\t\t\tif (_this.locations[i].latlon.toString() != _this.locations[0].latlon.toString()) {\n\t\t\t\t\t\tall_same = false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Only one marker was placed, so center it on the map.\n\t\t\t\tif (_this.locations.length == 1 || all_same) {\n\t\t\t\t\t_this.gMap.setCenter(_this.locations[0].latlon);\n\t\t\t\t} else {\n\t\t\t\t\tvar bounds = new google.maps.LatLngBounds();\n\t\t\t\t\tfor (var _i = 0; _i < _this.locations.length;
2 _i++) {\n\t\t\t\t\t\tif (_this.locations[_i].marker.visible) {\n\t\t\t\t\t\t\tbounds.extend(_this.locations[_i].latlon);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t_this.gMap.fitBounds(bounds, 0);\n\t\t\t\t}\n\n\t\t\t\tgoogle.maps.event.trigger(_this.gMap, "resize");\n\t\t\t}\n\t\t};\n\n\t\t_this.locations = [];\n\t\t_this.selected = 0;\n\t\t_this.gMap;\n\t\t_this.useListView = _this.props.useListView;\n\t\t_this.options = {\n\t\t\tlat: _this.props.userLat || 38.2526647,\n\t\t\tlon: _this.props.userLon || -85.7584557,\n\t\t\tzoom: 9,\n\t\t\tdefault_icon_color: \'#006BE8\'\n\t\t};\n\t\t_this.state = {\n\t\t\tuseListView: false\n\t\t};\n\t\treturn _this;\n\t}\n\n\t_createClass(Map, [{\n\t\tkey: \'componentDidMount\',\n\t\tvalue: function componentDidMount() {\n\t\t\tthis.setState({ useListView: this.props.useListView });\n\t\t}\n\t}, {\n\t\tkey: \'render\',\n\t\tvalue: function render() {\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t\'div\',\n\t\t\t\t{ className: \'search-results-map\' },\n\t\t\t\tthis.CreatePins(),\n\t\t\t\tthis.InitGMap()\n\t\t\t);\n\t\t}\n\t}, {\n\t\tkey: \'SetMarkers\',\n\t\tvalue: function SetMarkers() {\n\t\t\tvar _this2 = this;\n\n\t\t\tif (typeof window !== \'undefined\') {\n\t\t\t\tvar _loop = function _loop(i) {\n\t\t\t\t\tvar location = _this2.locations[i];\n\n\t\t\t\t\tif (location.marker) {\n\t\t\t\t\t\tlocation.marker.setMap(null);\n\t\t\t\t\t}\n\t\t\t\t\tvar distFromUserTmpl = location.distanceFromUser ? \'<i>\' + location.distanceFromUser + \'</i>\' : \'\';\n\t\t\t\t\tvar contentString = \'\\n\\t\\t\\t\\t\\t<div class="map-popup">\\n\\t\\t\\t\\t\\t\\t<div id="siteNotice"></div>\\n\\t\\t\\t\\t\\t\\t<div class="search-list-content">\\n\\t\\t\\t\\t\\t\\t\\t\' + distFromUserTmpl + \'\\n\\t\\t\\t\\t\\t\\t\\t<div class="directions-info">\\n\\t\\t\\t\\t\\t\\t\\t\\t<div aria-label="name and address of location" class="name-and-address">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<h5 class="location-link"><a href="\' + location.locationDetailPageLink + \'">\' + location.title + \'</a></h5>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<p>\' + location.address + \'</p>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<p>\' + location.address2 + \'</p>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class="directions">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<a aria-label="get directions link" target="_blank" href="\' + location.directions + \'">DIRECTIONS</a>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t<a class="location-phone" href="tel:+ \' + location.phone + \'">\' + location.phone + \'</a>\\n\\t\\t\\t\\t\\t\\t\\t<div class="location-links">\\n\\t\\t\\t\\t\\t\\t\\t\\t<a class="location-fax" href="tel:+ \' + location.fax + \'">\' + location.fax + \'</a>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t<div class="services-and-counties">\\n\\t\\t\\t\\t\\t\\t\\t<div class="services">\\n\\t\\t\\t\\t\\t\\t\\t\\t<p class="title">Services Provided</p>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class="service-list">\' + location.services + \'</div>\\n\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t</div>\';\n\t\t\t\t\tvar infowindow = new google.maps.InfoWindow({\n\t\t\t\t\t\tcontent: contentString\n\t\t\t\t\t});\n\t\t\t\t\tvar marker = new google.maps.Marker({\n\t\t\t\t\t\ttitle: location.title,\n\t\t\t\t\t\tposition: location.latlon,\n\t\t\t\t\t\tmap: _this2.gMap,\n\t\t\t\t\t\ticon: location.icon\n\t\t\t\t\t});\n\t\t\t\t\tmarker.setVisible(i < 50);\n\t\t\t\t\tlocation.marker = marker;\n\t\t\t\t\tlocation.infowindow = infowindow;\n\t\t\t\t\tmarker.addListener("click", function () {\n\t\t\t\t\t\t// Close other infowindows\n\t\t\t\t\t\tfor (var i = 0; i < _this2.locations.length; i++) {\n\t\t\t\t\t\t\tif (_this2.locations[i].infowindow) {\n\t\t\t\t\t\t\t\t_this2.locations[i].infowindow.close();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tinfowindow.open({\n\t\t\t\t\t\t\tanchor: marker,\n\t\t\t\t\t\t\tmap: _this2.gMap,\n\t\t\t\t\t\t\tshouldFocus: false\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t};\n\n\t\t\t\tfor (var i in this.locations) {\n\t\t\t\t\t_loop(i);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: \'BuildMarkerIcon\',\n\t\tvalue: function BuildMarkerIcon(color, active) {\n\t\t\tactive = active ? \'\' : \'display:none;\';\n\t\t\tvar svg_xml = \'<?xml version="1.0" encoding="utf-8"?><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 35.6 35.6" style="enable-background:new 0 0 35.6 35.6;" xml:space="preserve"><style type="text/css">.st1{fill-rule:evenodd;clip-rule:evenodd;fill:\' + color + \';}.st2{fill:#FFF;}.st3{fill-rule:evenodd;clip-rule:evenodd;fill:#FFF;\' + active + \'}</style><g><g><path class="st1" d="M17.8,1C10.5,1,4.7,6.2,4.7,13.9c0,7.5,7.8,15.8,12.7,20.5c0.2,0.2,0.6,0.2,0.8,0c2.2-2.3,12.7-13.6,12.7-20.5C30.9,6.2,25.1,1,17.8,1z"/><path class="st2" d="M17.8,35.1c-0.3,0-0.5-0.1-0.7-0.3C8.5,26.6,4.2,19.6,4.2,13.9c0-7.6,5.8-13.4,13.6-13.4s13.6,5.8,13.6,13.4c0,7.1-10.7,18.6-12.8,20.8C18.4,35,18.1,35.1,17.8,35.1C17.8,35.1,17.8,35.1,17.8,35.1z M17.8,1.5c-7.2,0-12.6,5.3-12.6,12.4c0,5.4,4.2,12.1,12.5,20.2l0.1,0c2.1-2.2,12.6-13.5,12.6-20.2C30.4,6.8,25,1.5,17.8,1.5z"/></g><circle class="st3" cx="17.8" cy="14.7" r="5.1"/></g></svg>\';\n\t\t\treturn \'data:image/svg+xml;base64,\' + btoa(svg_xml);\n\t\t}\n\t}]);\n\n\treturn Map;\n}(_react.PureComponent);\n\nexports["default"] = Map;\n\n//# sourceURL=webpack://React/./react/LocationSearch/Map.jsx?')},
2"./react/LocationSearch/NearbyLocations.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ "react");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _LocationsEndpoint = __webpack_require__(/*! ./LocationsEndpoint.jsx */ "./react/LocationSearch/LocationsEndpoint.jsx");\n\nvar _LocationsEndpoint2 = _interopRequireDefault(_LocationsEndpoint);\n\nvar _LocationHelper = __webpack_require__(/*! ./LocationHelper.jsx */ "./react/LocationSearch/LocationHelper.jsx");\n\nvar _LocationHelper2 = _interopRequireDefault(_LocationHelper);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar NearbyLocations = function (_Component) {\n\t_inherits(NearbyLocations, _Component);\n\n\tfunction NearbyLocations(props) {\n\t\t_classCallCheck(this, NearbyLocations);\n\n\t\tvar _this = _possibleConstructorReturn(this, (NearbyLocations.__proto__ || Object.getPrototypeOf(NearbyLocations)).call(this, props));\n\n\t\t_this.performSearch = function () {\n\t\t\t_this.LocationsEndpoint.RetrieveLocations(_this.handleResponse);\n\t\t};\n\n\t\t_this.handleResponse = function (response) {\n\t\t\t_this.setState({\n\t\t\t\ttotal: response.total,\n\t\t\t\tlocation: response.documents\n\t\t\t});\n\t\t};\n\n\t\t_this.state = {\n\t\t\ttotal: 0,\n\t\t\tlocation: []\n\t\t};\n\t\t_this.LocationsEndpoint = new _LocationsEndpoint2.default(_this.props.data.shortDatasourceId, _this.props.data.defaultLocationFieldId, 2, _this.props.data.locationDetails, true);\n\t\t_this.LocationHelper = new _LocationHelper2.default();\n\t\treturn _this;\n\t}\n\n\t_createClass(NearbyLocations, [{\n\t\tkey: "componentDidMount",\n\t\tvalue: function componentDidMount() {\n\t\t\tthis.performSearch();\n\t\t}\n\t}, {\n\t\tkey: "render",\n\t\tvalue: function render() {\n\t\t\tvar locationsInfo = [];\n\t\t\tif (this.state.total == 0) {\n\t\t\t\tlocationsInfo.push(_react2.default.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\tnull,\n\t\t\t\t\tthis.props.data.noDefaultLocationSelectedText\n\t\t\t\t));\n\t\t\t} else {\n\t\t\t\tfor (var i = 0; i < this.state.location.length; i++) {\n\t\t\t\t\tvar location = this.state.location[i];\n\n\t\t\t\t\tlocationsInfo.push(_react2.default.createElement(\n\t\t\t\t\t\t"div",\n\t\t\t\t\t\t{ "class": "component cards carousel-card col-12 col-md-6 col-lg-4" },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t{ "class": "component-content" },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"article",\n\t\t\t\t\t\t\t\t{ "class": "cta-card" },\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\t\t{ "class": "card-image" },\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t\t{ href: location.LocationDetailPageLink },\n\t\t\t\t\t\t\t\t\t\t_react2.default.createElement("img", { src: location.Image })\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"heading",\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"i",\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\tthis.LocationHelper.CurateDistanceFromUserMessage(location.DistanceFromUser, this.props.data.milesAwayText)\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"h3",\n\t\t\t\t\t\t\t\t\t\t{ "class": "card-title heading-5" },\n\t\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t\t\t{ href: location.LocationDetailPageLink },\n\t\t\t\t\t\t\t\t\t\t\tthis.LocationHelper.FormatName(location)\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\t\t{ "class": "card-description" },\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"p",\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\tlocation.Address1,\n\t\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\tlocation.Address2,\n\t\t\t\t\t\t\t\t\t\t_react2.default.createElement("br", null),\n\t\t\t\t\t\t\t\t\t\tlocation.City,\n\t\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\tlocation.State,\n\t\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\t\t" "\n\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\tlocation.ZipCode\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\thref: this.LocationHelper.ConstructPhoneNumber(location.Phone),\n\t\t\t\t\t\t\t\t\t\t\t"class": "location-phone"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tlocation.Phone\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\thref: this.LocationHelper.ConstructAddress(location),\n\t\t\t\t\t\t\t\t\t\t\t"class": "location-directions",\n\t\t\t\t\t\t\t\t\t\t\ttarget: "_blank"\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tthis.props.data.directionsText\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t"div",\n\t\t\t\t{ className: "component nearby-locations col-12 col-xl-10 offset-xl-1" },\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\t{ "class": "component-content" },\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t"h2",\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\tthis.props.data.title\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t"div",\n\t\t\t\t\t\t{ "class": "row" },\n\t\t\t\t\t\tlocationsInfo,\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t{ "class": "component cards device-card col-12 col-lg-4" },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\t{ "class": "component-content" },\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"article",\n\t\t\t\t\t\t\t\t\t{ "class": "cta-card" },\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"heading",\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t\t"h3",\n\t\t\t\t\t\t\t\t\t\t\t{ "class": "card-title heading-5" },\n\t\t\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t\t\t\t{ href: "/?sc_site=Local" },\n\t\t\t\t\t\t\t\t\t\t\t\tthis.props.data.header\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"p",\n\t\t\t\t\t\t\t\t\t\t{ "class": "card-description" },\n\t\t\t\t\t\t\t\t\t\tthis.props.data.description\n\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t"p",\n\t\t\t\t\t\t\t\t\t\t{ "class": "card-link" },\n\t\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t"class": "cta-card-link",\n\t\t\t\t\t\t\t\t\t\t\t\thref: this.props.data.locationSearchPage\n\t\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\t\t\tthis.props.data.linkText\n\t\t\t\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\t\t\t_react2.default.createElement("i", { "class": "fa fa-arrow-right" })\n\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn NearbyLocations;\n}(_react.Component);\n\nexports["default"] = NearbyLocations;\n\n//# sourceURL=webpack://React/./react/LocationSearch/NearbyLocations.jsx?')},
2"./react/LocationSearch/OurCenters.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ "react");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _LocationsEndpoint = __webpack_require__(/*! ./LocationsEndpoint.jsx */ "./react/LocationSearch/LocationsEndpoint.jsx");\n\nvar _LocationsEndpoint2 = _interopRequireDefault(_LocationsEndpoint);\n\nvar _LocationHelper = __webpack_require__(/*! ./LocationHelper.jsx */ "./react/LocationSearch/LocationHelper.jsx");\n\nvar _LocationHelper2 = _interopRequireDefault(_LocationHelper);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar OurCenters = function (_Component) {\n\t_inherits(OurCenters, _Component);\n\n\tfunction OurCenters(props) {\n\t\t_classCallCheck(this, OurCenters);\n\n\t\tvar _this = _possibleConstructorReturn(this, (OurCenters.__proto__ || Object.getPrototypeOf(OurCenters)).call(this, props));\n\n\t\t_this.performSearch = function () {\n\t\t\t_this.LocationsEndpoint.RetrieveLocations(_this.handleResponse);\n\t\t};\n\n\t\t_this.handleResponse = function (response) {\n\t\t\t_this.setState({\n\t\t\t\ttotal: response.total,\n\t\t\t\tlocation: response.documents[0]\n\t\t\t});\n\t\t};\n\n\t\t_this.handleServicesClick = function (event) {\n\t\t\tjQuery(event.target).toggleClass(\'active\');\n\t\t};\n\n\t\t_this.handleFormSubmit = function (event) {\n\t\t\tvar formData = new FormData(event.target);\n\t\t\tvar query = formData.get(\'search\');\n\t\t\tevent.target.querySelector(\'input[type="text"]\').setAttribute(\'disabled\', \'disabled\');\n\t\t\tvar targetPage = _this.props.data.locationSearchPage + "/#lq=" + query;\n\t\t\tevent.target.action = targetPage;\n\t\t\treturn true;\n\t\t};\n\n\t\t_this.state = {\n\t\t\ttotal: 0,\n\t\t\tlocation: null\n\t\t};\n\t\t_this.LocationsEndpoint = new _LocationsEndpoint2.default(_this.props.data.shortDatasourceId, _this.props.data.defaultLocationFieldId, 1, _this.props.data.locationDetails);\n\t\t_this.LocationHelper = new _LocationHelper2.default();\n\t\tif (typeof window !== "undefined") {\n\t\t\tjQuery(".breadcrumb-item a,span").css("color", "white");\n\t\t}\n\t\t_this.handleFormSubmit.bind(_this);\n\t\treturn _this;\n\t}\n\n\t_createClass(OurCenters, [{\n\t\tkey: "componentDidMount",\n\t\tvalue: function componentDidMount() {\n\t\t\tthis.performSearch();\n\t\t}\n\t}, {\n\t\tkey: "render",\n\t\tvalue: function render() {\n\t\t\tvar locationInfo = [];\n\t\t\tif (this.state.total == 0) {\n\t\t\t\tlocationInfo.push(_react2.default.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\t{ "class": "center-wrapper" },\n\t\t\t\t\tthis.props.data.noDefaultLocationSelectedText\n\t\t\t\t));\n\t\t\t} else {\n\t\t\t\tvar locationServicesInfo = [];\n\t\t\t\tfor (var i = 0; i < this.state.location.ServicesOffered.length;
2 i++) {\n\t\t\t\t\tif (i == 5) {\n\t\t\t\t\t\tlocationServicesInfo.push(_react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\tthis.props.data.moreText\n\t\t\t\t\t\t));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlocationServicesInfo.push(_react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\tthis.state.location.ServicesOffered[i].ServiceDescription\n\t\t\t\t\t\t));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlocationInfo.push(_react2.default.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\t{ "class": "center-wrapper" },\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t"div",\n\t\t\t\t\t\t{ "class": "center-image" },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t{ href: this.state.location.LocationDetailPageLink },\n\t\t\t\t\t\t\t_react2.default.createElement("img", { src: this.state.location.Image })\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t"div",\n\t\t\t\t\t\t{ "class": "center-content" },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t{ "class": "center-info" },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"i",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tthis.LocationHelper.CurateDistanceFromUserMessage(this.state.location.DistanceFromUser, this.props.data.milesAwayText)\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t{ href: this.state.location.LocationDetailPageLink },\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"h5",\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\tthis.LocationHelper.FormatName(this.state.location)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"p",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tthis.state.location.Address1,\n\t\t\t\t\t\t\t\tthis.state.location.Address2 && ", " + this.state.location.Address2\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"p",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tthis.state.location.City,\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t", "\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tthis.state.location.State,\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t" "\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\tthis.state.location.ZipCode\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\t{ "class": "center-links" },\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\thref: this.LocationHelper.ConstructPhoneNumber(this.state.location.Phone),\n\t\t\t\t\t\t\t\t\t\t"class": "center-phone"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tthis.state.location.Phone\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t\t"a",\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\thref: this.LocationHelper.ConstructAddress(this.state.location),\n\t\t\t\t\t\t\t\t\t\t"class": "center-directions",\n\t\t\t\t\t\t\t\t\t\ttarget: "_blank"\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tthis.props.data.directionsText\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t{ "class": "center-data", onClick: this.handleServicesClick },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"b",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\tthis.props.data.servicesProvidedText\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t"div",\n\t\t\t\t\t\t\t\t{ "class": "center-services" },\n\t\t\t\t\t\t\t\tlocationServicesInfo\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t));\n\t\t\t}\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t"div",\n\t\t\t\t{ "class": "our-centers-bg" },\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\t{ className: "our-centers col-xl-9 offset-xl-1" },\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t"div",\n\t\t\t\t\t\t{ "class": "component-content" },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"h3",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\tthis.props.data.title\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t"form",\n\t\t\t\t\t\t\t{ onSubmit: this.handleFormSubmit },\n\t\t\t\t\t\t\t_react2.default.createElement("input", {\n\t\t\t\t\t\t\t\t"aria-label": "search text",\n\t\t\t\t\t\t\t\ttype: "text",\n\t\t\t\t\t\t\t\tname: "search",\n\t\t\t\t\t\t\t\tplaceholder: this.props.data.searchBoxPlaceholderText\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t_react2.default.createElement("input", { "aria-label": "search", type: "submit" }),\n\t\t\t\t\t\t\t_react2.default.createElement("div", { "class": "alt-button" })\n\t\t\t\t\t\t),\n\t\t\t\t\t\tlocationInfo\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn OurCenters;\n}(_react.Component);\n\nexports["default"] = OurCenters;\n\n//# sourceURL=webpack://React/./react/LocationSearch/OurCenters.jsx?')},
2"./react/LocationSearch/ServiceFilters.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ \"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ServiceFilters = function (_React$Component) {\n\t_inherits(ServiceFilters, _React$Component);\n\n\tfunction ServiceFilters(props) {\n\t\t_classCallCheck(this, ServiceFilters);\n\n\t\tvar _this = _possibleConstructorReturn(this, (ServiceFilters.__proto__ || Object.getPrototypeOf(ServiceFilters)).call(this, props));\n\n\t\t_this.constructAriaLabel = function (val) {\n\t\t\treturn \"filter locations that provide \" + val + \" service\";\n\t\t};\n\n\t\t_this.handleServiceClick = function (event) {\n\t\t\tvar serviceChangeFunction = _this.props.serviceChangeFunction;\n\t\t\tvar _event$target = event.target,\n\t\t\t    value = _event$target.value,\n\t\t\t    checked = _event$target.checked;\n\n\t\t\tvar service = _this.state.services.find(function (s) {\n\t\t\t\treturn s.id === value;\n\t\t\t});\n\t\t\tif (service == undefined) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tservice.isChecked = checked;\n\t\t\tserviceChangeFunction(_this.state.services);\n\t\t};\n\n\t\t_this.state = {\n\t\t\tservices: props.services\n\t\t};\n\t\treturn _this;\n\t}\n\n\t_createClass(ServiceFilters, [{\n\t\tkey: 'updateStateFromQuery',\n\t\tvalue: function updateStateFromQuery(newState) {\n\t\t\tthis.setState({ services: newState.state.services });\n\t\t}\n\t}, {\n\t\tkey: 'componentDidMount',\n\t\tvalue: function componentDidMount() {\n\t\t\twindow.addEventListener('popstate', this.updateStateFromQuery.bind(this));\n\t\t}\n\t}, {\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\tvar services = [];\n\t\t\tfor (var i in this.state.services) {\n\t\t\t\tservices.push(_react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\tnull,\n\t\t\t\t\t_react2.default.createElement('input', {\n\t\t\t\t\t\t'aria-label': this.constructAriaLabel(this.state.services[i].name),\n\t\t\t\t\t\tonClick: this.handleServiceClick,\n\t\t\t\t\t\ttype: 'checkbox',\n\t\t\t\t\t\tname: 'service',\n\t\t\t\t\t\tid: 'service-filter-' + this.state.services[i].id,\n\t\t\t\t\t\tvalue: this.state.services[i].id,\n\t\t\t\t\t\tchecked: this.state.services[i].isChecked\n\t\t\t\t\t}),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'label',\n\t\t\t\t\t\t{ htmlFor: 'service-filter-' + this.state.services[i].id },\n\t\t\t\t\t\tthis.state.services[i].name\n\t\t\t\t\t)\n\t\t\t\t));\n\t\t\t}\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'type-filters' },\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t'p',\n\t\t\t\t\tnull,\n\t\t\t\t\tthis.props.labels[\"Services Label\"]\n\t\t\t\t),\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ 'class': 'service-container' },\n\t\t\t\t\tservices\n\t\t\t\t),\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ 'class': 'close-arrow', onClick: this.closeClickFunction },\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'p',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\t'close'\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn ServiceFilters;\n}(_react2.default.Component);\n\nexports[\"default\"] = ServiceFilters;\n\n//# sourceURL=webpack://React/./react/LocationSearch/ServiceFilters.jsx?")},
2"./react/React/ScPlaceholder.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n    value: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ "react");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ScPlaceholder = function (_Component) {\n    _inherits(ScPlaceholder, _Component);\n\n    function ScPlaceholder(props) {\n        _classCallCheck(this, ScPlaceholder);\n\n        var _this = _possibleConstructorReturn(this, (ScPlaceholder.__proto__ || Object.getPrototypeOf(ScPlaceholder)).call(this, props));\n\n        _this.renderSitecore = _this.renderSitecore.bind(_this);\n        _this.renderFED = _this.renderFED.bind(_this);\n        return _this;\n    }\n\n    _createClass(ScPlaceholder, [{\n        key: "renderSitecore",\n        value: function render
2Sitecore() {\n            return _react2.default.createElement("div", { dangerouslySetInnerHTML: { __html: this.props.placeholder[this.props.placeholderKey] } });\n        }\n    }, {\n        key: "renderFED",\n        value: function renderFED() {\n            var _this2 = this;\n\n            if (this.props.content) {\n                var content = [];\n                if (typeof this.props.content === "string") {\n                    return _react2.default.createElement(\n                        "span",\n                        null,\n                        this.props.content\n                    );\n                }\n\n                if (_react2.default.Children.count(this.props.content) > 0) {\n                    content = _react2.default.Children.map(this.props.content, function (child, i) {\n                        if (child.props.hasOwnProperty("placeholderKey")) {\n                            if (child.props.placeholderKey === _this2.props.placeholderKey) {\n                                return child;\n                            }\n                        }\n                    });\n                }\n\n                return content.length > 0 ? _react2.default.createElement(\n                    "div",\n                    null,\n                    content\n                ) : _react2.default.createElement(\n                    "h2",\n                    null,\n                    "No Content"\n                );\n            }\n\n            if (this.props.children) {\n                var _content = [];\n                if (_react2.default.Children.count(this.props.children) > 0) {\n                    _content = _react2.default.Children.map(this.props.children, function (child, i) {\n                        if (child.props.hasOwnProperty("placeholderKey")) {\n                            if (child.props.placeholderKey === _this2.props.placeholderKey) {\n                                return child;\n                            }\n                        }\n                    });\n                }\n\n                return _content.length > 0 ? _react2.default.createElement(\n                    "div",\n                    null,\n                    _content\n                ) : this.props.children;\n            }\n\n            return _react2.default.createElement(\n                "h2",\n                null,\n                "No content"\n            );\n        }\n    }, {\n        key: "render",\n        value: function render() {\n            // If we have a props object called "placeholder" this is supplied by\n            // Sitecore so return the value in the placeholder key and ignore\n            // any of the static front end code in the file.\n            if (this.props.hasOwnProperty("placeholder") && this.props.placeholder != null) {\n                return this.renderSitecore();\n            }\n\n            return this.renderFED();\n        }\n    }]);\n\n    return ScPlaceholder;\n}(_react.Component);\n\nexports["default"] = ScPlaceholder;\n\n//# sourceURL=webpack://React/./react/React/ScPlaceholder.jsx?')},
2"./react/React/SxaDictionary.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n    value: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ "react");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SxaDictionary = function (_Component) {\n    _inherits(SxaDictionary, _Component);\n\n    function SxaDictionary(props) {\n        _classCallCheck(this, SxaDictionary);\n\n        return _possibleConstructorReturn(this, (SxaDictionary.__proto__ || Object.getPrototypeOf(SxaDictionary)).call(this, props));\n    }\n\n    _createClass(SxaDictionary, [{\n        key: "render",\n        value: function render() {\n            // If we have a props object called "placeholder" this is supplied by\n            // Sitecore so return the value in the placeholder key and ignore\n            // any of the static front end code in the file.\n            if (this.props.hasOwnProperty("dictionary") && this.props.dictionary != null) {\n                if (this.props.dictionary[this.props.dictionaryKey] !== "") {\n                    return _react2.default.createElement(\n                        _react2.default.Fragment,\n                        null,\n                        this.props.dictionary[this.props.dictionaryKey]\n                    );\n                }\n            }\n            return _react2.default.createElement(\n                _react2.default.Fragment,\n                null,\n                this.props.dictionaryKey\n            );\n        }\n    }]);\n\n    return SxaDictionary;\n}(_react.Component);\n\nexports["default"] = SxaDictionary;\n\n//# sourceURL=webpack://React/./react/React/SxaDictionary.jsx?')},
2"./react/SiteSearch/Facets.jsx":(__unused_webpack_module,exports)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Facets = function (_React$Component) {\n\t_inherits(Facets, _React$Component);\n\n\tfunction Facets(props) {\n\t\t_classCallCheck(this, Facets);\n\n\t\treturn _possibleConstructorReturn(this, (Facets.__proto__ || Object.getPrototypeOf(Facets)).call(this, props));\n\t}\n\n\t_createClass(Facets, [{\n\t\tkey: "render",\n\t\tvalue: function render() {\n\t\t\tvar _this2 = this;\n\n\t\t\tvar facets = [];\n\t\t\tvar selected = this.props.currentFacet === "";\n\t\t\tfacets.push(React.createElement(\n\t\t\t\t"div",\n\t\t\t\t{ className: selected ? "search-facet-selected col-lg" : "col-lg" },\n\t\t\t\tReact.createElement(\n\t\t\t\t\t"span",\n\t\t\t\t\t{ onClick: function onClick() {\n\t\t\t\t\t\t\treturn _this2.props.facet("");\n\t\t\t\t\t\t}, className: "search-facet col-lg" },\n\t\t\t\t\tthis.props.labels["All Results"],\n\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t"span",\n\t\t\t\t\t\t{ className: "search-facet-count" },\n\t\t\t\t\t\tthis.props.unfacetedTotal\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t));\n\n\t\t\tvar _loop = function _loop() {\n\t\t\t\tvar key = x;\n\t\t\t\tselected = _this2.props.currentFacet === x;\n\t\t\t\tfacets.push(React.createElement(\n\t\t\t\t\t"div",\n\t\t\t\t\t{ className: selected ? "search-facet-selected col-lg" : "col-lg" },\n\t\t\t\t\t_this2.props.facetCounts && _this2.props.facetCounts[x] ? React.createElement(\n\t\t\t\t\t\t"span",\n\t\t\t\t\t\t{ onClick: function onClick() {\n\t\t\t\t\t\t\t\treturn _this2.props.facet(key);\n\t\t\t\t\t\t\t}, className: "search-facet col-lg" },\n\t\t\t\t\t\t_this2.props.facetMap[x],\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\t{ className: "search-facet-count" },\n\t\t\t\t\t\t\t_this2.props.facetCounts[x]\n\t\t\t\t\t\t)\n\t\t\t\t\t) : React.createElement(\n\t\t\t\t\t\t"span",\n\t\t\t\t\t\t{ className: "search-facet col-lg" },\n\t\t\t\t\t\t_this2.props.facetMap[x],\n\t\t\t\t\t\tReact.createElement(\n\t\t\t\t\t\t\t"span",\n\t\t\t\t\t\t\t{ className: "search-facet-count" },\n\t\t\t\t\t\t\t"0"\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t));\n\t\t\t};\n\n\t\t\tfor (var x in this.props.facetMap) {\n\t\t\t\t_loop();\n\t\t\t}\n\t\t\treturn React.createElement(\n\t\t\t\t"div",\n\t\t\t\t{ className: "search-facets d-flex justify-content-around col-12 col-xl-10 offset-xl-1" },\n\t\t\t\tfacets\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn Facets;\n}(React.Component);\n\nexports["default"] = Facets;\n\n//# sourceURL=webpack://React/./react/SiteSearch/Facets.jsx?')},
2"./react/SiteSearch/HelpTextWidget.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n  value: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ "react");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar HelpTextWidget = function (_Component) {\n  _inherits(HelpTextWidget, _Component);\n\n  function HelpTextWidget(props) {\n    _classCallCheck(this, HelpTextWidget);\n\n    return _possibleConstructorReturn(this, (HelpTextWidget.__proto__ || Object.getPrototypeOf(HelpTextWidget)).call(this, props));\n  }\n\n  _createClass(HelpTextWidget, [{\n    key: "render",\n    value: function render() {\n      return _react2.default.createElement(\n        _react2.default.Fragment,\n        null,\n        this.props.isVisible && _react2.default.createElement(\n          "div",\n          { "class": "help-card cards card-with-link col-12 col-xl-10 offset-xl-1" },\n          _react2.default.createElement(\n            "article",\n            { "class": "d-flex align-items-stretch cta-card " },\n            _react2.default.createElement(\n              "div",\n              { "class": "cta-card-content-outer" },\n              _react2.default.createElement(\n                "div",\n                { "class": "cta-card-content" },\n                _react2.default.createElement(\n                  "heading",\n                  null,\n                  _react2.default.createElement(\n                    "h5",\n                    { "class": "card-title" },\n                    this.props.labels[\'Help Widget Title\']\n                  )\n                ),\n                _react2.default.createElement("div", { dangerouslySetInnerHTML: { __html: this.props.labels[\'Help Widget Content\'] } })\n              )\n            )\n          )\n        )\n      );\n    }\n  }]);\n\n  return HelpTextWidget;\n}(_react.Component);\n\nexports["default"] = HelpTextWidget;\n\n//# sourceURL=webpack://React/./react/SiteSearch/HelpTextWidget.jsx?')},
2"./react/SiteSearch/Pagination.jsx":(__unused_webpack_module,exports)=>{eval('\n\nObject.defineProperty(exports, "__esModule", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Pagination = function (_React$Component) {\n\t_inherits(Pagination, _React$Component);\n\n\tfunction Pagination(props) {\n\t\t_classCallCheck(this, Pagination);\n\n\t\treturn _possibleConstructorReturn(this, (Pagination.__proto__ || Object.getPrototypeOf(Pagination)).call(this, props));\n\t}\n\n\t_createClass(Pagination, [{\n\t\tkey: "render",\n\t\tvalue: function render() {\n\t\t\tvar _this2 = this;\n\n\t\t\tvar pages = [];\n\n\t\t\tvar _props = this.props,\n\t\t\t    totalResults = _props.total,\n\t\t\t    resultsPerPage = _props.take,\n\t\t\t    currentPage = _props.skip;\n\n\t\t\tvar totalPages = Math.ceil(totalResults / resultsPerPage);\n\n\t\t\tvar _loop = function _loop(p, _ellip) {\n\t\t\t\tif (p < 1 || p > totalPages - 2 || p >= currentPage - 1 && p <= currentPage + 1) {\n\t\t\t\t\t_ellip = false;\n\t\t\t\t\tpages.push(React.createElement(\n\t\t\t\t\t\t"span",\n\t\t\t\t\t\t{ onClick: function onClick() {\n\t\t\t\t\t\t\t\treturn _this2.props.paginate(p);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tclassName: "search-pagination-page " + (p == currentPage ? "search-pagination-page-selected" : "") },\n\t\t\t\t\t\tp + 1\n\t\t\t\t\t));\n\t\t\t\t} else if (!_ellip) {\n\t\t\t\t\t_ellip = true;\n\t\t\t\t\tpages.push(React.createElement(\n\t\t\t\t\t\t"span",\n\t\t\t\t\t\t{ className: "search-pagination-hellip" },\n\t\t\t\t\t\t"\\u2026"\n\t\t\t\t\t));\n\t\t\t\t}\n\t\t\t\tellip = _ellip;\n\t\t\t};\n\n\t\t\tfor (var p = 0, ellip = false; p < totalPages; p++) {\n\t\t\t\t_loop(p, ellip);\n\t\t\t}\n\t\t\tif (pages.length === 1) {\n\t\t\t\tpages = [];\n\t\t\t}\n\t\t\treturn React.createElement(\n\t\t\t\t"div",\n\t\t\t\t{ className: "search-pagination" },\n\t\t\t\tthis.props.skip > 0 ? React.createElement(\n\t\t\t\t\t"span",\n\t\t\t\t\t{ onClick: function onClick() {\n\t\t\t\t\t\t\treturn _this2.props.paginate(_this2.props.skip - 1);\n\t\t\t\t\t\t}, className: "search-pagination-backward" },\n\t\t\t\t\tReact.createElement("i", null)\n\t\t\t\t) : "",\n\t\t\t\tpages,\n\t\t\t\t(this.props.skip + 1) * this.props.take < this.props.total ? React.createElement(\n\t\t\t\t\t"span",\n\t\t\t\t\t{ onClick: function onClick() {\n\t\t\t\t\t\t\treturn _this2.props.paginate(_this2.props.skip + 1);\n\t\t\t\t\t\t}, className: "search-pagination-forward" },\n\t\t\t\t\tReact.createElement("i", null)\n\t\t\t\t) : ""\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn Pagination;\n}(React.Component);\n\nexports["default"] = Pagination;\n\n//# sourceURL=webpack://React/./react/SiteSearch/Pagination.jsx?')},
2"./react/SiteSearch/SearchResults.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ \"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SearchResults = function (_Component) {\n\t_inherits(SearchResults, _Component);\n\n\tfunction SearchResults(props) {\n\t\t_classCallCheck(this, SearchResults);\n\n\t\treturn _possibleConstructorReturn(this, (SearchResults.__proto__ || Object.getPrototypeOf(SearchResults)).call(this, props));\n\t}\n\n\t_createClass(SearchResults, [{\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\tvar results = [];\n\t\t\tfor (var i = 0; i < this.props.results.length; i++) {\n\t\t\t\tvar result = this.props.results[i];\n\t\t\t\tvar imageStyle = result.ImageUrl && result.ImageUrl.length ? {} : { visibility: 'hidden' };\n\t\t\t\tresults.push(_react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'search-result-item row' },\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'col-md-3' },\n\t\t\t\t\t\t_react2.default.createElement('img', { width: '100%', src: result.ImageUrl, style: imageStyle })\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'col-md-9 search-result-container' },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'search-result-title' },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t\t{ href: result.PageUrl },\n\t\t\t\t\t\t\t\tresult.Title\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\tresult.Author && _react2.default.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'search-result-author' },\n\t\t\t\t\t\t\t'by ',\n\t\t\t\t\t\t\tresult.Author\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'search-result-description' },\n\t\t\t\t\t\t\t_react2.default.createElement('span', { dangerouslySetInnerHTML: { __html: result.Highlighting } })\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t));\n\t\t\t}\n\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'search-results col-12 col-xl-10 offset-xl-1' },\n\t\t\t\tthis.props.total === \"1\" ? _react2.default.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'search-results-label' },\n\t\t\t\t\tthis.props.labels[\"Showing Only Result\"]\n\t\t\t\t) : this.props.total < this.props.take ? _react2.default.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'search-results-label' },\n\t\t\t\t\tthis.props.labels[\"All Results\"]\n\t\t\t\t) : this.props.total > this.props.take ? _react2.default.createElement(\n\t\t\t\t\t'span',\n\t\t\t\t\t{ className: 'search-results-label' },\n\t\t\t\t\tthis.props.labels[\"Showing Results\"]\n\t\t\t\t) : \"\",\n\t\t\t\tresults\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn SearchResults;\n}(_react.Component);\n\nexports[\"default\"] = SearchResults;\n\n//# sourceURL=webpack://React/./react/SiteSearch/SearchResults.jsx?")},
2"./react/SiteSearch/SiteSearch.jsx":(__unused_webpack_module,exports,__webpack_require__)=>{eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n\tvalue: true\n}));\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ \"react\");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _SearchResults = __webpack_require__(/*! ./SearchResults.jsx */ \"./react/SiteSearch/SearchResults.jsx\");\n\nvar _SearchResults2 = _interopRequireDefault(_SearchResults);\n\nvar _Pagination = __webpack_require__(/*! ./Pagination.jsx */ \"./react/SiteSearch/Pagination.jsx\");\n\nvar _Pagination2 = _interopRequireDefault(_Pagination);\n\nvar _Facets = __webpack_require__(/*! ./Facets.jsx */ \"./react/SiteSearch/Facets.jsx\");\n\nvar _Facets2 = _interopRequireDefault(_Facets);\n\nvar _HelpTextWidget = __webpack_require__(/*! ./HelpTextWidget */ \"./react/SiteSearch/HelpTextWidget.jsx\");\n\nvar _HelpTextWidget2 = _interopRequireDefault(_HelpTextWidget);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SiteSearch = function (_Component) {\n\t_inherits(SiteSearch, _Component);\n\n\tfunction SiteSearch(props) {\n\t\t_classCallCheck(this, SiteSearch);\n\n\t\tvar _this = _possibleConstructorReturn(this, (SiteSearch.__proto__ || Object.getPrototypeOf(SiteSearch)).call(this, props));\n\n\t\t_this.useClearSearch = function () {\n\t\t\twindow.location.hash = \"\";\n\t\t\tlocation.reload();\n\t\t};\n\n\t\t_this.handleQueryChange = _this.handleQueryChange.bind(_this);\n\t\t_this.handleSubmit = _this.handleSubmit.bind(_this);\n\t\t_this.handleSkipChange = _this.handleSkipChange.bind(_this);\n\t\t_this.handleFacetChange = _this.handleFacetChange.bind(_this);\n\t\t_this.handleFocusBlur = _this.handleFocusBlur.bind(_this);\n\n\t\t_this.topOfPage = (0, _react.createRef)();\n\n\t\t_this.state = {\n\t\t\tisLoading: false,\n\t\t\tshowNoResults: false,\n\t\t\tquery: \"\",\n\t\t\tnewQuery: \"\",\n\t\t\ttake: parseInt(_this.props.data.datasourceItem.fields[\"Per Page\"]),\n\t\t\tskip: 0,\n\t\t\ttotal: 0,\n\t\t\tfacet: \"\",\n\t\t\tresults: [],\n\t\t\tunfacetedTotal: 0,\n\t\t\tlabels: _this.generateLabels({ __searchedTerm__: \"\", __totalResults__: 0, __showingNumber__: 0 }),\n\t\t\tplaceholderText: '',\n\t\t\tshowHelpWidget: false\n\t\t};\n\t\treturn _this;\n\t}\n\n\t_createClass(SiteSearch, [{\n\t\tkey: 'componentDidMount',\n\t\tvalue: function componentDidMount() {\n\t\t\t//runs client side only.\n\t\t\tvar $this = this;\n\t\t\tif (typeof window !== 'undefined') {\n\t\t\t\tvar currQuery = window.location.hash;\n\t\t\t\tvar sign = window.location.hash.indexOf(\"q=\") + 2;\n\t\t\t\tvar endHash = currQuery.substring(sign);\n\t\t\t\tvar term = \"\";\n\t\t\t\tif (endHash.indexOf(\"&\") != -1) {\n\t\t\t\t\tterm = endHash.substring(0, endHash.indexOf(\"&\"));\n\t\t\t\t} else {\n\t\t\t\t\tterm = currQuery.substring(sign);\n\t\t\t\t}\n\t\t\t\tif (term == null || term.length == 0) {\n\t\t\t\t\tterm = \"\";\n\t\t\t\t}\n\n\t\t\t\tthis.setState({\n\t\t\t\t\tquery: term,\n\t\t\t\t\tnewQuery: term,\n\t\t\t\t\tlabels: this.generateLabels({ __searchedTerm__: term, __totalResults__: 0, __showingNumber__: 0 }),\n\t\t\t\t\tplaceholderText: this.state.labels['Placeholder Text']\n\t\t\t\t}, function () {\n\t\t\t\t\t//Only performing search on load of page instead of leveraging SSR\n\t\t\t\t\tthis.performSearch(this.state.newQuery, this.state.skip, this.state.take, this.state.facet);\n\t\t\t\t});\n\n\t\t\t\twindow.addEventListener('hashchange', function () {\n\t\t\t\t\tcurrQuery = window.location.hash;\n\t\t\t\t\tsign = window.location.hash.indexOf(\"q=\") + 2;\n\t\t\t\t\tendHash = currQuery.substring(sign);\n\t\t\t\t\tif (endHash.indexOf(\"&\") != -1) {\n\t\t\t\t\t\tterm = endHash.substring(0, endHash.indexOf(\"&\"));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tterm = currQuery.substring(sign);\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof window !== 'undefined') {\n\t\t\t\t\t\tif (term == null || term.length == 0) {\n\t\t\t\t\t\t\tterm = \"\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t$this.setState({\n\t\t\t\t\t\t\tquery: term,\n\t\t\t\t\t\t\tnewQuery: term,\n\t\t\t\t\t\t\tlabels: $this.generateLabels({ __searchedTerm__: term, __totalResults__: 0, __showingNumber__: 0 })\n\t\t\t\t\t\t}, function () {\n\t\t\t\t\t\t\tthis.performSearch(this.state.newQuery, this.state.skip, this.state.take, this.state.facet);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'performSearch',\n\t\tvalue: function performSearch(newQuery, skip, take, facet) {\n\t\t\tthis.setState({\n\t\t\t\tisLoading: true,\n\t\t\t\tskip: skip,\n\t\t\t\tfacet: facet,\n\t\t\t\tquery: newQuery,\n\t\t\t\tshowNoResults: false,\n\t\t\t\tlabels: this.generateLabels({ __searchedTerm__: newQuery, __totalResults__: 0, __showingNumber__: 0 }),\n\t\t\t\tshowHelpWidget: newQuery.toLowerCase().indexOf('help') >= 0\n\t\t\t}, function () {\n\t\t\t\tvar _this2 = this;\n\n\t\t\t\thistory.pushState(null, null, '#q=' + encodeURIComponent(newQuery));\n\n\t\t\t\tjQuery.get(\"/api/SiteSearch/SiteSearch?search=\" + newQuery + \"&skip=\" + skip + \"&take=\" + take + \"&facet=\" + facet, null, function (response) {\n\n\t\t\t\t\tvar newState = {\n\t\t\t\t\t\tisLoading: false,\n\t\t\t\t\t\tquery: newQuery,\n\t\t\t\t\t\ttotal: response.total,\n\t\t\t\t\t\tshowNoResults: response.total == 0,\n\t\t\t\t\t\tresults: response.documents,\n\t\t\t\t\t\tfacetCounts: response.facets,\n\t\t\t\t\t\tlabels: _this2.generateLabels({ __searchedTerm__: newQuery, __totalResults__: response.total, __showingNumber__: _this2.generateRange(skip, _this2.state.take, response.total) })\n\n\t\t\t\t\t};\n\t\t\t\t\tif (!facet) {\n\t\t\t\t\t\tnewState.unfacetedTotal = response.total;\n\t\t\t\t\t}\n\t\t\t\t\t_this2.setState(newState);\n\t\t\t\t}.bind(this));\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'handleSubmit',\n\t\tvalue: function handleSubmit(event) {\n\t\t\tevent.preventDefault();\n\t\t\tdocument.getElementsByClassName(\"search-box-input tt-input\")[0].placeholder = \"\";\n\t\t\tdocument.getElementsByClassName(\"search-box-input tt-input\")[0].value = this.state.newQuery;\n\t\t\tthis.performSearch(this.state.newQuery, 0, this.state.take, \"\");\n\t\t}\n\t}, {\n\t\tkey: 'handleQueryChange',\n\t\tvalue: function handleQueryChange(event) {\n\t\t\tthis.setState({ newQuery: event.target.value });\n\t\t}\n\t}, {\n\t\tkey: 'handleSkipChange',\n\t\tvalue: function handleSkipChange(value) {\n\t\t\tthis.topOfPage.current.scrollIntoView();\n\t\t\tthis.performSearch(this.state.newQuery, value, this.state.take, this.state.facet);\n\t\t}\n\t}, {\n\t\tkey: 'handleFacetChange',\n\t\tvalue: function handleFacetChange(key
2) {\n\t\t\tthis.performSearch(this.state.newQuery, 0, this.state.take, key);\n\t\t}\n\t}, {\n\t\tkey: 'generateRange',\n\t\tvalue: function generateRange(skip, take, total) {\n\t\t\tvar upper = parseInt(skip * take + take);\n\t\t\tvar lower = skip * take + 1;\n\t\t\tif (upper <= total) return lower + \" - \" + upper;\n\t\t\tif (upper > total) return lower + \" - \" + total;\n\t\t}\n\t}, {\n\t\tkey: 'generateLabels',\n\t\tvalue: function generateLabels(labelMap) {\n\t\t\tvar ret = {};\n\t\t\tfor (var key in this.props.data.datasourceItem.fields) {\n\t\t\t\tret[key] = this.replaceTokens(this.props.data.datasourceItem.fields[key], labelMap);\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t}, {\n\t\tkey: 'replaceTokens',\n\t\tvalue: function replaceTokens(text, labelMap) {\n\t\t\tvar re = new RegExp(Object.keys(labelMap).join(\"|\"), \"gi\");\n\t\t\tvar map = labelMap;\n\t\t\ttext = text.replace(re, function (matched) {\n\t\t\t\treturn map[matched];\n\t\t\t});\n\t\t\treturn text;\n\t\t}\n\t}, {\n\t\tkey: 'handleFocusBlur',\n\t\tvalue: function handleFocusBlur(event) {\n\t\t\tthis.setState({ placeholderText: event.type === 'focus' ? '' : this.state.labels['Placeholder Text'] });\n\t\t}\n\t}, {\n\t\tkey: 'render',\n\t\tvalue: function render() {\n\t\t\tvar noResultStyles = {};\n\t\t\tif (this.state.query === '') {\n\t\t\t\tnoResultStyles['visibility'] = 'hidden';\n\t\t\t}\n\t\t\treturn _react2.default.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'search-context-container' },\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'search-header' },\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'form',\n\t\t\t\t\t\t{ className: 'col-12 col-xl-10 offset-xl-1 search-form', onSubmit: this.handleSubmit },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'search-header-text col-lg-5' },\n\t\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t\t'span',\n\t\t\t\t\t\t\t\t{ style: noResultStyles },\n\t\t\t\t\t\t\t\tthis.state.labels[\"Search Results For\"]\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t'div',\n\t\t\t\t\t\t\t{ className: 'search-header-textbox col-lg-7' },\n\t\t\t\t\t\t\t_react2.default.createElement('input', { type: 'text',\n\t\t\t\t\t\t\t\tvalue: this.state.newQuery,\n\t\t\t\t\t\t\t\tonChange: this.handleQueryChange,\n\t\t\t\t\t\t\t\tplaceholder: this.state.placeholderText,\n\t\t\t\t\t\t\t\tonFocus: this.handleFocusBlur,\n\t\t\t\t\t\t\t\tonBlur: this.handleFocusBlur\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t_react2.default.createElement('input', { 'class': 'btn-dark', type: 'submit', value: this.state.labels[\"Button Label\"] })\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ className: 'site-search-clear' },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t'a',\n\t\t\t\t\t\t\t{ onClick: this.useClearSearch, 'class': 'clear-search', style: noResultStyles },\n\t\t\t\t\t\t\tthis.props.data.clearSearchText\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ 'class': 'search-facet-wrapper', ref: this.topOfPage },\n\t\t\t\t\t\t_react2.default.createElement(_Facets2.default, {\n\t\t\t\t\t\t\tfacetMap: this.props.data.facets,\n\t\t\t\t\t\t\tfacetCounts: this.state.facetCounts,\n\t\t\t\t\t\t\tfacet: this.handleFacetChange,\n\t\t\t\t\t\t\tcurrentFacet: this.state.facet,\n\t\t\t\t\t\t\tlabels: this.state.labels,\n\t\t\t\t\t\t\ttotal: this.state.total,\n\t\t\t\t\t\t\tunfacetedTotal: this.state.unfacetedTotal })\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ 'class': 'col-12 col-xl-10 offset-xl-1 search-no-results', style: { display: this.state.showNoResults ? 'block' : 'none' } },\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ 'class': 'search-no-results-header' },\n\t\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t\t'h2',\n\t\t\t\t\t\t\t{ 'class': 'heading' },\n\t\t\t\t\t\t\tthis.state.labels[\"No Results Heading\"]\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\t_react2.default.createElement(\n\t\t\t\t\t\t'div',\n\t\t\t\t\t\t{ 'class': 'de
2scription' },\n\t\t\t\t\t\tthis.state.labels[\"No Results Description\"]\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\t_react2.default.createElement(_HelpTextWidget2.default, {\n\t\t\t\t\tisVisible: this.state.showHelpWidget,\n\t\t\t\t\tlabels: this.state.labels }),\n\t\t\t\tthis.state.total > 0 ? _react2.default.createElement(_SearchResults2.default, {\n\t\t\t\t\tresults: this.state.results,\n\t\t\t\t\tskip: this.state.skip,\n\t\t\t\t\ttake: this.state.take,\n\t\t\t\t\ttotal: this.state.total,\n\t\t\t\t\tlabels: this.state.labels }) : \"\",\n\t\t\t\t_react2.default.createElement(_Pagination2.default, {\n\t\t\t\t\tskip: this.state.skip,\n\t\t\t\t\ttake: this.state.take,\n\t\t\t\t\ttotal: this.state.total,\n\t\t\t\t\tpaginate: this.handleSkipChange })\n\t\t\t);\n\t\t}\n\t}]);\n\n\treturn SiteSearch;\n}(_react.Component);\n\nexports[\"default\"] = SiteSearch;\n\n//# sourceURL=webpack://React/./react/SiteSearch/SiteSearch.jsx?")},
2"./react/components.js":(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{eval('\n\nvar _react = __webpack_require__(/*! react */ "react");\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _index = __webpack_require__(/*! ./index.js */ "./react/index.js");\n\nvar _index2 = _interopRequireDefault(_index);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n__webpack_require__.g.React = _react2.default;\n__webpack_require__.g.Components = { RootComponent: _index2.default };\n\n//# sourceURL=webpack://React/./react/components.js?')},
2"./react/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{eval('\n\nmodule.exports = {\n    ScPlaceholder: (__webpack_require__(/*! ./React/ScPlaceholder.jsx */ "./react/React/ScPlaceholder.jsx")["default"]),\n    SxaDictionary: (__webpack_require__(/*! ./React/SxaDictionary.jsx */ "./react/React/SxaDictionary.jsx")["default"]),\n    SiteSearch: (__webpack_require__(/*! ./SiteSearch/SiteSearch.jsx */ "./react/SiteSearch/SiteSearch.jsx")["default"]),\n    LocationSearch: (__webpack_require__(/*! ./LocationSearch/LocationSearch.jsx */ "./react/LocationSearch/LocationSearch.jsx")["default"]),\n    OurCenters: (__webpack_require__(/*! ./LocationSearch/OurCenters.jsx */ "./react/LocationSearch/OurCenters.jsx")["default"]),\n    LocationDetail: (__webpack_require__(/*! ./LocationSearch/LocationDetail.jsx */ "./react/LocationSearch/LocationDetail.jsx")["default"]),\n    NearbyLocations: (__webpack_require__(/*! ./LocationSearch/NearbyLocations.jsx */ "./react/LocationSearch/NearbyLocations.jsx")["default"]),\n    ContactUs: (__webpack_require__(/*! ./Forms/ContactUs.jsx */ "./react/Forms/ContactUs.jsx")["default"])\n};\n\n//# sourceURL=webpack://React/./react/index.js?')}
vendor: 530 bytes, line 2
2,react:t=>{t.exports=React}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](n,n.exports,__webpack_require__),n.exports}__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}();var __webpack_exports__=__webpack_require__("./react/components.js")})();

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.