PageSourceSearch

https://clients.solriteenergy.com/_nuxt/index-2057137e.mjs

js solriteenergy.com collected 2026-10-08 12:52:27 UTC 6,970 bytes, 1 lines download raw bytes

1import{_ as u,i as k,f as o,g as n,c as t,t as i,j as m,p as $,o as g,e as x,F as f,h as p,n as S,l as D,b as w,q as M,x as P,u as y,y as h}from"./entry-322f66d5.mjs";const I={__name:"Profile",setup(a,{expose:l}){l();const e={auth:k(),get useAuthStore(){return k}};return Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!0}),e}},L={class:"user-profile"},A={key:0,class:"block block-rounded text-center"},E=t("div",{class:"block-content block-content-full bg-image",style:{"background-image":"url('/media/photos/background.jpg')"}},[t("img",{class:"img-avatar img-avatar-thumb",src:"/media/photos/avatar.jpg",alt:""})],-1),V={class:"block-content block-content-full block-content-sm bg-body-light"},j={class:"fw-semibold"},B={class:"block-content block-content-full"};function O(a,l,c,e,d,_){return o(),n("div",L,[e.auth.user?(o(),n("div",A,[E,t("div",V,[t("div",j,i(e.auth.user.name),1)]),t("div",B,i(e.auth.user.email),1)])):m("",!0)])}var T=u(I,[["render",O]]);const z={__name:"Notices",setup(a,{expose:l}){l();const c=$();g(function(){c.fetchItems()}),x(function(){c.items=null,c.loading=!1});const e={notices:c,get useNoticesStore(){return $}};return Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!0}),e}},F={class:"notices"},C={key:0,class:"block block-rounded block-ltd"},H=t("div",{class:"block-header block-header-default"},[t("h3",{class:"block-title"}," Notices ")],-1),Y={key:0,class:"block-content block-content-full"},q=t("div",{class:"text-center my-5"},[t("i",{class:"fa fa-3x fa-fw fa-cog fa-spin"})],-1),G=[q],K={key:1,class:"block-content block-content-full"},R={id:"notices",role:"tablist"},U={class:"block block-rounded mb-1"},W=["href","aria-controls"],J=["id"],Q=["id","aria-labelledby"],X={class:"block-content"},Z=t("b",null,"Notice Date: ",-1),tt={key:0},et=["src"],st=["innerHTML"],ot={key:1,class:"list-unstyled"},nt=t("li",{class:"mb-1 fw-bold"}," ADDITIONAL LINKS ",-1),ct={class:"ms-2"},lt=["href"],it={key:1,class:"block block-rounded"},at=t("p",{class:"text-center m-0 py-5"},"No notices available.",-1),dt=[at];function rt(a,l,c,e,d,_){return o(),n("div",F,[e.notices.items&&e.notices.items.length&&!e.notices.loading?(
1o(),n("div",C,[H,e.notices.loading?(o(),n("div",Y,G)):(o(),n("div",K,[t("div",R,[(o(!0),n(f,null,p(e.notices.items,(s,b)=>(o(),n("div",U,[t("a",{href:`#notices_${s.id}`,"aria-expanded":"true","aria-controls":`notices_${s.id}`,"data-bs-toggle":"collapse","data-bs-parent":"#notices"},[t("div",{id:`notices_h${s.id}`,role:"tab",class:"block-header block-header-default fw-semibold"},i(s.title),9,J)],8,W),t("div",{id:`notices_${s.id}`,role:"tabpanel",class:S(["collapse",{show:b===0}]),"data-bs-parent":"#notices","aria-labelledby":`notices_h${s.id}`},[t("div",X,[t("p",null,[Z,D(i(s.notice_date),1)]),s.image_url?(o(),n("div",tt,[t("img",{src:s.image_url,style:{width:"100%",height:"auto"}},null,8,et)])):m("",!0),t("p",{innerHTML:s.details},null,8,st),s.links&&s.links.length?(o(),n("ul",ot,[nt,(o(!0),n(f,null,p(s.links,r=>(o(),n("li",ct,[t("a",{href:r},i(r),9,lt)]))),256))])):m("",!0)])],10,Q)]))),256))])]))])):(o(),n("div",it,dt))])}var _t=u(z,[["render",rt]]);const ut={__name:"MapView",props:{items:{type:Array,default:()=>[]}},setup(a,{expose:l}){l();const c=a,e=w(null);M(function(){const{$mapbox:_}=P();_.create({el:e.value,done:function(s){c.items&&c.items.length&&_.createMarkers(s,c.items.filter(r=>r.lat&&r.lng)).forEach(({item:r,marker:N})=>{const v=N.getElement();r.url&&(v.style.cursor="pointer"),v.addEventListener("click",()=>{r.url&&window.open(r.url,"_blank").focus()})})}})});const d={props:c,map:e};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}},ht={class:"soln-map"},mt={ref:"map",class:"soln-mapview mb-3"};function ft(a,l,c,e,d,_){return o(),n("div",ht,[t("div",mt,null,512)])}var pt=u(ut,[["render",ft],["__scopeId","data-v-748e1afc"]]);const bt={__name:"Deals",setup(a,{expose:l}){l();const c=y(),e=w(!1);g(async function(){e.value=!0;try{await c.fetchItems()}finally{e.value=!1}}),x(function(){c.items=[]});const d={deals:c,loading:e,get MapView(){return pt},get useDealsStore(){return y}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}},vt={class:"deals"},kt={key:0,class:"row"},$t={class:"block block-rounded"},yt={class:"block-content p-0 overflow-hidden"},gt={class:"row g-0"},xt={key:0,class:"col-md-6"},wt={key:1,class:"col-md-6 d-flex align-items-center"},Nt=t("img",{alt:"Default photo",src:"/media/photos/nomapdata.png",class:"img-fluid"},null,-1),St=[Nt],Dt={class:"col-md-6 p-3"},Mt={class:"mb-3",style:{"text-align":"right"}},Pt={class:"row"},It=t("div",{class:"col-md-6 mb-1 fw-bold"}," System Size ",-1),Lt={class:"col-md-6 mb-2 text-md-end"},At=t("div",{class:"col-md-6 mb-1 fw-bold"}," Module ",-1),Et={class:"col-md-6 mb-2 text-md-end"},Vt=t("div",{class:"col-md-6 mb-1 fw-bold"}," Number of Modules ",-1),jt={class:"col-md-6 mb-2 text-md-end"},Bt=t("div",{class:"col-md-6 mb-1 fw-bold"}," Battery ",-1),Ot={class:"col-md-6 mb-2 text-md-end"},Tt=t("div",{class:"col-md-6 mb-1 fw-bold"}," Monthly Payment Amount ",-1),zt={class:"col-md-6 mb-2 text-md-end"},Ft=t("div",{class:"col-md-6 mb-1 fw-bold"}," Next Billing Date ",-1),Ct={class:"col-md-6 mb-2 text-md-end"},Ht={key:0},Yt={style:{float:"right"}},qt=["href"],Gt=t("p",{style:{float:"right"}},[t("strong",null,"* PLEASE NOTE: Your monthly payment includes a ($15.00) monthly discount for choosing automatic payments using your checking account.")],-1),Kt={key:1,class:"row"},Rt=t("div",{class:"col-12"},[t("p",{class:"m-0 py-5 text-center"},"No items available.")],-1),Ut=[Rt];function Wt(a,l,c,e,d,_){return o(),n("div",vt,[e.deals.items&&e.deals.items.length?(o(),n("div",kt,[(o(!0),n(f,null,p(e.deals.items,s=>(o(),n("div",{key:s.id,class:"col-12"},[t("div",$t,[t("div",yt,[t("div",gt,[s.lat&&s.lng?(o(),n("div",xt,[h(e.MapView,{items:[s]},null,8,["items"])])):(o(),n("div",wt,St)),t("div",Dt,[t("h4",Mt,i(s.address),1),t("div",Pt,[It,t("div",Lt,i(s.system_size),1),At,t("div",Et,i(s.module),1),Vt,t("div",jt,i(s.module_count),1),Bt,t("div",Ot,i(s.battery),1),Tt,t("div",zt,i(s.payment_amount),1),Ft,t("div",Ct,i(s.next_bdate),1),s.bp_link?(o(),n("div",Ht,[t("p",Yt,[t("a",{type:"button",class:"btn btn-primary",style:{float:"right"},target:"_blank",href:s.bp_link},"VIEW BILLING PROFILE",8,qt)]),Gt])):m("",!0)])])])])])]))),128))])):(o(),n("div",Kt,Ut))])}var Jt=u(bt,[["render",Wt]]);const Qt={__name:"index",setup(a,{expose:l}){l();const c={get Profile(){return T},get Notices(){return _t},get Deals(){return Jt}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}},Xt={class:"content content-full"},Zt={class:"row"},te={class:"col-md-4"},ee={class:"col-md-8"},se=t("h2",{class:"my-3"},"Your Account",-1);function oe(a,l,c,e,d,_){return o(),n("div",Xt,[t("div",Zt,[t("div",te,[h(e.Profile)]),t("div",ee,[h(e.Notices)])]),se,h(e.Deals)])}var ce=u(Qt,[["render",oe]]);export{ce 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.