PageSourceSearch

https://www.nordpoolgroup.com/Assets/Scripts-Release/nordpool.js?v=639167749520000000

js nordpoolgroup.com collected 2026-10-02 02:39:31 UTC 34,642 bytes, 1 lines download raw bytes

1(function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t=[].indexOf||function(a){for(var b=0,c=this.length;b<c;b++)if(b in this&&this[b]===a)return b;return-1},u={}.hasOwnProperty;document.addEventListener("alpine:init",function(){return Alpine.data("NPG_HeaderController",j),Alpine.data("NPG_MessagesController",o),Alpine.data("NPG_FeaturesController",NPG_FeaturesController),Alpine.data("NPG_MessageList",m),Alpine.data("NPG_FeedListing",h),Alpine.data("NPG_DownloadsController",d),Alpine.data("NPG_FAQListingController",e),Alpine.data("NPG_RadioButtonSelectionController",s),Alpine.data("NPG_PowerDataServicesPriceController",r),Alpine.data("NPG_PopupController",q),Alpine.store("NPGServices",{init:function(){return this.DateService=new c,this.CookieService=new b,this.CookieConsentService=new a(this.CookieService),this.MessagesService=new p(this.DateService),this.FeaturesService=new g(this.DateService),this.MessageUpdateService=new n,this.LineClampService=new l,this.FeedUpdateService=new i,this.InvalidateCacheService=new k,this.FAQService=new f},DateService:null,CookieService:null,CookieConsentService:null,MessagesService:null,FeaturesService:null,MessageUpdateService:null,LineClampService:null,FeedUpdateService:null,InvalidateCacheService:null,FAQService:null})}),document.addEventListener("DOMContentLoaded",function(){}),d=function(a){return{pageId:a,data:{},files:[],displayedFiles:[],filterCategory:null,filterType:null,filterResolution:null,filterPeriod:null,sortKey:"-UpdatedAt",sortDirection:"desc",sortColumn:"UpdatedAt",currentPage:1,itemsPerPage:25,totalPages:1,countGroups:[],categories:[],loading:!0,dateWithTime:!0,init:function(){return this.dateService=this.$store.NPGServices.DateService,this.loadData()},loadData:function(){var a;return this.loading=!0,a="/api/downloads/"+this.pageId,fetch(a).then(function(a){return function(a){return a.json()}}()).then(function(a){return function(b){var c;return a.data=b,a.data.AllResolutions=a.data.AllResolutions.filter(function(a){return null!==a}),a.dateWithTime=b.DateWithTime,c=a.filesToCountGroups(b.Files),a.countGroups=c[0],a.categories=c[1],a.updateFiles(),a.loading=!1}}(this)).catch(function(a){return function(b){return a.loading=!1}}(this))},updateFiles:function(){var a,b;return a=null!=(b=this.data.Files)?b:[],this.filterType&&(a=a.filter(function(a){return function(b){return b.Type===a.filterType}}(this))),this.filterResolution&&(a=a.filter(function(a){return function(b){return b.Resolution===a.filterResolution}}(this))),this.filterPeriod&&(a=a.filter(function(a){return function(b){return b.period===a.filterPeriod}}(this))),this.filterCategory&&(a=a.filter(function(a){return function(b){var c;return c=a.filterCategory,t.call(b.Categories,c)>=0}}(this))),this.files=this.sortFiles(a),this.totalPages=Math.ceil(this.files.length/this.itemsPerPage),this.currentPage=1,this.updateDisplayedFiles()},sortFiles:function(a){var b,c;return b=this.sortColumn,c=this.sortDirection,a.slice().sort(function(a){return function(a,d){var e,f;return e=a[b],f=d[b],"UpdatedAt"===b&&(e=new Date(e).getTime(),f=new Date(f).getTime()),"FileSize"===b&&(e=e||0,f=f||0),e<f?"asc"===c?-1:1:e>f?"asc"===c?1:-1:0}}())},sortBy:function(a){return this.sortColumn===a?this.sortDirection="asc"===this.sortDirection?"desc":"asc":(this.sortColumn=a,this.sortDirection="desc"),this.sortKey="asc"===this.sortDirection?"+"+a:"-"+a,this.updateFiles()},filterByPeriod:function(a){return this.filterPeriod===a?this.filterPeriod=null:this.filterPeriod=a,this.updateFiles()},filterByCategory:function(a){return this.filterCategory===a?this.filterCategory=null:this.filterCategory=a,this.updateFiles()},updateDisplayedFiles:function(){var a,b;return b=(this.currentPage-1)*this.itemsPerPage,a=b+this.itemsPerPage,this.displayedFiles=this.files.slice(b,a)},goToPage:function(a){if(a>=1&&a<=this.totalPages)return this.currentPage=a,this.updateDisplayedFiles()},nextPage:function(){if(this.currentPage<this.totalPages)return this.currentPage++,this.updateDisplayedFiles()},prevPage:function(){if(this.currentPage>1)return this.currentPage--,this.updateDisplayedFiles()},filesToCountGroups:function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;if(!((null!=a?a.length:void 0)>0))return[[],[]];for(k=a[0].Year,n={},c={},p=0,r=a.length;p<r;p++)for(f=a[p],e=new Date(Date.parse(f.UpdatedAt)),l=e.getUTCFullYear(),h=e.getUTCMonth(),f.period=l+"-"+h,null==n[l]&&(n[l]={months:{},opened:l===k,year:l}),null==(o=n[l].months)[h]&&(o[h]={month:h,count:0,period:f.period}),n[l].months[h].count+=1,t=f.Categories,q=0,s=t.length;q<s;q++)b=t[q],null==c[b]&&(c[b]={category:b,count:0}),c[b].count+=1;for(l in n)u.call(n,l)&&(j=n[l],i=function(){var a,b;a=j.months,b=[];for(g in a)u.call(a,g)&&(h=a[g],b.push(h));return b}(),n[l].months=i.sort(function(a,b){return b.month-a.month}));return m=function(){var a;a=[];for(g in n)u.call(n,g)&&(l=n[g],a.push(l));return a}(),m.sort(function(a,b){return b.year-a.year}),d=function(){var a;a=[];for(g in c)u.call(c,g)&&(b=c[g],a.push(b));return a}(),d.sort(function(a,b){return a.category.localeCompare(b.category)}),[m,d]},countText:function(a){return this.dateService.monthNames[a]},getSortIcon:function(a){return this.sortColumn===a?"asc"===this.sortDirection?"fa fa-caret-up":"fa fa-caret-down":"fa fa-sort"}
1,onDownload:function(a){if("undefined"!=typeof ga)return ga("send","event","file","download",a.Type,{page:a.Url,title:a.Name})}}},e=function(a){return{pageId:a,faqs:[],questions:[],currentQuestions:[],currentCategoryIds:[],currentCategory:"",loading:!0,init:function(){var a,b;return this.faqService=this.$store.NPGServices.FAQService,b=new URLSearchParams(window.location.search),a=b.get("cat"),this.faqService.getFAQs(this.pageId).then(function(b){return function(c){var d,e,f,g,h;for(b.questions=c,b.currentQuestions=c,g=b.questions,e=0,f=g.length;e<f;e++)d=g[e],h=d.ID,t.call(b.currentCategoryIds,h)<0&&b.currentCategoryIds.push(d.ID);return a&&b.changeCategory(parseInt(a)),b.loading=!1}}(this)).catch(function(a){return function(b){return a.loading=!1}}(this))},questionsForCategory:function(a){return this.questions.filter(function(b){return function(b){return b.ID===a}}())},scrollTo:function(a){var b;if(b=document.getElementById(a))return b.scrollIntoView({behavior:"smooth",block:"start"})},changeCategory:function(a){return this.currentCategory!==a?(this.currentCategory=a,this.currentQuestions=this.questions.filter(function(b){return function(b){return b.ID===a}}())):(this.currentCategory="",this.currentQuestions=this.questions)},iconActiveState:function(a){return a.Expanded?"expand":""},toggleExpandQuestion:function(a){return a.Expanded=!a.Expanded},trustVideoUrl:function(a){return a&&0!==a.length&&(a.includes("youtube.com")||a.includes("youtu.be")||a.includes("vimeo.com"))?a:""}}},f=function(){function a(){}return a.prototype.getFAQs=function(a){var b;return b="/api/faq/"+a,fetch(b).then(function(a){return function(a){return a.json()}}())},a}(),window.NPG_FeaturesController=function(a,b,c,d){return null==c&&(c=null),null==d&&(d=null),{pageId:a,groupTypeId:b,initialYear:c,listingUrl:!!d&&d.replace(/#.*/,""),features:[],pages:[],countGroups:{},currentPage:null,currentPageIndex:0,isPrevButtonDisabled:!0,isNextButtonDisabled:!0,periodText:"Loading...",loadingFeatures:!1,loadingCounts:!1,init:function(){var a,b,c;return this.featuresService=this.$store.NPGServices.FeaturesService,c=new URLSearchParams(window.location.hash.substring(2)),b=c.get("y"),a=c.get("p"),this.listingUrl||(this.currentPage=this.featuresService.getDefaultPage(this.groupTypeId,{y:b,p:a}),this.currentPageIndex=0),this.loadCounts()},loadCounts:function(){return this.loadingCounts=!0,this.featuresService.getCounts(this.pageId,this.groupTypeId).then(function(a){return function(b){var c,d,e;if(a.pages=a.featuresService.sortCounts(b),a.countGroups=a.featuresService.pagesToCountGroups(a.groupTypeId,a.pages,a.initialYear),a.loadingCounts=!1,a.isPrevButtonDisabled=0===a.currentPageIndex,a.isNextButtonDisabled=a.currentPageIndex===a.pages.length-1,!a.listingUrl)return a.currentPage=a.pages[a.currentPageIndex],e=new URLSearchParams(window.location.hash.substring(2)),d=e.get("y"),c=e.get("p"),null!=d&&null!=c&&a.findPage(parseInt(d),parseInt(c)),a.updateFeatures()}}(this))},findPage:function(a,b){var c,d,e,f,g,h;for(c=0,g=this.pages,h=[],e=0,f=g.length;e<f;e++){if(d=g[e],d.Year===a&&d.Period===b){this.currentPage=d,this.currentPageIndex=c;break}h.push(c++)}return h},goToPage:function(a,b){return this.listingUrl?void(window.location.href=this.listingUrl+"#?y="+a+"&p="+b):(this.findPage(a,b),this.updateFeatures())},nextPage:function(){if(this.currentPageIndex>0)return this.currentPageIndex--,this.currentPage=this.pages[this.currentPageIndex],this.updateFeatures()},prevPage:function(){if(this.currentPageIndex<this.pages.length-1)return this.currentPageIndex++,this.currentPage=this.pages[this.currentPageIndex],this.updateFeatures()},setSearch:function(){var a;return a=this.featuresService.createSearch(this.currentPage),history.replaceState(null,"","#?y="+a.y+"&p="+a.p)},countText:function(a){return this.featuresService.getShortPeriodText(this.groupTypeId,a)},updateFeatures:function(){return this.featuresService.getFeatures(this.pageId,this.groupTypeId,this.currentPage.Year,this.currentPage.Period).then(function(a){return function(b){return a.features=b,a.periodText=a.featuresService.getPeriodText(a.groupTypeId,a.currentPage.Year,a.currentPage.Period),a.setSearch(),a.isNextButtonDisabled=0===a.currentPageIndex,a.isPrevButtonDisabled=a.currentPageIndex===a.pages.length-1}}(this))},selectChanged:function(){return this.updateFeatures()}}},g=function(){function a(a){this.dateService=a}return a.prototype.getFeatures=function(a,b,c,d){return fetch("/api/features/"+a+"/"+b+"/"+c+"/"+d).then(function(a){return a.json()})},a.prototype.getCounts=function(a,b){return fetch("/api/features/"+a+"/"+b+"/count").then(function(a){return a.json()})},a.prototype.getPeriodText=function(a,b,c){return 1===a?this.dateService.monthNames[3*(c-1)]+" - "+this.dateService.monthNames[3*(c-1)+2]+" "+b:this.dateService.monthNames[c-1]+" "+b}
1,a.prototype.getShortPeriodText=function(a,b){return 1===a?"Q"+b+": "+this.dateService.monthShortNames[3*(b-1)]+" - "+this.dateService.monthShortNames[3*(b-1)+2]:""+this.dateService.monthShortNames[b-1]},a.prototype.sortCounts=function(a){return a.sort(function(a,b){return a.Year===b.Year?b.Period-a.Period:b.Year-a.Year})},a.prototype.createSearch=function(a){return{p:a.Period,y:a.Year}},a.prototype.getDefaultPage=function(a,b){var c,d,e;return null!=(null!=b?b.p:void 0)&&null!=(null!=b?b.y:void 0)?{Year:parseInt(b.y),Period:parseInt(b.p)}:(c=new Date,d=c.getUTCMonth(),e=1===a?Math.ceil((d+1)/3):d+1,{Year:c.getUTCFullYear(),Period:e})},a.prototype.pagesToCountGroups=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o;for(c=null!=c?c:null!=(n=b[0])?n.Year:void 0,h={},i=0,k=b.length;i<k;i++)e=b[i],e.text=this.getShortPeriodText(a,e.Period)+" ("+e.Count+")",null==h[m=e.Year]&&(h[m]={periods:[],opened:e.Year===c,year:e.Year}),h[e.Year].periods.push({period:e.Period,count:e.Count,features:e.Features});for(f=function(){var a;a=[];for(d in h)u.call(h,d)&&a.push(d);return a}().sort().reverse(),o=[],j=0,l=f.length;j<l;j++)g=f[j],o.push(h[g]);return o},a}(),o=function(a,b,c,d){return null==c&&(c=null),null==d&&(d=null),{pageId:a,groupTypeId:b,initialYear:c,listingUrl:!!d&&d.replace(/#.*/,""),messages:[],pages:[],countGroups:{},currentPage:null,currentPageIndex:0,isPrevButtonDisabled:!0,isNextButtonDisabled:!0,periodText:"Loading...",loadingMessages:!1,loadingCounts:!1,init:function(){var a,b,c;return this.messagesService=this.$store.NPGServices.MessagesService,c=new URLSearchParams(window.location.hash.substring(2)),b=c.get("y"),a=c.get("p"),this.listingUrl||(this.currentPage=this.messagesService.getDefaultPage(this.groupTypeId,{y:b,p:a}),this.currentPageIndex=0),this.loadCounts()},loadCounts:function(){return this.loadingCounts=!0,this.messagesService.getCounts(this.pageId,this.groupTypeId).then(function(a){return function(b){var c,d,e;if(a.pages=a.messagesService.sortCounts(b),a.countGroups=a.messagesService.pagesToCountGroups(a.groupTypeId,a.pages,a.initialYear),a.loadingCounts=!1,a.isPrevButtonDisabled=0===a.currentPageIndex,a.isNextButtonDisabled=a.currentPageIndex===a.pages.length-1,!a.listingUrl)return a.currentPage=a.pages[a.currentPageIndex],e=new URLSearchParams(window.location.hash.substring(2)),d=e.get("y"),c=e.get("p"),null!=d&&null!=c&&a.findPage(parseInt(d),parseInt(c)),a.updateMessages()}}(this))},findPage:function(a,b){var c,d,e,f,g,h;for(c=0,g=this.pages,h=[],e=0,f=g.length;e<f;e++){if(d=g[e],d.Year===a&&d.Period===b){this.currentPage=d,this.currentPageIndex=c;break}h.push(c++)}return h},goToPage:function(a,b){return this.listingUrl?void(window.location.href=this.listingUrl+"#?y="+a+"&p="+b):(this.findPage(a,b),this.updateMessages())},nextPage:function(){if(this.currentPageIndex>0)return this.currentPageIndex--,this.currentPage=this.pages[this.currentPageIndex],this.updateMessages()},prevPage:function(){if(this.currentPageIndex<this.pages.length-1)return this.currentPageIndex++,this.currentPage=this.pages[this.currentPageIndex],this.updateMessages()},setSearch:function(){var a;return a=this.messagesService.createSearch(this.currentPage),history.replaceState(null,"","#?y="+a.y+"&p="+a.p)},countText:function(a){return this.messagesService.getShortPeriodText(this.groupTypeId,a)},updateMessages:function(){return this.messagesService.getMessages(this.pageId,this.groupTypeId,this.currentPage.Year,this.currentPage.Period).then(function(a){return function(b){return a.messages=b,a.periodText=a.messagesService.getPeriodText(a.groupTypeId,a.currentPage.Year,a.currentPage.Period),a.setSearch(),a.isNextButtonDisabled=0===a.currentPageIndex,a.isPrevButtonDisabled=a.currentPageIndex===a.pages.length-1}}(this))},selectChanged:function(){return this.updateMessages()}}},p=function(){function a(a){this.dateService=a}return a.prototype.getMessages=function(a,b,c,d){return fetch("/api/messages/"+a+"/"+b+"/"+c+"/"+d).then(function(a){return a.json()})},a.prototype.getCounts=function(a,b){return fetch("/api/messages/"+a+"/"+b+"/count").then(function(a){return a.json()})},a.prototype.getPeriodText=function(a,b,c){return 1===a?this.dateService.monthNames[3*(c-1)]+" - "+this.dateService.monthNames[3*(c-1)+2]+" "+b:this.dateService.monthNames[c-1]+" "+b}
1,a.prototype.getShortPeriodText=function(a,b){return 1===a?"Q"+b+": "+this.dateService.monthShortNames[3*(b-1)]+" - "+this.dateService.monthShortNames[3*(b-1)+2]:""+this.dateService.monthShortNames[b-1]},a.prototype.sortCounts=function(a){return a.sort(function(a,b){return a.Year===b.Year?b.Period-a.Period:b.Year-a.Year})},a.prototype.createSearch=function(a){return{p:a.Period,y:a.Year}},a.prototype.getDefaultPage=function(a,b){var c,d,e;return null!=(null!=b?b.p:void 0)&&null!=(null!=b?b.y:void 0)?{Year:parseInt(b.y),Period:parseInt(b.p)}:(c=new Date,d=c.getUTCMonth(),e=1===a?Math.ceil((d+1)/3):d+1,{Year:c.getUTCFullYear(),Period:e})},a.prototype.pagesToCountGroups=function(a,b,c){var d,e,f,g,h,i,j,k,l,m,n,o;for(c=null!=c?c:null!=(n=b[0])?n.Year:void 0,h={},i=0,k=b.length;i<k;i++)e=b[i],e.text=this.getShortPeriodText(a,e.Period)+" ("+e.Count+")",null==h[m=e.Year]&&(h[m]={periods:[],opened:e.Year===c,year:e.Year}),h[e.Year].periods.push({period:e.Period,count:e.Count});for(f=function(){var a;a=[];for(d in h)u.call(h,d)&&a.push(d);return a}().sort().reverse(),o=[],j=0,l=f.length;j<l;j++)g=f[j],o.push(h[g]);return o},a}(),m=function(a,b,c,d){return null==d&&(d=!1),{root:parseInt(a),count:parseInt(b),blockId:c,clamp:"true"===d||!0===d,messages:[],animate:!1,loading:!0,init:function(){return this.messageUpdateService=this.$store.NPGServices.MessageUpdateService,this.lineClampService=this.$store.NPGServices.LineClampService,this.messageUpdateService.addListener({root:this.root,callback:function(a){return function(){return a.updateMessages()}}(this),id:this.blockId}),this.updateMessages(),this.$watch("$el",function(a){return function(b){if(!b)return a.messageUpdateService.removeListener(a.blockId)}}(this))},updateMessages:function(){var a;return a="/api/messagelist/"+this.root+"?count="+this.count,fetch(a).then(function(a){return function(a){return a.json()}}()).then(function(a){return function(b){return a.messages=b,a.loading=!1,a.$nextTick(function(){if(a.animate=!0,a.clamp&&a.lineClampService)return a.lineClampService.clamp(a.$el,".message-header")})}}(this)).catch(function(a){return function(b){return a.loading=!1}}(this))}}},r=function(a,b){return{selectedRadioButton:b?parseInt(b):-1,previousRadioButton:b?parseInt(b):-1,selectedLocation:a||"",init:function(){},isLocationMarket:function(a,b,c){var d,e,f,g;try{return f=parseInt(this.selectedLocation),g=parseInt(this.selectedRadioButton),d=a.includes(f)||b.includes(f),e=-1===g||c===g,d&&e}catch(a){return a,!1}},isMarketInfo:function(a){var b;return-1===(b=parseInt(this.selectedRadioButton))||a===b},isSelected:function(a){return parseInt(this.selectedRadioButton)===parseInt(a)},onRadioChange:function(){return this.previousRadioButton=parseInt(this.selectedRadioButton)}}},s=function(a,b){return{radioButtonGroup:a,selectedRadioButton:b,previousRadioButton:b,init:function(){return this.showSelectedBlock()},showSelectedBlock:function(){var a,b,c,d,e;for(b=document.getElementsByClassName(this.radioButtonGroup),d=0,e=b.length;d<e;d++)a=b[d],a.style.display="none";if(c=document.getElementById("block-"+this.selectedRadioButton))return c.style.display="block"},onRadioChange:function(){var a,b;return this.previousRadioButton&&(a=document.getElementById("block-"+this.previousRadioButton))&&(a.style.display="none"),b=document.getElementById("block-"+this.selectedRadioButton),b&&(b.style.display="block"),this.previousRadioButton=this.selectedRadioButton},isSelected:function(a){return this.selectedRadioButton===a}}},a=function(){function a(a){this.cookieService=a}return a.prototype.isExactConsentActivated=function(a){var b,c;return void 0!==(c=this.cookieService.read("consent-group"))&&null!==c&&(b=c.split(","),b.indexOf(a)>-1)},a.prototype.isConsentActivated=function(a){return!(!this.cookieService.contains("cookie-consent")||"true"!==this.cookieService.read("cookie-consent"))||this.isExactConsentActivated(a)},a}(),b=function(){function a(){}return a.prototype.expires=function(){var a;return a=new Date,a.setFullYear(a.getFullYear()+1),a.toGMTString()},a.prototype.maxAge=31536e3,a.prototype.past="Thu, 01 Jan 1970 00:00:01 GMT",a.prototype.getCookies=function(){var a,b,c,d,e,f,g,h;
1if(c={},document.cookie&&""!==document.cookie)for(b=document.cookie.split(";"),f=0,g=b.length;f<g;f++)a=b[f],a=a.trim(),h=a.split("="),d=h[0],e=h[1],d&&(c[d]=decodeURIComponent(e));return c},a.prototype.contains=function(a){var b;return b=this.getCookies(),a in b},a.prototype.read=function(a){var b;return b=this.getCookies(),b[a]},a.prototype.write=function(a,b,c){var d;return null==c&&(c="/"),d=encodeURIComponent(b),document.cookie=a+"="+d+";max-age="+this.maxAge+";expires="+this.expires()+";path="+c},a.prototype.remove=function(a,b){if(null==b&&(b="/"),this.contains(a))return document.cookie=a+"='';max-age=0;expires="+this.past+";path="+b},a.prototype.readObject=function(a){var b;if(b=this.read(a))try{return JSON.parse(b)}catch(a){return a,null}return null},a.prototype.writeObject=function(a,b){return this.write(a,JSON.stringify(b))},a}(),c=function(){function a(){this.dayNames=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],this.shortDayNames=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],this.monthNames=["January","February","March","April","May","June","July","August","September","October","November","December"],this.monthShortNames=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}return a.prototype.pad=function(a){return a<10?"0"+a:a},a.prototype.getUtcNow=function(){var a;return a=new Date,new Date(a.getTime()-6e4*a.getTimezoneOffset())},a.prototype.areSameDay=function(a,b){return a.getUTCDate()===b.getUTCDate()&&a.getUTCMonth()===b.getUTCMonth()&&a.getUTCFullYear()===b.getUTCFullYear()},a.prototype.isToday=function(a){return this.areSameDay(a,this.getUtcNow())},a.prototype.isYesterday=function(a){var b;return b=this.getUtcNow(),b.setDate(b.getDate()-1),this.areSameDay(a,b)},a.prototype.isLeapYear=function(a){return a%4==0&&a%100!=0||a%4e3==0},a.prototype.getMonthName=function(a){return this.monthNames[a]},a.prototype.formatShortDateStringWithoutTimeShift=function(a){var b;return b=new Date(Date.parse(a)),this.formatUrlDate(b)},a.prototype.formatDateString=function(a,b){var c;return null==b&&(b=!1),c=new Date(Date.parse(a)),this.formatDate(c,b)},a.prototype.formatDateStringWithTime=function(a,b,c,d){var e;return null==b&&(b=!1),null==c&&(c=!1),null==d&&(d=!1),e=new Date(Date.parse(a)),this.formatDatetime(e,b,!0,d)},a.prototype.formatShortDateString=function(a){var b;return b=new Date(Date.parse(a)),b=this.toUTCDate(b),this.formatUrlDate(b)},a.prototype.formatTimestamp=function(a,b){var c;return null==b&&(b=!1),c=new Date(a),this.formatDate(c,b)},a.prototype.formatTimestampWithTime=function(a,b){var c;return null==b&&(b=!1),c=new Date(a),this.formatDatetime(c,b)},a.prototype.formatDate=function(a,b){return null==b&&(b=!1),b&&this.isToday(a)?"Today":b&&this.isYesterday(a)?"Yesterday":a.getDate()+" "+this.monthNames[a.getMonth()]+" "+a.getFullYear()},a.prototype.formatDatetime=function(a,b,c,d){var e,f;return null==b&&(b=!1),null==c&&(c=!1),null==d&&(d=!1),e=d?"CET":"CET/CEST",f=this.pad(a.getUTCHours())+":"+this.pad(a.getUTCMinutes()),c&&(f+=" "+e),b&&this.isToday(a)?"Today "+f:b&&this.isYesterday(a)?"Yesterday "+f:a.getUTCDate()+" "+this.monthNames[a.getUTCMonth()]+" "+a.getUTCFullYear()+" "+f},a.prototype.formatUrlDate=function(a){var b,c,d;return b=a.getDate(),c=a.getMonth()+1,d=a.getFullYear(),this.pad(b)+"-"+this.pad(c)+"-"+d},a.prototype.formatMapUrlDate=function(a){var b,c;return a=this.parseMapDate(a),b=a.getUTCDate(),c=a.getUTCMonth()+1,a.getUTCFullYear()+"-"+this.pad(c)+"-"+this.pad(b)},a.prototype.dateStringToDayName=function(a){var b,c;return c=a.split("-"),3===c.length?(b=new Date(c[2],c[1]-1,c[0]),this.shortDayNames[b.getDay()]):""},a.prototype.formatMillisecondDifference=function(a){var b,c,d,e,f,g;return c=Math.floor(a/864e5),e=Math.floor(a/36e5)%24,g=Math.floor(a/6e4)%60,b=c>0?c+"d ":"",d=e+"h ",f=g+"m",""+b+d+f},a.prototype.toUTCDate=function(a){return new Date(a.getTime()+6e4*a.getTimezoneOffset())},a.prototype.parseMapDate=function(a){var b;return null==a?a:(b=6e4,0===a.getUTCHours()?a:new Date(a.getTime()-a.getTimezoneOffset()*b))},a.prototype.movePeriod=function(a,b,c){var d,e;return null==c&&(c=1),0===a||1===a?new Date(b.getFullYear(),b.getMonth(),b.getDate()+c):2===a?new Date(b.getTime()+7*c*MS_PER_DAY):3===a?(d=1===c?2:0,new Date(b.getFullYear(),b.getMonth()+d,0)):4===a?(e=1===c?2:0,new Date(b.getFullYear()+e,0,0)):new Date(b.getTime()+c*MS_PER_DAY)},a.prototype.getPeriodEnd=function(a,b){var c;return c=new Date(b.getTime()),0===a||1===a?c:2===a?new Date(c.getFullYear(),c.getMonth(),c.getDate()+7-c.getDay()):3===a?new Date(c.getFullYear(),c.getMonth()+1,0):4===a?new Date(c.getFullYear()+1,0,0):c},a.prototype.convertToSwedishTime=function(a){var b,c;return b=new Date(Date.parse(a)),c=1,this.isDstDay(b)&&(c=2),b.setUTCHours(b.getUTCHours()+c),b},a.prototype.convertSwedishTimeToUtc=function(a){var b,c,d;return b=new Date(Date.parse(a)),d=1,this.isDstDay(b)&&(d=2),c=a+"+0"+d+":00",
1new Date(Date.parse(c))},a.prototype.getUtcTomorrow=function(){var a;return a=new Date,new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate()+1))},a.prototype.isDstDay=function(a){var b,c,d,e,f;return f=a.getUTCFullYear(),c=31-Math.floor(5*f/4+4)%7,e=31-Math.floor(5*f/4+1)%7,b=new Date(Date.UTC(f,2,c,1)),d=new Date(Date.UTC(f,9,e,1)),b<a&&a<d},a}(),h=function(a,b,c){return null==c&&(c=!1),{url:a,limit:parseInt(b)||10,clamp:"true"===c||!0===c,feedItems:[],loading:!0,init:function(){return this.feedUpdateService=this.$store.NPGServices.FeedUpdateService,this.dateService=this.$store.NPGServices.DateService,this.lineClampService=this.$store.NPGServices.LineClampService,this.encodedUrl=encodeURIComponent(this.url),this.feedUpdateService.addListener({url:this.url,callback:function(a){return function(b){return a.getFeed(b)}}(this)}),this.getFeed(),this.$watch("$el",function(a){return function(b){if(!b)return a.feedUpdateService.removeListener(a.url)}}(this))},getFeed:function(a){var b;return null==a&&(a="0"),b="/api/getfeed?url="+this.encodedUrl+"?limit="+this.limit+"&datetime="+a,fetch(b).then(function(a){return function(a){return a.json()}}()).then(function(a){return function(b){var c,d,e;for(d=0,e=b.length;d<e;d++)c=b[d],c.Title=c.Title.replace(/&gt;/g,">");if(a.feedItems=b,a.loading=!1,a.clamp&&a.lineClampService)return a.$nextTick(function(){return a.lineClampService.clamp(a.$el,".message-header")})}}(this)).catch(function(a){return function(b){return a.loading=!1}}(this))},formatDate:function(a){var b;return b=this.dateService.convertToSwedishTime(a),this.dateService.formatDatetime(b,!0)}}},i=function(){function a(){this.listeners=[]}return a.prototype.addListener=function(a){this.listeners.push(a)},a.prototype.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b.url!==a})},a.prototype.feedUpdated=function(a,b){var c,d,e,f,g;for(c=!1,g=this.listeners,e=0,f=g.length;e<f;e++)d=g[e],d.url===a&&(c=!0,d.callback(b));if(c)return window.dispatchEvent(new CustomEvent("feed-update",{detail:{url:a,dateTime:b}}))},a}(),j=function(a){return null==a&&(a=!1),{terms:[],expanded:!1,query:"",showSidebar:!1,showMenu:!1,updateCount:0,market:"nordic",marketUpdateTabs:["operational","umm"],marketUpdateSelectedTab:"operational",init:function(){var b;return this.cookieService=this.$store.NPGServices.CookieService,this.cookieConsentService=this.$store.NPGServices.CookieConsentService,b=this.cookieService.read("market"),this.market=b||"nordic",this.marketUpdateSelectedTab=this.getMarketUpdateTabs(),this.headerColor(a),this.loadSearchTerms(),window.addEventListener("market-update",this.onMarketUpdate)},destroy:function(){return window.removeEventListener("market-update",this.onMarketUpdate)},loadSearchTerms:function(){return fetch("/api/search-terms").then(function(a){return function(a){return a.json()}}()).then(function(a){return function(b){return a.terms=b}}(this)).catch(function(a){return function(a){}}())},closeSearch:function(){var a;return this.query="",this.expanded=!1,null!=(a=this.$refs.searchInput)?a.blur():void 0},toggle:function(a){var b;return null!=a&&a.preventDefault(),this.$nextTick(function(a){return function(){var b;return null!=(b=a.$refs.searchInput)?b.focus():void 0}}(this)),b=this.query.replace(/^\s+|\s+$/g,""),this.expanded&&""!==b?this.submit():this.expanded=!this.expanded},submit:function(a){var b;return void 0===a?setTimeout(function(a){return function(){var b;return null!=(b=a.$refs.searchForm)?b.submit():void 0}}(this),0):(b=this.query.replace("<",""),this.$refs.searchInput&&(this.$refs.searchInput.value=b),!0)},toggleMenu:function(){var a;if(this.showMenu=!this.showMenu,a=document.querySelectorAll(".next-block-button, .previous-block-button"),this.showMenu?a.forEach(function(a){return a.style.position="relative"}):a.forEach(function(a){return a.style.position="absolute"}),this.showSidebar)return this.toggleSidebar(!1)},toggleSidebar:function(a){return void 0===a&&(a=!this.showSidebar),this.updateCount=0,!0!==a?(this.showSidebar=!1,window.dispatchEvent(new CustomEvent("clear-update-notifiers"))):(this.showSidebar=!0,this.showMenu?this.showMenu=!1:void 0)},closeSidebar:function(){if(!0===this.showSidebar)return this.showSidebar=!1}
1,changeMarket:function(a){if(this.market=a,this.cookieConsentService.isConsentActivated("persistent"))return this.cookieService.write("market",a)},changeMarketUpdateTab:function(a){if(t.call(this.marketUpdateTabs,a)>=0&&(this.marketUpdateSelectedTab=a,this.cookieConsentService.isConsentActivated("persistent")))return this.cookieService.write("market-update-tabs",a)},getMarketUpdateTabs:function(){var a,b;return a=null!=(b=this.cookieService)?b.read("market-update-tabs"):void 0,null!=a&&t.call(this.marketUpdateTabs,a)>=0?a:this.marketUpdateTabs[0]},headerColor:function(a){var b,c,d;if(a&&(b=document.getElementsByTagName("header")[0],b&&(b.style.backgroundColor="#006ad5"),(c=document.getElementsByClassName("item-opened")[0])&&(d=c.getElementsByTagName("a")[0])))return d.style.color="black",d.style.borderColor="black"},onMarketUpdate:function(a){return function(b){if(!a.showSidebar)return a.updateCount++}}(this),filterTerms:function(a){var b;return!a||a.length<1?[]:(b=this.terms.filter(function(b){return b.toLowerCase().indexOf(a.toLowerCase())>=0}),b.slice(0,8))}}},k=function(){function a(){this.MAX_DELAY=2e4,this.listeners={},this.connected=!1,this.invalidationQueue=[],this.invalidationHandle=null,this.connection=null}return a.prototype.addListener=function(a,b,c,d){var e;null==d&&(d=null),null!=a&&(null==(e=this.listeners)[a]&&(e[a]=[]),this.listeners[a].push({callback:c,args:b?JSON.parse(JSON.stringify(b)):b,self:d}))},a.prototype.removeListener=function(a){delete this.listeners[a]},a.prototype.init=function(a){var b;return null!=(null!=a?a.invalidateCacheHub:void 0)&&(this.connection=a,b=a.invalidateCacheHub,null!=(null!=b?b.client:void 0)?(b.client.invalidateCacheKey=function(a){return function(b){if(b in a.listeners)return a.queueInvalidation(b)}}(this),b.client.messagePublished=function(a){return function(a){var b,c;if(null!=(null!=(b=window.Alpine)&&"function"==typeof b.store&&null!=(c=b.store("NPGServices"))?c.MessageUpdateService:void 0))return window.Alpine.store("NPGServices").MessageUpdateService.messagePublished(a)}}(),b.client.feedUpdated=function(a){return function(a,b){var c,d;if(null!=(null!=(c=window.Alpine)&&"function"==typeof c.store&&null!=(d=c.store("NPGServices"))?d.FeedUpdateService:void 0))return window.Alpine.store("NPGServices").FeedUpdateService.feedUpdated(a,b)}}(),a.hub.start().done(function(a){return function(){return a.connected=!0}}(this)),!0):(this.connected=!1,!1))},a.prototype.queueInvalidation=function(a){var b;t.call(this.invalidationQueue,a)>=0||(null==this.invalidationHandle&&(b=Math.floor(Math.random()*this.MAX_DELAY),this.invalidationHandle=setTimeout(function(a){return function(){return a.invalidateCache()}}(this),b)),this.invalidationQueue.push(a))},a.prototype.invalidateCache=function(){var a,b,c,d,e,f,g,h;for(g=this.invalidationQueue,c=0,e=g.length;c<e;c++)if(a=g[c],this.listeners[a])for(h=this.listeners[a],d=0,f=h.length;d<f;d++){b=h[d];try{b.self?b.callback.call(b.self,b.args):b.callback(b.args)}catch(a){a}}return this.invalidationQueue=[],this.invalidationHandle=null},a.prototype.isConnected=function(){return this.connected},a}(),l=function(){function a(){}return a.prototype.clamp=function(a,b){var c,d,e,f,g;for(d="string"==typeof a?document.querySelectorAll(a+" "+b):(null!=a?a.querySelectorAll:void 0)?a.querySelectorAll(b):[],g=[],e=0,f=d.length;e<f;e++)c=d[e],g.push(this.clampElement(c));return g},a.prototype.clampElement=function(a){var b,c,d,e;if(a&&(a.classList.add("static-height"),c=a.offsetHeight+1,(b=a.children[0])&&!(b.offsetHeight<=c))){for(b.innerHTML,e=[];b.offsetHeight>c&&(d=b.innerHTML.replace(/\W*\s(\S)*$/,"..."),b.innerHTML!==d);)e.push(b.innerHTML=d);return e}},a}(),n=function(){function a(){this.listeners=[]}return a.prototype.addListener=function(a){this.listeners.push(a)},a.prototype.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b.id!==a})},a.prototype.messagePublished=function(a){var b,c,d,e,f,g;for(b=!1,f=this.listeners,d=0,e=f.length;d<e;d++)c=f[d],g=c.root,t.call(a,g)>=0&&(b=!0,c.callback());if(b)return window.dispatchEvent(new CustomEvent("market-update"))},a}(),q=function(a,b){return{blockId:a,blockDateTime:b,showModal:!1,init:function(){if(this.cookieService=this.$store.NPGServices.CookieService,this.cookieConsentService=this.$store.NPGServices.CookieConsentService,window.innerWidth>567&&this.shouldShowPopup())return setTimeout(function(a){return function(){return a.showModal=!0}}(this),500)},shouldShowPopup:function(){var a,b,c;return!!this.cookieService&&(!this.cookieService.contains("popup-block")||(c=this.cookieService.read("popup-block"),!c.includes(this.blockId.toString()))||(b=new RegExp(this.blockId+"\\(([^)]+)\\)"),!!(a=c.match(b))&&a[1]!==this.blockDateTime))},close:function(){var a;return this.cookieService.contains("popup-block")?(a=this.cookieService.read("popup-block"),a+=","+this.blockId):a=this.blockId.toString(),this.cookieService.write("popup-block",a),this.showModal=!1},later:function(){var a,b;return this.cookieService.contains("popup-block")?(a=this.cookieService.read("popup-block"),a+=","+this.blockId+"("+this.blockDateTime+")"):a=this.blockId+"("+this.blockDateTime+")",(null!=(b=this.cookieConsentService)?b.isConsentActivated("persistent"):void 0)&&this.cookieService.write("popup-block",a),this.showModal=!1}
1,closeOnBackdrop:function(a){if(a.target===a.currentTarget)return this.later()}}},$(function(){var a;return a=function(a){var b;return b=$(a).index()+1,$(a).closest("table").find("td,th").filter(":nth-child("+b+")")},$(document).on("mouseenter",".market-data-table td",function(){return a(this).addClass("hover")}),$(document).on("mouseleave",".market-data-table td",function(){return a(this).removeClass("hover")})}),$(function(){return $(".menu-expander").on("click",function(){return $(this).siblings(".sub-menu").add(this).toggleClass("expand"),$(this).parent().siblings(".menu-item").find(".sub-menu, .menu-expander").removeClass("expand"),!1}),$(".item-opened > .menu-expander, .item-opened > .sub-menu").addClass("expand")}),function(){var a,b,c,d;a=8,d=function(a){if(!($(a.target).is(".tooltip-content")||$(a.target).closest(".tooltip-content").length>0))return $(".tooltip").removeClass("show"),$(document).off("touchstart",d)},b=function(a,b){var c;return c=parseInt(a.css("marginLeft")),a.css({marginLeft:c+b})},c=function(c){var d,e,f;return d=c.children(".tooltip-content"),e=d.offset().left-a,f=d.offset().left+d.outerWidth()-($(window).width()-a),e<0&&b(d,-e),f>0&&b(d,-f),!0},$(document).on("touchstart",".tooltip",function(a){var b;if(b=$(a.target),b.is(".tooltip"))return b.addClass("show"),c(b),$(document).on("touchstart",d)}),$(document).on("mouseenter",".tooltip",function(a){var b;if(b=$(a.target),b.is(".tooltip"))return c($(a.target))})}()}).call(this);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.