1import{g as n,_ as i}from"./B6g63lXX.js";import{A as d}from"./DwQJ6gv8.js";import{a5 as l,V as u,as as m,at as r,aP as f,ar as s,au as p,aD as a,aE as b,aF as g,aC as _}from"./C7796JS1.js";import"./_cs_qknm.js";const h=async(e,o)=>{const t=new FormData;return t.set("message",e),t.set("tag",o),await fetch("https://app.qr-code-generator.com/feedback/send",{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:t})},k=l({components:{CodyCard:n},setup(){u({title:"Success"})},data(){return{generalError:null,feedback:"",valid:!0,feedbackRules:[e=>!!e||this.$t("logout.form.errors.required")],feedbackFormEnabled:this.$config.public.LOGOUT_FEEDBACK_FORM_ENABLED,feedbackFormURL:this.$config.public.LOGOUT_FEEDBACK_FORM_URL}},computed:{showFeedbackForm(){return this.feedbackFormEnabled?.toString()==="true"&&this.feedbackFormURL&&this.feedbackFormURL.trim().length>0}},async mounted(){try{await d.signOut(),await this.$axios.$get("/api/logout")}catch(e){window.console.error("Error calling cognito-logout",e)}},methods:{async submitFeedback(){(await this.$refs.form.validate()).valid&&await h(this.feedback,"logout_feedback")}}}),w={class:"wrapper-logout-content"},F={class:"font-weight-bold"},y=["innerHTML"],E=["src"];function $(e,o,t,L,C,R){const c=n;return s(),m(f,{"data-test":"qr-logout-page"},{default:r(()=>[p(c,{"data-test":"qr-logout-card","cody-image-key":"exit",title:"All wrapped up for the day?","action-text":"Return to Login","action-link":"/"},{default:r(()=>[a("div",w,[a("p",F,b(e.$t("logout.content.title")),1),a("p",{innerHTML:e.$t("logout.content.subtitle")},null,8,y),e.showFeedbackForm?(s(),g("iframe",{key:0,class:"feedback-form",allowtransparency:"true",src:e.feedbackFormURL,frameborder:"0",width:"100%",scrolling:"no"},null,8,E)):_("",!0)])]),_:1})]),_:1})}const D=i(k,[["render",$],["__scopeId","data-v-bc156b3b"]]);export{D 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.