{"version":3,"sources":["webpack:///rsvp.min.js","webpack:///./wwwroot/js/app/rsvp.js","webpack:///./wwwroot/js/app/common.js?641b********","webpack:///./wwwroot/js/app/module.js?28fa********","webpack:///./~/events/events.js?7c71********","webpack:///./~/modaal/dist/js/modaal.min.js?a5f0********","webpack:///./~/jquery-mask-plugin/dist/jquery.mask.js?713d********"],"names":["__nha_webpackJsonp","module","exports","__webpack_require__","$","_interopRequireDefault","obj","__esModule","default","_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","_get","get","object","property","receiver","Function","desc","getOwnPropertyDescriptor","undefined","parent","getPrototypeOf","getter","_common","_common2","_module","_module2","_util","_util2","Rsvp","_Module","this","apply","arguments","_this2","then","emit","_this3","on","e","onFormChanged","Util","debounce","onFormBlurred","valid","each","el","field","group","closest","removeClass","hasClass","removeAttr","addClass","Module","rsvp","common","init","_jqueryMaskPlugin","SCHOOL_PATTERN","Common","options","_this","window","dynamicModal","$transparencyExpanded","mobilePagination","modalIframe","modalInline","modalAuthor","setBodyPadding","mask","stopPropagation","currentTarget","focus","document","body","trigger","closingNav","initAriaExpanded","navObserver","ResizeObserver","mutations","targetElements","height","prev","attr","observe","mobileNav","mobileNavItem","tabbingNav","event","toggleClass","css","fadeOut","is","fadeIn","find","onResize","path","location","pathname","isSchoolSite","matches","exec","index","trim","substring","indexOf","checkWidth","ViewPort","Desktop","menuItems","slideToggle","headerHeight","outerHeight","children","keyCode","preventDefault","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","Symbol","iterator","next","done","child","err","return","$activeElem","activeElement","$prevItem","shiftKey","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","_iterator2","_iteratorNormalCompletion3","_didIteratorError3","_iteratorError3","_step3","_iterator3","menuItem","blur","_iteratorNormalCompletion4","_didIteratorError4","_iteratorError4","_step4","_iterator4","modaal","type","width","background_scroll","before_open","after_open","after_close","custom_class","bind","IFrame","iFrameResize","heightCalculationMethod","iFrameResizer","close","test","_events","_events2","_EventEmitter","_options","assign","initialized","main","Promise","resolve","_bindEvents","bindEvents","EventEmitter","_maxListeners","isFunction","arg","isNumber","isObject","isUndefined","defaultMaxListeners","setMaxListeners","n","isNaN","er","handler","len","args","listeners","error","Error","context","Array","slice","addListener","listener","m","newListener","push","warned","console","trace","once","g","removeListener","fired","list","position","splice","removeAllListeners","ret","listenerCount","evlistener","emitter","jQuery","a","t","o","dom","$elem","extend","fn","data","xhr","scope","is_open","id","Date","getTime","Math","random","toString","private_options","active_class","lastFocus","is_locked","hide_close","close_btn","close_aria_label","close_text","animation","animation_speed","after_callback_delay","should_open","create_basic","source","fetch_ajax","create_confirm","create_image","create_iframe","create_video","create_instagram","watch_events","start_open","click","off","contains","getElementById","modaal_close","gallery_update","overlay_close","confirm_callback","confirm_cancel_callback","build_modal","l","fullscreen","s","accessible_title","append","appendTo","modaal_overlay","contents","clone","empty","instagram_id","loading_class","loading_content","ajax","url","dataType","cache","success","html","instgrm","Embeds","process","ajax_error_class","abort","ajax_success","statusText","confirm_title","confirm_content","confirm_button_text","confirm_cancel_button_text","d","r","getAttribute","href","src","alt","rawdesc","active","c","p","_","v","f","hide","before_image_change","stop","animate","opacity","display","prop","gallery_active_class","after_image_change","modaal_open","setTimeout","before_close","remove","background","overlay_opacity","parseInt","__WEBPACK_AMD_DEFINE_FACTORY__","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","__webpack_provided_window_dot_jQuery","factory","Zepto","Mask","invalid","getCaret","sel","pos","ctrl","dSel","selection","cSelStart","selectionStart","navigator","appVersion","createRange","moveStart","val","text","setCaret","range","setSelectionRange","createTextRange","collapse","moveEnd","select","events","which","maskDigitPosMapOld","maskDigitPosMap","jMaskGlobals","useInput","behaviour","keydown","keyup","oldValue","selectOnFocus","clearIfNotMatch","regexMask","getRegexMask","translation","pattern","optional","recursive","oRecursive","maskChunks","jMask","charAt","replace","digit","join","RegExp","destroyEvents","isInput","method","calculateCaretPosition","oldVal","newVal","getMasked","caretPosNew","caretPosOld","newValL","oldValL","maskDigitsBeforeCaret","maskDigitsAfterCaret","maskDigitsBeforeCaretAll","maskDigitsBeforeCaretAllOld","caretPos","inArray","byPassKeys","keyStrokeCompensation","callbacks","skipMaskChars","lastMaskChar","check","buf","maskLen","valLen","offset","addMethod","resetPos","maskDigitCount","maskDigitPosArr","reverse","lastUntranslatedMaskChar","maskDigit","valDigit","match","fallback","lastMaskCharDigit","mapMaskdigitPositions","maskDiff","changed","defaultArgs","callback","name","criteria","caret","placeholder","getCleanVal","getMaskedVal","onlyMask","maxlength","maskWatchers","HTMLAttributes","input","prefix","notSameMaskObject","maskObject","stringify","JSON","eventSupported","eventName","isSupported","createElement","setAttribute","selector","globals","interval","watchInterval","watchInputs","maskFunction","clearInterval","setInterval","masked","unmask","dataMask","removeData","cleanVal","applyDataMask","maskElements","$selector","filter","dataMaskAttr","userAgent","watchDataMask","0","9","#","A","S"],"mappings":"AAAAA,oBAAoB,IAEd,SAAUC,EAAQC,EAASC,IAEJ,SAASC,GAAI,YAsBzC,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GAEvF,QAASG,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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AA,WACA,GAAA4Z,GAAAne,EAAAyD,MAAAoM,KAAA,OACAsO,IACAA,EAAArI,SAAAsI,WAAA,WAKApe,EAAA4P,GAAAyO,SAAA,WACA,MAAA5a,MAAAoM,KAAA,QAAA2M,eAGAxc,EAAAse,cAAA,SAAAb,GACAA,KAAAzd,EAAAmY,aAAAoG,YACA,IAAAC,GAAAf,YAAAzd,GAAAyd,EAAAzd,EAAAyd,EACAe,GAAAC,OAAAze,EAAAmY,aAAAuG,cAAAna,KAAAsY,GAGA,IAAAa,IACAa,aAAA,oBACAG,aAAA,eACAP,UAAA,EACAP,cAAA,IACAC,aAAA,EACAlD,sBAAA,GAEAvC,UAAA,oCAAApM,KAAAvG,OAAAyR,UAAAyH,YAAAvB,EAAA,SACAwB,eAAA,EACAlE,YAAA,8BACA7B,aACAgG,GAAkB/F,QAAA,MAClBgG,GAAkBhG,QAAA,KAAAC,UAAA,GAClBgG,KAAkBjG,QAAA,KAAAE,WAAA,GAClBgG,GAAkBlG,QAAA,eAClBmG,GAAkBnG,QAAA,aAIlB9Y,GAAAmY,aAAAnY,EAAAmY,iBACAuF,EAAA1d,EAAAmY,aAAAnY,EAAA2P,QAAA,KAAgD+N,EAAA1d,EAAAmY,cAGhDuF,EAAAS,UACAne,EAAAse,gBAGAN,YAAA,WACAhe,EAAAmY,aAAAyG,eACA5e,EAAAse,iBAEKZ,EAAAE,gBACJvH,EAAA5Q,OAAA8Q,SN6iC6B5V,KAAKb,EAASC,EAAoB","file":"rsvp.min.js","sourcesContent":["__nha_webpackJsonp([9],[\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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\t\n\tvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\t\n\tvar _common = __webpack_require__(1);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _module = __webpack_require__(3);\n\t\n\tvar _module2 = _interopRequireDefault(_module);\n\t\n\tvar _util = __webpack_require__(5);\n\t\n\tvar _util2 = _interopRequireDefault(_util);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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\t\n\tvar Rsvp = function (_Module) {\n\t _inherits(Rsvp, _Module);\n\t\n\t function Rsvp() {\n\t _classCallCheck(this, Rsvp);\n\t\n\t return _possibleConstructorReturn(this, (Rsvp.__proto__ || Object.getPrototypeOf(Rsvp)).apply(this, arguments));\n\t }\n\t\n\t _createClass(Rsvp, [{\n\t key: 'init',\n\t value: function init() {\n\t var _this2 = this;\n\t\n\t return _get(Rsvp.prototype.__proto__ || Object.getPrototypeOf(Rsvp.prototype), 'init', this).call(this).then(function () {\n\t return _this2.emit('init');\n\t });\n\t }\n\t }, {\n\t key: 'bindEvents',\n\t value: function bindEvents() {\n\t var _this3 = this;\n\t\n\t $('.nha-contact-form-wrapper').on('click.validate focusin.validate focusout.validate keyup.validate', function (e) {\n\t return _this3.onFormChanged(e);\n\t });\n\t $('.nha-contact-form-wrapper').on('focusout.validate', _util2.default.debounce(function (e) {\n\t return _this3.onFormBlurred(e);\n\t }));\n\t }\n\t }, {\n\t key: 'onFormBlurred',\n\t value: function onFormBlurred(e) {\n\t $(e.target).valid(); // validate the field that was blurred\n\t this.onFormChanged(e);\n\t }\n\t }, {\n\t key: 'onFormChanged',\n\t value: function onFormChanged(e) {\n\t $('.nha-form-control').each(function (e, el) {\n\t var field = $(el);\n\t var group = field.closest('.nha-form-group');\n\t\n\t group.removeClass('nha-form-error');\n\t if (field.hasClass('input-validation-error') && !field.hasClass('valid')) {\n\t $('#rsvp-submit-btn').removeAttr('disabled');\n\t group.addClass('nha-form-error');\n\t }\n\t });\n\t }\n\t }]);\n\t\n\t return Rsvp;\n\t}(_module2.default);\n\t\n\tvar rsvp = new Rsvp();\n\t\n\t_common2.default.on('init', function () {\n\t return rsvp.init();\n\t});\n\t\n\texports.default = rsvp;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\t\n\tvar _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\t\n\tvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\t\n\tvar _module = __webpack_require__(3);\n\t\n\tvar _module2 = _interopRequireDefault(_module);\n\t\n\tvar _util = __webpack_require__(5);\n\t\n\tvar _util2 = _interopRequireDefault(_util);\n\t\n\t__webpack_require__(9);\n\t\n\tvar _jqueryMaskPlugin = __webpack_require__(10);\n\t\n\tvar _jqueryMaskPlugin2 = _interopRequireDefault(_jqueryMaskPlugin);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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; } // import $ from 'jquery';\n\t\n\t\n\tvar SCHOOL_PATTERN = /\\/schools\\/([\\w-]+)\\/*/ig;\n\t\n\t/**\r\n\t * @class Common\r\n\t * @extends {Module}\r\n\t */\n\t\n\tvar Common = function (_Module) {\n\t\t_inherits(Common, _Module);\n\t\n\t\tfunction Common(options) {\n\t\t\t_classCallCheck(this, Common);\n\t\n\t\t\tvar _this = _possibleConstructorReturn(this, (Common.__proto__ || Object.getPrototypeOf(Common)).call(this, options));\n\t\n\t\t\twindow.dynamicModal = [];\n\t\t\t_this.$transparencyExpanded = $('.nha-transparency-report-expanded');\n\t\t\treturn _this;\n\t\t}\n\t\n\t\t_createClass(Common, [{\n\t\t\tkey: 'init',\n\t\t\tvalue: function init() {\n\t\t\t\tvar _this2 = this;\n\t\n\t\t\t\t// sub-modules must emit an `init` event\n\t\t\t\treturn _get(Common.prototype.__proto__ || Object.getPrototypeOf(Common.prototype), 'init', this).call(this).then(function (e) {\n\t\t\t\t\treturn _this2.emit('init', e);\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'main',\n\t\t\tvalue: function main() {\n\t\t\t\tthis.mobilePagination();\n\t\t\t\tthis.modalIframe();\n\t\t\t\tthis.modalInline();\n\t\t\t\tthis.modalAuthor();\n\t\t\t\tthis.setBodyPadding();\n\t\t\t}\n\t\n\t\t\t/**\r\n\t * @listens window#load\r\n\t * @listens window#resize\r\n\t * @memberof Common\r\n\t */\n\t\n\t\t}, {\n\t\t\tkey: 'bindEvents',\n\t\t\tvalue: function bindEvents() {\n\t\t\t\tvar _this3 = this;\n\t\n\t\t\t\t_get(Common.prototype.__proto__ || Object.getPrototypeOf(Common.prototype), 'bindEvents', this).call(this);\n\t\n\t\t\t\t// phone mask\n\t\t\t\t$('.nha-form-control.nha-phone-mask').mask('(000) 000-0000');\n\t\n\t\t\t\t// corporate header search desktop\n\t\t\t\t$('.nha-header-search-btn').on('click', function (e) {\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t\tvar target = $(e.currentTarget);\n\t\n\t\t\t\t\ttarget.parent('li').addClass('nha-search-expanded');\n\t\t\t\t\t$('.nha-header-search-input input').focus();\n\t\t\t\t});\n\t\n\t\t\t\t$('#header-right-search').on('click', function (e) {\n\t\t\t\t\te.stopPropagation();\n\t\t\t\t});\n\t\n\t\t\t\t$(document.body).on('click', function (e) {\n\t\t\t\t\t$('.nha-search-expanded').removeClass('nha-search-expanded');\n\t\t\t\t});\n\t\n\t\t\t\t$('.nha-live-chat-tab').on('click', function (e) {\n\t\t\t\t\t$(\".lebtn div\").trigger(\"click\");\n\t\t\t\t});\n\t\n\t\t\t\t$('.nha-nav-primary > li > ul > li a').on('keydown', function (e) {\n\t\t\t\t\t_this3.closingNav(e);\n\t\t\t\t});\n\t\n\t\t\t\t//aria tags\n\t\t\t\tthis.initAriaExpanded();\n\t\n\t\t\t\tvar navObserver = new ResizeObserver(function (mutations) {\n\t\t\t\t\tvar targetElements = $('.nha-nav-primary > li > ul');\n\t\t\t\t\ttargetElements.each(function () {\n\t\t\t\t\t\tvar height = $(this).height();\n\t\t\t\t\t\tif (height > 0) {\n\t\t\t\t\t\t\t$(this).prev().attr('aria-expanded', 'true');\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t$(this).prev().attr('aria-expanded', 'false');\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t});\n\t\n\t\t\t\t//start observing\n\t\t\t\t$('.nha-nav-primary > li > ul').each(function () {\n\t\t\t\t\tnavObserver.observe(this);\n\t\t\t\t});\n\t\n\t\t\t\t// mobile nav\n\t\t\t\t$('.nha-nav-toggle').on('click', function (e) {\n\t\t\t\t\t_this3.mobileNav(e);\n\t\t\t\t});\n\t\t\t\t$('.nha-nav .nha-nav-top-item').on('click', function (e) {\n\t\t\t\t\t_this3.mobileNavItem(e);\n\t\t\t\t});\n\t\t\t\t$('.nha-nav .nha-nav-top-item').on('keydown', function (e) {\n\t\t\t\t\t_this3.tabbingNav(e);\n\t\t\t\t});\n\t\n\t\t\t\t$(document).on('keydown', function (event) {\n\t\t\t\t\tvar target = $('.nha-nav-toggle');\n\t\t\t\t\tif (event.key === \"Escape\" && target.hasClass('open')) {\n\t\t\t\t\t\ttarget.toggleClass('open');\n\t\t\t\t\t\t$('.nha-nav').toggleClass('open').css('visibility', 'visible');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\n\t\t\t\t$('.nha-transparency-report-expanded .nha-btn').on('click', function (e) {\n\t\t\t\t\t_this3.$transparencyExpanded.fadeOut();\n\t\t\t\t});\n\t\n\t\t\t\t$(document).on('keyup', function (event) {\n\t\t\t\t\tif (event.key === \"Enter\" && $('.nha-education-circle').is(\":focus\")) {\n\t\t\t\t\t\t$('.nha-transparency-report-expanded').fadeIn();\n\t\t\t\t\t\t$('.nha-transparency-report-expanded').find('a').trigger('focus');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\n\t\t\t\t$('.nha-education-circle-link').on('click', function (e) {\n\t\t\t\t\t_this3.$transparencyExpanded.fadeIn();\n\t\t\t\t\t_this3.$transparencyExpanded.find('.nha-btn').focus();\n\t\t\t\t});\n\t\n\t\t\t\t$('.nha-education-circle').on('click', function (e) {\n\t\t\t\t\t_this3.$transparencyExpanded.fadeIn();\n\t\t\t\t\t_this3.$transparencyExpanded.find('.nha-btn').focus();\n\t\t\t\t});\n\t\n\t\t\t\t$(window).on('scroll', function (e) {\n\t\t\t\t\t_this3.$transparencyExpanded.fadeOut();\n\t\t\t\t});\n\t\n\t\t\t\t$(window).on('resize', _util2.default.debounce(function (e) {\n\t\t\t\t\treturn _this3.onResize(e);\n\t\t\t\t}));\n\t\t\t}\n\t\n\t\t\t/**\r\n\t * Parses the url for the culture code\r\n\t * @memberof Common\r\n\t * @returns {string} The two-letter cultureCode\r\n\t */\n\t\n\t\t}, {\n\t\t\tkey: 'getCultureCode',\n\t\t\tvalue: function getCultureCode() {\n\t\t\t\tvar path = window.location.pathname + '/';\n\t\n\t\t\t\tif (this.isSchoolSite) {\n\t\t\t\t\tvar matches = /\\/schools\\/([\\w-]+)\\/*/ig.exec(path);\n\t\n\t\t\t\t\tif (matches != null) {\n\t\t\t\t\t\tvar index = matches[0].length;\n\t\t\t\t\t\treturn _util2.default.trim(path.substring(index, path.indexOf('/', index)), '/');\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tvar _matches = /\\/(en|es)/gi.exec(path);\n\t\t\t\t\tif (_matches != null) return _util2.default.trim(_matches[0], '/');\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'onResize',\n\t\n\t\n\t\t\t/**\r\n\t * Called when the window is resized (after being debounced)\r\n\t * \r\n\t * @param {ResizeEvent} e \r\n\t * @memberof Common\r\n\t */\n\t\t\tvalue: function onResize(e) {\n\t\t\t\tif (_util2.default.checkWidth() === _util.ViewPort.Desktop) {\n\t\t\t\t\t// reset mobile nav\n\t\t\t\t\t$('.nha-nav .nha-nav-top-item').removeClass('open');\n\t\t\t\t\t$('.nha-nav .nha-nav-primary > li ul').removeAttr('style');\n\t\t\t\t\t$('.nha-nav-toggle').removeClass('open');\n\t\t\t\t\t$('.nha-nav').removeClass('open').removeAttr('style');\n\t\t\t\t}\n\t\n\t\t\t\tthis.mobilePagination();\n\t\n\t\t\t\tthis.setBodyPadding();\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'initAriaExpanded',\n\t\t\tvalue: function initAriaExpanded() {\n\t\t\t\tvar menuItems = $('.nha-nav-top-item');\n\t\t\t\tmenuItems.each(function () {\n\t\t\t\t\t$(this).attr('aria-expanded', 'false');\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'mobileNav',\n\t\t\tvalue: function mobileNav(e) {\n\t\t\t\tvar target = $(e.currentTarget);\n\t\n\t\t\t\ttarget.toggleClass('open');\n\t\t\t\t$('.nha-nav').toggleClass('open').css('visibility', 'visible');\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'mobileNavItem',\n\t\t\tvalue: function mobileNavItem(e) {\n\t\t\t\tvar target = $(e.currentTarget);\n\t\n\t\t\t\tif (_util2.default.checkWidth() !== 'desktop') {\n\t\t\t\t\ttarget.toggleClass('open');\n\t\t\t\t\ttarget.closest('li').find('ul').slideToggle();\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'setBodyPadding',\n\t\t\tvalue: function setBodyPadding() {\n\t\t\t\tif (_util2.default.checkWidth() !== _util.ViewPort.Desktop) {\n\t\t\t\t\tvar headerHeight = $('.nha-header-schools').outerHeight();\n\t\t\t\t\t$('body').css('padding-top', headerHeight);\n\t\t\t\t} else {\n\t\t\t\t\t$('body').removeAttr('style');\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'tabbingNav',\n\t\t\tvalue: function tabbingNav(e) {\n\t\t\t\tvar target = $(e.currentTarget);\n\t\t\t\tvar children = target.parent().find('ul li a');\n\t\n\t\t\t\tif ((e.key === \"enter\" || e.keyCode === 13) && target.parent().find('ul').length > 0) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tthis.mobileNavItem(e);\n\t\t\t\t\ttarget.parent().addClass('focused');\n\t\n\t\t\t\t\tvar _iteratorNormalCompletion = true;\n\t\t\t\t\tvar _didIteratorError = false;\n\t\t\t\t\tvar _iteratorError = undefined;\n\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfor (var _iterator = children[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n\t\t\t\t\t\t\tvar child = _step.value;\n\t\n\t\t\t\t\t\t\t$(child).removeAttr('tabindex');\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t_didIteratorError = true;\n\t\t\t\t\t\t_iteratorError = err;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (!_iteratorNormalCompletion && _iterator.return) {\n\t\t\t\t\t\t\t\t_iterator.return();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tif (_didIteratorError) {\n\t\t\t\t\t\t\t\tthrow _iteratorError;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\n\t\t\t\t\tif (target.parent().hasClass('focused')) {\n\t\t\t\t\t\t//target.unbind(e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\n\t\t\t\tvar $activeElem = $(document.activeElement);\n\t\t\t\tvar $prevItem = $activeElem.parent().prev();\n\t\n\t\t\t\tif (e.shiftKey && e.keyCode === 9 || e.keyCode === 27) {\n\t\t\t\t\tvar _iteratorNormalCompletion2 = true;\n\t\t\t\t\tvar _didIteratorError2 = false;\n\t\t\t\t\tvar _iteratorError2 = undefined;\n\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfor (var _iterator2 = $activeElem.parent().prev().find('ul li a')[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n\t\t\t\t\t\t\tvar child = _step2.value;\n\t\n\t\t\t\t\t\t\t$(child).attr('tabindex', '-1');\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t_didIteratorError2 = true;\n\t\t\t\t\t\t_iteratorError2 = err;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (!_iteratorNormalCompletion2 && _iterator2.return) {\n\t\t\t\t\t\t\t\t_iterator2.return();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tif (_didIteratorError2) {\n\t\t\t\t\t\t\t\tthrow _iteratorError2;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\n\t\t\t\t\tvar _iteratorNormalCompletion3 = true;\n\t\t\t\t\tvar _didIteratorError3 = false;\n\t\t\t\t\tvar _iteratorError3 = undefined;\n\t\n\t\t\t\t\ttry {\n\t\t\t\t\t\tfor (var _iterator3 = $activeElem.parent().find('ul li a')[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) {\n\t\t\t\t\t\t\tvar child = _step3.value;\n\t\n\t\t\t\t\t\t\t$(child).attr('tabindex', '-1');\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t_didIteratorError3 = true;\n\t\t\t\t\t\t_iteratorError3 = err;\n\t\t\t\t\t} finally {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tif (!_iteratorNormalCompletion3 && _iterator3.return) {\n\t\t\t\t\t\t\t\t_iterator3.return();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tif (_didIteratorError3) {\n\t\t\t\t\t\t\t\tthrow _iteratorError3;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\n\t\t\t\t\t$('.nha-nav .nha-nav-primary > li').removeClass('focused');\n\t\t\t\t}\n\t\n\t\t\t\tif ($prevItem.hasClass('focused')) {\n\t\t\t\t\t$prevItem.removeClass('focused');\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'closingNav',\n\t\t\tvalue: function closingNav(e) {\n\t\t\t\tvar target = $(e.currentTarget);\n\t\t\t\tvar menuItem = target.parent().parent().parent();\n\t\n\t\t\t\tif (e.keyCode === 27) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\ttarget.blur();\n\t\n\t\t\t\t\tvar children = target.parent().parent().children().find('a');\n\t\n\t\t\t\t\tif (children !== undefined) {\n\t\t\t\t\t\tvar _iteratorNormalCompletion4 = true;\n\t\t\t\t\t\tvar _didIteratorError4 = false;\n\t\t\t\t\t\tvar _iteratorError4 = undefined;\n\t\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tfor (var _iterator4 = children[Symbol.iterator](), _step4; !(_iteratorNormalCompletion4 = (_step4 = _iterator4.next()).done); _iteratorNormalCompletion4 = true) {\n\t\t\t\t\t\t\t\tvar child = _step4.value;\n\t\n\t\t\t\t\t\t\t\t$(child).attr('tabindex', '-1');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t_didIteratorError4 = true;\n\t\t\t\t\t\t\t_iteratorError4 = err;\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tif (!_iteratorNormalCompletion4 && _iterator4.return) {\n\t\t\t\t\t\t\t\t\t_iterator4.return();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\t\tif (_didIteratorError4) {\n\t\t\t\t\t\t\t\t\tthrow _iteratorError4;\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\n\t\t\t\t\t$('.nha-nav .nha-nav-primary > li').removeClass('focused');\n\t\t\t\t\tmenuItem.attr('tabindex', '-1');\n\t\t\t\t\tmenuItem.find('a.nha-nav-top-item').focus();\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'mobilePagination',\n\t\t\tvalue: function mobilePagination() {\n\t\t\t\tif ($('.nha-pagination .js-li-pagination-number ').length > 3) {\n\t\t\t\t\tif ($('.js-li-pagination-number.active').prev().hasClass('nha-pagination-previous')) {\n\t\t\t\t\t\t$('.js-li-pagination-number.active').next().addClass('nha-page-show-mobile');\n\t\t\t\t\t\t$('.js-li-pagination-number.active').next().next().addClass('nha-page-show-mobile');\n\t\t\t\t\t} else if ($('.js-li-pagination-number.active').next().hasClass('nha-pagination-next')) {\n\t\t\t\t\t\t$('.js-li-pagination-number.active').prev().addClass('nha-page-show-mobile');\n\t\t\t\t\t\t$('.js-li-pagination-number.active').prev().prev().addClass('nha-page-show-mobile');\n\t\t\t\t\t} else {\n\t\t\t\t\t\t$('.js-li-pagination-number.active').prev().addClass('nha-page-show-mobile');\n\t\t\t\t\t\t$('.js-li-pagination-number.active').next().addClass('nha-page-show-mobile');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'modalInline',\n\t\t\tvalue: function modalInline() {\n\t\t\t\t$('.modal-inline').modaal({\n\t\t\t\t\ttype: 'inline',\n\t\t\t\t\twidth: 725,\n\t\t\t\t\tbackground_scroll: false,\n\t\t\t\t\tbefore_open: function before_open() {\n\t\t\t\t\t\tif (_util2.default.checkWidth() !== _util.ViewPort.Desktop) {\n\t\t\t\t\t\t\t$('body').css('position', 'fixed');\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tafter_open: function after_open() {},\n\t\t\t\t\tafter_close: function after_close() {\n\t\t\t\t\t\t$('body').removeAttr('style');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'modalAuthor',\n\t\t\tvalue: function modalAuthor() {\n\t\t\t\t$('.modal-author').modaal({\n\t\t\t\t\ttype: 'inline',\n\t\t\t\t\twidth: 725,\n\t\t\t\t\tcustom_class: 'nha-profile-modal',\n\t\t\t\t\tbackground_scroll: false,\n\t\t\t\t\tbefore_open: function before_open() {\n\t\t\t\t\t\tif (_util2.default.checkWidth() !== _util.ViewPort.Desktop) {\n\t\t\t\t\t\t\t$('body').css('position', 'fixed');\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tafter_open: function after_open() {},\n\t\t\t\t\tafter_close: function after_close() {\n\t\t\t\t\t\t$('body').removeAttr('style');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\n\t\t\t\t$(window).bind('orientationchange', function (event) {\n\t\t\t\t\tif ($('.modaal-wrapper').length) {\n\t\t\t\t\t\t$('.modal-inline').modaal('close');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'modalIframe',\n\t\t\tvalue: function modalIframe() {\n\t\t\t\tvar IFrame;\n\t\n\t\t\t\t$('.modal-iframe').modaal({\n\t\t\t\t\ttype: 'iframe',\n\t\t\t\t\twidth: 600,\n\t\t\t\t\tbackground_scroll: false,\n\t\t\t\t\tbefore_open: function before_open() {\n\t\t\t\t\t\tif (_util2.default.checkWidth() !== _util.ViewPort.Desktop) {\n\t\t\t\t\t\t\t$('body').css('position', 'fixed');\n\t\t\t\t\t\t\t$('.modaal-wrapper').addClass('modal-scrollfix');\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tafter_open: function after_open() {\n\t\t\t\t\t\tIFrame = iFrameResize({\n\t\t\t\t\t\t\theightCalculationMethod: 'lowestElement'\n\t\t\t\t\t\t}, 'iframe.modaal-iframe-elem');\n\t\n\t\t\t\t\t\t$('.modaal-wrapper').removeClass('modal-scrollfix');\n\t\t\t\t\t\t$('body').css('overflow', 'hidden').css('position', 'relative');\n\t\t\t\t\t},\n\t\t\t\t\tafter_close: function after_close() {\n\t\t\t\t\t\tIFrame[0].iFrameResizer.close();\n\t\t\t\t\t\t$('body').removeAttr('style');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\tkey: 'isSchoolSite',\n\t\t\tget: function get() {\n\t\t\t\treturn SCHOOL_PATTERN.test(window.location.pathname);\n\t\t\t}\n\t\t}]);\n\t\n\t\treturn Common;\n\t}(_module2.default);\n\t\n\t// create an instance to export for other modules to reference\n\t\n\t\n\tvar common = new Common();\n\t\n\texports.default = common;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 2 */,\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t\tvalue: true\n\t});\n\t\n\tvar _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\t\n\tvar _events = __webpack_require__(4);\n\t\n\tvar _events2 = _interopRequireDefault(_events);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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\t\n\t/**\r\n\t * Emitted when a Module resolve from Module.init(). All sub-modules are required to emit this event.\r\n\t * @event Module#init\r\n\t * \r\n\t */\n\t\n\t/**\r\n\t * A Module privodes a scope for controller logic within a page. Inspired by the Revealing Pattern\r\n\t * \r\n\t * @class Module\r\n\t * @extends {EventEmitter}\r\n\t * @property {boolean} initialized Indicates if the module has been initialized, ie. the module emitted the `init` event\r\n\t */\n\tvar Module = function (_EventEmitter) {\n\t\t_inherits(Module, _EventEmitter);\n\t\n\t\t/**\r\n\t * Creates an instance of Module.\r\n\t * @param {object} [options={}] \r\n\t * @memberof Module\r\n\t */\n\t\tfunction Module(options) {\n\t\t\t_classCallCheck(this, Module);\n\t\n\t\t\tvar _this = _possibleConstructorReturn(this, (Module.__proto__ || Object.getPrototypeOf(Module)).call(this));\n\t\n\t\t\t_this._options = Object.assign({}, options);\n\t\n\t\t\t_this.initialized = false;\n\t\t\treturn _this;\n\t\t}\n\t\n\t\t/**\r\n\t * Bind events to the module. These could be DOM events, service events, or module events, etc. Should be overriden by sub-classes.\r\n\t * \r\n\t * @override\r\n\t * @memberof Module\r\n\t * @listens Module#init\r\n\t */\n\t\n\t\n\t\t_createClass(Module, [{\n\t\t\tkey: 'bindEvents',\n\t\t\tvalue: function bindEvents() {}\n\t\t}, {\n\t\t\tkey: '_bindEvents',\n\t\t\tvalue: function _bindEvents() {\n\t\t\t\tvar _this2 = this;\n\t\n\t\t\t\tthis.on('init', function (e) {\n\t\t\t\t\t_this2.initialized = true;\n\t\t\t\t\t_this2.main();\n\t\t\t\t});\n\t\t\t}\n\t\n\t\t\t/**\r\n\t * Initializes the module. Any sub-module must override this method to emit an `init` event\r\n\t * \r\n\t * @returns {Promise.} A promise that resolves when initialization is finished\r\n\t * @memberof Module\r\n\t */\n\t\n\t\t}, {\n\t\t\tkey: 'init',\n\t\t\tvalue: function init() {\n\t\t\t\tvar _this3 = this;\n\t\n\t\t\t\treturn new Promise(function (resolve) {\n\t\n\t\t\t\t\t_this3._bindEvents();\n\t\t\t\t\t_this3.bindEvents();\n\t\n\t\t\t\t\t// other work\n\t\n\t\t\t\t\treturn resolve();\n\t\t\t\t});\n\t\t\t}\n\t\n\t\t\t/**\r\n\t * Called when the `init` event is emitted. Should be overriden by sub-classes.\r\n\t * \r\n\t * @override\r\n\t * @memberof Module\r\n\t */\n\t\n\t\t}, {\n\t\t\tkey: 'main',\n\t\t\tvalue: function main() {}\n\t\t}]);\n\t\n\t\treturn Module;\n\t}(_events2.default);\n\t\n\texports.default = Module;\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\n\t// Copyright Joyent, Inc. and other Node contributors.\n\t//\n\t// Permission is hereby granted, free of charge, to any person obtaining a\n\t// copy of this software and associated documentation files (the\n\t// \"Software\"), to deal in the Software without restriction, including\n\t// without limitation the rights to use, copy, modify, merge, publish,\n\t// distribute, sublicense, and/or sell copies of the Software, and to permit\n\t// persons to whom the Software is furnished to do so, subject to the\n\t// following conditions:\n\t//\n\t// The above copyright notice and this permission notice shall be included\n\t// in all copies or substantial portions of the Software.\n\t//\n\t// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n\t// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n\t// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n\t// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n\t// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n\t// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t\n\tfunction EventEmitter() {\n\t this._events = this._events || {};\n\t this._maxListeners = this._maxListeners || undefined;\n\t}\n\tmodule.exports = EventEmitter;\n\t\n\t// Backwards-compat with node 0.10.x\n\tEventEmitter.EventEmitter = EventEmitter;\n\t\n\tEventEmitter.prototype._events = undefined;\n\tEventEmitter.prototype._maxListeners = undefined;\n\t\n\t// By default EventEmitters will print a warning if more than 10 listeners are\n\t// added to it. This is a useful default which helps finding memory leaks.\n\tEventEmitter.defaultMaxListeners = 10;\n\t\n\t// Obviously not all Emitters should be limited to 10. This function allows\n\t// that to be increased. Set to zero for unlimited.\n\tEventEmitter.prototype.setMaxListeners = function(n) {\n\t if (!isNumber(n) || n < 0 || isNaN(n))\n\t throw TypeError('n must be a positive number');\n\t this._maxListeners = n;\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.emit = function(type) {\n\t var er, handler, len, args, i, listeners;\n\t\n\t if (!this._events)\n\t this._events = {};\n\t\n\t // If there is no 'error' event listener then throw.\n\t if (type === 'error') {\n\t if (!this._events.error ||\n\t (isObject(this._events.error) && !this._events.error.length)) {\n\t er = arguments[1];\n\t if (er instanceof Error) {\n\t throw er; // Unhandled 'error' event\n\t } else {\n\t // At least give some kind of context to the user\n\t var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n\t err.context = er;\n\t throw err;\n\t }\n\t }\n\t }\n\t\n\t handler = this._events[type];\n\t\n\t if (isUndefined(handler))\n\t return false;\n\t\n\t if (isFunction(handler)) {\n\t switch (arguments.length) {\n\t // fast cases\n\t case 1:\n\t handler.call(this);\n\t break;\n\t case 2:\n\t handler.call(this, arguments[1]);\n\t break;\n\t case 3:\n\t handler.call(this, arguments[1], arguments[2]);\n\t break;\n\t // slower\n\t default:\n\t args = Array.prototype.slice.call(arguments, 1);\n\t handler.apply(this, args);\n\t }\n\t } else if (isObject(handler)) {\n\t args = Array.prototype.slice.call(arguments, 1);\n\t listeners = handler.slice();\n\t len = listeners.length;\n\t for (i = 0; i < len; i++)\n\t listeners[i].apply(this, args);\n\t }\n\t\n\t return true;\n\t};\n\t\n\tEventEmitter.prototype.addListener = function(type, listener) {\n\t var m;\n\t\n\t if (!isFunction(listener))\n\t throw TypeError('listener must be a function');\n\t\n\t if (!this._events)\n\t this._events = {};\n\t\n\t // To avoid recursion in the case that type === \"newListener\"! Before\n\t // adding it to the listeners, first emit \"newListener\".\n\t if (this._events.newListener)\n\t this.emit('newListener', type,\n\t isFunction(listener.listener) ?\n\t listener.listener : listener);\n\t\n\t if (!this._events[type])\n\t // Optimize the case of one listener. Don't need the extra array object.\n\t this._events[type] = listener;\n\t else if (isObject(this._events[type]))\n\t // If we've already got an array, just append.\n\t this._events[type].push(listener);\n\t else\n\t // Adding the second element, need to change to array.\n\t this._events[type] = [this._events[type], listener];\n\t\n\t // Check for listener leak\n\t if (isObject(this._events[type]) && !this._events[type].warned) {\n\t if (!isUndefined(this._maxListeners)) {\n\t m = this._maxListeners;\n\t } else {\n\t m = EventEmitter.defaultMaxListeners;\n\t }\n\t\n\t if (m && m > 0 && this._events[type].length > m) {\n\t this._events[type].warned = true;\n\t console.error('(node) warning: possible EventEmitter memory ' +\n\t 'leak detected. %d listeners added. ' +\n\t 'Use emitter.setMaxListeners() to increase limit.',\n\t this._events[type].length);\n\t if (typeof console.trace === 'function') {\n\t // not supported in IE 10\n\t console.trace();\n\t }\n\t }\n\t }\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\t\n\tEventEmitter.prototype.once = function(type, listener) {\n\t if (!isFunction(listener))\n\t throw TypeError('listener must be a function');\n\t\n\t var fired = false;\n\t\n\t function g() {\n\t this.removeListener(type, g);\n\t\n\t if (!fired) {\n\t fired = true;\n\t listener.apply(this, arguments);\n\t }\n\t }\n\t\n\t g.listener = listener;\n\t this.on(type, g);\n\t\n\t return this;\n\t};\n\t\n\t// emits a 'removeListener' event iff the listener was removed\n\tEventEmitter.prototype.removeListener = function(type, listener) {\n\t var list, position, length, i;\n\t\n\t if (!isFunction(listener))\n\t throw TypeError('listener must be a function');\n\t\n\t if (!this._events || !this._events[type])\n\t return this;\n\t\n\t list = this._events[type];\n\t length = list.length;\n\t position = -1;\n\t\n\t if (list === listener ||\n\t (isFunction(list.listener) && list.listener === listener)) {\n\t delete this._events[type];\n\t if (this._events.removeListener)\n\t this.emit('removeListener', type, listener);\n\t\n\t } else if (isObject(list)) {\n\t for (i = length; i-- > 0;) {\n\t if (list[i] === listener ||\n\t (list[i].listener && list[i].listener === listener)) {\n\t position = i;\n\t break;\n\t }\n\t }\n\t\n\t if (position < 0)\n\t return this;\n\t\n\t if (list.length === 1) {\n\t list.length = 0;\n\t delete this._events[type];\n\t } else {\n\t list.splice(position, 1);\n\t }\n\t\n\t if (this._events.removeListener)\n\t this.emit('removeListener', type, listener);\n\t }\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.removeAllListeners = function(type) {\n\t var key, listeners;\n\t\n\t if (!this._events)\n\t return this;\n\t\n\t // not listening for removeListener, no need to emit\n\t if (!this._events.removeListener) {\n\t if (arguments.length === 0)\n\t this._events = {};\n\t else if (this._events[type])\n\t delete this._events[type];\n\t return this;\n\t }\n\t\n\t // emit removeListener for all listeners on all events\n\t if (arguments.length === 0) {\n\t for (key in this._events) {\n\t if (key === 'removeListener') continue;\n\t this.removeAllListeners(key);\n\t }\n\t this.removeAllListeners('removeListener');\n\t this._events = {};\n\t return this;\n\t }\n\t\n\t listeners = this._events[type];\n\t\n\t if (isFunction(listeners)) {\n\t this.removeListener(type, listeners);\n\t } else if (listeners) {\n\t // LIFO order\n\t while (listeners.length)\n\t this.removeListener(type, listeners[listeners.length - 1]);\n\t }\n\t delete this._events[type];\n\t\n\t return this;\n\t};\n\t\n\tEventEmitter.prototype.listeners = function(type) {\n\t var ret;\n\t if (!this._events || !this._events[type])\n\t ret = [];\n\t else if (isFunction(this._events[type]))\n\t ret = [this._events[type]];\n\t else\n\t ret = this._events[type].slice();\n\t return ret;\n\t};\n\t\n\tEventEmitter.prototype.listenerCount = function(type) {\n\t if (this._events) {\n\t var evlistener = this._events[type];\n\t\n\t if (isFunction(evlistener))\n\t return 1;\n\t else if (evlistener)\n\t return evlistener.length;\n\t }\n\t return 0;\n\t};\n\t\n\tEventEmitter.listenerCount = function(emitter, type) {\n\t return emitter.listenerCount(type);\n\t};\n\t\n\tfunction isFunction(arg) {\n\t return typeof arg === 'function';\n\t}\n\t\n\tfunction isNumber(arg) {\n\t return typeof arg === 'number';\n\t}\n\t\n\tfunction isObject(arg) {\n\t return typeof arg === 'object' && arg !== null;\n\t}\n\t\n\tfunction isUndefined(arg) {\n\t return arg === void 0;\n\t}\n\n\n/***/ }),\n/* 5 */,\n/* 6 */,\n/* 7 */,\n/* 8 */,\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/*!\n\t\tModaal - accessible modals - v0.3.1\n\t\tby Humaan, for all humans.\n\t\thttp://humaan.com\n\t */\n\t!function(a){var t='
',o={init:function(t,o){var e=this;e.dom=a(\"body\"),e.$elem=a(o),e.options=a.extend({},a.fn.modaal.options,e.$elem.data(),t),e.xhr=null,e.scope={is_open:!1,id:\"modaal_\"+(new Date).getTime()+Math.random().toString(16).substring(2)},e.$elem.attr(\"data-modaal-scope\",e.scope.id),e.private_options={active_class:\"is_active\"},e.lastFocus=null,e.options.is_locked||\"confirm\"==e.options.type||e.options.hide_close?e.scope.close_btn=\"\":e.scope.close_btn='\",\"none\"===e.options.animation&&(e.options.animation_speed=0,e.options.after_callback_delay=0),a(o).on(\"click.Modaal\",function(a){a.preventDefault();var t;if(e.lastFocus=document.activeElement,e.options.should_open!==!1&&(\"function\"!=typeof e.options.should_open||e.options.should_open()!==!1)){switch(e.options.before_open.call(e,a),e.options.type){case\"inline\":e.create_basic();break;case\"ajax\":t=e.options.source(e.$elem,e.$elem.attr(\"href\")),e.fetch_ajax(t);break;case\"confirm\":e.options.is_locked=!0,e.create_confirm();break;case\"image\":e.create_image();break;case\"iframe\":t=e.options.source(e.$elem,e.$elem.attr(\"href\")),e.create_iframe(t);break;case\"video\":e.create_video(e.$elem.attr(\"href\"));break;case\"instagram\":e.create_instagram()}e.watch_events()}}),e.options.start_open===!0&&a(o).click()},watch_events:function(){var t=this;t.dom.off(\"click.Modaal keyup.Modaal keydown.Modaal\"),t.dom.on(\"keydown.Modaal\",function(o){var e=o.keyCode,i=o.target;9==e&&t.scope.is_open&&(a.contains(document.getElementById(t.scope.id),i)||a(\"#\"+t.scope.id).find('*[tabindex=\"0\"]').focus())}),t.dom.on(\"keyup.Modaal\",function(o){var e=o.keyCode,i=o.target;return o.shiftKey&&9==o.keyCode&&t.scope.is_open&&(a.contains(document.getElementById(t.scope.id),i)||a(\"#\"+t.scope.id).find(\".modaal-close\").focus()),!t.options.is_locked&&27==e&&t.scope.is_open?a(document.activeElement).is(\"input:not(:checkbox):not(:radio)\")?!1:void t.modaal_close():\"image\"==t.options.type?(37==e&&t.scope.is_open&&!a(\"#\"+t.scope.id+\" .modaal-gallery-prev\").hasClass(\"is_hidden\")&&t.gallery_update(\"prev\"),void(39==e&&t.scope.is_open&&!a(\"#\"+t.scope.id+\" .modaal-gallery-next\").hasClass(\"is_hidden\")&&t.gallery_update(\"next\"))):void 0}),t.dom.on(\"click.Modaal\",function(o){var e=a(o.target);if(!t.options.is_locked&&(t.options.overlay_close&&e.is(\".modaal-inner-wrapper\")||e.is(\".modaal-close\")||e.closest(\".modaal-close\").length))return void t.modaal_close();if(e.is(\".modaal-confirm-btn\"))return e.is(\".modaal-ok\")&&t.options.confirm_callback.call(t,t.lastFocus),e.is(\".modaal-cancel\")&&t.options.confirm_cancel_callback.call(t,t.lastFocus),void t.modaal_close();if(e.is(\".modaal-gallery-control\")){if(e.hasClass(\"is_hidden\"))return;return e.is(\".modaal-gallery-prev\")&&t.gallery_update(\"prev\"),void(e.is(\".modaal-gallery-next\")&&t.gallery_update(\"next\"))}})},build_modal:function(a){var t=this,o=\"\";\"instagram\"==t.options.type&&(o=\" modaal-instagram\");var e,i=\"video\"==t.options.type?\"modaal-video-wrap\":\"modaal-content\";switch(t.options.animation){case\"fade\":e=\" modaal-start_fade\";break;case\"slide-down\":e=\" modaal-start_slidedown\";break;default:e=\" modaal-start_none\"}var l=\"\";t.options.fullscreen&&(l=\" modaal-fullscreen\"),\"\"===t.options.custom_class&&\"undefined\"==typeof t.options.custom_class||(t.options.custom_class=\" \"+t.options.custom_class);var s=\"\";t.options.width&&t.options.height&&\"number\"==typeof t.options.width&&\"number\"==typeof t.options.height?s=' style=\"max-width:'+t.options.width+\"px;height:\"+t.options.height+'px;overflow:auto;\"':t.options.width&&\"number\"==typeof t.options.width?s=' style=\"max-width:'+t.options.width+'px;\"':t.options.height&&\"number\"==typeof t.options.height&&(s=' style=\"height:'+t.options.height+'px;overflow:auto;\"'),(\"image\"==t.options.type||\"video\"==t.options.type||\"instagram\"==t.options.type||t.options.fullscreen)&&(s=\"\");var n='
';\"video\"!=t.options.type&&(n+='
\"),n+='
',n+=\"inline\"==t.options.type?'
':a,n+=\"
\"+t.scope.close_btn,\"video\"!=t.options.type&&(n+=\"
\"),n+=\"
\",t.dom.append(n),\"inline\"==t.options.type&&a.appendTo(\"#\"+t.scope.id+\" .modaal-content-container\"),t.modaal_overlay(\"show\")},create_basic:function(){var t=this,o=t.$elem.is(\"[href]\")?a(t.$elem.attr(\"href\")):t.$elem,e=\"\";o.length?(e=o.contents().clone(!0,!0),o.empty()):e=\"Content could not be loaded. Please check the source and try again.\",t.build_modal(e)},create_instagram:function(){var t=this,o=t.options.instagram_id,e=\"\",i=\"Instagram photo couldn't be loaded, please check the embed code and try again.\";if(t.build_modal('
'+t.options.loading_content+\"
\"),\"\"!=o&&null!==o&&void 0!==o){var l=\"https://api.instagram.com/oembed?url=http://instagr.am/p/\"+o+\"/\";a.ajax({url:l,dataType:\"jsonp\",cache:!1,success:function(o){e=o.html;var i=a(\"#\"+t.scope.id+\" .modaal-content-container\");i.length>0&&(i.removeClass(t.options.loading_class),i.html(e),window.instgrm.Embeds.process())},error:function(){e=i;var o=a(\"#\"+t.scope.id+\" .modaal-content-container\");o.length>0&&(o.removeClass(t.options.loading_class).addClass(t.options.ajax_error_class),o.html(e))}})}else e=i;return!1},fetch_ajax:function(t){var o=this;null==o.options.accessible_title&&(o.options.accessible_title=\"Dialog Window\"),null!==o.xhr&&(o.xhr.abort(),o.xhr=null),o.build_modal('
'+o.options.loading_content+\"
\"),o.xhr=a.ajax(t,{success:function(t){var e=a(\"#\"+o.scope.id).find(\".modaal-content-container\");e.length>0&&(e.removeClass(o.options.loading_class),e.html(t),o.options.ajax_success.call(o,e))},error:function(t){if(\"abort\"!=t.statusText){var e=a(\"#\"+o.scope.id+\" .modaal-content-container\");e.length>0&&(e.removeClass(o.options.loading_class).addClass(o.options.ajax_error_class),e.html(\"Content could not be loaded. Please check the source and try again.\"))}}})},create_confirm:function(){var a,t=this;a='

'+t.options.confirm_title+'

'+t.options.confirm_content+'
\",t.build_modal(a)},create_image:function(){var t,o,e=this,i=\"\",l='',s='';if(e.$elem.is(\"[rel]\")){var n=e.$elem.attr(\"rel\"),d=a('[rel=\"'+n+'\"]');d.removeAttr(\"data-gallery-active\",\"is_active\"),e.$elem.attr(\"data-gallery-active\",\"is_active\"),o=d.length-1;var r=[];i='\"}i+=\"\"+l+s}else{var _=e.$elem.attr(\"href\"),v=\"\",f=\"\",p=\"\";e.$elem.attr(\"data-modaal-desc\")?(p=e.$elem.attr(\"data-modaal-desc\"),v=e.$elem.attr(\"data-modaal-desc\"),f='\"):p=\"Image with no description\",i='\"}t=i,e.build_modal(t),a(\".modaal-gallery-item.is_active\").is(\".gallery-item-0\")&&a(\".modaal-gallery-prev\").hide(),a(\".modaal-gallery-item.is_active\").is(\".gallery-item-\"+o)&&a(\".modaal-gallery-next\").hide()},gallery_update:function(t){var o=this,e=a(\"#\"+o.scope.id),i=e.find(\".modaal-gallery-item\"),l=i.length-1;if(0==l)return!1;var s=e.find(\".modaal-gallery-prev\"),n=e.find(\".modaal-gallery-next\"),d=250,r=0,c=0,m=e.find(\".modaal-gallery-item.\"+o.private_options.active_class),p=\"next\"==t?m.next(\".modaal-gallery-item\"):m.prev(\".modaal-gallery-item\");return o.options.before_image_change.call(o,m,p),\"prev\"==t&&e.find(\".gallery-item-0\").hasClass(\"is_active\")?!1:\"next\"==t&&e.find(\".gallery-item-\"+l).hasClass(\"is_active\")?!1:void m.stop().animate({opacity:0},d,function(){p.addClass(\"is_next\").css({position:\"absolute\",display:\"block\",opacity:0});var t=a(document).width(),i=t>1140?280:50;r=e.find(\".modaal-gallery-item.is_next\").width(),c=e.find(\".modaal-gallery-item.is_next\").height();var _=e.find(\".modaal-gallery-item.is_next img\").prop(\"naturalWidth\"),v=e.find(\".modaal-gallery-item.is_next img\").prop(\"naturalHeight\");_>t-i?(r=t-i,e.find(\".modaal-gallery-item.is_next\").css({width:r}),e.find(\".modaal-gallery-item.is_next img\").css({width:r}),c=e.find(\".modaal-gallery-item.is_next\").find(\"img\").height()):(r=_,c=v),e.find(\".modaal-gallery-item-wrap\").stop().animate({width:r,height:c},d,function(){m.removeClass(o.private_options.active_class+\" \"+o.options.gallery_active_class).removeAttr(\"style\"),m.find(\"img\").removeAttr(\"style\"),p.addClass(o.private_options.active_class+\" \"+o.options.gallery_active_class).removeClass(\"is_next\").css(\"position\",\"\"),p.stop().animate({opacity:1},d,function(){a(this).removeAttr(\"style\").css({width:\"100%\"}),a(this).find(\"img\").css(\"width\",\"100%\"),e.find(\".modaal-gallery-item-wrap\").removeAttr(\"style\"),o.options.after_image_change.call(o,p)}),e.find(\".modaal-gallery-item\").removeAttr(\"tabindex\"),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).attr(\"tabindex\",\"0\").focus(),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).is(\".gallery-item-0\")?s.stop().animate({opacity:0},150,function(){a(this).hide()}):s.stop().css({display:\"block\",opacity:s.css(\"opacity\")}).animate({opacity:1},150),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).is(\".gallery-item-\"+l)?n.stop().animate({opacity:0},150,function(){a(this).hide()}):n.stop().css({display:\"block\",opacity:s.css(\"opacity\")}).animate({opacity:1},150)})})},create_video:function(a){var t,o=this;t='',o.build_modal('
'+t+\"
\")},create_iframe:function(a){var t,o=this;t=null!==o.options.width||void 0!==o.options.width||null!==o.options.height||void 0!==o.options.height?'':'
Please specify a width and height for your iframe
',o.build_modal(t)},modaal_open:function(){var t=this,o=a(\"#\"+t.scope.id),e=t.options.animation;\"none\"===e&&(o.removeClass(\"modaal-start_none\"),t.options.after_open.call(t,o)),\"fade\"===e&&o.removeClass(\"modaal-start_fade\"),\"slide-down\"===e&&o.removeClass(\"modaal-start_slide_down\");var i=o;a(\".modaal-wrapper *[tabindex=0]\").removeAttr(\"tabindex\"),i=\"image\"==t.options.type?a(\"#\"+t.scope.id).find(\".modaal-gallery-item.\"+t.private_options.active_class):o.find(\".modaal-iframe-elem\").length?o.find(\".modaal-iframe-elem\"):o.find(\".modaal-video-wrap\").length?o.find(\".modaal-video-wrap\"):o.find(\".modaal-focus\"),i.attr(\"tabindex\",\"0\").focus(),\"none\"!==e&&setTimeout(function(){t.options.after_open.call(t,o)},t.options.after_callback_delay)},modaal_close:function(){var t=this,o=a(\"#\"+t.scope.id);t.options.before_close.call(t,o),null!==t.xhr&&(t.xhr.abort(),t.xhr=null),\"none\"===t.options.animation&&o.addClass(\"modaal-start_none\"),\"fade\"===t.options.animation&&o.addClass(\"modaal-start_fade\"),\"slide-down\"===t.options.animation&&o.addClass(\"modaal-start_slide_down\"),setTimeout(function(){\"inline\"==t.options.type&&a(\"#\"+t.scope.id+\" .modaal-content-container\").contents().clone(!0,!0).appendTo(t.$elem.attr(\"href\")),o.remove(),t.options.after_close.call(t),t.scope.is_open=!1},t.options.after_callback_delay),t.modaal_overlay(\"hide\"),null!=t.lastFocus&&t.lastFocus.focus()},modaal_overlay:function(t){var o=this;\"show\"==t?(o.scope.is_open=!0,o.options.background_scroll||o.dom.addClass(\"modaal-noscroll\"),o.dom.append('
'),a(\"#\"+o.scope.id+\"_overlay\").css(\"background\",o.options.background).stop().animate({opacity:o.options.overlay_opacity},o.options.animation_speed,function(){o.modaal_open()})):\"hide\"==t&&(o.dom.removeClass(\"modaal-noscroll\"),a(\"#\"+o.scope.id+\"_overlay\").stop().animate({opacity:0},o.options.animation_speed,function(){a(this).remove()}))}};a.fn.modaal=function(t){return this.each(function(){var e=a(this).data(\"modaal\");if(e){if(\"string\"==typeof t)switch(t){case\"close\":e.modaal_close()}}else{var i=Object.create(o);i.init(t,this),a.data(this,\"modaal\",i)}})},a.fn.modaal.options={type:\"inline\",animation:\"fade\",animation_speed:300,after_callback_delay:350,is_locked:!1,hide_close:!1,background:\"#000\",overlay_opacity:\"0.8\",overlay_close:!0,accessible_title:\"Dialog Window\",start_open:!1,fullscreen:!1,custom_class:\"\",background_scroll:!1,should_open:!0,close_text:\"Close\",close_aria_label:\"Close (Press escape to close)\",width:null,height:null,before_open:function(){},after_open:function(){},before_close:function(){},after_close:function(){},source:function(a,t){return t},confirm_button_text:\"Confirm\",confirm_cancel_button_text:\"Cancel\",confirm_title:\"Confirm Title\",confirm_content:\"

This is the default confirm dialog content. Replace me through the options

\",confirm_callback:function(){},confirm_cancel_callback:function(){},gallery_active_class:\"gallery_active_item\",before_image_change:function(a,t){},after_image_change:function(a){},loading_content:t,loading_class:\"is_loading\",ajax_error_class:\"modaal-error\",ajax_success:function(){},instagram_id:null},a(function(){var t=a(\".modaal\");t.length&&t.each(function(){var t=a(this),o={},e=!1;t.attr(\"data-modaal-type\")&&(e=!0,o.type=t.attr(\"data-modaal-type\")),t.attr(\"data-modaal-animation\")&&(e=!0,o.animation=t.attr(\"data-modaal-animation\")),t.attr(\"data-modaal-animation-speed\")&&(e=!0,o.animation_speed=t.attr(\"data-modaal-animation-speed\")),t.attr(\"data-modaal-after-callback-delay\")&&(e=!0,o.after_callback_delay=t.attr(\"data-modaal-after-callback-delay\")),t.attr(\"data-modaal-is-locked\")&&(e=!0,o.is_locked=\"true\"===t.attr(\"data-modaal-is-locked\")),t.attr(\"data-modaal-hide-close\")&&(e=!0,o.hide_close=\"true\"===t.attr(\"data-modaal-hide-close\")),t.attr(\"data-modaal-background\")&&(e=!0,o.background=t.attr(\"data-modaal-background\")),t.attr(\"data-modaal-overlay-opacity\")&&(e=!0,o.overlay_opacity=t.attr(\"data-modaal-overlay-opacity\")),t.attr(\"data-modaal-overlay-close\")&&(e=!0,o.overlay_close=\"false\"!==t.attr(\"data-modaal-overlay-close\")),t.attr(\"data-modaal-accessible-title\")&&(e=!0,o.accessible_title=t.attr(\"data-modaal-accessible-title\")),t.attr(\"data-modaal-start-open\")&&(e=!0,o.start_open=\"true\"===t.attr(\"data-modaal-start-open\")),t.attr(\"data-modaal-fullscreen\")&&(e=!0,o.fullscreen=\"true\"===t.attr(\"data-modaal-fullscreen\")),t.attr(\"data-modaal-custom-class\")&&(e=!0,o.custom_class=t.attr(\"data-modaal-custom-class\")),t.attr(\"data-modaal-close-text\")&&(e=!0,o.close_text=t.attr(\"data-modaal-close-text\")),t.attr(\"data-modaal-close-aria-label\")&&(e=!0,o.close_aria_label=t.attr(\"data-modaal-close-aria-label\")),t.attr(\"data-modaal-background-scroll\")&&(e=!0,o.background_scroll=\"true\"===t.attr(\"data-modaal-background-scroll\")),t.attr(\"data-modaal-width\")&&(e=!0,o.width=parseInt(t.attr(\"data-modaal-width\"))),t.attr(\"data-modaal-height\")&&(e=!0,o.height=parseInt(t.attr(\"data-modaal-height\"))),t.attr(\"data-modaal-confirm-button-text\")&&(e=!0,o.confirm_button_text=t.attr(\"data-modaal-confirm-button-text\")),t.attr(\"data-modaal-confirm-cancel-button-text\")&&(e=!0,o.confirm_cancel_button_text=t.attr(\"data-modaal-confirm-cancel-button-text\")),t.attr(\"data-modaal-confirm-title\")&&(e=!0,o.confirm_title=t.attr(\"data-modaal-confirm-title\")),t.attr(\"data-modaal-confirm-content\")&&(e=!0,o.confirm_content=t.attr(\"data-modaal-confirm-content\")),t.attr(\"data-modaal-gallery-active-class\")&&(e=!0,o.gallery_active_class=t.attr(\"data-modaal-gallery-active-class\")),t.attr(\"data-modaal-loading-content\")&&(e=!0,o.loading_content=t.attr(\"data-modaal-loading-content\")),t.attr(\"data-modaal-loading-class\")&&(e=!0,o.loading_class=t.attr(\"data-modaal-loading-class\")),t.attr(\"data-modaal-ajax-error-class\")&&(e=!0,o.ajax_error_class=t.attr(\"data-modaal-ajax-error-class\")),t.attr(\"data-modaal-instagram-id\")&&(e=!0,o.instagram_id=t.attr(\"data-modaal-instagram-id\")),e&&t.modaal(o)})})}(jQuery,window,document);\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(__webpack_provided_window_dot_jQuery) {/**\n\t * jquery.mask.js\n\t * @version: v1.14.16\n\t * @author: Igor Escobar\n\t *\n\t * Created by Igor Escobar on 2012-03-10. Please report any bug at github.com/igorescobar/jQuery-Mask-Plugin\n\t *\n\t * Copyright (c) 2012 Igor Escobar http://igorescobar.com\n\t *\n\t * The MIT License (http://www.opensource.org/licenses/mit-license.php)\n\t *\n\t * Permission is hereby granted, free of charge, to any person\n\t * obtaining a copy of this software and associated documentation\n\t * files (the \"Software\"), to deal in the Software without\n\t * restriction, including without limitation the rights to use,\n\t * copy, modify, merge, publish, distribute, sublicense, and/or sell\n\t * copies of the Software, and to permit persons to whom the\n\t * Software is furnished to do so, subject to the following\n\t * conditions:\n\t *\n\t * The above copyright notice and this permission notice shall be\n\t * included in all copies or substantial portions of the Software.\n\t *\n\t * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\t * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n\t * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n\t * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n\t * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n\t * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n\t * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n\t * OTHER DEALINGS IN THE SOFTWARE.\n\t */\n\t\n\t/* jshint laxbreak: true */\n\t/* jshint maxcomplexity:17 */\n\t/* global define */\n\t\n\t// UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.\n\t// https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js\n\t(function (factory, jQuery, Zepto) {\n\t\n\t if (true) {\n\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(2)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if (typeof exports === 'object' && typeof Meteor === 'undefined') {\n\t module.exports = factory(require('jquery'));\n\t } else {\n\t factory(jQuery || Zepto);\n\t }\n\t\n\t}(function ($) {\n\t 'use strict';\n\t\n\t var Mask = function (el, mask, options) {\n\t\n\t var p = {\n\t invalid: [],\n\t getCaret: function () {\n\t try {\n\t var sel,\n\t pos = 0,\n\t ctrl = el.get(0),\n\t dSel = document.selection,\n\t cSelStart = ctrl.selectionStart;\n\t\n\t // IE Support\n\t if (dSel && navigator.appVersion.indexOf('MSIE 10') === -1) {\n\t sel = dSel.createRange();\n\t sel.moveStart('character', -p.val().length);\n\t pos = sel.text.length;\n\t }\n\t // Firefox support\n\t else if (cSelStart || cSelStart === '0') {\n\t pos = cSelStart;\n\t }\n\t\n\t return pos;\n\t } catch (e) {}\n\t },\n\t setCaret: function(pos) {\n\t try {\n\t if (el.is(':focus')) {\n\t var range, ctrl = el.get(0);\n\t\n\t // Firefox, WebKit, etc..\n\t if (ctrl.setSelectionRange) {\n\t ctrl.setSelectionRange(pos, pos);\n\t } else { // IE\n\t range = ctrl.createTextRange();\n\t range.collapse(true);\n\t range.moveEnd('character', pos);\n\t range.moveStart('character', pos);\n\t range.select();\n\t }\n\t }\n\t } catch (e) {}\n\t },\n\t events: function() {\n\t el\n\t .on('keydown.mask', function(e) {\n\t el.data('mask-keycode', e.keyCode || e.which);\n\t el.data('mask-previus-value', el.val());\n\t el.data('mask-previus-caret-pos', p.getCaret());\n\t p.maskDigitPosMapOld = p.maskDigitPosMap;\n\t })\n\t .on($.jMaskGlobals.useInput ? 'input.mask' : 'keyup.mask', p.behaviour)\n\t .on('paste.mask drop.mask', function() {\n\t setTimeout(function() {\n\t el.keydown().keyup();\n\t }, 100);\n\t })\n\t .on('change.mask', function(){\n\t el.data('changed', true);\n\t })\n\t .on('blur.mask', function(){\n\t if (oldValue !== p.val() && !el.data('changed')) {\n\t el.trigger('change');\n\t }\n\t el.data('changed', false);\n\t })\n\t // it's very important that this callback remains in this position\n\t // otherwhise oldValue it's going to work buggy\n\t .on('blur.mask', function() {\n\t oldValue = p.val();\n\t })\n\t // select all text on focus\n\t .on('focus.mask', function (e) {\n\t if (options.selectOnFocus === true) {\n\t $(e.target).select();\n\t }\n\t })\n\t // clear the value if it not complete the mask\n\t .on('focusout.mask', function() {\n\t if (options.clearIfNotMatch && !regexMask.test(p.val())) {\n\t p.val('');\n\t }\n\t });\n\t },\n\t getRegexMask: function() {\n\t var maskChunks = [], translation, pattern, optional, recursive, oRecursive, r;\n\t\n\t for (var i = 0; i < mask.length; i++) {\n\t translation = jMask.translation[mask.charAt(i)];\n\t\n\t if (translation) {\n\t\n\t pattern = translation.pattern.toString().replace(/.{1}$|^.{1}/g, '');\n\t optional = translation.optional;\n\t recursive = translation.recursive;\n\t\n\t if (recursive) {\n\t maskChunks.push(mask.charAt(i));\n\t oRecursive = {digit: mask.charAt(i), pattern: pattern};\n\t } else {\n\t maskChunks.push(!optional && !recursive ? pattern : (pattern + '?'));\n\t }\n\t\n\t } else {\n\t maskChunks.push(mask.charAt(i).replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'));\n\t }\n\t }\n\t\n\t r = maskChunks.join('');\n\t\n\t if (oRecursive) {\n\t r = r.replace(new RegExp('(' + oRecursive.digit + '(.*' + oRecursive.digit + ')?)'), '($1)?')\n\t .replace(new RegExp(oRecursive.digit, 'g'), oRecursive.pattern);\n\t }\n\t\n\t return new RegExp(r);\n\t },\n\t destroyEvents: function() {\n\t el.off(['input', 'keydown', 'keyup', 'paste', 'drop', 'blur', 'focusout', ''].join('.mask '));\n\t },\n\t val: function(v) {\n\t var isInput = el.is('input'),\n\t method = isInput ? 'val' : 'text',\n\t r;\n\t\n\t if (arguments.length > 0) {\n\t if (el[method]() !== v) {\n\t el[method](v);\n\t }\n\t r = el;\n\t } else {\n\t r = el[method]();\n\t }\n\t\n\t return r;\n\t },\n\t calculateCaretPosition: function(oldVal) {\n\t var newVal = p.getMasked(),\n\t caretPosNew = p.getCaret();\n\t if (oldVal !== newVal) {\n\t var caretPosOld = el.data('mask-previus-caret-pos') || 0,\n\t newValL = newVal.length,\n\t oldValL = oldVal.length,\n\t maskDigitsBeforeCaret = 0,\n\t maskDigitsAfterCaret = 0,\n\t maskDigitsBeforeCaretAll = 0,\n\t maskDigitsBeforeCaretAllOld = 0,\n\t i = 0;\n\t\n\t for (i = caretPosNew; i < newValL; i++) {\n\t if (!p.maskDigitPosMap[i]) {\n\t break;\n\t }\n\t maskDigitsAfterCaret++;\n\t }\n\t\n\t for (i = caretPosNew - 1; i >= 0; i--) {\n\t if (!p.maskDigitPosMap[i]) {\n\t break;\n\t }\n\t maskDigitsBeforeCaret++;\n\t }\n\t\n\t for (i = caretPosNew - 1; i >= 0; i--) {\n\t if (p.maskDigitPosMap[i]) {\n\t maskDigitsBeforeCaretAll++;\n\t }\n\t }\n\t\n\t for (i = caretPosOld - 1; i >= 0; i--) {\n\t if (p.maskDigitPosMapOld[i]) {\n\t maskDigitsBeforeCaretAllOld++;\n\t }\n\t }\n\t\n\t // if the cursor is at the end keep it there\n\t if (caretPosNew > oldValL) {\n\t caretPosNew = newValL * 10;\n\t } else if (caretPosOld >= caretPosNew && caretPosOld !== oldValL) {\n\t if (!p.maskDigitPosMapOld[caretPosNew]) {\n\t var caretPos = caretPosNew;\n\t caretPosNew -= maskDigitsBeforeCaretAllOld - maskDigitsBeforeCaretAll;\n\t caretPosNew -= maskDigitsBeforeCaret;\n\t if (p.maskDigitPosMap[caretPosNew]) {\n\t caretPosNew = caretPos;\n\t }\n\t }\n\t }\n\t else if (caretPosNew > caretPosOld) {\n\t caretPosNew += maskDigitsBeforeCaretAll - maskDigitsBeforeCaretAllOld;\n\t caretPosNew += maskDigitsAfterCaret;\n\t }\n\t }\n\t return caretPosNew;\n\t },\n\t behaviour: function(e) {\n\t e = e || window.event;\n\t p.invalid = [];\n\t\n\t var keyCode = el.data('mask-keycode');\n\t\n\t if ($.inArray(keyCode, jMask.byPassKeys) === -1) {\n\t var newVal = p.getMasked(),\n\t caretPos = p.getCaret(),\n\t oldVal = el.data('mask-previus-value') || '';\n\t\n\t // this is a compensation to devices/browsers that don't compensate\n\t // caret positioning the right way\n\t setTimeout(function() {\n\t p.setCaret(p.calculateCaretPosition(oldVal));\n\t }, $.jMaskGlobals.keyStrokeCompensation);\n\t\n\t p.val(newVal);\n\t p.setCaret(caretPos);\n\t return p.callbacks(e);\n\t }\n\t },\n\t getMasked: function(skipMaskChars, val) {\n\t var buf = [],\n\t value = val === undefined ? p.val() : val + '',\n\t m = 0, maskLen = mask.length,\n\t v = 0, valLen = value.length,\n\t offset = 1, addMethod = 'push',\n\t resetPos = -1,\n\t maskDigitCount = 0,\n\t maskDigitPosArr = [],\n\t lastMaskChar,\n\t check;\n\t\n\t if (options.reverse) {\n\t addMethod = 'unshift';\n\t offset = -1;\n\t lastMaskChar = 0;\n\t m = maskLen - 1;\n\t v = valLen - 1;\n\t check = function () {\n\t return m > -1 && v > -1;\n\t };\n\t } else {\n\t lastMaskChar = maskLen - 1;\n\t check = function () {\n\t return m < maskLen && v < valLen;\n\t };\n\t }\n\t\n\t var lastUntranslatedMaskChar;\n\t while (check()) {\n\t var maskDigit = mask.charAt(m),\n\t valDigit = value.charAt(v),\n\t translation = jMask.translation[maskDigit];\n\t\n\t if (translation) {\n\t if (valDigit.match(translation.pattern)) {\n\t buf[addMethod](valDigit);\n\t if (translation.recursive) {\n\t if (resetPos === -1) {\n\t resetPos = m;\n\t } else if (m === lastMaskChar && m !== resetPos) {\n\t m = resetPos - offset;\n\t }\n\t\n\t if (lastMaskChar === resetPos) {\n\t m -= offset;\n\t }\n\t }\n\t m += offset;\n\t } else if (valDigit === lastUntranslatedMaskChar) {\n\t // matched the last untranslated (raw) mask character that we encountered\n\t // likely an insert offset the mask character from the last entry; fall\n\t // through and only increment v\n\t maskDigitCount--;\n\t lastUntranslatedMaskChar = undefined;\n\t } else if (translation.optional) {\n\t m += offset;\n\t v -= offset;\n\t } else if (translation.fallback) {\n\t buf[addMethod](translation.fallback);\n\t m += offset;\n\t v -= offset;\n\t } else {\n\t p.invalid.push({p: v, v: valDigit, e: translation.pattern});\n\t }\n\t v += offset;\n\t } else {\n\t if (!skipMaskChars) {\n\t buf[addMethod](maskDigit);\n\t }\n\t\n\t if (valDigit === maskDigit) {\n\t maskDigitPosArr.push(v);\n\t v += offset;\n\t } else {\n\t lastUntranslatedMaskChar = maskDigit;\n\t maskDigitPosArr.push(v + maskDigitCount);\n\t maskDigitCount++;\n\t }\n\t\n\t m += offset;\n\t }\n\t }\n\t\n\t var lastMaskCharDigit = mask.charAt(lastMaskChar);\n\t if (maskLen === valLen + 1 && !jMask.translation[lastMaskCharDigit]) {\n\t buf.push(lastMaskCharDigit);\n\t }\n\t\n\t var newVal = buf.join('');\n\t p.mapMaskdigitPositions(newVal, maskDigitPosArr, valLen);\n\t return newVal;\n\t },\n\t mapMaskdigitPositions: function(newVal, maskDigitPosArr, valLen) {\n\t var maskDiff = options.reverse ? newVal.length - valLen : 0;\n\t p.maskDigitPosMap = {};\n\t for (var i = 0; i < maskDigitPosArr.length; i++) {\n\t p.maskDigitPosMap[maskDigitPosArr[i] + maskDiff] = 1;\n\t }\n\t },\n\t callbacks: function (e) {\n\t var val = p.val(),\n\t changed = val !== oldValue,\n\t defaultArgs = [val, e, el, options],\n\t callback = function(name, criteria, args) {\n\t if (typeof options[name] === 'function' && criteria) {\n\t options[name].apply(this, args);\n\t }\n\t };\n\t\n\t callback('onChange', changed === true, defaultArgs);\n\t callback('onKeyPress', changed === true, defaultArgs);\n\t callback('onComplete', val.length === mask.length, defaultArgs);\n\t callback('onInvalid', p.invalid.length > 0, [val, e, el, p.invalid, options]);\n\t }\n\t };\n\t\n\t el = $(el);\n\t var jMask = this, oldValue = p.val(), regexMask;\n\t\n\t mask = typeof mask === 'function' ? mask(p.val(), undefined, el, options) : mask;\n\t\n\t // public methods\n\t jMask.mask = mask;\n\t jMask.options = options;\n\t jMask.remove = function() {\n\t var caret = p.getCaret();\n\t if (jMask.options.placeholder) {\n\t el.removeAttr('placeholder');\n\t }\n\t if (el.data('mask-maxlength')) {\n\t el.removeAttr('maxlength');\n\t }\n\t p.destroyEvents();\n\t p.val(jMask.getCleanVal());\n\t p.setCaret(caret);\n\t return el;\n\t };\n\t\n\t // get value without mask\n\t jMask.getCleanVal = function() {\n\t return p.getMasked(true);\n\t };\n\t\n\t // get masked value without the value being in the input or element\n\t jMask.getMaskedVal = function(val) {\n\t return p.getMasked(false, val);\n\t };\n\t\n\t jMask.init = function(onlyMask) {\n\t onlyMask = onlyMask || false;\n\t options = options || {};\n\t\n\t jMask.clearIfNotMatch = $.jMaskGlobals.clearIfNotMatch;\n\t jMask.byPassKeys = $.jMaskGlobals.byPassKeys;\n\t jMask.translation = $.extend({}, $.jMaskGlobals.translation, options.translation);\n\t\n\t jMask = $.extend(true, {}, jMask, options);\n\t\n\t regexMask = p.getRegexMask();\n\t\n\t if (onlyMask) {\n\t p.events();\n\t p.val(p.getMasked());\n\t } else {\n\t if (options.placeholder) {\n\t el.attr('placeholder' , options.placeholder);\n\t }\n\t\n\t // this is necessary, otherwise if the user submit the form\n\t // and then press the \"back\" button, the autocomplete will erase\n\t // the data. Works fine on IE9+, FF, Opera, Safari.\n\t if (el.data('mask')) {\n\t el.attr('autocomplete', 'off');\n\t }\n\t\n\t // detect if is necessary let the user type freely.\n\t // for is a lot faster than forEach.\n\t for (var i = 0, maxlength = true; i < mask.length; i++) {\n\t var translation = jMask.translation[mask.charAt(i)];\n\t if (translation && translation.recursive) {\n\t maxlength = false;\n\t break;\n\t }\n\t }\n\t\n\t if (maxlength) {\n\t el.attr('maxlength', mask.length).data('mask-maxlength', true);\n\t }\n\t\n\t p.destroyEvents();\n\t p.events();\n\t\n\t var caret = p.getCaret();\n\t p.val(p.getMasked());\n\t p.setCaret(caret);\n\t }\n\t };\n\t\n\t jMask.init(!el.is('input'));\n\t };\n\t\n\t $.maskWatchers = {};\n\t var HTMLAttributes = function () {\n\t var input = $(this),\n\t options = {},\n\t prefix = 'data-mask-',\n\t mask = input.attr('data-mask');\n\t\n\t if (input.attr(prefix + 'reverse')) {\n\t options.reverse = true;\n\t }\n\t\n\t if (input.attr(prefix + 'clearifnotmatch')) {\n\t options.clearIfNotMatch = true;\n\t }\n\t\n\t if (input.attr(prefix + 'selectonfocus') === 'true') {\n\t options.selectOnFocus = true;\n\t }\n\t\n\t if (notSameMaskObject(input, mask, options)) {\n\t return input.data('mask', new Mask(this, mask, options));\n\t }\n\t },\n\t notSameMaskObject = function(field, mask, options) {\n\t options = options || {};\n\t var maskObject = $(field).data('mask'),\n\t stringify = JSON.stringify,\n\t value = $(field).val() || $(field).text();\n\t try {\n\t if (typeof mask === 'function') {\n\t mask = mask(value);\n\t }\n\t return typeof maskObject !== 'object' || stringify(maskObject.options) !== stringify(options) || maskObject.mask !== mask;\n\t } catch (e) {}\n\t },\n\t eventSupported = function(eventName) {\n\t var el = document.createElement('div'), isSupported;\n\t\n\t eventName = 'on' + eventName;\n\t isSupported = (eventName in el);\n\t\n\t if ( !isSupported ) {\n\t el.setAttribute(eventName, 'return;');\n\t isSupported = typeof el[eventName] === 'function';\n\t }\n\t el = null;\n\t\n\t return isSupported;\n\t };\n\t\n\t $.fn.mask = function(mask, options) {\n\t options = options || {};\n\t var selector = this.selector,\n\t globals = $.jMaskGlobals,\n\t interval = globals.watchInterval,\n\t watchInputs = options.watchInputs || globals.watchInputs,\n\t maskFunction = function() {\n\t if (notSameMaskObject(this, mask, options)) {\n\t return $(this).data('mask', new Mask(this, mask, options));\n\t }\n\t };\n\t\n\t $(this).each(maskFunction);\n\t\n\t if (selector && selector !== '' && watchInputs) {\n\t clearInterval($.maskWatchers[selector]);\n\t $.maskWatchers[selector] = setInterval(function(){\n\t $(document).find(selector).each(maskFunction);\n\t }, interval);\n\t }\n\t return this;\n\t };\n\t\n\t $.fn.masked = function(val) {\n\t return this.data('mask').getMaskedVal(val);\n\t };\n\t\n\t $.fn.unmask = function() {\n\t clearInterval($.maskWatchers[this.selector]);\n\t delete $.maskWatchers[this.selector];\n\t return this.each(function() {\n\t var dataMask = $(this).data('mask');\n\t if (dataMask) {\n\t dataMask.remove().removeData('mask');\n\t }\n\t });\n\t };\n\t\n\t $.fn.cleanVal = function() {\n\t return this.data('mask').getCleanVal();\n\t };\n\t\n\t $.applyDataMask = function(selector) {\n\t selector = selector || $.jMaskGlobals.maskElements;\n\t var $selector = (selector instanceof $) ? selector : $(selector);\n\t $selector.filter($.jMaskGlobals.dataMaskAttr).each(HTMLAttributes);\n\t };\n\t\n\t var globals = {\n\t maskElements: 'input,td,span,div',\n\t dataMaskAttr: '*[data-mask]',\n\t dataMask: true,\n\t watchInterval: 300,\n\t watchInputs: true,\n\t keyStrokeCompensation: 10,\n\t // old versions of chrome dont work great with input event\n\t useInput: !/Chrome\\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent) && eventSupported('input'),\n\t watchDataMask: false,\n\t byPassKeys: [9, 16, 17, 18, 36, 37, 38, 39, 40, 91],\n\t translation: {\n\t '0': {pattern: /\\d/},\n\t '9': {pattern: /\\d/, optional: true},\n\t '#': {pattern: /\\d/, recursive: true},\n\t 'A': {pattern: /[a-zA-Z0-9]/},\n\t 'S': {pattern: /[a-zA-Z]/}\n\t }\n\t };\n\t\n\t $.jMaskGlobals = $.jMaskGlobals || {};\n\t globals = $.jMaskGlobals = $.extend(true, {}, globals, $.jMaskGlobals);\n\t\n\t // looking for inputs with data-mask attribute\n\t if (globals.dataMask) {\n\t $.applyDataMask();\n\t }\n\t\n\t setInterval(function() {\n\t if ($.jMaskGlobals.watchDataMask) {\n\t $.applyDataMask();\n\t }\n\t }, globals.watchInterval);\n\t}, __webpack_provided_window_dot_jQuery, window.Zepto));\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ })\n]);\n\n\n// WEBPACK FOOTER //\n// rsvp.min.js","import common from './common';\r\nimport Module from './module';\r\nimport Util from './lib/util';\r\n\r\nclass Rsvp extends Module {\r\n init() {\r\n return super.init().then(() => this.emit('init'));\r\n }\r\n\r\n bindEvents() {\r\n $('.nha-contact-form-wrapper').on('click.validate focusin.validate focusout.validate keyup.validate', e => this.onFormChanged(e));\r\n $('.nha-contact-form-wrapper').on('focusout.validate', Util.debounce(e => this.onFormBlurred(e)));\r\n }\r\n\r\n onFormBlurred(e) {\r\n $(e.target).valid(); // validate the field that was blurred\r\n this.onFormChanged(e);\r\n }\r\n\r\n onFormChanged(e) {\r\n $('.nha-form-control').each((e, el) => {\r\n let field = $(el);\r\n let group = field.closest('.nha-form-group');\r\n\r\n group.removeClass('nha-form-error');\r\n if (field.hasClass('input-validation-error') && !field.hasClass('valid')) {\r\n $('#rsvp-submit-btn').removeAttr('disabled');\r\n group.addClass('nha-form-error');\r\n }\r\n })\r\n }\r\n}\r\n\r\nconst rsvp = new Rsvp();\r\n\r\ncommon.on('init', () => rsvp.init());\r\n\r\nexport default rsvp;\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./wwwroot/js/app/rsvp.js","// import $ from 'jquery';\r\nimport Module from './module';\r\nimport Util, { ViewPort } from './lib/util';\r\nimport 'modaal/dist/js/modaal.min.js';\r\nimport mask from 'jquery-mask-plugin';\r\n\r\nconst SCHOOL_PATTERN = /\\/schools\\/([\\w-]+)\\/*/ig;\r\n\r\n/**\r\n * @class Common\r\n * @extends {Module}\r\n */\r\nclass Common extends Module {\r\n\r\n\tconstructor(options) {\r\n\t\tsuper(options);\r\n\r\n\t\twindow.dynamicModal = [];\r\n\t\tthis.$transparencyExpanded = $('.nha-transparency-report-expanded');\r\n\t}\r\n\r\n\tinit() {\r\n\t\t// sub-modules must emit an `init` event\r\n\t\treturn super.init().then(e => this.emit('init', e));\r\n\t}\r\n\r\n\tmain() {\r\n\t\tthis.mobilePagination();\r\n\t\tthis.modalIframe();\r\n\t\tthis.modalInline();\r\n\t\tthis.modalAuthor();\r\n\t\tthis.setBodyPadding();\r\n\t}\r\n\r\n\t/**\r\n\t * @listens window#load\r\n\t * @listens window#resize\r\n\t * @memberof Common\r\n\t */\r\n\tbindEvents() {\r\n\t\tsuper.bindEvents();\r\n\r\n\t\t// phone mask\r\n\t\t$('.nha-form-control.nha-phone-mask').mask('(000) 000-0000');\r\n\r\n\t\t// corporate header search desktop\r\n\t\t$('.nha-header-search-btn').on('click', e => {\r\n\t\t\te.stopPropagation();\r\n\t\t\tlet target = $(e.currentTarget);\r\n\r\n\t\t\ttarget.parent('li').addClass('nha-search-expanded');\r\n\t\t\t$('.nha-header-search-input input').focus();\r\n\t\t});\r\n\r\n\t\t$('#header-right-search').on('click', e => {\r\n\t\t\te.stopPropagation();\r\n\t\t});\r\n\r\n\t\t$(document.body).on('click', e => {\r\n\t\t\t$('.nha-search-expanded').removeClass('nha-search-expanded');\r\n\t\t});\r\n\r\n\t\t$('.nha-live-chat-tab').on('click', e => { $(\".lebtn div\").trigger(\"click\") });\r\n\r\n\t\t$('.nha-nav-primary > li > ul > li a').on('keydown', e => { this.closingNav(e) });\r\n\r\n\r\n\t\t//aria tags\r\n\t\tthis.initAriaExpanded();\r\n\r\n\t\tvar navObserver = new ResizeObserver(function (mutations) {\r\n\t\t\tvar targetElements = $('.nha-nav-primary > li > ul');\r\n\t\t\ttargetElements.each(function() {\r\n\t\t\t\tvar height = $(this).height();\r\n\t\t\t\tif (height > 0) {\r\n\t\t\t\t\t$(this).prev().attr('aria-expanded', 'true');\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$(this).prev().attr('aria-expanded', 'false');\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t});\r\n\t\r\n\t\r\n\t\t//start observing\r\n\t\t$('.nha-nav-primary > li > ul').each(function() {\r\n\t\t\tnavObserver.observe(this);\r\n\t\t});\r\n\r\n\t\t// mobile nav\r\n\t\t$('.nha-nav-toggle').on('click', e => { this.mobileNav(e) });\r\n\t\t$('.nha-nav .nha-nav-top-item').on('click', e => { this.mobileNavItem(e) });\r\n\t\t$('.nha-nav .nha-nav-top-item').on('keydown', e => { this.tabbingNav(e) });\r\n\r\n\t\t$(document).on('keydown', function(event) {\r\n\t\t\tvar target = $('.nha-nav-toggle');\r\n\t\t\tif (event.key === \"Escape\" && target.hasClass('open')) {\r\n\t\t\t\ttarget.toggleClass('open');\r\n\t\t\t\t$('.nha-nav').toggleClass('open').css('visibility', 'visible');\r\n\t\t\t}\r\n\t\t})\r\n\r\n\t\t$('.nha-transparency-report-expanded .nha-btn').on('click', e => { this.$transparencyExpanded.fadeOut(); });\r\n\r\n\t\t$(document).on('keyup', function(event) {\r\n\t\t\tif (event.key === \"Enter\" && $('.nha-education-circle').is(\":focus\")) {\r\n\t\t\t\t$('.nha-transparency-report-expanded').fadeIn();\r\n\t\t\t\t$('.nha-transparency-report-expanded').find('a').trigger('focus')\r\n\t\t\t} \r\n\t\t})\r\n\r\n\t\t$('.nha-education-circle-link').on('click', e => {\r\n\t\t\tthis.$transparencyExpanded.fadeIn();\r\n\t\t\tthis.$transparencyExpanded.find('.nha-btn').focus();\r\n\t\t});\r\n\r\n\t\t$('.nha-education-circle').on('click', e => {\r\n\t\t\tthis.$transparencyExpanded.fadeIn();\r\n\t\t\tthis.$transparencyExpanded.find('.nha-btn').focus();\r\n\t\t});\r\n\r\n\t\t$(window).on('scroll', e => { this.$transparencyExpanded.fadeOut(); });\r\n\r\n\t\t$(window).on('resize', Util.debounce(e => this.onResize(e)));\r\n\t}\r\n\r\n\t/**\r\n\t * Parses the url for the culture code\r\n\t * @memberof Common\r\n\t * @returns {string} The two-letter cultureCode\r\n\t */\r\n\tgetCultureCode() {\r\n\t\tconst path = window.location.pathname + '/'\r\n\r\n\t\tif (this.isSchoolSite) {\r\n\t\t\tlet matches = /\\/schools\\/([\\w-]+)\\/*/ig.exec(path)\r\n\r\n\t\t\tif (matches != null) {\r\n\t\t\t\tconst index = matches[0].length\r\n\t\t\t\treturn Util.trim(path.substring(index, path.indexOf('/', index)), '/');\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tlet matches = /\\/(en|es)/gi.exec(path);\r\n\t\t\tif (matches != null) return Util.trim(matches[0], '/');\r\n\t\t}\r\n\t}\r\n\r\n\tget isSchoolSite() {\r\n\t\treturn SCHOOL_PATTERN.test(window.location.pathname);\r\n\t}\r\n\r\n\t/**\r\n\t * Called when the window is resized (after being debounced)\r\n\t * \r\n\t * @param {ResizeEvent} e \r\n\t * @memberof Common\r\n\t */\r\n\tonResize(e) {\r\n\t\tif (Util.checkWidth() === ViewPort.Desktop) {\r\n\t\t\t// reset mobile nav\r\n\t\t\t$('.nha-nav .nha-nav-top-item').removeClass('open');\r\n\t\t\t$('.nha-nav .nha-nav-primary > li ul').removeAttr('style');\r\n\t\t\t$('.nha-nav-toggle').removeClass('open');\r\n\t\t\t$('.nha-nav').removeClass('open').removeAttr('style');\r\n\t\t}\r\n\r\n\t\tthis.mobilePagination();\r\n\r\n\t\tthis.setBodyPadding();\r\n\t}\r\n\r\n\tinitAriaExpanded() {\r\n\t\tvar menuItems = $('.nha-nav-top-item');\r\n\t\tmenuItems.each(function() {\r\n $(this).attr('aria-expanded', 'false');\r\n });\r\n\t}\r\n\r\n\tmobileNav(e) {\r\n\t\tvar target = $(e.currentTarget);\r\n\r\n\t\ttarget.toggleClass('open');\r\n\t\t$('.nha-nav').toggleClass('open').css('visibility', 'visible');\r\n\t}\r\n\r\n\tmobileNavItem(e) {\r\n\t\tvar target = $(e.currentTarget);\r\n\r\n\t\tif (Util.checkWidth() !== 'desktop') {\r\n\t\t\ttarget.toggleClass('open');\r\n\t\t\ttarget.closest('li').find('ul').slideToggle();\r\n\t\t}\r\n\t}\r\n\r\n\tsetBodyPadding() {\r\n\t\tif (Util.checkWidth() !== ViewPort.Desktop) {\r\n\t\t\tlet headerHeight = $('.nha-header-schools').outerHeight();\r\n\t\t\t$('body').css('padding-top', headerHeight);\r\n\t\t}\r\n\t\telse {\r\n\t\t\t$('body').removeAttr('style');\r\n\t\t}\r\n\t}\r\n\r\n\ttabbingNav(e) {\r\n\t\tlet target = $(e.currentTarget);\r\n\t\tlet children = target.parent().find('ul li a');\r\n\t\t\r\n\t\tif ((e.key === \"enter\" || e.keyCode === 13) && target.parent().find('ul').length > 0) {\r\n\t\t\te.preventDefault();\r\n\t\t\tthis.mobileNavItem(e);\r\n\t\t\ttarget.parent().addClass('focused');\r\n\r\n\t\t\t\r\n\t\t\tfor (var child of children) {\r\n\t\t\t\t$(child).removeAttr('tabindex');\r\n\t\t\t}\r\n\r\n\t\t\tif (target.parent().hasClass('focused')) {\r\n\t\t\t\t//target.unbind(e);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tlet $activeElem = $(document.activeElement);\r\n\t\tlet $prevItem = $activeElem.parent().prev();\r\n\r\n\t\tif (e.shiftKey && e.keyCode === 9 || e.keyCode === 27) {\r\n\t\t\tfor (var child of $activeElem.parent().prev().find('ul li a')) {\r\n\t\t\t\t$(child).attr('tabindex', '-1');\r\n\t\t\t}\r\n\r\n\t\t\tfor (var child of $activeElem.parent().find('ul li a')) {\r\n\t\t\t\t$(child).attr('tabindex', '-1');\r\n\t\t\t}\r\n\r\n\t\t\t$('.nha-nav .nha-nav-primary > li').removeClass('focused');\r\n\t\t\t\r\n\t\t}\r\n\r\n\t\tif ($prevItem.hasClass('focused')) {\r\n\t\t\t$prevItem.removeClass('focused');\r\n\t\t}\r\n\t}\r\n\r\n\tclosingNav(e) {\r\n\t\tlet target = $(e.currentTarget);\r\n\t\tlet menuItem = target.parent().parent().parent();\r\n\r\n\t\tif (e.keyCode === 27) {\r\n\t\t\te.preventDefault();\r\n\t\t\ttarget.blur();\r\n\r\n\t\t\tlet children = target.parent().parent().children().find('a');\r\n\r\n\t\t\tif (children !== undefined) {\r\n\t\t\t\tfor (var child of children) {\r\n\t\t\t\t\t$(child).attr('tabindex', '-1');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t$('.nha-nav .nha-nav-primary > li').removeClass('focused');\r\n\t\t\tmenuItem.attr('tabindex', '-1');\r\n\t\t\tmenuItem.find('a.nha-nav-top-item').focus();\r\n\t\t}\r\n\r\n\t}\r\n\r\n\tmobilePagination() {\r\n\t\tif ($('.nha-pagination .js-li-pagination-number ').length > 3) {\r\n\t\t\tif ($('.js-li-pagination-number.active').prev().hasClass('nha-pagination-previous')) {\r\n\t\t\t\t$('.js-li-pagination-number.active').next().addClass('nha-page-show-mobile');\r\n\t\t\t\t$('.js-li-pagination-number.active').next().next().addClass('nha-page-show-mobile');\r\n\t\t\t}\r\n\t\t\telse if ($('.js-li-pagination-number.active').next().hasClass('nha-pagination-next')) {\r\n\t\t\t\t$('.js-li-pagination-number.active').prev().addClass('nha-page-show-mobile');\r\n\t\t\t\t$('.js-li-pagination-number.active').prev().prev().addClass('nha-page-show-mobile');\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t$('.js-li-pagination-number.active').prev().addClass('nha-page-show-mobile');\r\n\t\t\t\t$('.js-li-pagination-number.active').next().addClass('nha-page-show-mobile');\r\n\t\t\t}\t\r\n\t\t}\r\n\t}\r\n\r\n\tmodalInline() {\r\n\t\t$('.modal-inline').modaal({\r\n\t\t\ttype: 'inline',\r\n\t\t\twidth: 725,\r\n\t\t\tbackground_scroll: false,\r\n\t\t\tbefore_open: function () {\r\n\t\t\t\tif (Util.checkWidth() !== ViewPort.Desktop) {\r\n\t\t\t\t\t$('body').css('position', 'fixed');\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tafter_open: function () {\r\n\t\t\t},\r\n\t\t\tafter_close: function () {\r\n\t\t\t\t$('body').removeAttr('style');\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tmodalAuthor() {\r\n\t\t$('.modal-author').modaal({\r\n\t\t\ttype: 'inline',\r\n\t\t\twidth: 725,\r\n\t\t\tcustom_class: 'nha-profile-modal',\r\n\t\t\tbackground_scroll: false,\r\n\t\t\tbefore_open: function () {\r\n\t\t\t\tif (Util.checkWidth() !== ViewPort.Desktop) {\r\n\t\t\t\t\t$('body').css('position', 'fixed');\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tafter_open: function () {\r\n\t\t\t},\r\n\t\t\tafter_close: function () {\r\n\t\t\t\t$('body').removeAttr('style');\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t$(window).bind('orientationchange', function (event) {\r\n\t\t\tif ($('.modaal-wrapper').length) {\r\n\t\t\t\t$('.modal-inline').modaal('close');\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n\tmodalIframe() {\r\n\t\tvar IFrame;\r\n\r\n\t\t$('.modal-iframe').modaal({\r\n\t\t\ttype: 'iframe',\r\n\t\t\twidth: 600,\r\n\t\t\tbackground_scroll: false,\r\n\t\t\tbefore_open: function () {\r\n\t\t\t\tif (Util.checkWidth() !== ViewPort.Desktop) {\r\n\t\t\t\t\t$('body').css('position', 'fixed');\r\n\t\t\t\t\t$('.modaal-wrapper').addClass('modal-scrollfix');\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tafter_open: function () {\r\n\t\t\t\tIFrame = iFrameResize({\r\n\t\t\t\t\theightCalculationMethod: 'lowestElement'\r\n\t\t\t\t}, 'iframe.modaal-iframe-elem');\r\n\r\n\t\t\t\t$('.modaal-wrapper').removeClass('modal-scrollfix');\r\n\t\t\t\t$('body').css('overflow', 'hidden').css('position', 'relative');\r\n\t\t\t},\r\n\t\t\tafter_close: function () {\r\n\t\t\t\tIFrame[0].iFrameResizer.close();\r\n\t\t\t\t$('body').removeAttr('style');\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n}\r\n\r\n// create an instance to export for other modules to reference\r\nconst common = new Common();\r\n\r\nexport default common;\n\n\n// WEBPACK FOOTER //\n// ./wwwroot/js/app/common.js","import EventEmitter from 'events';\r\n\r\n/**\r\n * Emitted when a Module resolve from Module.init(). All sub-modules are required to emit this event.\r\n * @event Module#init\r\n * \r\n */\r\n\r\n/**\r\n * A Module privodes a scope for controller logic within a page. Inspired by the Revealing Pattern\r\n * \r\n * @class Module\r\n * @extends {EventEmitter}\r\n * @property {boolean} initialized Indicates if the module has been initialized, ie. the module emitted the `init` event\r\n */\r\nclass Module extends EventEmitter {\r\n\r\n\t/**\r\n * Creates an instance of Module.\r\n * @param {object} [options={}] \r\n * @memberof Module\r\n */\r\n\tconstructor(options) {\r\n\t\tsuper();\r\n\t\tthis._options = Object.assign({}, options);\r\n\r\n\t\tthis.initialized = false;\r\n\t}\r\n\r\n\t/**\r\n * Bind events to the module. These could be DOM events, service events, or module events, etc. Should be overriden by sub-classes.\r\n * \r\n\t * @override\r\n * @memberof Module\r\n\t * @listens Module#init\r\n */\r\n\tbindEvents() { }\r\n\r\n\t_bindEvents() {\r\n\t\tthis.on('init', e => {\r\n\t\t\tthis.initialized = true;\r\n\t\t\tthis.main();\r\n\t\t});\r\n\t}\r\n\r\n\t/**\r\n * Initializes the module. Any sub-module must override this method to emit an `init` event\r\n * \r\n * @returns {Promise.} A promise that resolves when initialization is finished\r\n * @memberof Module\r\n */\r\n\tinit() {\r\n\t\treturn new Promise(resolve => {\r\n\r\n\t\t\tthis._bindEvents();\r\n\t\t\tthis.bindEvents();\r\n\r\n\t\t\t// other work\r\n\r\n\t\t\treturn resolve();\r\n\t\t})\r\n\t}\r\n\r\n\t/**\r\n\t * Called when the `init` event is emitted. Should be overriden by sub-classes.\r\n\t * \r\n\t * @override\r\n\t * @memberof Module\r\n\t */\r\n\tmain() { }\r\n}\r\n\r\nexport default Module\n\n\n// WEBPACK FOOTER //\n// ./wwwroot/js/app/module.js","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n args = Array.prototype.slice.call(arguments, 1);\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n args = Array.prototype.slice.call(arguments, 1);\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.prototype.listenerCount = function(type) {\n if (this._events) {\n var evlistener = this._events[type];\n\n if (isFunction(evlistener))\n return 1;\n else if (evlistener)\n return evlistener.length;\n }\n return 0;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n return emitter.listenerCount(type);\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/events/events.js\n// module id = 4\n// module chunks = 0 1 2 3 4 5 6 7 8 9 10 11 12 14","/*!\n\tModaal - accessible modals - v0.3.1\n\tby Humaan, for all humans.\n\thttp://humaan.com\n */\n!function(a){var t='
',o={init:function(t,o){var e=this;e.dom=a(\"body\"),e.$elem=a(o),e.options=a.extend({},a.fn.modaal.options,e.$elem.data(),t),e.xhr=null,e.scope={is_open:!1,id:\"modaal_\"+(new Date).getTime()+Math.random().toString(16).substring(2)},e.$elem.attr(\"data-modaal-scope\",e.scope.id),e.private_options={active_class:\"is_active\"},e.lastFocus=null,e.options.is_locked||\"confirm\"==e.options.type||e.options.hide_close?e.scope.close_btn=\"\":e.scope.close_btn='\",\"none\"===e.options.animation&&(e.options.animation_speed=0,e.options.after_callback_delay=0),a(o).on(\"click.Modaal\",function(a){a.preventDefault();var t;if(e.lastFocus=document.activeElement,e.options.should_open!==!1&&(\"function\"!=typeof e.options.should_open||e.options.should_open()!==!1)){switch(e.options.before_open.call(e,a),e.options.type){case\"inline\":e.create_basic();break;case\"ajax\":t=e.options.source(e.$elem,e.$elem.attr(\"href\")),e.fetch_ajax(t);break;case\"confirm\":e.options.is_locked=!0,e.create_confirm();break;case\"image\":e.create_image();break;case\"iframe\":t=e.options.source(e.$elem,e.$elem.attr(\"href\")),e.create_iframe(t);break;case\"video\":e.create_video(e.$elem.attr(\"href\"));break;case\"instagram\":e.create_instagram()}e.watch_events()}}),e.options.start_open===!0&&a(o).click()},watch_events:function(){var t=this;t.dom.off(\"click.Modaal keyup.Modaal keydown.Modaal\"),t.dom.on(\"keydown.Modaal\",function(o){var e=o.keyCode,i=o.target;9==e&&t.scope.is_open&&(a.contains(document.getElementById(t.scope.id),i)||a(\"#\"+t.scope.id).find('*[tabindex=\"0\"]').focus())}),t.dom.on(\"keyup.Modaal\",function(o){var e=o.keyCode,i=o.target;return o.shiftKey&&9==o.keyCode&&t.scope.is_open&&(a.contains(document.getElementById(t.scope.id),i)||a(\"#\"+t.scope.id).find(\".modaal-close\").focus()),!t.options.is_locked&&27==e&&t.scope.is_open?a(document.activeElement).is(\"input:not(:checkbox):not(:radio)\")?!1:void t.modaal_close():\"image\"==t.options.type?(37==e&&t.scope.is_open&&!a(\"#\"+t.scope.id+\" .modaal-gallery-prev\").hasClass(\"is_hidden\")&&t.gallery_update(\"prev\"),void(39==e&&t.scope.is_open&&!a(\"#\"+t.scope.id+\" .modaal-gallery-next\").hasClass(\"is_hidden\")&&t.gallery_update(\"next\"))):void 0}),t.dom.on(\"click.Modaal\",function(o){var e=a(o.target);if(!t.options.is_locked&&(t.options.overlay_close&&e.is(\".modaal-inner-wrapper\")||e.is(\".modaal-close\")||e.closest(\".modaal-close\").length))return void t.modaal_close();if(e.is(\".modaal-confirm-btn\"))return e.is(\".modaal-ok\")&&t.options.confirm_callback.call(t,t.lastFocus),e.is(\".modaal-cancel\")&&t.options.confirm_cancel_callback.call(t,t.lastFocus),void t.modaal_close();if(e.is(\".modaal-gallery-control\")){if(e.hasClass(\"is_hidden\"))return;return e.is(\".modaal-gallery-prev\")&&t.gallery_update(\"prev\"),void(e.is(\".modaal-gallery-next\")&&t.gallery_update(\"next\"))}})},build_modal:function(a){var t=this,o=\"\";\"instagram\"==t.options.type&&(o=\" modaal-instagram\");var e,i=\"video\"==t.options.type?\"modaal-video-wrap\":\"modaal-content\";switch(t.options.animation){case\"fade\":e=\" modaal-start_fade\";break;case\"slide-down\":e=\" modaal-start_slidedown\";break;default:e=\" modaal-start_none\"}var l=\"\";t.options.fullscreen&&(l=\" modaal-fullscreen\"),\"\"===t.options.custom_class&&\"undefined\"==typeof t.options.custom_class||(t.options.custom_class=\" \"+t.options.custom_class);var s=\"\";t.options.width&&t.options.height&&\"number\"==typeof t.options.width&&\"number\"==typeof t.options.height?s=' style=\"max-width:'+t.options.width+\"px;height:\"+t.options.height+'px;overflow:auto;\"':t.options.width&&\"number\"==typeof t.options.width?s=' style=\"max-width:'+t.options.width+'px;\"':t.options.height&&\"number\"==typeof t.options.height&&(s=' style=\"height:'+t.options.height+'px;overflow:auto;\"'),(\"image\"==t.options.type||\"video\"==t.options.type||\"instagram\"==t.options.type||t.options.fullscreen)&&(s=\"\");var n='
';\"video\"!=t.options.type&&(n+='
\"),n+='
',n+=\"inline\"==t.options.type?'
':a,n+=\"
\"+t.scope.close_btn,\"video\"!=t.options.type&&(n+=\"
\"),n+=\"
\",t.dom.append(n),\"inline\"==t.options.type&&a.appendTo(\"#\"+t.scope.id+\" .modaal-content-container\"),t.modaal_overlay(\"show\")},create_basic:function(){var t=this,o=t.$elem.is(\"[href]\")?a(t.$elem.attr(\"href\")):t.$elem,e=\"\";o.length?(e=o.contents().clone(!0,!0),o.empty()):e=\"Content could not be loaded. Please check the source and try again.\",t.build_modal(e)},create_instagram:function(){var t=this,o=t.options.instagram_id,e=\"\",i=\"Instagram photo couldn't be loaded, please check the embed code and try again.\";if(t.build_modal('
'+t.options.loading_content+\"
\"),\"\"!=o&&null!==o&&void 0!==o){var l=\"https://api.instagram.com/oembed?url=http://instagr.am/p/\"+o+\"/\";a.ajax({url:l,dataType:\"jsonp\",cache:!1,success:function(o){e=o.html;var i=a(\"#\"+t.scope.id+\" .modaal-content-container\");i.length>0&&(i.removeClass(t.options.loading_class),i.html(e),window.instgrm.Embeds.process())},error:function(){e=i;var o=a(\"#\"+t.scope.id+\" .modaal-content-container\");o.length>0&&(o.removeClass(t.options.loading_class).addClass(t.options.ajax_error_class),o.html(e))}})}else e=i;return!1},fetch_ajax:function(t){var o=this;null==o.options.accessible_title&&(o.options.accessible_title=\"Dialog Window\"),null!==o.xhr&&(o.xhr.abort(),o.xhr=null),o.build_modal('
'+o.options.loading_content+\"
\"),o.xhr=a.ajax(t,{success:function(t){var e=a(\"#\"+o.scope.id).find(\".modaal-content-container\");e.length>0&&(e.removeClass(o.options.loading_class),e.html(t),o.options.ajax_success.call(o,e))},error:function(t){if(\"abort\"!=t.statusText){var e=a(\"#\"+o.scope.id+\" .modaal-content-container\");e.length>0&&(e.removeClass(o.options.loading_class).addClass(o.options.ajax_error_class),e.html(\"Content could not be loaded. Please check the source and try again.\"))}}})},create_confirm:function(){var a,t=this;a='

'+t.options.confirm_title+'

'+t.options.confirm_content+'
\",t.build_modal(a)},create_image:function(){var t,o,e=this,i=\"\",l='',s='';if(e.$elem.is(\"[rel]\")){var n=e.$elem.attr(\"rel\"),d=a('[rel=\"'+n+'\"]');d.removeAttr(\"data-gallery-active\",\"is_active\"),e.$elem.attr(\"data-gallery-active\",\"is_active\"),o=d.length-1;var r=[];i='\"}i+=\"\"+l+s}else{var _=e.$elem.attr(\"href\"),v=\"\",f=\"\",p=\"\";e.$elem.attr(\"data-modaal-desc\")?(p=e.$elem.attr(\"data-modaal-desc\"),v=e.$elem.attr(\"data-modaal-desc\"),f='\"):p=\"Image with no description\",i='\"}t=i,e.build_modal(t),a(\".modaal-gallery-item.is_active\").is(\".gallery-item-0\")&&a(\".modaal-gallery-prev\").hide(),a(\".modaal-gallery-item.is_active\").is(\".gallery-item-\"+o)&&a(\".modaal-gallery-next\").hide()},gallery_update:function(t){var o=this,e=a(\"#\"+o.scope.id),i=e.find(\".modaal-gallery-item\"),l=i.length-1;if(0==l)return!1;var s=e.find(\".modaal-gallery-prev\"),n=e.find(\".modaal-gallery-next\"),d=250,r=0,c=0,m=e.find(\".modaal-gallery-item.\"+o.private_options.active_class),p=\"next\"==t?m.next(\".modaal-gallery-item\"):m.prev(\".modaal-gallery-item\");return o.options.before_image_change.call(o,m,p),\"prev\"==t&&e.find(\".gallery-item-0\").hasClass(\"is_active\")?!1:\"next\"==t&&e.find(\".gallery-item-\"+l).hasClass(\"is_active\")?!1:void m.stop().animate({opacity:0},d,function(){p.addClass(\"is_next\").css({position:\"absolute\",display:\"block\",opacity:0});var t=a(document).width(),i=t>1140?280:50;r=e.find(\".modaal-gallery-item.is_next\").width(),c=e.find(\".modaal-gallery-item.is_next\").height();var _=e.find(\".modaal-gallery-item.is_next img\").prop(\"naturalWidth\"),v=e.find(\".modaal-gallery-item.is_next img\").prop(\"naturalHeight\");_>t-i?(r=t-i,e.find(\".modaal-gallery-item.is_next\").css({width:r}),e.find(\".modaal-gallery-item.is_next img\").css({width:r}),c=e.find(\".modaal-gallery-item.is_next\").find(\"img\").height()):(r=_,c=v),e.find(\".modaal-gallery-item-wrap\").stop().animate({width:r,height:c},d,function(){m.removeClass(o.private_options.active_class+\" \"+o.options.gallery_active_class).removeAttr(\"style\"),m.find(\"img\").removeAttr(\"style\"),p.addClass(o.private_options.active_class+\" \"+o.options.gallery_active_class).removeClass(\"is_next\").css(\"position\",\"\"),p.stop().animate({opacity:1},d,function(){a(this).removeAttr(\"style\").css({width:\"100%\"}),a(this).find(\"img\").css(\"width\",\"100%\"),e.find(\".modaal-gallery-item-wrap\").removeAttr(\"style\"),o.options.after_image_change.call(o,p)}),e.find(\".modaal-gallery-item\").removeAttr(\"tabindex\"),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).attr(\"tabindex\",\"0\").focus(),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).is(\".gallery-item-0\")?s.stop().animate({opacity:0},150,function(){a(this).hide()}):s.stop().css({display:\"block\",opacity:s.css(\"opacity\")}).animate({opacity:1},150),e.find(\".modaal-gallery-item.\"+o.private_options.active_class).is(\".gallery-item-\"+l)?n.stop().animate({opacity:0},150,function(){a(this).hide()}):n.stop().css({display:\"block\",opacity:s.css(\"opacity\")}).animate({opacity:1},150)})})},create_video:function(a){var t,o=this;t='',o.build_modal('
'+t+\"
\")},create_iframe:function(a){var t,o=this;t=null!==o.options.width||void 0!==o.options.width||null!==o.options.height||void 0!==o.options.height?'':'
Please specify a width and height for your iframe
',o.build_modal(t)},modaal_open:function(){var t=this,o=a(\"#\"+t.scope.id),e=t.options.animation;\"none\"===e&&(o.removeClass(\"modaal-start_none\"),t.options.after_open.call(t,o)),\"fade\"===e&&o.removeClass(\"modaal-start_fade\"),\"slide-down\"===e&&o.removeClass(\"modaal-start_slide_down\");var i=o;a(\".modaal-wrapper *[tabindex=0]\").removeAttr(\"tabindex\"),i=\"image\"==t.options.type?a(\"#\"+t.scope.id).find(\".modaal-gallery-item.\"+t.private_options.active_class):o.find(\".modaal-iframe-elem\").length?o.find(\".modaal-iframe-elem\"):o.find(\".modaal-video-wrap\").length?o.find(\".modaal-video-wrap\"):o.find(\".modaal-focus\"),i.attr(\"tabindex\",\"0\").focus(),\"none\"!==e&&setTimeout(function(){t.options.after_open.call(t,o)},t.options.after_callback_delay)},modaal_close:function(){var t=this,o=a(\"#\"+t.scope.id);t.options.before_close.call(t,o),null!==t.xhr&&(t.xhr.abort(),t.xhr=null),\"none\"===t.options.animation&&o.addClass(\"modaal-start_none\"),\"fade\"===t.options.animation&&o.addClass(\"modaal-start_fade\"),\"slide-down\"===t.options.animation&&o.addClass(\"modaal-start_slide_down\"),setTimeout(function(){\"inline\"==t.options.type&&a(\"#\"+t.scope.id+\" .modaal-content-container\").contents().clone(!0,!0).appendTo(t.$elem.attr(\"href\")),o.remove(),t.options.after_close.call(t),t.scope.is_open=!1},t.options.after_callback_delay),t.modaal_overlay(\"hide\"),null!=t.lastFocus&&t.lastFocus.focus()},modaal_overlay:function(t){var o=this;\"show\"==t?(o.scope.is_open=!0,o.options.background_scroll||o.dom.addClass(\"modaal-noscroll\"),o.dom.append('
'),a(\"#\"+o.scope.id+\"_overlay\").css(\"background\",o.options.background).stop().animate({opacity:o.options.overlay_opacity},o.options.animation_speed,function(){o.modaal_open()})):\"hide\"==t&&(o.dom.removeClass(\"modaal-noscroll\"),a(\"#\"+o.scope.id+\"_overlay\").stop().animate({opacity:0},o.options.animation_speed,function(){a(this).remove()}))}};a.fn.modaal=function(t){return this.each(function(){var e=a(this).data(\"modaal\");if(e){if(\"string\"==typeof t)switch(t){case\"close\":e.modaal_close()}}else{var i=Object.create(o);i.init(t,this),a.data(this,\"modaal\",i)}})},a.fn.modaal.options={type:\"inline\",animation:\"fade\",animation_speed:300,after_callback_delay:350,is_locked:!1,hide_close:!1,background:\"#000\",overlay_opacity:\"0.8\",overlay_close:!0,accessible_title:\"Dialog Window\",start_open:!1,fullscreen:!1,custom_class:\"\",background_scroll:!1,should_open:!0,close_text:\"Close\",close_aria_label:\"Close (Press escape to close)\",width:null,height:null,before_open:function(){},after_open:function(){},before_close:function(){},after_close:function(){},source:function(a,t){return t},confirm_button_text:\"Confirm\",confirm_cancel_button_text:\"Cancel\",confirm_title:\"Confirm Title\",confirm_content:\"

This is the default confirm dialog content. Replace me through the options

\",confirm_callback:function(){},confirm_cancel_callback:function(){},gallery_active_class:\"gallery_active_item\",before_image_change:function(a,t){},after_image_change:function(a){},loading_content:t,loading_class:\"is_loading\",ajax_error_class:\"modaal-error\",ajax_success:function(){},instagram_id:null},a(function(){var t=a(\".modaal\");t.length&&t.each(function(){var t=a(this),o={},e=!1;t.attr(\"data-modaal-type\")&&(e=!0,o.type=t.attr(\"data-modaal-type\")),t.attr(\"data-modaal-animation\")&&(e=!0,o.animation=t.attr(\"data-modaal-animation\")),t.attr(\"data-modaal-animation-speed\")&&(e=!0,o.animation_speed=t.attr(\"data-modaal-animation-speed\")),t.attr(\"data-modaal-after-callback-delay\")&&(e=!0,o.after_callback_delay=t.attr(\"data-modaal-after-callback-delay\")),t.attr(\"data-modaal-is-locked\")&&(e=!0,o.is_locked=\"true\"===t.attr(\"data-modaal-is-locked\")),t.attr(\"data-modaal-hide-close\")&&(e=!0,o.hide_close=\"true\"===t.attr(\"data-modaal-hide-close\")),t.attr(\"data-modaal-background\")&&(e=!0,o.background=t.attr(\"data-modaal-background\")),t.attr(\"data-modaal-overlay-opacity\")&&(e=!0,o.overlay_opacity=t.attr(\"data-modaal-overlay-opacity\")),t.attr(\"data-modaal-overlay-close\")&&(e=!0,o.overlay_close=\"false\"!==t.attr(\"data-modaal-overlay-close\")),t.attr(\"data-modaal-accessible-title\")&&(e=!0,o.accessible_title=t.attr(\"data-modaal-accessible-title\")),t.attr(\"data-modaal-start-open\")&&(e=!0,o.start_open=\"true\"===t.attr(\"data-modaal-start-open\")),t.attr(\"data-modaal-fullscreen\")&&(e=!0,o.fullscreen=\"true\"===t.attr(\"data-modaal-fullscreen\")),t.attr(\"data-modaal-custom-class\")&&(e=!0,o.custom_class=t.attr(\"data-modaal-custom-class\")),t.attr(\"data-modaal-close-text\")&&(e=!0,o.close_text=t.attr(\"data-modaal-close-text\")),t.attr(\"data-modaal-close-aria-label\")&&(e=!0,o.close_aria_label=t.attr(\"data-modaal-close-aria-label\")),t.attr(\"data-modaal-background-scroll\")&&(e=!0,o.background_scroll=\"true\"===t.attr(\"data-modaal-background-scroll\")),t.attr(\"data-modaal-width\")&&(e=!0,o.width=parseInt(t.attr(\"data-modaal-width\"))),t.attr(\"data-modaal-height\")&&(e=!0,o.height=parseInt(t.attr(\"data-modaal-height\"))),t.attr(\"data-modaal-confirm-button-text\")&&(e=!0,o.confirm_button_text=t.attr(\"data-modaal-confirm-button-text\")),t.attr(\"data-modaal-confirm-cancel-button-text\")&&(e=!0,o.confirm_cancel_button_text=t.attr(\"data-modaal-confirm-cancel-button-text\")),t.attr(\"data-modaal-confirm-title\")&&(e=!0,o.confirm_title=t.attr(\"data-modaal-confirm-title\")),t.attr(\"data-modaal-confirm-content\")&&(e=!0,o.confirm_content=t.attr(\"data-modaal-confirm-content\")),t.attr(\"data-modaal-gallery-active-class\")&&(e=!0,o.gallery_active_class=t.attr(\"data-modaal-gallery-active-class\")),t.attr(\"data-modaal-loading-content\")&&(e=!0,o.loading_content=t.attr(\"data-modaal-loading-content\")),t.attr(\"data-modaal-loading-class\")&&(e=!0,o.loading_class=t.attr(\"data-modaal-loading-class\")),t.attr(\"data-modaal-ajax-error-class\")&&(e=!0,o.ajax_error_class=t.attr(\"data-modaal-ajax-error-class\")),t.attr(\"data-modaal-instagram-id\")&&(e=!0,o.instagram_id=t.attr(\"data-modaal-instagram-id\")),e&&t.modaal(o)})})}(jQuery,window,document);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/modaal/dist/js/modaal.min.js\n// module id = 9\n// module chunks = 0 1 2 3 4 5 6 7 8 9 10 11 12 14","/**\n * jquery.mask.js\n * @version: v1.14.16\n * @author: Igor Escobar\n *\n * Created by Igor Escobar on 2012-03-10. Please report any bug at github.com/igorescobar/jQuery-Mask-Plugin\n *\n * Copyright (c) 2012 Igor Escobar http://igorescobar.com\n *\n * The MIT License (http://www.opensource.org/licenses/mit-license.php)\n *\n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the \"Software\"), to deal in the Software without\n * restriction, including without limitation the rights to use,\n * copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the\n * Software is furnished to do so, subject to the following\n * conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n * OTHER DEALINGS IN THE SOFTWARE.\n */\n\n/* jshint laxbreak: true */\n/* jshint maxcomplexity:17 */\n/* global define */\n\n// UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.\n// https://github.com/umdjs/umd/blob/master/templates/jqueryPlugin.js\n(function (factory, jQuery, Zepto) {\n\n if (typeof define === 'function' && define.amd) {\n define(['jquery'], factory);\n } else if (typeof exports === 'object' && typeof Meteor === 'undefined') {\n module.exports = factory(require('jquery'));\n } else {\n factory(jQuery || Zepto);\n }\n\n}(function ($) {\n 'use strict';\n\n var Mask = function (el, mask, options) {\n\n var p = {\n invalid: [],\n getCaret: function () {\n try {\n var sel,\n pos = 0,\n ctrl = el.get(0),\n dSel = document.selection,\n cSelStart = ctrl.selectionStart;\n\n // IE Support\n if (dSel && navigator.appVersion.indexOf('MSIE 10') === -1) {\n sel = dSel.createRange();\n sel.moveStart('character', -p.val().length);\n pos = sel.text.length;\n }\n // Firefox support\n else if (cSelStart || cSelStart === '0') {\n pos = cSelStart;\n }\n\n return pos;\n } catch (e) {}\n },\n setCaret: function(pos) {\n try {\n if (el.is(':focus')) {\n var range, ctrl = el.get(0);\n\n // Firefox, WebKit, etc..\n if (ctrl.setSelectionRange) {\n ctrl.setSelectionRange(pos, pos);\n } else { // IE\n range = ctrl.createTextRange();\n range.collapse(true);\n range.moveEnd('character', pos);\n range.moveStart('character', pos);\n range.select();\n }\n }\n } catch (e) {}\n },\n events: function() {\n el\n .on('keydown.mask', function(e) {\n el.data('mask-keycode', e.keyCode || e.which);\n el.data('mask-previus-value', el.val());\n el.data('mask-previus-caret-pos', p.getCaret());\n p.maskDigitPosMapOld = p.maskDigitPosMap;\n })\n .on($.jMaskGlobals.useInput ? 'input.mask' : 'keyup.mask', p.behaviour)\n .on('paste.mask drop.mask', function() {\n setTimeout(function() {\n el.keydown().keyup();\n }, 100);\n })\n .on('change.mask', function(){\n el.data('changed', true);\n })\n .on('blur.mask', function(){\n if (oldValue !== p.val() && !el.data('changed')) {\n el.trigger('change');\n }\n el.data('changed', false);\n })\n // it's very important that this callback remains in this position\n // otherwhise oldValue it's going to work buggy\n .on('blur.mask', function() {\n oldValue = p.val();\n })\n // select all text on focus\n .on('focus.mask', function (e) {\n if (options.selectOnFocus === true) {\n $(e.target).select();\n }\n })\n // clear the value if it not complete the mask\n .on('focusout.mask', function() {\n if (options.clearIfNotMatch && !regexMask.test(p.val())) {\n p.val('');\n }\n });\n },\n getRegexMask: function() {\n var maskChunks = [], translation, pattern, optional, recursive, oRecursive, r;\n\n for (var i = 0; i < mask.length; i++) {\n translation = jMask.translation[mask.charAt(i)];\n\n if (translation) {\n\n pattern = translation.pattern.toString().replace(/.{1}$|^.{1}/g, '');\n optional = translation.optional;\n recursive = translation.recursive;\n\n if (recursive) {\n maskChunks.push(mask.charAt(i));\n oRecursive = {digit: mask.charAt(i), pattern: pattern};\n } else {\n maskChunks.push(!optional && !recursive ? pattern : (pattern + '?'));\n }\n\n } else {\n maskChunks.push(mask.charAt(i).replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'));\n }\n }\n\n r = maskChunks.join('');\n\n if (oRecursive) {\n r = r.replace(new RegExp('(' + oRecursive.digit + '(.*' + oRecursive.digit + ')?)'), '($1)?')\n .replace(new RegExp(oRecursive.digit, 'g'), oRecursive.pattern);\n }\n\n return new RegExp(r);\n },\n destroyEvents: function() {\n el.off(['input', 'keydown', 'keyup', 'paste', 'drop', 'blur', 'focusout', ''].join('.mask '));\n },\n val: function(v) {\n var isInput = el.is('input'),\n method = isInput ? 'val' : 'text',\n r;\n\n if (arguments.length > 0) {\n if (el[method]() !== v) {\n el[method](v);\n }\n r = el;\n } else {\n r = el[method]();\n }\n\n return r;\n },\n calculateCaretPosition: function(oldVal) {\n var newVal = p.getMasked(),\n caretPosNew = p.getCaret();\n if (oldVal !== newVal) {\n var caretPosOld = el.data('mask-previus-caret-pos') || 0,\n newValL = newVal.length,\n oldValL = oldVal.length,\n maskDigitsBeforeCaret = 0,\n maskDigitsAfterCaret = 0,\n maskDigitsBeforeCaretAll = 0,\n maskDigitsBeforeCaretAllOld = 0,\n i = 0;\n\n for (i = caretPosNew; i < newValL; i++) {\n if (!p.maskDigitPosMap[i]) {\n break;\n }\n maskDigitsAfterCaret++;\n }\n\n for (i = caretPosNew - 1; i >= 0; i--) {\n if (!p.maskDigitPosMap[i]) {\n break;\n }\n maskDigitsBeforeCaret++;\n }\n\n for (i = caretPosNew - 1; i >= 0; i--) {\n if (p.maskDigitPosMap[i]) {\n maskDigitsBeforeCaretAll++;\n }\n }\n\n for (i = caretPosOld - 1; i >= 0; i--) {\n if (p.maskDigitPosMapOld[i]) {\n maskDigitsBeforeCaretAllOld++;\n }\n }\n\n // if the cursor is at the end keep it there\n if (caretPosNew > oldValL) {\n caretPosNew = newValL * 10;\n } else if (caretPosOld >= caretPosNew && caretPosOld !== oldValL) {\n if (!p.maskDigitPosMapOld[caretPosNew]) {\n var caretPos = caretPosNew;\n caretPosNew -= maskDigitsBeforeCaretAllOld - maskDigitsBeforeCaretAll;\n caretPosNew -= maskDigitsBeforeCaret;\n if (p.maskDigitPosMap[caretPosNew]) {\n caretPosNew = caretPos;\n }\n }\n }\n else if (caretPosNew > caretPosOld) {\n caretPosNew += maskDigitsBeforeCaretAll - maskDigitsBeforeCaretAllOld;\n caretPosNew += maskDigitsAfterCaret;\n }\n }\n return caretPosNew;\n },\n behaviour: function(e) {\n e = e || window.event;\n p.invalid = [];\n\n var keyCode = el.data('mask-keycode');\n\n if ($.inArray(keyCode, jMask.byPassKeys) === -1) {\n var newVal = p.getMasked(),\n caretPos = p.getCaret(),\n oldVal = el.data('mask-previus-value') || '';\n\n // this is a compensation to devices/browsers that don't compensate\n // caret positioning the right way\n setTimeout(function() {\n p.setCaret(p.calculateCaretPosition(oldVal));\n }, $.jMaskGlobals.keyStrokeCompensation);\n\n p.val(newVal);\n p.setCaret(caretPos);\n return p.callbacks(e);\n }\n },\n getMasked: function(skipMaskChars, val) {\n var buf = [],\n value = val === undefined ? p.val() : val + '',\n m = 0, maskLen = mask.length,\n v = 0, valLen = value.length,\n offset = 1, addMethod = 'push',\n resetPos = -1,\n maskDigitCount = 0,\n maskDigitPosArr = [],\n lastMaskChar,\n check;\n\n if (options.reverse) {\n addMethod = 'unshift';\n offset = -1;\n lastMaskChar = 0;\n m = maskLen - 1;\n v = valLen - 1;\n check = function () {\n return m > -1 && v > -1;\n };\n } else {\n lastMaskChar = maskLen - 1;\n check = function () {\n return m < maskLen && v < valLen;\n };\n }\n\n var lastUntranslatedMaskChar;\n while (check()) {\n var maskDigit = mask.charAt(m),\n valDigit = value.charAt(v),\n translation = jMask.translation[maskDigit];\n\n if (translation) {\n if (valDigit.match(translation.pattern)) {\n buf[addMethod](valDigit);\n if (translation.recursive) {\n if (resetPos === -1) {\n resetPos = m;\n } else if (m === lastMaskChar && m !== resetPos) {\n m = resetPos - offset;\n }\n\n if (lastMaskChar === resetPos) {\n m -= offset;\n }\n }\n m += offset;\n } else if (valDigit === lastUntranslatedMaskChar) {\n // matched the last untranslated (raw) mask character that we encountered\n // likely an insert offset the mask character from the last entry; fall\n // through and only increment v\n maskDigitCount--;\n lastUntranslatedMaskChar = undefined;\n } else if (translation.optional) {\n m += offset;\n v -= offset;\n } else if (translation.fallback) {\n buf[addMethod](translation.fallback);\n m += offset;\n v -= offset;\n } else {\n p.invalid.push({p: v, v: valDigit, e: translation.pattern});\n }\n v += offset;\n } else {\n if (!skipMaskChars) {\n buf[addMethod](maskDigit);\n }\n\n if (valDigit === maskDigit) {\n maskDigitPosArr.push(v);\n v += offset;\n } else {\n lastUntranslatedMaskChar = maskDigit;\n maskDigitPosArr.push(v + maskDigitCount);\n maskDigitCount++;\n }\n\n m += offset;\n }\n }\n\n var lastMaskCharDigit = mask.charAt(lastMaskChar);\n if (maskLen === valLen + 1 && !jMask.translation[lastMaskCharDigit]) {\n buf.push(lastMaskCharDigit);\n }\n\n var newVal = buf.join('');\n p.mapMaskdigitPositions(newVal, maskDigitPosArr, valLen);\n return newVal;\n },\n mapMaskdigitPositions: function(newVal, maskDigitPosArr, valLen) {\n var maskDiff = options.reverse ? newVal.length - valLen : 0;\n p.maskDigitPosMap = {};\n for (var i = 0; i < maskDigitPosArr.length; i++) {\n p.maskDigitPosMap[maskDigitPosArr[i] + maskDiff] = 1;\n }\n },\n callbacks: function (e) {\n var val = p.val(),\n changed = val !== oldValue,\n defaultArgs = [val, e, el, options],\n callback = function(name, criteria, args) {\n if (typeof options[name] === 'function' && criteria) {\n options[name].apply(this, args);\n }\n };\n\n callback('onChange', changed === true, defaultArgs);\n callback('onKeyPress', changed === true, defaultArgs);\n callback('onComplete', val.length === mask.length, defaultArgs);\n callback('onInvalid', p.invalid.length > 0, [val, e, el, p.invalid, options]);\n }\n };\n\n el = $(el);\n var jMask = this, oldValue = p.val(), regexMask;\n\n mask = typeof mask === 'function' ? mask(p.val(), undefined, el, options) : mask;\n\n // public methods\n jMask.mask = mask;\n jMask.options = options;\n jMask.remove = function() {\n var caret = p.getCaret();\n if (jMask.options.placeholder) {\n el.removeAttr('placeholder');\n }\n if (el.data('mask-maxlength')) {\n el.removeAttr('maxlength');\n }\n p.destroyEvents();\n p.val(jMask.getCleanVal());\n p.setCaret(caret);\n return el;\n };\n\n // get value without mask\n jMask.getCleanVal = function() {\n return p.getMasked(true);\n };\n\n // get masked value without the value being in the input or element\n jMask.getMaskedVal = function(val) {\n return p.getMasked(false, val);\n };\n\n jMask.init = function(onlyMask) {\n onlyMask = onlyMask || false;\n options = options || {};\n\n jMask.clearIfNotMatch = $.jMaskGlobals.clearIfNotMatch;\n jMask.byPassKeys = $.jMaskGlobals.byPassKeys;\n jMask.translation = $.extend({}, $.jMaskGlobals.translation, options.translation);\n\n jMask = $.extend(true, {}, jMask, options);\n\n regexMask = p.getRegexMask();\n\n if (onlyMask) {\n p.events();\n p.val(p.getMasked());\n } else {\n if (options.placeholder) {\n el.attr('placeholder' , options.placeholder);\n }\n\n // this is necessary, otherwise if the user submit the form\n // and then press the \"back\" button, the autocomplete will erase\n // the data. Works fine on IE9+, FF, Opera, Safari.\n if (el.data('mask')) {\n el.attr('autocomplete', 'off');\n }\n\n // detect if is necessary let the user type freely.\n // for is a lot faster than forEach.\n for (var i = 0, maxlength = true; i < mask.length; i++) {\n var translation = jMask.translation[mask.charAt(i)];\n if (translation && translation.recursive) {\n maxlength = false;\n break;\n }\n }\n\n if (maxlength) {\n el.attr('maxlength', mask.length).data('mask-maxlength', true);\n }\n\n p.destroyEvents();\n p.events();\n\n var caret = p.getCaret();\n p.val(p.getMasked());\n p.setCaret(caret);\n }\n };\n\n jMask.init(!el.is('input'));\n };\n\n $.maskWatchers = {};\n var HTMLAttributes = function () {\n var input = $(this),\n options = {},\n prefix = 'data-mask-',\n mask = input.attr('data-mask');\n\n if (input.attr(prefix + 'reverse')) {\n options.reverse = true;\n }\n\n if (input.attr(prefix + 'clearifnotmatch')) {\n options.clearIfNotMatch = true;\n }\n\n if (input.attr(prefix + 'selectonfocus') === 'true') {\n options.selectOnFocus = true;\n }\n\n if (notSameMaskObject(input, mask, options)) {\n return input.data('mask', new Mask(this, mask, options));\n }\n },\n notSameMaskObject = function(field, mask, options) {\n options = options || {};\n var maskObject = $(field).data('mask'),\n stringify = JSON.stringify,\n value = $(field).val() || $(field).text();\n try {\n if (typeof mask === 'function') {\n mask = mask(value);\n }\n return typeof maskObject !== 'object' || stringify(maskObject.options) !== stringify(options) || maskObject.mask !== mask;\n } catch (e) {}\n },\n eventSupported = function(eventName) {\n var el = document.createElement('div'), isSupported;\n\n eventName = 'on' + eventName;\n isSupported = (eventName in el);\n\n if ( !isSupported ) {\n el.setAttribute(eventName, 'return;');\n isSupported = typeof el[eventName] === 'function';\n }\n el = null;\n\n return isSupported;\n };\n\n $.fn.mask = function(mask, options) {\n options = options || {};\n var selector = this.selector,\n globals = $.jMaskGlobals,\n interval = globals.watchInterval,\n watchInputs = options.watchInputs || globals.watchInputs,\n maskFunction = function() {\n if (notSameMaskObject(this, mask, options)) {\n return $(this).data('mask', new Mask(this, mask, options));\n }\n };\n\n $(this).each(maskFunction);\n\n if (selector && selector !== '' && watchInputs) {\n clearInterval($.maskWatchers[selector]);\n $.maskWatchers[selector] = setInterval(function(){\n $(document).find(selector).each(maskFunction);\n }, interval);\n }\n return this;\n };\n\n $.fn.masked = function(val) {\n return this.data('mask').getMaskedVal(val);\n };\n\n $.fn.unmask = function() {\n clearInterval($.maskWatchers[this.selector]);\n delete $.maskWatchers[this.selector];\n return this.each(function() {\n var dataMask = $(this).data('mask');\n if (dataMask) {\n dataMask.remove().removeData('mask');\n }\n });\n };\n\n $.fn.cleanVal = function() {\n return this.data('mask').getCleanVal();\n };\n\n $.applyDataMask = function(selector) {\n selector = selector || $.jMaskGlobals.maskElements;\n var $selector = (selector instanceof $) ? selector : $(selector);\n $selector.filter($.jMaskGlobals.dataMaskAttr).each(HTMLAttributes);\n };\n\n var globals = {\n maskElements: 'input,td,span,div',\n dataMaskAttr: '*[data-mask]',\n dataMask: true,\n watchInterval: 300,\n watchInputs: true,\n keyStrokeCompensation: 10,\n // old versions of chrome dont work great with input event\n useInput: !/Chrome\\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent) && eventSupported('input'),\n watchDataMask: false,\n byPassKeys: [9, 16, 17, 18, 36, 37, 38, 39, 40, 91],\n translation: {\n '0': {pattern: /\\d/},\n '9': {pattern: /\\d/, optional: true},\n '#': {pattern: /\\d/, recursive: true},\n 'A': {pattern: /[a-zA-Z0-9]/},\n 'S': {pattern: /[a-zA-Z]/}\n }\n };\n\n $.jMaskGlobals = $.jMaskGlobals || {};\n globals = $.jMaskGlobals = $.extend(true, {}, globals, $.jMaskGlobals);\n\n // looking for inputs with data-mask attribute\n if (globals.dataMask) {\n $.applyDataMask();\n }\n\n setInterval(function() {\n if ($.jMaskGlobals.watchDataMask) {\n $.applyDataMask();\n }\n }, globals.watchInterval);\n}, window.jQuery, window.Zepto));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/jquery-mask-plugin/dist/jquery.mask.js\n// module id = 10\n// module chunks = 0 1 2 3 4 5 6 7 8 9 10 11 12 14"],"sourceRoot":""}