PageSourceSearch

https://www.riseart.com/fe/assets/collectionArt-DmpBPAf6.js

js riseart.com collected 2026-10-02 04:00:42 UTC 5,755 bytes, 16 lines download raw bytes

1import{j as d,d as T,f as b,k as j,h as E}from"./vendor-antd-BBP9elV-.js";import{cC as k,e3 as M,au as w,c as P,aC as C,dU as F,f as O,g as V}from"./index-B5sQTxjn.js";import{M as R}from"./vendor-intl-BdRQ4zCJ.js";import{M as h,a6 as B}from"./ra-packages-common-CvkwZ4BT.js";import"./vendor-redux-KLK4bked.js";function $(e){if(k(e))return e;if(e&&e.children&&k(e.children)&&e.children)return e.children;if(e&&M(e)&&e.small&&e.medium&&e.large){const n={small:600,medium:800,large:1200};return Object.keys(e).map(i=>{const{file:t,poster:r}=e?e[i]:{};return{media:t,...r?{mediaProps:{poster:w({...r,width:n[i]||n.medium,height:"AUTO"})}}:null,type:i}})}return[]}function H(e,n=[],i={small:"small",medium:"medium",large:"large"},t=$){const r=t(e);return Object.keys(i).reduce((l,s)=>{const a=i[s],o=r.filter(c=>c.type===a)[0];return l[s]=o||n.filter(c=>c.type===a)[0],l},{})}const y=(e,n,{artDirectionType:i,artDirectionKey:t,altTitle:r,lazyload:l,imgProps:s,mediaProps:a})=>n==="image"?d.jsx(C,{type:i,artDirectionKey:t,image:e,alt:r,lazyload:l,...s||a?{imgProps:{...s||null,...a||null}}:null}):n==="video"?d.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,...a||null,children:[k(e)?e.map(({id:o,key:c,extension:m,mimeType:f,url:g})=>d.jsx("source",{src:g||F(c,m),type:f},o)):d.jsx("source",{src:e.url||F(e.key,e.extension),type:e.mimeType},e.id),d.jsx("span",{children:d.jsx(R,{id:"components.media.noVIdeoSupport",children:o=>o})})]}):null,q=(e,n)=>{const i="image";return e?k(e)?e.every(({mimeType:r})=>r&&r.split("/").shift()==="video")?y(e,"video",n):e.map(r=>y(r,r.mimeType.split("/")[0],n)):y(e,e.mimeType&&e.mimeType.split("/")[0]||i,n):null};function Y(e){const n=P.c(14);let i,t,r,l,s,a;n[0]!==e?({className:t,size:l,gradient:s,children:i,media:a,...r}=e,n[0]=e,n[1]=i,n[2]=t,n[3]=r,n[4]=l,n[5]=s,n[6]=a):(i=n[1],t=n[2],r=n[3],l=n[4],s=n[5],a=n[6]);const o=l===void 0?null:l,c=s===void 0?!1:s,m=a===void 0?null:a;let f;return n[7]!==i||n[8]!==t||n[9]!==c||n[10]!==m||n[11]!==r||n[12]!==o?(f=d.jsx(h,{maxWidth:T,children:g=>d.jsx(h,{minWidth:j,maxWidth:b,children:I=>d.jsx(h,{minWidth:E,children:D=>{const p=m&&m[g&&"small"||I&&"medium"||D&&"large"];return d.jsx(B,{className:t,size:o,gradient:c,media:q(p&&(p.media||p),{...r,...p&&p.mediaProps?{mediaProps:p.mediaProps}:null}),children:i})}})})}),n[7]=i,n[8]=t,n[9]=c,n[10]=m,n[11]=r,n[12]=o,n[13]=f):f=n[13],f}var u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"filterCollectionArt"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"collectionId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"inputArtFilter"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InputArtFilter"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"filterCollectionArt"},arguments:[{kind:"Argument",name:{kind:"Name",value:"collectionId"},value:{kind:"Variable",name:{kind:"Name",value:"collectionId"}}},{kind:"Argument",name:{kind:"Name",value:"inputArtFilter"},value:{kind:"Variable",name:{kind:"Name",value:"inputArtFilter"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"collectionId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"collectionDescription"},arguments:[],directives:[]},{kind:"FragmentSpread",name:{kind:"Name",value:"ArtFlatFragment"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"pagination"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"PaginationInfoFragment"},directives:[]}]}}]}}]}}],loc:{start:0,end:422}};u.loc.source={body:`#import "../../fragments/art/artFlat.graphql"
2#import "../../fragments/common/paginationInfo.graphql"
3
4query filterCollectionArt($collectionId: ID!, $inputArtFilter: InputArtFilter!) {
5  filterCollectionArt(collectionId: $collectionId, inputArtFilter: $inputArtFilter) {
6    items {
7      collectionId
8      collectionDescription
9      ...ArtFlatFragment
10    }
11    pagination {
12      ...PaginationInfoFragment
13    }
14  }
15}
16`,name:"GraphQL request",locationOffset:{line:1,column:1}};var N={};function x(e){return e.filter(function(n){if(n.kind!=="FragmentDefinition")return!0;var i=n.name.value;return N[i]?!1:(N[i]=!0,!0)})}u.definitions=u.definitions.concat(x(O.definitions));u.definitions=u.definitions.concat(x(V.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 S={};(function(){u.definitions.forEach(function(n){if(n.name){var i=new Set;v(n,i),S[n.name.value]=i}})})();function A(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 L(e,n){var i={kind:e.kind,definitions:[A(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=S[n]||new Set,r=new Set,l=new Set;for(t.forEach(function(a){l.add(a)});l.size>0;){var s=l;
16l=new Set,s.forEach(function(a){if(!r.has(a)){r.add(a);var o=S[a]||new Set;o.forEach(function(c){l.add(c)})}})}return r.forEach(function(a){var o=A(e,a);o&&i.definitions.push(o)}),i}L(u,"filterCollectionArt");export{Y as B,u as d,H as g};

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.