PageSourceSearch

https://www.revolutionrace.nl/_nuxt/production-273317172/81L21ADt.js

js revolutionrace.nl collected 2026-09-26 09:31:12 UTC 3,096 bytes, 1 lines download raw bytes

1import{_ as N}from"./Cxoz92W9.js";import{ck as V,gF as $,gR as z,h2 as h,eB as L,ez as Y,eE as n,bO as r,bM as _,h9 as p,f2 as v,bZ as O,g3 as W,ge as i,bN as d,c1 as U,eu as X,ep as k,gx as j,bG as u,gU as A,es as F,aY as G,aX as P,b0 as Z}from"#entry";import{u as q}from"./DHS2Yzvp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"production-273317172"};var l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="f2f3b4d8-5430-4fb2-b33d-533adf9d3294",e._sentryDebugIdIdentifier="sentry-dbid-f2f3b4d8-5430-4fb2-b33d-533adf9d3294")}catch{}})();const H=["aria-labelledby"],J={key:0,class:"dialog__header"},K={key:1,class:"dialog__content"},Q=V({__name:"Dialog",props:k({title:{default:()=>{}},closeButton:{type:Boolean,default:!0},variant:{default:"modal"},animation:{default:"open"},theme:{default:"light"}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:k(["onClose"],["update:modelValue"]),setup(e,{emit:l}){const c=j(),w=q("screenreaderhelper"),x=u(()=>w.get("closemodal")),t=$(e,"modelValue"),f=l,s=A("dialogRef"),B=u(()=>window.innerWidth-document.documentElement.clientWidth),C=o=>{e.variant!=="important"&&o.target===s.value&&b()},a=z("dialogs-open",()=>0),m=async()=>{const o=s.value;if(!(!o||o.open||!o.showModal)){await F();try{o.showModal(),a.value+=1}catch{t.value=!1}}},g=()=>{const o=s.value;if(o?.open)try{o.close()}catch{a.value=Math.max(0,a.value-1),t.value&&(t.value=!1),f("onClose")}},b=()=>{t.value=!1,g()},D=()=>{a.value=Math.max(0,a.value-1),t.value&&(t.value=!1),f("onClose")},y=()=>{document.body.classList.remove("dialog-open"),document.body.style.paddingRight="",S()},M=()=>{document.body.classList.contains("dialog-open")||(document.body.style.top=`-${window.scrollY}px`,document.body.style.paddingRight=`${B.value}px`,document.body.classList.add("dialog-open"))},S=()=>{const o=document.body.style.top;window.scrollTo(0,Number.parseInt(o||"0")*-1)};h(t,o=>{if(o){m();return}g()}),h(a,o=>{if(o===0){y();return}M()}),L(()=>{t.value&&m()}),Y(()=>{y()});const I=u(()=>e.animation==="left"||e.animation==="right"||e.animation==="bottom");return(o,ee)=>{const R=N,T=P,E=G;return n(),r("dialog",{ref_key:"dialogRef",ref:s,class:X(["dialog",[e.animation,{"full-screen":i(I)},e.theme==="dark"?"dialog--dark":""]]),"aria-labelledby":i(c),onClose:D,onClick:C},[e.title||e.closeButton?(n(),r("div",J,[e.title?(n(),_(R,{key:0,id:i(c),class:"dialog__title",component:"h3",size:"lg",weight:"bold","no-margin":""},{default:p(()=>[v(o.$slots,"icon",{},void 0,!0),O(W(e.title),1)]),_:3},8,["id"])):d("",!0),e.closeButton?(n(),_(E,{key:1,variant:"text",size:"xs",rounded:"",class:"dialog__close","aria-describedby":"close-modal-description","aria-label":i(x),onClick:b},{default:p(()=>[U(T,{name:"X",size:30})]),_:1},8,["aria-label"])):d("",!0)])):d("",!0),t.value?(n(),r("div",K,[v(o.$slots,"default",{},void 0,!0)])):d("",!0)],42,H)}}}),ne=Object.assign(Z(Q,[["__scopeId","data-v-4fe0845c"]]),{__name:"Dialog"});export{ne 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.