{"version":3,"sources":["webpack:///contact-modal.min.js","webpack:///./wwwroot/js/app/contact-modal.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","ContactModal","_Module","this","apply","arguments","_this2","then","emit","form","validate","wrapper","errorClass","errorElement","errorPlacement","err","el","closest","addClass","insertAfter","removeAttr","_this3","on","e","onFormChanged","Util","debounce","onFormBlurred","preventDefault","valid","post","attr","serialize","hide","show","each","field","group","removeClass","hasClass","find","Module","contactModal","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","observe","mobileNav","mobileNavItem","tabbingNav","event","toggleClass","css","fadeOut","is","fadeIn","onResize","path","location","pathname","isSchoolSite","matches","exec","index","trim","substring","indexOf","checkWidth","ViewPort","Desktop","menuItems","slideToggle","headerHeight","outerHeight","children","keyCode","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","Symbol","iterator","next","done","child","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","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,UAAY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IlBxZ,GAAA6Y,aAAA7Y,EAAA6Y,iBACAuF,EAAApe,EAAA6Y,aAAA7Y,EAAAsQ,QAAA,KAAgD8N,EAAApe,EAAA6Y,cAGhDuF,EAAAS,UACA7e,EAAAgf,gBAGAN,YAAA,WACA1e,EAAA6Y,aAAAyG,eACAtf,EAAAgf,iBAEKZ,EAAAE,gBACJvH,EAAAvQ,OAAAyQ,SNqkC6BtW,KAAKb,EAASC,EAAoB","file":"contact-modal.min.js","sourcesContent":["__nha_webpackJsonp([6],[\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 ContactModal = function (_Module) {\n\t _inherits(ContactModal, _Module);\n\t\n\t function ContactModal() {\n\t _classCallCheck(this, ContactModal);\n\t\n\t return _possibleConstructorReturn(this, (ContactModal.__proto__ || Object.getPrototypeOf(ContactModal)).apply(this, arguments));\n\t }\n\t\n\t _createClass(ContactModal, [{\n\t key: 'init',\n\t value: function init() {\n\t var _this2 = this;\n\t\n\t return _get(ContactModal.prototype.__proto__ || Object.getPrototypeOf(ContactModal.prototype), 'init', this).call(this).then(function () {\n\t return _this2.emit('init');\n\t });\n\t }\n\t }, {\n\t key: 'main',\n\t value: function main() {\n\t var form = $('#form784');\n\t\n\t form.validate({\n\t wrapper: 'span',\n\t errorClass: 'input-validation-error',\n\t errorElement: 'span',\n\t errorPlacement: function errorPlacement(err, el) {\n\t el.closest('.nha-form-group').addClass('nha-form-error');\n\t err.addClass('field-validation-error').addClass('nha-form-error-desc');\n\t err.insertAfter(el);\n\t err.removeAttr('style');\n\t }\n\t });\n\t }\n\t }, {\n\t key: 'bindEvents',\n\t value: function bindEvents() {\n\t var _this3 = this;\n\t\n\t $('#form784').on('click.validate focusin.validate focusout.validate keyup.validate', function (e) {\n\t return _this3.onFormChanged(e);\n\t });\n\t $('#form784').on('focusout.validate', _util2.default.debounce(function (e) {\n\t return _this3.onFormBlurred(e);\n\t }));\n\t $('#form784').on('submit', function (e) {\n\t e.preventDefault();\n\t\n\t if ($('#form784').valid()) {\n\t $.post($('#form784').attr('action'), $('#form784').serialize());\n\t $('#form784 .nha-contact-me-body').hide();\n\t $('#nha-modal-confirmation').show();\n\t }\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 $('form#form784 .nha-form-control').each(function (i, 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')) group.addClass('nha-form-error');\n\t group.find('.nha-form-error-desc').removeAttr('style');\n\t });\n\t }\n\t }]);\n\t\n\t return ContactModal;\n\t}(_module2.default);\n\t\n\tvar contactModal = new ContactModal();\n\t\n\t_common2.default.on('init', function () {\n\t return contactModal.init();\n\t});\n\t\n\texports.default = contactModal;\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// contact-modal.min.js","import common from './common';\r\nimport Module from './module';\r\nimport Util from './lib/util';\r\n\r\nclass ContactModal extends Module {\r\n\r\n init() {\r\n return super.init().then(() => this.emit('init'));\r\n }\r\n\r\n main() {\r\n const form = $('#form784');\r\n\r\n form.validate({\r\n wrapper: 'span',\r\n errorClass: 'input-validation-error',\r\n errorElement: 'span',\r\n errorPlacement: (err, el) => {\r\n el.closest('.nha-form-group').addClass('nha-form-error');\r\n err.addClass('field-validation-error').addClass('nha-form-error-desc');\r\n err.insertAfter(el);\r\n err.removeAttr('style');\r\n }\r\n });\r\n }\r\n\r\n bindEvents() {\r\n $('#form784').on('click.validate focusin.validate focusout.validate keyup.validate', e => this.onFormChanged(e));\r\n $('#form784').on('focusout.validate', Util.debounce(e => this.onFormBlurred(e)));\r\n $('#form784').on('submit', function(e) {\r\n e.preventDefault();\r\n\r\n if ($('#form784').valid()) {\r\n $.post($('#form784').attr('action'), $('#form784').serialize());\r\n $('#form784 .nha-contact-me-body').hide();\r\n $('#nha-modal-confirmation').show();\r\n }\r\n });\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 $('form#form784 .nha-form-control').each((i, 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')) group.addClass('nha-form-error');\r\n group.find('.nha-form-error-desc').removeAttr('style');\r\n })\r\n }\r\n}\r\n\r\n\r\nconst contactModal = new ContactModal();\r\n\r\ncommon.on('init', () => contactModal.init());\r\n\r\nexport default contactModal;\r\n\n\n\n// WEBPACK FOOTER //\n// ./wwwroot/js/app/contact-modal.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":""}