PageSourceSearch

https://jck.nl/_nuxt/B4t3uU9I.js

js jck.nl collected 2026-09-24 09:25:29 UTC 11,444 bytes, 59 lines download raw bytes

1import R from"./CLi5hC1r.js";import{_ as A}from"./GtS7GxSW.js";import{C as x,ai as P,S as B,aj as Q,I as q,j as s,H as U,q as I,ak as G,A as C,o as f,c as j,a as p,v as z,F as H,e as F,u as M,k as h,w as y,s as _,_ as J,U as K,d as W,t as X}from"./DSg5KMYM.js";import{d as Y}from"./B2L-C-6D.js";import{u as Z}from"./BgaCjQqc.js";import ee from"./r2egj_UD.js";import{_ as ne}from"./DdBMM_l0.js";import{u as ie}from"./BQhZB-oz.js";import"./Ctk2aA3Y.js";import"./zsDlswVp.js";import"./CiV4kZs3.js";import"./DwivULlr.js";import"./_9GzgP35.js";import"./zmce__kf.js";import"./C-Q6QmhC.js";var d={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"StoriesOverviewSingle"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"site"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},defaultValue:{kind:"StringValue",value:"nl",block:!1},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entry"},arguments:[{kind:"Argument",name:{kind:"Name",value:"type"},value:{kind:"StringValue",value:"collectionOverview",block:!1}},{kind:"Argument",name:{kind:"Name",value:"site"},value:{kind:"Variable",name:{kind:"Name",value:"site"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CoreEntryFields"},directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"SeomaticFields"},directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"collectionOverview_Entry"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"heroDescription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"heroTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"featuredThemesSlider"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"featuredThemesSliderBlock_Entry"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sectionTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"themeEntries"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ThemeCard"},directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"sectionTitle"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"highlightLinks"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"},arguments:[],directives:[]},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"highlightLinksItem_Entry"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"link"},name:{kind:"Name",value:"callToAction"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CraftLinkField"},directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:1046}};d.loc.source={body:`#import "~~/graphql/fragments/Sections/CoreEntryFields.graphql"
2#import "~~/graphql/fragments/seomatic.graphql"
3#import "~~/graphql/fragments/Cards/Theme.graphql"
4#import "~~/graphql/fragments/Fields/CraftLink.graphql"
5
6query StoriesOverviewSingle($site: [String] = "nl") {
7    entry (type: "collectionOverview", site: $site) {
8        ... CoreEntryFields
9        ... SeomaticFields
10        ... on collectionOverview_Entry {
11            heroDescription {
12                html
13            }
14            heroTitle
15            featuredThemesSlider {
16                ... on featuredThemesSliderBlock_Entry {
17                    sectionTitle
18                    themeEntries {
19                        ... ThemeCard
20                    }
21                }
22            }
23            sectionTitle
24            highlightLinks {
25            __typename
26                ... on highlightLinksItem_Entry {
27                    link: callToAction {
28                        ...CraftLinkField
29                    }
30                }
31            }
32        }
33    }
34}
35`,name:"GraphQL request",locationOffset:{line:1,column:1}};var E={};function g(e){return e.filter(function(n){if(n.kind!=="FragmentDefinition")return!0;var i=n.name.value;return E[i]?!1:(E[i]=!0,!0)})}d.definitions=d.definitions.concat(g(x.definitions));d.definitions=d.definitions.concat(g(Y.definitions));d.definitions=d.definitions.concat(g(P.definitions));d.definitions=d.definitions.concat(g(B.definitions));function v(e,n){if(e.kind==="FragmentSpread")n.add(e.name.value);else if(e.kind==="VariableDefinition"){var i=e.type;i.kind==="NamedType"&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(t){v(t,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(t){v(t,n)}),e.definitions&&e.definitions.forEach(function(t){v(t,n)})}var N={};(function(){d.definitions.forEach(function(n){if(n.name){var i=new Set;v(n,i),N[n.name.value]=i}})})();
35function V(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}function te(e,n){var i={kind:e.kind,definitions:[V(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=N[n]||new Set,a=new Set,l=new Set;for(t.forEach(function(r){l.add(r)});l.size>0;){var c=l;l=new Set,c.forEach(function(r){if(!a.has(r)){a.add(r);var o=N[r]||new Set;o.forEach(function(m){l.add(m)})}})}return a.forEach(function(r){var o=V(e,r);o&&i.definitions.push(o)}),i}te(d,"StoriesOverviewSingle");var u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"StoriesOverviewEntries"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"site"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},defaultValue:{kind:"StringValue",value:"nl",block:!1},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionType"}},type:{kind:"ListType",type:{kind:"NamedType",name:{kind:"Name",value:"CategoryRelationCriteriaInput"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"offset"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"0"},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"limit"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},defaultValue:{kind:"IntValue",value:"12"},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"entryCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"section"},value:{kind:"StringValue",value:"collection",block:!1}},{kind:"Argument",name:{kind:"Name",value:"site"},value:{kind:"Variable",name:{kind:"Name",value:"site"}}},{kind:"Argument",name:{kind:"Name",value:"relatedToCategories"},value:{kind:"Variable",name:{kind:"Name",value:"collectionType"}}}],directives:[]},{kind:"Field",name:{kind:"Name",value:"entries"},arguments:[{kind:"Argument",name:{kind:"Name",value:"limit"},value:{kind:"Variable",name:{kind:"Name",value:"limit"}}},{kind:"Argument",name:{kind:"Name",value:"offset"},value:{kind:"Variable",name:{kind:"Name",value:"offset"}}},{kind:"Argument",name:{kind:"Name",value:"section"},value:{kind:"StringValue",value:"collection",block:!1}},{kind:"Argument",name:{kind:"Name",value:"site"},value:{kind:"Variable",name:{kind:"Name",value:"site"}}},{kind:"Argument",name:{kind:"Name",value:"relatedToCategories"},value:{kind:"Variable",name:{kind:"Name",value:"collectionType"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"CollectionCard"},directives:[]}]}}]}}],loc:{start:0,end:539}};u.loc.source={body:`#import "~~/graphql/fragments/Cards/Collection.graphql"
36
37query StoriesOverviewEntries(
38    $site: [String] = "nl",
39    $collectionType: [CategoryRelationCriteriaInput],
40    $offset: Int = 0,
41    $limit: Int = 12
42) {
43    entryCount (
44        section: "collection",
45        site: $site,
46        relatedToCategories: $collectionType
47    )
48
49    entries (
50        limit: $limit,
51        offset: $offset,
52        section: "collection",
53        site: $site,
54        relatedToCategories: $collectionType
55    ) {
56        ... CollectionCard
57    }
58}
59`,name:"GraphQL request",locationOffset:{line:1,column:1}};var $={};function ae(e){return e.filter(function(n){if(n.kind!=="FragmentDefinition")return!0;var i=n.name.value;return $[i]?!1:($[i]=!0,!0)})}u.definitions=u.definitions.concat(ae(Q.definitions));function k(e,n){if(e.kind==="FragmentSpread")n.add(e.name.value);else if(e.kind==="VariableDefinition"){var i=e.type;i.kind==="NamedType"&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach(function(t){k(t,n)}),e.variableDefinitions&&e.variableDefinitions.forEach(function(t){k(t,n)}),e.definitions&&e.definitions.forEach(function(t){k(t,n)})}var T={};(function(){u.definitions.forEach(function(n){if(n.name){var i=new Set;k(n,i),T[n.name.value]=i}})})();function O(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}function re(e,n){var i={kind:e.kind,definitions:[O(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=T[n]||new Set,a=new Set,l=new Set;for(t.forEach(function(r){l.add(r)});l.size>0;){var c=l;
59l=new Set,c.forEach(function(r){if(!a.has(r)){a.add(r);var o=T[r]||new Set;o.forEach(function(m){l.add(m)})}})}return a.forEach(function(r){var o=O(e,r);o&&i.definitions.push(o)}),i}re(u,"StoriesOverviewEntries");async function le(){return await q(d)}async function D(e){const{data:n}=await q(u,{offset:e,limit:w});return s(n)}const w=6,oe={__name:"CollectionOverview",async setup(e){let n,i;const t=U(),a=C(null),l=F(()=>t.query.page?parseInt(t.query.page,10):1),c=F(()=>(l.value-1)*w);({data:a.value}=([n,i]=I(()=>D(c.value)),n=await n,i(),n));const r=Math.ceil(a.value.entryCount/w),o=()=>{document.getElementById("collection-overview").scrollIntoView({behavior:"smooth"})};return G(()=>t.params,async()=>{({data:a.value}=await D(c.value))}),Z({totalPages:C(r),currentPage:l}),(m,b)=>{const S=A,L=z;return f(),j(H,null,[p(S,{id:"collection-overview",entries:s(a).entries},null,8,["entries"]),p(L,{"total-pages":s(r),"current-page":s(l),"onUpdate:currentPage":o},null,8,["total-pages","current-page"])],64)}}},Te={__name:"index",async setup(e){let n,i;const{data:t}=([n,i]=I(()=>le()),n=await n,i(),n),a=ie(t);return M(),(l,c)=>{const r=R,o=oe,m=J,b=ee,S=ne;return s(a)?(f(),h(S,{key:0,entry:s(a)},{default:y(()=>[s(a).featuredThemesSlider.length>0?(f(),h(r,{key:0,title:s(a).featuredThemesSlider[0].sectionTitle,"featured-entries":s(a).featuredThemesSlider[0].themeEntries},null,8,["title","featured-entries"])):_("",!0),p(m,{class:"section--padding-lg"},K({default:y(()=>[p(o)]),_:2},[s(a).sectionTitle?{name:"title",fn:y(()=>[W(X(s(a).sectionTitle),1)]),key:"0"}:void 0]),1024),s(a).highlightLinks.length>0?(f(),h(b,{key:1,"highlight-links":s(a).highlightLinks},null,8,["highlight-links"])):_("",!0)]),_:1},8,["entry"])):_("",!0)}}};export{Te as default};

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.