PageSourceSearch

https://app.paper.co/js/login-google.CF3nWdgU.js

js paper.co collected 2026-09-24 09:12:59 UTC 2,467 bytes, 2 lines download raw bytes

1import"./libs-vue.Cm6uuXgL.js";import{H4 as l,Vr as m}from"./libs-@origami/vue3.BnGpeJuv.js";import{l as p}from"./libs-@paper-co/web-toolkit.13DCvk5B.js";import{getInstance as u}from"./index.BGLF_k9F.js";import{_export_sfc as w}from"./libs-emoji-mart-vue-fast.2mD-aJ_w.js";import{watch as _,createElementBlock as d,createBlock as y,createBaseVNode as h,createVNode as b,withCtx as x,openBlock as c,createTextVNode as I}from"./libs-@vue/runtime-core.DuueAziv.js";import{unref as r}from"./libs-@vue/reactivity.CL8OCaPf.js";import{toDisplayString as g}from"./libs-@vue/shared.DLWOYkA7.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="08d4ec93-f26b-4e2d-a099-1aa24fe2e84b",t._sentryDebugIdIdentifier="sentry-dbid-08d4ec93-f26b-4e2d-a099-1aa24fe2e84b")}catch{}})();{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[new o.Error().stack]=Object.assign({},o._sentryModuleMetadata[new o.Error().stack],{dsn:"https://[email protected]/6688884"})}const k={class:"w-screen h-screen bg-origami-blue-300 flex justify-center items-center"},S={key:1,class:"text-origami-text-white w-[580px] h-[422px] flex justify-center items-center flex-col gap-8 border-2"},v={class:"font-bold text-xl"},a="googleLoginClicked",E={__name:"login-google",setup(t,{expose:n}){const e=u(),f=async()=>{window.sessionStorage.setItem(a,JSON.stringify({hasAttemptedAuth:!0})),await e.loginWithRedirect({authorizationParams:{connection:"google-oauth2"}})};return _(()=>e.error,async i=>{try{const s=JSON.parse(window.sessionStorage.getItem(a));i&&s.hasAttemptedAuth&&(await e.logout({logoutParams:{returnTo:`${window.location.origin}/error/google`}}),window.sessionStorage.removeItem(a))}catch(s){p(s)}},{immediate:!0}),n({POST_GOOGLE_LOGIN_KEY_NAME:a,auth0Instance:e}),(i,s)=>(c(),d("main",k,[r(e).isLoading||r(e).isLoadingSilently?(c(),y(r(l),{key:0})):(c(),d("div",S,[h("div",v,g(i.$t("sign_in")),1),b(r(m),{"leading-icon":"google",variant:"secondary","data-test-id":"google-classroom-sign-in-button",class:"google-button",onClick:f},{default:x(()=>[I(g(i.$t("sign_in_with"))+" Google ",1)]),_:1})]))]))}},C=w(E,[["__scopeId","data-v-a70cf38e"]]);export{C as default};
2//# sourceMappingURL=login-google.CF3nWdgU.js.map

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.