/*! For license information please see 5c7d39.js.LICENSE.txt */
(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{20:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=new XMLHttpRequest;s.open(t.method||"get",e),(0,n.isFunction)(t.success)||(t.success=i.dummy);(0,n.isFunction)(t.failure)||(t.failure=i.dummy);if(t.headers)for(let e in t.headers)t.headers.hasOwnProperty(e)&&s.setRequestHeader(e,t.headers[e]);s.addEventListener("readystatechange",(function(){4===s.readyState&&(200===s.status?t.success(s.responseText,s.status):t.failure(s.responseText,s.status))})),s.send(t.data||null)};var n=s(2),i=s(21)},21:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dummy=function(){}},236:function(e,t,s){"use strict";var n=s(0),i=s(5),r=s(6),a=s(20);class u{constructor(e,t){this._links=e,this._url=t,this._init()}_init(){(0,i.forEach)(this._links,e=>{(0,r.addEventListener)(e,"click",(e,t)=>this._onLinkClicked(e,t))})}_onLinkClicked(e,t){const s=new FormData;s.append("point",t.dataset.leadgen),s.append("product",t.dataset.product||"intensive"),(0,a.request)(this._url,{method:"post",headers:{Accept:"application/json","X-Requested-With":"XMLHttpRequest"},data:s})}}const c=(0,n.querySelectorAll)("[data-leadgen]"),o=(0,n.querySelector)("[data-leadgen-url]");if(o&&c){new u(c,o.dataset.leadgenUrl)}},5:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=function(e,t){(0,i.isString)(e)&&(e=(0,n.querySelectorAll)(e));return[].filter.call(e,t)},t.forEach=function(e,t){(0,i.isString)(e)&&(e=(0,n.querySelectorAll)(e));[].forEach.call(e,t)};var n=s(0),i=s(2)}}]);