import{_ as m,d as u,o as r,c,b as n,a as l,w as a,f as i,n as o,i as v,t as _}from"./app-CHfRwoUA.js";const k={name:"PortalHeader",computed:{isLoggedIn(){return localStorage.getItem("authToken")||sessionStorage.getItem("authToken")}}},b={class:"sticky-top"},y={class:"navbar navbar-expand-md sticky-top d-print-none","data-bs-theme":""},h={class:"container-fluid"},$={class:"navbar-brand d-none-navbar-horizontal pe-0 pe-md-3"},x={class:"collapse navbar-collapse",id:"navbar-menu"},P={class:"d-flex justify-content-end flex-column flex-md-row flex-fill align-items-stretch align-items-md-center"},w={class:"navbar-nav"},T={key:0,class:"nav-item"};function C(e,s,g,f,p,d){const t=u("router-link");return r(),c("div",b,[n("header",y,[n("div",h,[s[6]||(s[6]=n("button",{class:"navbar-toggler",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbar-menu","aria-controls":"navbar-menu","aria-expanded":"false","aria-label":"Toggle navigation"},[n("span",{class:"navbar-toggler-icon text-white"})],-1)),n("h1",$,[l(t,{to:"./"},{default:a(()=>s[0]||(s[0]=[n("div",{class:"d-flex align-items-center space-x-2"},[n("img",{src:"/assets/img/logo.png",class:"d-block",style:{height:"48px"},alt:""}),n("div",{class:"text-white d-block"},[i(" CCTV STREAM "),n("br"),n("small",null," PLN UID KALBAR ")])],-1)])),_:1})]),s[7]||(s[7]=n("div",null,null,-1)),n("div",x,[n("div",P,[n("ul",w,[n("li",{class:o(["nav-item",{active:e.$route.path==="/"}])},[l(t,{class:"nav-link",to:"./"},{default:a(()=>s[1]||(s[1]=[n("span",{class:"nav-link-icon d-md-none d-lg-inline-block"},[n("i",{class:"fa fa-home"})],-1),n("span",{class:"nav-link-title"}," Home ",-1)])),_:1})],2),n("li",{class:o(["nav-item",{active:e.$route.path==="/privacy-policy"}])},[l(t,{class:"nav-link",to:"./privacy-policy"},{default:a(()=>s[2]||(s[2]=[n("span",{class:"nav-link-icon d-md-none d-lg-inline-block"},[n("i",{class:"fa fa-lock"})],-1),n("span",{class:"nav-link-title"}," Privacy Policy ",-1)])),_:1})],2),n("li",{class:o(["nav-item",{active:e.$route.path==="/tentang"}])},[l(t,{class:"nav-link",to:"./tentang"},{default:a(()=>s[3]||(s[3]=[n("span",{class:"nav-link-icon d-md-none d-lg-inline-block"},[n("i",{class:"fa fa-info-circle"})],-1),n("span",{class:"nav-link-title"}," Tentang ",-1)])),_:1})],2),d.isLoggedIn?(r(),c("li",T,[l(t,{class:"nav-link",to:"/dashboard"},{default:a(()=>s[4]||(s[4]=[n("span",{class:"nav-link-icon d-md-none d-lg-inline-block"},[n("i",{class:"fa fa-arrow-right"})],-1),n("span",{class:"nav-link-title"}," Dashboard ",-1)])),_:1})])):v("",!0),d.isLoggedIn?v("",!0):(r(),c("li",{key:1,class:o(["nav-item",{active:e.$route.path==="/login"}])},[l(t,{class:"nav-link",to:"/login"},{default:a(()=>s[5]||(s[5]=[n("span",{class:"nav-link-icon d-md-none d-lg-inline-block"},[n("i",{class:"fa fa-sign-in-alt"})],-1),n("span",{class:"nav-link-title"}," Login ",-1)])),_:1})],2))])])])])])])}const q=m(k,[["render",C]]),I={name:"PortalFooter",data(){return{currentYear:new Date().getFullYear()}}},L={class:"footer d-print-none"},A={class:"container-fluid"},D={class:"row text-center align-items-center flex-row-reverse"},N={class:"col-lg-auto ms-lg-auto"},V={class:"list-inline list-inline-dots mb-0"},B={class:"list-inline-item"},F={class:"list-inline-item"},S={class:"list-inline-item"},H={class:"list-inline-item"},Y={class:"col-12 col-lg-auto mt-3 mt-lg-0"},z={class:"list-inline list-inline-dots mb-0"},E={class:"list-inline-item"};function R(e,s,g,f,p,d){const t=u("router-link");return r(),c("div",null,[n("footer",L,[n("div",A,[n("div",D,[n("div",N,[n("ul",V,[n("li",B,[l(t,{to:"./faq",class:"link-secondary"},{default:a(()=>s[0]||(s[0]=[i(" FAQ ")])),_:1})]),n("li",F,[l(t,{to:"./privacy-policy",class:"link-secondary",rel:"noopener"},{default:a(()=>s[1]||(s[1]=[i(" Privacy Policy ")])),_:1})]),n("li",S,[l(t,{to:"./account-deletion",class:"link-secondary",rel:"noopener"},{default:a(()=>s[2]||(s[2]=[i(" Account Deletion ")])),_:1})]),n("li",H,[l(t,{to:"./tentang",class:"link-secondary"},{default:a(()=>s[3]||(s[3]=[i(" Tentang ")])),_:1})])])]),n("div",Y,[n("ul",z,[n("li",E," Copyright © "+_(p.currentYear),1),s[4]||(s[4]=n("li",{class:"list-inline-item"},[n("a",{href:"https://pln.co.id/",target:"_blank",class:"link-secondary"}," pln.co.id ")],-1))])])])])])])}const K=m(I,[["render",R]]);export{q as P,K as a};
