PageSourceSearch

https://xpressnotes.com/assets/GuestModeBanner-DEgWMRSY.js

js xpressnotes.com collected 2026-10-02 01:50:51 UTC 6,706 bytes, 1 lines download raw bytes

1import{u as k}from"./vue-router-A_znAoLq.js";import{ae as i,an as h,ao as w,ac as C,X as D,ap as S}from"./public-shell-DffRkNN5.js";import{o as u,m as B,A as a,y as m,e as g,I as x,f as e,z as _,u as p,F as I,k as N,q as T,T as V,H as E,b as M,x as $,t as A}from"./vue-C6nllh_u.js";import"./timezone-8aG20R5G.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"7c7a840cab72dfbf1e05cb33c0b815fac74b80f2"};var d=new n.Error().stack;d&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[d]="19169f2d-47be-473f-ab35-b45a654fb107",n._sentryDebugIdIdentifier="sentry-dbid-19169f2d-47be-473f-ab35-b45a654fb107")}catch{}})();const z={class:"relative flex min-h-full w-full items-center justify-center py-4 pointer-events-none"},H={class:"flex-shrink-0 px-6 pt-6 pb-4"},L={class:"flex items-center justify-center w-12 h-12 mx-auto mb-4 rounded-full bg-yellow-100 dark:bg-yellow-900/30"},R={class:"px-6 pb-2"},G={class:"text-sm text-gray-600 dark:text-gray-400 text-center"},U={class:"mt-4 space-y-3 list-none p-0 m-0"},j={class:"flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-amber-50 text-amber-700 dark:bg-amber-950/40 dark:text-amber-300","aria-hidden":"true"},Y={class:"pt-1 leading-snug"},Z={class:"flex-shrink-0 px-6 pb-6 pt-4 flex items-center justify-end gap-3 border-t border-gray-200 dark:border-gray-700",role:"group","aria-label":"Dialog actions"},F={__name:"GuestBannerDismissDialog",props:{show:{type:Boolean,default:!1}},emits:["close","dismiss","create-account"],setup(n,{emit:d}){const o=d,l=h,c=w;return(f,s)=>(u(),B(E,{to:"body"},[a(V,{name:"dialog"},{default:m(()=>[n.show?(u(),g("div",{key:0,class:"xn-app-overlay xn-dialog-overlay relative overflow-y-auto overscroll-contain px-4 py-4",onClick:s[4]||(s[4]=x(r=>o("close"),["self"]))},[e("div",{class:"absolute inset-0 bg-black/50 dark:bg-black/70",onClick:s[0]||(s[0]=r=>o("close"))}),e("div",z,[e("div",{class:"pointer-events-auto relative bg-white dark:bg-gray-800 rounded-lg shadow-xl w-full max-w-md overflow-hidden flex flex-col",role:"dialog","aria-modal":"true","aria-labelledby":"guest-banner-dismiss-title",onClick:s[3]||(s[3]=x(()=>{},["stop"]))},[e("div",H,[e("div",L,[a(i,{name:"alert",size:24,class:"text-yellow-600 dark:text-yellow-400","aria-hidden":"true"})]),s[5]||(s[5]=e("h3",{id:"guest-banner-dismiss-title",class:"text-lg font-semibold text-gray-900 dark:text-gray-100 text-center"}," Without signing in… ",-1))]),e("div",R,[e("p",G,_(p(l)),1),e("ul",U,[(u(!0),g(I,null,N(p(c),(r,b)=>(u(),g("li",{key:b,class:"flex items-start gap-3 text-sm text-gray-700 dark:text-gray-300"},[e("span",j,[a(i,{name:r.icon,size:16},null,8,["name"])]),e("span",Y,_(r.text),1)]))),128))])]),e("div",Z,[e("button",{type:"button",class:"px-4 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 bg-gray-100 dark:bg-gray-700 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors",onClick:s[1]||(s[1]=r=>o("dismiss"))}," Dismiss anyway "),e("button",{type:"button",class:"px-4 py-2 text-sm font-medium text-white rounded-lg bg-xn-primary hover:bg-xn-primary-dark transition-colors",onClick:s[2]||(s[2]=r=>o("create-account"))}," Create free account ")])])])])):T("",!0)]),_:1})]))}},K={class:"xn-guest-banner",role:"alert"},P={class:"xn-guest-banner__inner"},q={class:"xn-guest-banner__content"},O={class:"xn-guest-banner__features"},W={__name:"GuestModeBanner",emits:["navigate"],setup(n,{emit:d}){const o=k(),l=M(!1),c=D.signUp,f=d;function s(){f("navigate")}function r(){l.value=!0}function b(){l.value=!1,S()}function y(){l.value=!1,o.push(c)}return(X,t)=>{const v=$("router-link");return u(),g("div",K,[e("button",{type:"button",class:"xn-guest-banner__close","aria-label":"Dismiss reminder",onClick:r},[a(i,{name:"close",size:18,"aria-hidden":"true"})]),e("div",P,[t[9]||(t[9]=A('<div class="xn-guest-banner__art" aria-hidden="true" data-v-06792322><svg viewBox="0 0 88 72" fill="none" xmlns="http://www.w3.org/2000/svg" class="xn-guest-banner__art-svg" data-v-06792322><ellipse cx="44" cy="58" rx="30" ry="8" fill="currentColor" class="xn-guest-banner__art-shadow" data-v-06792322></ellipse><path d="M18 46C18 36.0589 26.0589 28 36 28H52C61.9411 28 70 36.0589 70 46V50C70 54.4183 66.4183 58 62 58H26C21.5817 58 18 54.4183 18 50V46Z" class="xn-guest-banner__art-cloud" data-v-06792322></path><path d="M44 14L62 22V36C62 46.5 54 54 44 58C34 54 26 46.5 26 36V22L44 14Z" class="xn-guest-banner__art-shield" data-v-06792322></path><path d="M38 36H50V42H38V36Z" class="xn-guest-banner__art-lock-body" data-v-06792322></path><path d="M40 36V32.5C40 30.567 41.567 29 43.5 29H44.5C46.433 29 48 30.567 48 32.5V36" class="xn-guest-banner__art-lock-shackle" stroke-width="2.5" stroke-linecap="round" data-v-06792322></path><circle cx="24" cy="24" r="2" class="xn-guest-banner__art-sparkle" data-v-06792322></circle><circle cx="66" cy="20" r="2.5" class="xn-guest-banner__art-sparkle" data-v-06792322></circle><circle cx="72" cy="38" r="1.5" class="xn-guest-banner__art-sparkle" data-v-06792322></circle><path d="M14 34L16 36L14 38" class="xn-guest-banner__art-sparkle-star" stroke-width="1.5" stroke-linecap="round" data-v-06792322></path><path d="M58 12L60 14L58 16" class="xn-guest-banner__art-sparkle-star" stroke-width="1.5" stroke-linecap="round" data-v-06792322></path></svg></div>',1)),e("div",q,[t[6]||(t[6]=e("p",{class:"xn-guest-banner__title"}
1,"Keep your notes safe",-1)),t[7]||(t[7]=e("p",{class:"xn-guest-banner__body"}," Your notes are currently stored only on this device and may be lost if you clear your browser data or switch devices. ",-1)),e("ul",O,[e("li",null,[a(i,{name:"save",size:16,class:"xn-guest-banner__feature-icon","aria-hidden":"true"}),t[1]||(t[1]=e("span",null,"Back up securely",-1))]),t[4]||(t[4]=e("li",{class:"xn-guest-banner__feature-divider","aria-hidden":"true"},null,-1)),e("li",null,[a(i,{name:"monitor",size:16,class:"xn-guest-banner__feature-icon","aria-hidden":"true"}),t[2]||(t[2]=e("span",null,"Use on all your devices",-1))]),t[5]||(t[5]=e("li",{class:"xn-guest-banner__feature-divider","aria-hidden":"true"},null,-1)),e("li",null,[a(i,{name:"shield",size:16,class:"xn-guest-banner__feature-icon","aria-hidden":"true"}),t[3]||(t[3]=e("span",null,"Never lose your notes",-1))])])]),a(v,{to:p(c),class:"xn-guest-banner__cta",onClick:s},{default:m(()=>[t[8]||(t[8]=e("span",null,"Create free account",-1)),a(i,{name:"chevron-right",size:16,"aria-hidden":"true"})]),_:1},8,["to"])]),a(F,{show:l.value,onClose:t[0]||(t[0]=J=>l.value=!1),onDismiss:b,onCreateAccount:y},null,8,["show"])])}}},ae=C(W,[["__scopeId","data-v-06792322"]]);export{ae 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.