function getCookieHJ(n){for(var t,r=n+"=",f=decodeURIComponent(document.cookie),u=f.split(";"),i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1);if(t.indexOf(r)==0)return t.substring(r.length,t.length)}return""}!function(){function n(t,i,r){function u(f,o){var h,c,s;if(!i[f]){if(!t[f]){if(h="function"==typeof require&&require,!o&&h)return h(f,!0);if(e)return e(f,!0);c=new Error("Cannot find module '"+f+"'");throw c.code="MODULE_NOT_FOUND",c;}s=i[f]={exports:{}};t[f][0].call(s.exports,function(n){return u(t[f][1][n]||n)},s,s.exports,n,t,i,r)}return i[f].exports}for(var e="function"==typeof require&&require,f=0;f<r.length;f++)u(r[f]);return u}return n}()({"C:\\Develop\\LKAB\\Design\\DesignCW.web\\node_modules\\@vimeo\\player\\dist\\player.min.js":[function(n,t,i){(function(n,r){!function(n,r){"object"==typeof i&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):(n.Vimeo=n.Vimeo||{},n.Vimeo.Player=r())}(this,function(){"use strict";function a(n,t){return t={exports:{}},n(t,t.exports),t.exports}function f(n,i,r){var u=t.get(n.element)||{};i in u||(u[i]=[]);u[i].push(r);t.set(n.element,u)}function e(n,i){return(t.get(n.element)||{})[i]||[]}function h(n,i,r){var u=t.get(n.element)||{},f;return u[i]?r?(f=u[i].indexOf(r),-1!==f&&u[i].splice(f,1),t.set(n.element,u),u[i]&&0===u[i].length):(u[i]=[],t.set(n.element,u),!0):!0}function g(n,i){var r=t.get(n);t.set(i,r);t.delete(n)}function v(n,t){return 0===n.indexOf(t.toLowerCase())?n:""+t.toLowerCase()+n.substr(0,1).toUpperCase()+n.substr(1)}function nt(n){return n instanceof window.HTMLElement}function tt(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function o(n){return/^(https?:)?\/\/(player.)?vimeo.com(?=$|\/)/.test(n)}function y(){var i=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=i.id,r=i.url,n=t||r;if(!n)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(tt(n))return"https://vimeo.com/"+n;if(o(n))return n.replace("http:","https:");if(t)throw new TypeError("“"+t+"” is not a valid video id.");throw new TypeError("“"+n+"” is not a vimeo.com url.");}function p(n){for(var u,f,r,e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],t=ft,o=Array.isArray(t),i=0,t=o?t:t[Symbol.iterator]();;){if(o){if(i>=t.length)break;u=t[i++]}else{if(i=t.next(),i.done)break;u=i.value}f=u;r=n.getAttribute("data-vimeo-"+f);(r||""===r)&&(e[f]=""===r?1:r)}return e}function w(n){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return new Promise(function(i,r){var e,f,u;if(!o(n))throw new TypeError("“"+n+"” is not a vimeo.com url.");e="https://vimeo.com/api/oembed.json?url="+encodeURIComponent(n);for(f in t)t.hasOwnProperty(f)&&(e+="&"+f+"="+encodeURIComponent(t[f]));u="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;u.open("GET",e,!0);u.onload=function(){if(404===u.status)return void r(new Error("“"+n+"” was not found."));if(403===u.status)return void r(new Error("“"+n+"” is not embeddable."));try{var t=JSON.parse(u.responseText);i(t)}catch(n){r(n)}};u.onerror=function(){var n=u.status?" ("+u.status+")":"";r(new Error("There was an error fetching the embed code from Vimeo"+n+"."))};u.send()})}function b(n,t){var r=n.html,i;if(!t)throw new TypeError("An element must be provided");return null!==t.getAttribute("data-vimeo-initialized")?t.querySelector("iframe"):(i=document.createElement("div"),i.innerHTML=r,t.appendChild(i.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe"))}function k(n){return"string"==typeof n&&(n=JSON.parse(n)),n}function s(n,t,i){var r,u;n.element.contentWindow.postMessage&&(r={method:t},void 0!==i&&(r.value=i),u=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1")),u>=8&&u<10&&(r=JSON.stringify(r)),n.element.contentWindow.postMessage(r,n.origin))}function it(n,t){var s,u,l,a,v,y,c;if(t=k(t),s=[],u=void 0,t.event){if("error"===t.event)for(var b=e(n,t.data.method),i=b,p=Array.isArray(i),f=0,i=p?i:i[Symbol.iterator]();;){if(p){if(f>=i.length)break;l=i[f++]}else{if(f=i.next(),f.done)break;l=f.value}a=l;v=new Error(t.data.message);v.name=t.data.name;a.reject(v);h(n,t.data.method,a)}s=e(n,"event:"+t.event);u=t.data}else t.method&&(s=e(n,t.method),u=t.value,h(n,t.method));for(var r=s,w=Array.isArray(r),o=0,r=w?r:r[Symbol.iterator]();;){if(w){if(o>=r.length)break;y=r[o++]}else{if(o=r.next(),o.done)break;y=o.value}c=y;try{if("function"==typeof c){c.call(n,u);continue}c.resolve(u)}catch(n){}}}var rt=void 0!==Array.prototype.indexOf,ut=void 0!==window.postMessage;if(!rt||!ut)throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var c="undefined"!=typeof window?window:void 0!==n?n:"undefined"!=typeof self?self:{},u=(a(function(n,t){!function(n){function i(n,t){function i(n){return this&&this.constructor===i?(this._keys=[],this._values=[],this._itp=[],this.objectOnly=t,void(n&&y.call(this,n))):new i(n)}return t||d(n,"size",{get:k}),n.constructor=i,i.prototype=n,i}function y(n){this.add?n.forEach(this.add,this):n.forEach(function(n){this.set(n[0],n[1])},this)}function r(n){return this.has(n)&&(this._keys.splice(t,1),this._values.splice(t,1),this._itp.forEach(function(n){t<n[0]&&n[0]--})),-1<t}function o(n){if(this.has(n))return this._values[t]}function s(n,i){if(this.objectOnly&&i!==Object(i))throw new TypeError("Invalid value used as weak collection key");if(i!=i||0===i)for(t=n.length;t--&&!g(n[t],i););else t=n.indexOf(i);return-1<t}function h(n){return s.call(this,this._values,n)}function c(n){return s.call(this,this._keys,n)}function l(n,i){return this.has(n)?this._values[t]=i:this._values[this._keys.push(n)-1]=i,this}function a(n){return this.has(n)||this._values.push(n),this}function u(){(this._keys||0).length=this._values.length=0}function p(){return f(this._itp,this._keys)}function e(){return f(this._itp,this._values)}function w(){return f(this._itp,this._keys,this._values)}function b(){return f(this._itp,this._values,this._values)}function f(n,t,i){var r=[0],u=!1;return n.push(r),{next:function(){var e,f=r[0];return!u&&f<t.length?(e=i?[t[f],i[f]]:t[f],r[0]++):(u=!0,n.splice(n.indexOf(r),1)),{done:u,value:e}}}}function k(){return this._values.length}function v(n,t){for(var i,r=this.entries();;){if(i=r.next(),i.done)break;n.call(t,i.value[1],i.value[0],this)}}var t,d=Object.defineProperty,g=function(n,t){return n===t||n!==n&&t!==t};"undefined"==typeof WeakMap&&(n.WeakMap=i({"delete":r,clear:u,get:o,has:c,set:l},!0));"undefined"!=typeof Map&&"function"==typeof(new Map).values&&(new Map).values().next||(n.Map=i({"delete":r,has:c,get:o,set:l,keys:p,values:e,entries:w,forEach:v,clear:u}));"undefined"!=typeof Set&&"function"==typeof(new Set).values&&(new Set).values().next||(n.Set=i({has:h,add:a,"delete":r,clear:u,keys:e,values:e,entries:b,forEach:v}));"undefined"==typeof WeakSet&&(n.WeakSet=i({"delete":r,add:a,clear:u,has:h},!0))}(void 0!==t&&void 0!==c?c:window)}),a(function(n){!function(t,i){i[t]=i[t]||function(){function i(n,t){o.add(n,t);e||(e=w(o.drain))}function h(n){var t,i=typeof n;return null==n||"object"!=i&&"function"!=i||(t=n.then),"function"==typeof t&&t}function f(){for(var n=0;n<this.chain.length;n++)y(this,1===this.state?this.chain[n].success:this.chain[n].failure,this.chain[n]);this.chain.length=0}function y(n,t,i){var r,u;try{!1===t?i.reject(n.msg):(r=!0===t?n.msg:t.call(void 0,n.msg),r===i.promise?i.reject(TypeError("Promise-chain cycle")):(u=h(r))?u.call(r,i.resolve,i.reject):i.resolve(r))}catch(n){i.reject(n)}}function c(n){var r,t=this;if(!t.triggered){t.triggered=!0;t.def&&(t=t.def);try{(r=h(n))?i(function(){var i=new a(t);try{r.call(n,function(){c.apply(i,arguments)},function(){u.apply(i,arguments)})}catch(f){u.call(i,f)}}):(t.msg=n,t.state=1,t.chain.length>0&&i(f,t))}catch(i){u.call(new a(t),i)}}}function u(n){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=n,t.state=2,t.chain.length>0&&i(f,t))}function l(n,t,i,r){for(var u=0;u<t.length;u++)!function(u){n.resolve(t[u]).then(function(n){i(u,n)},r)}(u)}function a(n){this.def=n;this.triggered=!1}function p(n){this.promise=n;this.state=0;this.triggered=!1;this.chain=[];this.msg=void 0}function t(n){if("function"!=typeof n)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new p(this);this.then=function(n,r){var u={success:"function"!=typeof n||n,failure:"function"==typeof r&&r};return u.promise=new this.constructor(function(n,t){if("function"!=typeof n||"function"!=typeof t)throw TypeError("Not a function");u.resolve=n;u.reject=t}),t.chain.push(u),0!==t.state&&i(f,t),u.promise};this.catch=function(n){return this.then(void 0,n)};try{n.call(void 0,function(n){c.call(t,n)},function(n){u.call(t,n)})}catch(i){u.call(t,i)}}var n,e,o,v=Object.prototype.toString,w=void 0!==r?function(n){return r(n)}:setTimeout,s;try{Object.defineProperty({},"x",{});n=function(n,t,i,r){return Object.defineProperty(n,t,{value:i,writable:!0,configurable:!1!==r})}}catch(i){n=function(n,t,i){return n[t]=i,n}}return o=function(){function r(n,t){this.fn=n;this.self=t;this.next=void 0}var i,t,n;return{add:function(u,f){n=new r(u,f);t?t.next=n:i=n;t=n;n=void 0},drain:function(){var n=i;for(i=t=e=void 0;n;)n.fn.call(n.self),n=n.next}}}(),s=n({},"constructor",t,!1),t.prototype=s,n(s,"__NPO__",0,!1),n(t,"resolve",function(n){var t=this;return n&&"object"==typeof n&&1===n.__NPO__?n:new t(function(t,i){if("function"!=typeof t||"function"!=typeof i)throw TypeError("Not a function");t(n)})}),n(t,"reject",function(n){return new this(function(t,i){if("function"!=typeof t||"function"!=typeof i)throw TypeError("Not a function");i(n)})}),n(t,"all",function(n){var t=this;return"[object Array]"!=v.call(n)?t.reject(TypeError("Not an array")):0===n.length?t.resolve([]):new t(function(i,r){if("function"!=typeof i||"function"!=typeof r)throw TypeError("Not a function");var u=n.length,f=Array(u),e=0;l(t,n,function(n,t){f[n]=t;++e===u&&i(f)},r)})}),n(t,"race",function(n){var t=this;return"[object Array]"!=v.call(n)?t.reject(TypeError("Not an array")):new t(function(i,r){if("function"!=typeof i||"function"!=typeof r)throw TypeError("Not a function");l(t,n,function(n,t){i(t)},r)})}),t}();void 0!==n&&n.exports?n.exports=i[t]:"function"==typeof define&&define.amd&&define(function(){return i[t]})}("Promise",c)})),i=u&&"object"==typeof u&&"default"in u?u.default:u,t=new WeakMap,ft=["id","url","width","maxwidth","height","maxheight","portrait","title","byline","color","autoplay","autopause","loop","responsive"],et=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},l=new WeakMap,d=new WeakMap,ot=function(){function n(t){var r=this,e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],u,f;if(et(this,n),window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn,t=t[0]),"string"==typeof t&&(t=document.getElementById(t)),!nt(t))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==t.nodeName&&(u=t.querySelector("iframe"),u&&(t=u)),"IFRAME"===t.nodeName&&!o(t.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");return l.has(t)?l.get(t):(this.element=t,this.origin="*",f=new i(function(n,i){var f=function(t){if(o(t.origin)&&r.element.contentWindow===t.source){"*"===r.origin&&(r.origin=t.origin);var i=k(t.data),u="event"in i&&"ready"===i.event,f="method"in i&&"ping"===i.method;return u||f?(r.element.setAttribute("data-ready","true"),void n()):void it(r,i)}},u;(window.addEventListener?window.addEventListener("message",f,!1):window.attachEvent&&window.attachEvent("onmessage",f),"IFRAME"!==r.element.nodeName)&&(u=p(t,e),w(y(u),u).then(function(n){var i=b(n,t);return r.element=i,g(t,i),n}).catch(function(n){return i(n)}))}),d.set(this,f),l.set(this.element,this),"IFRAME"===this.element.nodeName&&s(this,"ping"),this)}return n.prototype.then=function(n){var t=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1];return this.ready().then(n,t)},n.prototype.callMethod=function(n){var t=this,r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return new i(function(i,u){return t.ready().then(function(){f(t,n,{resolve:i,reject:u});s(t,n,r)})})},n.prototype.get=function(n){var t=this;return new i(function(i,r){return n=v(n,"get"),t.ready().then(function(){f(t,n,{resolve:i,reject:r});s(t,n)})})},n.prototype.set=function(n,t){var r=this;return i.resolve(t).then(function(t){if(n=v(n,"set"),void 0===t||null===t)throw new TypeError("There must be a value to set.");return r.ready().then(function(){return new i(function(i,u){f(r,n,{resolve:i,reject:u});s(r,n,t)})})})},n.prototype.on=function(n,t){if(!n)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===e(this,"event:"+n).length&&this.callMethod("addEventListener",n).catch(function(){});f(this,"event:"+n,t)},n.prototype.off=function(n,t){if(!n)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");h(this,"event:"+n,t)&&this.callMethod("removeEventListener",n).catch(function(){})},n.prototype.loadVideo=function(n){return this.callMethod("loadVideo",n)},n.prototype.ready=function(){var n=d.get(this);return i.resolve(n)},n.prototype.enableTextTrack=function(n,t){if(!n)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:n,kind:t})},n.prototype.disableTextTrack=function(){return this.callMethod("disableTextTrack")},n.prototype.pause=function(){return this.callMethod("pause")},n.prototype.play=function(){return this.callMethod("play")},n.prototype.unload=function(){return this.callMethod("unload")},n.prototype.getAutopause=function(){return this.get("autopause")},n.prototype.setAutopause=function(n){return this.set("autopause",n)},n.prototype.getColor=function(){return this.get("color")},n.prototype.setColor=function(n){return this.set("color",n)},n.prototype.getCurrentTime=function(){return this.get("currentTime")},n.prototype.setCurrentTime=function(n){return this.set("currentTime",n)},n.prototype.getDuration=function(){return this.get("duration")},n.prototype.getEnded=function(){return this.get("ended")},n.prototype.getLoop=function(){return this.get("loop")},n.prototype.setLoop=function(n){return this.set("loop",n)},n.prototype.getPaused=function(){return this.get("paused")},n.prototype.getTextTracks=function(){return this.get("textTracks")},n.prototype.getVideoEmbedCode=function(){return this.get("videoEmbedCode")},n.prototype.getVideoId=function(){return this.get("videoId")},n.prototype.getVideoTitle=function(){return this.get("videoTitle")},n.prototype.getVideoWidth=function(){return this.get("videoWidth")},n.prototype.getVideoHeight=function(){return this.get("videoHeight")},n.prototype.getVideoUrl=function(){return this.get("videoUrl")},n.prototype.getVolume=function(){return this.get("volume")},n.prototype.setVolume=function(n){return this.set("volume",n)},n}();return function(){var e=arguments.length<=0||void 0===arguments[0]?document:arguments[0],o=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),r=function(){"console"in window&&console.error},i,f;n:for(var n=o,u=Array.isArray(n),t=0,n=u?n:n[Symbol.iterator]();;){f=function(){var f,e;if(u){if(t>=n.length)return"break";i=n[t++]}else{if(t=n.next(),t.done)return"break";i=t.value}f=i;try{if(null!==f.getAttribute("data-vimeo-defer"))return"continue";e=p(f);w(y(e),e).then(function(n){return b(n,f)}).catch(r)}catch(f){r()}}();switch(f){case"break":break n;case"continue":continue}}}(),ot})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},n("timers").setImmediate)},{timers:"C:\\Develop\\LKAB\\Design\\DesignCW.web\\node_modules\\timers-browserify\\main.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\node_modules\\process\\browser.js":[function(n,t){function c(){throw new Error("setTimeout has not been defined");}function l(){throw new Error("clearTimeout has not been defined");}function a(n){if(u===setTimeout)return setTimeout(n,0);if((u===c||!u)&&setTimeout)return u=setTimeout,setTimeout(n,0);try{return u(n,0)}catch(t){try{return u.call(null,n,0)}catch(t){return u.call(this,n,0)}}}function p(n){if(f===clearTimeout)return clearTimeout(n);if((f===l||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(n);try{return f(n)}catch(t){try{return f.call(null,n)}catch(t){return f.call(this,n)}}}function w(){s&&o&&(s=!1,o.length?e=o.concat(e):h=-1,e.length&&v())}function v(){var t,n;if(!s){for(t=a(w),s=!0,n=e.length;n;){for(o=e,e=[];++h<n;)o&&o[h].run();h=-1;n=e.length}o=null;s=!1;p(t)}}function y(n,t){this.fun=n;this.array=t}function r(){}var u,f,i=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:c}catch(n){u=c}try{f="function"==typeof clearTimeout?clearTimeout:l}catch(n){f=l}}();var o,e=[],s=!1,h=-1;i.nextTick=function(n){var i=new Array(arguments.length-1),t;if(arguments.length>1)for(t=1;t<arguments.length;t++)i[t-1]=arguments[t];e.push(new y(n,i));1!==e.length||s||a(v)};y.prototype.run=function(){this.fun.apply(null,this.array)};i.title="browser";i.browser=!0;i.env={};i.argv=[];i.version="";i.versions={};i.on=r;i.addListener=r;i.once=r;i.off=r;i.removeListener=r;i.removeAllListeners=r;i.emit=r;i.prependListener=r;i.prependOnceListener=r;i.listeners=function(){return[]};i.binding=function(){throw new Error("process.binding is not supported");};i.cwd=function(){return"/"};i.chdir=function(){throw new Error("process.chdir is not supported");};i.umask=function(){return 0}},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\node_modules\\timers-browserify\\main.js":[function(n,t,i){(function(t,r){function u(n,t){this._id=n;this._clearFn=t}var o=n("process/browser.js").nextTick,e=Function.prototype.apply,s=Array.prototype.slice,f={},h=0;i.setTimeout=function(){return new u(e.call(setTimeout,window,arguments),clearTimeout)};i.setInterval=function(){return new u(e.call(setInterval,window,arguments),clearInterval)};i.clearTimeout=i.clearInterval=function(n){n.close()};u.prototype.unref=u.prototype.ref=function(){};u.prototype.close=function(){this._clearFn.call(window,this._id)};i.enroll=function(n,t){clearTimeout(n._idleTimeoutId);n._idleTimeout=t};i.unenroll=function(n){clearTimeout(n._idleTimeoutId);n._idleTimeout=-1};i._unrefActive=i.active=function(n){clearTimeout(n._idleTimeoutId);var t=n._idleTimeout;t>=0&&(n._idleTimeoutId=setTimeout(function(){n._onTimeout&&n._onTimeout()},t))};i.setImmediate="function"==typeof t?t:function(n){var t=h++,r=!(arguments.length<2)&&s.call(arguments,1);return f[t]=!0,o(function(){f[t]&&(r?n.apply(null,r):n.call(null),i.clearImmediate(t))}),t};i.clearImmediate="function"==typeof r?r:function(n){delete f[n]}}).call(this,n("timers").setImmediate,n("timers").clearImmediate)},{"process/browser.js":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\node_modules\\process\\browser.js",timers:"C:\\Develop\\LKAB\\Design\\DesignCW.web\\node_modules\\timers-browserify\\main.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\node_modules\\whatwg-fetch\\fetch.js":[function(){!function(n){"use strict";function u(n){if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(n))throw new TypeError("Invalid character in header field name");return n.toLowerCase()}function s(n){return"string"!=typeof n&&(n=String(n)),n}function e(n){var t={next:function(){var t=n.shift();return{done:void 0===t,value:t}}};return i.iterable&&(t[Symbol.iterator]=function(){return t}),t}function t(n){this.map={};n instanceof t?n.forEach(function(n,t){this.append(t,n)},this):n&&Object.getOwnPropertyNames(n).forEach(function(t){this.append(t,n[t])},this)}function o(n){if(n.bodyUsed)return Promise.reject(new TypeError("Already read"));n.bodyUsed=!0}function h(n){return new Promise(function(t,i){n.onload=function(){t(n.result)};n.onerror=function(){i(n.error)}})}function y(n){var t=new FileReader,i=h(t);return t.readAsArrayBuffer(n),i}function p(n){var t=new FileReader,i=h(t);return t.readAsText(n),i}function w(n){for(var i=new Uint8Array(n),r=new Array(i.length),t=0;t<i.length;t++)r[t]=String.fromCharCode(i[t]);return r.join("")}function c(n){if(n.slice)return n.slice(0);var t=new Uint8Array(n.byteLength);return t.set(new Uint8Array(n)),t.buffer}function l(){return this.bodyUsed=!1,this._initBody=function(n){if(this._bodyInit=n,n)if("string"==typeof n)this._bodyText=n;else if(i.blob&&Blob.prototype.isPrototypeOf(n))this._bodyBlob=n;else if(i.formData&&FormData.prototype.isPrototypeOf(n))this._bodyFormData=n;else if(i.searchParams&&URLSearchParams.prototype.isPrototypeOf(n))this._bodyText=n.toString();else if(i.arrayBuffer&&i.blob&&nt(n))this._bodyArrayBuffer=c(n.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!i.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(n)&&!tt(n))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(n)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof n?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(n)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var n=o(this);if(n)return n;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?o(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(y)}),this.text=function(){var n=o(this);if(n)return n;if(this._bodyBlob)return p(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(w(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}function b(n){var t=n.toUpperCase();return a.indexOf(t)>-1?t:n}function f(n,i){i=i||{};var r=i.body;if("string"==typeof n)this.url=n;else{if(n.bodyUsed)throw new TypeError("Already read");this.url=n.url;this.credentials=n.credentials;i.headers||(this.headers=new t(n.headers));this.method=n.method;this.mode=n.mode;r||null==n._bodyInit||(r=n._bodyInit,n.bodyUsed=!0)}if(this.credentials=i.credentials||this.credentials||"omit",!i.headers&&this.headers||(this.headers=new t(i.headers)),this.method=b(i.method||this.method||"GET"),this.mode=i.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function k(n){var t=new FormData;return n.trim().split("&").forEach(function(n){if(n){var i=n.split("="),r=i.shift().replace(/\+/g," "),u=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(u))}}),t}function d(n){var i=new t;return n.split("\r\n").forEach(function(n){var t=n.split(":"),r=t.shift().trim(),u;r&&(u=t.join(":").trim(),i.append(r,u))}),i}function r(n,i){i||(i={});this.type="default";this.status="status"in i?i.status:200;this.ok=this.status>=200&&this.status<300;this.statusText="statusText"in i?i.statusText:"OK";this.headers=new t(i.headers);this.url=i.url||"";this._initBody(n)}var i,a,v;if(!n.fetch){if(i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(n){return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n},i.arrayBuffer)var g=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],nt=function(n){return n&&DataView.prototype.isPrototypeOf(n)},tt=ArrayBuffer.isView||function(n){return n&&g.indexOf(Object.prototype.toString.call(n))>-1};t.prototype.append=function(n,t){n=u(n);t=s(t);var i=this.map[n];i||(i=[],this.map[n]=i);i.push(t)};t.prototype.delete=function(n){delete this.map[u(n)]};t.prototype.get=function(n){var t=this.map[u(n)];return t?t[0]:null};t.prototype.getAll=function(n){return this.map[u(n)]||[]};t.prototype.has=function(n){return this.map.hasOwnProperty(u(n))};t.prototype.set=function(n,t){this.map[u(n)]=[s(t)]};t.prototype.forEach=function(n,t){Object.getOwnPropertyNames(this.map).forEach(function(i){this.map[i].forEach(function(r){n.call(t,r,i,this)},this)},this)};t.prototype.keys=function(){var n=[];return this.forEach(function(t,i){n.push(i)}),e(n)};t.prototype.values=function(){var n=[];return this.forEach(function(t){n.push(t)}),e(n)};t.prototype.entries=function(){var n=[];return this.forEach(function(t,i){n.push([i,t])}),e(n)};i.iterable&&(t.prototype[Symbol.iterator]=t.prototype.entries);a=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this,{body:this._bodyInit})};l.call(f.prototype);l.call(r.prototype);r.prototype.clone=function(){return new r(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new t(this.headers),url:this.url})};r.error=function(){var n=new r(null,{status:0,statusText:""});return n.type="error",n};v=[301,302,303,307,308];r.redirect=function(n,t){if(-1===v.indexOf(t))throw new RangeError("Invalid status code");return new r(null,{status:t,headers:{location:n}})};n.Headers=t;n.Request=f;n.Response=r;n.fetch=function(n,t){return new Promise(function(u,e){var s=new f(n,t),o=new XMLHttpRequest;o.onload=function(){var n={status:o.status,statusText:o.statusText,headers:d(o.getAllResponseHeaders()||"")},t;n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");t="response"in o?o.response:o.responseText;u(new r(t,n))};o.onerror=function(){e(new TypeError("Network request failed"))};o.ontimeout=function(){e(new TypeError("Network request failed"))};o.open(s.method,s.url,!0);"include"===s.credentials&&(o.withCredentials=!0);"responseType"in o&&i.blob&&(o.responseType="blob");s.headers.forEach(function(n,t){o.setRequestHeader(t,n)});o.send(void 0===s._bodyInit?null:s._bodyInit)})};n.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\app.js":[function(n){"use strict";function i(n){return n&&n.__esModule?n:{"default":n}}function t(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function e(){for(var t,i=[],r=Object.keys(h),n=0,u=r.length;n<u;n++)t=r[n],i.push(t+"="+h[t]);return i.join(", ")}var w=n("./components/search.component"),b=i(w),k=n("./components/navigation.component"),d=i(k),g=n("./components/accordion.component"),nt=i(g),tt=n("./components/sidebar.component"),it=i(tt),rt=n("./components/cookie-consent.component"),ut=i(rt),ft=n("./components/contact-card.component"),et=i(ft),ot=n("./components/modal.component"),st=i(ot),ht=n("./components/selfmodal.component"),ct=i(ht),lt=n("./components/key-figure.component"),at=i(lt),vt=n("./components/news-filter.component"),a=i(vt),yt=n("./components/expandable-table.component"),pt=i(yt),wt=n("./components/tabs.component"),bt=i(wt),kt=n("./components/filter-tabs.component"),dt=i(kt),gt=n("./components/videos.component"),ni=i(gt),ti=n("./components/images.component"),ii=i(ti),ri=n("./components/search-page.component"),o=i(ri),ui=n("./components/gallery.component"),fi=i(ui),ei=n("./components/press-grid.component"),oi=i(ei),si=n("./components/form.component"),hi=i(si),ci=n("./components/table.component"),li=i(ci),ai=n("./components/expandable-content.component"),vi=i(ai),yi=n("./components/tooltip.component"),pi=i(yi),wi=n("./components/leadsmodule.component"),bi=i(wi),v,f,h,p,c,l,r;n("./helpers/helpers.js");document.documentElement.classList.add("js");it.default();ni.default();ii.default();[].concat(t(document.querySelectorAll(".js-cookie-consent"))).forEach(function(n){new ut.default(n,n.getAttribute("data-cookie"))});[].concat(t(document.querySelectorAll(".js-press-grid"))).forEach(function(n){new oi.default(n)});[].concat(t(document.querySelectorAll('input[type="search"]'))).forEach(function(n){new b.default(n)});[].concat(t(document.querySelectorAll(".js-keyfigures-animate"))).forEach(function(n){new at.default(n)});v=document.querySelectorAll(".js-filter-list-hook");window.newsFilterBindings=[];[].concat(t(v)).forEach(function(n){window.newsFilterBindings.push(new a.default(n))});var u=document.querySelector(".choose-filter a"),y=document.querySelector(".news-filter--group"),s=document.querySelector(".block.news-filter");u&&u.addEventListener("click",function(){if(s.classList.contains("js-overlay-show--mobile")){s.classList.remove("js-overlay-show--mobile");y.classList.remove("show");u.setAttribute("aria-expanded",!1);var n=document.querySelector(".js-overlay-show");n&&(n.classList.remove("js-overlay-show"),document.querySelector(".js-active-list").classList.remove("js-active-list"),document.querySelector('.js-filter-list-toggle[aria-expanded="true"]').setAttribute("aria-expanded",!1))}else s.classList.add("js-overlay-show--mobile"),y.classList.add("show"),u.setAttribute("aria-expanded",!0)},!1);[].concat(t(document.querySelectorAll(".js-gallery"))).forEach(function(n){new fi.default(n)});[].concat(t(document.querySelectorAll(".block.table table"))).forEach(function(n){new li.default(n)});[].concat(t(document.querySelectorAll(".js-expandable-table"))).forEach(function(n){new pt.default(n)});[].concat(t(document.querySelectorAll(".js-tabs"))).forEach(function(n){new bt.default(n)});[].concat(t(document.querySelectorAll(".js-filter-tabs"))).forEach(function(n){new dt.default(n)});[].concat(t(document.querySelectorAll(".form, .EPiServerForms"))).forEach(function(n){new hi.default(n)});d.default();nt.default();f=document.querySelector(".js-featured-scroll");f&&f.addEventListener("mousewheel",function(n){var t=Math.abs(n.deltaX)>0?n.deltaX:n.deltaY;f.scrollLeft+=t});try{angular.module("myApp",["ngRoute","ngSanitize"]).controller("SearchController",o.default).config(["$routeProvider","$locationProvider","$httpProvider",function(n,t){n.when("/",{controller:o.default});t.html5Mode({enabled:!0,requireBase:!1})}]).filter("extractType",function(){return function(n){var t=n.split("|");return t.length<2?n:t[1]}}).directive("searchFilter",function(){return function(n,t){new a.default(t[0])}});o.default.$inject=["$scope","$route","$routeParams","$location","$http","$compile"]}catch(n){}if([].concat(t(document.querySelectorAll(".js-print"))).forEach(function(n){n.addEventListener("click",function(n){n.preventDefault();try{window.print()}catch(n){}},!1)}),[].concat(t(document.querySelectorAll(".js-toggle-footer-menu"))).forEach(function(n){n.addEventListener("click",function(t){n.findParent("ul").classList.toggle("active");t.preventDefault()},!1)}),[].concat(t(document.querySelectorAll(".js-memoryblock-toggle"))).forEach(function(n){n.addEventListener("click",function(t){t.preventDefault();n.findParent(".card").classList.toggle("flipped")},!1)}),h={status:"no",width:640,height:480,resizable:"yes",toolbar:"no",menubar:"no",scrollbars:"no",location:"no",directories:"no"},window.openFacebookPopup=function(n,t){t&&t.preventDefault();var i="https://www.facebook.com/sharer.php?u="+n;window.open(i,"popupwindow",e()).focus()},window.openTwitterPopup=function(n,t){t&&t.preventDefault();var i="https://twitter.com/intent/tweet?text="+n;window.open(i,"popupwindow",e()).focus()},window.openLinkedinPopup=function(n,t){t&&t.preventDefault();var i="https://www.linkedin.com/shareArticle?mini=true&url="+n;window.open(i,"popupwindow",e()).focus()},window.setupSharebuttons=function(){var u=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,r=location.origin+location.pathname,f=i.querySelector(".share-dialog--anchor"),e,n;f&&(f.getAttribute("data-share-url")&&(r=f.getAttribute("data-share-url")),[].concat(t(i.querySelectorAll(".share-dialog--anchor > a"))).forEach(function(n){n.addEventListener("click",function(t){t.preventDefault();t.stopImmediatePropagation();n.parentNode.classList.toggle("active")},!1);i.addEventListener("click",function(){n.parentNode.classList.remove("active")},!1);window.addEventListener("keydown",function(t){27===(t.which||t.keyCode)&&n.parentNode.classList.remove("active")},!1)}),[].concat(t(i.querySelectorAll(".share-dialog .facebook"))).forEach(function(n){n.addEventListener("click",window.openFacebookPopup.bind(u,r),!1)}),[].concat(t(i.querySelectorAll(".share-dialog .twitter"))).forEach(function(n){n.addEventListener("click",window.openTwitterPopup.bind(u,r),!1)}),[].concat(t(i.querySelectorAll(".share-dialog .linkedin"))).forEach(function(n){n.addEventListener("click",window.openLinkedinPopup.bind(u,r),!1)}),e=i.querySelectorAll(".js-copy-link"),e.length>0&&(n=document.createElement("textarea"),n.classList.add("visually-hidden"),n.setAttribute("aria-title","Link"),n.setAttribute("aria-hidden","true"),document.body.appendChild(n)),[].concat(t(e)).forEach(function(t){t.addEventListener("click",function(t){t.preventDefault();try{if(n.value=location.origin+location.pathname,n.select(),!document.execCommand("copy"))throw"Couldn't copy to clipboard";}catch(t){prompt("Kopiera länken och tryck på OK",n.value)}})}))},window.setupSharebuttons(document),[].concat(t(document.querySelectorAll(".hierarchy--title"))).forEach(function(n){n.addEventListener("click",function(t){t.preventDefault();document.documentElement.classList.toggle("js-hierarchy-shadow");n.parentNode.classList.toggle("active")})}),[].concat(t(document.querySelectorAll(".contact-card"))).forEach(function(n){new et.default(n)}),[].concat(t(document.querySelectorAll(".js-toggle-modal"))).forEach(function(n){new st.default(n)}),[].concat(t(document.querySelectorAll("a[data-modal-item]"))).forEach(function(n){new ct.default(n)}),[].concat(t(document.querySelectorAll(".js-expand-parent"))).forEach(function(n){new vi.default(n)}),[].concat(t(document.querySelectorAll("[data-tooltip]"))).forEach(function(n){new pi.default(n,n.getAttribute("data-tooltip-text"))}),p=document.querySelectorAll(".js-select-dynamic-border"),window.dynamicBorderSelect=function(n){var t=n.querySelector("select"),r=n.querySelector(".select--dynamic-border"),i=n.querySelector(".select--dynamic-border--dummy");if(!t)return!0;i.textContent=document.querySelector('.select [value="'+t.value+'"]').innerHTML;r.style.width=i.clientWidth<=t.clientWidth?i.clientWidth+"px":t.clientWidth+"px"},[].concat(t(p)).forEach(function(n){var i=n.querySelector("select"),t;i.addEventListener("change",function(){window.dynamicBorderSelect(n)});t=null;try{t=new Event("change")}catch(n){t=document.createEvent("Event");t.initEvent("change",!1,!1)}i.dispatchEvent(t)}),c=document.querySelector(".block.leads"),l=document.querySelector(".hero--header--contact"),(c||l)&&new bi.default(c,l),r=document.querySelector(".js-tabs-toggle"),r)try{r.addEventListener("click",function(n){n.preventDefault();var t=r.getAttribute("data-alternative-text");r.setAttribute("data-alternative-text",r.querySelector("span").textContent);r.querySelector("span").textContent=t;document.documentElement.classList.toggle("js-show-filters")},!1)}catch(n){}document.addEventListener("click",function(n){var t=getComputedStyle(n.target).cursor;if(-1===["auto","pointer","default"].indexOf(t)){n.preventDefault();document.documentElement.classList.remove("js-hierarchy-shadow");try{document.querySelector(".hierarchy--item.active").classList.remove("active")}catch(n){}}});document.addEventListener("keydown",function(n){if(27===(n.which||n.keyCode)&&document.querySelector(".hierarchy--item.active")){document.documentElement.classList.remove("js-hierarchy-shadow");try{document.querySelector(".hierarchy--item.active").classList.remove("active")}catch(n){}}});document.addEventListener("DOMContentLoaded",function(){$(".slider-for").slick({slidesToShow:1,slidesToScroll:1,arrows:!1,fade:!0,asNavFor:".slider-nav"});$(".slider-nav").slick({slidesToShow:4,slidesToScroll:1,asNavFor:".slider-for",dots:!1,centerMode:!1,focusOnSelect:!0,prevArrow:'<div class="prev"><button class="prev-button pulse"><i><svg viewBox="0 0 96 96"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#arrow-left"><\/use><\/svg><\/i><\/button><\/div>',nextArrow:'<div class="next"><button class="next-button pulse"><i><svg viewBox="0 0 96 96"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#arrow-right"><\/use><\/svg><\/i><\/button><\/div>',responsive:[{breakpoint:1600,settings:{arrows:!0,centerMode:!1,centerPadding:"40px",slidesToShow:3,moblieFirst:!0}},{breakpoint:1280,settings:{arrows:!0,centerMode:!1,centerPadding:"40px",slidesToShow:2,moblieFirst:!0}},{breakpoint:768,settings:{arrows:!1,centerMode:!0,centerPadding:"40px",slidesToShow:1,moblieFirst:!0}}]})},!1);document.addEventListener("DOMContentLoaded",function(){$(".heroslider-for").slick({slidesToShow:1,slidesToScroll:1,fade:!1,centerMode:!1,asNavFor:".heroslider-nav",dots:!0,appendDots:$(".slick-navigation"),arrows:!0,prevArrow:'<div class="prev"><button class="prev-button pulse"><i><svg viewBox="0 0 96 96"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#arrow-left"><\/use><\/svg><\/i><\/button><\/div>',nextArrow:'<div class="next"><button class="next-button pulse"><i><svg viewBox="0 0 96 96"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#arrow-right"><\/use><\/svg><\/i><\/button><\/div>',appendArrows:$(".slick-navigation")});$(".heroslider-nav").slick({slidesToShow:3,slidesToScroll:1,asNavFor:".heroslider-for",dots:!1,arrows:!1,centerMode:!1,focusOnSelect:!0})},!1);setTimeout(function(){document.body.classList.remove("has-critical")},620)},{"./components/accordion.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\accordion.component.js","./components/contact-card.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\contact-card.component.js","./components/cookie-consent.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\cookie-consent.component.js","./components/expandable-content.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\expandable-content.component.js","./components/expandable-table.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\expandable-table.component.js","./components/filter-tabs.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\filter-tabs.component.js","./components/form.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\form.component.js","./components/gallery.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\gallery.component.js","./components/images.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\images.component.js","./components/key-figure.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\key-figure.component.js","./components/leadsmodule.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\leadsmodule.component.js","./components/modal.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\modal.component.js","./components/navigation.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\navigation.component.js","./components/news-filter.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\news-filter.component.js","./components/press-grid.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\press-grid.component.js","./components/search-page.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\search-page.component.js","./components/search.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\search.component.js","./components/selfmodal.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\selfmodal.component.js","./components/sidebar.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\sidebar.component.js","./components/table.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\table.component.js","./components/tabs.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\tabs.component.js","./components/tooltip.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\tooltip.component.js","./components/videos.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\videos.component.js","./helpers/helpers.js":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\helpers.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\accordion.component.js":[function(n,t,i){"use strict";function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=function(){function n(){u(this,n);this.bindUiActions()}return f(n,[{key:"bindUiActions",value:function(){var n=this;[].concat(r(document.getElementsByClassName("js-accordion-item-toggle"))).forEach(function(t){t.addEventListener("click",n.toggleAccordionItem.bind(n,t),!1)})}},{key:"toggleAccordionItem",value:function(n,t){t.preventDefault();n.findParent(".accordion--item").classList.toggle("js-accordion-item-open")}}]),n}();i.default=function(){return new e}},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\contact-card.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=function(){function n(t){r(this,n);this.element=t;this.bindUiActions()}return u(n,[{key:"bindUiActions",value:function(){var n=this.element.querySelector(".js-toggle-contact-card"),t;try{this.labelElement=n.querySelector("span");this.alternativeLabel=n.getAttribute("data-alternative-text");this.label=this.labelElement.textContent;n.addEventListener("click",this.toggleInformation.bind(this,n))}catch(n){}t=this.element.querySelector(".contact-card--information");try{t.addEventListener("click",this.handleClickInner.bind(this))}catch(n){}window.addEventListener("keydown",this.closeInformation.bind(this))}},{key:"handleClickInner",value:function(n){var t=getComputedStyle(n.target).cursor;window.innerWidth>=507&&-1===["auto","pointer","default"].indexOf(t)&&this.closeInformation(n)}},{key:"closeInformation",value:function(n){var t=n.which||n.keyCode,i="click"===n.type&&1===t;(27===t||i)&&(this.element.classList.remove("js-contact-card-active"),document.documentElement.classList.remove("js-contact-card-shadow"),this.labelElement.textContent=this.label)}},{key:"toggleInformation",value:function(n,t){t&&t.preventDefault();var i=this.element.classList.toggle("js-contact-card-active");document.documentElement.classList.toggle("js-contact-card-shadow",i);this.labelElement.textContent=i?this.alternativeLabel:this.label;this.setFocusToFirst()}},{key:"setFocusToFirst",value:function(){var n=this.element.querySelector(".contact-card--information");try{n.querySelector('textarea, input:not([type="hidden"]):not([disabled]').focus()}catch(n){}}}]),n}();i.default=f},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\cookie-consent.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=n("../helpers/cookie.class"),e=function(n){return n&&n.__esModule?n:{"default":n}}(f),o=function(){function n(t,i){if(r(this,n),this.consent={ads:!1,analytics:!1,person:!1},this.cookie=new e.default(i),this.cookie.value)try{this.consent=JSON.parse(this.cookie.value);this.cookieExisted=!0}catch(n){}else this.cookie.value=JSON.stringify(this.consent),this.cookieExisted=!1;this.element=t;this.cookieExisted&&!window.location.search.includes("setupcookies=")?this.element.remove():(this.initUi(),this.bindUiActions())}return u(n,[{key:"initUi",value:function(){var n,t,i;try{n=this.element.querySelector(".js_consent_person");n&&(n.checked=this.consent&&this.consent.person);t=this.element.querySelector(".js_consent_ads");t&&(t.checked=this.consent&&this.consent.ads);i=this.element.querySelector(".js_consent_analytics");i&&(i.checked=this.consent&&this.consent.analytics)}catch(n){}}},{key:"bindUiActions",value:function(){var n=this;try{this.element.querySelector(".cookie_consent_save").addEventListener("click",this.saveAndClose.bind(this),!1);this.element.querySelector(".cookie_consent_all").addEventListener("click",this.acceptAllAndClose.bind(this),!1);this.element.querySelector(".js_consent_person").addEventListener("click",function(t){t&&t.currentTarget&&(n.consent.person=t.currentTarget.checked)},!1);this.element.querySelector(".js_consent_ads").addEventListener("click",function(t){t&&t.currentTarget&&(n.consent.ads=t.currentTarget.checked)},!1);this.element.querySelector(".js_consent_analytics").addEventListener("click",function(t){t&&t.currentTarget&&(n.consent.analytics=t.currentTarget.checked)},!1);this.disableScrolling()}catch(n){}}},{key:"saveAndClose",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;n&&n.preventDefault();try{this.cookie.value=JSON.stringify(this.consent);this.cookie.save();this.element.remove();this.enableScrolling()}catch(n){}}},{key:"acceptAllAndClose",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;n&&n.preventDefault();try{this.consent={ads:!0,analytics:!0,person:!0};this.saveAndClose()}catch(n){}}},{key:"disableScrolling",value:function(){var n=window.scrollX,t=window.scrollY;window.onscroll=function(){window.scrollTo(n,t)}}},{key:"enableScrolling",value:function(){window.onscroll=function(){}}}]),n}();i.default=o},{"../helpers/cookie.class":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\cookie.class.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\expandable-content.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=function(){function n(t){r(this,n);this.button=t;this.textEl=t.querySelector("span");this.target=t.parentNode;this.tmpText=t.getAttribute("data-alternative-text");this.bindUiActions()}return u(n,[{key:"bindUiActions",value:function(){try{this.button.addEventListener("click",this.toggleContent.bind(this),!1)}catch(n){}}},{key:"toggleContent",value:function(n){n.preventDefault();var t=this.textEl.textContent;this.textEl.textContent=this.tmpText;this.tmpText=t;this.target.classList.toggle("open")}}]),n}();i.default=f},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\expandable-table.component.js":[function(n,t,i){"use strict";function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=function(){function n(t){u(this,n);this.table=t;this.bindUiActions()}return f(n,[{key:"bindUiActions",value:function(){var n=this;[].concat(r(this.table.querySelectorAll(".js-expand-row"))).forEach(function(t){t.addEventListener("click",n.toggle.bind(n,t),!1)})}},{key:"toggle",value:function(n,t){return t.preventDefault(),!0===JSON.parse(n.getAttribute("aria-expanded"))?this.collapse(n):this.expand(n)}},{key:"expand",value:function(n){return this.collapseAll(),n.setAttribute("aria-expanded",!0),!0}},{key:"collapse",value:function(n){return n.setAttribute("aria-expanded",!1),!0}},{key:"collapseAll",value:function(){var n=this;[].concat(r(this.table.querySelectorAll(".js-expand-row"))).forEach(function(t){n.collapse(t)})}}]),n}();i.default=e},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\filter-tabs.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function u(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function f(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}Object.defineProperty(i,"__esModule",{value:!0});var e=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),o=n("./tabs.component"),s=function(n){return n&&n.__esModule?n:{"default":n}}(o),h=function(n){function t(n){r(this,t);var f=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n)),i=n.findParent("form").classObject;return i&&i.usingAjax&&(f.formClass=i),f}return f(t,n),e(t,[{key:"handleTabClick",value:function(n,t){t&&t.preventDefault();t&&t.preventDefault();var i=this.parent.querySelector(".active"),r=this.parent.querySelector(".active-tab"),u=n.href.substring(n.href.indexOf("#")+1);i&&(i.classList.remove("active"),i.tabIndex="-1");r&&r.classList.remove("active-tab");u&&(n.classList.add("active"),n.tabIndex="0")}}]),t}(s.default);i.default=h},{"./tabs.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\tabs.component.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\form.component.js":[function(n,t,i){"use strict";function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=n("../helpers/jumper.class.js"),o=function(n){return n&&n.__esModule?n:{"default":n}}(e),s=function(){function n(t){u(this,n);this.form=t;this.errors={};this.listElement=document.createElement("li");this.jumper=new o.default;this.bindUiActions();this.requestValidationFocus();this.toggleChecked()}return f(n,[{key:"bindUiActions",value:function(){var n=this,u=this.form.querySelectorAll("[maxlength]"),f=this.form.querySelectorAll("[data-toggle-target]"),i=this.form.querySelector("#foreign"),e=this.form.querySelectorAll(".js-toggle-info-tooltip"),t;if(this.form.addEventListener("submit",this.handleSubmit.bind(this),!1),[].concat(r(u)).forEach(function(t){t.addEventListener("input",n.honorMaxlength.bind(n,t),!1)}),[].concat(r(f)).forEach(function(t){t.addEventListener("change",n.toggleTarget.bind(n,t));n.toggleTarget(t)}),[].concat(r(e)).forEach(function(t){t.parentNode.addEventListener("mouseenter",n.toggleTooltip.bind(n,t,!0),!1);t.parentNode.addEventListener("mouseleave",n.toggleTooltip.bind(n,t,!1),!1);t.addEventListener("mousedown",function(){var n=this.findParent("label");n&&n.classList.add("no-active")});document.addEventListener("mouseup",function(){[].concat(r(document.querySelectorAll(".no-active"))).forEach(function(n){n.classList.remove("no-active")})})}),i){i.addEventListener("change",function(){var t=n.form.querySelector("#orgNumber"),r=i.checked?"":t.getAttribute("data-placeholder");t.setAttribute("placeholder",r)});t=null;try{t=new Event("change")}catch(n){t=document.createEvent("Event");t.initEvent("change",!1,!1)}i.dispatchEvent(t)}window.addEventListener("resize",this.repositionTooltips.bind(this),!1)}},{key:"repositionTooltips",value:function(){[].concat(r(document.querySelectorAll(".form-info-window.active"))).forEach(function(n){var t=n.getBoundingClientRect(),r=n.querySelector(".form-info-window-arrow"),i=!1;n.removeAttribute("style");r.removeAttribute("style");window.innerWidth<=t.width?i=-1*t.left:t.left+t.width>window.innerWidth?i=window.innerWidth-(t.left+t.width):t.left<0&&(i=-1*t.left);i&&(n.style.marginLeft=i+"px",r.style.left=-2*i+"px")})}},{key:"toggleTooltip",value:function(n,t,i){var r,u;i&&i.preventDefault();r=n.parentNode.querySelector(".form-info-window");(r.classList.toggle("active",t),t)?this.repositionTooltips():(u=r.querySelector(".form-info-window-arrow"),r.removeAttribute("style"),u.removeAttribute("style"))}},{key:"appendError",value:function(n,t){var r=document.querySelector("#empty_message"),f=r?r.value.replace("%s",t):'Du måste ange "'+t+'"',u=this.listElement.cloneNode(!0),i;(u.innerText=f.trim(),this.errors[n])||(i=this.listElement.cloneNode(!0),i.classList.add("heading"),""!==n.trim()&&(i.innerHTML="<h3>"+n+"<\/h3>"),this.errors[n]=[],this.errors[n].push(i));this.errors[n].push(u)}},{key:"clearPreviousErrors",value:function(){var n=document.querySelector(".validation-summary-valid");this.errors={};n.classList.add("hidden");this.printErrors()}},{key:"printErrors",value:function(){var i=this,n=document.querySelector(".validation-summary-valid"),t=n.querySelector("ul");t.empty();Object.keys(this.errors).length>0&&([].concat(r(Object.keys(this.errors))).forEach(function(n){[].concat(r(i.errors[n])).forEach(function(n){t.appendChild(n)})}),n.classList.remove("hidden"),this.jumper.jump(n,{duration:200,offset:-140}))}},{key:"handleSubmit",value:function(n){var i=this,u=this.form.querySelectorAll("[data-required]"),t=0;if(this.clearPreviousErrors(),[].concat(r(u)).forEach(function(n){var r=n.querySelector("input, select"),e="SELECT"===r.nodeName?"-1":"",u,f;if(!r||0===n.offsetWidth)return!0;switch(r.type){case"checkbox":case"radio":if(!r.checked){try{u=r.findParent("section").querySelector(".header")?r.findParent("section").querySelector(".header").innerText:"";i.appendError(u,r.parentNode.querySelector("span").innerText.split("\n")[0])}catch(n){}t++}break;default:if(r.value.trim()===e){try{f=r.findParent("section").querySelector(".header")?r.findParent("section").querySelector(".header").innerText:"";i.appendError(f,r.parentNode.querySelector("span").innerText.split("\n")[0])}catch(n){}t++}}}),t>0)return this.printErrors(),n.preventDefault(),!1}},{key:"honorMaxlength",value:function(n){var t=n.getAttribute("maxlength");n.value.length>t&&(n.value=n.value.substring(0,t))}},{key:"toggleChecked",value:function(){var n=this;[].concat(r(this.form.querySelectorAll("[data-toggle-target]:checked"))).forEach(function(t){n.toggleTarget(t)})}},{key:"toggleTarget",value:function(n){var i=this,t=(arguments.length>1&&void 0!==arguments[1]&&arguments[1],n.getAttribute("data-toggle-target"));[].concat(r(this.form.querySelectorAll('[data-target="'+t+'"]'))).forEach(function(u){var e=!0,f;null!==u.getAttribute("data-multiple-toggles")?[].concat(r(i.form.querySelectorAll('[data-toggle-target="'+t+'"]'))).forEach(function(n){n.checked&&(e=!1)}):e=n.checked!==JSON.parse(u.getAttribute("data-target-if-checked"));e?u.classList.add("hidden"):u.classList.remove("hidden");f=null;try{f=new Event("change")}catch(n){f=document.createEvent("Event");f.initEvent("change",!1,!1)}e&&[].concat(r(u.querySelectorAll('input[type="checkbox"]'))).forEach(function(n){""!==n.parentNode.getAttribute("data-required")&&(n.checked=!1,n.dispatchEvent(f))})})}},{key:"requestValidationFocus",value:function(){var n=this.form.querySelector(".ValidationFail input, .ValidationFail textarea, .ValidationFail select");n&&n.focus()}}]),n}();i.default=s},{"../helpers/jumper.class.js":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\jumper.class.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\gallery.component.js":[function(n,t,i){"use strict";function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=n("../helpers/jumper.class.js"),o=function(n){return n&&n.__esModule?n:{"default":n}}(e),s=function(){function n(t){u(this,n);this.gallery=t;this.images=[];this.scrollOptions={duration:300};this.image=t.querySelector(".js-gallery-image");this.activeScrollItem=t.querySelector(".js-gallery-image-switch.active");this.prevButton=document.querySelector(".js-gallery-image-previous");this.nextButton=document.querySelector(".js-gallery-image-next");this.scrollImageDistance=115;this.galleryScroll=t.querySelector(".js-gallery-scroll");this.jumper=new o.default(this.galleryScroll,!0);this.setupGallery()&&(this.currentIndex=this.indexOfObjKey("el",this.activeScrollItem),this.bindUiActions(),this.updateButtons())}return f(n,[{key:"setupGallery",value:function(){var n=this;return[].concat(r(this.gallery.querySelectorAll(".js-gallery-image-switch"))).forEach(function(t){var i={url:t.getAttribute("data-image"),el:t,image:null};n.images.push(i)}),!0}},{key:"bindUiActions",value:function(){var i=this,n,t;[].concat(r(this.images)).forEach(function(n){n.el.addEventListener("click",i.selectImage.bind(i,n),!1)});this.gallery.querySelector(".gallery--images-wrap").addEventListener("mouseover",this.hoverie10fix.bind(this),!1);n=this.gallery.querySelector(".js-gallery-image-previous");t=this.gallery.querySelector(".js-gallery-image-next");n&&n.addEventListener("click",this.moveTo.bind(this,-1));t&&t.addEventListener("click",this.moveTo.bind(this,1))}},{key:"hoverie10fix",value:function(n){n.preventDefault();n.stopPropagation()}},{key:"moveTo",value:function(n,t){var i,r;t&&t.preventDefault();i=this.indexOfObjKey("el",this.activeScrollItem)+n;i>-1&&i<this.images.length&&(r=this.images[i],this.activeScrollItem=r.el,this.selectImage(r,t,n))}},{key:"indexOfObjKey",value:function(n,t){var i=-1,r=-1;return this.images.filter(function(u){return i+=1,u[n]===t&&(r=i,!0)})[0],r}},{key:"selectImage",value:function(n,t){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r,u;t&&t.preventDefault();r=void 0;0===o?r=t.target.parentNode.parentNode:(u=this.indexOfObjKey("el",this.activeScrollItem),r=this.images[u].el);var f=document.body.getBoundingClientRect(),e=this.galleryScroll.getBoundingClientRect(),s=e.left-f.left,f=document.body.getBoundingClientRect(),e=r.getBoundingClientRect(),h=e.left-f.left,c=h+r.offsetWidth/2-s,l=c-this.galleryScroll.offsetWidth/2;this.jumper.jump(l,this.scrollOptions);this.image.classList.add("remove");this.loadImage(n).then(function(n){i.switchImages(n);i.activeScrollItem=n.el;i.currentIndex=i.indexOfObjKey("el",i.activeScrollItem);i.updateButtons()})}},{key:"getDataAlt",value:function(n){return n.getAttribute("data-alt")}},{key:"loadImage",value:function(n){return new Promise(function(t,i){if(n.image)t(n);else{var r=new Image;r.src=n.url;r.onload=function(){n.image=r;t(n)};r.onerror=function(n){i(n)}}})}},{key:"switchImages",value:function(n){var i=this.gallery.querySelector(".active"),f=this.gallery.querySelector(".js-caption"),e=this.image.parentNode,t,u;this.image.parentNode.removeChild(this.image);i&&i.classList.remove("active");f.innerHTML="<p>"+n.el.getAttribute("data-caption")+"<\/p>";t=n.image.cloneNode(!0);n.el.classList.add("active");t.classList.add("fadein");t.alt=this.getDataAlt(n.el);setTimeout(function(){t.classList.remove("fadein")},1);u=this.getDataAlt(n.el);[].concat(r(this.gallery.querySelectorAll(".js-image-fullsize"))).forEach(function(n){n.setAttribute("data-image",t.src);n.setAttribute("data-caption",u);n.setAttribute("style","background-image: url('"+t.src+"');")});e.appendChild(t);this.image=t}},{key:"updateButtons",value:function(){this.prevButton.classList.remove("hidden-forced");this.nextButton.classList.remove("hidden-forced");0==this.currentIndex?this.prevButton.classList.add("hidden-forced"):this.currentIndex==this.images.length-1&&this.nextButton.classList.add("hidden-forced")}}]),n}();i.default=s},{"../helpers/jumper.class.js":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\jumper.class.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\images.component.js":[function(n,t,i){"use strict";function f(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function e(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var r,u;Object.defineProperty(i,"__esModule",{value:!0});r=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}();n("../helpers/helpers");u=function(){function n(){e(this,n);(this.handles=this.setupHandles())&&this.bindUiActions()}return r(n,[{key:"setupHandles",value:function(){var n=this,t=document.querySelectorAll(".js-image-fullsize"),i=0;if(this.imageElement=document.getElementById("image-overlay"),this.background=this.imageElement.findParent(".image-overlay--wrap"),this.imageElement)return this.imageParent=this.imageElement.findParent(".image-overlay"),this.disableScrollVar=this.disableScroll.bind(this),t.length>0&&[].concat(f(t)).forEach(function(t){t.getAttribute("data-image")&&(t.addEventListener("click",n.loadImage.bind(n,t)),i+=1)}),i>0}},{key:"getDataImage",value:function(n){return n.getAttribute("data-image")}},{key:"getDataAlt",value:function(n){return n.getAttribute("data-alt")}},{key:"bindUiActions",value:function(){window.addEventListener("keydown",this.keydown.bind(this),!1);document.querySelector(".image-overlay").addEventListener("click",this.handleClickInner.bind(this),!1)}},{key:"keydown",value:function(n){27===(n.which||n.keyCode)&&this.closeImage()}},{key:"shouldShow",value:function(){var n=this;this.animateImage().then(function(){n.imageParent.classList.remove("visually-hidden")}).catch(function(){})}},{key:"disableScroll",value:function(n){n.preventDefault()}},{key:"closeImage",value:function(){document.removeEventListener("touchmove",this.disableScrollVar,!1);window.removeEventListener("scroll",this.disableScrollVar,!1);this.imageParent.classList.remove("active");this.imageParent.classList.remove("in");document.documentElement.classList.remove("js-image-shadow")}},{key:"animateImage",value:function(){var n=this;return new Promise(function(t){var i=getTransitionEvent();n.imageParent.classList.add("in");document.documentElement.classList.add("js-image-shadow");window.requestAnimationFrame(function(){n.imageParent.classList.add("active")});n.imageParent.addEventListener(i,function(){t(1)},!1)})}},{key:"loadImage",value:function(n,t){var r=this,u,i;if(t.preventDefault(),u=this.getDataImage(n),i=this.getDataAlt(n),document.addEventListener("touchmove",this.disableScrollVar,!1),window.addEventListener("scroll",this.disableScrollVar,!1),u===this.src)return this.alt=i,void this.shouldShow();this.setupImage(u,i).then(function(n){r.src=n;r.alt=i;r.shouldShow()}).catch(function(){})}},{key:"handleClickInner",value:function(n){var t=getComputedStyle(n.target).cursor;-1===["auto","pointer","default"].indexOf(t)&&this.closeImage()}},{key:"setupImage",value:function(n,t){var i=this;return new Promise(function(r,u){if(i.image)return i.image.src=n,i.background.setAttribute("style","background-image: url('"+n+"');"),i.image.onload=function(){r(n)},void(i.image.onerror=function(n){u(n)});try{i.image=new Image;i.image.src=n;i.image.alt=t;i.background.setAttribute("style","background-image: url('"+n+"');");i.imageElement.appendChild(i.image);i.image.onload=function(){r(n)};i.image.onerror=function(n){u(n)}}catch(n){u(n)}})}}]),n}();i.default=function(){return new u}},{"../helpers/helpers":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\helpers.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\key-figure.component.js":[function(n,t,i){"use strict";function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=function(){function n(t){u(this,n);this.el=t;this.figures=this.el.querySelectorAll(".key-figures--amount span");this.started=!1;this.finished=0;this.timeLimit=.8;this.totalFrames=60*this.timeLimit;this.userHasScrolled=!1;this.scrolledVar=this.scrolled.bind(this);this.setupDirections();this.bindUiActions();window.requestAnimationFrame(this.shouldStart.bind(this))}return f(n,[{key:"bindUiActions",value:function(){var n=this;window.addEventListener("load",function(){document.addEventListener("scroll",n.scrolledVar,!1);n.inView()&&n.scrolledVar()},!1)}},{key:"scrolled",value:function(){this.userHasScrolled=!0;document.removeEventListener("scroll",this.scrolledVar,!1)}},{key:"setupDirections",value:function(){var n=this;this.options=[];[].concat(r(this.figures)).forEach(function(t){var u=parseFloat(t.innerText.replace(/ /g,"").replace(",",".")),i=parseFloat(t.getAttribute("aria-label").replace(/ /g,"").replace(",",".")),r=Math.abs(i-u)/n.totalFrames,f=i.toString().split("."),e=f[1]?f[1].length:0;i.toFixed(0)==i&&(r=Math.round(r));n.options.push({negative:i<u,increment:r,decimalPoints:e})})}},{key:"shouldStart",value:function(){var n=this;if(!this.userHasScrolled)return void window.requestAnimationFrame(this.shouldStart.bind(this));this.finished>=this.figures.length||(this.started&&this.inView()&&[].concat(r(this.figures)).forEach(function(t,i){var r,u,f;if(t.classList.contains("js-finished"))return!0;r=parseFloat(t.innerText.replace(/ /g,"").replace(",","."));u=parseFloat(t.getAttribute("aria-label").replace(/ /g,"").replace(",","."));n.options[i].negative?(r-=n.options[i].increment)<=u&&(r=u,n.finished++,t.classList.add("js-finished")):(r+=n.options[i].increment)>=u&&(r=u,n.finished++,t.classList.add("js-finished"));f=r.format(n.options[i].decimalPoints);t.innerText=f}),this.started&&!this.inView()||(this.started=!0),window.requestAnimationFrame(this.shouldStart.bind(this)))}},{key:"inView",value:function(){var n=this.el.getBoundingClientRect(),t=.72*window.innerHeight;return n.top<=t}}]),n}();i.default=e},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\leadsmodule.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=n("../helpers/jumper.class"),e=function(n){return n&&n.__esModule?n:{"default":n}}(f),o=function(){function n(t,i){r(this,n);t&&(this.leadsBlock=t,this.leadsBlockSelect=this.leadsBlock.querySelector(".leads-module--header--info--country-select select"),this.selectCountryValue=this.leadsBlockSelect.value,this.leadsConfirm=document.querySelector(".leads-module--confirm"));i&&(this.heroContactBlock=i,this.contactButton=this.heroContactBlock.querySelector(".FormSubmitButton"),this.jumper=new e.default,this.heroContactBlockSelect=this.heroContactBlock.querySelector(".select select"),this.selectCountryValue=this.heroContactBlockSelect.value);this.API_URL=leadsApi.contacts.url;this.API_URL_AVAILABILITY=leadsApi.available.url;this.bindUiActions()}return u(n,[{key:"bindUiActions",value:function(){var n=this;this.leadsBlock&&this.leadsBlockSelect.addEventListener("change",this.changeCountry.bind(this,this.leadsBlockSelect),!1);this.heroContactBlock&&(this.heroContactBlockSelect.addEventListener("change",this.changeCountry.bind(this,this.heroContactBlockSelect),!1),this.contactButton.addEventListener("click",function(t){t.preventDefault();n.jumper.jump(document.querySelector(".block.leads"),{offset:-40})},!1))}},{key:"changeCountry",value:function(n){var t=this,i,r;this.selectCountryValue=n.value;i=this.API_URL+n.value;this.getCountryData(i).then(function(n){t.changeContact(n)},function(){});r=this.API_URL_AVAILABILITY+n.value;this.getCountryData(r).then(function(n){t.changeAvailableText(n)},function(){})}},{key:"changeContact",value:function(n){this.leadsBlock&&this.changeLeadsBlock(n);this.heroContactBlock&&this.changeHeroContactBlock(n)}},{key:"changeAvailableText",value:function(n){this.leadsBlock.querySelector("#availableText").innerHTML=1==n?"":"This product is not available in the country you selected. If you are interested in an alternative or want to have the product supplied in another country, please continue to fill out the form."}},{key:"changeLeadsBlock",value:function(n){for(var i,r,f,u=this.leadsBlock.querySelectorAll(".leads-module--header--image"),t=0,e=u.length;t<e;t++)u[t].querySelector("img").src=n.image_url,u[t].querySelector("img").alt="Photo on "+n.name;this.leadsBlock.querySelector("#leadsName").innerHTML=n.name;this.leadsBlock.querySelector("#leadsCountry").innerHTML=n.home_country;i=this.leadsBlock.querySelector("#leadsOfficeNumber");n.office_number.length>=3?(i.classList.remove("hidden"),i.querySelector("td:last-child a").innerHTML=n.office_number):i.classList.add("hidden");r=this.leadsBlock.querySelector("#leadsMobileNumber");n.mobile_number.length>=3?(r.classList.remove("hidden"),r.querySelector("td:last-child a").innerHTML=n.mobile_number):r.classList.add("hidden");this.leadsBlock.querySelector("#leadsBusinesshours").innerHTML=n.call_from_hrs+" - "+n.call_to_hrs;this.leadsBlock.querySelector("#leadsLocaltime").innerHTML="Local time in "+n.home_country+" is "+n.office_local_time+" ("+n.timezone+")";this.leadsBlock.querySelector("#contactid").value=n.ID;this.leadsBlockSelect.querySelector('[selected="selected"]').removeAttribute("selected");this.leadsConfirm.querySelector('[selected="selected"]').removeAttribute("selected");this.leadsBlockSelect.querySelector('[value="'+this.selectCountryValue+'"]').setAttribute("selected","selected");this.leadsConfirm.querySelector('[value="'+this.selectCountryValue+'"]').setAttribute("selected","selected");f=this.leadsBlock.querySelector(".selected-country");this.leadsBlock.querySelector("#countryid").value=f.options[f.selectedIndex].value}},{key:"changeHeroContactBlock",value:function(n){this.heroContactBlock.querySelector(".author--figure img").src=n.image_url;this.heroContactBlock.querySelector(".author--figure img").alt="Photo on "+n.name;this.heroContactBlock.querySelector(".author--name").innerHTML=n.name;this.heroContactBlock.querySelector(".author--role").innerHTML=n.title;this.heroContactBlock.querySelector('.select select [selected="selected"]').removeAttribute("selected");this.heroContactBlock.querySelector('.select select [value="'+this.selectCountryValue+'"]').setAttribute("selected","selected");window.dynamicBorderSelect(this.heroContactBlock.querySelector(".js-select-dynamic-border"))}},{key:"getCountryData",value:function(n){return new Promise(function(t,i){var r=new XMLHttpRequest;r.open("GET",n,!0);r.onload=function(){200==r.status?t(JSON.parse(r.responseText)):i(r.status)};r.onerror=function(){i(Error("Network Error"))};r.send()})}}]),n}();i.default=o},{"../helpers/jumper.class":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\jumper.class.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\modal.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=function(){function n(t){r(this,n);this.toggleButton=t;this.modalID=this.toggleButton.getAttribute("modal-id");this.modal=document.getElementById(this.modalID);this.bindUiActions()}return u(n,[{key:"bindUiActions",value:function(){try{this.labelElement=this.toggleButton.querySelector("span");this.alternativeLabel=this.toggleButton.getAttribute("data-alternative-text");this.label=this.labelElement.textContent;this.toggleButton.addEventListener("click",this.toggleModal.bind(this,this.toggleButton))}catch(n){}try{this.modal.addEventListener("click",this.handleClickInner.bind(this))}catch(n){}window.addEventListener("keydown",this.closeModal.bind(this))}},{key:"handleClickInner",value:function(n){var t=getComputedStyle(n.target).cursor;-1===["auto","pointer","default"].indexOf(t)&&this.closeModal(n)}},{key:"closeModal",value:function(n){var t=n.which||n.keyCode,i="click"===n.type&&1===t;(27===t||i)&&(this.modal.classList.remove("active"),document.documentElement.classList.remove("js-modal-shadow"),this.labelElement.textContent=this.label)}},{key:"toggleModal",value:function(n,t){t&&t.preventDefault();var i=this.modal.classList.toggle("active");document.documentElement.classList.toggle("js-modal-shadow",i);this.alternativeLabel&&(this.labelElement.textContent=i?this.alternativeLabel:this.label)}}]),n}();i.default=f},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\navigation.component.js":[function(n,t,i){"use strict";function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=function(){function n(){u(this,n);this.BIND_CLASS="js-megamenu-toggle";this.ACTIVE_CLASS="js-megamenu-in";this.ACTIVE_CLASS_B="js-megamenu-active";this.HTML_CLASS="js-overlay-shadow";this.MOBILE_CLASS="js-mobile-menu";this.HEADER_CLASS="site-header";this.previousScroll=0;this.previousDirection=null;this.scrollDistancePoint=0;this.scrollSinceDirectionChange=0;this.disableScrollVar=this.disableScroll.bind(this);this.bindUiActions()}return f(n,[{key:"disableScroll",value:function(n){var r=n.target.findParent,t=!!r&&n.target.findParent(".mobile-navigation"),i;if(n.target===document||!t||t.offsetHeight>=t.scrollHeight)return n.preventDefault(),i=window.scrollY||window.pageYOffset,"scroll"===n.type&&0===i&&this.setHeaderPosition(this.MOBILE_CLASS),!1}},{key:"bindUiActions",value:function(){var n=this,u=document.getElementsByClassName(this.BIND_CLASS),f=document.querySelectorAll(".megamenu--inner [aria-haspopup]"),e=document.querySelector(".overlay-shadow"),o=document.querySelector(".js-main-navigation-toggle"),s=document.querySelectorAll(".megamenu--inner"),t=document.querySelector(".select-language > [aria-haspopup]"),i;[].concat(r(u)).forEach(function(t){t.addEventListener("click",n.toggleMegaMenu.bind(n,t),!1);t.addEventListener("keydown",n.spaceTogglesMenu.bind(n,t),!1)});[].concat(r(f)).forEach(function(t){t.addEventListener("click",n.toggleSubmenu.bind(n,t),!1)});document.addEventListener("keydown",this.closeMenu.bind(this),!1);window.addEventListener("scroll",this.handleScroll.bind(this),!1);document.addEventListener("resize",this.setHeaderHeight.bind(this),!1);o.addEventListener("click",this.toggleMobileMenu.bind(this),!1);[].concat(r(s)).forEach(function(t){t.addEventListener("click",n.handleClickInner.bind(n),!1)});this.handleScroll();this.setHeaderHeight();i=document.querySelector(".js-close-search");try{i.addEventListener("click",this.closeMenu.bind(this),!1)}catch(n){}try{e.addEventListener("click",this.closeMenu.bind(this),!1)}catch(n){}t&&t.addEventListener("click",this.toggleMegaMenu.bind(this,t),!1)}},{key:"handleClickInner",value:function(n){var t=getComputedStyle(n.target).cursor;window.innerWidth>=680&&-1===["auto","pointer","default"].indexOf(t)&&this.closeMenu(n)}},{key:"toggleSubmenu",value:function(n,t){(window.innerWidth<1025&&"#"===n.getAttribute("href")||"#"===n.getAttribute("href"))&&t.preventDefault();var i=JSON.parse(n.getAttribute("aria-expanded"));n.findParent("nav").parentNode;(n.setAttribute("aria-expanded",!i),i)&&[].concat(r(n.parentNode.querySelectorAll("[aria-haspopup]"))).forEach(function(n){var t=n.parentNode.querySelector(".menu-item-active");n.parentNode.classList.contains("menu-item-active")||t||n.setAttribute("aria-expanded",!1)})}},{key:"toggleMobileMenu",value:function(n){n.preventDefault();document.documentElement.classList.toggle(this.MOBILE_CLASS);this.closeHierarchy();document.documentElement.classList.contains(this.MOBILE_CLASS)?(window.addEventListener("scroll",this.disableScrollVar,!1),window.addEventListener("touchmove",this.disableScrollVar,!1)):(window.removeEventListener("scroll",this.disableScrollVar,!1),window.removeEventListener("touchmove",this.disableScrollVar,!1));try{document.querySelector(".search.js-megamenu-active").classList.remove("js-megamenu-active")}catch(n){}document.documentElement.classList.contains(this.MOBILE_CLASS)||document.documentElement.classList.remove(this.HTML_CLASS);this.setHeaderPosition(this.MOBILE_CLASS)}},{key:"closeMobileMenu",value:function(){document.documentElement.classList.remove(this.MOBILE_CLASS);document.documentElement.classList.remove(this.HTML_CLASS);window.removeEventListener("touchmove",this.disableScrollVar,!1);window.removeEventListener("scroll",this.disableScrollVar,!1);this.setHeaderPosition()}},{key:"setHeaderHeight",value:function(){var n=document.querySelector("."+this.HEADER_CLASS);n.offsetHeight!=this.headerHeight&&(this.headerHeight=n.offsetHeight);this.cookieWarningHeight=0;this.multiplier="ontouchstart"in document&&window.outerWidth<=1024?.3:1}},{key:"handleScroll",value:function(){var n=(document.querySelector("."+this.HEADER_CLASS),window.scrollY||window.pageYOffset||document.documentElement.scrollTop),t=n>this.previousScroll?"down":"up";this.headerOffset=document.querySelector(".cookie-warning")?document.querySelector(".cookie-warning").getBoundingClientRect().bottom:0;t!==this.previousDirection&&(this.scrollDistancePoint=n,this.previousDirection=t);this.scrollSinceDirectionChange=Math.abs(n-this.scrollDistancePoint);n>2*this.headerHeight&&"up"===t&&this.scrollSinceDirectionChange>100*this.multiplier?document.documentElement.classList.add("header-fixed--show"):n>2*this.headerHeight&&"down"===t&&this.scrollSinceDirectionChange>250*this.multiplier&&(document.documentElement.classList.contains(this.HTML_CLASS)||document.documentElement.classList.remove("header-fixed--show"));n>this.cookieWarningHeight&&"down"===t?document.documentElement.classList.add("header-fixed"):n<=this.cookieWarningHeight&&document.documentElement.classList.remove("header-fixed");this.previousScroll=n}},{key:"closeMenu",value:function(n,t){var r=n.which||n.keyCode,u="click"===n.type&&1===r,i;if((!u||"INPUT"!==n.target.nodeName)&&(27===r||u||t)){i=document.querySelector("."+this.ACTIVE_CLASS);try{t||this.closeMobileMenu();i.classList.remove(this.ACTIVE_CLASS_B);i.classList.remove(this.ACTIVE_CLASS);i.querySelector("[aria-haspopup]").setAttribute("aria-expanded",!1);document.querySelector("."+this.ACTIVE_CLASS)?document.documentElement.classList.add(this.HTML_CLASS):document.documentElement.classList.remove(this.HTML_CLASS);this.setHeaderPosition();this.blurSearch()}catch(n){}}}},{key:"spaceTogglesMenu",value:function(n,t){32===(t.which||t.keyCode)&&this.toggleMegaMenu(n,t)}},{key:"setHeaderPosition",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=document.querySelector("."+this.HEADER_CLASS),i=window.scrollY||window.pageYOffset||document.documentElement.scrollTop;t||(t=this.HTML_CLASS);document.documentElement.classList.contains(t)&&(n.style.position="absolute",n.style.top=i+"px");document.documentElement.classList.contains(this.HTML_CLASS)||document.documentElement.classList.contains(this.MOBILE_CLASS)||(n.style.position="",n.style.top="")}},{key:"toggleMegaMenu",value:function(n,t){var e=this,f,u;t.preventDefault();var i=document.querySelector("."+this.ACTIVE_CLASS),o=document.querySelector("."+this.MOBILE_CLASS+' .js-megamenu-toggle[aria-expanded="true"]'),r=!1;if(!i&&o&&(r=!0),i&&i!=n.parentNode){i.classList.remove(this.ACTIVE_CLASS_B);i.classList.remove(this.ACTIVE_CLASS);f=i.querySelector("[aria-haspopup]");try{f.setAttribute("aria-expanded",!1)}catch(n){}}this.closeHierarchy();r||(n.parentNode.classList.toggle(this.ACTIVE_CLASS),setTimeout(function(){n.parentNode.classList.toggle(e.ACTIVE_CLASS_B)},1));u=document.querySelector("."+this.ACTIVE_CLASS);u?document.documentElement.classList.add(this.HTML_CLASS):document.documentElement.classList.remove(this.HTML_CLASS);r?n.setAttribute("aria-expanded",!r):n.setAttribute("aria-expanded",!!u);this.setHeaderPosition();n.parentNode.classList.contains(this.ACTIVE_CLASS)&&this.focusSearch(n.parentNode);document.documentElement.classList.contains(this.HTML_CLASS)||this.blurSearch()}},{key:"closeHierarchy",value:function(){if(document.querySelector(".hierarchy--item.active"))try{document.documentElement.classList.remove("js-hierarchy-shadow");document.querySelector(".hierarchy--item.active").classList.remove("active")}catch(n){}}},{key:"focusSearch",value:function(n){var t=this;setTimeout(function(){try{n.querySelector("input").focus();document.documentElement.classList.remove(t.MOBILE_CLASS)}catch(n){}},1)}},{key:"blurSearch",value:function(){try{document.querySelector('input[type="search"]').blur()}catch(n){}}},{key:"headerHeight",set:function(n){this._headerHeight=n},get:function(){return this._headerHeight}},{key:"cookieWarningHeight",set:function(n){this._cookieWarningHeight=n},get:function(){return this._cookieWarningHeight}},{key:"headerOffset",set:function(n){this._headerOffset=n},get:function(){return this._headerOffset}},{key:"previousScroll",set:function(n){this._previousScroll=n},get:function(){return this._previousScroll}},{key:"previousDirection",set:function(n){this._previousDirection=n},get:function(){return this._previousDirection}},{key:"scrollSinceDirectionChange",set:function(n){this._scrollSinceDirectionChange=n},get:function(){return this._scrollSinceDirectionChange}},{key:"multiplier",set:function(n){this._multiplier=n},get:function(){return this._multiplier}}]),n}();i.default=function(){return new e}},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\news-filter.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=function(){function n(t){r(this,n);this.el=t;this.badge=this.el.querySelector(".js-badge");this.toggle=this.el.querySelector(".js-filter-list-toggle");this.checkboxesTotal=0;this.checkboxesChecked=0;this.filterList=t.getAttribute("data-list-target");var i=t.findParent("form").classObject;i&&i.usingAjax&&(this.formClass=i);this.bindUiActions()}return u(n,[{key:"bindUiActions",value:function(){this.el.querySelectorAll('input[type="checkbox"]');this.toggle.addEventListener("click",this.toggleDropdown.bind(this),!1);var n=document.querySelector(".news-filter--overlay");this.el.querySelector(".js-toggle-all");n&&(n.addEventListener("click",this.closeDropdowns.bind(this),!1),n.classList.add("js-events"))}},{key:"closeDropdowns",value:function(n){var t,r,i;n&&n.preventDefault();t=document.querySelectorAll(".block.filters, .block.news-filter")[0];t&&(n.target.classList.contains("news-filter--overlay")&&(t.classList.remove("js-overlay-show--mobile"),r=t.querySelector('[aria-expanded="true"].choose-filter'),r&&r.setAttribute("aria-expanded",!1)),i=t.querySelector('[aria-expanded="true"]:not(.choose-filter)'),i&&(i.findParent(".news-filter--inner").classList.remove("js-active-list"),i.setAttribute("aria-expanded",!1),t.classList.remove("js-overlay-show")))}},{key:"toggleDropdown",value:function(n){n.preventDefault();var t="true"==this.toggle.getAttribute("aria-expanded"),i=this.el.findParent(".block");this.closeDropdowns(n);t||(i.classList.add("js-overlay-show"),this.toggle.parentNode.classList.add("js-active-list"),this.toggle.setAttribute("aria-expanded",!0))}},{key:"renderBadge",value:function(){var n=this.checkboxesChecked>0?this.checkboxesChecked:"";this.badge.innerText=n}}]),n}();i.default=f},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\press-grid.component.js":[function(n,t,i){"use strict";function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=function(){function n(t){u(this,n);this.element=t;this.buttons=this.element.querySelectorAll(".press-grid--list button");this.stateTogglers=this.element.querySelectorAll(".js-press-grid-state-toggle");this.approval=this.element.querySelector(".js-license-approval");this.links=this.element.querySelectorAll(".js-download");this.bindUiActions()}return f(n,[{key:"browserCheck",value:function(){var n=!1,t=window.navigator.userAgent,i=t.indexOf("MSIE "),r=t.indexOf("Trident/");return(i>-1||r>-1)&&(n=!0),n}},{key:"bindUiActions",value:function(){var n=this;[].concat(r(this.buttons)).forEach(function(t){t.addEventListener("click",function(n){n.preventDefault();t.focus()});t.addEventListener("focus",n.hoverLink.bind(n,t,"add"),!1);t.addEventListener("blur",n.hoverLink.bind(n,t,"remove"),!1)});[].concat(r(this.stateTogglers)).forEach(function(t){t.addEventListener("click",n.switchActiveSate.bind(n,t),!1)});[].concat(r(this.links)).forEach(function(t){t.addEventListener("click",n.tryDownload.bind(n,t),!1)});this.approval&&this.approval.addEventListener("change",this.changedApproval.bind(this),!1)}},{key:"tryDownload",value:function(n,t){var i=n.findParent("[data-download]");i&&n.classList.contains("activated")&&this.approval.checked?(n.href=i.getAttribute("data-download"),n.download=i.getAttribute("data-download"),this.browserCheck()&&(n.target="_blank")):t&&t.preventDefault()}},{key:"changedApproval",value:function(){var n=this,t=this.approval.checked?"0":"-1";[].concat(r(this.links)).forEach(function(i){i.classList.toggle("activated",n.approval.checked);i.setAttribute("data-tooltip",!n.approval.checked);i.setAttribute("tabIndex",t)})}},{key:"hoverLink",value:function(n,t){var i=n.findParent(".press-grid--item");i&&i.classList[t]("js-hover")}},{key:"switchActiveSate",value:function(n,t){t&&t.preventDefault();var i=n.getAttribute("data-state");this.element.setAttribute("data-state-active",i);[].concat(r(this.stateTogglers)).forEach(function(t){t.classList.toggle("active",n===t)})}}]),n}();i.default=e},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\search-page.component.js":[function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function f(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),s=n("./news-filter.component"),h=(u(s),n("../helpers/jumper.class")),c=u(h),l=function(){function n(t,i,r,u,e,o){var s=this;f(this,n);this.$scope=t;window.$scope=t;window.$compile=o;this.$route=i;this.$routeParams=r;this.$location=u;this.$http=e;this.search=!1;this.jumper=new c.default;this.initial=!0;this.filters=document.querySelector(".block.filters");this.filterListContainer=this.filters.querySelector(".js-filter-list-container");t.$on("$locationChangeSuccess",this.query.bind(this));t.loaded="js-loader";t.url=searchParams.results.url;t.originalParams=JSON.parse(JSON.stringify(searchParams.results.request));t.searchParams=searchParams.results.request;t.data={};t.queryText=u.search().queryText;t.groups=[];t.submit=this.submit.bind(this);t.submitForm=this.submitForm.bind(this);t.changePage=this.changePage.bind(this);t.changeCurrentMainFacet=this.changeCurrentMainFacet.bind(this);t.toggleFacet=this.toggleFacet.bind(this);t.buttonText=this.buttonText.bind(this);t.buttonClass=this.buttonClass.bind(this);t.isActivePage=this.isActivePage.bind(this);t.getTotalPages=this.getTotalPages.bind(this);t.getPages=function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3,r=void 0,u=void 0,e=s.getCurrentPage(),n=s.getTotalPages(),f=[],o,h;for(t.mobileText="Sida "+s.getCurrentPage()+" av "+s.getTotalPages(),n<=2*i+5?(r=1,u=n):e<=i+3?(r=1,u=2*i+3):e>=n-(i+2)?(r=n-2*i-2,u=n):(r=e-i,u=e+i),r>1&&f.push(1),r>2&&f.push(!1),o=r,h=u;o<=h;o++)f.push(o);return u<n-1&&f.push(!1),u<n&&f.push(n),f}}return n.$inject=["$scope","$route","$routeParams","$location","$http","$compile"],o(n,[{key:"getTotalPages",value:function(){return Math.round(this.$scope.data.TotalNrOfHits/this.$scope.searchParams.take+.49)}},{key:"buttonText",value:function(n,t,i){return n.Facets[t].filter(function(n){return n.Term===i.Term}).length>0?"active":""}},{key:"query",value:function(){JSON.stringify(this.$location.search())!==JSON.stringify(this.search)&&(this.resetParams(this.search,this.$location.search()),this.submit(),this.search=JSON.parse(JSON.stringify(this.$location.search())))}},{key:"fixBase",value:function(){var n=document.querySelector("base"),t=document.createElement("base");t.href=""+document.location.href;n?n.parentNode.replaceChild(t,n):document.getElementsByTagName("head")[0].appendChild(t)}},{key:"resetParams",value:function(n,t){var u="object"===(void 0===n?"undefined":e(n))?Object.keys(n):[],r,i;for(this.$scope.searchParams.SkipSearchingHits=!1,r=0;r<u.length;r++)i=u[r],void 0===t[i]&&void 0!==this.$scope.originalParams[i]&&(this.$scope.searchParams[i]=this.$scope.originalParams[i])}},{key:"setupSearchParams",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n.facets&&"string"==typeof n.facets&&(n.facets=[n.facets]),Object.assign(this.$scope.searchParams,n)}},{key:"submitForm",value:function(){var n=null,t;try{n=new Event("input")}catch(e){n=document.createEvent("Event");n.initEvent("input",!1,!1)}t=document.querySelector('[ng-model="queryText"]');t.dispatchEvent(n);t.blur();this.$location.search("skip",null);this.$location.search("queryText",this.$scope.queryText.trim().length>0?this.$scope.queryText.trim():null);this.query()}},{key:"changePage",value:function(n,t){t.preventDefault();var u=+this.$scope.searchParams.skip,r=+this.$scope.searchParams.take,i=0;switch(n){case"previous":i=u-r;break;case"next":i=u+r;break;default:i=n*r}i!==this.$scope.searchParams.skip&&(this.$location.search("skip",i>0?i:null),this.query(),document.querySelector(".search-items--list").focus())}},{key:"toggleFacet",value:function(n,t){var i=this.$scope.searchParams.facets,r=i.indexOf(n);r>-1?(i.splice(r,1),this.removeTag(n)):(i.push(n),this.addTag(n));try{newsFilterBindings[0].closeDropdowns(t)}catch(n){}this.$location.search("facets",null);this.$location.search("facets",i)}},{key:"addTag",value:function(n){var r=n.split("|")[1],t,i;this.filterListContainer||(this.filterListContainer=document.querySelector(".tags--list.js-filter-list-container"));t=this.filterListContainer.querySelector(".tags--item.clone").cloneNode(!0);t.setAttribute("data-tag",n);i=t.querySelector("a");t.classList.remove("clone");t.querySelector("span").textContent=r;i.setAttribute("aria-label",i.getAttribute("aria-label")+" "+r);this.filterListContainer.appendChild(t);i.addEventListener("click",this.clickTag.bind(this,n),!1)}},{key:"removeTag",value:function(n){var t=this.filterListContainer.querySelector('[data-tag="'+n+'"]');t&&t.parentNode.removeChild(t)}},{key:"clickTag",value:function(n,t){this.removeTag(n,t);var i=this.$scope.searchParams.facets,r=i.indexOf(n);i.splice(r,1);try{newsFilterBindings[0].closeDropdowns(t)}catch(n){}this.query()}},{key:"changeCurrentMainFacet",value:function(n,t){var i,u,r;t.preventDefault();i=document.querySelectorAll(".block.filters, .block.news-filter")[0];i&&(t.target.classList.contains("news-filter--overlay")&&(i.classList.remove("js-overlay-show--mobile"),u=i.querySelector('[aria-expanded="true"].choose-filter'),u&&u.setAttribute("aria-expanded",!1)),r=i.querySelector('[aria-expanded="true"]:not(.choose-filter)'),r&&(r.findParent(".news-filter--inner").classList.remove("js-active-list"),r.setAttribute("aria-expanded",!1),i.classList.remove("js-overlay-show")));n!==this.$scope.searchParams.mainFacet&&(this.$location.search("mainFacet",n),this.$location.search("facets",null),this.$location.search("skip",null),this.query())}},{key:"getCurrentPage",value:function(){return(+this.$scope.searchParams.take+ +this.$scope.searchParams.skip)/+this.$scope.searchParams.take}},{key:"isActivePage",value:function(n){return this.getCurrentPage()===n}},{key:"submit",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return n||(n=this.$scope.searchParams),n=this.setupSearchParams(this.$location.search()),this.initial||this.scrollTop(),this.initial=!1,this.fetchResults(n),!1}},{key:"fetchResults",value:function(n){this.$scope.loaded?this.$scope.loaded+=" js-loader":this.$scope.loaded="";this.$http({method:"post",url:this.$scope.url,data:{request:n},headers:{Accept:"application/json","Content-Type":"application/json"}}).then(this.fetchSuccess.bind(this),this.fetchError.bind(this))}},{key:"fetchSuccess",value:function(n){var t=this;if(200!==n.status)return this.$scope.loaded="js-loaded",void this.fetchError(n);this.fixBase();Promise.all(this.updateScope(n.data.d)).then(this.checkValues(n.data.d)).then(function(){t.$scope.loaded="js-loaded";t.$scope.$apply();try{var n=document.querySelector("main .search--result-list");n.empty();n.classList.add("visually-hidden");n.setAttribute("aria-hidden","true");t.updateAllFilterBadgesAndTags()}catch(n){}}).catch(function(){})}},{key:"updateAllFilterBadgesAndTags",value:function(){var n=this;[].concat(r(document.querySelectorAll(".js-filter-list-hook"))).forEach(function(t){t.querySelector(".badge").innerHTML="";[].concat(r(t.querySelectorAll(".news-filter--item button.active"))).forEach(function(i){var u=i.getAttribute("data-tag"),r;document.querySelector('.js-filter-list-container [data-tag="'+u+'"]')||n.addTag(i.getAttribute("data-tag"));r=t.querySelector(".badge");r.innerHTML=r.innerHTML?parseInt(r.innerHTML)+1:1})})}},{key:"scrollTop",value:function(){this.jumper.jump(document.querySelector(".main--wrap"),{offset:-40})}},{key:"setupGroups",value:function(n){for(var u=[],i=void 0,r=Object.keys(n),t=0,f=r.length;t<f;t++)t%2==0&&(i={},u.push(i)),i[r[t]]=n[r[t]];this.$scope.groups=u;this.updateAllFilterBadgesAndTags()}},{key:"updateScope",value:function(n){var t=[];return this.$scope.data=n,this.setupGroups(n.Facets),[].concat(r(n)).forEach(function(n){n.IllustratingImageUrl&&t.push(new Promise(function(t,i){var r=new Image;r.src=n.IllustratingImageUrl;r.onload=function(){t()};r.onerror=function(n){i(n)}}))}),t}},{key:"checkValues",value:function(n){var t=this;return new Promise(function(i){0===n.AllMainFacets.filter(function(n){return n.Term===t.search.mainFacet}).length&&t.$location.search("mainFacet",null);i()})}},{key:"fetchError",value:function(){}},{key:"buttonClass",value:function(n){return this.search.facets&&this.search.facets.indexOf(n)>-1?"active":""}}]),n}();i.default=l},{"../helpers/jumper.class":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\jumper.class.js","./news-filter.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\news-filter.component.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\search.component.js":[function(n,t,i){"use strict";function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function o(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}var u,f,e;Object.defineProperty(i,"__esModule",{value:!0});u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}();n("whatwg-fetch");f=n("./tabs.component");e=(function(n){n&&n.__esModule}(f),function(){function n(t){o(this,n);this.field=t;this.form=t.findParent("form");this.resultActionBindings=[];this.list=this.form.querySelector(".search--result-list")||!1;this.initInstr=this.form.querySelector("#initInstr");this.live=this.form.querySelector(".screen-reader-text");try{this.usingAjax=!!angular}catch(n){this.usingAjax=!(!document.body.classList.contains("page-search")||!this.field.findParent("main"))}this.options=this.setupOptions();this.form.classObject=this;this.setupClones();this.bindUiActions();this.usingAjax&&this.focusSearch()}return u(n,[{key:"setupOptions",value:function(){return{}}},{key:"setupClones",value:function(){try{var t=this.form.querySelector(".js-autocomplete-clone"),n=this.form.querySelector(".js-search-item-clone");this.clone=t.cloneNode(!0);t.remove();this.clone.classList.remove("js-autocomplete-clone");n&&(this.itemClone=n.cloneNode(!0),n.remove(),this.itemClone.classList.remove("js-search-item-clone"))}catch(t){}}},{key:"getClone",value:function(){return this.clone.cloneNode(!0)}},{key:"getItemClone",value:function(){return this.itemClone.cloneNode(!0)}},{key:"bindUiActions",value:function(){var n=this;this.field.addEventListener("keydown",this.keyDown.bind(this),!1);this.field.addEventListener("keyup",this.keyUp.bind(this),!1);this.field.addEventListener("input",this.input.bind(this),!1);this.field.addEventListener("focus",this.focus.bind(this),!1);this.field.addEventListener("focusout",this.blur.bind(this),!1);[].concat(r(document.querySelectorAll(".js-search-toggle"))).forEach(function(t){t.addEventListener("click",n.externalOpenSearch.bind(n),!1)});document.addEventListener("mouseup",function(){n.preventBlur=!1});this.usingAjax&&document.querySelector(".search-toggle").addEventListener("click",this.focusSearch.bind(this),!1);this.bindResultActions()}},{key:"externalOpenSearch",value:function(n){var i,t;if(n&&n.preventDefault(),i=document.querySelector(".search-toggle"),i){t=null;try{t=new Event("click")}catch(n){t=document.createEvent("Event");t.initEvent("click",!1,!1)}i.dispatchEvent(t)}}},{key:"focus",value:function(){this.getAllResults().length>0&&this.list&&(this.list.classList.remove("visually-hidden"),this.list.setAttribute("aria-hidden","false"))}},{key:"blur",value:function(){!this.preventBlur&&this.list&&(this.list.classList.add("visually-hidden"),this.list.setAttribute("aria-hidden","true"),this.live.textContent="",this.preventBlur=!1)}},{key:"purgeOldBinds",value:function(){[].concat(r(this.resultActionBindings)).forEach(function(n){n.element.removeEventListener(n.event,n.function)});this.resultActionBindings=[]}},{key:"focusSearch",value:function(n){+this.field.offsetWidth>0&&n&&(n.preventDefault(),n.stopImmediatePropagation(),this.field.focus())}},{key:"bindResultActions",value:function(){var n=this;(this.purgeOldBinds(),this.list)&&[].concat(r(this.list.querySelectorAll(".js-search-result-link"))).forEach(function(t){[{element:t,event:"mousedown","function":n.clickLink.bind(n,t)},{element:t,event:"mouseenter","function":n.mouseEnterLink.bind(n,t)}].forEach(function(t){n.resultActionBindings.push(t);t.element.addEventListener(t.event,t.function)})})}},{key:"mouseEnterLink",value:function(n){this.selectResult(n)}},{key:"clickLink",value:function(n,t){var i=this;if(t.preventDefault(),t.stopPropagation(),this.usingAjax&&window.$scope)return this.field.blur(),void window.$scope.submitForm(t);n.addEventListener("mouseup",function(){i.form.submit()},!1)}},{key:"keyDown",value:function(n){var t=n.which||n.keyCode;27===t&&(n.preventDefault(),this.field.blur(),this.stopKeyPress=!0);40!==t&&38!==t||n.preventDefault()}},{key:"input",value:function(n){if(this.stopKeyPress)return void(this.stopKeyPress=!1);try{this.field.findParent(".search--wrap").classList.toggle("js-text-entered",""!=this.field.value.trim())}catch(n){}n.bubbles&&this.autocomplete()}},{key:"keyUp",value:function(n){var t=n.which||n.keyCode;40===t&&this.selectResult(this.selectNextResult());38===t&&this.selectResult(this.selectPreviousResult())}},{key:"hideIfEmpty",value:function(){var n=this.field.value.trim();return n&&""!==n?n:(this.removeResults(),!0)}},{key:"autocomplete",value:function(){var n=void 0,t;!0!==(n=this.hideIfEmpty())&&(t=new Request(""+searchParams.autocomplete.url+n+"/?limit="+searchParams.autocomplete.request.limit),fetch(t).then(function(n){return n.json()}).then(this.handleAutocompleteResponse.bind(this)).catch(function(){}))}},{key:"removeResults",value:function(){this.list&&(this.list.empty(),this.list.classList.add("visually-hidden"),this.list.setAttribute("aria-hidden","true"),this.live.textContent="0 träffar.")}},{key:"handleAutocompleteResponse",value:function(n){var t=this;"ok"===n.Status&&(this.removeFocus(),this.removeResults(),n.Hits.length>0&&this.list&&(this.list.classList.remove("visually-hidden"),this.list.setAttribute("aria-hidden","false"),this.live.textContent=n.Hits.length+" träffar. "+this.initInstr.textContent,n.Hits.forEach(function(n){var i=t.getClone();i.querySelector("span").innerText=n.Query;t.list.appendChild(i)}),this.bindResultActions()))}},{key:"getAllResults",value:function(){return document.querySelectorAll(".js-search-result-link")}},{key:"selectNextResult",value:function(){var n=this.getAllResults();return this.focusResult?n[n.indexOf(this.focusResult)+1]||n[0]:n[0]}},{key:"selectPreviousResult",value:function(){var n=this.getAllResults();return this.focusResult?n[n.indexOf(this.focusResult)-1]||n[n.length-1]:n[n.length-1]}},{key:"selectResult",value:function(n){n&&(this.removeFocus(),n.classList.add("js-focus"),this.focusResult=n,this.field.value=n.textContent)}},{key:"removeFocus",value:function(){try{this.focusResult.classList.remove("js-focus");this.focusResult=null}catch(n){this.focusResult=null}}},{key:"field",set:function(n){this._field=n},get:function(){return this._field}}]),n}());i.default=e},{"./tabs.component":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\tabs.component.js","whatwg-fetch":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\node_modules\\whatwg-fetch\\fetch.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\selfmodal.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=function(){function n(t){r(this,n);this.toggleButton=t;this.modalItem=this.toggleButton.findParent(this.toggleButton.getAttribute("data-modal-item"));this.modalParent=this.modalItem.parentNode;this.itemQuery=this.toggleButton.getAttribute("data-modal-item");document.querySelector(".modal-ghost")?(this.modalWrapper=this.modalParent.querySelector(".modal-ghost"),this.modal=this.modalParent.querySelector(".modal-ghost "+this.itemQuery),this.overlayShadow=this.modalParent.querySelector(".modal-ghost--overlay-shadow")):(this.modalWrapper=document.createElement("DIV"),this.modalWrapper.className="modal-ghost",this.modalParent.appendChild(this.modalWrapper),this.modal=this.modalItem.cloneNode(!0),this.modal.className="modal-ghost "+this.itemQuery.replace(".","").replace("#",""),this.modalWrapper.appendChild(this.modal),this.overlayShadow=document.createElement("DIV"),this.overlayShadow.className="modal-ghost--overlay-shadow",this.modalWrapper.appendChild(this.overlayShadow));this.bindUiActions()}return u(n,[{key:"bindUiActions",value:function(){try{this.toggleButton.addEventListener("click",this.toggleModal.bind(this,this.toggleButton))}catch(n){}try{this.modal.addEventListener("click",this.handleClickInner.bind(this));this.overlayShadow.addEventListener("click",this.closeModal.bind(this))}catch(n){}window.addEventListener("keydown",this.closeModal.bind(this))}},{key:"awakeGhost",value:function(n){this.modalItem=n.target.findParent(this.toggleButton.getAttribute("data-modal-item"));this.modal=this.modalItem.cloneNode(!0);this.modal.className="modal-ghost--item "+this.toggleButton.getAttribute("data-modal-item").replace(".","").replace("#","");this.modalWrapper.replaceChild(this.modal,this.modalWrapper.querySelector(this.itemQuery));window.setupSharebuttons(this.modalWrapper);this.modal.classList.contains("news-items--item")&&this.rebuildCalender()}},{key:"handleClickInner",value:function(n){var t=getComputedStyle(n.target).cursor;-1===["auto","pointer","default"].indexOf(t)&&this.closeModal(n)}},{key:"closeModal",value:function(n){var t=n.which||n.keyCode,i="click"===n.type&&1===t;(27===t||i)&&this.modalWrapper.classList.remove("active")}},{key:"toggleModal",value:function(n,t){t&&t.preventDefault();this.modalWrapper.classList.contains("active")?this.modalWrapper.classList.remove("active"):(this.awakeGhost(t),this.modalWrapper.classList.add("active"))}},{key:"rebuildCalender",value:function(){var n=document.createElement("DIV"),i,t,r;n.className="news-items--calendar-header";i=this.modalWrapper.querySelector(".news-items--figure");this.modalWrapper.querySelector(".news-items--outer").insertBefore(n,i);n.appendChild(i);t=this.modalWrapper.querySelector(".calendar-info");r=this.modalWrapper.querySelector(".news-items--inner > a:first-of-type");t.insertBefore(r,t.querySelector("p:first-child"));n.appendChild(t)}}]),n}();i.default=f},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\sidebar.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=function(){function n(){r(this,n)}return u(n,[{key:"shouldFollow",value:function(){return this.PARENT.offsetLeft!=this.CONTENT.offsetLeft&&this.ELEMENT.clientHeight<this.CONTENT.clientHeight}},{key:"handleAnimationFrame",value:function(){if(!this.shouldFollow())return this.ELEMENT.removeAttribute("style"),void window.requestAnimationFrame(this.handleAnimationFrame.bind(this));var u=!1,r=!0,i=this.setupObject(document.querySelector(".site-header")),n=this.setupObject(document.querySelector(".main--sidebar-inner")),t=this.setupObject(document.querySelector(".main--inner")),f=(this.setupObject(document.querySelector(".site-footer")),n.bounds.height,t.bounds.height,i.bounds.height);n.bounds.height+i.bounds.height>window.innerHeight&&(u=!0);!u&&i.bounds.height>t.bounds.top&&(r=!1);u&&window.innerHeight>t.bounds.top+n.bounds.height&&(r=!1,f=window.innerHeight-n.bounds.height,t.bounds.bottom<=window.innerHeight&&(r=!1,f=t.bounds.bottom-n.bounds.height));!u&&t.bounds.bottom<=i.bounds.height+n.bounds.height&&(r=!1,f=i.bounds.height+t.bounds.bottom-(i.bounds.height+n.bounds.height));r?n.element.removeAttribute("style"):(n.element.style.position="fixed",n.element.style.top=f+"px");window.kill||window.requestAnimationFrame(this.handleAnimationFrame.bind(this))}},{key:"setupObject",value:function(n){return{element:n,bounds:n.getBoundingClientRect()}}}]),n}();i.default=function(){return new f}},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\table.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=function(){function n(t){r(this,n);this.table=t;this.tableClone=this.createClone();this.bindUiActions();this.toggleBorder()}return u(n,[{key:"createClone",value:function(){var n=this.table.cloneNode(!0);return n.classList.add("table--mirror"),this.table.parentNode.parentNode.appendChild(n),n}},{key:"bindUiActions",value:function(){window.addEventListener("resize",this.toggleBorder.bind(this),!1);this.shadowTables(this.tableClone,this.table)}},{key:"shadowTables",value:function(n,t){for(var r={left:n.querySelectorAll("tbody tr"),right:t.querySelectorAll("tbody tr")},i=0;i<r.left.length;i++)this.onHoverTableRow(r.left[i],r.right[i]),this.onHoverTableRow(r.right[i],r.left[i])}},{key:"onHoverTableRow",value:function(n,t){n.onmouseover=function(){t.classList.add("hover")};n.onmouseout=function(){t.classList.remove("hover")}}},{key:"toggleBorder",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{this.tableClone.classList.toggle("bordered",this.table.offsetWidth>this.table.parentNode.offsetWidth)}catch(n){}}}]),n}();i.default=f},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\tabs.component.js":[function(n,t,i){"use strict";function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=n("../helpers/jumper.class"),o=function(n){return n&&n.__esModule?n:{"default":n}}(e),s=function(){function n(t){u(this,n);this.parent=t;this.jumper=new o.default;var i=t.querySelector(".clone");i&&(this.clone=i.cloneNode(!0),this.clone.classList.remove("clone"),i.remove());this.setupTabs(!0)}return f(n,[{key:"setupTabs",value:function(){var n=this,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t;this.hasTabs()&&(t=this.parent.querySelectorAll(".js-tabs-link"),this.possibleLinks=[],[].concat(r(t)).forEach(function(t){t.tabIndex=t.classList.contains("active")?"0":"-1";t.removeEventListener("click",n.handleTabClick.bind(n,t));t.removeEventListener("keydown",n.handleKeyEvents.bind(n,t));t.addEventListener("click",n.handleTabClick.bind(n,t));t.addEventListener("keydown",n.handleKeyEvents.bind(n,t));n.possibleLinks.push(t.getAttribute("href"))}),i&&(window.addEventListener("hashchange",this.hashChange.bind(this),!1),this.hashChange(null)))}},{key:"hasTabs",value:function(){return this.tabs=this.parent.querySelector(".js-tabs-list"),this.tabs}},{key:"hashChange",value:function(n){var i=window.location.hash,t;this.possibleLinks.indexOf(i)>-1&&(t=this.parent.querySelector('a[href*="'+i+'"]'),t&&this.handleTabClick(t,n))}},{key:"handleKeyEvents",value:function(n,t){var c=t.which||t.keyCode,i=null,r,u,f,e,o,s,h;(clearTimeout(this.clickTimeout),39===c)&&(r=n.parentNode.nextElementSibling,r?(u=r.querySelector("a"),u.focus(),i=u):(f=this.tabs.querySelector("a"),f.focus(),i=f));37===c&&(e=n.parentNode.previousElementSibling,e?(o=e.querySelector("a"),o.focus(),i=o):(s=this.tabs.querySelectorAll("a"),h=s[s.length-1],h.focus(),i=h));i&&(this.clickTimeout=setTimeout(function(){i.click()},250))}},{key:"handleTabClick",value:function(n,t){t&&t.preventDefault();var u=this.parent.querySelectorAll(".active"),f=this.parent.querySelector(".active-tab"),e=n.href.substring(n.href.indexOf("#")),i=this.parent.querySelector(e);(u&&[].concat(r(u)).forEach(function(n){n.classList.remove("active");n.tabIndex="-1"}),f&&f.classList.remove("active-tab"),i)&&([].concat(r(this.parent.querySelectorAll('[href="'+e+'"]'))).forEach(function(n){n.classList.add("active");n.tabIndex="0"}),i.classList.add("active-tab"),history.replaceState({},"Tab",n.href),n.findParent(".main--inner")||this.jumper.jump(i,{offset:-2*n.clientHeight}))}},{key:"addTabs",value:function(n,t){var i,f;if(n&&n.length>0){for(i=0;i<n.length;i++){var r=n[i],u=this.clone.cloneNode(!0),e=document.querySelector('[data-identifier="'+r.Term+'"]');e?e.classList.toggle("active",0===i&&!t.CurrentMainFacet||t.CurrentMainFacet===e.getAttribute("data-identifier")):(f=u.querySelector(".js-tabs-link"),f.setAttribute("data-identifier",""+r.Term),u.querySelector(".js-data-title").innerText=r.Text,u.querySelector(".js-data-count").innerText=r.Count,f.classList.toggle("active",0===i&&!t.CurrentMainFacet||t.CurrentMainFacet===f.getAttribute("data-identifier")),this.tabs.appendChild(u))}this.setupTabs()}}}]),n}();i.default=s},{"../helpers/jumper.class":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\jumper.class.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\tooltip.component.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=function(){function n(t,i){r(this,n);this.registerElements(t,i);this.bindUiActions()}return u(n,[{key:"registerElements",value:function(n,t){this.tooltipElem=n;this.tooltipTextElem=document.getElementById(t)}},{key:"openTooltip",value:function(n){if("true"==this.tooltipElem.getAttribute("data-tooltip")){var r=this.tooltipElem.getBoundingClientRect(),t=Math.round(r.left+n),i=Math.round(r.top+this.tooltipElem.offsetHeight+32);t=t%2==0?t:t+1;i=i%2==0?i:i+1;this.tooltipTextElem.style.left=t+"px";this.tooltipTextElem.style.top=i+"px";this.tooltipTextElem.classList.add("hover")}}},{key:"bindUiActions",value:function(){var n=this;this.tooltipElem.onmouseover=function(){n.openTooltip(n.tooltipElem.offsetWidth/2+n.tooltipTextElem.offsetWidth/2)};this.tooltipElem.onclick=function(){n.openTooltip(n.tooltipElem.offsetWidth/2)};document.addEventListener("touchend",function(){n.tooltipTextElem.classList.remove("hover")},!1);this.tooltipElem.onmouseout=function(){n.tooltipTextElem.classList.remove("hover")}}}]),n}();i.default=f},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\components\\videos.component.js":[function(n,t,i){"use strict";function r(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=n("@vimeo/player"),o=function(n){return n&&n.__esModule?n:{"default":n}}(e),s=function(){function n(){u(this,n);(this.handles=this.setupHandles())&&this.bindUiActions();this.videoLoaded=!1;this.closingEvents=!1;this.player}return f(n,[{key:"setupHandles",value:function(){var u=this,n=document.querySelectorAll(".js-play-video"),e=0,f,t,i;if(this.videoElement=document.getElementById("video-player"),f=document.querySelector(".text-w-image--content-image"),t=function(){return"_"+Math.random().toString(36).substr(2,9)}(),null!==t&&null!==n)for(f&&f.setAttribute("id",t),i=0;i<n.length;i++)n[i].setAttribute("data-video-target",t);if(this.videoElement)return this.videoParent=this.videoElement.findParent(".video-player"),this.disableScrollVar=this.disableScroll.bind(this),n.length>0&&[].concat(r(n)).forEach(function(n){var i=n.getAttribute("data-video-id"),r,t;i&&(r={vimeo:i.toString().getVimeoId(),youtube:i.toString().getYoutubeId()},r.youtube&&(t=document.createElement("script"),t.src="https://www.youtube.com/iframe_api",t.type="text/javascript",document.querySelector("footer").appendChild(t)),n.addEventListener("click",u.loadVideo.bind(u,u.videoElement,r)),e+=1)}),e>0}},{key:"bindUiActions",value:function(){document.querySelector(".video-player").addEventListener("click",this.handleClickInner.bind(this),!1)}},{key:"keydown",value:function(n){var i=this,r=n.which||n.keyCode,t;(27===r&&this.closeVideo(),32!==r||this.videoParent.classList.contains("visually-hidden"))||((n.preventDefault(),"vimeo"===this.type)?this.player.getPaused().then(function(n){n?i.player.play():i.player.pause()}).catch(function(){}):(t=this.player.getPlayerState(),t&&(2===t?this.player.playVideo():this.player.pauseVideo())))}},{key:"shouldPlay",value:function(){var n=this;this.videoLoaded=!0;"vimeo"===this.type?this.animateVideo().then(function(){n.videoParent.className=n.videoParent.className.replace("visually-hidden","");n.player.play()}).catch(function(){}):"youtube"===this.type&&this.animateVideo().then(function(){n.videoParent.className=n.videoParent.className.replace("visually-hidden","");n.player.playVideo()}).catch(function(){})}},{key:"disableScroll",value:function(n){n.preventDefault()}},{key:"closeVideo",value:function(){document.removeEventListener("touchmove",this.disableScrollVar,!1);window.removeEventListener("scroll",this.disableScrollVar,!1);try{"vimeo"===this.type?this.player.pause():"youtube"===this.type&&this.player.pauseVideo()}catch(n){}this.videoParent.classList.add("visually-hidden");this.videoParent.classList.remove("active");this.videoParent.classList.remove("in");document.documentElement.classList.remove("js-video-shadow")}},{key:"animateVideo",value:function(){var n=this;return new Promise(function(t){var i=getTransitionEvent();document.body.getBoundingClientRect();n.videoParent.classList.add("in");document.documentElement.classList.add("js-video-shadow");window.requestAnimationFrame(function(){n.videoParent.classList.add("active")});n.videoParent.addEventListener(i,function(){t(1)},!1)})}},{key:"loadVideo",value:function(n,t,i){var r=this;if(i.preventDefault(),this.element=n,document.addEventListener("touchmove",this.disableScrollVar,!1),window.addEventListener("scroll",this.disableScrollVar,!1),this.type=t.vimeo?"vimeo":"youtube",this.videoLoaded&&this.hasValue(this.id,t))return void this.shouldPlay();this.setupVideo(t).then(function(n){r.id=n;"vimeo"==r.type&&r.shouldPlay();r.setupClosingEvents()}).catch(function(){})}},{key:"handleClickInner",value:function(n){var t=getComputedStyle(n.target).getPropertyValue("cursor");-1===["auto","pointer","default"].indexOf(t)&&this.closeVideo()}},{key:"setupVideo",value:function(n){var i,t=this;return n.vimeo?(i=n.vimeo,new Promise(function(n,r){var u={id:i,width:1920,height:1280,byline:!1,portrait:!1,title:!1,color:"074469"};try{t.resetPlayerWrap();t.videoElement.innerHTML="";t.player=new o.default(t.videoElement.id,u);t.player.on("ended",function(){t.closeVideo()});n(i)}catch(n){r(n)}})):n.youtube?(i=n.youtube,new Promise(function(n,r){function f(){}function e(){this.shouldPlay()}var o={videoId:i,width:1920,height:1280,byline:!1,portrait:!1,title:!1,color:"074469",events:{onReady:e.bind(t),onStateChange:f.bind(t)}},u;try{t.resetPlayerWrap();u=document.createElement("DIV");u.id="shadow";t.videoElement.appendChild(u);t.player=new YT.Player(u.id,o);n(i)}catch(n){r(n)}})):void 0}},{key:"resetPlayerWrap",value:function(){var t=document.getElementById("video-player").parentNode,n;t.innerHTML="";n=document.createElement("DIV");n.className="video-player--inner-wrap";n.id="video-player";this.videoElement=n;t.appendChild(n)}},{key:"setupClosingEvents",value:function(){var n=this;this.closingEvents||(document.querySelector(".js-close-video-modal")&&[].concat(r(document.querySelectorAll(".js-close-video-modal"))).forEach(function(t){t.addEventListener("click",function(t){t.preventDefault();n.closeVideo()},!1)}),window.addEventListener("keydown",this.keydown.bind(this),!1),this.closingEvents=!0)}},{key:"hasValue",value:function(n,t){for(var r=Object.keys(t),u=!1,i=0,f=r.length;i<f;i++)t[r[i]]===n&&(u=!0);return u}}]),n}();i.default=function(){return new s}},{"@vimeo/player":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\node_modules\\@vimeo\\player\\dist\\player.min.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\cookie.class.js":[function(n,t,i){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=function(){function n(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2147483647e3,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";r(this,n);t instanceof Date==!1&&(t=new Date(t));this.data={name:i,expires:t.toUTCString(),path:u,value:f};this.tryGetValueFromBrowser()}return u(n,[{key:"exist",value:function(){for(var n,r=this.data.name+"=",i=document.cookie.split(";"),t=0;t<i.length;t++){for(n=i[t];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(r))return!0}return!1}},{key:"tryGetValueFromBrowser",value:function(){for(var n,t,u=this.data.name+"=",r=document.cookie.split(";"),i=0;i<r.length;i++){for(n=r[i];" "==n.charAt(0);)n=n.substring(1,n.length);if(0==n.indexOf(u))return t=n.split("="),t&&t.length>1&&(this.data.value=t[1]),!0}}},{key:"save",value:function(){document.cookie=this.generateString();var n=null;try{n=new Event("scroll")}catch(t){n=document.createEvent("Event");n.initEvent("scroll",!1,!1)}document.dispatchEvent(n)}},{key:"generateString",value:function(){for(var n,t=[],r=Object.keys(this.data),i=0;i<r.length;i++)n=r[i],"name"!==n?t.push(n+"="+this.data[n]):t.push(this.data[n]+"="+this.data.value);return t.join("; ")}},{key:"destroy",value:function(){this.data.expires=new Date(0).toUTCString();document.cookie=this.data.name+"=; expires="+this.data.expires+"; path="+this.data.path}},{key:"toString",value:function(){return this.generateString()}},{key:"name",set:function(n){this.data.name=n},get:function(){return this.data.name}},{key:"value",get:function(){return this.data.value},set:function(n){this.data.value=n}},{key:"expires",set:function(n){this.data.expires=n},get:function(){return this.data.expires}},{key:"path",set:function(n){this.data.path=n},get:function(){return this.data.path}}]),n}();i.default=f},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\easing.js":[function(n,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});i.default=function(n,t,i,r){return(n/=r/2)<1?i/2*n*n+t:(n--,-i/2*(n*(n-2)-1)+t)}},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\helpers.js":[function(){"use strict";function n(n){if(Array.isArray(n)){for(var t=0,i=Array(n.length);t<n.length;t++)i[t]=n[t];return i}return Array.from(n)}Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(n){for(var i=(this.document||this.ownerDocument).querySelectorAll(n),t=i.length;--t>=0&&i.item(t)!==this;);return t>-1});HTMLElement.prototype.findParent||(HTMLElement.prototype.findParent=function(n){return this.matches(n)?this:1==this.parentNode.nodeType&&this.parentNode.findParent(n)});Array.from||(Array.from=function(){var t=Object.prototype.toString,n=function(n){return"function"==typeof n||"[object Function]"===t.call(n)},i=function(n){var t=Number(n);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t},r=Math.pow(2,53)-1,u=function(n){var t=i(n);return Math.min(Math.max(t,0),r)};return function(t){var h=this,c=Object(t),o,i;if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(i=arguments.length>1?arguments[1]:void 0,void 0!==i){if(!n(i))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(o=arguments[2])}for(var f,e=u(c.length),s=n(h)?Object(new h(e)):new Array(e),r=0;r<e;)f=c[r],s[r]=i?void 0===o?i(f,r):i.call(o,f,r):f,r+=1;return s.length=e,s}}());"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)});Number.prototype.format||(Number.prototype.format=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:" ",t=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",",f="\\d(?=(\\d{"+(r||3)+"})+"+(n>0?"\\D":"$")+")",i=this.toFixed(Math.max(0,~~n));return(t?i.replace(".",t):i).replace(new RegExp(f,"g"),"$&"+(u||","))});String.prototype.getVimeoId||(String.prototype.getVimeoId=function(){var n=/vimeo.*\/(\d+)/i.exec(this);return!!n&&n[1]});String.prototype.getYoutubeId||(String.prototype.getYoutubeId=function(){var i=/youtu/i.exec(this),n="",t;return n=-1!==this.indexOf("v=")?this.split("v=")[1]:this.replace(/.+\//i,""),t="",t=-1!==n.indexOf("/")?n.split("/")[0]:-1!==n.indexOf("?")?n.split("?")[0]:-1!==n.indexOf("#")?n.split("#")[0]:n,!!i&&t});NodeList.prototype.indexOf||(NodeList.prototype.indexOf=function(n){for(var t=0;t<this.length;t++)if(this[t]===n)return t;return-1});HTMLElement.prototype.empty||(HTMLElement.prototype.empty=function(){for(;this.firstChild;)this.removeChild(this.firstChild)});window.getTransitionEvent||(window.getTransitionEvent=function(){var n,i=document.createElement("fakeelement"),t={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(n in t)if(void 0!==i.style[n])return t[n]});NodeList.prototype.addEventListeners||(NodeList.prototype.addEventListeners=function(t,i){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];[].concat(n(this)).addEventListeners(t,i,r)});Array.prototype.addEventListeners||(Array.prototype.addEventListeners=function(n,t){for(var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0,u=this.length;i<u;i++)this[i].addEventListener(n,t.bind("lol",this[i]),r)});console.success||(console.success=function(){});"function"!=typeof Object.assign&&(Object.assign=function(n){var u,i,t,r;if(null==n)throw new TypeError("Cannot convert undefined or null to object");for(u=Object(n),i=1;i<arguments.length;i++)if(t=arguments[i],null!=t)for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(u[r]=t[r]);return u});HTMLElement.prototype.simulateClick||(HTMLElement.prototype.simulateClick=function(){var n=void 0;document.createEvent?(n=document.createEvent("MouseEvents"),n.initMouseEvent("click",!0,!0,this.ownerDocument.defaultView,1,0,0,0,0,!1,!1,!1,!1,0,null),this.dispatchEvent(n)):(n=document.createEventObject(),this.fireEvent("onclick",n))}),function(n,t){n.addEventListener("DOMContentLoaded",function(){var i=t.location.href.replace(t.location.hash,"");[].slice.call(n.querySelectorAll("use[*|href]")).filter(function(n){return 0===n.getAttribute("xlink:href").indexOf("#")}).forEach(function(n){var t=i+n.getAttribute("xlink:href");t=t.replace("##","#");n.setAttribute("xlink:href",t)})},!1)}(document,window)},{}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\jumper.class.js":[function(n,t,i){"use strict";function u(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}Object.defineProperty(i,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=n("./easing.js"),o=function(n){return n&&n.__esModule?n:{"default":n}}(e),s=function(){function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];u(this,n);this.parent=t;this.horizontal=i;this.element;this.start;this.stop;this.offset;this.easing;this.a11y=!0;this.distance;this.duration;this.timeStart;this.timeElapsed;this.next;this.callback}return f(n,[{key:"isNumeric",value:function(n){return!isNaN(parseFloat(n))&&isFinite(n)}},{key:"location",value:function(){return(this.horizontal?this.isNumeric(this.parent.scrollX)?this.parent.scrollX:this.parent.scrollLeft:this.isNumeric(this.parent.scrollY)?this.parent.scrollY:this.parent.scrollTop)||0}},{key:"top",value:function(n){var i=void 0,r="",t="";return this.parent===window?i=n.getBoundingClientRect():(i=n,t="offset"),r=this.horizontal?t+(t?"Left":"left"):t+(t?"Top":"top"),i[r]+this.start}},{key:"loop",value:function(n){this.timeStart||(this.timeStart=n);this.timeElapsed=n-this.timeStart;this.next=this.easing(this.timeElapsed,this.start,this.distance,this.duration);this.horizontal?this.parent.scrollTo?this.parent.scrollTo(this.next,0):this.parent.scrollLeft=this.next:this.parent.scrollTo?this.parent.scrollTo(0,this.next):this.parent.scrollTop=this.next;this.timeElapsed<this.duration?requestAnimationFrame(this.loop.bind(this)):this.done()}},{key:"done",value:function(){this.horizontal?this.parent.scrollLeft=this.start+this.distance:this.parent.scrollTop=this.start+this.distance;this.element&&this.a11y&&(this.element.setAttribute("tabindex","-1"),this.element.focus());"function"==typeof this.callback&&this.callback();this.timeStart=!1}},{key:"jump",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(this.duration=t.duration||1e3,this.offset=t.offset||0,this.callback=t.callback,this.easing=t.easing||o.default,this.a11y=t.a11y||!1,this.start=this.location(),void 0===n?"undefined":r(n)){case"number":this.element=void 0;this.a11y=!1;this.stop=this.start+n;break;case"object":this.element=n;this.stop=this.top(this.element);break;case"string":this.element=document.querySelector(n);this.stop=this.top(this.element)}switch(this.distance=this.stop-this.start+this.offset,r(t.duration)){case"number":this.duration=t.duration;break;case"function":this.duration=t.duration(this.distance)}requestAnimationFrame(this.loop.bind(this))}}]),n}();i.default=s},{"./easing.js":"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\helpers\\easing.js"}],"C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\lkab\\specific.js":[function(){"use strict";window.MAIN_COLOR="074469"},{}]},{},["C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\lkab\\specific.js","C:\\Develop\\LKAB\\Design\\DesignCW.web\\src\\js\\app.js"]);var cookie=getCookieHJ("LKAB-consent-cookie");cookie&&cookie.includes('"analytics":true')&&function(n,t,i,r,u,f){n.hj=n.hj||function(){(n.hj.q=n.hj.q||[]).push(arguments)};n._hjSettings={hjid:655710,hjsv:6};u=t.getElementsByTagName("head")[0];f=t.createElement("script");f.async=1;f.src=i+n._hjSettings.hjid+r+n._hjSettings.hjsv;u.appendChild(f)}(window,document,"https://static.hotjar.com/c/hotjar-",".js?sv=")