(window.webpackJsonpLIS=window.webpackJsonpLIS||[]).push([[4],{546:function(e,n,t){"use strict";t.r(n),t.d(n,"OutdoorActivePdfDownload",(function(){return a}));var o=t(67);function r(e,n,t,o,r,i,a){try{var c=e[i](a),u=c.value}catch(e){return void t(e)}c.done?n(u):Promise.resolve(u).then(o,r)}function i(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var a=function(){function e(n,t){var r=this;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.node=n,this.outdoorActiveId=t,this.node.addEventListener("click",(function(e){e.preventDefault(),r.onNodeClick()})),Object(o.c)((function(){r.node.parentNode&&(r.node.parentNode.removeChild(r.node),console.warn("Removing outdoor active PDF download button: Error loading outdooractive sdk"))}))}var n,t,a,c,u;return n=e,(t=[{key:"onNodeClick",value:(c=regeneratorRuntime.mark((function e(){var n,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(o.b)();case 2:n=e.sent,t=document.createElement("div"),n.pdfDialog(this.outdoorActiveId,t),t.click();case 6:case"end":return e.stop()}}),e,this)})),u=function(){var e=this,n=arguments;return new Promise((function(t,o){var i=c.apply(e,n);function a(e){r(i,t,o,a,u,"next",e)}function u(e){r(i,t,o,a,u,"throw",e)}a(void 0)}))},function(){return u.apply(this,arguments)})}])&&i(n.prototype,t),a&&i(n,a),e}()}}]);