PageSourceSearch

https://maeda-design-room.net/_next/static/chunks/1544.9b58ceec0886f9c7.js

js maeda-design-room.net collected 2026-10-03 22:13:26 UTC 4,017 bytes, 1 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 r in a)a.hasOwnProperty(r)&&(e[r]=a[r])}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]="9ebefcbd-f76a-47d0-823d-eecbac114cd2",e._sentryDebugIdIdentifier="sentry-dbid-9ebefcbd-f76a-47d0-823d-eecbac114cd2")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1544],{31544:(e,t,a)=>{a.r(t),a.d(t,{DrawResultToast:()=>u});var r=a(97360),l=a(59995),n=a(1471),s=a(34447),i=a(50387),o=a(19324);let c={"ja-JP":{animationMessage:"運が良ければ全額ポイントバック!",defaultTitle:"おめでとうございます!",shareButton:"Xでシェア",shareAriaLabel:"Xでシェア",close:"閉じる",drawAnimationAriaLabel:"抽選アニメーション"}},d="fixed bottom-20 left-1/2 z-10 w-[calc(100vw-2rem)] max-w-[22.75rem] -translate-x-1/2 rounded-lg bg-background-primary p-4 shadow-1 md:left-auto md:right-6 md:translate-x-0",u=({data:e,onClose:t})=>{let a=(0,i.u)(),u=(0,l.Ru)({lang:a,dict:c}),{showResult:m,videoRef:h}=(e=>{let[t,a]=(0,o.useState)(!1),r=(0,o.useRef)(null),l=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let n=r.current;if(!n||t)return;let s=()=>{l.current||(l.current=setTimeout(()=>{a(!0)},1e3*e))},i=()=>{n.play().catch(()=>{a(!0)})},o=()=>{s()},c=()=>{a(!0)};return n.addEventListener("canplay",i),n.addEventListener("play",o),n.addEventListener("error",c),n.readyState>=3&&n.play().then(s).catch(()=>{a(!0)}),()=>{n.removeEventListener("canplay",i),n.removeEventListener("play",o),n.removeEventListener("error",c),l.current&&clearTimeout(l.current)}},[e,t]),{showResult:t,videoRef:r}})(e.animation.duration),f=(0,r.jsx)("button",{type:"button","aria-label":u("close"),onClick:t,className:"absolute top-1 right-1 flex items-center justify-center p-2 text-text-secondary hover:opacity-70",children:(0,r.jsx)(n.bm,{"aria-label":u("close")})});return m?(0,r.jsxs)("div",{className:d,"aria-live":"polite",children:[(0,r.jsxs)("div",{className:"flex min-h-32 items-center gap-3 pr-6",children:[(0,r.jsx)("div",{className:"h-[6.5rem] w-[6.5rem] flex-shrink-0",children:(0,r.jsx)(s.default,{src:e.resultImage.url,alt:e.content.title||"campaign",width:e.resultImage.width,height:e.resultImage.height,className:"block h-full w-full object-contain"})}),(0,r.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsx)("strong",{className:"font-bold text-base text-text-primary leading-snug",children:e.content.title||u("defaultTitle")}),e.content.text&&(0,r.jsx)("p",{className:"text-sm text-text-secondary leading-normal",children:e.content.text})]}),(0,r.jsx)("button",{type:"button","aria-label":u("shareAriaLabel"),onClick:()=>{let t=encodeURIComponent(e.share.text),a=encodeURIComponent(e.share.url);window.open(`https://x.com/intent/tweet?text=${t}&url=${a}`,"_blank","noopener,width=550,height=450")},className:"block w-full rounded-lg bg-surface-primary px-4 py-2 text-center font-bold text-sm text-text-invert hover:opacity-90",children:u("shareButton")})]})]}),f]}):(0,r.jsxs)("div",{className:d,"aria-live":"polite",children:[(0,r.jsxs)("div",{className:"flex min-h-32 items-center gap-3 pr-6",children:[(0,r.jsx)("div",{className:"h-[6.5rem] w-[6.5rem] flex-shrink-0",children:(0,r.jsx)("video",{ref:h,src:e.animation.url,className:"block h-full w-full object-contain",playsInline:!0,muted:!0,autoPlay:!0,preload:"auto","aria-label":u("drawAnimationAriaLabel")})}),(0,r.jsx)("p",{className:"min-w-0 flex-1 font-bold text-base text-text-primary leading-snug",children:u("animationMessage")})]}),f]})}}}]);

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.