PageSourceSearch

https://hualien.travel/_next/static/chunks/pages/attraction-cf77b251c6cd370c.js

js hualien.travel collected 2026-10-05 21:31:06 UTC 5,243 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6707],{2179:(e,l,t)=>{"use strict";t.d(l,{A:()=>n});var s=t(7876),a=t(4232),i=t(9099),r=t(5752);let n=a.memo(({data:e,query:l})=>{let t=(0,i.useRouter)(),a=l.category?.split(",").map(e=>+e)||[];return(0,s.jsxs)("ul",{className:"scroll-x-blk d-flex flex-xl-wrap align-items-center flex-fill mx-n2 mb-2 pl-2 py-4px mr-xl-4 mb-xl-0 h-xl-6 overflow-xl-hidden",role:"tablist",children:[(0,s.jsx)("li",{className:"mr-1 mb-4px",children:(0,s.jsx)("button",{type:"button",className:`btn h-5 px-20px fz-15px rounded-full font-bold ${a.length<1?"btn-secondary":""}`,"aria-selected":(a.length<1).toString(),onClick:()=>{let e=(0,r.LB)(l,{category:[]});t.push(`${t.asPath.split("?")[0]}${e?`?${e}`:""}`,"",{scroll:!1,shallow:!1})},role:"tab",children:"ALL"})}),e&&e.filter(e=>e.shortcut).map((e,i)=>{let n=a?.find(l=>l===e.id)!==void 0;return(0,s.jsx)("li",{className:"flex-shrink-0 mr-1 mb-4px",children:(0,s.jsx)("button",{type:"button",className:`btn h-5 px-20px fz-15px rounded-full font-bold ${n?"btn-secondary":""}`,"aria-selected":(!!n).toString(),onClick:()=>{let s;s=n?a.filter(l=>l!==e.id):[...a,e.id];let i=(0,r.LB)(l,{category:s});t.push(`${t.asPath.split("?")[0]}${i?`?${i}`:""}`,"",{scroll:!1,shallow:!1})},role:"tab",children:e.name})},i)})]})})},2548:(e,l,t)=>{"use strict";t.r(l),t.d(l,{__N_SSP:()=>j,default:()=>N});var s=t(7876),a=t(9099),i=t(4232),r=t(9493),n=t(3567),x=t(3402),c=t(2179),d=t(8631),o=t(4779);let m=i.memo(({data:e,currentIdx:l})=>(0,s.jsx)("ul",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 gap-4 md:gap-6 xl:gap-10 pb-2 pb-xl-5",children:e.filter((e,t)=>t<l).map(e=>(0,s.jsx)("li",{className:"d-flex",children:(0,s.jsx)(o.A,{data:e})},e.id))}
1));var p=t(899),h=t(2184),f=t(5752),u=t(8951),b=t(8854),g=t(9461),j=!0;let N=({title:e,locale:l})=>{let t=(0,u.Ym)(),o=(0,a.useRouter)(),{query:j}=o,{data:N,category:w,district:v,service:y}=(0,h.yz)({lang:t})||{},_=(0,f.nd)(N,j),A=(0,b.wA)();return(0,i.useEffect)(()=>{A((0,g.t)("transparent"))},[o]),(0,s.jsxs)("div",{className:"full-width min-h-[100vh] bg-light mt-n7 mt-xl-n12",children:[(0,s.jsx)(n.A,{title:e}),(0,s.jsx)(r.A,{title:e,breadcrumbsData:[{title:"目的地"}],titleAlign:"left",bg:"/images/banners/banner-attraction.jpg",hideSideFlower:!0}),(0,s.jsx)("div",{className:"full-width bg-light py-5 py-xl-10",children:(0,s.jsxs)("div",{className:"mx-auto max-w-[1200px] 2xl:max-w-[1600px]",children:[(0,s.jsxs)("div",{className:"d-xl-flex align-items-center mb-3 mb-xl-5 justify-content-between",children:[(0,s.jsx)(c.A,{data:w,query:j}),(0,s.jsx)("div",{className:"flex-shrink-0 ml-md-auto xl:w-[480px]",children:(0,s.jsx)(x.A,{data:N,query:j,categoryData:w,districtData:v,serviceData:y,options:{category:!0,district:!0}})})]}),(0,s.jsxs)("div",{children:[!_&&(0,s.jsx)("div",{className:"d-flex justify-content-center p-5",children:(0,s.jsx)(p.A,{size:18})}),_&&(0,s.jsx)(d.A,{data:_,component:m})]})]})})]})}},4779:(e,l,t)=>{"use strict";t.d(l,{A:()=>d});var s=t(7876),a=t(4232),i=t(8070),r=t(6065),n=t(8065),x=t(8951),c=t(5752);let d=a.memo(({data:e,showDistance:l=!1})=>{let t=(0,x.Ym)(),{name:a,cover:d,open_time:o,gg_place_rating:m,opentimeGoogle:p,url:h}=e,f=(0,c.Of)({open_time:o,opentimeGoogle:p});return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(i.A,{className:"position-relative d-flex align-items-center align-items-xl-stretch flex-row flex-xl-column w-100 min-w-0 rounded-3xl text-default trs-all ring-[5px] ring-[transparent] focus:outline-none hover:drop-shadow-[0_0_16px_rgba(0,0,0,0.16)] hover:bg-white focus-visible:ring-[#e81e18]",href:h,title:(0,r.Tl)(`${a}`,t),children:[(0,s.jsxs)("div",{className:"position-relative overflow-hidden rounded-3xl flex-shrink-0",children:[(0,s.jsx)("img",{className:"block w-18 w-xl-100 aspect-[4/3] object-cover",src:d.replace("150x150","480x360"),alt:""}),!!m&&(0,s.jsx)("div",{className:"position-absolute bottom-3 left-3 z-10",children:(0,s.jsx)(n.A,{score:m,className:"fz-13px fz-xl-16px text-star bg-white/80 px-4px rounded-[16px]"})})]}),(0,s.jsxs)("div",{className:"d-flex flex-column flex-fill min-w-0 px-1 px-xl-3 py-2",children:[(0,s.jsx)("div",{className:"fz-18px fz-xl-20px lh-initial font-bold line-clamp-2",children:(0,s.jsx)(r.Ay,{children:a})}),!!f&&(0,s.jsxs)("div",{className:"mt-1 fz-13px fz-xl-18px text-info text-truncate d-flex align-items-center",children:[(0,s.jsx)("i",{className:"icon icon-clock text-primary mr-4px fz-13px","aria-hidden":"true"}),(0,s.jsx)("span",{className:"line-clamp-2",children:(0,s.jsx)(r.Ay,{children:f})})]})]})]})})})},6977:(e,l,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/attraction",function(){return t(2548)}])},8065:(e,l,t)=>{"use strict";t.d(l,{A:()=>a});var s=t(7876);let a=t(4232).memo(({score:e,className:l})=>(0,s.jsxs)("div",{className:`${l} flex items-center w-full max-w-[80px] gap-1 px-1 fz-14px font-bold bg-white/80 rounded-full backdrop-blur-[30px]`,children:[(0,s.jsx)("img",{className:"w-2 h-2",src:"/images/global/google.png",alt:""}),(0,s.jsx)("div",{className:"text-dark",children:e}),(0,s.jsx)("i",{className:"icon icon-star text-star fz-12px","aria-hidden":"true"})]}))}},e=>{e.O(0,[1121,6701,2867,8474,7973,5700,636,6593,8792],()=>e(e.s=6977)),_N_E=e.O()}]);

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.