// === Escena 05 — "Imprimir, enviar, firmar" ===
// En play, la ficha de la factura: el icono `print` con badge de recuento es el PRIMERO de una
// fila de tres (print · comentarios · archivos) y solo sale si el registro existe y hay plantilla
// compatible (DNZ\...\Forms\DnzFormView.razor:41, 44-53); al pulsar abre el visor con el primer
// documento puesto y la lista entera en el desplegable (:706-728).
// El visor: «Seleccionar plantilla...» (:17-27), el destinatario visible antes de tocar nada
// (:30-36, 200-208), y en el pie DOS botones: «Imprimir» (:80-81) y UNO de los dos excluyentes
// (:84-95), con «Cerrar» separado a la derecha (:98).
// Para esta factura el segundo botón es SIEMPRE «Enviar por email»: define email_body y no
// email_sign, y email_sign no aparece ni una vez en todo DOCD\. Por eso la alternancia se dibuja
// como REGLA rotulada al lado, nunca como pantalla de la persona.
// Con la tarjeta «Información necesaria» arriba, el pie se queda solo con «Cerrar» (:78).
function EscenaPL05({ t }){
  const T = {
    boton:1.5,        // "un botón de imprimir con un número al lado"
    badge:3.7,        // "cuántas plantillas encajan"
    click:7.3,        // (el clic en el icono de imprimir)
    visor:7.7,        // "se abre el visor"
    primera:8.4,      // "con la primera puesta"
    desplegable:9.5,  // "las demás en el desplegable"
    correo:13.3,      // "a quién va el correo"
    antes:14.5,       // "antes de tocar nada"
    dosBotones:17.2,  // "dos botones, no tres"
    imprimir:19.7,    // "Imprimir, siempre"
    regla:23.4,       // "o enviar por correo, o enviar a firmar"
    nunca:26.7,       // "Nunca los dos a la vez"
    decide:29.0,      // "Lo decide la plantilla"
    preguntas:32.3,   // "si la plantilla hace preguntas"
    tarjeta:34.0,     // "el visor las pide antes"
    salida:38.0,      // "lo que esto no hace solo"
    iconoStep:0.12,    // cascada de los tres iconos de la ficha
    tercerDur:0.30,    // lo que tarda en irse el tercer botón rechazado
  };

  // ── Geometría ──
  const BX=60, BY=150, BW=1360, BH=870;   // navegador
  const VX=180, VY=372, VW=1120, VH=620;  // el visor
  const RX=1470, RW=410;                  // la regla rotulada, al lado
  const ICO = { x:1200, y:310, s:52, gap:14 };

  // ── Progresos ──
  const bnP = clamp((t-T.boton)/0.6,0,1);
  const bgPulse = t >= T.badge && t < T.badge+1.2 ? Math.sin((t-T.badge)/1.2*Math.PI) : 0;
  const vsP = clamp((t-T.visor)/0.75,0,1), vsE = Easing.easeOutBack(vsP);
  const priGlow = t >= T.primera && t < T.primera+1.0 ? Math.sin((t-T.primera)/1.0*Math.PI) : 0;
  const dpP = clamp((t-T.desplegable)/0.35,0,1);
  const dpAbierto = t >= T.desplegable && t < T.desplegable+1.7;
  const coP = clamp((t-T.correo)/0.5,0,1);
  const coGlow = t >= T.correo && t < T.correo+1.5 ? Math.sin((t-T.correo)/1.5*Math.PI) : 0;
  const coFijo = t >= T.antes;                          // "antes de tocar nada": el foco se queda quieto
  const preP = clamp((t-T.preguntas)/0.7,0,1);          // el documento cede sitio antes de que entre la tarjeta
  const pieP = clamp((t-T.dosBotones)/0.5,0,1), pieE = Easing.easeOutBack(pieP);
  // el tercer botón intenta entrar y es rechazado
  const t3in  = clamp((t-T.dosBotones-0.25)/0.35,0,1);
  const t3out = clamp((t-T.dosBotones-0.95)/T.tercerDur,0,1);
  const t3op  = t3in*(1-t3out)*0.40;
  const imGlow = t >= T.imprimir && t < T.imprimir+1.3 ? Math.sin((t-T.imprimir)/1.3*Math.PI) : 0;
  const rgP = clamp((t-T.regla)/0.6,0,1), rgE = Easing.easeOutBack(rgP);
  const nuP = clamp((t-T.nunca)/0.5,0,1);
  const deP = clamp((t-T.decide)/0.55,0,1), deE = Easing.easeOutBack(deP);
  const deDraw = Easing.easeInOutCubic(clamp((t-T.decide-0.2)/0.8,0,1));
  const tjP = clamp((t-T.tarjeta)/0.6,0,1), tjE = Easing.easeOutBack(tjP);
  const salP = clamp((t-T.salida)/0.6,0,1), salE = Easing.easeOutCubic(salP);

  const ICONOS = [
    { n:'print',   badge:'3', d:'M7 9 V4 H17 V9 M7 17 H5 A2 2 0 0 1 3 15 V11 A2 2 0 0 1 5 9 H19 A2 2 0 0 1 21 11 V15 A2 2 0 0 1 19 17 H17 M7 14 H17 V21 H7 Z' },
    { n:'chat',    badge:'2', d:'M21 12 A8 8 0 0 1 13 20 H4 L6.5 16.8 A8 8 0 1 1 21 12 Z' },
    { n:'archivos',badge:'5', d:'M4 6 A2 2 0 0 1 6 4 H10 L12 6.5 H18 A2 2 0 0 1 20 8.5 V18 A2 2 0 0 1 18 20 H6 A2 2 0 0 1 4 18 Z' },
  ];

  // ── Un botón del pie del visor ──
  const Pie = ({ children, tono='claro', op=1, sc=1, glow=0 })=>(
    <span className="f-plex" style={{display:'inline-flex', alignItems:'center', gap:11, padding:'14px 28px', borderRadius:9,
                  background: tono==='azul' ? '#0085FF' : (tono==='fantasma' ? '#F1F5F9' : '#fff'),
                  border: `1px solid ${tono==='azul' ? '#0085FF' : '#D6DCE4'}`,
                  color: tono==='azul' ? '#fff' : '#334155', fontSize:22, fontWeight:600,
                  opacity:op, transform:`scale(${sc})`,
                  boxShadow: glow > 0 ? `0 0 ${glow*30}px rgba(0,133,255,0.55)` : '0 2px 6px rgba(15,23,42,0.05)'}}>
      {children}
    </span>
  );

  return (
    <SlideCanvas variant="light">
      <DemoHeader t={t} eyebrow="IMPRIMIR, ENVIAR, FIRMAR" title={<span>Del registro al documento</span>}/>

      <div style={{position:'absolute', left:1640, top:46, opacity:clamp(t/0.5,0,1)}}>
        <span className="f-mono" style={{display:'inline-flex', alignItems:'center', gap:10, padding:'11px 20px',
                      background:'rgba(15,23,42,0.94)', color:'#fff', borderRadius:12, fontSize:17, fontWeight:700, letterSpacing:'2.4px'}}>
          <span style={{width:9, height:9, borderRadius:99, background:'#0085FF'}}/>
          PLAY
        </span>
      </div>

      {/* ─────────── El navegador con la ficha de la factura ─────────── */}
      <div style={{position:'absolute', left:BX, top:BY, width:BW, height:BH, borderRadius:14, overflow:'hidden',
                   background:'#fff', border:'1px solid #DCE1E8', boxShadow:'0 36px 84px rgba(15,23,42,0.16)',
                   opacity:clamp(t/0.6,0,1), filter:vsP > 0 ? 'saturate(0.85)' : 'none'}}>
        <BrowserChrome url="play.dinaup.com/App/Pymes/Sales/Invoice/1184" title="Factura V-2026-0184 — Dinaup"/>
        <DinaupAppHeader breadcrumb={['Ventas','Facturas','V-2026-0184']}/>

        {/* Cabecera de la ficha */}
        <div style={{position:'absolute', left:0, right:0, top:160, height:78, display:'flex', alignItems:'center', padding:'0 36px'}}>
          <div style={{lineHeight:1.25}}>
            <div className="f-plex" style={{fontSize:30, fontWeight:700, color:'#0F172A'}}>Factura V-2026-0184</div>
            <div className="f-plex" style={{fontSize:19, color:'#94A3B8'}}>Talleres Quijada, S.L. · 12/08/2026</div>
          </div>
        </div>

        {/* Campos de la ficha — atrezzo: solo se resalta lo que la voz nombra */}
        <div style={{position:'absolute', left:36, right:36, top:262, display:'grid', gridTemplateColumns:'1fr 1fr', gap:'18px 40px', opacity:0.9}}>
          {[['Cliente','Talleres Quijada, S.L.'],['Serie','V-2026'],['Fecha','12/08/2026'],['Vencimiento','11/09/2026'],
            ['Base imponible','694,00 €'],['Total','875,83 €']].map(f=>(
            <div key={f[0]} style={{display:'flex', alignItems:'center', gap:16, height:56,
                                    borderBottom:'1px solid #EEF2F6'}}>
              <span className="f-plex" style={{width:200, fontSize:19, color:'#94A3B8'}}>{f[0]}</span>
              <span className="f-plex" style={{fontSize:21, fontWeight:600, color:'#334155'}}>{f[1]}</span>
            </div>
          ))}
        </div>
      </div>

      {/* La fila de tres iconos de anotación — print es el primero, con su badge */}
      {bnP > 0 && ICONOS.map((ic,i)=>{
        const p = clamp((t-T.boton-i*T.iconoStep)/0.4,0,1), e = Easing.easeOutBack(p);
        const foco = i === 0;
        return (
          <div key={ic.n} style={{position:'absolute', left:ICO.x+i*(ICO.s+ICO.gap), top:ICO.y, width:ICO.s, height:ICO.s,
                                  borderRadius:10, background:foco ? 'rgba(0,133,255,0.10)' : '#F6F8FB',
                                  border:`1px solid ${foco ? 'rgba(0,133,255,0.45)' : '#E2E8F0'}`,
                                  display:'flex', alignItems:'center', justifyContent:'center',
                                  opacity:clamp(p*1.3,0,1)*(vsP > 0 ? 0.55 : 1), transform:`scale(${lerp(0.7,1,e)})`,
                                  boxShadow:foco && bgPulse > 0 ? `0 0 ${bgPulse*28}px rgba(0,133,255,0.5)` : 'none'}}>
            <svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke={foco ? '#0085FF' : '#64748B'} strokeWidth="1.8" strokeLinejoin="round">
              <path d={ic.d}/>
            </svg>
            <span className="f-mono" style={{position:'absolute', right:-7, top:-7, minWidth:24, height:24, borderRadius:99,
                          background:foco ? '#0085FF' : '#94A3B8', color:'#fff', fontSize:14, fontWeight:700,
                          display:'flex', alignItems:'center', justifyContent:'center', padding:'0 6px',
                          transform:`scale(${foco ? 1 + bgPulse*0.28 : 1})`}}>{ic.badge}</span>
          </div>
        );
      })}

      {/* ─────────── El visor ─────────── */}
      {vsP > 0 && (
        <div style={{position:'absolute', left:VX, top:VY, width:VW, height:VH,
                     opacity:clamp(vsP*1.4,0,1),
                     transform:`translate(${(1-vsE)*(ICO.x-VX)*0.55}px, ${(1-vsE)*(ICO.y-VY)*0.55}px) scale(${lerp(0.82,1,vsE)})`,
                     transformOrigin:'right top'}}>
          <div style={{position:'absolute', inset:0, background:'#fff', borderRadius:16,
                       boxShadow:'0 46px 110px rgba(15,23,42,0.42)', overflow:'hidden'}}>
            {/* Cabecera: el nombre del documento */}
            <div style={{height:74, borderBottom:'1px solid #EEF2F6', display:'flex', alignItems:'center', padding:'0 30px'}}>
              <span className="f-plex" style={{fontSize:26, fontWeight:700, color:'#0F172A'}}>Factura - Moderna</span>
              <div style={{flex:1}}/>
              <span style={{fontSize:26, color:'#94A3B8'}}>×</span>
            </div>

            {/* Barra: desplegable de plantillas + destinatario */}
            <div style={{height:88, borderBottom:'1px solid #F1F5F9', display:'flex', alignItems:'center', gap:24, padding:'0 30px'}}>
              <div style={{position:'relative', width:470, height:52, borderRadius:9, background:'#fff',
                           border:`2px solid ${dpAbierto || priGlow > 0 ? '#0085FF' : '#DCE1E8'}`,
                           boxShadow:priGlow > 0 ? `0 0 ${priGlow*26}px rgba(0,133,255,0.45)` : 'none',
                           display:'flex', alignItems:'center', padding:'0 16px', gap:10}}>
                <span className="f-plex" style={{fontSize:21, color:'#0F172A', fontWeight:600}}>Factura - Moderna</span>
                <div style={{flex:1}}/>
                <span style={{color:'#94A3B8', fontSize:16, transform:dpAbierto ? 'rotate(180deg)' : 'none'}}>▾</span>
                {dpAbierto && (
                  <div style={{position:'absolute', left:-2, top:56, width:474, background:'#fff', borderRadius:10,
                               border:'1px solid #E2E8F0', boxShadow:'0 22px 50px rgba(15,23,42,0.20)', overflow:'hidden',
                               opacity:dpP, zIndex:5}}>
                    {['Factura - Moderna','Factura - Dinaup','Factura simplificada'].map((s,i)=>(
                      <div key={s} className="f-plex" style={{padding:'13px 16px', fontSize:20,
                                    color:i===0?'#0085FF':'#334155', fontWeight:i===0?700:400,
                                    background:i===0?'rgba(0,133,255,0.07)':'transparent'}}>{s}</div>
                    ))}
                  </div>
                )}
                <span className="f-plex" style={{position:'absolute', left:2, top:-26, fontSize:16, color:'#94A3B8'}}>Seleccionar plantilla...</span>
              </div>
              <div style={{flex:1}}/>
              <div style={{display:'inline-flex', alignItems:'center', gap:12, padding:'10px 16px', borderRadius:9,
                           background:coP > 0 ? 'rgba(0,133,255,0.08)' : 'transparent',
                           border:`1px solid ${coFijo ? 'rgba(0,133,255,0.35)' : 'transparent'}`,
                           boxShadow:coGlow > 0 ? `0 0 ${coGlow*26}px rgba(0,133,255,0.45)` : 'none'}}>
                <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke={coP > 0 ? '#0085FF' : '#94A3B8'} strokeWidth="1.8">
                  <circle cx="12" cy="12" r="4"/><path d="M16 8 V13.5 A2.5 2.5 0 0 0 20.5 12 A8.5 8.5 0 1 0 17 18.8" strokeLinecap="round"/>
                </svg>
                <span className="f-plex" style={{fontSize:20, fontWeight:coP > 0 ? 700 : 400, color:coP > 0 ? '#0F172A' : '#94A3B8'}}>
                  administracion@talleresquijada.es
                </span>
              </div>
            </div>

            {/* Tarjeta «Información necesaria»: cuando entra, el pie se queda con «Cerrar» */}
            {tjP > 0 && (
              <div style={{position:'absolute', left:30, right:30, top:190, opacity:clamp(tjP*1.3,0,1),
                           transform:`translateY(${(1-tjE)*-16}px)`, zIndex:4}}>
                <div style={{background:'#FFF8EE', border:'2px solid #FB8C00', borderRadius:12, padding:'20px 24px',
                             boxShadow:'0 20px 46px rgba(251,140,0,0.22)'}}>
                  <div style={{display:'flex', alignItems:'center', gap:14}}>
                    <svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="#B45309" strokeWidth="1.9">
                      <path d="M5 3 H19 V21 H5 Z" strokeLinejoin="round"/><path d="M9 9 L11 11 L15 7" strokeLinecap="round"/><path d="M9 15 H15" strokeLinecap="round"/>
                    </svg>
                    <span className="f-plex" style={{fontSize:26, fontWeight:700, color:'#0F172A'}}>Información necesaria</span>
                  </div>
                  <div style={{display:'flex', gap:18, marginTop:16}}>
                    {['¿Incluir el desglose?','Copias a imprimir'].map(q=>(
                      <div key={q} style={{flex:1}}>
                        <div className="f-plex" style={{fontSize:18, color:'#8A6A3A'}}>{q}</div>
                        <div style={{height:44, marginTop:6, borderRadius:8, background:'#fff', border:'1px solid #E7D3B4'}}/>
                      </div>
                    ))}
                  </div>
                </div>
              </div>
            )}

            {/* El documento: la misma factura, ahora con su cuadro */}
            <div style={{position:'absolute', left:30, right:30, top:190, bottom:112, background:'#F6F8FB',
                         borderRadius:12, border:'1px solid #EEF2F6', overflow:'hidden',
                         opacity:1 - preP*0.35 - clamp(tjP,0,1)*0.35}}>
              <div style={{position:'absolute', left:'50%', top:22, transform:'translateX(-50%)', width:640, height:250,
                           background:'#fff', borderRadius:6, boxShadow:'0 12px 30px rgba(15,23,42,0.10)', padding:'20px 24px'}}>
                <div className="f-plex" style={{fontSize:22, fontWeight:800, color:'#0F172A'}}>FACTURA</div>
                <div className="f-mono" style={{fontSize:15, color:'#64748B', marginTop:2}}>V-2026-0184 · 12/08/2026</div>
                {[86,66,78].map((w,i)=>(
                  <div key={i} style={{display:'flex', alignItems:'center', gap:10, padding:'6px 0', borderBottom:'1px solid #F4F7FA'}}>
                    <div style={{height:8, width:`${w*0.55}%`, borderRadius:5, background:'#E2E8F0'}}/>
                    <div style={{flex:1}}/><div style={{height:8, width:48, borderRadius:5, background:'#CBD5E1'}}/>
                  </div>
                ))}
                <div style={{position:'absolute', right:22, bottom:18, width:96, height:96, borderRadius:6, overflow:'hidden', border:'1px solid #E2E8F0'}}>
                  <svg width="96" height="96" viewBox="0 0 21 21" style={{display:'block'}}>
                    <rect width="21" height="21" fill="#fff"/>
                    {Array.from({length:21}).map((_,y)=>Array.from({length:21}).map((_,x)=>{
                      const finder = (x<7&&y<7)||(x>13&&y<7)||(x<7&&y>13);
                      const ring = finder && (x%7===0||y%7===0||x%7===6||y%7===6||(x%7>=2&&x%7<=4&&y%7>=2&&y%7<=4));
                      const on = finder ? ring : ((x*7 + y*13 + ((x*y)%5)) % 5) < 2;
                      return on ? <rect key={x+'-'+y} x={x} y={y} width="1" height="1" fill="#0F172A"/> : null;
                    }))}
                  </svg>
                </div>
              </div>
            </div>

            {/* El pie */}
            <div style={{position:'absolute', left:30, right:30, bottom:26, height:64, display:'flex', alignItems:'center', gap:16}}>
              {pieP > 0 && tjP < 0.15 && (
                <>
                  <Pie tono="azul" op={clamp(pieP*1.3,0,1)} sc={lerp(0.88,1,pieE)} glow={imGlow}>
                    <svg width="21" height="21" viewBox="0 0 24 24" fill="none" stroke="#fff" strokeWidth="1.9" strokeLinejoin="round">
                      <path d="M7 9 V4 H17 V9 M7 17 H5 A2 2 0 0 1 3 15 V11 A2 2 0 0 1 5 9 H19 A2 2 0 0 1 21 11 V15 A2 2 0 0 1 19 17 H17 M7 14 H17 V21 H7 Z"/>
                    </svg>
                    Imprimir
                  </Pie>
                  <Pie op={clamp((pieP-0.2)*1.6,0,1)} sc={lerp(0.88,1,pieE)}>Enviar por email</Pie>
                  {/* el tercero intenta entrar y es rechazado */}
                  {t3op > 0.01 && (
                    <span className="f-plex" style={{display:'inline-flex', alignItems:'center', padding:'14px 28px', borderRadius:9,
                                  background:'#fff', border:'1px dashed #94A3B8', color:'#64748B', fontSize:22, fontWeight:600,
                                  opacity:t3op, transform:`translateX(${t3out*26}px) scale(${lerp(0.94,1,t3in)})`}}>
                      Enviar a firmar
                    </span>
                  )}
                </>
              )}
              <div style={{flex:1}}/>
              <Pie tono="fantasma">Cerrar</Pie>
            </div>
          </div>
        </div>
      )}

      {/* ─────────── La regla: lo decide la plantilla ─────────── */}
      {rgP > 0 && (
        <div style={{position:'absolute', left:RX, top:430, width:RW, opacity:clamp(rgP*1.3,0,1),
                     transform:`scale(${lerp(0.9,1,rgE)})`, transformOrigin:'left top'}}>
          <div style={{background:'#fff', borderRadius:16, border:'1px solid #E2E8F0', boxShadow:'0 24px 56px rgba(15,23,42,0.10)', padding:'24px 26px'}}>
            <div className="f-plex" style={{fontSize:16, fontWeight:700, letterSpacing:'2.2px', color:'#94A3B8'}}>EL SEGUNDO BOTÓN</div>
            {[['Enviar por email','email_body', true], ['Enviar a firmar','email_sign', false]].map((o,i)=>{
              const activo = o[2];
              const vis = i === 0 || nuP > 0;
              return (
                <div key={o[0]} style={{marginTop:16, padding:'14px 16px', borderRadius:10,
                              background:activo ? 'rgba(0,133,255,0.07)' : '#F6F8FB',
                              border:`2px ${activo ? 'solid #0085FF' : 'dashed #CBD5E1'}`,
                              opacity:vis ? 1 : 0.18}}>
                  <div style={{display:'flex', alignItems:'center', gap:12}}>
                    <span style={{width:12, height:12, borderRadius:99, background:activo ? '#0085FF' : '#CBD5E1'}}/>
                    <span className="f-plex" style={{fontSize:22, fontWeight:700, color:activo ? '#0F172A' : '#94A3B8'}}>{o[0]}</span>
                  </div>
                  <div className="f-mono" style={{fontSize:17, color:activo ? '#0085FF' : '#94A3B8', marginTop:7}}>
                    {activo ? o[1] + '  ✓ definido' : o[1] + '  — no definido'}
                  </div>
                </div>
              );
            })}
            {nuP > 0 && (
              <div className="f-plex" style={{fontSize:21, fontWeight:600, color:'#64748B', marginTop:16, lineHeight:1.35, opacity:nuP}}>
                Uno o el otro. Nunca los dos.
              </div>
            )}
          </div>
        </div>
      )}

      {/* Quién lo decide: la propia plantilla, con su metadato */}
      {deP > 0 && (
        <>
          <svg style={{position:'absolute', inset:0, pointerEvents:'none'}} width="1920" height="1080">
            <path d={`M ${RX+120} 386 L ${RX+120} 424`} pathLength="100" fill="none" stroke="#0085FF" strokeWidth="3"
                  strokeDasharray="100" strokeDashoffset={100*(1-deDraw)} strokeLinecap="round"/>
            <path d={`M ${RX+111} 414 L ${RX+120} 426 L ${RX+129} 414`} fill="none" stroke="#0085FF" strokeWidth="3"
                  strokeLinecap="round" strokeLinejoin="round" opacity={clamp((deDraw-0.8)/0.2,0,1)}/>
          </svg>
          <div style={{position:'absolute', left:RX, top:280, width:RW, opacity:clamp(deP*1.3,0,1),
                       transform:`scale(${lerp(0.9,1,deE)})`, transformOrigin:'left top'}}>
            <div style={{background:'#0F172A', borderRadius:12, padding:'16px 20px', boxShadow:'0 16px 38px rgba(15,23,42,0.25)'}}>
              <div className="f-mono" style={{fontSize:14, letterSpacing:'2px', color:'#64748B', fontWeight:700}}>EN LA PLANTILLA</div>
              <div className="f-mono" style={{fontSize:18, color:'#E2E8F0', marginTop:8, lineHeight:1.5}}>
                F.MetaData_Set(<span style={{color:'#FFCB6B'}}>"email_body"</span>, …)
              </div>
            </div>
          </div>
        </>
      )}

      {/* Salida: la pantalla da un paso atrás — lo que viene son los límites */}
      {salP > 0 && (
        <div style={{position:'absolute', inset:0, background:'#fff', opacity:salE*0.34, pointerEvents:'none'}}/>
      )}

      {t < T.dosBotones && (
        <ScriptedCursor t={t} clickTimes={[T.click]} frames={[
          { t:0.6,  x:1720, y:980 },
          { t:6.4,  x:1720, y:980 },
          { t:7.25, x:ICO.x+ICO.s/2, y:ICO.y+ICO.s/2 },
          { t:9.2,  x:ICO.x+ICO.s/2, y:ICO.y+ICO.s/2 },
          { t:11.0, x:1760, y:1010 },
        ]}/>
      )}
    </SlideCanvas>
  );
}
Object.assign(window, { EscenaPL05 });
