PageSourceSearch

https://web-static.linetv.tw/release-fargate/public/dist/4547-148321f3-prod.js

js linetv.tw collected 2026-09-24 09:31:16 UTC 16,268 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4547],{1666:(e,t,i)=>{i.d(t,{A:()=>r});var a=i(96540);const r=e=>{const t=(0,a.useCallback)(()=>"undefined"!=typeof window&&!(window.innerWidth>e),[e]),[i,r]=(0,a.useState)(t());return(0,a.useEffect)(()=>{const e=()=>r(t());return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[t]),i}},8242:(e,t,i)=>{i.d(t,{A:()=>s});var a=i(96540),r=i(92568),n=i(90480);const l=r.Ay.div.withConfig({displayName:"DramaPoster__StyledDramaPoster",componentId:"sc-14b0gwk-0"})(["width:100%;.drama-poster__item{position:relative;background:#4c4c4c;border-radius:4px;overflow:hidden;display:block;padding:0;&::before{content:'';display:block;width:100%;padding-bottom:calc(100% / ",");}}.drama-poster__album-cover{object-fit:cover;width:100%;height:100%;margin:0;inset:0;position:absolute;}.drama-poster__album-linear-gradient{width:100%;height:100%;position:absolute;left:0;right:0;bottom:0;top:0;z-index:10;background-image:linear-gradient(0deg,rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.12) 12.5%,rgba(0,0,0,0) 25%),linear-gradient(180deg,rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.12) 12.5%,rgba(0,0,0,0) 25%);}"],({isVertical:e})=>e?"1425 * 2000":"16 * 9"),s=({imageUrl:e,labels:t,name:i,isVertical:r})=>a.createElement(l,{isVertical:r},a.createElement("figure",{className:"drama-poster__item"},a.createElement("div",{className:"drama-poster__album-linear-gradient"}),a.createElement("img",{className:"drama-poster__album-cover",src:e,alt:i,loading:"lazy"}),t&&t.length>0&&a.createElement(n.A,{labels:t,isVertical:r})))},19648:(e,t,i)=>{i.d(t,{A:()=>l});var a=i(96540);const r=i(92568).Ay.div.withConfig({displayName:"FavoriteButton__StyledFavoriteButton",componentId:"sc-16em0qa-0"})(["cursor:pointer;display:inline-flex;svg{display:block;overflow:visible;}.heart-group{transform-origin:12px 12px;}&.on .heart-group{animation:heart-pop 0.55s cubic-bezier(0.34,1.56,0.64,1);}@keyframes heart-pop{0%{transform:scale(1) rotate(0deg);}30%{transform:scale(0.82) rotate(-4deg);}55%{transform:scale(1.22) rotate(3deg);}80%{transform:scale(0.96) rotate(-1deg);}100%{transform:scale(1) rotate(0deg);}}.fill-heart{transform-origin:12px 12px;transform:scale(0);opacity:0;transition:transform 0.5s cubic-bezier(0.34,1.56,0.64,1),opacity 0.18s ease;}&.on .fill-heart{transform:scale(1);opacity:1;transition-delay:0.05s,0.05s;}.pulse{fill:none;stroke:#14c856;transform-origin:12px 12px;opacity:0;}&.on .pulse{animation:pulse 0.7s ease-out;}@keyframes pulse{0%{r:7;opacity:0.7;stroke-width:2.5;}100%{r:20;opacity:0;stroke-width:0;}}.particle{opacity:0;transform-origin:12px 12px;will-change:transform,opacity;}&.on .particle{animation:particle-fly var(--d,0.75s) cubic-bezier(0.2,0.7,0.3,1) forwards;animation-delay:var(--delay,0s);}@keyframes particle-fly{0%{opacity:0;transform:translate(0,0) scale(0.2);}12%{opacity:1;}70%{opacity:1;}100%{opacity:0;transform:translate(var(--tx),var(--ty)) scale(1);}}.p1{--tx:0px;--ty:-11px;--delay:0s;--d:0.7s;}.p2{--tx:10px;--ty:-8px;--delay:0.03s;--d:0.75s;}.p3{--tx:-10px;--ty:-8px;--delay:0.03s;--d:0.75s;}.p4{--tx:12px;--ty:3px;--delay:0.06s;--d:0.8s;}.p5{--tx:-12px;--ty:3px;--delay:0.06s;--d:0.8s;}.p6{--tx:6px;--ty:11px;--delay:0.09s;--d:0.75s;}.p7{--tx:-6px;--ty:11px;--delay:0.09s;--d:0.75s;}.p8{--tx:0px;--ty:13px;--delay:0.12s;--d:0.7s;}"]),n=[["p1",1.2,"#14C856"],["p2",1,"#34D368"],["p3",1,"#34D368"],["p4",.9,"#14C856"],["p5",.9,"#14C856"],["p6",.8,"#0FA846"],["p7",.8,"#0FA846"],["p8",1.1,"#14C856"]],l=({isFavorite:e,isHover:t,onToggle:i,size:l=24})=>a.createElement(r,{type:"button",onClick:i,"aria-pressed":e,className:e?"on":""},a.createElement("svg",{width:l,height:l,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{overflow:"visible"}},a.createElement("g",{className:"heart-group"},a.createElement("path",{fill:t?"#14C856":"#E5E5E5",fillRule:"evenodd",clipRule:"evenodd",d:"M12 9.52607L10.4549 7.64611C9.50151 6.48612 8.65817 6 7.93269 6C7.07632 6 6.4268 6.2771 5.85819 6.85888C5.29573 7.43436 5 8.13172 5 9.09115C5 9.7052 5.10753 10.2789 5.31936 10.8259C5.5093 11.3164 5.93137 12.0143 6.71047 12.933C7.53644 13.907 8.25037 14.684 8.85561 15.2763C9.24505 15.6575 10.8176 17.141 12 18.2542C13.1824 17.141 14.755 15.6575 15.1444 15.2763C15.7496 14.684 16.4636 13.907 17.2895 12.933C18.0686 12.0143 18.4907 11.3164 18.6806 10.8259C18.8925 10.2789 19 9.7052 19 9.09115C19 8.13172 18.7043 7.43436 18.1418 6.85888C17.5732 6.2771 16.9237 6 16.0673 6C15.3418 6 14.4985 6.48612 13.5451 7.64611L12 9.52607ZM10.5687 4.96967C9.79283 4.38395 8.91416 4 7.93269 4C6.54807 4 5.37981 4.48697 4.42788 5.46094C3.47596 6.4349 3 7.64496 3 9.09115C3 9.94705 3.15144 10.7661 3.45433 11.5482C3.75721 12.3303 4.33413 13.2231 5.1851 14.2266C6.03606 15.23 6.79327 16.0564 7.45673 16.7057C8.02772 17.2645 10.981 20.0422 11.7931 20.8056C11.9106 20.916 12.0894 20.916 12.2069 20.8056C13.019 20.0422 15.9723 17.2645 16.5433 16.7057C17.2067 16.0564 17.9639 15.23 18.8149 14.2266C19.6659 13.2231 20.2428 12.3303 20.5457 11.5482C20.8486 10.7661 21 9.94705 21 9.09115C21 7.64496 20.524 6.4349 19.5721 5.46094C18.6202 4.48697 17.4519 4 16.0673 4C15.0858 4 14.2072 4.38395 13.4313 4.96967C12.9073 5.36521 12.4302 5.85275 12 6.37621C11.5698 5.85275 11.0927 5.36521 10.5687 4.96967Z"}),a.createElement("path",{className:"fill-heart",fill:"#14C856",d:"M11.7931 20.8056C10.981 20.0422 8.02773 17.2645 7.45673 16.7057C6.79327 16.0564 6.03606 15.23 5.
11851 14.2266C4.33413 13.2231 3.75721 12.3303 3.45433 11.5482C3.15144 10.7661 3 9.94705 3 9.09115C3 7.64496 3.47596 6.4349 4.42788 5.46094C5.37981 4.48697 6.54807 4 7.93269 4C8.85758 4 9.69118 4.34096 10.4335 4.87042C10.4789 4.90281 10.524 4.93591 10.5687 4.96967C11.0927 5.36521 11.5698 5.85275 12 6.37621C12.4002 5.88923 12.841 5.43333 13.3224 5.05368C13.3585 5.02524 13.3948 4.99723 13.4313 4.96967C14.2072 4.38395 15.0858 4 16.0673 4C17.4519 4 18.6202 4.48697 19.5721 5.46094C20.524 6.4349 21 7.64496 21 9.09115C21 9.94705 20.8486 10.7661 20.5457 11.5482C20.2428 12.3303 19.6659 13.2231 18.8149 14.2266C17.9639 15.23 17.2067 16.0564 16.5433 16.7057C15.9723 17.2645 13.019 20.0422 12.2069 20.8056C12.0894 20.916 11.9106 20.916 11.7931 20.8056Z"})),a.createElement("circle",{className:"pulse",cx:"12",cy:"12",r:"8"}),n.map(([e,t,i])=>a.createElement("circle",{key:e,className:`particle ${e}`,cx:"12",cy:"12",r:t,fill:i}))))},50004:(e,t,i)=>{i.d(t,{A:()=>o});var a=i(96540),r=i(92568),n=i(56691);const{screen480:l}=n.screensValue,s=r.Ay.div.withConfig({displayName:"FilterItem__StyledFilterItem",componentId:"sc-af2rw9-0"})(["padding:4px 12px;border-radius:6px;background-color:#262626;color:rgba(255,255,255,",");font-size:16px;line-height:24px;border:1px solid ",";white-space:nowrap;@media (max-width:","px){font-size:14px;}&:hover{cursor:pointer;filter:brightness(1.2);}"],({isSelected:e})=>e?.9:.6,({isSelected:e})=>e?"#14C856":"transparent",l),o=({name:e,isSelected:t,onClick:i})=>{const r=(0,a.useRef)(null);return(0,a.useEffect)(()=>{t&&r.current.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"})},[t]),a.createElement(s,{ref:r,isSelected:t,onClick:i},a.createElement("div",{className:"filter-item__name"},e))}},63449:(e,t,i)=>{i.d(t,{A:()=>g});var a=i(96540),r=i(92568),n=i(61225),l=i(54625),s=i(56691),o=i(8242),c=i(8029),d=i(84985),m=i(71942),p=i(94395),_=i(11587),u=i(56189),x=i(19648);const{screen480:h}=s.screensValue,f=r.Ay.div.withConfig({displayName:"ScheduleItem__StyledScheduleItem",componentId:"sc-1xjkflv-0"})(["width:100%;display:flex;flex-direction:column;img{transition:transform 0.3s ease-in-out;}.schedule-item__time{display:flex;align-items:center;margin-bottom:8px;.schedule-item__time__label{padding:4px 8px;border-radius:20px;background-color:#262626;font-weight:400;font-size:14px;line-height:1.4;color:#e5e5e5;}.schedule-item__time__divider{height:1px;flex-grow:1;background-color:#4c4c4c;}}.schedule-item__info{margin-top:4px;padding:4px;display:flex;justify-content:space-between;gap:4px;.schedule-item__text-container{min-width:0;flex:1;display:flex;flex-direction:column;.schedule-item__text{color:#b2b2b2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;line-height:1.4;}.schedule-item__title{color:#e5e5e5;font-size:16px;margin-bottom:4px;@media (max-width:","px){font-size:14px;}}.schedule-item__availability{font-size:14px;height:20px;}.schedule-item__suspension{font-size:12px;height:18px;}}.schedule-item__favorite{width:24px;height:24px;flex-shrink:0;&:hover{cursor:pointer;filter:brightness(1.1);}}}&:hover{img{cursor:pointer;transform:scale(1.1);}.schedule-item__title{color:#14c856 !important;}}"],h),g=({item:e,index:t,isVertical:i,trackingData:r={},sectionProperties:s={},selectedFilter:h})=>{const g=(0,n.wA)(),{verticalPosterUrl:b,posterUrl:y,labels:C,name:w,dramaId:k,weekdayText:v,timeOfWeekday:E,suspensionInfo:N,releasedEpsCount:I,totalEps:A}=e,z=(0,n.d4)(p.UR),S=(0,n.d4)(p.ZZ),V=(0,a.useMemo)(()=>z.includes(k),[z,k]),O=(0,a.useCallback)(()=>{if(!S)return void g((0,m.eK)());const e={...s,item_index:t,content_id:k,content_name:w};V?(g((0,d.m)(k)),u.ampli.contentUnfavorited(e)):(g((0,d.D)(k)),u.ampli.contentFavorited(e))},[V,k,g,S]),D=()=>{u.ampli.contentItemClicked({...s,item_index:t,content_id:e.dramaId,content_name:e.name,is_content_in_schedule:!0,filter:"全部"!==h?[h]:[],filter_count:"全部"!==h?1:0})};return a.createElement(f,{"data-index":t},a.createElement("div",{className:"schedule-item__time"},a.createElement("div",{className:"schedule-item__time__label"},`${v} ${E||""}`),a.createElement("div",{className:"schedule-item__time__divider"})),a.createElement(l.N_,{onClick:D,to:(0,_.Ik)({dramaId:k,trackingData:r,index:t,source:c.ZO.INDEX_ALBUM_ITEM_POSTER})},a.createElement(o.A,{imageUrl:i?b:y,labels:C,name:w,isVertical:i})),a.createElement("div",{className:"schedule-item__info"},a.createElement("div",{className:"schedule-item__text-container"},a.createElement(l.N_,{onClick:D,to:(0,_.Ik)({dramaId:k,trackingData:r,index:t,source:c.ZO.INDEX_ALBUM_ITEM_POSTER})},a.createElement("div",{className:"schedule-item__title schedule-item__text"},w)),a.createElement("div",{className:"schedule-item__availability schedule-item__text"},(0,_.mL)(A,I)),a.createElement("div",{className:"schedule-item__suspension schedule-item__text"},N)),a.createElement(x.A,{isFavorite:V,onToggle:O})))}},88831:(e,t,i)=>{i.d(t,{Ac:()=>p,o1:()=>m,xQ:()=>n});const a=/^([01]\d|2[0-3]):([0-5]\d)$/,r={早間:1,午間:2,晚間:3},n={1:"週一",2:"週二",3:"週三",4:"週四",5:"週五",6:"週六",7:"週日"},l=[1,2,3,4,5,6,7],s=e=>{if("string"==typeof e){const t=e.match(a);if(t)return{priority:0,minutes:60*Number(t[1])+Number(t[2])};if(Object.prototype.hasOwnProperty.call(r,e))return{priority:r[e],minutes:Number.POSITIVE_INFINITY}}return{priority:4,minutes:Number.POSITIVE_INFINITY}},o=(e,t)=>(null==e?void 0:e.startTime)<=t&&t<=(null==e?void 0:e.endTime),c=(e,t)=>{const i=s(e.timeOfWeekday),a=s(t.timeOfWeekday);return i.priority!==a.priority?i.priority-a.priority:i.minutes!==a.minutes?i.minutes-a.minutes:0},d=(e,t)=>{const i=Number(e.dramaId),a=Number(t.dramaId);return Number.isFinite(i)&&Number.isFinite(a)&&i!==a?i-a:String(e.dramaId).localeCompare(String(t.dramaId),"zh-Hant-u-kn-true")},m=(e=[],t=new Date)=>{const i=t.getTime(),a=(r=(e=>{const t=e.getDay();return 0===t?7:t})(t),Array.from({length:7},(e,t)=>(r-1-t+70)%7+1));var r;
1const l=new Set,s=e.filter(e=>o(e,i)).map((e,t)=>({...e,__originalIndex:t})),m=[];return a.forEach(e=>{s.filter(t=>!l.has(t.dramaId)&&Array.isArray(t.weekday)&&t.weekday.includes(e)).sort((e,t)=>{const i=c(e,t);if(0!==i)return i;const a=d(e,t);return 0!==a?a:e.__originalIndex-t.__originalIndex}).forEach(t=>{l.add(t.dramaId),m.push({...t,weekdayText:n[e]})})}),m.map(({__originalIndex:e,...t})=>t)},p=(e=[],t=new Date)=>{const i=t.getTime();return e.filter(e=>o(e,i)).flatMap(e=>l.filter(t=>Array.isArray(e.weekday)&&e.weekday.includes(t)).map(t=>({...e,weekdayText:n[t],__weekdayOrder:t}))).sort((e,t)=>{if(e.__weekdayOrder!==t.__weekdayOrder)return e.__weekdayOrder-t.__weekdayOrder;const i=c(e,t);return 0!==i?i:d(e,t)}).map(({__weekdayOrder:e,...t})=>t)}},90480:(e,t,i)=>{i.d(t,{A:()=>d});var a=i(96540),r=i(61225),n=i(56347),l=i(92568),s=i(94395),o=i(56691);const c=l.Ay.div.withConfig({displayName:"LabelMask__StyledLabelMask",componentId:"sc-nfyopg-0"})(["font-family:'LineSeedFont','Noto Sans TC';position:absolute;top:0;left:0;height:100%;width:100%;z-index:12;.label-mask__position{position:absolute;display:flex;}.label-mask__item{font-weight:700;line-height:1.5;padding:0 4px;border-radius:2px;}.label-mask__label--top-right{top:0;right:0;.label-mask__item{font-size:10px;display:flex;align-items:center;gap:2px;border-radius:0 0 0 4px;box-shadow:0 0 4px rgba(0,0,0,0.5);@media (min-width:","){font-size:13px;}"," img{height:11px;@media (min-width:","){height:13px;}","}&:first-child{padding-right:8px;margin-right:-4px;","}}}.label-mask__label--top-left{top:",";left:",";"," img{height:24px;@media (min-width:","){height:32px;}","}.label-mask__item{font-size:9px;@media (min-width:","){font-size:10px;}","}}.label-mask__label--bottom-left{bottom:",";left:",";.label-mask__item{font-size:9px;@media (min-width:","){font-size:10px;}","}}}"],o.screens.md,({isVertical:e})=>e&&`\n           @media (min-width: ${o.screens["2xl"]}) {\n            font-size: 16px;\n            padding: 0 6px;\n          }\n      `,o.screens.md,({isVertical:e})=>e&&`\n            @media (min-width: ${o.screens["2xl"]}) {\n              height: 20px;\n            }\n        `,({isVertical:e})=>e&&`\n            @media (min-width: ${o.screens["2xl"]}) {\n              padding-right: 12px;\n              margin-right: -6px;\n              gap: 4px;\n            }\n        `,({isVertical:e})=>e?"2px":"6px",({isVertical:e})=>e?"2px":"6px",({isVertical:e})=>e&&`\n        @media (min-width: ${o.screens.xs}) {\n          top: 4px;\n          left: 4px;\n        }\n    `,o.screens.md,({isVertical:e})=>e&&`\n          @media (min-width: ${o.screens["2xl"]}) {\n            height: 40px;\n          }\n      `,o.screens.md,({isVertical:e})=>e&&`\n          @media (min-width: ${o.screens["2xl"]}) {\n            font-size: 12px;\n          }\n      `,({isVertical:e})=>e?"2px":"6px",({isVertical:e})=>e?"2px":"6px",o.screens.md,({isVertical:e})=>e&&`\n          @media (min-width: ${o.screens["2xl"]}) {\n            font-size: 12px;\n          }\n      `),d=({labels:e,isVertical:t})=>{const i=(0,a.useMemo)(()=>new Set(e.map(e=>e.title)),[e]),l=(0,r.d4)(e=>e.labelConfig),o=(0,r.d4)(s.ZZ),[d,m]=(0,a.useState)([]),[p,_]=(0,a.useState)([]),[u,x]=(0,a.useState)([]),{positions:h,labels:f}=l||{},g=(0,n.zy)().pathname.includes("/channel/"),b=e=>{const t=[];for(const a of e.tier){if(0===i.size)return t;let e=!1;for(const r of a.order){if(0===i.size)return t;if(i.has(r)&&(t.push(r),i.delete(r),e=!0,t.length>=a.max))return t}if(e)return t}return t},y=(e,t)=>{if(e)return!t&&0!==t||t>=1?e:((e,t)=>{const i=e.replace("#","");return`rgba(${parseInt(i.slice(0,2),16)}, ${parseInt(i.slice(2,4),16)}, ${parseInt(i.slice(4,6),16)}, ${t})`})(e,t)};return(0,a.useEffect)(()=>{if(!l)return;const{topRight:e,topLeft:t,bottomLeft:i}=h;m(b(e)),_(b(t)),x(b(i))},[i,l]),l?a.createElement(c,{isVertical:t},a.createElement("div",{className:"label-mask__position label-mask__label--top-right"},d.map(e=>{const t=f[e],{iconUrl:i,text:r,textColor:n,bgColor:l,bgAlpha:s}=t;return o&&"VIP"===r&&g?null:a.createElement("div",{key:e,className:"label-mask__item",style:{color:n,backgroundColor:y(l,s)}},i&&a.createElement("img",{src:i,alt:e}),a.createElement("span",null,r))})),a.createElement("div",{className:"label-mask__position label-mask__label--top-left"},p.map(e=>{const i=f[e],{imageUrl:r,imageLargeUrl:n,text:l,textColor:s,bgColor:o,bgAlpha:c}=i;return r?a.createElement("img",{key:e,src:t?r:n,alt:e}):a.createElement("span",{key:e,className:"label-mask__item",style:{color:s,backgroundColor:y(o,c)}},l)})),a.createElement("div",{className:"label-mask__position label-mask__label--bottom-left"},u.map(e=>{const t=f[e],{text:i,textColor:r,bgColor:n,bgAlpha:l}=t;return a.createElement("span",{key:e,className:"label-mask__item",style:{color:r,backgroundColor:y(n,l)}},i)}))):null}}}]);

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.