PageSourceSearch

https://high-quality-gunpla-scan.com/assets/route-jnj6fUGH.js

js high-quality-gunpla-scan.com collected 2026-10-05 09:33:50 UTC 3,260 bytes, 1 lines download raw bytes

1import{a7 as g,u as b,r as u,d as n,j as e,b4 as p,b5 as f,b6 as x,e as d,b7 as j,a as w,w as v,I as h,k as m,b8 as N,O as k}from"./index-C20KSdOe.js";import{S as C}from"./skeleton-DPAsFvQp.js";import{S as M}from"./spinner-DIdUXX0x.js";import{a as y}from"./rawResource-Czi8Qpe9.js";import"./index-CAguuJYO.js";const R=({children:i,className:a,modelId:t})=>{const r=g(),{pathname:s}=b(),l=u.useMemo(()=>s.includes(n.digitalContent.dioramaMovies.list(t))?"list":"create",[s,t]),c=o=>{j(o).with("create",()=>{r({to:n.digitalContent.dioramaMovies.create(t),replace:!0})}).with("list",()=>{r({to:n.digitalContent.dioramaMovies.list(t),replace:!0})}).otherwise(()=>{r({to:n.digitalContent.dioramaMovies.create(t),replace:!0})})};return e.jsxs(p,{value:l,onValueChange:c,className:d(a),children:[e.jsx("div",{className:"flex justify-center bg-text-link-blue py-2",children:e.jsxs(f,{className:"mx-4 flex h-10 w-full max-w-[736px] bg-transparent p-0",children:[e.jsx(x,{value:"create",className:d("h-full w-[50%] rounded-l-lg bg-[rgba(255,255,255,0.2)] data-[state=active]:bg-white data-[state=active]:text-text-link-blue",l==="create"?"text-text-link-blue":"text-white"),children:e.jsx("p",{className:"web-caption-1-strong",children:"ムービー作成"})}),e.jsx(x,{value:"list",className:d("h-full w-[50%] rounded-r-lg bg-[rgba(255,255,255,0.2)] data-[state=active]:bg-white data-[state=active]:text-text-link-blue",l==="list"?"text-text-link-blue":"text-white"),children:e.jsx("p",{className:"web-caption-1-strong",children:"マイムービー"})})]})}),i]})},T=({modelId:i})=>{const{currentUser:a}=w(),t=u.useMemo(()=>a?.dioramaMovieTicketCount??null,[a]);return e.jsxs("header",{className:"pb-2 pt-5",children:[e.jsxs("div",{className:"relative mb-6 flex items-center justify-end bg-primary-blue p-4 text-white",children:[e.jsx("div",{className:"absolute left-4",children:e.jsx(v,{onClick:()=>{window.location.href=n.highScanViewer.detail(i)},className:"bg-transparent",children:e.jsx(h,{src:m.shop_icon,alt:"前のページへ戻る",width:30,height:30})})}),e.jsx("h1",{className:"absolute left-1/2 -translate-x-1/2 web-title-3",children:"ジオラマムービー"}),e.jsx("div",{className:"absolute right-4 flex flex-row items-center gap-2",children:e.jsxs("div",{className:"mt-1 flex items-center rounded-2xl border border-color-border-light-blue bg-white/30 px-2 py-1",children:[e.jsx(h,{src:m.ticket_icon,alt:"チケット",width:24,height:24,className:"mr-1"}),t===null?e.jsx(C,{className:"h-[14px] w-2 !bg-transparent"}):e.jsx("p",{className:"text-color-text-weakest web-caption-2",children:t})]})})]}),e.jsx(R,{modelId:i})]})};function H(){const i=N.useParams(),[a,t]=u.useState(!1),r=i.id||"",{data:s,isLoading:l,error:c}=y(r),o=g();return u.useEffect(()=>{!l&&s&&!a&&(t(!0),s.isRigged||o({to:n.highScanViewer.detail(r),replace:!0}))},[l,s,a,r,o]),l||!a&&s?e.jsx("div",{className:"flex h-screen w-full items-center justify-center",children:e.jsx(M,{className:"h-8 w-8"})}):(c&&console.warn("Rigging check error in layout:",c),a&&s&&!s.isRigged?null:e.jsxs("div",{children:[e.jsx("div",{className:"bg-primary-blue",children:e.jsx(T,{modelId:i.id})}),e.jsx("div",{className:"flex flex-col items-center",children:e.jsx(k,{})})]}))}export{H as component};

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.