PageSourceSearch

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

js ftu.org.hk collected 2026-10-02 17:38:03 UTC 3,321 bytes, 1 lines download raw bytes

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