PageSourceSearch

https://hansai.art/_next/static/chunks/62643-7557ff71bb133e8f.js

js hansai.art collected 2026-10-07 20:17:38 UTC 22,621 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[62643],{8548:(e,t,r)=>{r.d(t,{A:()=>f});var l=r(2445),o=r(27006),n=r(25505),a=r(96540),i=r(6442),s=r(75160),d=r(37655),c=r(44995);let u=(0,o.forwardRef)((e,t)=>{let{href:r,isExternal:n,trackerName:a,onClick:i,...d}=e,u=(0,s.A)(a),h=async e=>{i&&await i(e),u()};return r&&!d.isDisabled?(0,l.Y)(o.Button,{ref:t,href:r,as:c.A,isExternal:n,onClick:h,...d}):(0,l.Y)(o.Button,{onClick:h,...d,ref:t})});u.defaultProps={};let h=(0,n.default)(u,{target:"e101g4zh0"})("background:linear-gradient(rgba(255,255,255),rgba(255,255,255)) padding-box,linear-gradient(to right,#bb53b9,#00a6a3) border-box;&:hover{background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,0))\n        padding-box,linear-gradient(to right,#bb53b9,#00a6a3) border-box;}"),p="white-gradient-button",b=e=>{let{children:t,mouseEnter:r}=e;return(0,l.Y)(o.Text,{as:"span",sx:{WebkitBackgroundClip:"text",textFillColor:"transparent",[".".concat(p,":hover &")]:{color:"white",textFillColor:"white"}},bgGradient:"linear(to-r, #bb53b9, #00a6a3)",color:r?"white":"transparent",textAlign:"center",children:t})},g={borderRadius:"full",lineHeight:7/6,height:"auto"},m=(0,o.forwardRef)((e,t)=>{let{children:r,className:o,...n}=e,[i,s]=(0,a.useState)();return(0,l.Y)(u,{border:"none",bg:"white",_hover:{bgGradient:"linear(to-r, #bb53b9, #00a6a3)",color:"white"},ref:t,className:"".concat(p," ").concat(o),...g,onMouseEnter:()=>{s(!0)},onMouseLeave:()=>{s(!1)},...n,children:(0,l.Y)(b,{mouseEnter:i,children:r})})});u.White=m,u.ColorfulFill=e=>(0,l.Y)(u,{border:"none",bgGradient:"linear(to-l, #bb53b9, #00a6a3)",color:"white",_hover:{bgGradient:"linear(to-r, #bb53b9, #00a6a3)",color:"white"},px:"8",...e}),u.Outline=e=>(0,l.Y)(h,{height:"auto",lineHeight:2,_hover:{bgGradient:"linear(to-r, #bb53b9, #00a6a3)",color:"white"},color:"custom.teal",bg:"transparent",border:"4px solid",borderColor:"transparent",borderRadius:"full",...e}),u.ColorfulCTA=e=>(0,l.Y)(u.Colorful,{py:"0.5em",px:"2em",boxShadow:"cta",fontSize:{base:"1.5em",md:"1.875em"},height:"auto",lineHeight:1,...e}),u.Google=e=>(0,l.Y)(u,{variant:"outline",colorScheme:"gray",borderWidth:"1px",color:"#202124",borderColor:"#dadce0",fontWeight:"500",leftIcon:(0,l.Y)(d.A,{}),_hover:{borderColor:"#d2e3fc",bg:"rgba(66,133,244,.04)"},_focus:{borderColor:"#d2e3fc",bg:"rgba(66,133,244,.04)"},_active:{borderColor:"#d2e3fc",bg:"rgba(66,133,244,.04)"},...e}),u.Home=(0,o.forwardRef)((e,t)=>{let r=(0,i.A)();return(0,l.Y)(u,{variant:"outline",borderRadius:"full",fontSize:{base:"1.5rem",md:"1.75rem"},h:"auto",py:{base:"0.25em",md:"0.5em"},pl:"2.5em",pr:"2.25em",lineHeight:"1.5",letterSpacing:(null==r?void 0:r.locale)==="en"?"wide":"0.25em",...e,ref:t})}),u.Home.Colorful=(0,o.forwardRef)((e,t)=>{let{children:r,borderRadius:n="full",gradient:i,...s}=e,[d,c]=i||["#bb53b9","#00a6a3"],h="linear-gradient(to right, ".concat(d,", ").concat(c,")");return(0,l.Y)(u.Home,{bg:"transparent",_hover:{color:"white",_before:{background:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)) padding-box, ".concat(h," border-box")}},border:"2px solid transparent",height:"auto",ref:t,overflow:"hidden",sx:{":hover > span":{bgGradient:"linear(to-r, rgba(255,255,255,0), rgba(255,255,255,0))",color:"white",textFillColor:"white"}},_before:{content:'""',display:"block",position:"absolute",top:"0",left:"0",right:"0",bottom:"0",border:"2px solid transparent",borderRadius:n,background:"linear-gradient(rgba(255, 255, 255), rgba(255, 255, 255)) padding-box, ".concat(h," border-box")},borderRadius:n,...s,leftIcon:s.leftIcon&&(0,a.cloneElement)(s.leftIcon,{position:"relative"}),children:(0,l.Y)(o.Box,{as:"span",display:"block",pos:"relative",sx:{WebkitBackgroundClip:"text",textFillColor:"transparent"},bgGradient:"linear(to-r, ".concat(d,", ").concat(c,")"),children:r})})}),u.Colorful=(0,o.forwardRef)((e,t)=>(0,l.Y)(u.Home.Colorful,{ref:t,fontSize:e.size,...e}));let f=u},16064:(e,t,r)=>{r.d(t,{A:()=>g,H:()=>m});var l=r(2445),o=r(27006),n=r(23805),a=r.n(n),i=r(29965),s=r.n(i),d=r(96540),c=r(62529),u=r(65606);let h=(0,o.forwardRef)((e,t)=>{let{width:r,height:n,loader:a,priority:i,onLoadingComplete:s,onError:c,...u}=e,h=(0,d.useRef)(),p=(0,o.useMergeRefs)(h,t);return((0,d.useEffect)(()=>{s&&(h.current.onload=()=>
1{h.current&&s({naturalWidth:h.current.naturalWidth,naturalHeight:h.current.naturalHeight})},h.current.onerror=()=>{c&&c()})},[u.src,s]),Number.isNaN(r/n))?(0,l.Y)(o.Image,{ref:p,...u}):(0,l.Y)(o.AspectRatio,{ratio:r/n,children:(0,l.Y)(o.Image,{ref:p,...u})})}),p=function(e){var t,r,l,o;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"md";return(null===(t=e.src)||void 0===t?void 0:t.startsWith("/_next"))||(null===(r=e.src)||void 0===r?void 0:r.startsWith("static/media/"))?e.src:null!==(o=null===(l=e.sizes)||void 0===l?void 0:l[n])&&void 0!==o?o:e.publicURL},b=(0,o.forwardRef)((e,t)=>{let{src:r,alt:l,size:o,as:n,unoptimized:i,...b}=e,g=n||u.env.STORYBOOK||i?h:s(),m=a()(r)?p(r,o):r;return m?(0,d.createElement)(g,{src:m,alt:l,ref:t,loader:c.A,...b}):null});b.defaultProps={};let g=b,m=(0,o.chakra)(b,{shouldForwardProp:e=>["width","height","src","alt","layout","fill","sizes","quality","priority","unoptimized","placeholder","loading","blurDataURL","overrideSrc","loader","style","onLoadingComplete","onLoad","onError"].includes(e)})},37655:(e,t,r)=>{r.d(t,{A:()=>a});var l=r(2445),o=r(27006);let n=e=>(0,l.Y)(o.Square,{as:"svg",viewBox:"0 0 48 48",...e,children:(0,l.FD)("g",{children:[(0,l.Y)("path",{fill:"#EA4335",d:"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"}),(0,l.Y)("path",{fill:"#4285F4",d:"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"}),(0,l.Y)("path",{fill:"#FBBC05",d:"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"}),(0,l.Y)("path",{fill:"#34A853",d:"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"}),(0,l.Y)("path",{fill:"none",d:"M0 0h48v48H0z"})]})});n.defaultProps={size:4};let a=n},64846:(e,t,r)=>{r.d(t,{A:()=>p});var l=r(2445),o=r(27006),n=r(96540),a=r(42805),i=r(57650),s=r.n(i);class d extends a.A{componentWillUnmount(){var e;null===(e=this.canvas)||void 0===e||e.remove(),this.canvas=null}}let c=s()()(d),u=e=>{let{children:t,maxLine:r}=e;return(0,l.Y)(o.Box,{as:"span",sx:{display:"-webkit-box",WebkitLineClamp:r,WebkitBoxOrient:"vertical",overflow:"hidden"},children:t})},h=()=>(0,l.Y)(o.Text,{as:"span",color:"gray.300",cursor:"pointer",fontSize:"xs",children:"...more"}),p=e=>{let{ellipsisPosition:t="default",maxLine:r=1,children:a,content:i,noTooltip:s,w:d="9em",placement:p,...b}=e,[g,m]=(0,n.useState)(!1),{isOpen:f,onToggle:v}
1=(0,o.useDisclosure)(),[w,A]=(0,n.useState)(!1),y=(0,n.useMemo)(()=>i||a,[i,a]);return"headerSection"===t?(0,l.Y)(o.Box,{children:!1===g&&a?(0,l.Y)(o.Box,{...b,onClick:()=>{m(!0),v()},children:(0,l.Y)(c,{maxLine:r,ellipsis:(0,l.Y)(h,{}),text:a,basedOn:"letters"})}):(0,l.FD)(o.Collapse,{in:f,animateOpacity:!0,children:[(0,l.Y)(o.Box,{...b,children:a}),(0,l.Y)(o.Text,{fontSize:"xs",color:"gray.400",cursor:"pointer",onClick:()=>{m(!g),v()},children:"less"})]})}):(0,l.Y)(o.Tooltip,{label:y,display:s?"none":"block",isOpen:w,onClose:()=>A(!1),placement:p,children:(0,l.Y)(o.Box,{mb:"0.375em",...b,w:d,pos:"relative",onClick:()=>A(!0),onMouseEnter:()=>A(!0),onMouseLeave:()=>{A(!1)},children:(0,l.Y)(u,{maxLine:r,children:a})})},a)}},55044:(e,t,r)=>{r.d(t,{A:()=>s});var l=r(2445),o=r(27006),n=r(25505),a=r(16064);let i=(0,n.default)(o.AspectRatio,{target:"etd98ke0"})("> *{transform:translateZ(0);}"),s=e=>{var t;let{ispreview:r,src:n,alt:s,unoptimized:d,isDesktop:c,...u}=e,h=c?256:128;return(0,l.Y)(i,{rounded:"full",transform:"translateZ(0)",overflow:"hidden",lineHeight:"0",ratio:1,...u,children:n?(0,l.Y)(a.A,{src:n,alt:s,width:h,height:h,sizes:c?"256px":"128px",priority:!0,unoptimized:d}):(0,l.Y)(o.Avatar,{bg:"gray.100",w:null!==(t=u.w)&&void 0!==t?t:"100%",h:"auto"})})}},42088:(e,t,r)=>{r.d(t,{A:()=>n});var l=r(96540),o=r(79651);let n=e=>{let{children:t}=e,r=(0,l.useMemo)(()=>"string"==typeof t?(0,o.A)(t):t,[t]);return(0,l.createElement)(l.Fragment,{},r)}},3959:(e,t,r)=>{r.r(t),r.d(t,{default:()=>i});var l=r(2445),o=r(27006),n=r(85960);r(96540);let a=(0,n.P)(o.Box),i=e=>{let{children:t,opacity:r,initialY:o=-100,animateY:n=0,duration:i=.8,delay:s=0,...d}=e;return(0,l.Y)(a,{initial:{opacity:r,y:o},animate:{opacity:1,y:n},exit:{opacity:0},transition:{duration:i,delay:s},...d,children:t})}},83493:(e,t,r)=>{r.d(t,{A:()=>u});var l=r(2445),o=r(27006),n=r(14953),a=r.n(n),i=r(96540),s=r(16544);let d=a()(()=>Promise.all([r.e(48792),r.e(43465),r.e(96323),r.e(91499)]).then(r.bind(r,5977)),{loadableGenerated:{webpack:()=>[5977]},ssr:!1}),c=e=>{requestAnimationFrame(()=>{window.scrollTo(0,e),requestAnimationFrame(()=>window.scrollTo(0,e))})},u=e=>{let{withAdsModal:t,slug:r,profileId:n,name:a,children:u}=e,{isOpen:h,onOpen:p,onClose:b}=(0,o.useDisclosure)(),[g,m]=(0,i.useState)(null),f=(0,i.useRef)(0),v=(0,i.useMemo)(()=>[...s.Ay.collections.map(e=>e.value),...s.Ay.systemDefaultPages.map(e=>e.value)],[]),w=e=>(null==e?void 0:e.startsWith("".concat(window.location.origin,"/").concat(r)))&&v.some(t=>e.includes(t)),A=e=>{if(!t)return;let r=e.target;if(!(r instanceof Element))return;let l=r.closest("a");!l||w(l.href)||(f.current=window.scrollY,m(l.href),e.preventDefault(),e.stopPropagation(),p())},y=(0,i.useCallback)(()=>{b(),m(null),c(f.current)},[b]);return(0,l.FD)(l.FK,{children:[(0,l.Y)(o.Stack,{onClickCapture:A,onAuxClickCapture:A,children:u}),t&&g&&(0,l.Y)(d,{isOpen:h,onClose:y,name:a,adsOriginalSrc:g,profileId:n,slug:r})]})}},33898:(e,t,r)=>{r.d(t,{A:()=>d,m:()=>i});var l=r(2445),o=r(27006),n=r(25505),a=r(89361);let i=(0,n.default)(o.Box,{target:"emdtqbu0"})("line-height:1.75;h2{font-size:var(--chakra-fontSizes-2xl);}h3{font-size:var(--chakra-fontSizes-xl);}p{min-height:",e=>{let{minHeight:t}=e;return t||"1.75rem"},";}ul,ol{margin:1rem 0;li{margin-left:1.5em;}ul,ol{margin:0.25rem 0;margin-left:1.5em;}}a{color:var(--chakra-colors-custom-primaryLink);}"),s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===e.replace(/<[^>]*>?/gm,"").trim()},d=e=>{let{children:t,minHeight:r,...o}=e,n="string"==typeof t?t:"";if("string"==typeof t&&s(n))return null;let d="string"==typeof t&&!/<[^>]*>/.test(t);return(0,l.Y)(i,{minHeight:r,...o,as:d?"p":"div",children:t?d?t:(0,a.A)(n):null})}},30112:(e,t,r)=>{r.d(t,{A:()=>c});var l=r(56449),o=r.n(l),n=r(23805),a=r.n(n),i=r(73916),s=r.n(i);let d=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.startsWith("/")?e:"/".concat(e)},c=(e,t,r)=>{var l;let n=new RegExp("".concat(null===(l=window)||void 0===l?void 0:l.location.host,"/").concat(t)),i=e=>{let{url:l,newUrl:o,mode:a}=e;return"internal"===a?{url:t?r?"https://".concat(r).concat(d(l)):"/".concat(t).concat(d(l)):"",mode:a}:{url:o||l,mode:n.test(l)?"internal":"external",isRef:!!o}};return o()(e)?e.reduce((e,t,r)=>(e[t.id||r]={...t,...i(t)},e),{}):a()(e)?s()(e,(e,t)=>({...e,id:t,...i(e)})):e}},26031:(e,t,r)=>{r.d(t,{A:()=>v});var l=r(2445),o=r(27006),n=r(55378),a=r.n(n),i=r(96540),s=r(19497),d=r(3959),c=r(71884),u=r(38146),h=r(90940);let p={list:"items.animation",square:"autoplay",banner:"autoplay"},b=()=>null,g=e=>{var t;return!!e&&!e.hidden&&("list"!==e.type||(null===(t=e.items)||void 0===t?void 0:t.every(e=>Object.keys(e).length>1)))},m=(e,t)=>
1t.reduce((e,r,l)=>{let o=e[r];return Array.isArray(o)?o.map(e=>m(e,t.slice(l+1))):(l===t.length-1&&(e[r]=!1),o)},e),f=e=>{let{children:t,index:r,delay:o=0,...n}=e,[a,s]=(0,i.useState)(!1),c=(0,i.useMemo)(()=>{if(p[n.type]&&!a){let e=p[n.type].split("."),t=JSON.parse(JSON.stringify(n));return m(t,e),t}return n},[n,a]);return(0,l.Y)(d.default,{initialY:50,opacity:0,duration:.8,delay:o,onAnimationComplete:()=>s(!0),"data-block":n["data-block"],children:(0,i.cloneElement)(t,c)})},v=e=>{let{blocks:t,links:r,products:n,id:d,blockOrders:p,blockVariant:m,name:v,isDemo:w,buttonMode:A,background:y,isDesktop:Y,isPinedSection:x,blockEntryDelay:T,isEmbed:k,disableBorderTopRadius:C,CustomElement:N=null,isPreview:O,slug:S}=e,E=(0,i.useMemo)(()=>{if(!p)return a()(t).filter(e=>g(e));let e=(0,c.A)(t,"id");return a()(p,t=>e[t]).filter(e=>g(e))},[t,p]),z=(0,i.useMemo)(()=>E,[E]),_=k&&1;return(0,l.Y)(o.Stack,{width:"full",spacing:"1em",flexGrow:_,children:z.map((e,t)=>e.hidden?null:(0,l.Y)(u.A,{children:(0,i.createElement)(k?k?o.Stack:o.Box:f,{flexGrow:_,spacing:0,"data-block":e.type,...k?{}:{...e,index:t,delay:T}},(0,l.Y)(s.A.Provider,{value:{type:e.type,perRow:e.perRow,profileId:d,blockId:e.id},children:(0,i.createElement)(N||h.A[e.type]||b,{...e,profileId:d,links:r,products:n,blockVariant:m,profileName:v,unoptimized:w,isPreview:O||w,isEmbed:k,priority:t<3,buttonMode:A,backgroundVariant:null==y?void 0:y.variant,isDesktop:Y&&!x,disableBorderTopRadius:C,slug:S})}))},t))})}},59028:(e,t,r)=>{r.r(t),r.d(t,{default:()=>g});var l=r(2445),o=r(27006),n=r(86715),a=r(96540),i=r(78885),s=r(6442),d=r(8548),c=r(44995),u=r(55044),h=r(58065),p=r(84316);let b=()=>{let e=(0,p.W)("store");return(0,l.Y)(d.A.White,{py:"2",my:"-2",href:e,isExternal:!0,children:(0,l.Y)(h.A,{id:"admin.shared.更多商品",defaultMessage:"更多商品"})})},g=e=>{let{backUrl:t,data:r,groups:h,variant:p="default"}=e,[g,m]=(0,a.useState)(""),f=(0,s.A)(),v=(0,n.useRouter)(),w="en"===f.locale,A=(0,a.useMemo)(()=>{if(!h)return;let e=v.query.group,t=Object.values(h).find(t=>t.slug===e);return null==t?void 0:t.avatar},[h,v.query.group]);return(0,a.useEffect)(()=>{let{pathname:e}=window.location,l=t||"/".concat(null==r?void 0:r.slug);e.startsWith("/".concat(null==r?void 0:r.slug))?m(l):m(l.replace("/".concat(null==r?void 0:r.slug),"")||"/")},[t,null==r?void 0:r.slug]),(0,l.FD)(o.Flex,{alignItems:"center",width:"full",direction:"row-reverse",children:["product"!==p||w?(0,l.Y)(c.A,{href:void 0===A?g:"https://".concat("portaly.cc","/").concat(v.query.group),children:(0,l.Y)(u.A,{width:"3em",src:h?A:null==r?void 0:r.avatar,alt:null==r?void 0:r.name,boxShadow:"md"})}):(0,l.Y)(b,{slug:null==r?void 0:r.slug}),(0,l.Y)(o.Box,{flex:"1"}),(0,l.Y)(d.A,{leftIcon:(0,l.Y)(i.feN,{size:"1.125em"}),href:g,variant:"link",colorScheme:"blackAlpha",color:"blocks.text",_active:{color:"blocks.text"},children:f.formatMessage({defaultMessage:"回上一頁",id:"admin.shared.回上一頁"})})]})}},16544:(e,t,r)=>{r.d(t,{$8:()=>o,Ay:()=>n});let l=Object.values({SUPPORT:{value:"support",label:"贊助工具"},CONTACT:{value:"contact",label:"合作洽詢"},GROUP:{value:"group",label:"組織頁"}}),o={contact:{en:"Contact",zh:"合作洽詢"},support:{en:"Support",zh:"營利工具"},page:{en:"Subpage",zh:"自訂分頁"},group:{en:"Group",zh:"組織頁"}},n={systemDefaultPages:l,collections:[{value:"page",label:"自訂分頁"}]}},45e3:(e,t,r)=>{r.r(t),r.d(t,{PTTN_APPLE_PODCAST:()=>g,PTTN_EMAIL:()=>o,PTTN_FACEBOOK:()=>p,PTTN_FLOAT:()=>w,PTTN_INSTAGRAM:()=>u,PTTN_INTEGEAR:()=>v,PTTN_SLUG:()=>l,PTTN_SOUNDCLOUD:()=>m,PTTN_SOUNDCLOUD_PLAYER:()=>f,PTTN_SPOTIFY:()=>b,PTTN_TIKTOK:()=>c,PTTN_TWITCH:()=>d,PTTN_TWITTER:()=>h,PTTN_VIMEO:()=>s,PTTN_YOUTUBE:()=>n,PTTN_YOUTUBE_CHANNEL:()=>a,PTTN_YOUTUBE_PLAYLIST:()=>i});let l=/^[a-z0-9][a-z0-9\-_\.]{3,}[a-z0-9]$/i,o=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,n=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(embed\/|v\/|watch\/|shorts\/|live\/|watch\?v=|watch\?.+&v=))((\w|-){11})/,a=/(?:youtube\.com)\/(channel\/|c\/|user\/|@)?([^\/\?&]+)/,i=/(?:www\.)?youtube.com\/playlist\?list=([^&]+)/,s=/https?:\/\/(?:player\.)?vimeo\.com\/(?:video\/)?(\d+)/,d=/https?:\/\/(?:www\.|player\.)?twitch\.tv\/(?:\?channel=)?([a-zA-Z0-9_]+)/,c=/https:\/\/(?:www\.)tiktok\.com(\/[^/]+\/video\/[^"\/]+)/,u=/https?:\/\/(?:www\.)?instagram\.com\/([^\/\n\s]+)/,h=/https?:\/\/(?:www\.)?twitter\.com\/([^\/\n\s]+)/,p=/https?:\/\/(?:www\.)?facebook\.com\/([^\/\n\s]+)/,b=/https?:\/\/(?:open\.|play\.)?spotify\.com\/(?:embed\/|\?uri=spotify:track:)?(episode\/|show\/|album\/|track\/|playlist\/|artist\/)?([a-zA-Z0-9]{22})/,g=/https?:\/\/(?:embed\.)?(podcasts\.apple\.com\/[^/]+\/podcast\/[^/]+\/[^(/|\n|")]+)/,m=/https?:\/\/(?:www\.)?soundcloud\.com\/[^\n\s]+/,f=/https?:\/\/w\.soundcloud\.com\/player\/[^"]+/,v=/^[0-9]+$/,w=/^[0-9]+(\.[0-9]+)?$/},42112:(e,t,r)=>{r.d(t,{A:()=>
1o,g:()=>n});class l{static isCollection(e){return e===l.COLLECTION}static isNotion(e){return e===l.NOTION}static isSubpageType(e){return l.isCollection(e)||l.isNotion(e)}static getOptions(e){let t="en"===e.locale;return[{label:t?"General Pages":"一般分頁",value:l.COLLECTION},{label:t?"Notion Pages":"Notion 分頁",value:l.NOTION}]}}l.COLLECTION="collection",l.NOTION="notion";let o=l,n=e=>l.isCollection(e)||l.isNotion(e)},79651:(e,t,r)=>{r.d(t,{A:()=>o});let l={"&lt;":"<","&gt;":">"},o=e=>Object.entries(l).reduce((e,t)=>{let[r,l]=t;return e.replace(RegExp(r,"g"),l)},e)},89361:(e,t,r)=>{r.d(t,{A:()=>c});var l=r(2445),o=r(10900),n=r(44995),a=r(78459),i=r(27536);let s=e=>{let{domNode:t}=e,r=t.attribs.href;return(0,l.Y)(n.A,{isExternal:!0,href:r,children:(0,o.zd)(t.children)})},d=e=>{let{domNode:t}=e,r=t.attribs["data-ratio"],o="string"==typeof r&&Number.isFinite(parseFloat(r))?parseFloat(r):r;return r?(0,l.Y)(a.Ay,{...t.attribs,ratio:o}):(0,l.Y)("img",{...t.attribs})},c=e=>(0,o.Ay)((0,i.A)(e),{replace:e=>{switch(e.name){case"a":return(0,l.Y)(s,{domNode:e});case"img":return(0,l.Y)(d,{domNode:e});default:return}}})},27536:(e,t,r)=>{r.d(t,{A:()=>g});var l=r(56449),o=r.n(l),n=r(23805),a=r.n(n),i=r(73916),s=r.n(i),d=r(34005),c=r.n(d);let u=c().getDefaultWhiteList();u.p.push("style"),u.h2.push("style"),u.h3.push("style"),u.li.push("style"),u.img.push("data-ratio");let h=new(c()).FilterXSS({whiteList:u,css:!1}),p=[10,13],b=e=>o()(e)?e.map(b):a()(e)?s()(e,b):"string"!=typeof e?e:function(e){let t="";for(let r=0;r<e.length;r++){let l=e.charCodeAt(r);(l>=32||p.includes(l))&&(t+=e.charAt(r))}return t}(h.process(e)),g=b},83102:(e,t,r)=>{r.d(t,{A:()=>h});var l=r(2445),o=r(96540),n=r(3939),a=r(46479),i=r(40660),s=r(86913),d=r(8519),c=r(37098);let u=e=>{let{props:t,SubComp:r,isSuspenend:s}=e;(0,i.A)();let[u,h]=(0,o.useState)(()=>{var e;return(null===(e=(0,d.A)("session"))||void 0===e?void 0:e.getItem("".concat(c.tX,":admin")))==="1"});return((0,a.M)("auth:admin",e=>h(!!e)),u)?(0,l.Y)(r,{...t}):(0,l.Y)(n.A,{...t,isSuspenend:s})},h=function(e){let{gateTempClose:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r=>{var o,n;let a=(0,s.A)(null===(o=r.data)||void 0===o?void 0:o.isSuspenend),i=t&&(0,s.A)(null===(n=r.data)||void 0===n?void 0:n.isTempClose);return a||i?(0,l.Y)(u,{props:r,SubComp:e,isSuspenend:a}):(0,l.Y)(e,{...r})}}},74521:(e,t,r)=>{r.d(t,{A:()=>o});var l=r(96540);let o=function(){let{debounceMs:e=100,minHeight:t=200,targetOrigin:r="*"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=(0,l.useRef)(null),n=(0,l.useRef)(0),a=(0,l.useCallback)(()=>Math.max(document.body.scrollHeight,t),[t]),i=(0,l.useCallback)(e=>{if(e!==n.current){n.current=e;try{let t={type:"IFRAME_HEIGHT_UPDATE",height:e,timestamp:Date.now()};window.parent.postMessage(t,r)}catch(e){console.error(e)}}},[r]),s=(0,l.useCallback)(()=>{o.current&&clearTimeout(o.current),o.current=setTimeout(()=>{i(a())},e)},[a,i,e]);return(0,l.useEffect)(()=>{let e,t;if(window.self===window.top)return;i(a());let r=()=>{s()};window.ResizeObserver&&(e=new ResizeObserver(()=>{s()})).observe(document.body),window.MutationObserver&&(t=new MutationObserver(()=>{s()})).observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]});let l=()=>{s()},n=document.querySelectorAll("img");return n.forEach(e=>{e.complete||(e.addEventListener("load",l),e.addEventListener("error",l))}),window.addEventListener("resize",r),()=>{o.current&&clearTimeout(o.current),e&&e.disconnect(),t&&t.disconnect(),n.forEach(e=>{e.removeEventListener("load",l),e.removeEventListener("error",l)}),window.removeEventListener("resize",r)}},[a,i,s]),{triggerHeightUpdate:(0,l.useCallback)(()=>{i(a())},[a,i])}}},37308:(e,t,r)=>{r.d(t,{A:()=>i});
1var l=r(96540),o=r(14120),n=r(12511),a=r(50458);let i=e=>{let t=(0,l.useContext)(a.A),r=(0,l.useContext)(o.A),{adsDisplayType:i,adsSource:s}=t,{isRecommend:d,isCloseRecommend:c}=r,u=(0,n.A)(d,c);return"string"==typeof s&&"none"!==s&&!e&&u&&"modal"===i}},75160:(e,t,r)=>{r.d(t,{A:()=>l});let l=e=>()=>{e&&"function"==typeof window.gtag&&window.gtag("event","click_button",{button_name:e})}},14361:(e,t,r)=>{r.r(t),r.d(t,{__N_SSP:()=>Y,default:()=>x});var l=r(2445),o=r(66272),n=r(36287),a=r(83450),i=r(86715),s=r(96540),d=r(73504),c=r(92227),u=r(26031),h=r(83493),p=r(30112),b=r(59028),g=r(33643),m=r(83102),f=r(74521),v=r(64168),w=r(37308);let A=()=>{let e=(0,s.useContext)(g.A);return(0,s.useCallback)(function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)return;let{pageId:l}={...r,...e};try{window.portaly_logger({eventType:"view",profileId:t,timestamp:Date.now(),pageId:l})}catch(e){console.error(e)}},[e])};var y=r(42112),Y=!0;let x=(0,m.A)(function(e){var t;let{data:r,page:m,ogImage:Y,description:x}=e,{query:T}=(0,i.useRouter)(),{isPreview:k}=r;(0,f.A)();let{isInIframe:C}=(0,v.A)(),N=(0,w.A)(k),O="".concat(null==m?void 0:m.title," by ").concat(r.name),S=(0,s.useMemo)(()=>(0,p.A)(r.links,T.slug,r.customDomain),[r.links,T.slug]),E=A();return(0,d.A)(()=>{setTimeout(()=>{E(r.id,{pageId:m.id})},0)}),(0,l.FD)(l.FK,{children:[r&&(0,l.Y)(c.A,{title:O,description:x,ogImage:Y,locale:null==r?void 0:r.locale}),(0,l.FD)(o.m,{pt:"4",maxWidth:C?"100%":"container.xs",children:[!C&&(0,l.Y)(n.az,{as:"header",p:"2",position:"sticky",top:"0",zIndex:"sticky",bg:"blocks.bg",boxShadow:"md",rounded:"md",children:(0,l.Y)(b.default,{title:null==m?void 0:m.title,data:r})}),(0,l.Y)(h.A,{withAdsModal:N,slug:T.slug,profileId:r.id,name:null==r?void 0:r.name,children:(0,l.Y)(a.B,{spacing:"4",py:"4",children:(0,l.Y)(g.A.Provider,{value:{pageId:m.id},children:y.A.isNotion(null==m?void 0:m.type)?(0,l.Y)(u.A,{id:r.id,blocks:[m],links:S,blockVariant:r.blockVariant,withAdsModal:N,slug:T.slug},m.id):(null===(t=m.blocks)||void 0===t?void 0:t.length)>0?(0,l.Y)(u.A,{id:r.id,blocks:m.blocks,links:S,blockVariant:r.blockVariant,withAdsModal:N,name:null==r?void 0:r.name,slug:T.slug},m.id):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.