PageSourceSearch

https://satena.com/_next/static/chunks/2459-4d43f3bc1793bb96.js

js satena.com collected 2026-10-02 10:26:05 UTC 11,261 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2459],{3998:(e,t,r)=>{r.d(t,{$:()=>o});var n=r(95155);r(12115);var a=r(17129),l=r(83101),i=r(14615);let s=(0,l.F)("font-title inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm md:text-xl font-semibold md:font-bold transition-all duration-500 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",fill1:"bg-satena-1 text-white border-2 border-satena-8/80 hover:bg-white hover:text-satena-1",fill2:"bg-satena-2 text-white border-2 border-satena-8/80 hover:bg-white hover:text-satena-2",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",outline1:"border-2 border-satena-2 text-satena-2 bg-white hover:bg-satena-2 hover:text-white",outline2:"border-2 border-white text-white bg-transparent transition duration-700 transition hover:scale-110 hover:bg-white hover:text-black",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline",menu:"text-primary md:!text-lg !font-normal hover:text-satena-2 hover:!font-bold",navbarIcon:"p-2 rounded-full focus-visible:ring-0 focus-visible:ring-offset-0 text-gray-600 dark:text-gray-300 transition-colors hover:text-[--satena-2] active:text-[--satena-2]"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-12 px-8 has-[>svg]:px-6",icon:"size-9"},shadow:{default:"",shadow1:"shadow-[0px_3px_6px]/25",shadow2:"shadow-[0px_2px_17px]/50 shadow-satena-2",shadow3:"shadow-[3px_3px_5px]/25"}},defaultVariants:{variant:"default",size:"default",shadow:"default"}});function o(e){let{className:t,variant:r,size:l,shadow:o,asChild:d=!1,...c}=e,u=d?a.DX:"button";return(0,n.jsx)(u,{"data-slot":"button",className:(0,i.cn)(s({variant:r,size:l,shadow:o,className:t})),...c})}},15239:(e,t,r)=>{r.d(t,{default:()=>a.a});var n=r(54652),a=r.n(n)},27937:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},37275:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(95155),a=r(12115);function l(e,t){switch(t.type){case"NEXT":return{...e,currentIndex:(e.currentIndex+1)%t.length};case"PREVIOUS":return{...e,currentIndex:e.currentIndex>0?e.currentIndex-1:t.length-1};case"GOTO":return{...e,currentIndex:t.index};case"PAUSE":return{...e,isAutoPlaying:!1};case"RESUME":return{...e,isAutoPlaying:!0};default:return e}}var i=r(14615),s=r(3998),o=r(90368),d=r(27937);function c(e){let{elements:t,enableAutoPlaying:r,autoPlayIntervalDelay:c,carouselClassName:u="",elementContainerClassName:h="",buttonsClassName:x={container:"",icon:""},indicatorsClassName:f={container:"",generalIndicators:"",activeIndicator:"",noActiveIndicator:""}}=e,{currentIndex:v,goToPrevious:g,goToNext:m,goToSlide:p,pauseAutoPlay:b,resumeAutoPlay:w,handleTouchStart:y,handleTouchMove:j,handleTouchEnd:k}=function(e){let{length:t,enableAutoPlaying:r=!0,autoPlayIntervalDelay:n=4e3}=e,[i,s]=(0,a.useReducer)(l,{currentIndex:0,isAutoPlaying:!!r}),o=(0,a.useRef)(null),d=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(!r||!i.isAutoPlaying)return;let e=setInterval(()=>{s({type:"NEXT",length:t})},n);return()=>clearInterval(e)},[r,i.isAutoPlaying,t,n]);let c=()=>{s({type:"PREVIOUS",length:t}),s({type:"PAUSE"}),r&&setTimeout(()=>s({type:"RESUME"}),n)},u=()=>{s({type:"NEXT",length:t}),s({type:"PAUSE"}),r&&setTimeout(()=>s({type:"RESUME"}),n)};return{currentIndex:i.currentIndex,isAutoPlaying:i.isAutoPlaying,goToPrevious:c,goToNext:u,goToSlide:e=>{s({type:"GOTO",index:e}),s({type:"PAUSE"}),r&&setTimeout(()=>s({type:"RESUME"}),n)},pauseAutoPlay:()=>s({type:"PAUSE"}),resumeAutoPlay:()=>{r&&s({type:"RESUME"})},handleTouchStart:e=>{o.current=e.changedTouches[0].clientX},handleTouchMove:e=>{d.current=e.changedTouches[0].clientX},handleTouchEnd:()=>
1{if(null!==o.current&&null!==d.current){let e=o.current-d.current;e>50?u():e<-50&&c()}o.current=null,d.current=null}}}({length:t.length,enableAutoPlaying:r,autoPlayIntervalDelay:c});return(0,n.jsxs)("div",{className:(0,i.cn)("relative w-full h-fit overflow-hidden",u),onMouseEnter:b,onMouseLeave:w,onTouchStart:y,onTouchMove:j,onTouchEnd:k,children:[(0,n.jsx)("div",{className:(0,i.cn)("flex transition-transform duration-500 ease-in-out h-full",h),style:{transform:"translateX(-".concat(100*v,"%)")},children:t.map((e,t)=>(0,n.jsx)("div",{className:"w-full h-full shrink-0 relative",children:e},t))}),(0,n.jsx)(s.$,{variant:"outline",size:"icon",className:(0,i.cn)(t.length>1?"hidden md:inline-flex absolute  left-0 top-1/2 transform -translate-y-1/2 border-none rounded-none h-full w-16 bg-transparent hover:bg-transparent bg-radial-[53.76%_53.76%_at_0%_46.06%] transition-colors duration-500 focus-visible:from-satena-8/90 hover:from-satena-8/90 hover:to-transparent":"hidden",x.container),onClick:g,"aria-label":"Previous image",children:(0,n.jsx)(o.A,{className:(0,i.cn)("text-white drop-shadow-lg drop-shadow-black size-6",x.icon)})}),(0,n.jsx)(s.$,{variant:"outline",size:"icon",className:(0,i.cn)(t.length>1?"hidden md:inline-flex absolute right-0 top-1/2 transform -translate-y-1/2 border-none rounded-none h-full w-16 bg-transparent hover:bg-transparent bg-radial-[53.76%_53.76%_at_100%_46.06%] transition-colors duration-500 focus-visible:from-satena-8/90 hover:from-satena-8/90 hover:to-transparent":"hidden",x.container),onClick:m,"aria-label":"Next image",children:(0,n.jsx)(d.A,{className:(0,i.cn)("text-white drop-shadow-lg drop-shadow-black size-6",x.icon)})}),(0,n.jsx)("div",{className:(0,i.cn)("absolute bottom-6 left-1/2 transform -translate-x-1/2 flex space-x-2",f.container),children:t.map((e,t)=>(0,n.jsx)("button",{className:(0,i.cn)("h-2 rounded-full transition-all duration-200 bg-white drop-shadow-xs drop-shadow-black",t===v?(0,i.cn)("w-6 scale-110",f.activeIndicator):(0,i.cn)("w-2 opacity-50 hover:opacity-70",f.noActiveIndicator),f.generalIndicators),onClick:()=>p(t),"aria-label":"Go to image ".concat(t+1)},t))})]})}},54652:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getImageProps:function(){return s}});let n=r(28140),a=r(75040),l=r(81356),i=n._(r(71124));function s(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let o=l.Image},55830:(e,t,r)=>{r.d(t,{l:()=>s});var n=r(95155),a=r(39392),l=r(14615),i=r(15239);function s(e){var t,r,s,o,d,c,u,h;let{xl:x,lg:f,md:v,sm:g,children:m}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.default,{src:x.src,alt:x.alt,priority:x.priority,width:x.fill?void 0:null!=(t=x.width)?t:a.Uw.XL.width,height:x.fill?void 0:null!=(r=x.height)?r:a.Uw.XL.height,fill:x.fill,className:(0,l.cn)("hidden lg:block",x.className)}),(0,n.jsx)(i.default,{src:f.src,alt:f.alt,priority:f.priority,width:f.fill?void 0:null!=(s=f.width)?s:a.Uw.LG.width,height:f.fill?void 0:null!=(o=f.height)?o:a.Uw.LG.height,fill:f.fill,className:(0,l.cn)("hidden md:block lg:hidden",f.className)}),(0,n.jsx)(i.default,{src:v.src,alt:v.alt,priority:v.priority,width:v.fill?void 0:null!=(d=v.width)?d:a.Uw.MD.width,height:v.fill?void 0:null!=(c=v.height)?c:a.Uw.MD.height,fill:v.fill,className:(0,l.cn)("hidden sm:block md:hidden",v.className)}),(0,n.jsx)(i.default,{src:g.src,alt:g.alt,priority:g.priority,width:g.fill?void 0:null!=(u=g.width)?u:a.Uw.SM.width,height:g.fill?void 0:null!=(h=g.height)?h:a.Uw.SM.height,fill:g.fill,className:(0,l.cn)("block sm:hidden",g.className)}),m]})}},82459:(e,t,r)=>{r.d(t,{BannerCarousel:()=>u});var n=r(95155),a=r(52619),l=r.n(a),i=r(14615),s=r(37275),o=r(55830),d=r(3998),c=r(98739);function u(e){let{sectionName:t,images:r,currentLang:a}=e;
1return(0,n.jsx)("section",{id:t,children:(0,n.jsx)(s.A,{carouselClassName:"2xl:h-[830px]",indicatorsClassName:{container:"bottom-0.5 md:bottom-28 lg:bottom-6"},elements:r.map((e,t)=>{var r;return(0,n.jsx)(o.l,{xl:{src:e.src.xl,alt:e.alt,className:"2xl:w-full"},lg:{src:e.src.lg,alt:e.alt},md:{src:e.src.md,alt:e.alt},sm:{src:e.src.sm,alt:e.alt},children:void 0!==e.content?(0,n.jsxs)("div",{className:" flex flex-row md:flex-col justify-end max-w-screen md:max-w-2/3 lg:max-w-7/12 h-fit absolute md:left-28 lg:left-32 top-5/12 md:top-1/4 text-white gap-4 px-8 md:px-0",children:[(0,n.jsxs)("h2",{className:"text-shadow-sm text-shadow-black text-start text-xl md:text-2xl lg:text-4xl 2xl:text-5xl",children:[e.content.text," ",e.content.text&&e.content.em&&(0,n.jsx)("br",{}),(0,n.jsx)("strong",{className:"text-xl md:text-2xl lg:text-4xl 2xl:text-5xl",children:e.content.em})]}),e.href&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.$,{className:"hidden md:inline-flex ml-auto drop-shadow-md drop-shadow-black",variant:"outline2",asChild:!0,children:(0,n.jsx)(l(),{href:(0,i.z5)({lang:a,url:e.href}),children:e.content.btn})}),(0,n.jsx)(d.$,{className:"inline-flex md:hidden self-center drop-shadow-sm drop-shadow-black ml-auto",variant:"outline2",size:"icon",asChild:!0,children:(0,n.jsx)(l(),{href:(0,i.z5)({lang:a,url:e.href}),"aria-label":e.content.btn,children:(0,n.jsx)(c.A,{className:"drop-shadow-sm drop-shadow-black stroke-3"})})})]})]}):e.href&&(0,n.jsx)(l(),{href:(0,i.z5)({lang:a,url:e.href}),"aria-label":null!=(r=e.ariaLabel)?r:e.alt,className:"absolute top-0 inset-0"})},t)})})})}},83101:(e,t,r)=>{r.d(t,{F:()=>i});var n=r(2821);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=n.$,i=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return l(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let l=a(t)||a(n);return i[e][l]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return l(e,o,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...d}[t]):({...s,...d})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},90368:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},98739:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(71847).A)("move-up-right",[["path",{d:"M13 5H19V11",key:"1n1gyv"}],["path",{d:"M19 5L5 19",key:"72u4yj"}]])}}]);

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.