1var p=Object.defineProperty;var h=(t,e,o)=>e in t?p(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o;var s=(t,e,o)=>(h(t,typeof e!="symbol"?e+"":e,o),o);import{a as m}from"./common-4ebc591d.js";import{V as g,fK as _,P as w,B as b,bD as f,aE as y,O as v,_ as P,r as j,o as l,c as S,b as O,w as I,g as B,h as $,n as k}from"./vendor-147ef0d1.js";import{d as C}from"./projectShare-832f69e6.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"[email protected]"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="2a54b499-489f-4cc3-8be9-ff127e4a9140",t._sentryDebugIdIdentifier="sentry-dbid-2a54b499-489f-4cc3-8be9-ff127e4a9140")}catch{}})();var D=Object.defineProperty,E=Object.getOwnPropertyDescriptor,n=(t,e,o,i)=>{for(var r=i>1?void 0:i?E(e,o):e,d=t.length-1,c;d>=0;d--)(c=t[d])&&(r=(i?c(e,o,r):c(r))||r);return i&&r&&D(e,o,r),r};let a=class extends g{constructor(){super(...arguments);s(this,"id");s(this,"getProject");s(this,"currentProject");s(this,"isLoggedIn");s(this,"name","");s(this,"params",{});s(this,"showBack",!1)}mounted(){this.isLoggedIn||window&&window.location&&window.location.href.indexOf("/pv/")>-1&&(sessionStorage.setItem("register-action-share","Client Sign up from Shared Project Link"),sessionStorage.setItem("register-referrer",document.referrer),sessionStorage.setItem("register-url",window.location.href))}setShowBack(){this.showBack=this.$route.name==="shareOfferView"}get title(){if(this.$route.name==="shareOfferView")return"Proposal details";const e=this.model.status==="draft"&&` (${this.model.status})`||"";return this.model&&this.model.name&&`${this.model.name}${e}`||"Loading..."}get model(){let e=this.currentProject;return e.service_properties&&(e=_(this.currentProject.service_properties,this.currentProject)),e}get loadedContent(){return Object.keys(this.model).length>0&&this.model.name}get isOffersTab(){return this.$route.matched.map(e=>e.name).includes("shareOfferBoxView")}async created(){const e=C(this.id);await Promise.all([this.getProject({id:e.id})]),this.setShowBack()}};n([w()],a.prototype,"id",2);n([b],a.prototype,"getProject",2);n([f],a.prototype,"currentProject",2);n([f],a.prototype,"isLoggedIn",2);n([y("$route")],a.prototype,"setShowBack",1);a=n([v({})],a);function V(t,e,o,i,r,d){const c=j("router-view"),u=m;return l(),S("div",null,[O(u,{"show-back-button":t.showBack,class:k(["project-secure",{offers:t.isOffersTab}]),title:t.title,loading:!t.loadedContent},{default:I(()=>[t.model?(l(),B(c,{key:0,model:t.model,class:"management-content"},null,8,["model"])):$("",!0)]),_:1},8,["show-back-button","class","title","loading"])])}const A=P(a,[["render",V],["__scopeId","data-v-f4afa9f5"]]);export{A as default}; 2//# sourceMappingURL=index-12a279e2.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.