PageSourceSearch

https://mijnomgeving.primo.be/_next/static/chunks/pages/abonnementen-bfca6187be08ed11.js

js primo.be collected 2026-09-26 20:57:37 UTC 21,210 bytes, 91 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var s=1;s<arguments.length;s++){var t=arguments[s];if(null!=t)for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:dpg-media-services-csa":!0});var s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a4bab6d1-f1a1-41b4-9059-737801a3c557",e._sentryDebugIdIdentifier="sentry-dbid-a4bab6d1-f1a1-41b4-9059-737801a3c557")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3212],{2194:(e,s,t)=>{"use strict";t.r(s),t.d(s,{__N_SSP:()=>$,default:()=>K});var i=t(6029);t(55729);var n=t(2869),r=t(43343),a=t(89456);let l=({title:e,filterComponent:s,children:t,hideHeader:n,...r})=>(0,i.jsx)("div",{className:"w-full bg-white",...r,children:(0,i.jsxs)("div",{className:"max-w-xl w-full mx-auto bg-white px-3 py-3 text-left",children:[!n&&(0,i.jsxs)("div",{className:"border-b border-b-gray-medium",children:[(0,i.jsx)("div",{className:"h-10 flex justify-center flex-col",children:(0,i.jsx)("h2",{className:"font-semibold","data-testid":"subscription-heading",children:e})}),s]}),t]})});var c=t(79478),o=t(237),d=t(50092),u=t(79132),b=t(95618);let m=(0,d.UG)(`
2  fragment SubscriptionLabel on S2LinkedSubscription {
3    role
4    pcsProduct {
5      __typename
6      descriptor {
7        __typename
8        name
9      }
10    }
11    lowerCaseBrandId
12  }
13`),p=({subscription:e,...s})=>{let{getTranslation:t}=(0,r.c3)(),{lowerCaseBrandId:n,role:a,pcsProduct:l}=(0,d.ni)(m,e),c=(0,u.tA)(n),o=l?.descriptor?.name||c.title,p=(0,b.d)(c.subscriptionLogo||c.logo)?.height(50).url(),x=t(`subscriptionsRole_${a}`);return(0,i.jsxs)("div",{className:"flex gap-2 text-sm","data-testid":"subscription-label",...s,children:[(0,i.jsx)("div",{className:"overflow-hidden rounded-xl w-10 h-10 border border-gray-medium","data-testid":"subscription-image",children:p?(0,i.jsx)("img",{src:p,className:"w-full h-full",title:o}):(0,i.jsx)("div",{className:"w-full h-full bg-gray-light"})}),(0,i.jsxs)("div",{className:"flex flex-col justify-center leading-6",children:[(0,i.jsx)("span",{className:"font-semibold","data-testid":"subscription-brand-title",children:o}),(0,i.jsx)("span",{className:"italic font-regular text-sm text-gray-dark","data-testid":"subscription-role",children:x})]})]})};var x=t(55597),h=t(15615),g=t(90512);let v=(0,d.UG)(`
14  fragment SubscriptionStatus on S2LinkedSubscription {
15    status
16    suspensionReason
17    lowerCaseBrandId
18    pcsProduct {
19      __typename
20      descriptor {
21        __typename
22        name
23      }
24    }
25    canonicalSubscription {
26      __typename
27      contract {
28        __typename
29        startDate
30      }
31    }
32  }
33`),f=({subscription:e,className:s=""})=>{let{getPortableText:t}=(0,r.c3)(),{status:n,suspensionReason:l,pcsProduct:c,lowerCaseBrandId:o,canonicalSubscription:b}=(0,d.ni)(v,e),m=(0,u.tA)(o),p=c?.descriptor?.name||m.title;return n&&"ACTIVE"!==n&&"TERMINATED"!==l?(0,i.jsxs)("div",{className:s,children:["HOLIDAY"===l&&(0,i.jsx)(a.Eg,{variant:"info",shouldAnnounce:!1,"data-testid":"subscription-holiday",children:(0,i.jsx)(h.A,{message:t("subscriptionsStatusType_HOLIDAY"),values:{product_name:p}})}),"DUNNING"===l&&(0,i.jsx)(a.Eg,{variant:"warning",shouldAnnounce:!1,"data-testid":"subscription-dunning",children:(0,i.jsx)(h.A,{message:t("subscriptionsStatusType_DUNNING"),values:{product_name:p}})}),"FUTURE_START_DATE"===l&&b.contract?.startDate&&(0,i.jsx)(a.Eg,{variant:"info",shouldAnnounce:!1,"data-testid":"start-date-subscription",children:(0,i.jsx)(h.A,{message:t("subscriptionsStatusType_FUTURE_START_DATE"),values:{product_name:p,start_date:(0,g.bU)(b.contract.startDate)}})}),"SUSPENDED"===n&&!l&&(0,i.jsx)(a.Eg,{variant:"info",shouldAnnounce:!1,"data-testid":"subscription-suspended",children:(0,i.jsx)(h.A,{message:t("subscriptionsStatusType_SUSPENDED"),values:{product_name:p}})})]}):null},j=(0,d.UG)(`
34  fragment SubscriptionOverviewActiveItem on S2LinkedSubscription {
35    ...SubscriptionStatus
36    ...SubscriptionLabel
37    lowerCaseBrandId
38    subscriptionId
39    role
40  }
41`),y=({subscription:e})=>{let s=(0,d.ni)(j,e),{lowerCaseBrandId:t,subscriptionId:n}=s;return(0,i.jsxs)("li",{className:"border-b border-gray-medium",children:[(0,i.jsx)(o.N,{href:`/abonnementen/${t}/${n}`,className:"block",children:(0,i.jsxs)("div",{className:"flex flex-row items-center cursor-pointer",children:[(0,i.jsx)("span",{"data-testid":"active-subscription-item",className:"block w-full py-4",children:(0,i.jsx)(p,{subscription:s})}),(0,i.jsx)("div",{className:"w-5",children:(0,i.jsx)(a.In,{icon:x.XkK,className:"text-icon"})})]})}),(0,i.jsx)(f,{subscription:s,className:"mb-4"})]})},N=(0,d.UG)(`
42  fragment ActiveSubscriptionView on S2LinkedSubscription {
43    ...SubscriptionOverviewActiveItem
44    subscriptionKey
45    role
46  }
47`),w=({subscriptions:e})=>(0,i.jsx)("ul",{children:(0,d.ni)(N,e).sort((e,s)=>e.role===s.role?0:"OWNER"===e.role?-1:1).map(e=>(0,i.jsx)(y,{subscription:e},e.subscriptionKey))});var S=t(13055),_=t(65394),I=t(83701),C=t(50197),k=t(68251),T=t(10199),E=t(42329),L=t(92965);let D=(0,d.UG)(`
48  query ActiveSubscriptionsOverviewQuery {
49    getLinkedSubscriptions {
50      ...ActiveSubscriptionView
51      lowerCaseBrandId
52      subscriptionId
53      canonicalSubscription {
54        brand {
55          country
56        }
57      }
58    }
59  }
60`),A=()=>{let{getTranslatedViolation:e}=(0,c.s)(),{getTranslation:s,getPortableText:t}=(0,r.c3)(),n=(0,L.om)(),[{data:d,fetching:u,error:b}]=(0,C.IT)({query:D}),m=(0,E.PB)(),{selectedCountry:p,setSelectedCountry:x,showCountrySelector:g,filteredSubscriptions:v}=(0,k.T)(d?.getLinkedSubscriptions),f=s("subscriptionsActiveSubsTitle");return u?(0,i.jsx)(l,{title:f,children:(0,i.jsx)(_.m,{subscriptionCount:1,"aria-label":s("subscriptionsLoadingAriaLabel"),hasRightArrow:!0})}):b?(0,i.jsx)(l,{title:f,children:(0,i.jsx)(a.Eg,{variant:"error",className:"mt-4","data-testid":"subscriptions-overview-error-notification",children:(0,i.jsx)("p",{"data-testid":"error-GENERIC-ERROR",children:e("GENERIC-ERROR")})})}):(0,i.jsxs)(l,{title:f,filterComponent:g&&(0,i.jsx)("div",{className:"mb-4",children:(0,i.jsx)(I.c,{selectedCountry:p,setSelectedCountry:x})}),hideHeader:!v.length,"data-testid":"active-subscriptions-container",children:[v.length>0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(w,{subscriptions:v}),(0,i.jsxs)("div",{className:"mt-4 mb-2 flex flex-col items-center gap-2",children:[(0,i.jsx)(o.N,{href:"/abonnementen/koppelen",passHref:!0,children:(0,i.jsx)(a.$n,{as:"span",variant:"secondary",className:"cursor-pointer","data-testid":"link-subscription",children:s("subscriptionsLinkAnotherSubButtonLabel")})}),(0,i.jsx)(S.V,{})]}),!n&&m.subscriptionOverviewCrossSellUrl&&(0,i.jsx)(a.Eg,{variant:"info",className:"mt-4","data-testid":"cross-sell-notification",children:(0,i.jsx)(h.A,{className:"text-left",message:t("subscriptionsCrossSellMessage"),values:{brand_id:m.id}})})]}):(0,i.jsx)(T.G,{description:(0,i.jsx)(h.A,{testId:"no-active-subscriptions-message",message:t("subscriptionsNoLinkedSubscriptionsDescription")}),buttonLabel:s("subscriptionsLinkSubButtonLabel")}),v&&0===v.length&&m.subscriptionOffersPageUrl&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("hr",{className:"h-3 border-none bg-gray-light mt-6 mb-4"}),(0,i.jsx)(h.A,{paragraphElement:"h2",className:"font-semibold border-b border-b-gray-medium w-full py-2",message:t("subscriptionsSubscribeToBrandTitle"),values:{brand_name:m.seoTitle}}
60),(0,i.jsx)(h.A,{className:"text-sm mt-4 space-y-4",message:t("subscriptionsSubscribeToBrandDescription"),values:{brand_name:m.seoTitle}})]})]})},M=(0,d.UG)(`
61  fragment InactiveSubscriptionsView on S2LinkedSubscription {
62    ...SubscriptionLabel
63    subscriptionIdForDisplay
64    lowerCaseBrandId
65    subscriptionKey
66    role
67    pcsProduct {
68      serviceType
69    }
70  }
71`);function R({subscriptions:e}){let{getTranslation:s,getPortableText:t}=(0,r.c3)(),n=(0,d.ni)(M,e),l=(0,E.Ek)();return(0,i.jsx)(a.nD.Root,{type:"multiple",defaultValue:n[0]?.subscriptionKey?[n[0].subscriptionKey]:[],children:n.map(e=>{let{subscriptionKey:n,subscriptionIdForDisplay:r,pcsProduct:c,lowerCaseBrandId:o}=e,{subscriptionOffersPageUrl:d}=l[o];return(0,i.jsxs)(a.nD.Item,{"data-testid":"inactive-subscription-item",value:n,className:"p-2 pr-4",children:[(0,i.jsx)(a.nD.Trigger,{className:"flex w-full items-center justify-between text-left gap-4 min-h-14 -my-2",children:(0,i.jsx)(p,{subscription:e})}),(0,i.jsx)(a.nD.Content,{className:"px-0 pb-0 pt-2",children:(0,i.jsxs)("div",{className:"bg-gray-medium rounded space-y-5 p-3","data-testid":"inactive-overview",children:[(0,i.jsx)(a.D0,{testId:"service-type",label:s("subscriptionServiceTypeLabel"),value:c?.serviceType&&s(`subscriptionsServiceType_${c.serviceType}`)}),(0,i.jsx)(a.D0,{testId:"subscription-user-ref",label:s("subscriptionIdLabel"),value:r,pii:!0}),d&&(0,i.jsx)(h.A,{message:t("subscriptionsTerminatedSubscriptionDescription"),values:{brand_id:o}})]})})]},n)})})}let U=(0,d.UG)(`
72  query InactiveSubscriptionsOverviewQuery {
73    getLinkedSubscriptions(suspensionReason: "TERMINATED") {
74      ...InactiveSubscriptionsView
75      lowerCaseBrandId
76      subscriptionId
77      canonicalSubscription {
78        brand {
79          country
80        }
81      }
82    }
83  }
84`),B=()=>{let{getTranslation:e,getPortableText:s}=(0,r.c3)(),{getTranslatedViolation:t}=(0,c.s)(),n=e("subscriptionsTerminatedSubsTitle"),[{data:o,fetching:d,error:u}]=(0,C.IT)({query:U}),{selectedCountry:b,setSelectedCountry:m,showCountrySelector:p,filteredSubscriptions:x}=(0,k.T)(o?.getLinkedSubscriptions);return d?(0,i.jsx)(l,{title:n,children:(0,i.jsx)(_.m,{subscriptionCount:3,"aria-label":e("subscriptionsLoadingAriaLabel")})}):u?(0,i.jsx)(l,{title:n,children:(0,i.jsx)(a.Eg,{variant:"error",className:"my-4","data-testid":"subscriptions-overview-error-notification",children:(0,i.jsx)("p",{"data-testid":"error-GENERIC-ERROR",children:t("GENERIC-ERROR")})})}):(0,i.jsx)(l,{title:n,filterComponent:p&&(0,i.jsx)("div",{className:"mb-4",children:(0,i.jsx)(I.c,{selectedCountry:b,setSelectedCountry:m})}),"data-testid":"inactive-subscriptions-container",children:x&&x.length>0?(0,i.jsx)("div",{className:"my-4",children:(0,i.jsx)(R,{subscriptions:x})}):(0,i.jsx)("div",{className:"my-4",children:(0,i.jsx)(h.A,{testId:"no-inactive-subscriptions-message",message:s("subscriptionsTerminatedSubsDescription")})})})},P=()=>{let{getTranslation:e}=(0,r.c3)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"max-w-md tablet:max-w-lg w-full mx-auto pb-6 tablet:pb-10 pt-5 tablet:pt-4 px-3 flex flex-col text-center gap-6",children:[(0,i.jsx)("h1",{className:"font-bold text-xl","data-testid":"abonnementen-greeting",children:e("subscriptionsPageTitle")}),(0,i.jsx)("p",{"data-testid":"abonnementen-greeting-subtext",children:e("subscriptionsPageDescription")})]}),(0,i.jsx)(A,{}),(0,i.jsx)("div",{className:"bg-white",children:(0,i.jsx)("div",{className:"max-w-xl mx-auto px-3 mt-3",children:(0,i.jsx)("hr",{className:"h-3 border-none bg-gray-light"})})}),(0,i.jsx)(B,{})]})};var G=t(47466),O=t(35453),$=!0;function K({countryInfo:e,errorCodes:s}){(0,O.e)();let{translations:t}=(0,r.c3)();return(0,i.jsx)(c.p.Provider,{value:s,children:(0,i.jsxs)(G.wF.Provider,{value:e,children:[(0,i.jsx)(n.r,{routes:t.subscriptionspageBreadCrumbs}),(0,i.jsx)(P,{})]})})}},5752:(e,s,t)=>{"use strict";t.d(s,{GK:()=>n,qr:()=>r});let i=["BE","NL"];function n(e){return e.toUpperCase()}function r(e){return i.includes(e)?e:void 0}},10199:(e,s,t)=>{"use strict";t.d(s,{G:()=>p,p:()=>m});var i,n=t(6029);t(55729);var r=t(89456),a=t(237),l=t(15615),c=t(13055),o=t(43343),d=t(92965),u=t(57490),b=t(76264),m=((i={}).Holiday="holiday",i.MovingHouse="moving-house",i.DeliveryComplaint="delivery-complaint",i.InvoiceOverview="invoice-overview",i.ChangePaymentMethod="change-payment-method",i.ChangeCustomerDetails="change-customer-details",i);function p({sourceFlow:e,description:s,buttonLabel:t,className:i}){let m=(0,d.om)(),{getDictionaryValue:x}=(0,o.c3)(),h=new URL("/abonnementen/koppelen",(0,u.hC)());return e&&h.searchParams.set("from",e),(0,n.jsx)("div",{className:(0,b.QP)((0,u.cx)("flex flex-col gap-4 pt-4",i)),children:m?(0,n.jsx)(l.A,{testId:"no-active-subscriptions-message",message:x("subscriptionOverviewAppServiceNoSubscriptionsDescription")}):(0,n.jsxs)(n.Fragment,{children:[s,(0,n.jsx)(a.N,{href:h.href,passHref:!0,children:(0,n.jsx)(r.$n,{as:"span",variant:"primary",className:"cursor-pointer","data-testid":"link-subscription",children:t})}),(0,n.jsx)(c.V,{})]})})}},13055:(e,s,t)=>{"use strict";
84t.d(s,{V:()=>o});var i=t(6029);t(55729);var n=t(43343),r=t(92732),a=t(15615),l=t(79132),c=t(22507);function o(){let{getTranslation:e,getPortableText:s}=(0,n.c3)(),{brandCategory:t}=(0,l.PB)();return(0,i.jsxs)(r.I,{title:e("moreInfoDialogTitle"),event:{event:"link_subscription_modal_shown",modal_content:"link_subscription"},children:[(0,i.jsx)(a.A,{message:s("magazine"===t?"moreInfoDialogContentMagazine":"moreInfoDialogContentNewspaper"),className:"text-sm"}),(0,i.jsx)("div",{className:"max-w-lg mx-auto",children:(0,i.jsx)(c.A,{})})]})}},17322:(e,s,t)=>{"use strict";t.d(s,{P:()=>r});var i=t(49483),n=t(32523);function r(e,s,t){let r=(0,n.a)(e,t?.in);if(isNaN(s))return(0,i.w)(t?.in||e,NaN);if(!s)return r;let a=r.getDate(),l=(0,i.w)(t?.in||e,r.getTime());return(l.setMonth(r.getMonth()+s+1,0),a>=l.getDate())?l:(r.setFullYear(l.getFullYear(),l.getMonth(),a),r)}},35453:(e,s,t)=>{"use strict";t.d(s,{e:()=>f});var i=t(6029),n=t(55729),r=t(89456),a=t(31576),l=t(79132),c=t(76407),o=t(57490);let d=({message:e,url:s,buttonLabel:t,strong:n})=>(0,i.jsxs)("div",{className:"flex flex-wrap gap-x-2 gap-y-0.5 justify-center items-center text-center px-2",children:[(0,i.jsx)("span",{className:(0,o.cx)("inline",n?"font-semibold":""),children:e}),(0,i.jsx)(r.$n,{variant:"primary",className:"text-black",as:"a",href:s,size:"small",children:t})]});var u=t(18654),b=t(91018);let m="commercial_banner_closed";var p=t(59036),x=t(7472),h=t(50197);let g=(0,t(50092).UG)(`
85  query CommercialBannerSubscriptions {
86    getLinkedSubscriptions {
87      brand
88      subscriptionId
89    }
90  }
91`);var v=t(81278);let f=()=>{let{query:e}=(0,v.useRouter)(),s=(()=>{let{hasWebviewLimitation:e}=(0,p.U)(),s=(0,l.PB)(),{getFeatureFlag:t}=(0,c.h)(),i=t(s.id,"isShowCommercialBannerEnabled"),n=(0,x.L)(s.id);if(i)return n(e?"mobileapp":"web")})(),{isBannerClosed:t,setBannerClosed:o}=((e=1)=>{let s,{getCookie:t,setCookie:i}=(0,b.A)(),[r,a]=(0,n.useState)(!!((s=t(m))&&"true"===s));return{setBannerClosed:(0,n.useCallback)(()=>{a(!0),i(m,"true",{days:e})},[e,i]),isBannerClosed:r}})(s?.marketingBannerTTLInDays),f=(0,r.KN)(),j=(()=>{let[e]=(0,a.F7)({optional:!0}),[{data:s}]=(0,h.IT)({query:g,pause:!e?.id});return e?.id?s?(s?.getLinkedSubscriptions?.length||0)>0?"has-subscriptions":"no-subscriptions":void 0:"unauthenticated"})(),{pushAnalyticsEvent:y}=(0,u.iK)(),N=(0,n.useCallback)(()=>{y({event:"clicks",click_type:"close_commercial_banner"}),o()},[y,o]);(0,n.useEffect)(()=>{if(s&&!e.hideCommercialBanner)return!j||t?void f():("unauthenticated"===j&&f({showIcon:!1,variant:"info",onClose:N,children:(0,i.jsx)(d,{message:s.unauthenticatedMessage,url:s.unauthenticatedButtonLinkUrl,buttonLabel:s.unauthenticatedButtonLinkText,strong:!0})}),"has-subscriptions"===j&&f({showIcon:!1,variant:"info",onClose:N,children:(0,i.jsx)(d,{message:s.withSubscriptionsMessage,url:s.withSubscriptionsLinkUrl,buttonLabel:s.withSubscriptionsLinkText,strong:!0})}),"no-subscriptions"===j&&f({showIcon:!1,variant:"info",onClose:N,children:(0,i.jsx)(d,{message:s.noSubscriptionsMessage,url:s.noSubscriptionsLinkUrl,buttonLabel:s.noSubscriptionsLinkText,strong:!0})}),()=>f())},[s,f,j,t,N,e])}},40894:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/abonnementen",function(){return t(2194)}])},45296:(e,s,t)=>{"use strict";t.d(s,{p:()=>r});var i=t(55729),n=t(18654);function r(e){let[s,t]=(0,i.useState)(!1),{pushAnalyticsEvent:r}=(0,n.iK)();return[s,(0,i.useCallback)(s=>(s&&e&&r(e),t(s)),[])]}},47466:(e,s,t)=>{"use strict";t.d(s,{ez:()=>a,wF:()=>n,yx:()=>r});var i=t(55729);let n=(0,i.createContext)([]),r=()=>(0,i.useContext)(n),a=e=>{let s=r();return s?.find(s=>s.iso2Code===e)}},49897:(e,s,t)=>{"use strict";t.d(s,{W:()=>l});var i=t(37490),n=t(17322),r=t(49483),a=t(32523);function l(e,s,t){let{years:l=0,months:c=0,weeks:o=0,days:d=0,hours:u=0,minutes:b=0,seconds:m=0}=s,p=(0,a.a)(e,t?.in),x=c||l?(0,n.P)(p,c+12*l):p,h=d||o?(0,i.f)(x,d+7*o):x;return(0,r.w)(t?.in||e,+h+1e3*(m+60*(b+60*u)))}},65394:(e,s,t)=>{"use strict";t.d(s,{m:()=>l});var i=t(6029);t(55729);var n=t(55597),r=t(57490),a=t(89456);let l=({className:e,subscriptionCount:s=3,"aria-label":t,hasRightArrow:l,hasLeftCheckbox:c})=>(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("div",{className:"absolute w-full text-center pt-6 z-10",children:(0,i.jsx)(a.fV,{"aria-label":t})}),(0,i.jsx)(a.Or,{duration:"2s",className:"saturate-0 opacity-50 bg-transparent",children:(0,i.jsx)("ul",{className:(0,r.cx)("mb-3",e),children:Array(s).fill(null).map((e,s)=>(0,i.jsxs)("li",{className:"flex flex-row items-center border-b border-gray-medium",children:[(0,i.jsx)("span",{className:"block w-full py-4",children:(0,i.jsxs)("div",{className:"flex gap-2 text-sm items-center",children:[c&&(0,i.jsx)("div",{className:"overflow-hidden rounded-md w-4 h-4 border border-gray-medium",children:(0,i.jsx)("div",{className:"w-full h-full bg-gray-light"})}),(0,i.jsx)("div",{className:"overflow-hidden rounded-xl w-10 h-10 border border-gray-medium",children:(0,i.jsx)("div",{className:"w-full h-full bg-gray-light"})}),(0,i.jsxs)("div",{className:"flex flex-col justify-center leading-6 gap-1",children:[(0,i.jsx)("div",{className:"w-36 bg-gray-light h-4 rounded-md shrink"}),(0,i.jsx)("div",{className:"w-22 bg-gray-light h-4 rounded-md shrink"})]})]})}),l&&(0,i.jsx)("div",{className:"w-5",children:(0,i.jsx)(a.In,{icon:n.XkK,className:"text-icon"})})]},s))})})]})},68251:(e,s,t)=>{"use strict";t.d(s,{T:()=>a});var i=t(55729),n=t(57490),r=t(28526);let a=(e,s)=>{let t=(0,r.t)(),a=(0,i.useMemo)(()=>{let t=e?.find(e=>e.subscriptionId===s);return t?.canonicalSubscription.brand.country.toLowerCase()},[e,s]),[l,c]=(0,i.useState)(null),o=(0,i.useMemo)(()=>null!==l?l:a||t||"nl",[l,a,t]),{truthy:d,falsy:u}=(0,n.Of)(e||[],({canonicalSubscription:e})=>"nl"===e.brand.country.toLowerCase()),b=!!d.length&&!!u.length,m=(0,i.useMemo)(()=>b?"nl"===o?d:u:e||[],[b,o,d,u,e]);return{selectedCountry:o,setSelectedCountry:c,showCountrySelector:b,filteredSubscriptions:m}}},83701:(e,s,t)=>{"use strict";t.d(s,{c:()=>d});var i=t(6029),n=t(55729),r=t(89456),a=t(59496),l=t(47466),c=t(5752);let o=({country:e})=>{let s=(0,l.ez)((0,c.GK)(e));return(0,i.jsxs)("div",{className:"flex items-center space-x-1","data-testid":`country-${e}`,children:[(0,i.jsx)("span",{children:s?.name}),(0,i.jsx)("div",{children:(0,i.jsx)("img",{src:`/images/flags/flag-${e}.svg`,className:"h-auto max-w-3 w-full"})})]})},d=({selectedCountry:e,setSelectedCountry:s})=>{let t=(0,n.useId)();return(0,i.jsx)(r.z6,{direction:"row",onValueChange:e=>s(e.replace(`${t}-`,"")),"data-testid":"select-country",items:a.gH.map(e=>({label:(0,i.jsx)(o,{country:e}),value:`${t}-${e}`})),value:`${t}-${e}`})}},90512:(e,s,t)=>{"use strict";t.d(s,{E0:()=>u,Yq:()=>d,bU:()=>o});var i=t(88274),n=t(73491),r=t(14090),a=t(99405),l=t(46700),c=t(66632);function o(e,s="d MMMM yyyy",t="-",n=t){return(0,l.Wo)(e)||null===e?null!==e&&e.length?d((0,i.H)(e),s):n:t}function d(e,s="d MMMM yyyy"){return(0,n.GP)(e,s,{locale:c.nl})}function u(e,s){return s?(0,r.$)(s)?s:(0,a.qg)(s,"yyyy-MM-dd",new Date):""}},91018:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var i=t(55729),n=t(49897);let r=()=>({getCookie:(0,i.useCallback)(e=>{let s=document.cookie.match(RegExp(`(^| )${e}=([^;]+)`));return s?s[2]:void 0}
91,[]),setCookie:(0,i.useCallback)((e,s,t)=>{let i=(0,n.W)(new Date,t).toUTCString();document.cookie=`${e}=${s}; expires=${i}; path=/`},[])})},92732:(e,s,t)=>{"use strict";t.d(s,{I:()=>l});var i=t(6029);t(55729);var n=t(89456),r=t(43343),a=t(45296);function l({title:e,children:s,event:t}){let{getTranslation:c}=(0,r.c3)(),[o,d]=(0,a.p)(t);return(0,i.jsx)(n.lG.Root,{open:o,onOpenChange:d,trigger:(0,i.jsx)("button",{className:"mt-1 flex items-center text-anchor hover:text-anchor-dark","data-testid":"more-information-button",children:(0,i.jsx)("span",{className:"text-sm underline font-semibold",children:c("moreInfoDialogTriggerLabel")})}),title:e,closeButtonLabel:c("moreInfoDialogCloseButtonLabel"),children:(0,i.jsxs)("div",{className:"p-5 space-y-4 tablet:w-screen tablet:max-w-dialog",children:[s,(0,i.jsx)("div",{className:"grid grid-flow-row gap-2",children:(0,i.jsx)(n.lG.Close,{asChild:!0,children:(0,i.jsx)(n.$n,{className:"w-full",variant:"secondary","data-testid":"more-information-button-close-dialog",children:c("moreInfoDialogCloseButtonLabel")})})})]})})}}},e=>{e.O(0,[5386,7447,6264,92,2965,6593,636,8792],()=>e(e.s=40894)),_N_E=e.O()}]);

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.