PageSourceSearch

https://sunmarkweb.com/_next/static/chunks/3149.7c63a5e52e6775c5.js

js sunmarkweb.com collected 2026-10-04 07:55:15 UTC 5,833 bytes, 24 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];if(null!=a)for(var o in a)a.hasOwnProperty(o)&&(e[o]=a[o])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3360091a-50f0-4142-b284-330aa2d17c62",e._sentryDebugIdIdentifier="sentry-dbid-3360091a-50f0-4142-b284-330aa2d17c62")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3149,5530],{2815:(e,t,a)=>{a.d(t,{d:()=>l});var o=a(19324),r="([a-zA-Z-0-9_-]+)",l=({linkUrl:e})=>{let[t,a]=(0,o.useState)(!1),l=(0,o.useMemo)(()=>((e,t={checkEmbed:!0})=>{if(!e)return null;let a=e.match(`youtube.com/watch\\?v=${r}`)||e.match(`youtu.be/${r}`)||e.match(`youtube.com/shorts/${r}`);return a||t.checkEmbed&&(a=e.match(`youtube.com/embed/${r}`))?a[1]:null})(e,{checkEmbed:!1}),[e]),s=(0,o.useMemo)(()=>!!l,[l]),i=(0,o.useMemo)(()=>s&&!t,[t,s]),u=(0,o.useCallback)(e=>`https://www.youtube.com/embed/${e}`,[]);return{showFacade:i,embedYoutubeUrl:(0,o.useMemo)(()=>l?`${u(l)}?autoplay=1`:"",[l,u]),handleClickFacade:()=>{a(!0)},isYoutubeVideoShown:s}}},21015:(e,t,a)=>{a.d(t,{C:()=>n});var o=a(80902),r=a(60213),l=a(61096),s=a(92778),i=a(97360),u=a(19324),c=a(32508);function n(e){let{title:t,layout:a="card",videoId:n,handleClick:d}=e,m=(0,o.s)(l.i7),h=(0,u.useMemo)(()=>c(`
2    relative aspect-video overflow-hidden
3    ${"inline"===a?"flex items-center rounded":"rounded-t-lg"}
4    `),[a]),b=(0,u.useMemo)(()=>c(`
5    absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2
6    ${"card"===a?"scale-[2.25]":""}
7    `),[a]),y=(0,u.useMemo)(()=>`https://i.ytimg.com/vi/${n}/hqdefault.jpg`,[n]);return(0,i.jsx)("div",{className:h,children:(0,i.jsxs)("button",{"aria-label":m("playVideo",{title:t||"YouTube"}),onClick:()=>d(),className:"w-full text-text-clickable-icon hover:text-[#f00]",children:[(0,i.jsx)(r._,{imageSrc:y,imageAlt:"YouTubeサムネイル",unSafeClassName:"aspect-video"}),(0,i.jsx)("div",{className:b,children:(0,i.jsx)(s.ZjQ,{size:"l","aria-label":""})})]})})}},60213:(e,t,a)=>{a.d(t,{_:()=>i});var o=a(16239),r=a(97360),l=a(19324),s=a(32508);function i(e){let{unSafeClassName:t,imageAlt:a,imageSrc:i,imageSrcSet:u,imageSizes:c,imageWidth:n,imageHeight:d,imageElementType:m="img",loading:h="lazy",fetchPriority:b,priority:y,fit:f="cover",disableAspectRatio:v=!1,onError:p}=e;return(0,r.jsx)("div",{className:(0,l.useMemo)(()=>(0,o.QP)(s(`
8      w-full overflow-hidden
9      ${t??""}
10      `)),[t]),style:{aspectRatio:(0,l.useMemo)(()=>{if(!v)return n&&d?`${n}/${d}`:void 0},[d,n,v])},children:(0,r.jsx)(m,{className:`block size-full ${"cover"===f?"object-cover":"object-contain"}`,src:i,srcSet:u,sizes:c,width:n,height:d,alt:a,loading:h,...void 0!==b&&{fetchPriority:b},...!0===y&&"img"!==m&&{priority:y},...void 0!==p&&{onError:p}})})}},61096:(e,t,a)=>{a.d(t,{Nk:()=>o,Wt:()=>r,i7:()=>l});var o={"ja-JP":{productImage:"商品画像"}},r={"ja-JP":{youtubeMovie:"YouTubeの動画"}},l={"ja-JP":{playVideo:"{title}を再生する"}}},63149:(e,t,a)=>{a.r(t),a.d(t,{WidgetCard:()=>s,default:()=>s});var o=a(19324),r=a(65929),l="([a-zA-Z-0-9_-]+)",s=({content:e})=>{let t=((e,t={checkEmbed:!0})=>{let a=e.match(`youtube.com/watch\\?v=${l}`)||e.match(`youtu.be/${l}`)||e.match(`youtube.com/shorts/${l}`);return a||t.checkEmbed&&(a=e.match(`youtube.com/embed/${l}`))?a[1]??null:null})(e.url);return null===t?null:o.createElement(r.c,{videoId:t,linkUrl:e.url,isMenuShown:!1})}},65929:(e,t,a)=>{a.d(t,{c:()=>h});var o=a(80902),r=a(2815),l=a(16239),s=a(97360),i=a(19324),u=a(32508),c=(e,t)=>{let a=new URL(e);return t.includes(a.hostname)&&("https:"===a.protocol||"http:"===a.protocol)};function n(e){let{src:t,title:a,unSafeClassName:o}=e,r=(0,i.useMemo)(()=>(0,l.QP)(u(`
11      size-full aspect-video
12      ${o??""}
13      `)),[o]);return(()=>
13{if(!t)return!1;try{return c(t,["www.youtube.com","youtube.com","m.youtube.com","youtu.be"])||c(t,["vimeo.com","player.vimeo.com"])}catch(e){return console.error(e),!1}})()?(0,s.jsx)("iframe",{src:t,title:a,className:r}):(0,s.jsx)("span",{})}var d=a(61096),m=a(21015);function h(e){let{linkUrl:t,title:a="card",provider:l,layout:c="card",headingLevel:h=3,videoId:b,onClickTracking:y}=e,{embedYoutubeUrl:f,showFacade:v,handleClickFacade:p,isYoutubeVideoShown:w}=(0,r.d)({linkUrl:t}),g=`h${h}`,x=(0,o.s)(d.Wt),k=(0,i.useMemo)(()=>u(`
14    relative flex rounded-lg border border-border-default bg-surface-normal hover:border-border-strong
15     ${"card"===c?"flex-col":"items-center p-3 pr-4"}
16    `),[c]),M=(0,i.useMemo)(()=>u(`
17    ${"inline"===c?"mr-2 w-48 shrink-0":""}
18    `),[c]),j=(0,i.useMemo)(()=>u(`
19    flex flex-col
20    ${"inline"===c?"size-full justify-between py-1":""}
21    `),[c]),$=(0,i.useMemo)(()=>u(`
22    overflow-hidden font-bold
23    ${"inline"===c?"line-clamp-3 max-h-[3.9375rem] text-sm":""}
24    `),[c]),N=(0,i.useMemo)(()=>"card"===c?"py-4 pl-4":"",[c]),C=new Map([["youtube","www.youtube.com"]]);return(0,s.jsxs)("section",{className:k,children:[v&&(0,s.jsx)("div",{className:M,children:(0,s.jsx)(m.C,{videoId:b,handleClick:()=>{y?.(),p()},layout:c})}),!v&&w&&(0,s.jsx)("div",{className:M,children:(0,s.jsx)(n,{src:f,title:`${a||x("youtubeMovie")}`,unSafeClassName:"rounded-lg-t"})}),(0,s.jsxs)("div",{className:j,children:[a&&"inline"===c&&(0,s.jsx)(g,{className:$,children:a}),(0,s.jsx)("footer",{className:N,children:(0,s.jsx)("a",{className:"text-text-secondary text-xs",href:"https://www.youtube.com",children:C.get((l||"").toLowerCase())||(t?new URL(t).hostname:"")})})]})]})}}}]);

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.