{"version":3,"sources":["webpack:///39.3477b3ff.bundle.js","webpack:///./src/js/components/about/AboutOverviewNav.js"],"names":["webpackJsonp","232","module","exports","__webpack_require__","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","call","ReferenceError","_inherits","subClass","superClass","prototype","Object","create","constructor","value","enumerable","writable","configurable","setPrototypeOf","__proto__","defineProperty","_createClass","defineProperties","target","props","i","length","descriptor","key","protoProps","staticProps","_component2","obj","__esModule","default","_component","AboutOverviewNav","el","config","isMobile","navigator","platform","toLowerCase","match","dom","$select","selectric","disableOnMobile","nativeOnMobile","addLabelsToSelectric","_Component","this","$el","$option","find","on","onSelectChange","selectedOption","val","prop","window","location","href","Component"],"mappings":"AAAAA,cAAc,KAERC,IACA,SAAUC,EAAQC,EAASC,GAEjC,YAmBA,SAASC,GAAgBC,EAAUC,GAAe,KAAMD,YAAoBC,IAAgB,KAAM,IAAIC,WAAU,qCAEhH,QAASC,GAA2BC,EAAMC,GAAQ,IAAKD,EAAQ,KAAM,IAAIE,gBAAe,4DAAgE,QAAOD,GAAyB,gBAATA,IAAqC,kBAATA,GAA8BD,EAAPC,EAElO,QAASE,GAAUC,EAAUC,GAAc,GAA0B,kBAAfA,IAA4C,OAAfA,EAAuB,KAAM,IAAIP,WAAU,iEAAoEO,GAAeD,GAASE,UAAYC,OAAOC,OAAOH,GAAcA,EAAWC,WAAaG,aAAeC,MAAON,EAAUO,YAAY,EAAOC,UAAU,EAAMC,cAAc,KAAeR,IAAYE,OAAOO,eAAiBP,OAAOO,eAAeV,EAAUC,GAAcD,EAASW,UAAYV,GApBjeE,OAAOS,eAAevB,EAAS,cAC7BiB,OAAO,GAGT,IAAIO,GAAe,WAAc,QAASC,GAAiBC,EAAQC,GAAS,IAAK,GAAIC,GAAI,EAAGA,EAAID,EAAME,OAAQD,IAAK,CAAE,GAAIE,GAAaH,EAAMC,EAAIE,GAAWZ,WAAaY,EAAWZ,aAAc,EAAOY,EAAWV,cAAe,EAAU,SAAWU,KAAYA,EAAWX,UAAW,GAAML,OAAOS,eAAeG,EAAQI,EAAWC,IAAKD,IAAiB,MAAO,UAAU1B,EAAa4B,EAAYC,GAAiJ,MAA9HD,IAAYP,EAAiBrB,EAAYS,UAAWmB,GAAiBC,GAAaR,EAAiBrB,EAAa6B,GAAqB7B,MCZhiB,QDgBI8B,EAMJ,SAAgCC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,IAN9CG,ECfzC,OACA,cAEMC,E,YACJ,WAAYC,EAAIC,GAAO,yEACfD,EAAIC,IAEJC,EAAwF,OAA7EC,UAAUC,SAASC,cAAcC,MAAM,iCAHnC,OAKrB,GAAKC,IAAIC,QAAQC,WACfC,iBAAiB,EACjBC,eAAgBT,KAGlB,IAAAU,wBAVqB,EDkEvB,MAxCA1C,GAAU6B,EAAkBc,GAkB5B7B,EAAae,IACXR,IAAK,gBACLd,MAAO,WChCPqC,KAAKP,KACHC,QAASM,KAAKC,IACdC,QAASF,KAAKC,IAAIE,KAAK,cDqCzB1B,IAAK,eACLd,MAAO,WCjCPqC,KAAKP,IAAIC,QAAQU,GAAG,SAAYJ,KAAKK,eAArC,KAAgCL,UDqChCvB,IAAK,iBACLd,MAAO,WClCP,GAAM2C,GAAiBN,KAAKP,IAAIC,QAAQa,KACxCP,MAAKP,IAAIC,QAAQc,KAAK,gBAAiB,GAAGb,UAAU,WACpDc,OAAOC,SAASC,KAAOL,MDuClBrB,GCnEsB2B,UDsE/BlE,GAAQqC,QCtCOE","file":"39.3477b3ff.bundle.js","sourcesContent":["webpackJsonp([39],{\n\n/***/ 232:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\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 _component = __webpack_require__(33);\n\nvar _component2 = _interopRequireDefault(_component);\n\n__webpack_require__(210);\n\nvar _helpers = __webpack_require__(139);\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 AboutOverviewNav = function (_Component) {\n _inherits(AboutOverviewNav, _Component);\n\n function AboutOverviewNav(el, config) {\n _classCallCheck(this, AboutOverviewNav);\n\n var _this = _possibleConstructorReturn(this, (AboutOverviewNav.__proto__ || Object.getPrototypeOf(AboutOverviewNav)).call(this, el, config));\n\n var isMobile = navigator.platform.toLowerCase().match(/(iphone|ipod|ipad|android|arm)/) !== null ? true : false;\n\n _this.dom.$select.selectric({\n disableOnMobile: false,\n nativeOnMobile: isMobile\n });\n\n (0, _helpers.addLabelsToSelectric)();\n return _this;\n }\n\n _createClass(AboutOverviewNav, [{\n key: 'setupDefaults',\n value: function setupDefaults() {\n this.dom = {\n $select: this.$el,\n $option: this.$el.find('option')\n };\n }\n }, {\n key: 'addListeners',\n value: function addListeners() {\n this.dom.$select.on('change', this.onSelectChange.bind(this));\n }\n }, {\n key: 'onSelectChange',\n value: function onSelectChange() {\n var selectedOption = this.dom.$select.val();\n this.dom.$select.prop('selectedIndex', 0).selectric('refresh');\n window.location.href = selectedOption;\n }\n }]);\n\n return AboutOverviewNav;\n}(_component2.default);\n\nexports.default = AboutOverviewNav;\n\n/***/ })\n\n});\n\n\n// WEBPACK FOOTER //\n// 39.3477b3ff.bundle.js","import Component from 'component';\nimport 'selectric';\nimport { addLabelsToSelectric } from '../../helpers';\n\nclass AboutOverviewNav extends Component{\n constructor(el, config){\n super(el, config);\n\n const isMobile = navigator.platform.toLowerCase().match(/(iphone|ipod|ipad|android|arm)/) !== null ? true : false;\n\n this.dom.$select.selectric({\n disableOnMobile: false,\n nativeOnMobile: isMobile\n });\n\n addLabelsToSelectric();\n }\n\n setupDefaults(){\n this.dom = {\n $select: this.$el,\n $option: this.$el.find('option')\n };\n }\n\n addListeners(){\n this.dom.$select.on('change', ::this.onSelectChange);\n }\n\n onSelectChange(){\n const selectedOption = this.dom.$select.val();\n this.dom.$select.prop('selectedIndex', 0).selectric('refresh');\n window.location.href = selectedOption;\n }\n}\n\nexport default AboutOverviewNav;\n\n\n\n// WEBPACK FOOTER //\n// ./src/js/components/about/AboutOverviewNav.js"],"sourceRoot":""}