PageSourceSearch

https://motofestbrasil.com.br/_nuxt/TheMask.COssXMYx.js

js motofestbrasil.com.br collected 2026-10-02 00:44:29 UTC 7,256 bytes, 7 lines download raw bytes

1function __vite__mapDeps(indexes) {
2  if (!__vite__mapDeps.viteFileDeps) {
3    __vite__mapDeps.viteFileDeps = ["./Default.CrRuB7N7.js","./nuxt-link.B7qScnFM.js","./entry.C_mKw64L.js","./ui.BsWwlKVq.js","./entry.Cx-ZgA9E.css","./panel-navigation.BizysDLM.js","./data-layer.C8UFUHpH.js","./nuxt-img.2l-WB3ae.js","./use-disclosure.3PM7Amis.js","./role-translate.BkuNGNFd.js","./Default.D_PLUr7p.css","./Mobile.9uqLBTPQ.js","./Mobile.C2ULe6kQ.css","./NotificationPanel.CSFqA5C1.js","./TheSidebar.DPRL8XP_.js","./useDevice.BGKSqD5x.js","./fetch.BACS7r3j.js","./asyncData.DqtHSIeQ.js","./TheLinks.C3rhhNYV.js","./use-theme.C0wcLGIU.js","./TheLinks.D9geBRpJ.css","./TheSidebar.ueuiJkF9.css","./Sidebar.BvY35TMN.js","./Title.vue.DRu4mZHp.js","./Divider.CtPgl2le.js","./Divider.ByIGFw9J.css","./Sidebar.C-0q3Ru4.css"]
4  }
5  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
6}
7!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="9e844f3f-e866-47a8-9d1e-ec3d1171eaa5",e._sentryDebugIdIdentifier="sentry-dbid-9e844f3f-e866-47a8-9d1e-ec3d1171eaa5")}catch(e){}}();import{az as e,aB as a,b6 as t,aF as s,aJ as n,b2 as o,b1 as l}from"./entry.C_mKw64L.js";import{I as i,J as r,Q as d,R as u,L as c,j as m,b as p,A as f,u as g,a0 as v,$ as _,F as y,am as b,a4 as h,q as w,O as k,a6 as x,Z as j,C as I,M as L,a as D,B as E,an as A,ao as R,af as C,al as B,as as O}from"./ui.BsWwlKVq.js";import{_ as V}from"./nuxt-link.B7qScnFM.js";import{u as F}from"./data-layer.C8UFUHpH.js";import{_ as M}from"./nuxt-img.2l-WB3ae.js";import{u as P}from"./use-disclosure.3PM7Amis.js";import{r as S}from"./role-translate.BkuNGNFd.js";const T={},U={class:"__html-logo"},z=[(e=>(d("data-v-68fe2207"),e=e(),u(),e))(()=>c("div",{class:"logo-wrapper position-relative"},[c("div",{class:"app-name position-relative d-flex justify-content-center"},[c("div",{class:"app-logo-img position-relative",style:{"background-image":"url('/images/logo-small.png')","background-size":"contain","background-repeat":"no-repeat",width:"350px",height:"350px"}})])],-1))];const $=e(T,[["render",function(e,a){return i(),r("div",U,z)}],["__scopeId","data-v-68fe2207"]]),q=["value","selected"],G=m({__name:"Switcher",setup(e){const s=["maker","music","service","motoclub","guest","admin","enthusiast"],{currentRole:n,isAdmin:o}=a();return p(n,e=>{t.set("current-role",e)}),f(()=>{const e=t.get("current-role");e&&(n.value=e)}),(e,a)=>{const t=x;return g(o)?(i(),v(t,{key:0,modelValue:g(n),"onUpdate:modelValue":a[0]||(a[0]=e=>w(n)?n.value=e:null),style:{width:"max-content"}},{default:_(()=>[(i(),r(y,null,b(s,e=>c("option",{value:e,key:e,selected:e===g(n)},h(e),9,q)),64))]),_:1},8,["modelValue"])):k("",!0)}}}),J={class:"__sso-input d-flex w-100 justify-center"},Q={class:"__sso-input-content shadow-md pl-2 my-2 py-1 d-flex align-center justify-content-center"},W=e(m({__name:"index",emits:["click"],setup(e,{emit:t}){const{signInWithGoogle:s}=a(),{buttonClick:n}=F();return(e,a)=>{const t=j("FaIcon");return i(),r("div",J,[c("div",Q,[c("div",{onClick:a[0]||(a[0]=e=>{return n(`login_with_${a="google"}`),void("google"===a&&s());var a}),class:"mr-2 btn bg-warning rounded-circle p-2 d-flex align-center justify-content-center"},[I(t,{icon:"user-alt",class:"text-dark"})])])])}}}),[["__scopeId","data-v-cc230231"]]),Z={key:1,class:"user-no-image text-bg-secondary"},H={class:"badge bg-primary"},K={class:"user-nav"},N=e(m({__name:"LoggedInUser",setup(e){const{firebaseAuth:t,auth:o,role:l,panelEnabledFor:d}=a(),u=s(),{isOpen:m,toggle:p,onClose:f}=P(),y=async()=>{await(t.value?.signOut()),localStorage.clear(),indexedDB.deleteDatabase("firebaseLocalStorageDb"),o.value=null,window.location.reload()};return document.addEventListener("click",e=>{if(m.value){e.target.closest(".user-signed-in")||f()}},{passive:!0}),(e,a)=>{const t=M,s=V;return i(),r("div",{class:"user-signed-in text-white position-relative",role:"button","aria-label":"profile-img",title:"profile-img",onClick:a[0]||(a[0]=(...e)=>g(p)&&g(p)(...e))},[g(o)?.image?(i(),v(t,{key:0,src:g(o)?.image,height:"30",width:"30",style:{borderRadius:"50%"},alt:"profile-img"},null,8,["src"])):(i(),r("div",Z,h(g(o)?.name.charAt(0)),1)),c("div",{class:L(["user-menu user-dropdown position-absolute end-0 bg-brand-dark border rounded",{open:g(m)}])},[c("span",H,h(g(S)[g(l)]),1),c("div",K,[g(d).includes(g(l))?(i(),v(s,{key:0,to:g(n).panel,class:"text-decoration-none text-white"},{default:_(()=>[c("div",{class:L(["user-nav-item",{active:g(u).currentRoute.value.path===g(n).panel}])}," Painel ",2)]),_:1},8,["to"])):k("",!0),c("div",{class:"user-nav-item",onClick:y},"Logout")])],2)])}}}),[["__scopeId","data-v-c1896fc0"]]),X=()=>{const e=o("show-mobile-ui",()=>!1),a=D(!1),t=()=>{e.value=window.innerWidth<992};return f(()=>{a.value=!0,t(),window.addEventListener("resize",t)}),E(()=>{window.removeEventListener("resize",t)}),{showMobile:e,ready:a}},Y=""+new URL("harley-ignition.BKZ0gF-c.mp3",import.meta.url).href,ee=""+new URL("harley-idle.Bhyc5L28.mp3",import.meta.url).href,ae=""+new URL("harley-takeoff-fast.47mI5yco.mp3",import.meta.url).href,te=()=>{const e=o("idle-sound",()=>{}),a=o("takeoff-sound",()=>{}),t=o("ignition-sound",()=>{}),s={idle(){e.value||(e.value=new Audio(ee),e.value.volume=.3),e.value.play()},takeoff(){a.value||(a.value=new Audio(ae),a.value.volume=.3),a.value.play()},ignition(){t.value||(t.value=new Audio(Y),t.value.volume=.3),t.value.play()}};return{play:e=>{s[e]()}}},se=C(()=>l(()=>import("./Default.CrRuB7N7.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]),import.meta.url).then(e=>e.default||e)),ne=C(()=>l(()=>import("./Mobile.9uqLBTPQ.js"),__vite__mapDeps([11,1,2,3,4,5,6,7,8,9,12]),import.meta.url).then(e=>e.default||e)),oe=C(()=>l(()=>import("./NotificationPanel.CSFqA5C1.js"),__vite__mapDeps([13,14,3,15,2,4,16,17,18,19,6,20,21,22,23,24,25,8,26]),import.meta.url).then(e=>e.default||e)),le={key:1},ie=e(m({__name:"TheHeader",setup(e){const{play:t}=te(),{auth:s}=a(),{showMobile:n,ready:o}=X();return(e,a)=>{const l=$,d=V,u=A,c=se,m=G,p=W,f=N,y=ne,b=oe,h=R;return i(),v(h,{"no-gutters":"",class:"header bg-brand-dark shadow justify-content-between align-center px-5"},{default:_(()=>[I(u,{cols:"4",sm:"2",md:"1",class:"d-flex justify-content-start align-items-center app-logo--small"},{default:_(()=>[I(d,{"aria-label":"Go to home",href:"/",class:"text-decoration-none",onClick:a[0]||(a[0]=e=>g(t)("ignition"))},{default:_(()=>[I(l)]),_:1})]),_:1}),g(o)?(i(),v(u,{key:0,cols:"8",class:"d-flex justify-content-end align-items-center gap-3"},{default:_(()=>[g(n)?k("",!0):(i(),v(c,{key:0})),I(m),g(o)?(i(),r("div",le,[g(s)?.token?(i(),v(f,{key:1})):(i(),v(p,{key:0}))])):k("",!0),g(n)?(i(),v(y,{key:2})):k("",!0),g(n)?(i(),v(b,{key:3})):k("",!0)]),_:1})):k("",!0)]),_:1})}}}),[["__scopeId","data-v-0030f1ac"]]),re={class:"__bg-mask-wrapper position-relative"},de={class:"__bg-mask-slot"},ue=e(m({__name:"TheMask",props:{maskStyle:{}},setup:e=>(e,a)=>(i(),r("div",re,[c("div",{class:"__bg-mask",style:B(e.maskStyle)},null,4),c("div",de,[O(e.$slots,"default",{},void 0,!0)])]))}),[["__scopeId","data-v-1c748f58"]]);export{ue as _,ie as a,te as b,X as u};

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.