PageSourceSearch

https://www.ftu.org.hk/_nuxt/D9yCDjPL.js

js ftu.org.hk collected 2026-10-02 17:36:48 UTC 3,367 bytes, 1 lines download raw bytes

1import{_ as A,h as H,ae as S,i as m,k as M,l as g,e as y,o,m as v,p as d,b as s,y as i,w as C,D as w}from"./rNMPrltl.js";import{_ as x}from"./BlRCviZe.js";import{_ as N}from"./h5DHtQy8.js";import{_ as V}from"./BR0ZF7Oi.js";import I from"./M8Hxm-x2.js";import R from"./B0pEJK4T.js";import U from"./DtSKowOG.js";import Y from"./D9cYaiqR.js";import E from"./CWMU7Q_q.js";import Q from"./BxEmQ-GG.js";import W from"./B6CJuMVO.js";import{h as f,a as j}from"./CtcR-01g.js";import{u as z}from"./boj7xwiX.js";import"./gpKywMoy.js";import"./DFuLfMiF.js";import"./WGw-pFz3.js";import"./C43kgiy-.js";import"./CJBYDDMP.js";import"./B821GkuR.js";import"./BvJO-9OF.js";import"./fqQYUSZk.js";import"./CAySgnTA.js";import"./CXXDZoq4.js";const F={key:0,class:"history-gallery"},G={class:"header-title"},J={key:1,class:"history-gallery"},K={class:"header-title"},O={__name:"indexH5",setup(P){const L=H(),p=S(),{isTradChin:B}=z(),a=m(p.query.id?p.query.id-1:0),r=m([{columnName:"全部年份",value:""}]),u=m(""),n=m(0),q=m([{label:"主頁"},{label:"歷史長廊"},{label:"代表大會文件"},{label:"歷代負責人"}]),D=m([{label:"主页"},{label:"历史长廊"},{label:"代表大会文件"},{label:"历代负责人"}]),h=l=>{n.value=l+1,u.value=f[l].year,window.scrollTo(0,0)},_=l=>{console.log(l),u.value=l.item.value,n.value=l.index},b=l=>{a.value=l.index},k=()=>{L.back()},T=l=>{a.value=1,u.value=l+"年";let e=r.value.findIndex(t=>t.value===u.value);e===-1&&(e=r.value.findIndex(t=>{var c;return(c=t.value)==null?void 0:c.startsWith(l)})),e>-1?n.value=e:n.value=0};return M(()=>{const l=f.map(t=>({columnName:t.year,value:t.year}));r.value=[...r.value,...l];const e=p.query.year;if(typeof e=="string"&&e){u.value=e;const t=r.value.findIndex(c=>c.value===e);t>-1&&(n.value=t)}}),(l,e)=>y(B)?(o(),g("div",F,[v("div",G,[v("img",{onClick:k,src:x,class:"nav-icon"}),e[2]||(e[2]=v("div",{class:"title"},"歷史長廊",-1)),C(d(V,{mini:!0,"search-width":"auto","default-type-value":n.value,"type-list":r.value,placeholder:"輸入關鍵字...",onTypeChange:_,"show-clear":""},null,8,["default-type-value","type-list"]),[[w,a.value===1]])]),d(N,{"tab-list":q.value,modelValue:a.value,"onUpdate:modelValue":e[0]||(e[0]=t=>a.value=t),onTabChange:b},null,8,["tab-list","modelValue"]),a.value===0?(o(),s(I,{key:0,onNavigateToTimeline:T})):i("",!0),a.value===1?(o(),s(R,{key:1,"select-year":u.value,onShowAll:h,"history-data":y(f)},null,8,["select-year","history-data"])):i("",!0),a.value===2?(o(),s(Y,{key:2})):i("",!0),a.value===3?(o(),s(Q,{key:3})):i("",!0)])):(o(),g("div",J,[v("div",K,[v("img",{onClick:k,src:x,class:"nav-icon"}),e[3]||(e[3]=v("div",{class:"title"},"历史长廊",-1)),C(d(V,{mini:!0,"search-width":"auto","default-type-value":n.value,"type-list":r.value,placeholder:"输入关键字...",onTypeChange:_,"show-clear":""},null,8,["default-type-value","type-list"]),[[w,a.value===1]])]),d(N,{"tab-list":D.value,modelValue:a.value,"onUpdate:modelValue":e[1]||(e[1]=t=>a.value=t),onTabChange:b},null,8,["tab-list","modelValue"]),a.value===0?(o(),s(I,{key:0,onNavigateToTimeline:T})):i("",!0),a.value===1?(o(),s(U,{key:1,"select-year":u.value,onShowAll:h,"history-data":y(j)},null,8,["select-year","history-data"])):i("",!0),a.value===2?(o(),s(E,{key:2})):i("",!0),a.value===3?(o(),s(W,{key:3})):i("",!0)]))}},ke=A(O,[["__scopeId","data-v-9fcbb5f7"]]);export{ke 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.