1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4115],{44115:(e,r,n)=>{n.r(r),n.d(r,{default:()=>i});var l=n(23798),t=n(40220),a=n(21462),o=n(21395),u=n(88488);function i(e){var r,n;let{config:i,params:c,setEvents:s,hideErrors:d=!1}=e,{data:f,error:v}=(0,u.A)(i,"calendar",{...c,includeArtist:"false",...null!=(r=null==i?void 0:i.params)?r:{}});(0,a.useEffect)(()=>{if(!f||v)return;let e={};null==f||f.forEach(r=>{var n;let l="".concat(r.artist.artistName," - ").concat(r.title);e[l]={title:l,date:t.c9.fromISO(r.releaseDate),color:null!=(n=null==i?void 0:i.color)?n:"green",isCompleted:r.grabbed,additional:""}}),s(r=>({...r,...e}))},[f,v,i,s]);let p=null!=v?v:null==f?void 0:f.error;return p&&!d&&(0,l.jsx)(o.A,{error:{message:"".concat(i.type,": ").concat(null!=(n=p.message)?n:p)}})}},88488:(e,r,n)=>{n.d(r,{A:()=>a});var l=n(96638),t=n(96973);function a(e){for(var r,n,a=arguments.length,o=Array(a>1?a-1:0),u=1;u<a;u++)o[u-1]=arguments[u];let i={};o&&(null==(r=o[1])?void 0:r.refreshInterval)&&(i.refreshInterval=o[1].refreshInterval);let c=(0,t.$C)(e,...o);""===o[0]&&(c=null);let{data:s,error:d,mutate:f}=(0,l.Ay)(c,i);return{data:s,error:null!=(n=null==s?void 0:s.error)?n:d,mutate:f}}},96973:(e,r,n)=>{function l(e,r){let n=new URLSearchParams({group:e.service_group,service:e.service_name,index:e.index});return r&&n.append("endpoint",r),n}function t(e,r,n){let t=l(e,r);return n&&t.append("query",JSON.stringify(n)),"/api/services/proxy?".concat(t.toString())}n.d(r,{$C:()=>t,_V:()=>l})}}]);
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.