PageSourceSearch

https://cicloviacolliebrembo.it/_nuxt/Cvwlbgt9.js

js cicloviacolliebrembo.it collected 2026-10-02 01:58:44 UTC 2,144 bytes, 1 lines download raw bytes

1import{j as b,e as w,r as v,k as _,u as f,c as n,a as e,f as a,t as p,d as h,o as i}from"./C2Ppb7Bp.js";import{_ as k}from"./DlAUqK2U.js";const y={class:"webapp-preview"},g={class:"container"},A={key:0,class:"error-message"},x={key:1,class:"redirect-message"},R={class:"redirect-content"},B={class:"redirect-url"},M={key:2,class:"smartphone-container"},N={class:"smartphone"},S={class:"smartphone-screen"},z=["src","title"],I={class:"webapp-info"},T={class:"webapp-url"},C={__name:"webapp",setup(E){const c=b(),t=w(()=>c.query.url||""),r=v(!1),d=()=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||window.innerWidth<=768,l=()=>{t.value&&(window.location.href=t.value)};_(()=>{t.value&&d()&&(r.value=!0,setTimeout(()=>{l()},2e3))}),f({title:t.value?`Anteprima: ${t.value}`:"Anteprima Webapp"});const u=()=>{t.value&&window.open(t.value,"_blank")},m=()=>{const o=document.querySelector(".webapp-iframe");if(o){const s=o.src;o.src="",setTimeout(()=>{o.src=s},100)}};return(o,s)=>(i(),n("div",y,[e("div",g,[s[6]||(s[6]=e("h1",{class:"title"},"Anteprima Webapp",-1)),a(t)?a(r)?(i(),n("div",x,[e("div",R,[s[1]||(s[1]=e("div",{class:"spinner"},null,-1)),s[2]||(s[2]=e("h2",null,"Reindirizzamento in corso...",-1)),s[3]||(s[3]=e("p",null,"Stai per essere reindirizzato alla webapp",-1)),e("p",B,p(a(t)),1),e("button",{class:"btn btn-primary",onClick:l}," Vai subito alla webapp ")])])):(i(),n("div",M,[e("div",N,[e("div",S,[e("iframe",{src:a(t),class:"webapp-iframe",title:`Anteprima webapp: ${a(t)}`,allowfullscreen:""},null,8,z)]),s[4]||(s[4]=e("div",{class:"smartphone-home-button"},null,-1))]),e("div",I,[e("p",T,[s[5]||(s[5]=e("strong",null,"URL:",-1)),h(" "+p(a(t)),1)]),e("div",{class:"actions"},[e("button",{class:"btn btn-primary",onClick:u}," Apri in nuova scheda "),e("button",{class:"btn btn-secondary",onClick:m}," Ricarica ")])])])):(i(),n("div",A,[...s[0]||(s[0]=[e("p",null,"Nessuna webapp specificata. Aggiungi il parametro 'url' nell'URL.",-1),e("p",{class:"example"},"Esempio: /webapp?url=https://example.com",-1)])]))])]))}},V=k(C,[["__scopeId","data-v-73adc70b"]]);export{V as default};

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.