PageSourceSearch

https://livinglife.com.tw/_next/static/chunks/8069-11ae8da079d78110.js

js livinglife.com.tw collected 2026-10-01 13:58:00 UTC 12,070 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8069],{75400:function(e,t,n){"use strict";var l=n(87596);t.Z=l.Z},7335:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var l=n(67294),i=function(e,t){return l.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},47505:function(e,t,n){"use strict";var l=n(57094);t.Z=l.Z},57577:function(e,t,n){"use strict";var l=n(58290);t.Z=l.Z},44591:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var l=n(67294),i=function({controlled:e,default:t,name:n,state:i="value"}){let{current:r}=l.useRef(void 0!==e),[o,a]=l.useState(t),u=l.useCallback(e=>{r||a(e)},[]);return[r?e:o,u]}},49064:function(e,t,n){"use strict";function l(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}n.d(t,{Z:function(){return l}})},87596:function(e,t,n){"use strict";function l(e,t=166){let n;function l(...l){let i=()=>{e.apply(this,l)};clearTimeout(n),n=setTimeout(i,t)}return l.clear=()=>{clearTimeout(n)},l}n.d(t,{Z:function(){return l}})},58290:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var l=n(57094);function i(e){let t=(0,l.Z)(e);return t.defaultView||window}},57579:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var l,i=n(67294);let r=0,o=(l||(l=n.t(i,2))).useId;function a(e){if(void 0!==o){let t=o();return null!=e?e:t}return function(e){let[t,n]=i.useState(e);return i.useEffect(()=>{null==t&&n(`mui-${r+=1}`)},[t]),e||t}(e)}},84070:function(e,t,n){"use strict";var l=n(85893),i=n(9008),r=n.n(i),o=n(73221);let a=e=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(r(),{children:"prod"===o.Wi&&(0,l.jsx)("meta",{},"noindex")})});t.Z=a},99469:function(e,t,n){"use strict";var l=n(85893),i=n(5152),r=n.n(i),o=n(1216),a=n(61953);let u={graphicFix:{component:r()(()=>Promise.all([n.e(9072),n.e(5616),n.e(5795),n.e(1427)]).then(n.bind(n,45941)),{loadableGenerated:{webpack:()=>[45941]},ssr:!1}),minHeight:250},graphicMore:{component:r()(()=>Promise.all([n.e(5616),n.e(6760),n.e(4700)]).then(n.bind(n,25975)),{loadableGenerated:{webpack:()=>[25975]},ssr:!1}),minHeight:250},publicitySmall:{component:r()(()=>Promise.all([n.e(5616),n.e(8757)]).then(n.bind(n,8757)),{loadableGenerated:{webpack:()=>[8757]},ssr:!1}),minHeight:385},publicityLarge:{component:r()(()=>Promise.all([n.e(5616),n.e(8902)]).then(n.bind(n,88902)),{loadableGenerated:{webpack:()=>[88902]},ssr:!1}),minHeight:500},banner:{component:r()(()=>Promise.all([n.e(6760),n.e(8121),n.e(9260)]).then(n.bind(n,24200)),{loadableGenerated:{webpack:()=>[24200]},ssr:!1}),minHeight:190},bannerLarge:{component:r()(()=>n.e(1040).then(n.bind(n,61040)),{loadableGenerated:{webpack:()=>[61040]},ssr:!1}),minHeight:100},articleMainImage:{component:r()(()=>Promise.all([n.e(9072),n.e(5616),n.e(5795),n.e(4891)]).then(n.bind(n,28303)),{loadableGenerated:{webpack:()=>[28303]},ssr:!1}),minHeight:400},articleSmallImage:{component:r()(()=>Promise.all([n.e(9072),n.e(5616),n.e(5795),n.e(5084)]).then(n.bind(n,92952)),{loadableGenerated:{webpack:()=>[92952]},ssr:!1}),minHeight:170},customHtml:{component:r()(()=>n.e(643).then(n.bind(n,20643)),{loadableGenerated:{webpack:()=>[20643]},ssr:!0}),minHeight:1},graphicN:{component:r()(()=>Promise.all([n.e(5795),n.e(2175)]).then(n.bind(n,59997)),{loadableGenerated:{webpack:()=>[59997]},ssr:!1}),minHeight:250}},s=e=>{let{data:t,lazy:n,lazyOptions:i,isServicePage:r=!1}=e;if(!u[null==t?void 0:t.type])return null;let{component:s,minHeight:c}=u[null==t?void 0:t.type],d="function"==typeof c?c(t):c;if(n){var p;return(0,l.jsx)(o.ZP,{height:d,offset:null!==(p=null==i?void 0:i.offset)&&void 0!==p?p:0,scrollContainer:(null==i?void 0:i.containerId)&&"#".concat(i.containerId),children:(0,l.jsx)(a.Z,{minHeight:d,children:(0,l.jsx)(s,{data:t,isServicePage:r})})})}return(0,l.jsx)(a.Z,{minHeight:d,children:(0,l.jsx)(s,{data:t,isServicePage:r})})};s.defaultProps={lazy:!1,lazyOptions:{offset:0,containerId:""}},t.Z=s},54996:function(e,t,n){"use strict";var l=n(7297),i=n(98700),r=n(77366);function o(){let e=(0,l.Z)(["\n  ","\n"]);return o=function(){return e},e}let a=r.Z.div(o(),i.ZP);t.Z=a},98780:function(e,t,n){"use strict";var l=n(7297),i=n(85893),r=n(67294),o=n(77366),a=n(60181),u=n(61953);function s(){let e=(0,l.Z)(["\n  ","\n"]);return s=function(){return e},e}let c=(0,o.Z)(u.Z)(s(),e=>{let{theme:t}=e;return"\n    position: fixed;\n    bottom: 100px;\n    right: 20px;\n    width: 60px;\n    height: 60px;\n    border-radius: 50%;\n    box-shadow: 0 1px 6px 0 rgb(0 0 0 / 6%), 0 2px 32px 0 rgb(0 0 0 / 16%);\n    background-color: ".concat(t.palette.grey.third,";\n    border: 1px solid ").concat(t.palette.grey.secondary,";\n    cursor: pointer;\n    color: ").concat(t.palette.text.primary,";\n    z-index: 98;\n\n    &:active {\n      background-color: ").concat(t.palette.primary.bgPlus1,";\n      border: 1px solid #ffffff;\n    }\n\n    > .muiIcon {\n      position: absolute;\n      top: 50%; \n      left: 50%;\n      transform: translate(-50%, -50%);\n    }\n  ")}),d=e=>{let{showButton:t,scrollableRef:n,isAutoScroll:l}=e,o=()=>{setTimeout(()=>{var e;return n.current&&(null===(e=n.current)||void 0===e?void 0:e.scrollTo({top:0,behavior:"smooth"}))},0)};return(0,r.useEffect)(()=>{l&&setTimeout(()=>{var e;return n.current&&(null===(e=n.current)||void 0===e?void 0:e.scrollTo({top:0,behavior:"smooth"}))},0)},[l]),(0,i.jsx)(c,{style:{display:t?"inline":"none"},onClick:o,children:(0,i.jsx)(a.Z,{fontSize:"large",className:"muiIcon"})})};t.Z=d},28086:function(e,t,n){"use strict";var l=n(7297),i=n(85893),r=n(77366),o=n(61953),a=n(13946),u=n(54996),s=n(98780);function c(){let e=(0,l.Z)(["\n  height: 100vh;
1\n  overflow-y: scroll;\n  overflow-x: hidden;\n  scroll-behavior: smooth;\n"]);return c=function(){return e},e}function d(){let e=(0,l.Z)(["\n  overflow-y: auto;\n  overflow-x: hidden;\n  scroll-behavior: smooth;\n  height: 100%;\n"]);return d=function(){return e},e}let p=r.Z.div(c()),m=(0,r.Z)(u.Z)(d()),f=e=>{let{children:t,responsive:n=!1,onCopy:l=null,containerId:r=null,wrapperRef:u,isAutoScroll:c=!1}=e,{showButton:d,showScrollButton:f}=(0,a.zi)();return n?(0,i.jsxs)(m,{onCopy:l,ref:u,onScroll:f,id:r,children:[(0,i.jsx)(o.Z,{children:t}),(0,i.jsx)(s.Z,{showButton:d,scrollableRef:u,isAutoScroll:c})]}):(0,i.jsxs)(p,{onCopy:l,ref:u,onScroll:f,id:r,children:[(0,i.jsx)(o.Z,{children:t}),(0,i.jsx)(s.Z,{showButton:d,scrollableRef:u,isAutoScroll:c})]})};t.Z=f},90166:function(e,t,n){"use strict";var l=n(85893),i=n(9008),r=n.n(i),o=n(73221);let a=e=>{var t;let{resolvedUrl:n,content:i}=e,a=n.split("?")[0],u=null==i?void 0:i.meta,s=(null==i?void 0:null===(t=i.image)||void 0===t?void 0:t.url)||"";return(0,l.jsxs)(r(),{children:[(0,l.jsx)("title",{children:null==u?void 0:u.title}),(0,l.jsx)("link",{rel:"canonical",href:"".concat(o._8+a)},"canonical"),(0,l.jsx)("meta",{name:"title",content:null==u?void 0:u.title},"title"),(0,l.jsx)("meta",{name:"description",content:null==u?void 0:u.tagDescribe},"description"),(0,l.jsx)("meta",{name:"keywords",content:null==u?void 0:u.tag},"keywords"),(0,l.jsx)("meta",{property:"og:title",content:null==u?void 0:u.title},"og:title"),(0,l.jsx)("meta",{property:"og:description",content:null==u?void 0:u.tagDescribe},"og:description"),(0,l.jsx)("meta",{property:"og:image",content:s},"og:image")]})};t.Z=a},25067:function(e,t,n){"use strict";var l=n(85893),i=n(67294),r=n(11163),o=n(5152),a=n.n(o),u=n(61953);n(21082);var s=n(82023),c=n(75883),d=n(99469),p=n(28086);let m=a()(()=>Promise.all([n.e(9072),n.e(9477),n.e(5616),n.e(6007),n.e(5128)]).then(n.bind(n,56007)),{loadableGenerated:{webpack:()=>[56007]},ssr:!1}),f="customize-page-scrollable",v={small:{marginSmall:{xs:12,md:18},marginLarge:{xs:18,md:24}},large:{marginSmall:{xs:18,md:24},marginLarge:{xs:24,md:30}}},h=(e,t)=>"customHtml"===e.type&&"none"===e.marginStyle?0:(null==e?void 0:e.type)==="graphicMore"||(null==e?void 0:e.type)==="publicitySmall"||(null==e?void 0:e.type)==="banner"?v[t.spaceType].marginSmall:v[t.spaceType].marginLarge,g=e=>{let{fallbackData:t}=e,n=(0,r.useRouter)(),{customizeContents:o,customizeUrlId:a,layoutModules:v}=t,g=(0,i.useRef)(null),[b,x]=(0,i.useState)(""),[y,Z]=(0,i.useState)(!1),w=null==v?void 0:v[0],j=(null==w?void 0:w.type)==="customHtml"&&(null==w?void 0:w.marginStyle)==="none",S=w&&!j&&(null==w?void 0:w.type)!=="graphicMore"&&(null==w?void 0:w.type)!=="publicitySmall"&&(null==w?void 0:w.style)!=="solid"&&(null==w?void 0:w.style)!=="filledBothSide"&&(null==w?void 0:w.type)!=="banner";return(null==o?void 0:o.isVisible)&&(null==o?void 0:o.modules)?((0,i.useEffect)(()=>(a!==b&&(x(a),Z(!0)),()=>{Z(!1)}),[a,b]),(0,l.jsx)(l.Fragment,{children:(null==o?void 0:o.isVisible)&&!!(null==v?void 0:v.length)&&(0,l.jsx)(s.Z,{stickyHeader:(0,l.jsx)(c.Z,{}),fixContentHeight:!0,children:(0,l.jsxs)(p.Z,{wrapperRef:g,containerId:f,isAutoScroll:y,children:[(null==w?void 0:w.length)>0&&S&&(0,l.jsx)(u.Z,{mb:{xs:6,md:8}}),null==v?void 0:v.map(e=>(null==e?void 0:e.isVisible)?(0,l.jsx)(u.Z,{mb:h(e,o),children:(0,l.jsx)(d.Z,{data:e,lazy:"olmkt"!==n.pathname.split("/")[1],lazyOptions:{containerId:f}},null==e?void 0:e._id)},null==e?void 0:e._id):null),(0,l.jsx)(m,{})]})})})):null};t.Z=g},13946:function(e,t,n){"use strict";n.d(t,{Xh:function(){return f},_S:function(){return v},cB:function(){return h},h3:function(){return b},hq:function(){return m},o4:function(){return d},zi:function(){return g}});var l=n(67294),i=n(89289),r=n(11163),o=n(79697),a=n(39705),u=n(24363),s=n(61225),c=n(62097);let d=(e,t)=>{let[n,i]=(0,l.useState)("施作");return(0,l.useEffect)(()=>{if(!(0,o.Z)(e)){let n=e.some(e=>(t||[]).includes(e._id)&&!e.isStandard);i(n?"估價":"施作")}},[e,t]),n},p={open:!1,onPositiveClick(){},onNegativeClick(){},positiveButtonText:null,negativeButtonText:null,title:"",message:""},m=()=>{let[e,t]=(0,l.useState)(p),n=()=>{t({...p})},i=e=>{t({...p,onNegativeClick:n,open:!0,...e})};return[e,i,n]},f=(e,t,n)=>{let{webview:i,nativeHeaderHandler:r}=n,[o,a]=(0,l.useState)({open:!1}),u=()=>a({open:!1}),s=(e,n)=>{var l,i,r;if(e.stopPropagation(),e.preventDefault(),!n)throw Error("useAlbumModal: album is undefined");let o=null===(i=(l=n.urlId).toLowerCase)||void 0===i?void 0:i.call(l),u={...window.history.state,url:"/album/".concat(o),as:"/album/".concat(o),idx:window.history.state.idx+1},s=(null==n?void 0:n.representativePhoto)||(null==n?void 0:n.frontCover),c=null==s?void 0:s.urlId,d=(null===(r=window.location.href.split("?"))||void 0===r?void 0:r[1])||"",p=d.split("&").filter(e=>e&&!/^(utm_|page=|tag=)/.test(e)).concat(["photoId=".concat(c)]).join("&");window.history.pushState(u,"","/album/".concat(o,"?").concat(p)),t.query.albumUrlId=o,t.query.photoId=c,a({open:!0,fallbackData:{photoUrlId:c}})};(0,l.useEffect)(()=>{let t=()=>{location.pathname===e&&o.open&&(a({open:!1}
1),(null==i?void 0:i.name)==="lsApp"&&r&&r())};return window.addEventListener("popstate",t),()=>{window.removeEventListener("popstate",t)}},[o]);let c=()=>{t.back(),u(),(null==i?void 0:i.name)==="lsApp"&&r&&r()};return{albumModal:o,closeAlbumModal:u,onAlbumClick:s,onAlbumContentClose:c}},v=()=>{let e=(0,r.useRouter)(),t=(0,i.I0)(),[n,o]=(0,l.useState)("");(0,l.useEffect)(()=>{let l=(n,l)=>{let{shallow:i}=l;if(i)return;let r=n.split("?")[1]||"",a=r.split("&").some(e=>/^preselect_vender=/.test(e));if(a&&!/^(\/service\/|\/login)/.test(n)){let s=r.split("&").filter(e=>!/^preselect_vender=/.test(e)).join("&");throw t((0,u.mT)()),o(n.split("?")[0]+(s?"?"+s:"")),e.events.emit("routeChangeError"),"route change aborted"}};return n&&e.push(n),e.events.on("routeChangeStart",l),()=>{e.events.off("routeChangeStart",l)}},[n])},h=()=>{let[e,t]=(0,l.useState)("");return(0,l.useEffect)(()=>{t((0,a.Z)(new Date,"yyyy"))},[]),e},g=()=>{let e=(0,c.Z)(),[t,n]=(0,l.useState)(!1),i=(0,s.Z)(e.breakpoints.down("md")),r=e=>{i?e.currentTarget.scrollTop>768?n(!0):n(!1):e.currentTarget.scrollTop>800?n(!0):n(!1)};return{showButton:t,showScrollButton:r}},b=()=>{let[e,t]=(0,l.useState)(!1),n=(0,l.useRef)(),i=()=>{t(!0)};return(0,l.useEffect)(()=>{n.current&&n.current.complete&&i()},[]),[n,e,i]}},21082:function(){}}]);

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.