PageSourceSearch

https://ollion.com/_nuxt/Embed.4n9IPJxX.js

js ollion.com collected 2026-10-01 12:02:06 UTC 1,263 bytes, 1 lines download raw bytes

1import{d as E,k as S,B as p,I as w,_ as x,o as i,c as u,e as B,g as L,E as C,a as d,ah as v}from"./entry.Bg2SW8ob.js";const P=E({name:"Embed",props:{html:String,showLoading:{type:Boolean,default:!0}},setup(n){const o=S(!0),s=[],c=[],a=/<script[\s\S]*?>[\s\S]*?<\/script>/gi,l=/<script[^>]*src=['"](.*?)['"]/gim,m=p(()=>{var e;return((e=n.html)==null?void 0:e.match(a))||[]}),h=p(()=>{var e;return(e=n.html)==null?void 0:e.replace(a,"")});function f(e){return new Promise((t,k)=>{const r=document.createElement("script");r.src=e,r.async=!0,r.onload=()=>t(),r.onerror=y=>k(y),document.head.appendChild(r)})}function _(){m.value.forEach(e=>{const t=l.exec(e);t?s.push(f(t[1])):c.push(e.replace(/<\/?script[^>]*>/gi,""))})}function g(){c.forEach(e=>{try{new Function(e)()}catch(t){console.error("Error executing inline script:",t)}})}return w(async()=>{_();try{await Promise.all(s),o.value=!1,g()}catch(e){console.error(e)}}),{loading:o,markup:h}}}),$=["innerHTML"],M={key:0,class:"loading"};function T(n,o,s,c,a,l){return i(),u("section",null,[B("div",{ref:"html",innerHTML:n.markup},null,8,$),n.showLoading?(i(),L(v,{key:0,name:"fade"},{default:C(()=>[n.loading?(i(),u("div",M,"Loading...")):d("",!0)]),_:1})):d("",!0)])}const I=x(P,[["render",T]]);export{I as _};

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.