PageSourceSearch

https://jpsearch.go.jp/_nuxt/rvR07MHo.js

js jpsearch.go.jp collected 2026-10-02 04:46:58 UTC 1,208 bytes, 2 lines download raw bytes

1import{_ as d}from"./BetH2KAS.js";import{d as m,f as i,o as p,c as _,h as v,m as r}from"./DIOtIui4.js";const b=m({__name:"SearchSorter",props:{isItem:{type:Boolean,default:!1},field:{},ss:{}},setup(l){const e=l,a=r(()=>"toggle sort "+s.value),s=r(()=>{if(e.field)if(e.isItem){if(e.field==="common.title")return"sindex.sortTitle";if(e.field==="common.temporal")return"sindex.sortTemporal";if(e.field==="common.contributor")return"sindex.sortContributor";if(e.field.endsWith("-s"))return e.field+".keyword"}else return e.field;return null}),n=r(()=>{if(e.ss&&e.ss.state.sort){let t=e.ss.state.sort.find(o=>o.split(":")[0]===s.value);if(t!=null)return t.split(":")[1]}return"none"}),c=r(()=>n.value==="asc"?"mdi/sort-ascending":n.value==="desc"?"mdi/sort-descending":"mdi/sort-variant"),u=()=>{let t=[];n.value==="asc"?t.unshift(s.value+":desc"):(n.value==="desc"||n.value==="none")&&t.unshift(s.value+":asc"),e.ss.setSort(t)};return(t,o)=>{const f=d;return i(s)?(p(),_(f,{key:0,class:"jps-search-sorter",tag:"button",arialabel:i(a),onClick:o[0]||(o[0]=x=>u()),icon:i(c)},null,8,["arialabel","icon"])):v("",!0)}}}),h=Object.assign(b,{__name:"SearchSorter"});export{h as _};
2//# sourceMappingURL=rvR07MHo.js.map

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.