PageSourceSearch

https://bw5-app.vercel.app/_next/static/chunks/app/page-eaa2a0ffe5a957cc.js

js bw5-app.vercel.app collected 2026-10-03 06:19:43 UTC 86,423 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{7676:(e,t,a)=>{Promise.resolve().then(a.bind(a,46807))},46807:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>eS});var s=a(95155),l=a(12115),i=a(93318),n=a(80642),r=a(44539),c=a(67033),o=a(6923),d=a(1275),x=a(66070),m=a(10447),p=a(45425),h=a(40557),u=a(96550),b=a(83132),f=a(95697),g=a(5937);let j=[{id:"hero",label:"ホーム",icon:p.A},{id:"schedule",label:"演目情報",icon:r.A},{id:"pamphlet",label:"パンフ",icon:h.A},{id:"merch",label:"ショップ",icon:u.A},{id:"music",label:"音源",icon:b.A},{id:"vote",label:"投票",icon:f.A},{id:"sns",label:"SNS",icon:g.A}];function y({activeSection:e,onNavigate:t,hiddenSections:a=[]}){let l=j.filter(e=>!a.includes(e.id));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("nav",{className:"fixed bottom-0 left-0 right-0 z-50 md:hidden",style:{background:"rgba(255,255,255,0.97)",borderTop:"1px solid rgba(0,0,0,0.06)",boxShadow:"0 -4px 20px rgba(0,0,0,0.08)",paddingBottom:"env(safe-area-inset-bottom, 0px)"},children:(0,s.jsx)("div",{className:"flex items-stretch justify-around px-1 pt-1.5 pb-1",children:l.map(a=>{let l=a.icon,n=e===a.id;return(0,s.jsxs)("button",{onClick:()=>t(a.id),className:"relative flex flex-col items-center justify-center flex-1 py-1.5 transition-all",children:[n&&(0,s.jsx)(i.P.div,{layoutId:"tab-indicator",className:"absolute -top-1.5 w-5 h-[3px] rounded-full",style:{background:"#f27a1a"},transition:{type:"spring",stiffness:400,damping:30}}),(0,s.jsx)(l,{size:20,strokeWidth:n?2.5:1.8,style:{color:n?"#f27a1a":"#aaa",transition:"color 0.2s"}}),(0,s.jsx)("span",{className:"text-[9px] font-bold mt-0.5 leading-tight",style:{color:n?"#f27a1a":"#aaa",transition:"color 0.2s"},children:a.label})]},a.id)})})}),(0,s.jsx)("nav",{className:"hidden md:block sticky top-0 z-30 glass border-b border-white/5",children:(0,s.jsx)("div",{className:"max-w-4xl mx-auto px-4 flex items-center gap-1 overflow-x-auto py-2",children:l.map(a=>{let l=a.icon;return(0,s.jsxs)("button",{onClick:()=>t(a.id),className:`flex items-center gap-2 px-4 py-2 rounded-full whitespace-nowrap transition-all text-sm ${e===a.id?"bg-white/20 text-white font-semibold":"text-[#a0a0a0] hover:text-white hover:bg-white/5"}`,children:[(0,s.jsx)(l,{size:16}),a.label]},a.id)})})})]})}var v=a(61792),N=a(86272),w=a(24893),k=a(76721),S=a(98500),z=a.n(S);let C={performance:{icon:b.A,color:"#60a5fa",label:"演目"},guest:{icon:f.A,color:"#fbbf24",label:"GUEST"},special:{icon:N.A,color:"#ec4899",label:"SPECIAL"},break:{icon:w.A,color:"#4ade80",label:"休憩"}};function _(){let[e,t]=(0,l.useState)(1),[a,r]=(0,l.useState)(()=>new Date),c=(0,l.useRef)(null),o=(0,v.W)(c,{once:!0,margin:"-80px"});(0,l.useEffect)(()=>{let e=sessionStorage.getItem("bw5_active_part");e&&["1","2","3"].includes(e)&&t(Number(e))},[]),(0,l.useEffect)(()=>{sessionStorage.setItem("bw5_active_part",String(e))},[e]),(0,l.useEffect)(()=>{let e=setInterval(()=>r(new Date),3e4);return()=>clearInterval(e)},[]);let d=(0,l.useMemo)(()=>{let t=x.Qj.filter(t=>t.part===e&&"break"!==t.type),a=0;return t.map(e=>{let t="performance"===e.type||"guest"===e.type||"special"===e.type;return t&&a++,{...e,seq:t?a:null}})},[e]),m=(0,l.useMemo)(()=>{for(let e of x.Qj){let t=(0,x.pe)(e.startTime),s=(0,x.r9)(e);if(a>=t&&a<s)return e.id}return null},[a]),p=(0,l.useMemo)(()=>x.dI.map(e=>{let t=x.Qj.filter(t=>t.part===e.part),a=t.filter(e=>"performance"===e.type||"guest"===e.type||"special"===e.type).length;return{...e,performances:a,total:t.length}}),[]);return(0,s.jsx)("section",{id:"schedule",className:"py-16 px-4 sm:px-6",children:(0,s.jsxs)("div",{className:"max-w-lg mx-auto",ref:c,children:[(0,s.jsx)(i.P.div,{className:"text-center mb-8",initial:{opacity:0,y:20},animate:o?{opacity:1,y:0}:{},transition:{duration:.6},children:(0,s.jsx)("h2",{className:"text-3xl sm:text-4xl font-black tracking-tight gradient-text mb-3",children:"TIMETABLE"})}),(0,s.jsx)(i.P.div,{className:"flex gap-2 mb-6",initial:{opacity:0,y:10},animate:o?{opacity:1,y:0}:{},transition:{duration:.5,delay:.1},children:p.map(a=>{let l=e===a.part;return(0,s.jsxs)("button",{onClick:()=>t(a.part),className:"flex-1 relative rounded-xl py-3 px-2 text-center transition-all duration-300 overflow-hidden",style:{background:l?"rgba(255,255,255,0.95)":"rgba(255,255,255,0.1)",border:l?"1px solid rgba(255,255,255,0.8)":"1px solid rgba(255,255,255,0.15)"},children:[(0,s.jsx)("div",{className:"text-base font-black",style:{color:l?"#f27a1a":"rgba(255,255,255,0.8)"},children:a.label}),(0,s.jsxs)("div",{className:"text-[10px] font-bold mt-0.5",style:{color:l?"#c46010":"rgba(255,255,255,0.4)"},children:[a.startTime,"〜 / ",a.performances,"演目"]})]},a.part)})}),(0,s.jsx)(n.N,{mode:"wait",children:(0,s.jsx)(i.P.div,{className:"space-y-2",initial:{opacity:0,x:20}
1,animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.3},children:d.map((e,t)=>{let a=m===e.id,l=C[e.type],n=l.icon,r="performance"===e.type||"guest"===e.type||"special"===e.type,c=`flex items-center gap-3 rounded-xl px-3.5 py-3 transition-all ${r?"cursor-pointer active:scale-[0.98]":""}`,o=(0,s.jsxs)(i.P.div,{className:c,style:{background:a?"rgba(255,255,255,0.95)":r?"rgba(255,255,255,0.1)":"rgba(255,255,255,0.05)",border:a?"1px solid rgba(255,255,255,0.8)":"1px solid rgba(255,255,255,0.08)",boxShadow:a?"0 4px 20px rgba(0,0,0,0.15)":"none"},initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.3,delay:.03*t},children:[(0,s.jsx)("div",{className:"w-[42px] shrink-0 flex flex-col items-center",children:null!=e.seq?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"text-[8px] font-bold tracking-widest uppercase leading-none mb-0.5",style:{color:a?"#f27a1a":"rgba(255,255,255,0.35)"},children:"No."}),(0,s.jsxs)("span",{className:"text-lg font-black tabular-nums leading-none",style:{color:a?"#f27a1a":"#fff"},children:[e.part,"-",e.seq]})]}):null}),(0,s.jsx)("div",{className:"w-7 h-7 rounded-lg flex items-center justify-center shrink-0",style:{background:a?l.color:`${l.color}22`},children:(0,s.jsx)(n,{size:14,style:{color:a?"#fff":l.color}})}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[a&&(0,s.jsxs)("span",{className:"relative flex h-2 w-2 shrink-0",children:[(0,s.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full opacity-75",style:{background:"#22c55e"}}),(0,s.jsx)("span",{className:"relative inline-flex rounded-full h-2 w-2",style:{background:"#22c55e"}})]}),(0,s.jsx)("span",{className:"text-sm font-bold truncate ",style:{color:a?"#222":"#fff"},children:e.title}),"guest"===e.type&&(0,s.jsx)("span",{className:"text-[9px] font-black tracking-widest px-1.5 py-0.5 rounded",style:{background:"#fbbf24",color:"#1a1a1a"},children:"GUEST"}),"special"===e.type&&(0,s.jsx)("span",{className:"text-[9px] font-black tracking-widest px-1.5 py-0.5 rounded",style:{background:"#ec4899",color:"#fff"},children:"SPECIAL"})]}),e.subtitle&&"guest"!==e.type&&(0,s.jsx)("div",{className:"text-[10px] font-medium mt-0.5 truncate",style:{color:a?"#666":"rgba(255,255,255,0.55)"}
1,children:e.subtitle})]}),a?(0,s.jsx)("span",{className:"text-[9px] font-black tracking-wider uppercase px-2 py-0.5 rounded-full",style:{background:"#22c55e",color:"#fff"},children:"NOW"}):r?(0,s.jsx)(k.A,{size:14,style:{color:"rgba(255,255,255,0.2)"}}):null]});return r?(0,s.jsx)(z(),{href:`/performance/${e.id}`,className:"block",children:o},e.id):(0,s.jsx)("div",{children:o},e.id)})},e)}),(0,s.jsx)(i.P.div,{className:"mt-6 text-center",initial:{opacity:0},animate:o?{opacity:1}:{},transition:{delay:.5},children:(0,s.jsxs)("p",{className:"text-[10px] text-white/40 tracking-wider",children:["全",x.Qj.filter(e=>"performance"===e.type||"guest"===e.type||"special"===e.type).length,"演目 / 3部構成 / 14:30〜18:15"]})})]})})}var A=a(92483),P=a(5772);let I="Make It Boom",E="2026-05-04T00:00:00+09:00",M=["Spotify","Apple Music","LINE MUSIC","Amazon Music","YouTube Music","iTunes Store"];function O({releaseAt:e}){let[t,a]=(0,l.useState)(null);if((0,l.useEffect)(()=>{let t=()=>{let t=new Date(e).getTime()-Date.now();t<=0?a(null):a({d:Math.floor(t/864e5),h:Math.floor(t%864e5/36e5),m:Math.floor(t%36e5/6e4),s:Math.floor(t%6e4/1e3)})};t();let s=setInterval(t,1e3);return()=>clearInterval(s)},[e]),!t)return null;let i=({value:e,label:t})=>(0,s.jsxs)("div",{className:"flex flex-col items-center min-w-[56px] px-2 py-1.5 rounded-lg",style:{background:"rgba(255,255,255,0.08)"},children:[(0,s.jsx)("span",{className:"font-mono text-xl font-black text-white leading-none",children:String(e).padStart(2,"0")}),(0,s.jsx)("span",{className:"text-[9px] font-bold text-white/60 tracking-widest mt-0.5",children:t})]});return(0,s.jsxs)("div",{className:"flex gap-2 justify-center",children:[(0,s.jsx)(i,{value:t.d,label:"DAYS"}),(0,s.jsx)(i,{value:t.h,label:"HOURS"}),(0,s.jsx)(i,{value:t.m,label:"MIN"}),(0,s.jsx)(i,{value:t.s,label:"SEC"})]})}function T(){let e=(0,l.useRef)(null),t=(0,v.W)(e,{once:!0,margin:"-100px"}),[a,n]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=()=>n(new Date(E).getTime()<=Date.now());e();let t=setInterval(e,1e3);return()=>clearInterval(t)},[]),(0,s.jsx)("section",{id:"music",className:"py-20 px-4 sm:px-6",children:(0,s.jsxs)("div",{className:"max-w-lg mx-auto",ref:e,children:[(0,s.jsxs)(i.P.div,{className:"text-center mb-10",initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6},children:[(0,s.jsx)("h2",{className:"text-3xl sm:text-4xl font-black tracking-tight gradient-text mb-2",children:"MUSIC"}),(0,s.jsx)("p",{className:"text-xs text-white/60",children:"オリジナル楽曲 NEW RELEASE"}),(0,s.jsx)("div",{className:"section-divider max-w-[200px] mx-auto mt-3"})]}),(0,s.jsxs)(i.P.div,{className:"rounded-3xl overflow-hidden",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.12)"},initial:{opacity:0,y:30},animate:t?{opacity:1,y:0}:{},transition:{duration:.6},children:[(0,s.jsxs)("div",{className:"relative w-full aspect-square bg-[#c7184c]",children:[(0,s.jsx)(P.default,{src:"/music/make_it_boom_jacket.jpg",alt:I,fill:!0,className:"object-cover",sizes:"(max-width: 768px) 90vw, 512px",priority:!0}),(0,s.jsx)("div",{className:"absolute top-3 left-3 flex items-center gap-1.5 px-3 py-1 rounded-full text-[10px] font-black tracking-widest",style:{background:"#fff",color:"#c7184c"},children:a?"NEW RELEASE":"PRE-ADD NOW"})]}),(0,s.jsxs)("div",{className:"p-6",children:[(0,s.jsx)("p",{className:"text-[11px] font-bold tracking-widest text-[#ff6b9a] mb-1",children:"BOOM SENDAI"}),(0,s.jsx)("h3",{className:"text-2xl sm:text-3xl font-black text-white leading-tight",children:I}),(0,s.jsx)("p",{className:"text-xs text-white/50 mt-1",children:"BOOM Records"}),!a&&(0,s.jsxs)("div",{className:"mt-5",children:[(0,s.jsx)("p",{className:"text-[10px] font-bold tracking-widest text-white/70 text-center mb-2",children:"RELEASE COUNTDOWN"}),(0,s.jsx)(O,{releaseAt:E})]}),(0,s.jsxs)("dl",{className:"mt-5 grid grid-cols-[auto_1fr] gap-x-3 gap-y-2 text-[11px]",children:[(0,s.jsx)("dt",{className:"text-white/40 font-semibold",children:"配信開始"}),(0,s.jsx)("dd",{className:"text-white/90",children:"2026年5月4日(月)"}),(0,s.jsx)("dt",{className:"text-white/40 font-semibold",children:"ジャンル"}),(0,s.jsx)("dd",{className:"text-white/90",children:"HIPHOP / R&B"}),(0,s.jsx)("dt",{className:"text-white/40 font-semibold",children:"作詞・作曲"}),(0,s.jsx)("dd",{className:"text-white/90",children:"BOOM SENDAI"}),(0,s.jsx)("dt",{className:"text-white/40 font-semibold",children:"プラットフォーム"}),(0,s.jsx)("dd",{className:"text-white/90 leading-relaxed",children:M.join("、")})]}),(0,s.jsx)("p",{className:"mt-5 text-[11px] text-white/60 leading-relaxed",children:a?"各種サブスクリプションサービスで配信中。iTunes Store ではダウンロード販売も実施中。":"Apple Music での Pre-Add、iTunes Store での予約購入が可能です。リリース日に通知を受け取れます。"}),(0,s.jsxs)("a",{href:"https://linkco.re/E4SqSMGE",target:"_blank",rel:"noopener noreferrer",className:"mt-5 w-full py-3.5 rounded-full text-sm font-bold text-white flex items-center justify-center gap-2 transition-transform active:scale-95 shadow-lg",style:{background:"linear-gradient(135deg, #c7184c 0%, #ff6b9a 100%)"},children:[(0,s.jsx)(b.A,{size:16}),a?"配信リンクを開く":"Pre-Add / 予約購入へ",(0,s.jsx)(d.A,{size:14})]}),(0,s.jsx)("p",{className:"text-[10px] text-white/40 text-center mt-2",children:"TuneCore Link(
1各配信プラットフォームへ)"})]})]})]})})}var F=a(54757),D=a(9005),R=a(64577);function $(){let e=localStorage.getItem("bw5_vote_fp");return e||(e=Math.random().toString(36).substring(2)+Date.now().toString(36)+Math.random().toString(36).substring(2),localStorage.setItem("bw5_vote_fp",e)),e}function L(){let[e,t]=(0,l.useState)([]),[a,r]=(0,l.useState)(!1),[c,o]=(0,l.useState)(null),[d,x]=(0,l.useState)(!1),[m,p]=(0,l.useState)(null),h=(0,l.useRef)(null),u=(0,v.W)(h,{once:!0,margin:"-100px"}),b=(0,l.useMemo)(()=>{if(0===e.length)return[];let t=localStorage.getItem("bw5_vote_fp")||"0",a=0;for(let e=0;e<t.length;e++)a=(a<<5)-a+t.charCodeAt(e)|0;let s=[...e];for(let e=s.length-1;e>0;e--){let t=Math.abs(a=(9301*a+49297)%233280)%(e+1);[s[e],s[t]]=[s[t],s[e]]}return s},[e]),g=(0,l.useCallback)(async()=>{try{let e=$(),a=await fetch(`/api/vote?fingerprint=${encodeURIComponent(e)}`).then(e=>e.json());t(a.candidates||[]),a.voted&&(r(!0),o(a.voted_candidate_id))}catch{}},[]);(0,l.useEffect)(()=>{g()},[g]);let j=async e=>{if(!a&&!d){x(!0);try{let t=await fetch("/api/vote",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({candidate_id:e,fingerprint:$()})});if(t.ok)r(!0),o(e),await g();else{let e=await t.json();e.error?.includes("already")&&(r(!0),await g())}}catch{}finally{x(!1)}}};return(0,s.jsx)("section",{id:"vote",className:"py-20 px-4 sm:px-6",children:(0,s.jsxs)("div",{className:"max-w-2xl mx-auto",ref:h,children:[(0,s.jsxs)(i.P.div,{className:"text-center mb-12",initial:{opacity:0,y:20},animate:u?{opacity:1,y:0}:{},transition:{duration:.6},children:[(0,s.jsx)("h2",{className:"text-3xl sm:text-4xl font-black tracking-tight gradient-text mb-2",children:"VOTE"}),(0,s.jsx)("div",{className:"section-divider max-w-[200px] mx-auto"})]}),(0,s.jsxs)(i.P.div,{className:"card p-6 sm:p-8 max-w-md mx-auto",initial:{opacity:0,y:30},animate:u?{opacity:1,y:0}:{},transition:{duration:.5,delay:.1},children:[(0,s.jsx)("div",{className:"flex justify-center mb-6",children:(0,s.jsx)(i.P.div,{className:"w-full max-w-[280px] aspect-square relative rounded-2xl overflow-hidden",initial:{opacity:0,scale:.95},animate:u?{opacity:1,scale:1}:{},transition:{duration:.6},children:(0,s.jsx)(P.default,{src:"/images/vote_naming.png",alt:"BOOMくん 名前募集",fill:!0,className:"object-contain",sizes:"(max-width: 768px) 80vw, 280px"})})}),(0,s.jsx)("h3",{className:"text-center text-lg font-bold text-white mb-2",children:"キャラクターの名前を決めよう!"}),(0,s.jsxs)("p",{className:"text-[12px] leading-relaxed text-white/70 mb-5 px-1",children:["BOOMくんと呼ばれているこのキャラクター、実は",(0,s.jsx)("strong",{className:"text-white",children:"正式名称がまだありません"}),"。事前に Instagram で名前を募集し、寄せられた候補から残った 4つ を、今日この会場の皆さんと一緒に決めていきます。あなたの一票が、この子の名前になります \uD83C\uDF89"]}),a?(0,s.jsxs)(i.P.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.5},className:"rounded-2xl p-6 text-center",style:{background:"linear-gradient(135deg, rgba(242,122,26,0.18), rgba(220,76,4,0.12))",border:"1px solid rgba(242,122,26,0.4)"},children:[(0,s.jsx)(F.A,{size:28,className:"mx-auto mb-2",style:{color:"#f27a1a",fill:"#f27a1a"}}),(0,s.jsx)("p",{className:"text-[11px] tracking-widest uppercase font-bold mb-2",style:{color:"#ffb37a"},children:"あなたが選んだ名前"}),(0,s.jsx)("p",{className:"text-2xl font-black text-white leading-tight",children:e.find(e=>e.id===c)?.name??"—"}),(0,s.jsx)("p",{className:"text-[11px] text-white/60 mt-3",children:"投票ありがとうございます!結果はMCから発表します\uD83C\uDFA4"})]}):(0,s.jsx)("div",{className:"grid grid-cols-2 gap-3",children:b.map((e,t)=>(0,s.jsx)(i.P.button,{onClick:()=>p(e),disabled:d,className:"py-4 px-3 rounded-xl text-sm font-bold transition-all bg-[var(--bg-secondary)] border border-[var(--border-color)] text-white hover:border-[var(--accent-primary)] hover:bg-[var(--accent-primary)]/10 disabled:opacity-50 leading-tight",initial:{opacity:0,scale:.9},animate:u?{opacity:1,scale:1}:{},transition:{duration:.4,delay:.2+.08*t},whileHover:{scale:1.04},whileTap:{scale:.96},children:e.name},e.id))})]}),(0,s.jsx)(n.N,{children:m&&(0,s.jsxs)(i.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center px-4",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:()=>!d&&p(null)}),(0,s.jsxs)(i.P.div,{initial:{scale:.9,y:20},animate:{scale:1,y:0},exit:{scale:.9,y:20},className:"relative bg-white rounded-3xl w-full max-w-sm p-6 text-center",children:[(0,s.jsx)("p",{className:"text-xs text-gray-500 mb-2 font-bold tracking-widest",children:"投票確認"}),(0,s.jsx)("p",{className:"text-sm text-gray-700 mb-3",children:"本当にこの名前でOKですか?"}),(0,s.jsx)("div",{className:"rounded-xl py-4 px-3 mb-5",style:{background:"linear-gradient(135deg,#fff7ed,#ffedd5)",border:"2px solid #f27a1a"},children:(0,s.jsx)("p",{className:"text-xl font-black",style:{color:"#dc4c04"},children:m.name})}),(0,s.jsxs)("p",{className:"text-[11px] text-gray-500 mb-5 leading-relaxed",children:["⚠️ 投票は ",(0,s.jsx)("strong",{children:"1人1回のみ"})," です。あとから変更できません。"]}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsxs)("button",{onClick:()=>p(null),disabled:d,className:"flex-1 py-3 rounded-full text-sm font-bold disabled:opacity-50",style:{background:"#f3f4f6",color:"#666"},children:[(0,s.jsx)(D.A,{size:14,className:"inline mr-1 -mt-0.5"}
1),"キャンセル"]}),(0,s.jsxs)("button",{onClick:async()=>{let e=m.id;await j(e),p(null)},disabled:d,className:"flex-[1.5] py-3 rounded-full text-sm font-bold text-white disabled:opacity-50",style:{background:"linear-gradient(135deg,#f27a1a,#dc4c04)"},children:[(0,s.jsx)(R.A,{size:14,className:"inline mr-1 -mt-0.5"}),d?"投票中...":"この名前で投票"]})]})]})]})}),0===e.length&&(0,s.jsxs)("div",{className:"text-center py-12 text-[var(--text-muted)]",children:[(0,s.jsx)(f.A,{className:"mx-auto mb-3 opacity-50",size:32}),(0,s.jsx)("p",{className:"text-sm",children:"投票準備中..."})]})]})})}let W={youtube:{label:"YouTube",color:"#FF0000",icon:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"},instagram:{label:"Instagram",color:"#E4405F",icon:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z"},line:{label:"LINE",color:"#06C755",icon:"M24 10.304c0-5.369-5.383-9.738-12-9.738-6.616 0-12 4.369-12 9.738 0 4.814 4.27 8.846 10.035 9.608.391.084.922.258 1.057.592.121.303.079.778.039 1.085l-.171 1.027c-.053.303-.242 1.186 1.039.647 1.281-.54 6.911-4.069 9.428-6.967C23.02 14.587 24 12.548 24 10.304z"},x:{label:"X",color:"#FFFFFF",icon:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"}};function B(){let[e,t]=(0,l.useState)([]),a=(0,l.useRef)(null),n=(0,v.W)(a,{once:!0,margin:"-100px"});return(0,l.useEffect)(()=>{fetch("/api/sns").then(e=>e.json()).then(e=>t(Array.isArray(e)?e:[])).catch(()=>{})},[]),(0,s.jsx)("section",{id:"sns",className:"py-20 px-4 sm:px-6",children:(0,s.jsxs)("div",{className:"max-w-2xl mx-auto",ref:a,children:[(0,s.jsxs)(i.P.div,{className:"text-center mb-12",initial:{opacity:0,y:20},animate:n?{opacity:1,y:0}:{},transition:{duration:.6},children:[(0,s.jsx)("h2",{className:"text-3xl sm:text-4xl font-black tracking-tight gradient-text mb-2",children:"FOLLOW US"}),(0,s.jsx)("div",{className:"section-divider max-w-[200px] mx-auto"})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-3 sm:gap-4 max-w-sm mx-auto",children:e.map((e,t)=>{let a=W[e.platform]||{label:e.platform,color:"#888",icon:""};return(0,s.jsxs)(i.P.a,{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"card p-5 flex flex-col items-center gap-3 hover:scale-105 transition-transform group",initial:{opacity:0,y:20},animate:n?{opacity:1,y:0}:{},transition:{duration:.4,delay:.1*t},style:{borderColor:`${a.color}30`},children:[(0,s.jsx)("div",{className:"w-12 h-12 rounded-full flex items-center justify-center transition-all group-hover:scale-110",style:{backgroundColor:`${a.color}15`},children:(0,s.jsx)("svg",{viewBox:"0 0 24 24",className:"w-6 h-6",style:{fill:a.color},children:(0,s.jsx)("path",{d:a.icon})})}),(0,s.jsx)("span",{className:"text-sm font-bold text-white",children:a.label})]},e.id)})})]})})}var U=a(5736);let H={pamphlet:{previewImage:"/pamphlet/page-01.webp",unlockMessage:"こちらがデジタルパンフレットの表紙です。中身は 5/5 13:45 開場と同時に解禁します。お楽しみに!"},schedule:{unlockMessage:"演目情報は 5/5 9:00 に解禁します。お楽しみに!"},vote:{unlockMessage:"投票は 5/5 13:45 開場と同時に解禁します。"}};function V({id:e,title:t,subtitle:a,emoji:r,previewImage:c,unlockMessage:o}){let d=H[e]??{},x=c??d.previewImage,m=o??d.unlockMessage,p=!!(x||m),[h,u]=(0,l.useState)(!1);return(0,s.jsxs)("section",{id:e,className:"py-10 px-4 sm:px-6",children:[(0,s.jsx)("div",{className:"max-w-md mx-auto",children:(0,s.jsxs)("button",{type:"button",onClick:()=>p&&u(!0),disabled:!p,className:"relative rounded-2xl p-7 text-center overflow-hidden w-full block transition-transform",style:{background:"rgba(255,255,255,0.95)",border:"1px solid rgba(255,255,255,0.8)",boxShadow:"0 2px 12px rgba(0,0,0,0.06)",cursor:p?"pointer":"default"},children:[(0,s.jsx)("div",{className:"text-3xl mb-2",children:r}),(0,s.jsxs)("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full mb-2",style:{background:"rgba(242,122,26,0.08)",border:"1px solid rgba(242,122,26,0.15)"},children:[(0,s.jsx)(U.A,{size:10,style:{color:"#f27a1a"}}),(0,s.jsx)("span",{className:"text-[9px] font-bold tracking-widest uppercase",style:{color:"#f27a1a"},children:"COMING SOON"})]}),(0,s.jsx)("h3",{className:"text-base font-bold mb-0.5",style:{color:"#333"},children:t}),(0,s.jsx)("p",{className:"text-[11px]",style:{color:"#999"},children:a}),p&&(0,s.jsx)("p",{className:"text-[10px] mt-2 font-bold",style:{color:"#f27a1a"},children:"タップして詳細を見る"})]})}),(0,s.jsx)(n.N,{children:h&&(0,s.jsxs)(i.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center px-4",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:()=>u(!1)}),(0,s.jsxs)(i.P.div,{initial:{y:30,opacity:0},animate:{y:0,opacity:1},exit:{y:30,opacity:0},className:"relative bg-white rounded-3xl w-full max-w-md max-h-[85vh] overflow-y-auto",children:[(0,s.jsx)("button",{onClick:()=>u(!1),className:"absolute top-3 right-3 z-10 w-9 h-9 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center",children:(0,s.jsx)(D.A,{size:18})}),(0,s.jsxs)("div",{className:"p-5 pb-3",style:{background:"linear-gradient(135deg,#f27a1a,#dc4c04)"},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,s.jsx)(U.A,{size:14,className:"text-white"}),(0,s.jsx)("span",{className:"text-[11px] font-black tracking-widest text-white/90",children:"COMING SOON"})]}),(0,s.jsx)("h3",{className:"text-lg font-black text-white leading-tight",children:t})]}),x&&(0,s.jsx)("div",{className:"relative w-full aspect-[3/4] bg-gray-100",children:(0,s.jsx)(P.default,{src:x,alt:t,fill:!0,className:"object-contain",sizes:"(max-width: 768px) 90vw, 400px"})}),(0,s.jsx)("div",{className:"p-5",children:(0,s.jsx)("p",{className:"text-sm text-gray-700 leading-relaxed text-center",children:m})})]})]})})]})}function Q(){return(0,s.jsxs)("footer",{className:"pb-32 pt-12 px-4 text-center",children:[(0,s.jsx)("div",{className:"section-divider max-w-[300px] mx-auto mb-8"}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("p",{className:"text-sm font-bold tracking-widest text-[var(--text-secondary)]",children:"BOOM Dance School"}),(0,s.jsx)("a",{href:"https://boom-sendai.com",target:"_blank",rel:"noopener noreferrer",className:"text-xs text-[var(--accent-primary)] hover:text-[var(--accent-secondary)] transition-colors",children:"boom-sendai.com"}),(0,s.jsx)("p",{className:"text-xs text-[var(--text-muted)]",children:"\xa9 2026 BOOM Dance School. All rights reserved."})]})]})}var G=a(49260),Y=a(2125);let q=Array.from({length:8},(e,t)=>{let a=67*t+5;return{left:15+17*a%70,top:10+23*a%70,dur:2+7*a%20/10,delay:11*a%15/10}});function J(){let[e,t]=(0,l.useState)(!1),[a,r]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(localStorage.getItem("bw5_welcome_seen"))return;let e=navigator.userAgent,a=/iPad|iPhone|iPod/.test(e),s=window.matchMedia("(display-mode: standalone)").matches||!0===navigator.standalone;if(r(a),s)return void localStorage.setItem("bw5_welcome_seen","1");let l=setTimeout(()=>t(!0),600);return()=>clearTimeout(l)},[]);let c=()=>{t(!1),localStorage.setItem("bw5_welcome_seen","1")};return(0,s.jsx)(n.N,{children:e&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[100]",style:{background:"rgba(0,0,0,0.7)",backdropFilter:"blur(8px)"},onClick:c}),(0,s.jsx)(i.P.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},exit:{opacity:0,y:40},transition:{type:"spring",damping:22,stiffness:280},className:"fixed inset-0 z-[101] flex items-center justify-center px-4 pointer-events-none",children:(0,s.jsxs)("div",{className:"w-full max-w-sm rounded-3xl overflow-hidden relative pointer-events-auto",style:{background:"linear-gradient(170deg, #fff 0%, #fff7ed 100%)",boxShadow:"0 20px 60px rgba(220,76,4,0.35)"},children:[(0,s.jsx)("button",{onClick:c,className:"absolute top-3 right-3 z-20 w-8 h-8 rounded-full flex items-center justify-center transition-transform active:scale-90",style:{background:"rgba(0,0,0,0.06)"},"aria-label":"閉じる",children:(0,s.jsx)(D.A,{size:16,style:{color:"#666"}})}),(0,s.jsxs)("div",{className:"relative pt-4 pb-2 px-4",style:{background:"radial-gradient(circle at 50% 30%, rgba(242,122,26,0.18) 0%, transparent 60%)"},children:[(0,s.jsx)("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:q.map((e,t)=>(0,s.jsx)(i.P.span,{className:"absolute text-base",style:{left:`${e.left}%`,top:`${e.top}%`},animate:{y:[0,-10,0],opacity:[.3,.9,.3]},transition:{duration:e.dur,repeat:1/0,delay:e.delay},children:"✨"},t))}),(0,s.jsx)("img",{src:"/images/boomkun_phone.png",alt:"BOOMくんがスマホでホーム画面追加を案内",className:"relative w-full max-w-[280px] mx-auto object-contain",style:{aspectRatio:"3 / 4",filter:"drop-shadow(0 12px 24px rgba(0,0,0,0.18))"}})]}),(0,s.jsxs)("div",{className:"px-6 pt-1 pb-3 text-center",children:[(0,s.jsx)("h2",{className:"text-xl font-black tracking-tight",style:{color:"#dc4c04"},children:"ホーム画面に追加してね"}),(0,s.jsxs)("p",{className:"text-[12px] mt-1.5 leading-relaxed",style:{color:"#666"},children:["当日サクッと開ける専用アプリに変身✨",(0,s.jsx)("br",{}),"本番&カウントダウンを最高に楽しもう"]})]}),a?(0,s.jsxs)("div",{className:"mx-5 mb-4 rounded-2xl p-3.5 space-y-2.5",style:{background:"#fff",border:"1.5px solid rgba(242,122,26,0.25)"},children:[(0,s.jsx)(K,{n:1,icon:(0,s.jsx)(G.A,{size:18,style:{color:"#0a84ff"}}),text:"画面下の",badge:"共有ボタン",badgeIcon:(0,s.jsx)(G.A,{size:11,style:{color:"#0a84ff"}}),badgeColor:"#e8f1ff",after:"をタップ"}),(0,s.jsx)(K,{n:2,icon:(0,s.jsx)(Y.A,{size:18,style:{color:"#dc4c04"}}),text:"メニューから",badge:"ホーム画面に追加",badgeIcon:(0,s.jsx)(Y.A,{size:11,style:{color:"#dc4c04"}}),badgeColor:"#fff0e6",after:""})]}):(0,s.jsx)("div",{className:"mx-5 mb-4 rounded-2xl p-3.5",style:{background:"#fff",border:"1.5px solid rgba(242,122,26,0.25)"},children:(0,s.jsxs)("p",{className:"text-xs leading-relaxed",style:{color:"#444"},children:["Chrome / Safari の ",(0,s.jsx)("strong",{children:"メニュー(︙ または □)"})," から",(0,s.jsx)("br",{}),"→ ",(0,s.jsx)("strong",{className:"text-orange-600",children:"「ホーム画面に追加」"}),"を選択"]})}),(0,s.jsxs)("div",{className:"px-5 pb-5",children:[(0,s.jsx)("button",{onClick:c,className:"w-full py-3.5 rounded-2xl text-base font-black text-white transition-transform active:scale-[0.97]",style:{background:"linear-gradient(135deg, #f27a1a 0%, #dc4c04 100%)",boxShadow:"0 6px 16px rgba(220,76,4,0.35)"},children:"ホーム画面に追加して始める →"}),(0,s.jsx)("button",{onClick:c,className:"w-full mt-2 py-2 text-xs font-medium",style:{color:"#999"},children:"あとで(ブラウザのまま使う)"})]})]})})]})})}function K({n:e,text:t,badge:a,badgeIcon:l,badgeColor:i,after:n}){return(0,s.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,s.jsx)("div",{className:"w-7 h-7 rounded-full flex items-center justify-center font-black text-white shrink-0 text-sm",style:{background:"#f27a1a"},children:e}),(0,s.jsxs)("div",{className:"text-xs font-bold flex items-center gap-1 flex-wrap",style:{color:"#333"},children:[(0,s.jsx)("span",{children:t}),(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded-md text-[11px] font-black",style:{background:i,color:"#222"},children:[l,a]}),n&&(0,s.jsx)("span",{children:n})]})]})}var X=a(95e3);function Z(){let[e,t]=(0,l.useState)(!1),[a,r]=(0,l.useState)(!1),[c,o]=(0,l.useState)(!1);(0,l.useEffect)(()=>
1{if(window.matchMedia("(display-mode: standalone)").matches||!0===navigator.standalone||localStorage.getItem("bw5_a2hs_dismissed"))return;let e=navigator.userAgent;o(/iPad|iPhone|iPod/.test(e)),t(!0)},[]);let d=()=>{t(!1),localStorage.setItem("bw5_a2hs_dismissed","1")};return e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:2},className:"fixed left-0 right-0 z-40 px-3 md:hidden",style:{bottom:"calc(60px + env(safe-area-inset-bottom, 0px))"},children:(0,s.jsxs)("div",{className:"flex items-center gap-3 px-4 py-2.5 rounded-xl",style:{background:"rgba(255,255,255,0.95)",boxShadow:"0 4px 20px rgba(0,0,0,0.1)"},children:[(0,s.jsx)(X.A,{size:16,style:{color:"#f27a1a"},className:"shrink-0"}),(0,s.jsx)("button",{onClick:()=>r(!0),className:"flex-1 text-left",children:(0,s.jsx)("span",{className:"text-[11px] font-bold",style:{color:"#333"},children:"ホーム画面に追加"})}),(0,s.jsx)("button",{onClick:d,className:"shrink-0 p-1",children:(0,s.jsx)(D.A,{size:14,style:{color:"#aaa"}})})]})}),(0,s.jsx)(n.N,{children:a&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[100] bg-black/60 backdrop-blur-sm",onClick:()=>r(!1)}),(0,s.jsxs)(i.P.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{opacity:0,y:50},transition:{type:"spring",damping:25,stiffness:300},className:"fixed inset-x-4 bottom-8 z-[101] max-w-sm mx-auto rounded-2xl overflow-hidden",style:{background:"rgba(255,255,255,0.97)"},children:[(0,s.jsx)("button",{onClick:()=>r(!1),className:"absolute top-3 right-3 z-10 w-7 h-7 rounded-full bg-black/5 flex items-center justify-center",children:(0,s.jsx)(D.A,{size:14,style:{color:"#999"}})}),(0,s.jsxs)("div",{className:"p-5",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)("div",{className:"w-10 h-10 rounded-xl flex items-center justify-center",style:{background:"rgba(242,122,26,0.1)"},children:(0,s.jsx)(X.A,{size:20,style:{color:"#f27a1a"}})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-sm font-black",style:{color:"#333"},children:"ホーム画面に追加"}),(0,s.jsx)("p",{className:"text-[10px]",style:{color:"#999"},children:"アプリのように使えます"})]})]}),c?(0,s.jsx)("div",{className:"space-y-2",children:[{step:"1",title:"画面下の共有ボタンをタップ",desc:"□に↑のアイコン"},{step:"2",title:"「ホーム画面に追加」をタップ",desc:"下にスクロールすると出てきます"},{step:"3",title:"右上の「追加」をタップ",desc:""}].map(e=>(0,s.jsxs)("div",{className:"flex items-start gap-2.5 p-2.5 rounded-lg",style:{background:"#f5f5f5"},children:[(0,s.jsx)("div",{className:"w-6 h-6 rounded-full flex items-center justify-center shrink-0 text-[10px] font-bold text-white",style:{background:"#f27a1a"},children:e.step}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-[11px] font-bold",style:{color:"#333"},children:e.title}),e.desc&&(0,s.jsx)("p",{className:"text-[9px] mt-0.5",style:{color:"#999"},children:e.desc})]})]},e.step))}):(0,s.jsx)("div",{className:"space-y-2",children:[{step:"1",title:"ブラウザの「︙」メニューを開く"},{step:"2",title:"「ホーム画面に追加」をタップ"}].map(e=>(0,s.jsxs)("div",{className:"flex items-start gap-2.5 p-2.5 rounded-lg",style:{background:"#f5f5f5"},children:[(0,s.jsx)("div",{className:"w-6 h-6 rounded-full flex items-center justify-center shrink-0 text-[10px] font-bold text-white",style:{background:"#f27a1a"},children:e.step}),(0,s.jsx)("p",{className:"text-[11px] font-bold",style:{color:"#333"},children:e.title})]},e.step))}),(0,s.jsxs)("div",{className:"flex gap-2 mt-4",children:[(0,s.jsx)("button",{onClick:d,className:"flex-1 py-2.5 rounded-xl text-[11px] font-medium",style:{background:"#f0f0f0",color:"#999"},children:"表示しない"}),(0,s.jsx)("button",{onClick:()=>r(!1),className:"flex-1 py-2.5 rounded-xl text-[11px] font-bold text-white",style:{background:"#f27a1a"},children:"OK"})]})]})]})]})})]}):null}var ee=a(17007),et=a(92571),ea=a(13855);let es=Array.from({length:12},(e,t)=>{let a=73*t+11;return{left:17*a%100,top:31*a%100,dur:2+7*a%20/10,delay:13*a%20/10}}),el=Array.from({length:20},(e,t)=>{let a=53*t+7;return{left:19*a%100,top:29*a%100,size:10+3*a%14,dur:2+11*a%20/10,delay:17*a%20/10}}),ei=Array.from({length:30},(e,t)=>{let a=41*t+13;return{left:23*a%100,top:37*a%100,size:12+5*a%18,dur:1.5+7*a%15/10,delay:19*a%10/10}});function en(){let e,[t,a]=(0,l.useState)(null),[r,c]=(0,l.useState)(""),[o,d]=(0,l.useState)("idle"),[x,p]=(0,l.useState)(null),[h,u]=(0,l.useState)(!1),[b,f]=(0,l.useState)("pre");(0,l.useEffect)(()=>{let e=()=>f((0,m.XC)());e();let t=setInterval(e,3e4);return()=>clearInterval(t)},[]);let[g,j]=(0,l.useState)(""),[y,v]=(0,l.useState)(!1),[N,w]=(0,l.useState)(!1),k=((e=localStorage.getItem("bw5_fp"))||(e=`${Date.now()}_${Math.random().toString(36).slice(2)}
1_${navigator.userAgent.slice(0,20)}`,localStorage.setItem("bw5_fp",e)),e),S=(0,l.useCallback)(()=>{fetch(`/api/lottery?fingerprint=${encodeURIComponent(k)}`).then(e=>e.json()).then(e=>{try{let t=localStorage.getItem("bw5_lottery_entry");t&&!e.entry&&(e.entry=JSON.parse(t)),e.entry&&localStorage.setItem("bw5_lottery_entry",JSON.stringify(e.entry))}catch{}a(e),e.entry?.winner_name&&w(!0)}).catch(()=>{})},[k]);(0,l.useEffect)(()=>{S();let e=setInterval(S,15e3);return()=>clearInterval(e)},[S]);let[z,C]=(0,l.useState)(""),_=async()=>{if(!r.trim()||"idle"!==o)return;C("");let e=new URLSearchParams(window.location.search).get("stage"),t=e?`/api/lottery?stage=${encodeURIComponent(e)}`:"/api/lottery",a=null,s=!1;try{let e=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fingerprint:k,keyword:r.trim()})});a=await e.json(),s=e.ok}catch{C("通信エラーが発生しました");return}if(!s){let e=a?.reason;"not_started"===e?C("5/5 14:30 から解禁します。お楽しみに!"):"wrong_keyword"===e?C("シークレットコードが違います"):C(a?.error||"エラーが発生しました");return}d("spinning"),p(null),await new Promise(e=>setTimeout(e,1800)),p({won:a.won,prize_name:a.prize_name,prize_tier:a.prize_tier})},A=()=>{u(!1),d("idle"),c("")},P=async()=>{if(g.trim()&&!y){v(!0);try{(await fetch("/api/lottery",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fingerprint:k,winner_name:g.trim()})})).ok&&(w(!0),S())}finally{v(!1)}}};if(!t||!t.visible)return null;let I=!!t.entry,E=t.active&&!I&&"idle"===o;return(0,s.jsxs)("section",{id:"lottery",className:"py-12 px-4 sm:px-6 relative",children:[(0,s.jsx)("div",{className:"max-w-md mx-auto",children:(0,s.jsxs)(i.P.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"rounded-3xl overflow-hidden relative",style:{background:"linear-gradient(135deg, rgba(242,122,26,0.95), rgba(220,76,4,0.95))",boxShadow:"0 20px 60px rgba(220,76,4,0.4)"},children:[(0,s.jsx)("div",{className:"absolute inset-0 pointer-events-none opacity-30",children:es.map((e,t)=>(0,s.jsx)(i.P.div,{className:"absolute",style:{left:`${e.left}%`,top:`${e.top}%`},animate:{scale:[.5,1,.5],opacity:[.3,1,.3]},transition:{duration:e.dur,repeat:1/0,delay:e.delay},children:"✨"},t))}),(0,s.jsxs)("div",{className:"relative px-6 py-7",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,s.jsx)(ee.A,{size:20,className:"text-white"}),(0,s.jsx)("h2",{className:"text-2xl font-black text-white tracking-tight",children:"プレゼント企画"})]}),(0,s.jsxs)("div",{className:"rounded-2xl overflow-hidden mb-5",style:{background:"rgba(255,255,255,0.95)"},children:[(0,s.jsxs)("div",{className:"relative w-full flex items-center justify-center",style:{aspectRatio:"4 / 3",background:"linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%)",overflow:"hidden"},children:[(0,s.jsx)("div",{className:"absolute inset-0 pointer-events-none",children:el.map((e,t)=>(0,s.jsx)(i.P.span,{className:"absolute",style:{left:`${e.left}%`,top:`${e.top}%`,fontSize:`${e.size}px`},animate:{opacity:[0,1,0],scale:[.5,1.2,.5]},transition:{duration:e.dur,repeat:1/0,delay:e.delay},children:"✨"},t))}),(0,s.jsx)(i.P.div,{animate:{rotate:[0,5,-5,0]},transition:{duration:4,repeat:1/0},className:"relative z-10 text-7xl",children:"\uD83C\uDF81"}),(0,s.jsx)("div",{className:"absolute bottom-3 left-0 right-0 text-center",children:(0,s.jsx)("div",{className:"inline-block px-3 py-1 rounded-full text-[10px] font-black tracking-[0.2em] text-orange-300",style:{background:"rgba(0,0,0,0.6)",border:"1px solid rgba(242,122,26,0.5)"},children:"??? SECRET ???"})})]}),(0,s.jsxs)("div",{className:"px-4 py-3",children:[(0,s.jsx)("div",{className:"text-[10px] font-bold tracking-widest uppercase text-orange-600",children:"PRIZE"}),(0,s.jsx)("div",{className:"text-base font-black text-gray-900 mt-0.5",children:"show"===b||"closed"===b?"もう一度チャンス!MCから新しいキーワード発表 \uD83C\uDFAF":"当日のお楽しみ \uD83E\uDD2B"})]})]}),I?(0,s.jsx)("div",{className:"rounded-2xl px-4 py-4 text-center",style:{background:1===t.entry.won?"rgba(255,255,255,0.95)":"rgba(0,0,0,0.2)"},children:1===t.entry.won?(0,s.jsxs)(s.Fragment,{children:["jackpot"===t.entry.prize_tier?(0,s.jsx)("div",{className:"text-3xl mb-2",children:"\uD83C\uDF8A"}):(0,s.jsx)("div",{className:"text-3xl mb-2",children:"\uD83C\uDF89"}),(0,s.jsx)("div",{className:"text-base font-black text-orange-600",children:"jackpot"===t.entry.prize_tier?"\uD83C\uDF8A 大当たり! \uD83C\uDF8A":"当選!"}),(0,s.jsxs)("div",{className:"text-sm text-gray-800 mt-1 leading-relaxed",children:["「",t.entry.prize_name,"」"]}),"jackpot"!==t.entry.prize_tier&&(0,s.jsx)("div",{className:"text-[10px] text-gray-500 mt-0.5",children:"※非売品 / 当選者特典"}),N?(0,s.jsxs)("div",{className:"mt-3 px-3 py-2.5 rounded-lg flex items-center justify-center gap-2",style:{background:"#fff7ed"},children:[(0,s.jsx)(R.A,{size:14,className:"text-orange-600"}),(0,s.jsxs)("span",{className:"text-xs font-bold text-orange-600",children:[t.entry.winner_name||g," さんで登録済"]})]}):(0,s.jsxs)("div",{className:"mt-4 text-left",children:[(0,s.jsx)("label",{className:"text-[10px] font-bold text-gray-700 mb-1 block tracking-wider up
1percase",children:"物販ブースで提示するお名前"}),(0,s.jsx)("input",{type:"text",value:g,onChange:e=>j(e.target.value),placeholder:"お名前を入力",className:"w-full px-3 py-2.5 rounded-lg text-sm border border-gray-200 focus:border-orange-400 focus:outline-none text-gray-800",maxLength:50}),(0,s.jsx)("button",{onClick:P,disabled:!g.trim()||y,className:"w-full mt-2 py-2.5 rounded-lg text-xs font-bold text-white disabled:opacity-50",style:{background:"#dc4c04"},children:y?"送信中…":"当選者の名前を送信"})]}),(0,s.jsx)("div",{className:"text-[10px] text-gray-500 mt-3",children:"物販ブースでお名前をお伝えください"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"text-2xl mb-1",children:"\uD83D\uDE22"}),(0,s.jsx)("div",{className:"text-sm font-bold text-white/80",children:"またのチャンスをお楽しみに"})]})}):t.sold_out?(0,s.jsx)("div",{className:"rounded-2xl px-4 py-4 text-center",style:{background:"rgba(0,0,0,0.2)"},children:(0,s.jsx)("div",{className:"text-sm font-bold text-white",children:"完売しました"})}):t.active?"spinning"===o?(0,s.jsx)(er,{pendingReady:!!x,onStop:()=>{"spinning"===o&&x&&(d("reveal"),u(!0),S(),x.won&&setTimeout(()=>{var e;let t;return t=(e="jackpot"===x.prize_tier)?["#ff006e","#ffbe0b","#ff8500","#fff","#fbbf24"]:["#f27a1a","#ffd166","#fff","#dc4c04"],void((0,ea.A)({particleCount:e?200:100,spread:90,origin:{y:.45,x:.5},colors:t,startVelocity:55,scalar:e?1.2:1,ticks:200,zIndex:9999}),setTimeout(()=>{(0,ea.A)({particleCount:60,angle:60,spread:70,origin:{x:0,y:.7},colors:t,zIndex:9999}),(0,ea.A)({particleCount:60,angle:120,spread:70,origin:{x:1,y:.7},colors:t,zIndex:9999})},200),e&&setTimeout(()=>{(0,ea.A)({particleCount:150,spread:120,origin:{y:.4,x:.5},colors:t,startVelocity:45,scalar:1.4,zIndex:9999})},600))},150))}}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"mb-3",children:[(0,s.jsx)("label",{className:"text-[11px] font-bold text-white/80 mb-1 block tracking-wider uppercase",children:"シークレットコード"}),(0,s.jsx)("input",{type:"text",value:r,onChange:e=>{c(e.target.value),z&&C("")},placeholder:"シークレットコードを入力",className:"w-full px-4 py-3 rounded-xl text-base font-bold text-gray-900 outline-none",style:{background:"rgba(255,255,255,0.95)"},autoComplete:"off"})]}),z&&(0,s.jsxs)("div",{className:"rounded-xl px-3 py-2.5 text-xs font-bold",style:{background:"rgba(255,255,255,0.95)",color:"#dc4c04",border:"2px solid #fbbf24"},children:["⚠️ ",z]}),(0,s.jsx)("button",{onClick:_,disabled:!E||!r.trim(),className:"w-full py-4 rounded-xl text-base font-black transition-all",style:{background:E&&r.trim()?"#fff":"rgba(255,255,255,0.5)",color:"#dc4c04",boxShadow:E&&r.trim()?"0 6px 20px rgba(0,0,0,0.2)":"none",cursor:E&&r.trim()?"pointer":"not-allowed"},children:"\uD83C\uDFAF スタート"})]}):(0,s.jsxs)("div",{className:"rounded-2xl px-4 py-4 text-center",style:{background:"rgba(0,0,0,0.2)"},children:[(0,s.jsx)("div",{className:"text-sm font-bold text-white",children:"受付待機中"}),(0,s.jsx)("div",{className:"text-[11px] text-white/70 mt-1",children:"MCから新しいキーワードが発表されます!"})]})]})]})}),(0,s.jsx)(n.N,{children:h&&x&&(0,s.jsx)(i.P.div,{className:"fixed inset-0 z-50 flex items-center justify-center px-6",style:{background:"rgba(0,0,0,0.6)",backdropFilter:"blur(8px)"},initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},onClick:A,children:(0,s.jsxs)(i.P.div,{className:"rounded-3xl overflow-hidden max-w-sm w-full text-center relative",style:{background:x.error?"linear-gradient(135deg, #555, #333)":"jackpot"===x.prize_tier?"linear-gradient(135deg, #ff006e, #ffbe0b, #ff006e)":x.won?"linear-gradient(135deg, #FFD700, #FF8C00)":"linear-gradient(135deg, #555, #333)"},initial:{scale:.7,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.8,opacity:0},onClick:e=>e.stopPropagation(),children:[(0,s.jsx)("button",{onClick:A,className:"absolute top-3 right-3 z-10 p-1 rounded-full",style:{background:"rgba(0,0,0,0.3)"},children:(0,s.jsx)(D.A,{size:16,className:"text-white"})}),"jackpot"===x.prize_tier&&(0,s.jsx)("div",{className:"absolute inset-0 pointer-events-none",children:ei.map((e,t)=>(0,s.jsx)(i.P.span,{className:"absolute",style:{left:`${e.left}%`,top:`${e.top}%`,fontSize:`${e.size}px`},animate:{opacity:[0,1,0],scale:[.5,1.4,.5],rotate:[0,360]},transition:{duration:e.dur,repeat:1/0,delay:e.delay},children:["✨","\uD83C\uDF89","⭐","\uD83D\uDCAB","\uD83C\uDF8A"][t%5]},t))}),x.won&&(0,s.jsx)("div",{className:"relative w-full",style:{aspectRatio:"4 / 3",background:"rgba(0,0,0,0.15)"},children:"jackpot"===x.prize_tier?(0,s.jsxs)("div",{className:"absolute inset-0",children:[(0,s.jsx)("img",{src:"/images/boomkun_jackpot.png",alt:"JACKPOT",className:"absolute inset-0 w-full h-full",style:{objectFit:"cover"}}),(0,s.jsx)(i.P.div,{animate:{scale:[.95,1.05,.95]},transition:{duration:1.2,repeat:1/0},className:"absolute bottom-2 left-1/2 -translate-x-1/2 text-3xl font-black tracking-widest pointer-events-none",style:{color:"#fff",textShadow:"0 4px 12px rgba(0,0,0,0.6), 0 0 20px rgba(255,200,50,0.8)"},children:"JACKPOT!"})]}):(0,s.jsx)("img",{src:"/merch/kirakira_boomkun.png",alt:"きらきらシール BOOMくん",className:"absolute inset-0 w-full h-full",style:{objectFit:"contain",background:"#fff"}})}),(0,s.jsxs)("div",{className:"px-6 py-7 relative",children:[!x.won&&(0,s.jsx)("div",{className:"text-6xl mb-3",children:x.error?"⚠️":"\uD83D\uDE22"}),(0,s.jsx)("div",{className:"text-3xl font-black text-white mb-2",style:"jackpot"===x.prize_tier?{textShadow:"0 0 20px rgba(255,255,255,0.6)"}:{},children:x.error?"エラー":"jackpot"===x.prize_tier?"\uD83C\uDF8A 大当たり! \uD83C\uDF8A":x.won?"\uD83C\uDF89 当選! \uD83C\uDF89":"はずれ"}),x.won&&(0,s.jsx)("div",{className:"text-sm text-white mt-2 font-bold leading-relaxed px-2",children:x.prize_name}),(0,s.jsx)("div",{className:"text-xs text-white/90 mt-3",children:x.error||(x.won?"jackpot"===x.prize_tier?"物販ブースで好きなアイテム1つ選んでね!":"おめでとうございます!":"またのチャンスをお楽しみに")}),x.won&&(0,s.jsxs)("div",{className:"mt-5 p-3 rounded-xl",style:{background:"rgba(255,255,255,0.25)"},children:[(0,s.jsx)("div",{className:"text-[11px] font-bold text-white mb-2",children:"続いてお名前を入力してください \uD83D\uDC47"}),(0,s.jsx)("button",{onClick:A,className:"w-full py-2 rounded-lg text-xs font-black",style:{background:"#fff",color:"#dc4c04"},children:"次へ →"})]})]})]})})})]})}function er({pendingReady:e,onStop:t}){let a=["\uD83C\uDF81","\uD83C\uDFB0","\uD83C\uDF89","✨","\uD83C\uDF40","⭐","\uD83D\uDC8E","\uD83C\uDFB2"];return(0,s.jsxs)("div",{className:"rounded-2xl p-5 text-center",style:{background:"rgba(0,0,0,0.3)"},children:[(0,s.jsx)("div",{className:"text-[10px] font-bold tracking-widest uppercase text-yellow-300 mb-3",children:"\uD83C\uDFB0 抽選中... \uD83C\uDFB0"}),(0,s.jsxs)("div",{className:"relative h-24 mx-auto rounded-2xl overflow-hidden mb-4",style:{width:200,background:"#fff",border:"3px solid #fbbf24",boxShadow:"0 0 30px rgba(251,191,36,0.6), inset 0 4px 12px rgba(0,0,0,0.1)"},children:[(0,s.jsx)(i.P.div,{className:"absolute inset-y-0 left-0 flex items-center",animate:{x:["-50%","0%","-50%"]},transition:{duration:.6,repeat:1/0,ease:"linear"},children:[...a,...a,...a].map((e,t)=>(0,s.jsx)("span",{className:"mx-3 text-4xl select-none",children:e},t))}),(0,s.jsx)("div",{className:"absolute top-0 bottom-0 left-1/2 w-1 -translate-x-1/2 pointer-events-none",style:{background:"linear-gradient(to bottom, transparent, #f59e0b, transparent)"}})]}),(0,s.jsx)("button",{onClick:t,disabled:!e,className:"w-full py-4 rounded-xl text-base font-black transition-all flex items-center justify-center gap-2",style:{background:e?"#fff":"rgba(255,255,255,0.4)",color:"#dc4c04",boxShadow:e?"0 6px 20px rgba(0,0,0,0.3)":"none",cursor:e?"pointer":"wait"},children:e?(0,s.jsx)(s.Fragment,{children:"\uD83D\uDED1 STOP!"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(et.A,{size:16,className:"animate-spin"}),"準備中…"]})}),(0,s.jsx)("div",{className:"text-[10px] text-white/50 mt-2",children:"STOP ボタンを押すと結果発表"})]})}var ec=a(29572),eo=a(78780),ed=a(91683);function ex(){let[e,t]=(0,l.useState)(null),[a,r]=(0,l.useState)(0),[c,d]=(0,l.useState)("pre"),x=(0,l.useRef)(0);(0,l.useEffect)(()=>{let e=()=>d((0,m.XC)());e();let t=setInterval(e,3e4);return()=>clearInterval(t)},[]);let p=(0,l.useCallback)(()=>{fetch("/api/backstage").then(e=>e.json()).then(e=>t(e)).catch(()=>{})},[]);(0,l.useEffect)(()=>{p();let e=setInterval(p,3e4);return()=>clearInterval(e)},[p]),(0,l.useEffect)(()=>
1{if(!e||0===e.photos.length)return;let t=setInterval(()=>{Date.now()-x.current<5e3||r(t=>(t+1)%e.photos.length)},e.rotate_ms||4500);return()=>clearInterval(t)},[e]);let h=(0,l.useCallback)(()=>{e&&0!==e.photos.length&&(x.current=Date.now(),r(t=>(t-1+e.photos.length)%e.photos.length))},[e]),u=(0,l.useCallback)(()=>{e&&0!==e.photos.length&&(x.current=Date.now(),r(t=>(t+1)%e.photos.length))},[e]),b=(0,ed.uh)({onSwipedLeft:u,onSwipedRight:h,trackTouch:!0,trackMouse:!0,preventScrollOnSwipe:!0,delta:20});if("pre"===c)return(0,s.jsx)("section",{id:"backstage",className:"py-12 px-4 sm:px-6",children:(0,s.jsx)("div",{className:"max-w-md mx-auto",children:(0,s.jsxs)(i.P.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"rounded-3xl overflow-hidden relative",style:{background:"rgba(0,0,0,0.5)",border:"1px solid rgba(255,255,255,0.1)"},children:[(0,s.jsxs)("div",{className:"px-5 pt-4 pb-3 flex items-center gap-2",children:[(0,s.jsx)(ec.A,{size:16,className:"text-white/40"}),(0,s.jsx)("h2",{className:"text-base font-black tracking-tight text-white/80",children:"舞台裏フォトメモリー"}),(0,s.jsx)("span",{className:"ml-auto text-[10px] font-black px-2 py-0.5 rounded-full",style:{background:"rgba(242,122,26,0.25)",color:"#ffb37a"},children:"COMING SOON"})]}),(0,s.jsxs)("div",{className:"relative w-full",style:{aspectRatio:"4 / 3",background:"linear-gradient(135deg, #1a1a1a 0%, #2a1810 100%)"},children:[(0,s.jsx)(P.default,{src:"/images/backstage_coming_soon.png",alt:"Coming soon",fill:!0,sizes:"(max-width: 640px) 100vw, 480px",style:{objectFit:"contain"},unoptimized:!0,onError:e=>{let t=e.currentTarget;t.dataset.fallback||(t.dataset.fallback="1",t.src="/images/boomkun.png",t.style.objectFit="contain")}}),(0,s.jsx)("div",{className:"absolute bottom-3 left-0 right-0 text-center",children:(0,s.jsxs)("div",{className:"inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full backdrop-blur-md",style:{background:"rgba(0,0,0,0.55)",border:"1px solid rgba(255,255,255,0.15)"},children:[(0,s.jsx)(o.A,{size:12,className:"text-orange-300"}),(0,s.jsx)("span",{className:"text-[11px] font-bold text-white",children:"5/5 9:00 から お届け!"})]})})]}),(0,s.jsx)("div",{className:"px-5 py-2.5 text-[11px] text-white/55 text-center",children:"開場後、舞台裏の様子をリアルタイムでお届けします"})]})})});if(!e||!e.visible||0===e.photos.length)return null;let f=e.photos[a%e.photos.length];return(0,s.jsx)("section",{id:"backstage",className:"py-12 px-4 sm:px-6",children:(0,s.jsx)("div",{className:"max-w-md mx-auto",children:(0,s.jsxs)(i.P.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},className:"rounded-3xl overflow-hidden relative",style:{background:"rgba(0,0,0,0.5)",border:"1px solid rgba(255,255,255,0.1)"},children:[(0,s.jsxs)("div",{className:"px-5 pt-4 pb-3 flex items-center gap-2",children:[(0,s.jsx)(ec.A,{size:16,className:"text-white/70"}),(0,s.jsx)("h2",{className:"text-base font-black tracking-tight text-white",children:"舞台裏フォトメモリー"}),(0,s.jsxs)("span",{className:"ml-auto text-[10px] font-mono text-white/60 tabular-nums",children:[a+1," / ",e.photos.length]})]}),(0,s.jsxs)("div",{...b,className:"relative w-full select-none",style:{aspectRatio:"4 / 3",background:"#000",touchAction:"pan-y"},children:[(0,s.jsx)(n.N,{mode:"wait",children:(0,s.jsx)(i.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5,ease:"easeInOut"},className:"absolute inset-0",children:(0,s.jsx)(P.default,{src:f.image_url,alt:"backstage",fill:!0,sizes:"(max-width: 640px) 100vw, 480px",quality:75,style:{objectFit:"cover",pointerEvents:"none"},priority:0===a,draggable:!1})},f.id)}),e.photos.length>1&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{type:"button",onClick:h,"aria-label":"前の写真",className:"absolute left-2 top-1/2 -translate-y-1/2 w-9 h-9 rounded-full flex items-center justify-center transition-opacity",style:{background:"rgba(0,0,0,0.45)",backdropFilter:"blur(6px)",border:"1px solid rgba(255,255,255,0.15)"},children:(0,s.jsx)(eo.A,{size:18,className:"text-white"})}),(0,s.jsx)("button",{type:"button",onClick:u,"aria-label":"次の写真",className:"absolute right-2 top-1/2 -translate-y-1/2 w-9 h-9 rounded-full flex items-center justify-center transition-opacity",style:{background:"rgba(0,0,0,0.45)",backdropFilter:"blur(6px)",border:"1px solid rgba(255,255,255,0.15)"},children:(0,s.jsx)(k.A,{size:18,className:"text-white"})})]}),e.photos.length>1&&e.photos.length<=12&&(0,s.jsx)("div",{className:"absolute bottom-2 left-0 right-0 flex justify-center gap-1.5",children:e.photos.map((e,t)=>(0,s.jsx)("span",{className:"h-1.5 rounded-full transition-all",style:{width:t===a?"14px":"5px",background:t===a?"rgba(255,255,255,0.95)":"rgba(255,255,255,0.4)"}},t))})]}),(0,s.jsx)("div",{className:"px-5 py-2.5 text-[11px] text-white/55 text-center",children:"スワイプで切替・思い出を振り返ろう"})]})})})}var em=a(25142);let ep=1500/2077;function eh(){let{unlocked:e,remainingMs:t,loading:a}=function(){let[e,t]=(0,l.useState)(()=>Date.now()),[a,s]=(0,l.useState)(null);(0,l.useEffect)(()=>{let e=setInterval(()=>t(Date.now()),3e4);return()=>clearInterval(e)},[]),(0,l.useEffect)(()=>{fetch("/api/settings").then(e=>e.json()).then(e=>s("1"===e.pamphlet_unlocked)).catch(()=>s(!1))},[]);let[i,n,r]="2026-05-05".split("-").map(Number),c=Date.UTC(i,n-1,r,4,45,0)-e;return{unlocked:!0===a||c<=0,remainingMs:c,loading:null===a}}(),[r,c]=(0,l.useState)(!1);return(0,s.jsxs)("section",{id:"pamphlet",className:"py-12 px-4 sm:px-6",children:[(0,s.jsx)("div",{className:"max-w-md mx-auto",children:(0,s.jsx)(i.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.5},className:"rounded-3xl overflow-hidden relative",style:{background:"linear-gradient(135deg, rgba(242,122,26,0.16), rgba(220,76,4,0.10))",border:"1px solid rgba(255,255,255,0.15)"},children:(0,s.jsxs)("div",{className:"px-5 py-6 text-center",children:[(0,s.jsx)("div",{className:"inline-flex w-14 h-14 rounded-full items-center justify-center mb-3",style:{background:"rgba(242,122,26,0.25)"},children:(0,s.jsx)(h.A,{size:26,className:"text-orange-200"})}),(0,s.jsx)("h2",{className:"text-xl font-black tracking-tight text-white mb-1",children:"デジタルパンフレット"}),(0,s.jsxs)("p",{className:"text-[11px] text-white/60 mb-5 leading-relaxed",children:["全16ページ・スワイプでページめくり",(0,s.jsx)("br",{}),"紙のパンフレットがそのまま読めます"]}),a?(0,s.jsx)("div",{className:"text-xs text-white/40",children:"読み込み中..."}):e?(0,s.jsxs)("button",{onClick:()=>c(!0),className:"inline-flex items-center gap-2 px-6 py-3 rounded-full font-black text-sm transition-all active:scale-[0.97]",style:{background:"linear-gradient(135deg, #f27a1a 0%, #dc4c04 100%)",color:"#fff",boxShadow:"0 6px 18px rgba(220,76,4,0.4)"},children:[(0,s.jsx)(h.A,{size:16}),"パンフレットを見る"]}):(0,s.jsx)(eb,{remainingMs:t})]})})}),(0,s.jsx)(n.N,{children:r&&e&&(0,s.jsx)(eu,{onClose:()=>c(!1)})})]})}function eu({onClose:e}
1){let[t,a]=(0,l.useState)(0),[r,c]=(0,l.useState)(1),[o,d]=(0,l.useState)({w:360,h:498}),[x,m]=(0,l.useState)(!1),[p,h]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let e=()=>{let e=window.innerWidth,t=window.innerHeight-130,a=Math.min(e-24,600),s=a/ep;s>t&&(a=(s=t)*ep),d({w:Math.round(a),h:Math.round(s)})};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let u=(0,l.useCallback)(()=>{x||(c(1),a(e=>Math.min(15,e+1)))},[x]),b=(0,l.useCallback)(()=>{x||(c(-1),a(e=>Math.max(0,e-1)))},[x]);(0,l.useEffect)(()=>{m(!1),h(!1)},[t]),(0,l.useEffect)(()=>{let t=t=>{"ArrowRight"===t.key&&u(),"ArrowLeft"===t.key&&b(),"Escape"===t.key&&e()};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[u,b,e]);let f=(0,ed.uh)({onSwipedLeft:()=>!x&&u(),onSwipedRight:()=>!x&&b(),trackTouch:!0,trackMouse:!0,preventScrollOnSwipe:!0,delta:15});return(0,s.jsxs)(i.P.div,{className:"fixed inset-0 z-[120] flex flex-col items-center justify-center",style:{background:"rgba(0,0,0,0.95)",backdropFilter:"blur(12px)",touchAction:"pan-y"},initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},children:[(0,s.jsxs)("div",{className:"absolute top-0 left-0 right-0 px-4 py-3 flex items-center justify-between z-10",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsxs)("div",{className:"text-xs text-white/70 tabular-nums font-bold",children:[t+1," / ",16]}),(0,s.jsx)("div",{className:"text-[10px] text-white/40",children:p?"\uD83D\uDD0D 拡大中(\xd7 で戻る)":"左右スワイプでページ送り"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("button",{onClick:()=>h(e=>!e),className:"px-3 h-9 rounded-full flex items-center gap-1 text-xs font-bold text-white",style:{background:p?"rgba(220,76,4,0.85)":"rgba(255,255,255,0.15)"},"aria-label":"拡大表示の切り替え",children:p?"✕ 拡大終了":"\uD83D\uDD0D 拡大"}),(0,s.jsx)("button",{onClick:e,className:"w-9 h-9 rounded-full flex items-center justify-center",style:{background:"rgba(255,255,255,0.15)"},"aria-label":"閉じる",children:(0,s.jsx)(D.A,{size:18,className:"text-white"})})]})]}),(0,s.jsx)("div",{...f,style:{width:o.w,height:o.h,touchAction:"pan-y",perspective:"1500px"},className:"relative select-none",children:(0,s.jsx)(n.N,{custom:r,initial:!1,mode:"wait",children:(0,s.jsxs)(i.P.div,{custom:r,initial:{rotateY:r>0?80:-80,opacity:.4,x:r>0?"20%":"-20%"},animate:{rotateY:0,opacity:1,x:0},exit:{rotateY:r>0?-80:80,opacity:0,x:r>0?"-20%":"20%"},transition:{duration:.45,ease:[.32,.72,.4,1]},className:"absolute inset-0 rounded-md shadow-2xl overflow-hidden",style:{background:"#fff",transformStyle:"preserve-3d",transformOrigin:r>0?"left center":"right center",boxShadow:"0 20px 60px rgba(0,0,0,0.5)"},children:[p?(0,s.jsx)(em.GT,{initialScale:1,minScale:1,maxScale:4,doubleClick:{mode:"toggle",step:1.8},wheel:{step:.2},pinch:{step:5},onTransform:(e,t)=>m(t.scale>1.05),centerOnInit:!0,children:(0,s.jsx)(em.WZ,{wrapperStyle:{width:"100%",height:"100%"},contentStyle:{width:"100%",height:"100%"},children:(0,s.jsx)("div",{className:"relative w-full h-full",children:(0,s.jsx)(P.default,{src:`/pamphlet/page-${String(t+1).padStart(2,"0")}.webp`,alt:`パンフ ${t+1}ページ`,fill:!0,sizes:"(max-width: 600px) 100vw, 600px",style:{objectFit:"cover"},priority:t<2,draggable:!1})})})}):(0,s.jsx)("div",{className:"relative w-full h-full",children:(0,s.jsx)(P.default,{src:`/pamphlet/page-${String(t+1).padStart(2,"0")}.webp`,alt:`パンフ ${t+1}ページ`,fill:!0,sizes:"(max-width: 600px) 100vw, 600px",style:{objectFit:"cover"},priority:t<2,draggable:!1})}),!x&&(0,s.jsx)("div",{className:"absolute inset-y-0 pointer-events-none",style:{left:r>0?0:"auto",right:r>0?"auto":0,width:"6%",background:r>0?"linear-gradient(to right, rgba(0,0,0,0.18), transparent)":"linear-gradient(to left, rgba(0,0,0,0.18), transparent)"}})]},t)})}),(0,s.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 px-6 py-4 flex items-center justify-between z-10",children:[(0,s.jsx)("button",{onClick:b,disabled:0===t,className:"w-12 h-12 rounded-full flex items-center justify-center disabled:opacity-25 transition-transform active:scale-90",style:{background:"rgba(255,255,255,0.18)"},"aria-label":"前のページ",children:(0,s.jsx)(eo.A,{size:22,className:"text-white"})}),(0,s.jsxs)("div",{className:"text-[10px] text-white/50 text-center leading-tight",children:["← スワイプ →",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"text-white/30",children:"tap でも操作可"})]}),(0,s.jsx)("button",{onClick:u,disabled:t>=15,className:"w-12 h-12 rounded-full flex items-center justify-center disabled:opacity-25 transition-transform active:scale-90",style:{background:"rgba(255,255,255,0.18)"},"aria-label":"次のページ",children:(0,s.jsx)(k.A,{size:22,className:"text-white"})})]})]})}function eb({remainingMs:e}){let t=Math.max(0,Math.floor(e/1e3)),a=Math.floor(t/86400),l=Math.floor(t%86400/3600),i=Math.floor(t%3600/60);return(0,s.jsxs)("div",{className:"rounded-2xl py-6 px-4 text-center",style:{background:"rgba(0,0,0,0.25)",border:"1px dashed rgba(255,255,255,0.2)"},children:[(0,s.jsx)(U.A,{size:20,className:"text-orange-300 inline mb-2"}),(0,s.jsx)("h3",{className:"text-sm font-bold text-white mb-2",children:"本番当日 13:45 解禁"}),e>0&&(0,s.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full text-xs font-bold",style:{background:"rgba(0,0,0,0.4)",color:"#fff"},children:[a>0&&(0,s.jsxs)("span",{children:[a,"日"]}),(0,s.jsxs)("span",{className:"tabular-nums",children:[l,"時間"]}),(0,s.jsxs)("span",{className:"tabular-nums",children:[i,"分"]}),(0,s.jsx)("span",{className:"text-white/50",children:"あと"})]})]})}let ef=["sns","vote","music","merch","schedule","venue","hero"],eg=[{id:"schedule",emoji:"\uD83D\uDDD3️",label:"演目情報",desc:"タイムテーブル / 演目詳細",color:"224, 123, 45"},{id:"merch",emoji:"\uD83D\uDED2",label:"ショップ",desc:"グッズ・映像販売",color:"244, 162, 97"},{id:"music",emoji:"\uD83C\uDFB5",label:"オリジナル曲",desc:"公表配信中",color:"34, 197, 94"},{id:"vote",emoji:"⭐",label:"投票",desc:"お気に入りに投票",color:"234, 179, 8"},{id:"sns",emoji:"\uD83D\uDCF1",label:"SNS",desc:"公式アカウント",color:"59, 130, 246"},{id:"pamphlet",emoji:"\uD83D\uDCD6",label:"パンフレット",desc:"デジタル版",color:"236, 72, 153"}],ej={title:"演目情報",subtitle:"タイムテーブル・演目詳細",emoji:"\uD83D\uDDD3️",color:"224, 123, 45"},ey={title:"グッズ販売",subtitle:"オリジナルグッズの予約・購入",emoji:"\uD83D\uDECD️",color:"244, 162, 97"},ev={title:"音源",subtitle:"オリジナル楽曲を公開予定",emoji:"\uD83C\uDFB5",color:"34, 197, 94"}
1,eN={title:"投票",subtitle:"当日にオープンします",emoji:"⭐",color:"234, 179, 8"},ew={title:"SNS",subtitle:"公式アカウントをフォローしよう",emoji:"\uD83D\uDCF1",color:"59, 130, 246"},ek={title:"デジタルパンフレット",subtitle:"5/5 13:45 開場と同時に解禁",emoji:"\uD83D\uDCD6",color:"236, 72, 153"};function eS(){let e,t,a,[p,h]=(0,l.useState)("schedule"),[u,b]=(0,l.useState)({}),[f,g]=(0,l.useState)("/images/hero_main.png"),[j,v]=(0,l.useState)(()=>new Date),N=u.event_date||"2026-05-05",w=function(e){let[t,a]=(0,l.useState)({days:0,hours:0,minutes:0,seconds:0,isOver:!1});return(0,l.useEffect)(()=>{let t=new Date(e+"T13:45:00+09:00"),s=()=>{let e=new Date,s=t.getTime()-e.getTime();s<=0?a({days:0,hours:0,minutes:0,seconds:0,isOver:!0}):a({days:Math.floor(s/864e5),hours:Math.floor(s/36e5%24),minutes:Math.floor(s/6e4%60),seconds:Math.floor(s/1e3%60),isOver:!1})};s();let l=setInterval(s,1e3);return()=>clearInterval(l)},[e]),t}(N);(0,l.useEffect)(()=>{let e=setInterval(()=>v(new Date),3e4);return()=>clearInterval(e)},[]);let{currentItem:k,nextItem:S}=(0,l.useMemo)(()=>{let e=null,t=null;for(let a=0;a<x.Qj.length;a++){let s=x.Qj[a],l=(0,x.pe)(s.startTime),i=(0,x.r9)(s);if(j>=l&&j<i){e=s;for(let e=a+1;e<x.Qj.length;e++)if("performance"===x.Qj[e].type||"guest"===x.Qj[e].type||"special"===x.Qj[e].type){t=x.Qj[e];break}break}}if(!e){for(let e of x.Qj)if(j<(0,x.pe)(e.startTime)&&"break"!==e.type){t=e;break}}return{currentItem:e,nextItem:t}},[j]);(0,l.useMemo)(()=>{let[e,t,a]=N.split("-").map(Number);return j>=new Date(Date.UTC(e,t-1,a,-9,0,0))},[j,N]),(0,l.useEffect)(()=>{fetch("/api/settings").then(e=>e.json()).then(e=>{b(e),e.hero_image&&g(e.hero_image)}).catch(()=>{})},[]);let[z,C]=(0,l.useState)("pre");(0,l.useEffect)(()=>{let e=()=>C((0,m.XC)());e();let t=setInterval(e,3e4);return()=>clearInterval(t)},[]);let P=(0,l.useCallback)(e=>{let t=u[`section_${e}_visible`];return"0"!==t&&"false"!==t&&("1"===t||"true"===t||(0,m.JW)(e,z))},[u,z]),I=(0,l.useMemo)(()=>eg.map(e=>({...e,locked:!P(e.id)})),[P]),E=(0,l.useCallback)(()=>{let e=window.scrollY+window.innerHeight/3;for(let t of ef){let a=document.getElementById(t);if(a&&a.offsetTop<=e){h(t);break}}},[]);(0,l.useEffect)(()=>(window.addEventListener("scroll",E,{passive:!0}),E(),()=>window.removeEventListener("scroll",E)),[E]);let M=e=>{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})},O=u.venue||"太白区文化センター 楽楽楽ホール",F=u.venue_address||"仙台市太白区長町5-3-2",D=`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(O+" "+F)}`;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(J,{}),(0,s.jsx)(Z,{}),(0,s.jsx)(y,{activeSection:p,onNavigate:M,hiddenSections:eg.filter(e=>!P(e.id)).map(e=>e.id)}),(0,s.jsxs)("main",{className:"bg-noise",children:[(0,s.jsxs)("section",{id:"hero",className:"relative flex flex-col items-center overflow-hidden px-4 pt-14 pb-6 min-h-screen",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-white/10 via-trans
1parent to-black/10"}),(0,s.jsx)("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px)",backgroundSize:"50px 50px"}}),(0,s.jsxs)("div",{className:"relative z-10 flex flex-col items-center justify-center flex-1 w-full",children:[(0,s.jsx)(i.P.div,{className:"mb-2",animate:{y:[0,-10,0]},transition:{duration:3,repeat:1/0,ease:"easeInOut"},children:(0,s.jsx)("img",{src:f,alt:"BOOM WOP vol.5",className:"object-contain drop-shadow-[0_8px_30px_rgba(0,0,0,0.3)]",style:{width:`${u.hero_image_size||"200"}px`,height:`${u.hero_image_size||"200"}px`,maxHeight:"30vh",maxWidth:"30vh"}})}),(0,s.jsxs)(i.P.div,{className:"text-center",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8},children:[(0,s.jsx)("h1",{className:"text-5xl sm:text-7xl font-black tracking-tighter gradient-text leading-none",children:u.hero_title_line1||"BOOM WOP"}),(0,s.jsx)("div",{className:"text-5xl sm:text-7xl font-black tracking-tighter gradient-text leading-none mt-1",children:u.hero_title_line2||"vol.5"}),(0,s.jsx)(i.P.p,{className:"mt-2 text-xs tracking-[0.2em] uppercase text-white/60",initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:.4},children:u.hero_subtitle||"Dance Showcase & Entertainment"})]}),(0,s.jsx)(i.P.div,{className:"mt-6 w-full",style:{maxWidth:"340px"},initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.3,duration:.6},children:"pre"!==z&&"morning"!==z||w.isOver?"closed"===z?null:(0,s.jsx)("div",{className:"rounded-2xl p-4 text-center",style:{background:"rgba(34, 197, 94, 0.15)",border:"1px solid rgba(34, 197, 94, 0.3)",backdropFilter:"blur(16px)"},children:(0,s.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,s.jsxs)("span",{className:"relative flex h-3 w-3",children:[(0,s.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"}),(0,s.jsx)("span",{className:"relative inline-flex rounded-full h-3 w-3 bg-green-500"})]}),(0,s.jsx)("span",{className:"text-lg font-black tracking-wider text-green-400",children:"NOW LIVE"})]})}):(0,s.jsxs)("div",{className:"rounded-2xl p-4 text-center",style:{background:"rgba(255,255,255,0.12)",backdropFilter:"blur(16px)",border:"1px solid rgba(255,255,255,0.2)"},children:[(0,s.jsxs)("div",{className:"text-[10px] font-bold tracking-[0.2em] uppercase text-white/60 mb-2",children:[(0,s.jsx)(r.A,{size:12,className:"inline mr-1 -mt-0.5"}),u.hero_date||"2026.5.5"," 開催まで"]}),(0,s.jsx)("div",{className:"flex items-center justify-center gap-2",children:[{value:w.days,label:"日"},{value:w.hours,label:"時間"},{value:w.minutes,label:"分"},{value:w.seconds,label:"秒"}].map((e,t)=>(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center",children:[(0,s.jsx)("span",{className:"text-3xl sm:text-4xl font-black text-white tabular-nums leading-none",children:String(e.value).padStart(2,"0")}),(0,s.jsx)("span",{className:"text-[9px] font-bold text-white/50 mt-1",children:e.label})]}),t<3&&(0,s.jsx)("span",{className:"text-xl font-bold text-white/30 -mt-3",children:":"})]},e.label))})]})}),(0,s.jsx)(n.N,{mode:"wait",children:"pre"===z?(0,s.jsx)(i.P.a,{href:u.ticket_url||"#",target:"_blank",rel:"noopener noreferrer",className:"w-full mt-3 block group",style:{maxWidth:"340px"},initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.5,delay:.2},whileTap:{scale:.98},children:(0,s.jsxs)("div",{className:"rounded-xl px-4 py-3 flex items-center gap-3 transition-all duration-300 group-hover:brightness-110",style:{background:"linear-gradient(135deg, rgba(224,123,45,0.95), rgba(244,162,97,0.95))",border:"1px solid rgba(255,255,255,0.25)",boxShadow:"0 8px 24px rgba(224,123,45,0.35)"},children:[(0,s.jsx)("span",{className:"text-xl shrink-0",children:"\uD83C\uDFAB"}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("div",{className:"text-[10px] font-bold tracking-wider uppercase text-white/80",children:"TICKET"}),(0,s.jsx)("div",{className:"text-sm font-black text-white truncate",children:"チケット購入はこちら"})]}),(0,s.jsx)("span",{className:"text-white/90 text-lg shrink-0 transition-transform group-hover:translate-x-0.5",children:"→"})]})},"ticket-bar"):"morning"===z?(0,s.jsx)(i.P.div,{className:"w-full mt-3",style:{maxWidth:"340px"},initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.5,delay:.2},children:(0,s.jsxs)("div",{className:"rounded-xl px-4 py-3 flex items-center gap-3",style:{background:"linear-gradient(135deg, rgba(34,197,94,0.18), rgba(16,185,129,0.18))",border:"1px solid rgba(34,197,94,0.4)",boxShadow:"0 8px 24px rgba(34,197,94,0.2)"},children:[(0,s.jsx)("span",{className:"text-xl shrink-0",children:"\uD83C\uDF9F️"}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("div",{className:"text-[10px] font-bold tracking-wider uppercase text-green-300",children:"WALK-UP TICKET"}),(0,s.jsx)("div",{className:"text-sm font-black text-white leading-tight",children:"当日チケットも販売中 \xa52,500"}),(0,s.jsx)("div",{className:"text-[10px] text-white/70 mt-0.5",children:"申込不要・会場へ直接お越しください"})]})]})},"walkup-bar"):"closed"!==z&&(k||S)?(0,s.jsx)(i.P.div,{className:"w-full mt-3",style:{maxWidth:"340px"},initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.5,delay:.2},children:(0,s.jsx)("div",{className:"rounded-xl px-4 py-2.5 flex items-center gap-3",style:{background:k?"rgba(34, 197, 94, 0.12)":"rgba(234, 179, 8, 0.1)",border:k?"1px solid rgba(34, 197, 94, 0.25)":"1px solid rgba(234, 179, 8, 0.2)",backdropFilter:"blur(12px)"},children:k?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"relative flex h-2.5 w-2.5 shrink-0",children:[(0,s.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"}),(0,s.jsx)("span",{className:"relative inline-flex rounded-full h-2.5 w-2.5 bg-green-500"})]}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("div",{className:"text-[10px] font-bold tracking-wider uppercase text-green-400",children:"NOW PLAYING"}),(0,s.jsx)("div",{className:"text-sm font-bold text-white truncate",children:k.title})]}),S&&(0,s.jsxs)("div",{className:"text-right shrink-0",children:[(0,s.jsx)("div",{className:"text-[9px] uppercase tracking-wider text-white/40",children:"NEXT"}),(0,s.jsx)("div",{className:"text-[11px] text-white/70 truncate max-w-[80px]",children:S.title})]})]}):S?(t=(e=x.Qj.find(e=>"performance"===e.type||"guest"===e.type||"special"===e.type))&&S.startTime===e.startTime,(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"text-base",children:"⏳"}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("div",{className:"text-[10px] font-bold tracking-wider uppercase text-yellow-400",children:"COMING UP"}),(0,s.jsx)("div",{className:"text-sm font-bold text-white truncate",children:t?"???":S.title})]}),t&&(0,s.jsx)("div",{className:"text-xs text-white/50 shrink-0",children:"14:30〜"})]})):null})},"live-bar"):null}),"show"===z&&(0,s.jsx)(i.P.button,{onClick:()=>M("lottery"),className:"w-full mt-3 block",style:{maxWidth:"340px"},initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.3},whileTap:{scale:.98},children:(0,s.jsxs)("div",{className:"rounded-xl px-4 py-3 flex items-center gap-3 transition-all duration-300 hover:brightness-110 relative overflow-hidden",style:{background:"linear-gradient(135deg, rgba(236,72,153,0.95), rgba(190,24,93,0.95))",border:"1px solid rgba(255,255,255,0.25)",boxShadow:"0 8px 24px rgba(190,24,93,0.35)"},children:[(0,s.jsx)("div",{className:"absolute inset-0 pointer-events-none",children:[{left:12,top:30,dur:2.6,delay:.2},{left:38,top:75,dur:3.1,delay:1.1},{left:60,top:20,dur:2.3,delay:.7},{left:78,top:65,dur:3.4,delay:1.6},{left:90,top:40,dur:2.8,delay:.4}].map((e,t)=>(0,s.jsx)(i.P.span,{className:"absolute text-xs",style:{left:`${e.left}%`,top:`${e.top}%`},animate:{opacity:[0,1,0],scale:[.5,1.2,.5]},transition:{duration:e.dur,repeat:1/0,delay:e.delay},children:"✨"},t))}),(0,s.jsx)("span",{className:"text-xl shrink-0 relative z-10",children:"\uD83C\uDF81"}),(0,s.jsxs)("div",{className:"flex-1 min-w-0 relative z-10 text-left",children:[(0,s.jsx)("div",{className:"text-[10px] font-bold tracking-wider uppercase text-white/85",children:"PRESENT"}),(0,s.jsx)("div",{className:"text-sm font-black text-white truncate",children:"プレゼント企画"})]}),(0,s.jsx)("span",{className:"text-white/90 text-lg shrink-0 relative z-10",children:"→"})]})}),"closed"===z&&(0,s.jsx)(i.P.div,{className:"w-full mt-3",style:{maxWidth:"340px"},initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},children:(0,s.jsxs)("div",{className:"rounded-2xl overflow-hidden",style:{background:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.15)",backdropFilter:"blur(12px)"},children:[(0,s.jsx)("div",{className:"relative w-full",style:{aspectRatio:"16 / 9",background:"rgba(0,0,0,0.3)"},children:(0,s.jsx)("img",{src:u.closing_photo_url||"/images/closing_photo.jpg",alt:"ありがとうございました",className:"absolute inset-0 w-full h-full",style:{objectFit:"cover"},onError:e=>{let t=e.currentTarget;t.dataset.fb||(t.dataset.fb="1",t.src="/images/boomkun.png",t.style.objectFit="contain",t.style.padding="16px")}})}),(0,s.jsxs)("div",{className:"px-4 py-4 text-center",children:[(0,s.jsx)("p",{className:"text-base font-black text-white mb-1",children:"ご来場いただきありがとうございました!"}),(0,s.jsxs)("p",{className:"text-[11px] text-white/65 leading-relaxed",children:["皆さまのおかげで素晴らしい1日になりました。",(0,s.jsx)("br",{}),"また次回のステージでお会いしましょう \uD83C\uDF89"]})]})]})}),"closed"===z&&(0,s.jsxs)(i.P.div,{className:"w-full mt-4 space-y-3",style:{maxWidth:"340px"},initial:{opacity:0,y:10}
1,animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},children:[(a=(0,A.nU)(),(0,s.jsxs)("button",{type:"button",onClick:()=>{a||window.dispatchEvent(new Event("open-video-preorder"))},disabled:a,className:"w-full block rounded-2xl overflow-hidden relative text-left disabled:cursor-not-allowed",style:{background:a?"linear-gradient(135deg, #6b7280, #9ca3af)":"linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%)",boxShadow:a?"none":"0 8px 24px rgba(99,102,241,0.35), 0 4px 8px rgba(236,72,153,0.20)",opacity:a?.85:1},children:[(0,s.jsx)("div",{"aria-hidden":!0,className:"absolute pointer-events-none",style:{top:"-30%",right:"-10%",width:"60%",height:"150%",background:"radial-gradient(ellipse, rgba(255,255,255,0.25), transparent 70%)",filter:"blur(8px)"}}),(0,s.jsxs)("div",{className:"relative flex items-stretch",children:[(0,s.jsxs)("div",{className:"flex-1 px-4 pt-4 pb-4 min-w-0",children:[(0,s.jsx)("div",{className:"text-[9px] tracking-[0.25em] text-white/85 font-bold mb-1",children:"VIDEO DATA \xb7 PRE-ORDER"}),(0,s.jsxs)("div",{className:"text-[19px] font-black text-white leading-tight mb-1",children:["映像データ販売",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"text-white",children:a?"予約受付終了":"予約受付中"})]}),(0,s.jsxs)("div",{className:"text-[10px] text-white/85 mb-2.5 leading-snug",children:["BW5 全演目 \xa53,000",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"text-white/70",children:a?"5/19(火) 23:59 で締切ました":"期限 5/19(火) 23:59"})]}),(0,s.jsx)("div",{className:"inline-block px-4 py-1.5 rounded-full text-[12px] font-black",style:{background:a?"#9ca3af":"#fff",color:a?"#fff":"#6366f1",boxShadow:a?"none":"0 4px 12px rgba(0,0,0,0.15)"},children:a?"受付終了":"予約する →"})]}),(0,s.jsx)("div",{className:"relative shrink-0 self-stretch",style:{width:"130px"},children:(0,s.jsx)("img",{src:"/merch/video_data_cutout.png",alt:"BW5 映像データ DVDケース",className:"absolute",style:{right:"-10px",top:"50%",transform:"translateY(-50%) rotate(-5deg)",width:"150px",height:"auto",filter:"drop-shadow(0 10px 18px rgba(76,29,149,0.55)) drop-shadow(0 4px 6px rgba(190,24,93,0.35))"}})})]})]})),(0,s.jsx)("a",{href:"/photo",className:"w-full block rounded-2xl overflow-hidden relative text-left",style:{background:"linear-gradient(135deg, #f27a1a 0%, #dc4c04 100%)",boxShadow:"0 8px 24px rgba(220,76,4,0.35), 0 4px 8px rgba(244,162,97,0.25)"},children:(0,s.jsxs)("div",{className:"relative flex items-center gap-3 px-4 py-4",children:[(0,s.jsx)("span",{className:"text-3xl shrink-0",children:"\uD83D\uDCF8"}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("div",{className:"text-[9px] tracking-[0.25em] text-white/85 font-bold mb-0.5",children:"GROUP PHOTOS \xb7 6 PHASES"}),(0,s.jsx)("div",{className:"text-[17px] font-black text-white leading-tight",children:"本番写真 公開ページ"}),(0,s.jsx)("div",{className:"text-[10px] text-white/85 mt-0.5",children:"5/13 から順次公開 (全6Phase)"})]}),(0,s.jsx)("span",{className:"inline-flex items-center justify-center w-9 h-9 rounded-full shrink-0",style:{background:"#fff",color:"#dc4c04"},children:"→"})]})}),(0,s.jsx)(A.D7,{}),(0,s.jsx)(A.nA,{})]})]}),(0,s.jsx)(i.P.div,{className:"relative z-10 w-full mt-4 px-1 sm:px-0",style:{maxWidth:"min(380px, calc(100vw - 24px))"},initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.3},children:(0,s.jsx)("div",{className:"grid grid-cols-3 gap-2",children:I.map((e,t)=>(0,s.jsxs)(i.P.button,{onClick:()=>!e.locked&&M(e.id),className:"group relative flex flex-col items-center justify-center rounded-2xl py-3.5 px-2 transition-all duration-300 overflow-hidden",style:{background:e.locked?"rgba(255,255,255,0.06)":"rgba(255,255,255,0.13)",border:e.locked?"1px solid rgba(255,255,255,0.08)":"1px solid rgba(255,255,255,0.2)",backdropFilter:"blur(12px)",opacity:e.locked?.5:1},initial:{opacity:0,scale:.8},animate:{opacity:e.locked?.5:1,scale:1},transition:{duration:.4,delay:.4+.06*t,type:"spring",stiffness:200},whileTap:e.locked?{}:{scale:.92},whileHover:e.locked?{}:{background:"rgba(255,255,255,0.22)",borderColor:"rgba(255,255,255,0.35)"},children:[(0,s.jsx)("span",{className:"text-2xl mb-1",children:e.locked?"\uD83D\uDD12":e.emoji}),(0,s.jsx)("span",{className:"text-[11px] font-bold text-white leading-tight text-center",children:e.label}),!e.locked&&(0,s.jsx)("span",{className:"text-[8px] text-white/50 mt-0.5 leading-tight text-center",children:e.desc}),e.locked&&(0,s.jsx)("span",{className:"text-[8px] text-white/30 mt-0.5",children:"Coming Soon"})]},e.id))})}),(0,s.jsx)(i.P.div,{className:"relative z-10 mt-4 flex flex-col items-center gap-0.5",animate:{o
1pacity:[.3,.7,.3]},transition:{duration:2,repeat:1/0},children:(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white/30",children:(0,s.jsx)("path",{d:"M6 9l6 6 6-6"})})})]}),P("backstage")&&(0,s.jsx)(ex,{}),("pre"===z||"morning"===z)&&(0,s.jsx)("section",{id:"venue",className:"py-10 px-4 sm:px-6",children:(0,s.jsx)("div",{className:"max-w-md mx-auto",children:(0,s.jsxs)(i.P.div,{className:"rounded-2xl overflow-hidden shadow-lg",style:{background:"rgba(255,255,255,0.95)",border:"1px solid rgba(255,255,255,0.6)"},initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-80px"},transition:{duration:.6},children:[(0,s.jsx)("div",{className:"px-5 pt-5 pb-2",children:(0,s.jsxs)("div",{className:"flex items-center gap-2.5 mb-1",children:[(0,s.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center",style:{background:"#f27a1a"},children:(0,s.jsx)(c.A,{size:16,className:"text-white"})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-sm font-bold",style:{color:"#333"},children:"会場情報"}),(0,s.jsx)("p",{className:"text-[10px] tracking-wider uppercase",style:{color:"#999"},children:"Venue"})]})]})}),(0,s.jsxs)("div",{className:"px-5 pb-5 space-y-3",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-base font-bold leading-snug",style:{color:"#222"},children:O}),(0,s.jsx)("p",{className:"text-xs mt-0.5",style:{color:"#888"},children:F})]}),(0,s.jsx)("div",{className:"flex items-center gap-4 text-xs",style:{color:"#666"},children:(0,s.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,s.jsx)(o.A,{size:13}),(0,s.jsxs)("span",{children:["開場 ",u.open_time||"13:45"," / 開演 ",u.start_time||"14:30"]})]})}),(0,s.jsxs)("a",{href:D,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-between w-full px-4 py-2.5 rounded-xl text-sm font-bold text-white transition-all hover:opacity-90",style:{background:"#f27a1a"},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(c.A,{size:15}),(0,s.jsx)("span",{children:"Google Maps で開く"})]}),(0,s.jsx)(d.A,{size:14,className:"text-white/70"})]})]})]})})}),"closed"===z?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"section-divider"}),P("merch")||P("video")?(0,s.jsx)(A.Ay,{}):(0,s.jsx)(V,{id:"merch",...ey}),(0,s.jsx)("div",{className:"section-divider"}),P("music")?(0,s.jsx)(T,{}):(0,s.jsx)(V,{id:"music",...ev}),(0,s.jsx)("div",{className:"section-divider"}),P("schedule")?(0,s.jsx)(_,{}):(0,s.jsx)(V,{id:"schedule",...ej}),(0,s.jsx)("div",{className:"section-divider"}),P("pamphlet")?(0,s.jsx)(eh,{}):(0,s.jsx)(V,{id:"pamphlet",...ek}),(0,s.jsx)("div",{className:"section-divider"}),P("vote")?(0,s.jsx)(L,{}):(0,s.jsx)(V,{id:"vote",...eN}),(0,s.jsx)("div",{className:"section-divider"}),P("sns")?(0,s.jsx)(B,{}):(0,s.jsx)(V,{id:"sns",...ew})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"section-divider"}),P("schedule")?(0,s.jsx)(_,{}):(0,s.jsx)(V,{id:"schedule",...ej}),(0,s.jsx)("div",{className:"section-divider"}),P("pamphlet")?(0,s.jsx)(eh,{}):(0,s.jsx)(V,{id:"pamphlet",...ek}),(0,s.jsx)("div",{className:"section-divider"}),P("merch")||P("video")?(0,s.jsx)(A.Ay,{}):(0,s.jsx)(V,{id:"merch",...ey}),(0,s.jsx)("div",{className:"section-divider"}),P("music")?(0,s.jsx)(T,{}):(0,s.jsx)(V,{id:"music",...ev}),(0,s.jsx)("div",{className:"section-divider"}),("show"===z||"open"===z)&&(0,s.jsx)(en,{}),(0,s.jsx)("div",{className:"section-divider"}),P("vote")?(0,s.jsx)(L,{}):(0,s.jsx)(V,{id:"vote",...eN}),(0,s.jsx)("div",{className:"section-divider"}),P("sns")?(0,s.jsx)(B,{}):(0,s.jsx)(V,{id:"sns",...ew})]}),(0,s.jsx)(Q,{})]})]})}}},e=>{e.O(0,[8500,8437,3318,4116,4249,4315,5120,8441,3794,7358],()=>e(e.s=7676)),_N_E=e.O()}]);

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.