1var $o=Object.defineProperty;var Uo=(X,e,c)=>e in X?$o(X,e,{enumerable:!0,configurable:!0,writable:!0,value:c}):X[e]=c;var ko=(X,e,c)=>(Uo(X,typeof e!="symbol"?e+"":e,c),c);import{v as L,d as me,b as j,e as Me}from"./runtime-dom.esm-bundler.0e07a42a.js";import{u as _o,ax as To,ay as Ao,az as ke,Q as Ce,V as ve}from"./index.91d4d7ec.js";import{n as jo,p as Zo,T as Do,d as yo,A as Eo,q as Ro}from"./index.b13a2ac1.js";import{g as Lo,r as bo,u as Co,a as wo}from"./index.esm2017.3c8d8eff.js";import{l as zo}from"./index.725975a2.js";import{_ as Io,r as v,c as r,d,e as o,h as w,t as J,F as $,o as Bo,I as N,u as a,k as ao,f as I,a1 as no,w as No,p as Vo,g as Fo,a4 as Oo,j as Ho,J as le,l as So,m as Po}from"./_plugin-vue_export-helper.f09dc1ee.js";import{g as qo,a as Xo,D as Qo,b as Wo}from"./CustWalls.784f4f49.js";import{C as Go}from"./CustCuratedBranding.e0f66260.js";import{u as Yo,a as Jo}from"./vue-router.51ed5a46.js";const Ko={class:"input-container"},et={style:{display:"flex","flex-direction":"column"}},ot={key:0,class:"status-message"},tt={key:1,class:"status-message"},lt={class:"response-container"},st={__name:"OpenPrompt",emits:["update-quote"],setup(X,{emit:e}){const c=_o(),$e=v(""),m=v(""),Z=v(!1),x=async()=>{let H=" Make sure to answer as accurately to this prompt as possible. Try not to make up any items.",K=$e.value+H;console.log("User Query:",K),Z.value=!0;const i=jo(),Le=Zo(i,"processTargetData");try{const ne=await Le({userQuery:K});if(ne.data.choices[0].message.tool_calls&&ne.data.choices[0].message.tool_calls.length>0){const U=JSON.parse(ne.data.choices[0].message.tool_calls[0].function.arguments);m.value=U,console.log("Parsed Tool Call Arguments:",U),e("update-quote",U)}else console.log("No tool calls found in response"),m.value=null}catch(ne){console.error(ne)}Z.value=!1};function O(){c.siteProInfo.curatedProposal||(c.siteProInfo.curatedProposal={}),console.log("Updated Response:",m.value),c.siteProInfo.curatedProposal.concessions=m.value.proposal.concessions,c.siteProInfo.curatedProposal.minimums=m.value.proposal.minimums,c.siteProInfo.curatedProposal.notes=m.value.proposal.notes,c.siteProInfo.curatedProposal.rates=m.value.proposal.rates,c.siteProInfo.curatedProposal.sessions=m.value.proposal.sessions,console.log("Updated Proposal:",c.siteProInfo.curatedProposal)}return(H,K)=>(r(),d($,null,[o("div",Ko,[w(o("textarea",{"onUpdate:modelValue":K[0]||(K[0]=i=>$e.value=i),class:"input-textarea",placeholder:"Describe your Job"},null,512),[[L,$e.value]]),o("div",et,[Z.value?(r(),d("div",ot,"Loading...")):(r(),d("div",tt,'"ready"')),o("button",{class:"quotebtn",onClick:K[1]||(K[1]=i=>x())},"Add AI Section"),o("button",{class:"quotebtn",onClick:O},"Update Proposal")])]),o("div",lt,J(m.value),1)],64))}},at=Io(st,[["__scopeId","data-v-6d13227a"]]);const we=X=>(Vo("data-v-320b128c"),X=X(),Fo(),X),nt={class:"airwall-info"},it={style:{display:"flex","flex-direction":"column",gap:"1rem"}},rt=we(()=>o("label",{for:"gltfUrl"},"Select Object:",-1)),dt=["value"],ut={style:{display:"flex","flex-direction":"row",gap:"1rem","justify-content":"start","align-items":"start"}},ct={style:{display:"flex","flex-direction":"column",gap:"1rem"}},pt=we(()=>o("label",{for:"servicePerimeter"},"Service Perimeter Inches:",-1)),vt={style:{display:"flex","flex-direction":"column",gap:"1rem"}},mt=no('<label for="spaceBetweenBlocksHor" data-v-320b128c> Aisle <svg fill="none" height="23" viewBox="0 0 31 23" width="31" xmlns="http://www.w3.org/2000/svg" data-v-320b128c><g fill="#fff" data-v-320b128c><path d="m30.7071 15.7071c.3905-.3905.3905-1.0237 0-1.4142l-6.364-6.36397c-.3905-.39052-1.0236-.39052-1.4142 0-.3905.39053-.3905 1.02369 0 1.41422l5.6569 5.65685-5.6569 5.6569c-.3905.3905-.3905 1.0236 0 1.4142.3906.3905 1.0237.3905 1.4142 0zm-29.7071.2929h29v-2h-29z" data-v-320b128c></path><path d="m.292893 14.2929c-.3905241.3905-.3905241 1.0237 0 1.4142l6.363957 6.364c.39053.3905 1.02369.3905 1.41422 0 .39052-.3906.39052-1.0237 0-1.4142l-5.65686-5.6569 5.65686-5.65685c.39052-.39053.39052-1.02369 0-1.41422-.39053-.39052-1.02369-.39052-1.41422 0zm1.707107-.2929h-1v2h1z" data-v-320b128c></path><path d="m11.7614 2.72727v7.27273h-.8807v-7.27273zm2.4902 3.99148v3.28125h-.8381v-5.45455h.8097v.85228h.071c.1279-.27699.322-.49953.5824-.66762.2604-.17045.5966-.25568 1.0085-.25568.3693 0 .6925.07576.9695.22727.277.14915.4924.37642.6463.68182.1539.30303.2308.68656.2308 1.15057v3.46591h-.8381v-3.40909c0-.4285-.1112-.76231-.3338-1.00142-.2225-.24148-.5279-.36222-.9162-.36222-.2675 0-.5066.058-.7173.17401-.2083.116-.3729.28527-.4936.50781s-.1811.49243-.1811.80966zm5.6223 3.33805c-.1752 0-.3255-.06272-.451-.18819-.1254-.12548-.1882-.27581-.1882-.451s.0628-.32552.1882-.45099c.1255-.12547.2758-.18821.451-.18821s.3256.06274.451.18821c.
11255.12547.1882.2758.1882.45099 0 .11601-.0296.22254-.0887.31961-.0569.09706-.1338.17519-.2309.23437-.0947.05681-.2012.08521-.3196.08521z" data-v-320b128c></path></g></svg></label>',1),ft={style:{display:"flex","flex-direction":"column",gap:"1rem"}},ht=no('<label for="spaceBetweenBlocksVert" data-v-320b128c> Aisle <svg width="24" height="29" viewBox="0 0 24 29" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-320b128c><path d="M8.70711 0.790231C8.31658 0.399706 7.68342 0.399706 7.29289 0.790231L0.928932 7.15419C0.538408 7.54472 0.538408 8.17788 0.928932 8.56841C1.31946 8.95893 1.95262 8.95893 2.34315 8.56841L8 2.91155L13.6569 8.56841C14.0474 8.95893 14.6805 8.95893 15.0711 8.56841C15.4616 8.17788 15.4616 7.54472 15.0711 7.15419L8.70711 0.790231ZM9 25.0027L9 1.49734H7L7 25.0027H9Z" fill="white" data-v-320b128c></path><path d="M7.29289 28.7071C7.68342 29.0976 8.31658 29.0976 8.70711 28.7071L15.0711 22.3431C15.4616 21.9526 15.4616 21.3195 15.0711 20.9289C14.6805 20.5384 14.0474 20.5384 13.6569 20.9289L8 26.5858L2.34315 20.9289C1.95262 20.5384 1.31946 20.5384 0.928932 20.9289C0.538408 21.3195 0.538408 21.9526 0.928932 22.3431L7.29289 28.7071ZM7 25V28H9V25H7Z" fill="white" data-v-320b128c></path><path d="M11.7614 9.72727V17H10.8807V9.72727H11.7614ZM14.2516 13.7188V17H13.4135V11.5455H14.2232V12.3977H14.2942C14.4221 12.1207 14.6162 11.8982 14.8766 11.7301C15.137 11.5597 15.4732 11.4744 15.8851 11.4744C16.2544 11.4744 16.5776 11.5502 16.8546 11.7017C17.1316 11.8509 17.347 12.0781 17.5009 12.3835C17.6548 12.6866 17.7317 13.0701 17.7317 13.5341V17H16.8936V13.5909C16.8936 13.1624 16.7824 12.8286 16.5598 12.5895C16.3373 12.348 16.0319 12.2273 15.6436 12.2273C15.3761 12.2273 15.137 12.2853 14.9263 12.4013C14.718 12.5173 14.5534 12.6866 14.4327 12.9091C14.312 13.1316 14.2516 13.4015 14.2516 13.7188ZM19.8739 17.0568C19.6987 17.0568 19.5484 16.9941 19.4229 16.8686C19.2975 16.7431 19.2347 16.5928 19.2347 16.4176C19.2347 16.2424 19.2975 16.0921 19.4229 15.9666C19.5484 15.8411 19.6987 15.7784 19.8739 15.7784C20.0491 15.7784 20.1995 15.8411 20.3249 15.9666C20.4504 16.0921 20.5131 16.2424 20.5131 16.4176C20.5131 16.5336 20.4835 16.6402 20.4244 16.7372C20.3675 16.8343 20.2906 16.9124 20.1935 16.9716C20.0988 17.0284 19.9923 17.0568 19.8739 17.0568Z" fill="white" data-v-320b128c></path></svg></label>',1),gt={style:{display:"flex","flex-direction":"column",gap:"1rem"}},bt=we(()=>o("label",{for:"spaceBetweenRow"}," Obj Space ",-1)),Ct={style:{display:"flex","flex-direction":"column",gap:"1rem"}},wt=we(()=>o("label",{for:"spaceBetweenColumn"}," Obj Space ",-1)),Pt={style:{display:"flex","flex-direction":"column",gap:"1rem"}},yt=we(()=>o("label",{for:"numObjInBlockVert"},"# Obj Vert:",-1)),_t={style:{display:"flex","flex-direction":"column",gap:"1rem"}},It=we(()=>o("label",{for:"numObjInBlockHor"},"# Obj Hori:",-1)),xt={style:{display:"flex","flex-direction":"column",gap:"1rem"}},kt=we(()=>o("label",{for:"numScreens"},"Num Screens:",-1)),Lt={id:"mobileToolBar"},St=we(()=>o("div",{id:"spacerBarMobile"},null,-1)),Dt=["onClick"],zt=["onClick"],Bt={id:"mobileToolBar2"},Vt=we(()=>o("div",{id:"spacerBarMobile"},null,-1)),Ft={key:0,class:"modal"},Mt={class:"modal-content"},$t=we(()=>o("h2",null,"Please select the direction",-1)),Ut={class:"modal-body"},Tt=["value"],At={__name:"AddSessionDiagrammingAuto",props:{curatedID:String,sessionID:String},setup(X){const e=X,c=_o();Do(yo,"spaces"),zo(c.updateField,500),v(null),v(null);const $e=v(!1),m=v(),Z=v(null),x=v(null),O=v(null),H=v(null),K=v(),i=v([]),Le=v(0),ne=v(),U=v(),h=v([]),ie=v([]);v([]),v([]);const Ne=v(0);v(5),v();const se=v(0);function Qe(){console.log("setting control"),se.value<3?se.value++:se.value=0,console.log("aircontrol",se.value),se.value===0||(se.value===1?U.value.inputs.mode="translate":se.value===2?U.value.inputs.mode="scale":se.value===3&&(U.value.inputs.mode="rotate")),console.log("mode",U.value.inputs.mode)}const R=v({name:"roundsOf6LOD2",url:"https://firebasestorage.googleapis.com/v0/b/selfwalksigniabonnetcreek.appspot.com/o/updatedDiagramAssets%2F003_SelfWalk_BasicRoundTable_Asset_LOD2.gltf?alt=media&token=e5335755-ab25-4065-832d-51e3dce062be",loader:"",tableType:"round",tableChairs:6,type:"",seats:0,size:{x:2.969,y:.749,z:2.995}});v(),v(),v(),v(),v(1),v(1);const Pe=v(24),fe=v(24),he=v(24),re=v(24),de=v(1),T=v(1),Ue=v(0),ge=v(0);v(0),v(5),v(-10);const Te=v(0);v(0);function ye(k,u,s,_,g,b,D,y){console.log("setting template"),Ue.value=u,he.value=s,re.value=_,Pe.value=g,fe.value=b,de.value=D,T.value=y,R.value=c.diagramObjects.find(V=>V.name===k)}const S=v([]);class io{constructor(u,s){this.path=u,this.node=s}onEvent(u){u.input.type=="hover",u.input.type=="unhover"||(u.input.type=="click"?console.log("Clicked emit"):u.input.type==="dragend"&&c
1onsole.log("Drag ended"))}}const be=v(null),Se=v([]),De=v([]),ue=v(null);async function ee(k){console.log("showDiagramming",k,"props",e.curatedID,"session",e.sessionID),h.value=[];let u=[];if(c.diagrammingSceneObject)console.log("diagrammingSceneObject.stop()"),c.diagrammingSceneObject.stop(),c.diagrammingSceneObject=null,u.forEach(s=>s.cancel()),u=[];else{await c.mpSdk.Scene.registerComponents([{factory:qo(c.mpSdk),name:"gltfType"}]),console.log("creating wallsceneobj"),c.diagrammingSceneObject=(await c.mpSdk.Scene.createObjects(1))[0],console.log("creating wallsceneobj");for(let g=0;g<k.length;g++){h.value[g]=c.diagrammingSceneObject.addNode();const b=k[g];h.value[g].obj3D.position.set(b.position.x,b.position.y,b.position.z),h.value[g].obj3D.scale.set(b.scale.x,b.scale.y,b.scale.z),b.quaternion&&h.value[g].obj3D.quaternion.set(b.quaternion.x,b.quaternion.y,b.quaternion.z,b.quaternion.w),h.value[g].model=b.model,h.value[g].sessionID=b.sessionID,h.value[g].rows=b.rows,h.value[g].columns=b.columns,h.value[g].width=b.width,h.value[g].depth=b.depth,h.value[g].rowSpace=b.rowSpace,h.value[g].boundingBox=b.boundingBox,h.value[g].colSpace=b.colSpace,h.value[g].diagramID=b.diagramID,h.value[g].url=b.url,h.value[g].loader=b.loader,h.value[g].type=b.type,h.value[g].seats=b.seats,h.value[g].size=b.size,ne[g]={pos:h.value[g].obj3D.position,rot:h.value[g].obj3D.rotation,quat:h.value[g].obj3D.quaternion,scale:h.value[g].obj3D.scale},console.log("wall"+g,ne[g]),console.log("registering gltf"),ie[g]=h.value[g].addComponent(Xo,{url:b.url,type:b.type,seats:b.seats,tableChairs:b.tableChairs,tableType:b.tableType,size:b.size,width:b.width,depth:b.depth,rows:b.rows,columns:b.columns,boundingBox:b.boundingBox,rowSpace:b.rowSpace,colSpace:b.colSpace,diagramID:b.diagramID,loader:b.loader,materialColor:b.materialColor,model:b.model,sessionID:b.sessionID}),console.log("wallnodecomp",ie[g]);const D=await c.diagrammingSceneObject.addEmitPath(ie[g],"gltfevents"),y=c.diagrammingSceneObject.spyOnEvent(new io(D,h.value[g]));u.push(y);const V=await c.diagrammingSceneObject.addEmitPath(ie[g],"gltfevents","wallNodeComp_"+g);class z{constructor(){ko(this,"path",V)}onEvent(F){console.log("click evnet12 log"),F.input.type=="hover",F.input.type=="unhover"&&console.log("userNavigationEnabled = true"),F.input.type=="click"&&(console.log("click evnet log"),U.value.inputs.mode="translate",U.value.inputs.selection==null?(U.value.inputs.selection=h.value[g],be.value=h.value[g].diagramID,console.log("selID",be.value,h.value[g].diagramID),Le.value=(h.value[g].obj3D.rotation.y*(180/Math.PI)).toFixed(2),Ne.value=g):(U.value.inputs.selection=null,c.inputComponent.inputs.userNavigationEnabled=!0))}}const E=c.diagrammingSceneObject.spyOnEvent(new z);u.push(E),console.log("registered gltf")}const s=c.diagrammingSceneObject.addNode();U.value=s.addComponent("mp.transformControls",{mode:"scale",selection:null,size:1}),c.diagrammingSceneObject.addNode().addComponent("mp.ambientLight",{intensity:1,color:{r:1,g:1,b:1}}),c.diagrammingSceneObject.start()}U.value.inputs.selection=null,se.value=0}async function ro(){_e.value=[];let k=await Ye();console.log("area",k);for(let D=0;D<h.value.length;D++){const y=h.value[D];y.position.x>k.startX&&y.position.x<k.endX&&y.position.z>k.startZ&&y.position.z<k.endZ&&(Se.value.push(y.diagramID),De.value.push(y),_e.value.push(y.diagramID))}be.value=Se.value[0];let u=h.value.findIndex(D=>D.diagramID===Se.value[0]);console.log("index",u,be.value,h.value[u],"selectedObject",Se.value[0]);let s=h.value[u],_=s.obj3D.position.clone(),g=s.obj3D.quaternion.clone();console.log("ogrot",g),U.value.inputs.selection=h.value[u],U.value.inputs.mode="translate",console.log("selectedObjects",Se.value),console.log("obj",h.value[u]),De.value.forEach(D=>{let y=h.value.findIndex(V=>V.diagramID===D.diagramID);console.log("index",y,D.diagramID,h.value[y],"comp",ie[y]),ie[y].inputs.boundingBox=!0,console.log("comp boundingbox",ie[y])});function b(){let D=s.obj3D.position.x-_.x,y=s.obj3D.position.z-_.z,V=s.obj3D.quaternion.clone().multiply(g.clone().invert());De.value.forEach(z=>{if(z!==s){let E={x:z.obj3D.position.x-s.obj3D.position.x,z:z.obj3D.position.z-s.obj3D.position.z},B=new ve(E.x,0,E.z);B.applyQuaternion(V),z.obj3D.position.x=s.obj3D.position.x+B.x+D,z.obj3D.position.z=s.obj3D.position.z+B.z+y,z.obj3D.quaternion.multiplyQuaternions(V,z.obj3D.quaternion)}}),_.copy(s.obj3D.position),g.copy(s.obj3D.quaternion),ue.value=requestAnimationFrame(b),console.log("updatePositions",ue.value)}ue.value=requestAnimationFrame(b)}async function Oe(){De.value.forEach(k=>{let u=h.value.findIndex(s=>s.diagramID===k.diagramID);ie[u].inputs.boundingBox=!1}),be.value=null,De.value=[],Se.value=[],_e.value=[],U.value.inputs.selection=null,ue.value!==null&&(console.log("before cancelAnimationFrame",ue.value),cancelAnimationFrame(ue.value),console.log("after cancelAnimationFrame",ue.value),ue.value=null,console.log("finished cancelAnimationFrame",ue.value))}const _e=v([]);async function We(k,u){if(window.confirm("Are you sure you want to delete this group?")){e.sessionID;for(let s=0;s<_e.value.length;s++){e.sessionID,i.value=[],S.value?i.value=S.value:i.value=[];let _=i.value.findIndex(g=>g.diagramID===_e.value[s]);i.value.splice(_,1)}S.value=i.value,Oe(),Ae(),c.updateSessionSet(i.value,e.curatedID,e.sessionID),ee(i.value),ee(i.value)}}const He=v(!1),Ge=v("N"),uo=["N","S","E","W"],oo=()=>{He.value=!1},co=()=>{console.log(Ge.value),oo()};async function Ye(){return new Promise((k,u)=>{console.log("usernavigation: ",c.inputComponent.inputs.userNavigationEnabled),c.inputComponent.inputs.userNavigationEnabled=!1,console.log("usernavigation: ",c.inputComponent.inputs.userNavigationEnabled),console.log("nav disabled");let s=0,_=!1,g=!1;Z.value=null,x.value=null,O.value=null,H.value=null,console.log("Intersection count:",s);const b=No(()=>c.showcaseClickCount,(y,V)=>{y>V&&(_||($e.value=!0,console.log("isDragging:",c.showcaseClickCount),console.log("DragPoint",m.value,"count",s)),_&&!g&&(g=!0,b(),console.log("isDragging stopped click watch:",c.showcaseClickCount)),_=!0)});m.value=c.mpSdk.Pointer.intersection.subscribe(y=>{if(_&&!g&&!Z.value)console.log("Point 1 first:",y.position),Z.value=y.position.x,x.value=y.position.z,D(Z.value,x.value,y.position.x,y.position.z);else if(_&&!g&&Z.value)console.log("Point 1:",Z.value,"Dragging Point 2:",y.position),D(Z.value,x.value,y.position.x,y.position.z);else if(_&&g&&!O.value){O.value=y.position.x,H.value=y.position.z,console.log("Point 1:",Z.value,x.value,"Point 2:",O.value,H.value),m.value.cancel(),D(Z.value,x.value,O.value,H.value,!0),c.inputComponent.inputs.userNavigationEnabled=!0,console.log("usernavigation: ",c.inputComponent.inputs.userNavigationEnabled);const V=H.value-x.value,z=O.value-Z.value,E=Math.atan2(V,z),B=Math.round(E*(180/Math.PI)),F=Math.round(B/90)*90;console.log("normalizedAngle",F);let p={startX:Z.value,startZ:x.value,endX:O.value,endZ:H.value,widthX:Math.abs(O.value-Z.value),depthZ:Math.abs(H.value-x.value)};Z.value<O.value?(p.startX=Z.value,p.endX=O.value):(p.startX=O.value,p.endX=Z.value),x.value<H.value?(p.startZ=x.value,p.endZ=H.value):(p.startZ=H.value,p.endZ=x.value),
1console.log("arealog",p),console.log("diagramtemplatenode1",c.diagramtemplatenode),console.log("diagramtemplatenode2",c.diagramtemplatenode),k(p)}});async function D(y,V,z,E,B){await c.mpSdk.Scene.registerComponents([{factory:To(c.mpSdk),name:Ao}]);try{c.diagramtemplateobject!=null&&(console.log("checking if obj null",c.diagramtemplateobject),c.diagramtemplateobject.stop(),c.diagramtemplateobject=null),c.diagramtemplateobject=(await c.mpSdk.Scene.createObjects(1))[0],c.diagramtemplatenode=await c.diagramtemplateobject.addNode(),console.log("trying to add box"),K.value=c.diagramtemplatenode.addComponent("mp.box",{width:Math.abs(z-y),height:.4,depth:Math.abs(E-V),color:65280,localScale:{x:1,y:1,z:1},localPosition:{x:(z+y)/2,y:.1,z:(E+V)/2},localRotation:{x:0,y:0,z:0}}),console.log("component added",c.diagramtemplatenode,K.value),c.diagramtemplateobject.start()}catch(F){console.error("Error adding box to Matterport scene:",F)}B&&(c.diagramtemplatenode.stop(),c.diagramtemplatenode=null)}})}async function po(k,u){let s=await Ye(),_=Ue.value*.0254;s.startX=s.startX+_,s.startZ=s.startZ+_,s.widthX=s.widthX-2*_,s.depthZ=s.depthZ-2*_,console.log("area",s),console.log("add diagram",k,u);let g=ke();console.log("diagramID",g),i.value=[],S.value||(S.value=[]),S.value?i.value=S.value:i.value=[];let b=s.startX,D=s.startZ;Te.value*(Math.PI/180);let y=s.widthX,V=s.depthZ;try{let z=fe.value*.0254,E=Pe.value*.0254,B=he.value*.0254,F=re.value*.0254,p=prompt("Please enter the direction of the area (N, S, E, W)","N");s.direction=p;let t,l,P,n,A;console.log(s.direction),(s.direction=="N"||s.direction=="n")&&(t=new Ce().setFromAxisAngle(new ve(0,1,0),-Math.PI/2),l=R.value.size.z+z,n=R.value.size.x+E),(s.direction=="S"||s.direction=="s")&&(t=new Ce().setFromAxisAngle(new ve(0,1,0),Math.PI/2),l=R.value.size.z+z,n=R.value.size.x+E),(s.direction=="E"||s.direction=="e")&&(t=new Ce().setFromAxisAngle(new ve(0,1,0),Math.PI),z=Pe.value*.0254,E=fe.value*.0254,B=re.value*.0254,F=he.value*.0254,l=R.value.size.x+z,n=R.value.size.z+E),(s.direction=="W"||s.direction=="w")&&(t=new Ce().setFromAxisAngle(new ve(0,1,0),0),z=Pe.value*.0254,E=fe.value*.0254,B=re.value*.0254,F=he.value*.0254,l=R.value.size.x+z,n=R.value.size.z+E),(de.value*l>y||T.value*n>V)&&alert("Too many objects for the area");let oe=y/(de.value*l+B),M=V/(T.value*n+F),ae=oe-Math.floor(oe),ze=M-Math.floor(M),W=Math.max(1,y/(de.value*l+B)),Be=Math.max(1,V/(T.value*n+F));console.log("requested hori",de.value,"blockCountHor",W,"blockCountVert",Be,"remainHor",ae,"remainVert",ze),P=de.value,A=T.value;let G=[];for(let C=0;C<Be;C++)for(let ce=0;ce<W;ce++)for(let Ve=0;Ve<A;Ve++)for(let je=0;je<P;je++){let Q=t;console.log("table quat",Q);let Ze=ke(),Fe={position:{x:je*l+B*ce+P*l*ce+(b+l/2),y:.05,z:Ve*n+F*C+A*n*C+(D+n/2)},scale:{x:1,y:1,z:1},quaternion:{x:Q.x,y:Q.y,z:Q.z,w:Q.w},boundingBox:!1,url:R.value.url,seats:R.value.seats,tableType:R.value.tableType,tableChairs:R.value.tableChairs,size:R.value.size,materialColor:"white",diagramID:Ze,materialColor:"white",materialColor2:"white",model:c.selectedModel,sessionID:e.sessionID};console.log("new table quat pre instnace:",Fe),G.push(Fe),Fe={}}for(let C=G.length-1;C>=0;C--){let ce=G[C].position;(ce.x>s.startX+s.widthX||ce.z>s.startZ+s.depthZ||ce.x<s.startX||ce.z<s.startZ)&&G.splice(C,1)}G.forEach(C=>{i.value.push(C)});for(let C=i.value.length-1;C>=0;C--)if(i.value[C].tableChairs>0){let ce={name:"grayChairLOD2",url:"https://firebasestorage.googleapis.com/v0/b/selfwalksigniabonnetcreek-dev.appspot.com/o/Chair2020.glb?alt=media&token=2567ce39-24dc-486e-a62d-e88652e2afbc",loader:"",tableType:"",tableChairs:0,type:"",seats:1,size:{x:.608,y:.983,z:.506}};console.log("diagramset",i.value[C]);let Ve=i.value[C].position.x,je=i.value[C].position.y,Q=i.value[C].position.z,Ze=i.value[C].tableChairs,Fe=(i.value[C].size.x+ce.size.x)/2,si=i.value[C].size.x,ai=i.value[C].size.z;
1if(i.value[C].tableType=="round"&&!i.value[C].tableID)for(let q=0;q<i.value[C].tableChairs;q++){let pe={name:"grayChairLOD2",url:"https://firebasestorage.googleapis.com/v0/b/selfwalksigniabonnetcreek-dev.appspot.com/o/Chair2020.glb?alt=media&token=2567ce39-24dc-486e-a62d-e88652e2afbc",loader:"",tableType:"",tableChairs:0,type:"",seats:1,size:{x:.608,y:.983,z:.506}},Ie=ke(),te=-2*Math.PI/Ze*q,xe=2*Math.PI/Ze*q;console.log("roationAngle",xe);let Y=new Ce().setFromAxisAngle(new ve(0,1,0),xe);console.log("chairQuat",Y);let qe={position:{x:Ve+Fe*Math.cos(te),y:i.value[C].position.y,z:Q+Fe*Math.sin(te)},scale:{x:1,y:1,z:1},quaternion:{x:Y.x,y:Y.y,z:Y.z,w:Y.w},boundingBox:!1,url:pe.url,seats:pe.seats,tableType:pe.tableType,tableChairs:pe.tableChairs,tableID:i.value[C].diagramID,size:pe.size,materialColor:"white",materialColor2:"white",model:c.selectedModel,sessionID:e.sessionID,materialColor:"white",diagramID:Ie};i.value.push(qe),qe={}}if(i.value[C].tableType=="classroom"&&!i.value[C].tableID){let q=t;console.log("chairQuat",q);let pe=Te.value*(Math.PI/180),Ie=i.value[C].size.z,te=i.value[C].size.x,xe=i.value[C].position.x,Y=i.value[C].position.z,qe={name:"grayChairLOD2",url:"https://firebasestorage.googleapis.com/v0/b/selfwalksigniabonnetcreek-dev.appspot.com/o/Chair2020.glb?alt=media&token=2567ce39-24dc-486e-a62d-e88652e2afbc",loader:"",tableType:"",tableChairs:0,type:"",seats:1,size:{x:.608,y:.983,z:.506}},xo=i.value[C].tableChairs,to=te/2;for(let Ee=0;Ee<i.value[C].tableChairs;Ee++){let Re={name:"grayChairLOD2",url:"https://firebasestorage.googleapis.com/v0/b/selfwalksigniabonnetcreek-dev.appspot.com/o/Chair2020.glb?alt=media&token=2567ce39-24dc-486e-a62d-e88652e2afbc",loader:"",tableType:"",tableChairs:0,type:"",seats:1,size:{x:.608,y:.983,z:.506}},Mo=ke(),Ke,eo,lo=(Ie-Re.size.x*xo)/xo,so=Re.size.x,ho=so/2+lo/2,Xe=ho+Ee*so+lo;switch(Ee==0&&(Xe=ho+Ee*so+lo/2),Ee==i.value[C].tableChairs-1&&(Xe=ho+Ee*so+lo/2),s.direction.toLowerCase()){case"n":Ke=xe-Ie/2+Xe,eo=Y+te/2+to;break;case"s":Ke=xe-Ie/2+Xe,eo=Y-te/2-to;break;case"e":Ke=xe-te/2-to,eo=Y+Ie/2-Xe;break;case"w":Ke=xe+te/2+to,eo=Y-Ie/2+Xe;break}let go={position:{x:Ke,y:i.value[C].position.y,z:eo},scale:{x:1,y:1,z:1},quaternion:{x:q.x,y:q.y,z:q.z,w:q.w},boundingBox:!1,url:Re.url,seats:Re.seats,tableType:Re.tableType,tableChairs:Re.tableChairs,tableID:i.value[C].diagramID,size:Re.size,materialColor:"white",diagramID:Mo,model:c.selectedModel,sessionID:e.sessionID};console.log("new param classroom",go),i.value.push(go),go={}}}if(i.value[C].tableType=="crescent"&&!i.value[C].tableID)for(let q=0;q<i.value[C].tableChairs;q++){let pe={name:"grayChairLOD2",url:"https://firebasestorage.googleapis.com/v0/b/selfwalksigniabonnetcreek-dev.appspot.com/o/Chair2020.glb?alt=media&token=2567ce39-24dc-486e-a62d-e88652e2afbc",loader:"",tableType:"",tableChairs:0,type:"",seats:1,size:{x:.608,y:.983,z:.506}},Ie=ke(),te;switch(s.direction.toLowerCase()){case"n":te=-1*Math.PI/(i.value[C].tableChairs-1)*q-Math.PI;break;case"s":te=1*Math.PI/(i.value[C].tableChairs-1)*q-Math.PI;break;case"e":te=-1*Math.PI/(i.value[C].tableChairs-1)*q-Math.PI/2;break;case"w":te=1*Math.PI/(i.value[C].tableChairs-1)*q-Math.PI/2;break}let xe=2*Math.PI/Ze*q;console.log("roationAngle",xe);let Y=t;console.log("chairQuat",Y);let qe={position:{x:Ve+Fe*Math.cos(te),y:i.value[C].position.y,z:Q+Fe*Math.sin(te)},scale:{x:1,y:1,z:1},quaternion:{x:Y.x,y:Y.y,z:Y.z,w:Y.w},boundingBox:!1,url:pe.url,seats:pe.seats,tableType:pe.tableType,tableChairs:pe.tableChairs,tableID:i.value[C].diagramID,size:pe.size,materialColor:"white",diagramID:Ie,model:c.selectedModel,sessionID:e.sessionID};i.value.push(qe),qe={}}i.value[C].tableID=i.value[C].diagramID}S.value=i.value,console.log("New wall params added:",g,i.value,S.value),Ae(k,u),c.updateSessionSet(i.value,e.curatedID,e.sessionID),console.log("New wall params added:",i.value),ee(i.value),ee(i.value)}catch(z){console.error("Error in addWall function:",z)}}async function Je(k,u){let s=c.diagramObjects.find(W=>W.name==="stage6ftx8ft"),_=await Ye(),g=prompt("Please enter the direction of the area (N, S, E, W)","N");_.direction=g,console.log("area",_),console.log("add diagram",k,u);let b=ke();i.value=[],S.value||(S.value=[]),S.value?i.value=S.value:i.value=[];let D=_.startX,y=_.startZ;Te.value*(Math.PI/180);let V=_.widthX,z=_.depthZ,E=ke(),B,F=Math.max(1,Math.floor(V/s.size.x)),p=Math.max(1,Math.floor(z/s.size.z)),t=c.diagramObjects.find(W=>W.name==="screentripod"),l,P,n,A,oe,M,ae;switch(_.direction.toLowerCase()){case"n":B=new Ce().setFromAxisAngle(new ve(0,1,0),-Math.PI/2),ae=B,n=s.size.z,A=s.size.x,oe=D-s.size.z/2+s.size.z*F/2,M=y-s.size.x/2+s.size.x*p/2,l=oe,P=M+s.size.x/2-s.size.x*p/2;break;case"s":B=new Ce().setFromAxisAngle(new ve(0,1,0),Math.PI/2),ae=B,n=s.size.z,A=s.size.x,oe=D-s.size.z/2+s.size.z*F/2,M=y-s.size.x/2+s.size.x*p/2,l=oe,P=M-s.size.x/2+s.size.x*p/2;break;case"e":B=new Ce().setFromAxisAngle(new ve(0,1,0),Math.PI),ae=new Ce().setFromAxisAngle(new ve(0,1,0),0),n=s.size.x,A=s.size.z,oe=D-s.size.x/2+s.size.x*F/2,M=y-s.size.z/2+s.size.z*p/2,l=oe+s.size.x/2-s.size.x*F/2,P=M;break;case"w":B=new Ce().setFromAxisAngle(new ve(0,1,0),0),ae=new Ce().setFromAxisAngle(new ve(0,1,0),Math.PI),n=s.size.x,A=s.size.z,oe=D-s.size.x/2+s.size.x*F/2,M=y-s.size.z/2+s.size.z*p/2,l=oe-s.size.x/2+s.size.x*F/2,P=M;break}console.log("positions","initialX",D,"initialZ",y,"stageNumEleWidth","stageNumEleDepth","templateWidth","templateDepth",F,p,V,z);for(let W=0;W<F;W++)for(let Be=0;Be<p;Be++){let G=B,C={position:{x:n*W+D,y:.05,z:A*Be+y},scale:{x:1,y:1,z:1},quaternion:{x:G.x,y:G.y,z:G.z,w:G.w},boundingBox:!1,url:s.url,seats:s.seats,materialColor:"white",diagramID:E,model:c.selectedModel,sessionID:e.sessionID};i.value.push(C),C={}}let ze={position:{x:l,y:s.size.y,z:P},scale:{x:1,y:1,z:1},quaternion:{x:ae.x,y:ae.y,z:ae.z,w:ae.w},boundingBox:!1,url:t.url,seats:t.seats,model:c.selectedModel,sessionID:e.sessionID,materialColor:"white",diagramID:E};i.value.push(ze),ze={};try{S.value=i.value,console.log("New wall params added:",b,i.value,S.value),Ae(k,u),c.updateSessionSet(i.value,e.curatedID,e.sessionID),console.log("New wall params added:",i.value),ee(i.value),ee(i.value)}catch(W){console.error("Error in addWall function:",W)}S.value=i.value,console.log("New wall params added:",b,i.value,S.value),ee(i.value),ee(i.value)}function vo(k,u,s){if(window.confirm("Are you sure you want to remove this diagram?")){i.value=[],S.value?i.value=S.value:i.value=[];for(let _=0;_<i.value.length;_++)if(i.value[_].diagramID===s){i.value.splice(_,1);break}S.value=i.value,Ae(),c.updateSessionSet(i.value,e.curatedID,e.sessionID),ee(i.value),ee(i.value)}}async function Ae(k,u){let s=0;for(let _=0;_<i.value.length;_++)s+=i.value[_].seats}async function mo(k,u){i.value=[];for(let s=0;s<h.value.length;s++){let _={position:{x:h.value[s].obj3D.position.x,y:h.value[s].obj3D.position.y,z:h.value[s].obj3D.position.z},rotation:{x:h.value[s].obj3D.rotation.x,y:h.value[s].obj3D.rotation.y,z:h.value[s].obj3D.rotation.z},quaternion:{x:h.value[s].obj3D.quaternion.x,y:h.value[s].obj3D.quaternion.y,z:h.value[s].obj3D.quaternion.z,w:h.value[s].obj3D.quaternion.w},scale:{x:h.value[s].obj3D.scale.x,y:h.value[s].obj3D.scale.y,z:h.value[s].obj3D.scale.z},boundingBox:h.value[s].boundingBox,url:h.value[s].url,seats:h.value[s].seats,model:h.value[s].model,sessionID:h.value[s].sessionID,diagramID:h.value[s].diagramID};i.value.push(_)}console.log("diagramSet.value",i.value,S.value),S.value=i.value,Ae(),c.updateSessionSet(i.value,e.curatedID,e.sessionID)}function fo(k,u,s){i.value=[],S.value?i.value=S.value:i.value=[];for(let _=0;_<i.value.length;_++)if(i.value[_].diagramID===s){let g=ke();console.log("newID",g);let b={...i.value[_],diagramID:g};i.value.push(b);break}S.value=i.value,c.updateSessionSet(i.value,e.curatedID,e.sessionID),ee(i.value),ee(i.value)}return Bo(async()=>{console.log("pre load mounting",S.value),S.value=await c.retrieveSessionSet(e.curatedID,e.sessionID),console.log("mounted",S.value)}),(k,u)=>(r(),d($,null,[o("div",nt,[o("div",it,[rt,w(o("select",{id:"gltfUrl","onUpdate:modelValue":u[0]||(u[0]=s=>R.value=s)},[(r(!0),d($,null,N(a(c).diagramObjects,s=>(r(),d("option",{value:s},J(s.name),9,dt))),256))],512),[[me,R.value]])]),o("div",ut,[o("div",ct,[pt,w(o("input",{id:"servicePerimeter","onUpdate:modelValue":u[1]||(u[1]=s=>Ue.value=s),type:"number"},null,512),[[L,Ue.value,void 0,{number:!0}]])]),o("div",vt,[mt,w(o("input",{id:"spaceBetweenBlocksHor","onUpdate:modelValue":u[2]||(u[2]=s=>he.value=s),type:"number"},null,512),[[L,he.value,void 0,{number:!0}]])]),o("div",ft,[ht,w(o("input",{id:"spaceBetweenBlocksVert","onUpdate:modelValue":u[3]||(u[3]=s=>re.value=s),type:"number"},null,512),[[L,re.value,void 0,{number:!0}]])]),o("div",gt,[bt,w(o("input",{id:"spaceBetweenRow","onUpdate:modelValue":u[4]||(u[4]=s=>Pe.value=s),type:"number"},null,512),[[L,Pe.value,void 0,{number:!0}]])]),o("div",Ct,[wt,w(o("input",{id:"spaceBetweenColumn","onUpdate:modelValue":u[5]||(u[5]=s=>fe.value=s),type:"number"},null,512),[[L,fe.value,void 0,{number:!0}]])]),o("div",Pt,[yt,w(o("input",{id:"numObjInBlockVert","onUpdate:modelValue":u[6]||(u[6]=s=>T.value=s),type:"number"},null,512),[[L,T.value,void 0,{number:!0}]])]),o("div",_t,[It,w(o("input",{id:"numObjInBlockHor","onUpdate:modelValue":u[7]||(u[7]=s=>de.value=s),type:"number"},null,512),[[L,de.value,void 0,{number:!0}]])]),o("div",xt,[kt,w(o("input",{id:"numScreens","onUpdate:modelValue":u[8]||(u[8]=s=>ge.value=s),type:"number"},null,512),[[L,ge.value,void 0,{number:!0}]])])])]),o("div",Lt,[o("div",{class:ao({mobileToolBack:!0,helpHighlight:a(c).isHighlighted==5})},[o("button",{class:"actionbtn",onClick:u[9]||(u[9]=j(s=>(a(c).showSessionSetTool=!1,a(c).sessionDiagramOn=!1),["prevent"]))},"X"),St,o("button",{class:"actionbtn",onClick:j(Qe,["prevent"]),id:"airwallcontrol"},"S/R/T",8,Dt),o("button",{class:"actionbtn",onClick:j(Oe,["prevent"]),id:"airwallcontrol"},"Unselect",8,zt),o("button",{class:"actionbtn",onClick:u[10]||(u[10]=j(s=>po(e.curatedID,e.sessionID),["prevent"]))},"Add "),o("button",{class:"actionbtn",onClick:u[11]||(u[11]=j(s=>ee(S.value),["prevent"]))},"Show "),o("button",{class:"actionbtn",onClick:u[12]||(u[12]=j(s=>mo(e.curatedID,e.sessionID),["prevent"]))},"Save "),o("button",{class:"actionbtn",onClick:u[13]||(u[13]=j(s=>fo(e.curatedID,e.sessionID,be.value),["prevent"]))},"copy"),o("button",{class:"actionbtn",onClick:u[14]||(u[14]=j(s=>vo(e.curatedID,e.sessionID,be.value),["prevent"]))},"Delete"),o("div",null,"ID:"+J(be.value),1),o("button",{class:"actionbtn",onClick:u[15]||(u[15]=j(s=>ro(),["prevent"]))},"Group"),o("button",{class:"actionbtn",onClick:u[16]||(u[16]=j(s=>We(e.curatedID,e.sessionID),["prevent"]))},"Delete Group")],2)]),o("div",Bt,[o("div",{class:ao({mobileToolBack:!0,helpHighlight:a(c).isHighlighted==5})},[o("button",{class:"actionbtn",onClick:u[17]||(u[17]=j(s=>a(c).showSessionSetTool=!1,["prevent"]))},"X"),Vt,o("button",{class:"actionbtn",onClick:u[18]||(u[18]=j(s=>Je(e.curatedID,e.sessionID),["prevent"]))},"Stage"),o("button",{class:"actionbtn",onClick:u[19]||(u[19]=j(s=>ye(k.typeName="roundsOf6LOD2",k.servicePer=0,k.aisleHori=60,k.aisleVert=60,k.objSpaceHori=60,k.objSpaceVert=60,k.objPerBlockHori=4,k.objPerBlockVert=5),["prevent"]))},"rounds "),o("button",{class:"actionbtn",onClick:u[20]||(u[20]=j(s=>ye("grayChair",0,36,36,20,0,5,5),["prevent"]))},"Theater"),o("button",{class:"actionbtn",onClick:u[21]||(u[21]=j(s=>ye("classroomtableLOD2",0,60,36,36,0,5,5),["prevent"]))},"classroom"),o("button",{class:"actionbtn",onClick:u[22]||(u[22]=j(s=>ye("classroomtable",0,36,36,20,0,5,5),["prevent"]))},"hollowSquare"),o("button",{class:"actionbtn",onClick:u[23]||(u[23]=j(s=>ye("classroomtable",0,36,36,20,0,5,5),["prevent"]))},"conference"),o("button",{class:"actionbtn",onClick:u[24]||(u[24]=j(s=>ye("classroomtable",0,36,36,20,0,5,5),["prevent"]))},"u-shape"),o("button",{class:"actionbtn",onClick:u[25]||(u[25]=j(s=>ye("banquet8",0,36,36,20,0,5,5),["prevent"]))},"reception")],2)]),He.value?(r(),d("div",Ft,[o("div",Mt,[o("div",{class:"modal-header"},[o("span",{class:"close-button",onClick:oo},"Ã"),$t]),o("div",Ut,[w(o("select",{"onUpdate:modelValue":u[26]||(u[26]=s=>Ge.value=s)},[(r(),d($,null,N(uo,s=>o("option",{key:s,value:s},J(s),9,Tt)),64))],512),[[me,Ge.value]])]),o("div",{class:"modal-footer"},[o("button",{onClick:co},"Confirm")])])])):I("",!0)],64))}},jt=Io(At,[["__scopeId","data-v-320b128c"]]);const f=X=>(Vo("data-v-fe0dbd5a"),X=X(),Fo(),X),Zt=f(()=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"135",height:"20",viewBox:"0 0 135 155",fill:"none"},[o("path",{d:"M67.9779 154.7L133.808 116.693C134.251 116.437 134.524 115.964 134.524 115.453V100.807C134.524 99.7043 133.33 99.0153 132.376 99.5665L99.0947 118.781C98.6516 119.037 98.1057 119.037 97.6626 118.781L47.381 89.7508C46.9379 89.495 46.665 89.0222 46.665 88.5106V60.5519C46.665 60.0403 46.392 59.5675 45.949 59.3117L36.8809 54.0763C36.4378 53.8205 35.8919 53.8205 35.4488 54.0763L31.8327 56.1641C31.3896 56.4199 31.1167 56.8927 31.1167 57.4043V97.4875C31.1167 97.9991 31.3896 98.4719 31.8327 98.7277L80.6821 126.931C81.6368 127.482 81.6368 128.86 80.6821 129.411L67.9779 136.746C67.5348 137.002 66.9889 137.002 66.5458 136.746L16.2644 107.716C15.8213 107.46 15.5484 106.987 15.5484 106.476V68.0462C15.5484 66.9438 14.355 66.2548 13.4003 66.806L0.716125 74.1292C0.273025 74.385 0.00012207 74.8578 0.00012207 75.3694V115.453C0.00012207 115.964 0.273125 116.437 0.716125 116.693L66.5459 154.7C66.9889 154.956 67.5348 154.956 67.9779 154.7Z",fill:"#BF6900"}),o("path",{d:"M66.5458 0.191925L0.716003 38.1988C0.272903 38.4546 0 38.9274 0 39.439V54.085C0 55.1874 1.1934 55.8764 2.1481 55.3252L35.429 36.111C35.8721 35.8552 36.418 35.8552 36.8611 36.111L87.1427 65.1409C87.5858 65.3967 87.8587 65.8695 87.8587 66.3811V94.3398C87.8587 94.8514 88.1317 95.3242 88.5747 95.58L97.6428 100.815C98.0859 101.071 98.6318 101.071 99.0749 100.815L102.691 98.7276C103.134 98.4718 103.407 97.999 103.407 97.4874V57.4042C103.407 56.8926 103.134 56.4198 102.691 56.164L53.8416 27.9608C52.8869 27.4096 52.8869 26.0316 53.8416 25.4803L66.5458 18.1456C66.9889 17.8898 67.5348 17.8898 67.9779 18.1456L118.259 47.1756C118.702 47.4314 118.975 47.9042 118.975 48.4158V86.8454C118.975 87.9478 120.169 88.6368 121.123 88.0856L133.808 80.7624C134.251 80.5066 134.524 80.0338 134.524 79.5222V39.4389C134.524 38.9273 134.251 38.4545 133.808 38.1987L67.9779 0.191925C67.5348 -0.063975 66.9889 -0.063975 66.5458 0.191925Z",fill:"#BF6900"})],-1)),Et=f(()=>o("span",null,"Dashboard",-1)),Rt={key:0,class:"mainContainer"},Nt={key:0,class:"buildHeader"},Ot={class:"buildPills",style:{"flex-wrap":"nowrap","overflow-x":"auto","padding-left":"30px","padding-bottom":"10px"}},Ht=["onClick"],qt={key:1,class:"buildContent"},Xt={key:0,class:"buildBlock"},Qt=f(()=>o("div",{class:"build-block-title"},[o("label",{for:"general"},"General")],-1)),Wt={class:"build-block-input"},Gt=f(()=>o("label",{for:"ready"},"Ready",-1)),Yt=f(()=>o("label",{for:"ready"},"Show Rates",-1)),Jt=f(()=>o("label",{for:"ready"},"Show Blocks",-1)),Kt=f(()=>o("label",{for:"ready"},"Show Minimums",-1)),el=f(()=>o("label",{for:"ready"},"Show Highlights",-1)),ol={class:"build-block-input"},tl=f(()=>o("label",{for:"ready"},"Show Consessions",-1)),ll=f(()=>o("label",{for:"ready"},"Show Notes",-1)),sl=f(()=>o("label",{for:"dates"},"Dates",-1)),al={class:"build-block-input"},nl=f(()=>o("label",{for:"pdfLinkShow"},"Show Pdf Instead:",-1)),il={key:1},rl=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),dl=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),ul=[rl,dl],cl={class:"build-block-input"},pl=f(()=>o("label",{for:"fileDoc"},"Add Resources: ",-1)),vl=f(()=>o(
1"span",null,"(Floorplans, Capacity Charts, etc)",-1)),ml=["onClick"],fl=["onClick"],hl=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),gl=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),bl=[hl,gl],Cl={key:1,class:"buildBlock"},wl=f(()=>o("div",{class:"build-block-title"},[o("label",{for:"roomRates"},"Room Rates")],-1)),Pl={class:"build-block-input"},yl={class:"build-block-list"},_l=["onUpdate:modelValue"],Il=["onUpdate:modelValue"],xl=["onClick"],kl=f(()=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},[o("rect",{width:"1.625rem",height:"1.625rem",rx:"4",fill:"#F19539"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"})],-1)),Ll=[kl],Sl={key:2,class:"buildBlock"},Dl=f(()=>o("div",{class:"build-block-title"},[o("label",{for:"minimumtype"},"Minimums")],-1)),zl={class:"build-block-input"},Bl=f(()=>o("option",{value:"Food"},"Food & Beverage",-1)),Vl=f(()=>o("option",{value:"AV"},"A/V",-1)),Fl=f(()=>o("option",{value:"ResortFee"},"Resort Fee",-1)),Ml={class:"build-block-list"},$l=["onUpdate:modelValue"],Ul=f(()=>o("option",{value:"Food"},"Food & Beverage",-1)),Tl=f(()=>o("option",{value:"AV"},"A/V",-1)),Al=f(()=>o("option",{value:"ResortFee"},"Resort Fee",-1)),jl=["onUpdate:modelValue"],Zl=["onClick"],El=f(()=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},[o("rect",{width:"1.625rem",height:"1.625rem",rx:"4",fill:"#F19539"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"})],-1)),Rl=[El],Nl={key:3,class:"buildBlock"},Ol=f(()=>o("div",{class:"build-block-title"},[o("label",{for:"minimumtype"},"Blocks")],-1)),Hl={class:"build-block-input"},ql=["value"],Xl={class:"build-block-list"},Ql=["onUpdate:modelValue"],Wl=["value"],Gl=["onUpdate:modelValue"],Yl=["onClick"],Jl=f(()=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},[o("rect",{width:"1.625rem",height:"1.625rem",rx:"4",fill:"#F19539"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"})],-1)),Kl=[Jl],es={key:4,class:"buildBlock"},os=f(()=>o("div",{class:"build-block-title"},[o("label",{for:"noteType"},"Notes")],-1)),ts={class:"build-block-input"},ls={class:"build-block-list"},ss=["onUpdate:modelValue"],as=["onClick"],ns=f(()=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},[o("rect",{width:"1.625rem",height:"1.625rem",rx:"4",fill:"#F19539"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"})],-1)),is=[ns],rs={key:5,class:"buildBlock"},ds=f(()=>o("div",{class:"build-block-title"},[o("label",{for:"noteType"},"Highlights")],-1)),us={class:"build-block-input"},cs={class:"build-block-list"},ps=["onUpdate:modelValue"],vs=["onClick"],ms=f(()=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},[o("rect",{width:"1.625rem",height:"1.625rem",rx:"4",fill:"#F19539"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"})],-1)),fs=[ms],hs={key:6,class:"buildBlock"},gs=f(()=>o("div",{class:"build-block-title"},[o("label",{for:"concessionType"},"Concessions")],-1)),bs={class:"build-block-input"},Cs={class:"build-block-list"},ws=["onUpdate:modelValue"],Ps=["onClick"],ys=f(()=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},[o("rect",{width:"1.625rem",height:"1.625rem",rx:"4",fill:"#F19539"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"})],-1)),_s=[ys],Is={key:7,class:"buildBlock"},xs=f(()=>o("div",{class:"build-block-title"},[o("label",{for:"sessions"},"Sessions")],-1)),ks={class:"build-block-input"}
1,Ls=no('<option value="Classroom" data-v-fe0dbd5a>Classroom</option><option value="Rounds" data-v-fe0dbd5a>Rounds</option><option value="UShape" data-v-fe0dbd5a>UShape</option><option value="BoardRoom" data-v-fe0dbd5a>BoardRoom</option><option value="CocktailRounds" data-v-fe0dbd5a>CocktailRounds</option><option value="Theater" data-v-fe0dbd5a>Theater</option><option value="HollowSquare" data-v-fe0dbd5a>HollowSquare</option><option value="Special" data-v-fe0dbd5a>Special</option>',8),Ss=["value"],Ds=["value"],zs={class:"session-block"},Bs=["onUpdate:modelValue"],Vs=no('<option value="Classroom" data-v-fe0dbd5a>Classroom</option><option value="Rounds" data-v-fe0dbd5a>Rounds</option><option value="UShape" data-v-fe0dbd5a>UShape</option><option value="BoardRoom" data-v-fe0dbd5a>BoardRoom</option><option value="CocktailRounds" data-v-fe0dbd5a>CocktailRounds</option><option value="Theater" data-v-fe0dbd5a>Theater</option><option value="HollowSquare" data-v-fe0dbd5a>HollowSquare</option><option value="Special" data-v-fe0dbd5a>Special</option>',8),Fs=["onUpdate:modelValue"],Ms=["onUpdate:modelValue"],$s=["value"],Us=["onUpdate:modelValue"],Ts=["onUpdate:modelValue"],As=["onUpdate:modelValue"],js=["value"],Zs=["onUpdate:modelValue"],Es=["onClick"],Rs=["onClick"],Ns=["onClick"],Os=f(()=>o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},[o("rect",{width:"1.625rem",height:"1.625rem",rx:"4",fill:"#F19539"}),o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"})],-1)),Hs=[Os],qs={key:8,class:"buildBlock"},Xs={style:{display:"flex",gap:"0.5rem"}},Qs={class:"build-block-branding"},Ws={class:"branding-input"},Gs=["src"],Ys={key:1},Js={key:2},Ks=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),ea=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),oa=[Ks,ea],ta={class:"build-block-branding"},la={class:"branding-input"},sa=f(()=>o("label",{class:"branding-label"},"Landing Video Link",-1)),aa={class:"build-block-doc"},na={class:"upload-container"},ia=f(()=>o("label",{for:"file",class:"upload-btn"},"Upload Proposal",-1)),ra={class:"build-block-doc-label",for:"customPDF",style:{width:"18rem"}},da={key:0},ua=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),ca=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),pa=[ua,ca],va={class:"build-block-doc"},ma={style:{display:"flex","flex-direction":"row",gap:"1rem"}},fa={class:"upload-container"},ha=f(()=>o("label",{for:"fileDoc",class:"upload-btn"},"Add Resource",-1)),ga=f(()=>o("div",{style:{width:"18rem",display:"flex","flex-direction":"column","justify-content":"center"}},[o("span",{style:{display:"flex","justify-content":"end"}},"(Floorplans, Capacity Charts, etc)")],-1)),ba={style:{display:"flex","flex-direction":"row",gap:"1rem","justify-content":"end","margin-right":"1.1rem"}},Ca=["onClick"],wa=["onClick"],Pa=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),ya=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),_a=[Pa,ya],Ia={style:{color:"#B46C26","font-weight":"700"}},xa={key:2,class:"mainHeader"},ka={class:"buildPills"},La=["onClick"],Sa={style:{cursor:"pointer"},xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},Da=f(()=>o("g",{transform:"translate(2,2) scale(0.91667)"},[o("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zm0 13c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6zm0-10a4 4 0 100 8 4 4 0 000-8z",fill:"white"})],-1)),za=[Da],Ba={class:"contentContainer"},Va={key:0,class:"mainContent"},Fa=f(()=>o("label",{style:{color:"#fff",width:"100%","margin-top":"0.5rem","padding-left":"0.75rem","padding-right":"0.5rem","text-align":"left","font-size":"1.5rem","font-weight":"700","line-height":"1.5"}},"Branding / Landing Video ",-1)),Ma={style:{width:"100%",height:"0.5rem","padding-top":"0.25rem",display:"flex","justify-content":"center"}},$a={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 525 1",preserveAspectRatio:"none",style:{width:"100%",height:"1px"}},Ua=f(()=>o("path",{opacity:"0.2",d:"M0 0H525V1H0V0Z",fill:"#F2F1ED"},null,-1)),Ta=[Ua],Aa=f(()=>o("label",{style:{color:"#fff",display:"block","margin-bottom":"0.5rem","margin-top":"0.5rem","padding-left":"0.5rem","padding-right":"0.5rem","text-align":"left","font-size":"1rem","font-weight":"500","line-height":"1"}},"Upload up to three image sizes: horizontal, square, and vertical. The tool will automatically select and place the best fit in different locations throughout the property.",-1)),ja={class:"addBrandingContainer"},Za={key:0,class:"add-branding"},Ea={key:0,class:"removeBrandBtn"},Ra=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),Na=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),Oa=[Ra,Na],Ha={class:"add-branding-input"},qa={key:0,style:{display:"flex","flex-direction":"column"}},Xa=f(()=>o("span",null," Horizontal Logo: ",-1)),Qa=f(()=>o("span",{style:{"font-size":"small",color:"grey"}}," e.g. 150px x 300px ",-1)),Wa=[Xa,Qa],Ga=["src"],Ya={key:1,class:"add-branding"},Ja={key:0,class:"removeBrandBtn"},Ka=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),en=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),on=[Ka,en],tn={class:"add-branding-input"},ln={key:0,style:{display:"flex","flex-direction":"column"}},sn=f(()=>o("span",null," Square Logo: ",-1)),an=f(()=>o("span",{style:{"font-size":"small",color:"grey"}}," e.g. 400px x 400px ",-1)),nn=[sn,an],rn=["src"],dn={key:2,class:"add-branding"},un={key:0,class:"removeBrandBtn"},cn=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),pn=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),vn=[cn,pn],mn={class:"add-branding-input"},fn={key:0,style:{display:"flex","flex-direction":"column"}},hn=f(()=>o("span",null," Vertical Logo: ",-1)),gn=f(()=>o("span",{style:{"font-size":"small",color:"grey"}}," e.g. 250px x 150px ",-1)),bn=[hn,gn],Cn=["src"],wn={class:"add-branding-video"},Pn=f(()=>o("label",{class:"branding-video-label"},"Landing Video Link ",-1)),yn={class:"add-branding-video-input"},_n={key:0,class:"removeBrandBtn"},In=["onClick"],xn=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),kn=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),Ln=[xn,kn],Sn={key:1,class:"mainContent2"},Dn=f(()=>o("label",{style:{color:"#fff",width:"100%","margin-top":"0.5rem","padding-left":"0.75rem","padding-right":"0.5rem","text-align":"left","font-size":"1.5rem","font-weight":"700","line-height":"1.5"}},"Proposals / Resources ",-1)),zn={style:{width:"100%",height:"0.5rem","padding-top":"0.25rem",display:"flex","justify-content":"center"}},Bn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 525 1",preserveAspectRatio:"none",style:{width:"100%",height:"1px"}},Vn=f(()=>o("path",{opacity:"0.2",d:"M0 0H525V1H0V0Z",fill:"#F2F1ED"},null,-1)),Fn=[Vn],Mn={key:0,class:"proposalUpload-container1"},$n={style:{display:"flex","flex-direction":"row",gap:"0.95rem"}},Un=f(()=>o("label",{class:"upload-btn",for:"file"},"Upload PDF",-1)),Tn={style:{display:"flex","flex-direction":"row",gap:"0.5rem"}},An=f(()=>o("label",{style:{width:"10rem"}},"or Paste Link",-1)),jn={key:1,class:"prop-block-doc"},Zn={class:"upload-container"},En={class:"prop-block-doc-label",for:"customPDF",style:{width:"18rem"}},Rn={key:0},Nn=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),On=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),Hn=[Nn,On],qn={class:"prop-block-doc"},Xn={style:{display:"flex","flex-direction":"row",gap:"1rem"}},Qn={class:"upload-container"},Wn=f(()=>o("label",{for:"fileDoc",class:"upload-btn"},"Add Resource",-1)),Gn=f(()=>o("div",{style:{width:"18rem",display:"flex","flex-direction":"column","justify-content":"center"}},[o("span",{style:{display:"flex","justify-content":"end"}},"(Floorplans, Capacity Charts, etc)")],-1)),Yn={style:{display:"flex","flex-direction":"row",gap:"1rem","justify-content":"end","margin-right":"1.1rem"}},Jn=["onClick"],Kn=["onClick"],ei=f(()=>o("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"},null,-1)),oi=f(()=>o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 8C20 7.44772 19.5523 7 19 7L17 7C16.4477 7 16 6.55228 16 6C16 5.44772 15.5523 5 15 5L11 5C10.4477 5 10 5.44772 10 6C10 6.55229 9.55228 7 9 7L7 7C6.44772 7 6 7.44772 6 8C6 8.55228 6.44772 9 7 9L7.00003 17.3333C7.00003 19.3584 8.64166 21 10.6667 21L15.3333 21C17.3584 21 19 19.3584 19 17.3333L19 9C19.5523 9 20 8.55228 20 8ZM10 11C10 10.4477 10.4477 10 11 10C11.5523 10 12 10.4477 12 11L12 17C12 17.5523 11.5523 18 11 18C10.4477 18 10 17.5523 10 17L10 11ZM15 10C14.4477 10 14 10.4477 14 11L14 17C14 17.5523 14.4477 18 15 18C15.5523 18 16 17.5523 16 17L16 11C16 10.4477 15.5523 10 15 10Z",fill:"white"},null,-1)),ti=[ei,oi],li={__name:"CuratedBuilderView",setup(X){const e=_o(),c=Jo(),$e=Yo(),m=v($e.params.proposalID.toUpperCase()),Z=v(!0),x=zo(e.updateBuilderField,500);v(!1),v(""),v("");const O=v(0),H=v("Standard"),K=v("Food"),i=v(0),Le=v(""),ne=v(0),U=v(""),h=v(""),ie=v(""),Ne=v("Classroom"),se=v(""),Qe=v(""),R=v(0),Pe=v("");v("");const fe=v(""),he=v(""),re=v(""),de=v(0),T=v("Sessions"),Ue=v(),ge=v(!1);let Te;Do(yo,"curated","DEFAULT","branding");function ye(p){c.push(p)}function S(){let t=`${window.location.origin}/curated/${m.value}`;e.siteProInfo.curatedProposal.landingVideo&&(t+="?&lvid=1"),window.open(t,"_blank")}Bo(async()=>{const p=Eo(yo,"curated",m.value.toUpperCase());Te=Ro(p,t=>{t.exists()?(e.siteProInfo.curatedProposal=t.data(),console.log("curatedProposal",e.siteProInfo.curatedProposal),console.log("site",e.siteProInfo),e.siteProInfo.curatedProposal.dateStart||(e.siteProInfo.curatedProposal.dateStart="0-0-0"),e.siteProInfo.curatedProposal.dateEnd||(e.siteProInfo.curatedProposal.dateEnd="0-0-0")):console.log("No such document, creating a new one")}),await e.readCuratedBrandingFromFire(m.value),await e.readCuratedDiagrammingFromFire(m.value),await e.readCuratedProposalFromFire(m.value),(e.siteProInfo.venueType=="bar"||e.siteProInfo.venueType=="hotel")&&(console.log("proposal ready?",e.siteProInfo.pdfLink,e.siteProInfo.ready,e.siteProInfo.pdfLinkShow),e.siteProInfo.pdfLink&&(e.siteProInfo.ready=!0),e.siteProInfo.pdfLinkShow=!0)}),v(null);function io(){e.siteProInfo.curatedProposal.landingVideo="",x(m.value,"landingVideo",e.siteProInfo.curatedProposal.landingVideo)}function be(){if(e.siteProInfo.curatedProposal.landingVideo){let l=function(P){try{return new URL(P)}catch{return null}},p=e.siteProInfo.curatedProposal.landingVideo,t="";if(p.includes("loom.com/share"))t=p.replace("/share","/embed");else if(p.includes("youtube.com/watch")||p.includes("youtu.be/"))t=p.replace("watch?v=","embed/").replace("youtu.be/","youtube.com/embed/");else if(p.inc
1ludes("hippovideo.io/page/")){let P=l(p);if(P){let n=P.searchParams.get("custom_asset_token");n&&(P.pathname=`/video/embed/${n}`),t=P.toString()}}else if(p.includes("<iframe")){let P=document.createElement("div");P.innerHTML=p;let n=P.querySelector("iframe");n&&n.src&&(t=n.src)}t?(t=Se(t),e.siteProInfo.curatedProposal.landingVideo=t,x(m.value,"landingVideo",e.siteProInfo.curatedProposal.landingVideo),console.log("updated video link",t),console.log("New Embed Link:",t)):console.log("Invalid video link or embed code.")}else console.log("No landingVideo found.")}function Se(p){try{let t=new URL(p);return t.protocol==="http:"||t.protocol==="https:"?t.toString():(console.log("Invalid URL protocol."),"")}catch{return console.log("Invalid URL format."),""}}const De=Lo(),ue=p=>{const t=p.target.files[0];if(!t)return;const l=bo(De,`pdfs/${t.name}`),P=Co(l,t);P.on("state_changed",n=>{const A=n.bytesTransferred/n.totalBytes*100;console.log("Upload is "+A+"% done")},n=>{console.error("Error during upload: ",n)},()=>{wo(P.snapshot.ref).then(n=>{e.siteProInfo.curatedProposal.pdfLink=n,e.updateBuilderField(m.value,"pdfLink",e.siteProInfo.curatedProposal.pdfLink)})}),ge.value=!1};function ee(){e.updateBuilderField(m.value,"pdfLink",e.siteProInfo.curatedProposal.pdfLink),ge.value=!1}function ro(p){e.selectedSpace=e.spaceInfo.findIndex(t=>t.id===p),console.log("id, nav menu mode",p,e.spaceInfo[e.selectedSpace].subCategory.toLowerCase()),e.spaceInfo[e.selectedSpace].subCategory&&e.spaceInfo[e.selectedSpace].subCategory.toLowerCase()==="salons"||e.spaceInfo[e.selectedSpace].breakoutAirwall&&e.spaceInfo[e.selectedSpace].breakoutAirwall.toLowerCase()==="salons"?e.currentMode="Salons":e.currentMode="Ballrooms",console.log("nav mode",e.currentMode),e.navToSpot(e.selectedSpace),console.log(e.selectedSpace)}const Oe=v("No File Chosen"),_e=p=>{const t=p.target.files[0];if(!t)return;t?Oe.value=t.name:Oe.value="";const l=bo(De,`pdfs/${t.name}`),P=Co(l,t);P.on("state_changed",n=>{const A=n.bytesTransferred/n.totalBytes*100;console.log("Upload is "+A+"% done")},n=>{console.error("Error during upload: ",n)},()=>{wo(P.snapshot.ref).then(n=>{console.log("download",n);let A=prompt("add a name for the document");e.siteProInfo.curatedProposal.documents||(e.siteProInfo.curatedProposal.documents=[]),e.siteProInfo.curatedProposal.documents.push({link:n,name:A}),e.updateBuilderField(m.value,"documents",e.siteProInfo.curatedProposal.documents)})}),Oe.value="No File Chosen"};async function We(p){window.confirm("Are you sure you want to delete this file?")&&(e.siteProInfo.curatedProposal.documents.splice(p,1),e.updateBuilderField(m.value,"documents",e.siteProInfo.curatedProposal.documents))}async function He(){window.confirm("Are you sure you want to delete this pdf?")&&(e.siteProInfo.curatedProposal.pdfLink=null,e.updateBuilderField(m.value,"pdfLink",e.siteProInfo.curatedProposal.pdfLink))}async function Ge(){try{if(e.siteProInfo.curatedProposal.textureSrc=await Je(1048576,1.25,11.75),!e.siteProInfo.curatedProposal.textureSrc)return;await e.updateBuilderField(m.value,"textureSrc",e.siteProInfo.curatedProposal.textureSrc),e.showToast("File uploaded and updated successfully!","#00FF00")}catch(t){t.message==="File size exceeds the limit."?(console.error("File size exceeds the limit.",t),e.showToast("Error: File size exceeds the limit.","#FF0000")):t.message==="Aspect ratio is incorrect"?(console.error("Aspect ratio issue:",t),e.showToast("Error: Image aspect ratio is outside the allowed range.","#FF0000")):(console.error("Error during file upload or Firestore update:",t),e.showToast("Error during file upload or Firestore update. Please try again.","#FF0000"))}}async function uo(){try{if(e.siteProInfo.curatedProposal.textureSrc2=await Je(1048576,.75,1.25),!e.siteProInfo.curatedProposal.textureSrc2)return;e.updateBuilderField(m.value,"textureSrc2",e.siteProInfo.curatedProposal.textureSrc2)}catch(t){t.message==="File size exceeds the limit."?(console.error("File size exceeds the limit.",t),e.showToast("Error: File size exceeds the limit.","#FF0000")):t.message==="Aspect ratio is incorrect"?(console.error("Aspect ratio issue:",t),e.showToast("Error: Image aspect ratio is outside the allowed range.","#FF0000")):(console.error("Error during file upload or Firestore update:",t),e.showToast("Error during file upload or Firestore update. Please try again.","#FF0000"))}}async function oo(){try{if(e.siteProInfo.curatedProposal.textureSrc3=
1await Je(1048576,.4,.75),!e.siteProInfo.curatedProposal.textureSrc3)return;e.updateBuilderField(m.value,"textureSrc3",e.siteProInfo.curatedProposal.textureSrc3)}catch(t){t.message==="File size exceeds the limit."?(console.error("File size exceeds the limit.",t),e.showToast("Error: File size exceeds the limit.","#FF0000")):t.message==="Aspect ratio is incorrect"?(console.error("Aspect ratio issue:",t),e.showToast("Error: Image aspect ratio is outside the allowed range.","#FF0000")):(console.error("Error during file upload or Firestore update:",t),e.showToast("Error during file upload or Firestore update. Please try again.","#FF0000"))}}async function co(){window.confirm("Are you sure you want to remove this branding?")&&(e.siteProInfo.curatedProposal.textureSrc="",e.updateBuilderField(m.value,"textureSrc",e.siteProInfo.curatedProposal.textureSrc))}async function Ye(){window.confirm("Are you sure you want to remove this branding?")&&(e.siteProInfo.curatedProposal.textureSrc2="",e.updateBuilderField(m.value,"textureSrc2",e.siteProInfo.curatedProposal.textureSrc2))}async function po(){window.confirm("Are you sure you want to remove this branding?")&&(e.siteProInfo.curatedProposal.textureSrc3="",e.updateBuilderField(m.value,"textureSrc3",e.siteProInfo.curatedProposal.textureSrc3))}async function Je(p,t,l){return new Promise((P,n)=>{let A=document.createElement("input");A.type="file",A.accept="image/*",A.onchange=oe=>{let M=oe.target.files[0];const ae=10*1024*1024,ze=p||ae;if(M.size>ze){console.error("Error: File size exceeds the limit."),console.error("Error: File size exceeds the limit."),n(new Error("File size exceeds the limit.")),e.showToast("Error: File size exceeds the limit.","#FF0000");return}const W=new FileReader;W.onload=function(Be){const G=new Image;G.src=Be.target.result,G.onload=function(){const C=G.width/G.height;if(C<t||C>l){console.error("Error: Aspect ratio is outside the allowed range."),n(new Error("Aspect ratio is incorrect")),e.showToast(`Error: Aspect ratio must be between ${t} and ${l}`,"#FF0000");return}const ce=Lo();let Ve=bo(ce,"images/"+M.name);const je=Co(Ve,M);je.on("state_changed",Q=>{const Ze=Q.bytesTransferred/Q.totalBytes*100;console.log("Upload is "+Ze+"% done")},Q=>{console.error("Error uploading file to Firebase:",Q),n(Q)},()=>{wo(je.snapshot.ref).then(Q=>{console.log("File available at",Q),P(Q)})})},G.onerror=function(){console.error("Error: Unable to load the image."),n(new Error("Unable to load the image."))}},W.onerror=function(){console.error("Error reading the file."),n(new Error("Error reading the file."))},W.readAsDataURL(M)},A.click()})}Oo(()=>{Te&&Te()});function vo(){e.siteProInfo.curatedProposal.rates===void 0&&(e.siteProInfo.curatedProposal.rates=[]),e.siteProInfo.curatedProposal.rates.push({type:H.value,rate:O.value}),e.updateBuilderField(m.value,"rates",e.siteProInfo.curatedProposal.rates),O.value=0,H.value="Standard"}function Ae(){e.siteProInfo.curatedProposal.minimums===void 0&&(e.siteProInfo.curatedProposal.minimums=[]),e.siteProInfo.curatedProposal.minimums.push({type:K.value,rate:i.value}),e.updateBuilderField(m.value,"minimums",e.siteProInfo.curatedProposal.minimums),i.value=0,K.value="Food"}function mo(){e.siteProInfo.curatedProposal.blocks===void 0&&(e.siteProInfo.curatedProposal.blocks=[]),e.siteProInfo.curatedProposal.blocks.push({date:Le.value,qty:ne.value}),e.updateBuilderField(m.value,"blocks",e.siteProInfo.curatedProposal.blocks),ne.value=0,Le.value=""}function fo(){e.siteProInfo.curatedProposal.notes===void 0&&(e.siteProInfo.curatedProposal.notes=[]),e.siteProInfo.curatedProposal.notes.push({text:h.value}),e.updateBuilderField(m.value,"notes",e.siteProInfo.curatedProposal.notes),h.value=""}function k(){e.siteProInfo.curatedProposal.highlights===void 0&&(e.siteProInfo.curatedProposal.highlights=[]),e.siteProInfo.curatedProposal.highlights.push({text:ie.value}),e.updateBuilderField(m.value,"highlights",e.siteProInfo.curatedProposal.highlights),ie.value=""}function u(){e.siteProInfo.curatedProposal.concessions===void 0&&(e.siteProInfo.curatedProposal.concessions=[]),e.siteProInfo.curatedProposal.concessions.push({name:U.value}),e.updateBuilderField(m.value,"concessions",e.siteProInfo.curatedProposal.concessions),U.value=""}function s(){console.log("locattion",re.value.id),e.siteProInfo.curatedProposal.sessions===void 0&&(e.siteProInfo.curatedProposal.sessions=[]),Pe.value=ke(),R.value=R.value+1,e.siteProInfo.curatedProposal.sessions.push({setup:Ne.value,name:se.value,startTime:fe.value,endTime:he.value,date:Qe.value,order:R.value,id:Pe.value,spaceId:re.value.id,location:re,agr:de.value}),e.updateBuilderField(m.value,"sessions",e.siteProInfo.curatedProposal.sessions),Ne.value="Classroom",se.value="",fe.value="",he.value="",re.value="",de.value=0}function _(p,t){e.showSessionSetTool=!0,Ue.value=t,e.siteProInfo.curatedProposal.sessions[p].diagram||(e.siteProInfo.curatedProposal.sessions[p].diagram=[]),e.selectedSession=e.siteProInfo.curatedProposal.sessions[p].id,e.selectedModel||(e.selectedModel=e.spaceInfo[e.selectedSpace].space),console.log("selectedSession",e.selectedSession,t)}function g(p){e.siteProInfo.curatedProposal.sessions.splice(p,1),e.updateBuilderField(m.value,"sessions",e.siteProInfo.curatedProposal.sessions)}function b(p){e.siteProInfo.curatedProposal.notes.splice(p,1),e.updateBuilderField(m.value,"notes",e.siteProInfo.curatedProposal.notes)}function D(p){e.siteProInfo.curatedProposal.highlights.splice(p,1),e.updateBuilderField(m.value,"highlights",e.siteProInfo.curatedProposal.highlights)}function y(p){e.siteProInfo.curatedProposal.concessions.splice(p,1),e.updateBuilderField(m.value,"concessions",e.siteProInfo.curatedProposal.concessions)}function V(p){e.siteProInfo.curatedProposal.minimums.splice(p,1),e.updateBuilderField(m.value,"minimums",e.siteProInfo.curatedProposal.minimums)}function z(p){e.siteProInfo.curatedProposal.blocks.splice(p,1),e.updateBuilderField(m.value,"blocks",e.siteProInfo.curatedProposal.blocks)}function E(p){e.siteProInfo.curatedProposal.rates.splice(p,1),e.updateBuilderField(m.value,"rates",e.siteProInfo.curatedProposal.rates)}const B=Ho(()=>{const p=[];e.siteProInfo.curatedProposal.dateStart||(e.siteProInfo.curatedProposal.dateStart="0-0-0"),e.siteProInfo.curatedProposal.dateEnd||(e.siteProInfo.curatedProposal.dateEnd="0-0-0");const[t,l,P]=e.siteProInfo.curatedProposal.dateStart.split("-").map(Number),[n,A,oe]=e.siteProInfo.curatedProposal.dateEnd.split("-").map(Number);let M=new Date(t,l-1,P);const ae=new Date(n,A-1,oe);for(;M<=ae;){const ze=`${M.getMonth()+1}/${M.getDate()}/${M.getFullYear()}`;p.push(ze),M.setDate(M.getDate()+1)}return p});function F(p){console.log("emitting toolarg",p);let t=p.proposal;console.log("Responding:",t),e.updateBuilderField(m.value,"concessions",t.concessions),e.updateBuilderField(m.value,"minimums",t.minimums),e.updateBuilderField(m.value,"rates",t.rates),e.updateBuilderField(m.value,"notes",t.notes)}return(p,t)=>(r(),d($,null,[o("button",{class:"homeBtn",onClick:t[0]||(t[0]=l=>ye("/dashboard"))},[Zt,le(),Et]),a(e).siteProInfo.curatedProposal&&Z.value&&!a(e).showSessionSetTool?(r(),d("div",Rt,[a(e).siteProInfo.venueType!=="bar"&&a(e).siteProInfo.venueType!=="hotel"?(r(),d("div",Nt,[o("div",Ot,[(r(),d($,null,N(["AI","General","Notes","Highlights","Sessions","Branding","Blocks","Minimums","Concessions","Rates"],l=>o("div",{key:l,class:ao(["buildSinglePill",{active:T.value===l}]),onClick:P=>T.value=l},J(l),11,Ht)),64))])])):I("",!0),a(e).siteProInfo.venueType!=="bar"&&a(e).siteProInfo.venueType!=="hotel"?(r(),d("div",qt,[T.value=="General"?(r(),d("div",Xt,[Qt,o("div",Wt,[Gt,w(o("input",{class:"build-input",id:"ready","onUpdate:modelValue":t[1]||(t[1]=l=>a(e).siteProInfo.curatedProposal.ready=l),onChange:t[2]||(t[2]=l=>a(x)(m.value,"ready",a(e).siteProInfo.curatedProposal.ready)),type:"checkbox"},null,544),[[Me,a(e).siteProInfo.curatedProposal.ready]]),Yt,w(o("input",{class:"build-input",id:"ready","onUpdate:modelValue":t[3]||(t[3]=l=>a(e).siteProInfo.curatedProposal.showRates=l),onChange:t[4]||(t[4]=l=>a(x)(m.value,"showRates",a(e).siteProInfo.curatedProposal.showRates)),type:"checkbox"},null,544),[[Me,a(e).siteProInfo.curatedProposal.showRates]]),Jt,w(o("input",{class:"build-input",id:"ready","onUpdate:modelValue":t[5]||(t[5]=l=>a(e).siteProInfo.curatedProposal.showBlocks=l),onChange:t[6]||(t[6]=l=>a(x)(m.value,"showBlocks",a(e).siteProInfo.curatedProposal.showBlocks)),type:"checkbox"}
1,null,544),[[Me,a(e).siteProInfo.curatedProposal.showBlocks]]),Kt,w(o("input",{class:"build-input",id:"ready","onUpdate:modelValue":t[7]||(t[7]=l=>a(e).siteProInfo.curatedProposal.showMins=l),onChange:t[8]||(t[8]=l=>a(x)(m.value,"showMins",a(e).siteProInfo.curatedProposal.showMins)),type:"checkbox"},null,544),[[Me,a(e).siteProInfo.curatedProposal.showMins]]),el,w(o("input",{class:"build-input",id:"ready","onUpdate:modelValue":t[9]||(t[9]=l=>a(e).siteProInfo.curatedProposal.showHighlights=l),onChange:t[10]||(t[10]=l=>a(x)(m.value,"showHighlights",a(e).siteProInfo.curatedProposal.showHighlights)),type:"checkbox"},null,544),[[Me,a(e).siteProInfo.curatedProposal.showHighlights]])]),o("div",ol,[tl,w(o("input",{class:"build-input",id:"ready","onUpdate:modelValue":t[11]||(t[11]=l=>a(e).siteProInfo.curatedProposal.showConcessions=l),onChange:t[12]||(t[12]=l=>a(x)(m.value,"showConcessions",a(e).siteProInfo.curatedProposal.showConcessions)),type:"checkbox"},null,544),[[Me,a(e).siteProInfo.curatedProposal.showConcessions]]),ll,w(o("input",{class:"build-input",id:"ready","onUpdate:modelValue":t[13]||(t[13]=l=>a(e).siteProInfo.curatedProposal.showNotes=l),onChange:t[14]||(t[14]=l=>a(x)(m.value,"showNotes",a(e).siteProInfo.curatedProposal.showNotes)),type:"checkbox"},null,544),[[Me,a(e).siteProInfo.curatedProposal.showNotes]]),sl,w(o("input",{class:"build-input","onUpdate:modelValue":t[15]||(t[15]=l=>a(e).siteProInfo.curatedProposal.dateStart=l),onChange:t[16]||(t[16]=l=>a(x)(m.value,"dateStart",a(e).siteProInfo.curatedProposal.dateStart)),type:"date",placeholder:"Start Date"},null,544),[[L,a(e).siteProInfo.curatedProposal.dateStart]]),w(o("input",{class:"build-input","onUpdate:modelValue":t[17]||(t[17]=l=>a(e).siteProInfo.curatedProposal.dateEnd=l),onChange:t[18]||(t[18]=l=>a(x)(m.value,"dateEnd",a(e).siteProInfo.curatedProposal.dateEnd)),type:"date",placeholder:"End Date"},null,544),[[L,a(e).siteProInfo.curatedProposal.dateEnd]])]),o("div",al,[nl,w(o("input",{class:"build-input",id:"pdfLinkShow","onUpdate:modelValue":t[19]||(t[19]=l=>a(e).siteProInfo.curatedProposal.pdfLinkShow=l),onChange:t[20]||(t[20]=l=>a(x)(m.value,"pdfLinkShow",a(e).siteProInfo.curatedProposal.pdfLinkShow)),type:"checkbox"},null,544),[[Me,a(e).siteProInfo.curatedProposal.pdfLinkShow]]),o("input",{type:"file",onChange:ue,accept:"application/pdf"},null,32),a(e).siteProInfo.curatedProposal.pdfLink?(r(),d("a",{key:0,class:"build-input-btn",onClick:t[21]||(t[21]=l=>(a(e).docSelect=1,a(e).pdfSelect=a(e).siteProInfo.curatedProposal.pdfLink))},"View Proposal PDF")):I("",!0),a(e).siteProInfo.curatedProposal.pdfLink?(r(),d("div",il,[(r(),d("svg",{style:{cursor:"pointer"},onClick:t[22]||(t[22]=l=>He()),xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 26 26",fill:"none"},ul))])):I("",!0)]),o("div",cl,[pl,vl,o("input",{type:"file",id:"fileDoc",onChange:_e,accept:"application/pdf"},null,32),(r(!0),d($,null,N(a(e).siteProInfo.curatedProposal.documents,(l,P)=>(r(),d("div",null,[le(J(l.name)+" ",1),o("span",{onClick:n=>(a(e).docSelect=1,a(e).pdfSelect=l.link)},"View",8,ml),(r(),d("svg",{style:{cursor:"pointer"},onClick:n=>We(P),xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 26 26",fill:"none"},bl,8,fl))]))),256))])])):I("",!0),T.value=="Rates"?(r(),d("div",Cl,[wl,o("div",Pl,[w(o("input",{class:"build-input","onUpdate:modelValue":t[23]||(t[23]=l=>H.value=l),type:"text",placeholder:"rate"},null,512),[[L,H.value]]),w(o("input",{class:"build-input","onUpdate:modelValue":t[24]||(t[24]=l=>O.value=l),type:"number",placeholder:"rate"},null,512),[[L,O.value]]),o("button",{class:"build-input-btn",onClick:vo},"Add Rate")]),(r(!0),d($,null,N(a(e).siteProInfo.curatedProposal.rates,(l,P)=>(r(),d("div",yl,[w(o("input",{class:"build-input",id:"roomRates","onUpdate:modelValue":n=>l.type=n,onInput:t[25]||(t[25]=n=>a(x)(m.value,"rates",a(e).siteProInfo.curatedProposal.rates)),type:"text"},null,40,_l),[[L,l.type]]),w(o("input",{class:"build-input",id:"roomRates","onUpdate:modelValue":n=>l.rate=n,onInput:t[26]||(t[26]=n=>a(x)(m.value,"rates",a(e).siteProInfo.curatedProposal.rates)),type:"text"},null,40,Il),[[L,l.rate]]),o("button",{class:"build-remove-btn",onClick:n=>E(P)},Ll,8,xl)]))),256))])):I("",!0),T.value=="Minimums"?(r(),d("div",Sl,[Dl,o("div",zl,[w(o("select",{class:"build-input buildselect","onUpdate:modelValue":t[27]||(t[27]=l=>K.value=l)},[le("Type: "),Bl,Vl,Fl],512),[[me,K.value]]),w(o("input",{class:"build-input","onUpdate:modelValue":t[28]||(t[28]=l=>i.value=l),type:"number",placeholder:"rate"},null,512),[[L,i.value]]),o("button",{class:"build-input-btn",onClick:Ae},"Add Minimum")]),(r(!0),d($,null,N(a(e).siteProInfo.curatedProposal.minimums,(l,P)=>(r(),d("div",Ml,[w(o("select",{class:"build-input buildselect",onChange:t[29]||(t[29]=n=>a(x)(m.value,"minimums",a(e).siteProInfo.curatedProposal.minimums)),"onUpdate:modelValue":n=>l.type=n},[le("Type: "),Ul,Tl,Al],40,$l),[[me,l.type]]),w(o("input",{class:"build-input",id:"minrate","onUpdate:modelValue":n=>l.rate=n,onInput:t[30]||(t[30]=n=>a(x)(m.value,"minimums",a(e).siteProInfo.curatedProposal.minimums)),type:"text"},null,40,jl),[[L,l.rate]]),o("button",{class:"build-remove-btn",onClick:n=>V(P)},Rl,8,Zl)]))),256))])):I("",!0),T.value=="Blocks"?(r(),d("div",Nl,[Ol,o("div",Hl,[w(o("select",{class:"build-input buildselect","onUpdate:modelValue":t[31]||(t[31]=l=>Le.value=l)},[le("Type: "),(r(!0),d($,null,N(a(B),l=>(r(),d("option",{value:l},J(l),9,ql))),256))],512),[[me,Le.value]]),w(o("input",{class:"build-input","onUpdate:modelValue":t[32]||(t[32]=l=>ne.value=l),type:"number",placeholder:"qty"},null,512),[[L,ne.value]]),o("button",{class:"build-input-btn",onClick:mo},"Add Block")]),(r(!0),d($,null,N(a(e).siteProInfo.curatedProposal.blocks,(l,P)=>(r(),d("div",Xl,[w(o("select",{class:"build-input buildselect",onChange:t[33]||(t[33]=n=>a(x)(m.value,"blocks",a(e).siteProInfo.curatedProposal.blocks)),"onUpdate:modelValue":n=>l.date=n},[le("Type: "),(r(!0),d($,null,N(a(B),n=>(r(),d("option",{value:n},J(n),9,Wl))),256))],40,Ql),[[me,l.date]]),w(o("input",{class:"build-input",id:"minrate","onUpdate:modelValue":n=>l.qty=n,onInput:t[34]||(t[34]=n=>
1a(x)(m.value,"blocks",a(e).siteProInfo.curatedProposal.blocks)),type:"text"},null,40,Gl),[[L,l.qty]]),o("button",{class:"build-remove-btn",onClick:n=>z(P)},Kl,8,Yl)]))),256))])):I("",!0),T.value=="Notes"?(r(),d("div",es,[os,o("div",ts,[w(o("input",{class:"build-input","onUpdate:modelValue":t[35]||(t[35]=l=>h.value=l),type:"text",placeholder:"note"},null,512),[[L,h.value]]),o("button",{class:"build-input-btn",onClick:fo},"Add Note")]),(r(!0),d($,null,N(a(e).siteProInfo.curatedProposal.notes,(l,P)=>(r(),d("div",ls,[w(o("input",{class:"build-input",id:"minrate","onUpdate:modelValue":n=>l.text=n,onInput:t[36]||(t[36]=n=>a(x)(m.value,"notes",a(e).siteProInfo.curatedProposal.notes)),type:"text"},null,40,ss),[[L,l.text]]),o("button",{class:"build-remove-btn",onClick:n=>b(P)},is,8,as)]))),256))])):I("",!0),T.value=="Highlights"?(r(),d("div",rs,[ds,o("div",us,[w(o("input",{class:"build-input","onUpdate:modelValue":t[37]||(t[37]=l=>ie.value=l),type:"text",placeholder:"highlight"},null,512),[[L,ie.value]]),o("button",{class:"build-input-btn",onClick:k},"Add Highlight")]),(r(!0),d($,null,N(a(e).siteProInfo.curatedProposal.highlights,(l,P)=>(r(),d("div",cs,[w(o("input",{class:"build-input",id:"minrate","onUpdate:modelValue":n=>l.text=n,onInput:t[38]||(t[38]=n=>a(x)(m.value,"highlights",a(e).siteProInfo.curatedProposal.highlights)),type:"text"},null,40,ps),[[L,l.text]]),o("button",{class:"build-remove-btn",onClick:n=>D(P)},fs,8,vs)]))),256))])):I("",!0),T.value=="Concessions"?(r(),d("div",hs,[gs,o("div",bs,[w(o("input",{class:"build-input","onUpdate:modelValue":t[39]||(t[39]=l=>U.value=l),type:"text",placeholder:"concession"},null,512),[[L,U.value]]),o("button",{class:"build-input-btn",onClick:u},"Add Concession")]),(r(!0),d($,null,N(a(e).siteProInfo.curatedProposal.concessions,(l,P)=>(r(),d("div",Cs,[w(o("input",{class:"build-input",id:"minrate","onUpdate:modelValue":n=>l.name=n,onInput:t[40]||(t[40]=n=>a(x)(m.value,"concessions",a(e).siteProInfo.curatedProposal.concessions)),type:"text"},null,40,ws),[[L,l.name]]),o("button",{class:"build-remove-btn",onClick:n=>y(P)},_s,8,Ps)]))),256))])):I("",!0),T.value=="Sessions"?(r(),d("div",Is,[xs,o("div",ks,[o("div",null,[w(o("select",{class:"build-input buildselect",id:"sessions","onUpdate:modelValue":t[41]||(t[41]=l=>Ne.value=l)},[le("Setup: "),Ls],512),[[me,Ne.value]]),w(o("input",{class:"build-input","onUpdate:modelValue":t[42]||(t[42]=l=>se.value=l),type:"text",placeholder:"Session Name"},null,512),[[L,se.value]]),w(o("select",{class:"build-input buildselect","onUpdate:modelValue":t[43]||(t[43]=l=>Qe.value=l)},[(r(!0),d($,null,N(a(B),l=>(r(),d("option",{value:l},J(l),9,Ss))),256))],512),[[me,Qe.value]]),w(o("input",{class:"build-input","onUpdate:modelValue":t[44]||(t[44]=l=>fe.value=l),type:"time",placeholder:"Session Start Time"},null,512),[[L,fe.value]]),w(o("input",{class:"build-input","onUpdate:modelValue":t[45]||(t[45]=l=>he.value=l),type:"time",placeholder:"Session End Time"},null,512),[[L,he.value]])]),o("div",null,[w(o("select",{class:"build-input buildselect","onUpdate:modelValue":t[46]||(t[46]=l=>re.value=l)},[(r(!0),d($,null,N(a(e).spaceInfo,l=>(r(),d("option",{value:l},J(l.name),9,Ds))),256))],512),[[me,re.value]]),w(o("input",{class:"build-input","onUpdate:modelValue":t[47]||(t[47]=l=>de.value=l),type:"number",placeholder:"Session AGR"},null,512),[[L,de.value]]),o("button",{class:"build-input-btn",onClick:s},"Add Session")])]),(r(!0),d($,null,N(a(e).siteProInfo.curatedProposal.sessions,(l,P)=>(r(),d("div",zs,[w(o("select",{class:"session-select",onInput:t[48]||(t[48]=n=>a(x)(m.value,"sessions",a(e).siteProInfo.curatedProposal.sessions)),id:"sessions","onUpdate:modelValue":n=>l.setup=n},[le("Setup: "),Vs],40,Bs),[[me,l.setup]]),w(o("input",{class:"build-input",id:"session","onUpdate:modelValue":n=>l.name=n,onInput:t[49]||(t[49]=n=>a(x)(m.value,"sessions",a(e).siteProInfo.curatedProposal.sessions)),type:"text"},null,40,Fs),[[L,l.name]]),w(o("select",{class:"session-select","onUpdate:modelValue":n=>l.date=n,onChange:t[50]||(t[50]=n=>a(x)(m.value,"sessions",a(e).siteProInfo.curatedProposal.sessions))},[(r(!0),d($,null,N(a(B),n=>(r(),d("option",{value:n},J(n),9,$s))),256))],40,Ms),[[me,l.date]]),w(o("input",{class:"build-input","onUpdate:modelValue":n=>l.startTime=n,type:"time",placeholder:"Session Start Time"},null,8,Us),[[L,l.startTime]]),w(o("input",{class:"build-input","onUpdate:modelValue":n=>l.endTime=n,type:"time",placeholder:"Session End Time"},null,8,Ts),[[L,l.endTime]]),w(o("select",{class:"session-select","onUpdate:modelValue":n=>l.location=n,onChange:t[51]||(t[51]=n=>a(x)(m.value,"sessions",a(e).siteProInfo.curatedProposal.sessions))},[(r(!0),d($,null,N(a(e).spaceInfo,n=>(r(),d("option",{value:n},J(n.name),9,js))),256))],40,As),[[me,l.location]]),w(o("input",{class:"build-input","onUpdate:modelValue":n=>l.agr=n,onInput:t[52]||(t[52]=n=>a(x)(m.value,"sessions",a(e).siteProInfo.curatedProposal.sessions)),type:"number",placeholder:"Session AGR"},null,40,Zs),[[L,l.agr]]),o("button",{class:"goButton",onClick:j(n=>ro(l.location.id),["prevent"])},"Nav",8,Es),o("button",{class:"build-input-btn",onClick:n=>_(P,l.id)},"Add Diagram",8,Rs),o("button",{class:"build-remove-btn",onClick:n=>g(P)},Hs,8,Ns)]))),256))])):I("",!0),T.value=="Branding"?(r(),d("div",qs,[o("div",Xs,[o("div",Qs,[o("div",Ws,[o("button",{class:"branding-input-btn",onClick:t[53]||(t[53]=(...l)=>p.addBranding&&p.addBranding(...l))},"Add Branding"),a(e).siteProInfo.curatedProposal.textureSrc?(r(),d("img",{key:0,src:a(e).siteProInfo.curatedProposal.textureSrc,style:{width:"100px",height:"100px","border-radius":"1em"}},null,8,Gs)):I("",!0),a(e).siteProInfo.curatedProposal.textureSrc?I("",!0):(r(),d("div",Ys,"(No branding uploaded)")),a(e).siteProInfo.curatedProposal.textureSrc?(r(),d("div",Js,[(r(),d("svg",{style:{cursor:"pointer"},onClick:t[54]||(t[54]=l=>p.removeBranding()),xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},oa))])):I("",!0)])]),o("div",ta,[o("div",la,[sa,w(o("input",{"onUpdate:modelValue":t[55]||(t[55]=l=>a(e).siteProInfo.curatedProposal.landingVideo=l),onInput:be},null,544),[[L,a(e).siteProInfo.curatedProposal.landingVideo]])])])]),o("div",aa,[o("div",na,[o("input",{type:"file",id:"file",onChange:ue,accept:"application/pdf",style:{display:"none"}},null,32),ia,o("div",ra,[o("div",null,[a(e).siteProInfo.curatedProposal.pdfLink?(r(),d("a",{key:0,style:{cursor:"pointer"}
1,onClick:t[56]||(t[56]=l=>(a(e).docSelect=1,a(e).pdfSelect=a(e).siteProInfo.curatedProposal.pdfLink))}," View Proposal PDF")):I("",!0)]),a(e).siteProInfo.curatedProposal.pdfLink?(r(),d("div",da,[(r(),d("svg",{style:{cursor:"pointer"},onClick:t[57]||(t[57]=l=>He()),xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 26 26",fill:"none"},pa))])):I("",!0)])])]),o("div",va,[o("div",ma,[o("div",fa,[o("input",{type:"file",id:"fileDoc",onChange:_e,accept:"application/pdf",style:{display:"none"}},null,32),ha]),ga]),(r(!0),d($,null,N(a(e).siteProInfo.curatedProposal.documents,(l,P)=>(r(),d("div",ba,[le(J(l.name)+" ",1),o("a",{style:{cursor:"pointer"},onClick:n=>(a(e).docSelect=1,a(e).pdfSelect=l.link)},"View",8,Ca),le(),(r(),d("svg",{style:{cursor:"pointer"},onClick:n=>We(P),xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 26 26",fill:"none"},_a,8,wa))]))),256))]),o("button",{style:{cursor:"pointer","margin-top":"1rem"},onClick:t[58]||(t[58]=l=>S())},[o("div",Ia,[le("View "),o("span",null,J(m.value)+"'s",1),le(" SitePro!")])])])):I("",!0),T.value=="AI"?(r(),So(at,{key:9,class:"buildBlock",onUpdateQuote:F})):I("",!0)])):I("",!0),a(e).siteProInfo.venueType=="bar"||a(e).siteProInfo.venueType=="hotel"?(r(),d("div",xa,[o("div",ka,[(r(!0),d($,null,N([`${m.value}`],l=>(r(),d("div",{key:l,class:ao(["buildSinglePill",{active:T.value===l}]),onClick:P=>T.value=l},J(l),11,La))),128))]),o("button",{class:"preview-btn",onClick:t[59]||(t[59]=j(l=>S(),["prevent"]))},[le(" Preview "),(r(),d("svg",Sa,za))])])):I("",!0),o("div",Ba,[a(e).siteProInfo.venueType=="bar"||a(e).siteProInfo.venueType=="hotel"?(r(),d("div",Va,[Fa,o("div",Ma,[(r(),d("svg",$a,Ta))]),Aa,o("div",ja,[a(e).siteProInfo.hideHorDash?I("",!0):(r(),d("div",Za,[a(e).siteProInfo.curatedProposal.textureSrc?(r(),d("div",Ea,[(r(),d("svg",{style:{cursor:"pointer"},onClick:t[60]||(t[60]=l=>co()),xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},Oa))])):I("",!0),o("div",Ha,[a(e).siteProInfo.curatedProposal.textureSrc?I("",!0):(r(),d("label",qa,Wa)),a(e).siteProInfo.curatedProposal.textureSrc?I("",!0):(r(),d("button",{key:1,class:"branding-input-btn",onClick:Ge},"Add Logo")),a(e).siteProInfo.curatedProposal.textureSrc?(r(),d("img",{key:2,src:a(e).siteProInfo.curatedProposal.textureSrc,style:{width:"150px",height:"40px","border-radius":"1em"}},null,8,Ga)):I("",!0)])])),a(e).siteProInfo.hideSquareDash?I("",!0):(r(),d("div",Ya,[a(e).siteProInfo.curatedProposal.textureSrc2?(r(),d("div",Ja,[(r(),d("svg",{style:{cursor:"pointer"},onClick:t[61]||(t[61]=l=>Ye()),xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},on))])):I("",!0),o("div",tn,[a(e).siteProInfo.curatedProposal.textureSrc2?I("",!0):(r(),d("label",ln,nn)),a(e).siteProInfo.curatedProposal.textureSrc2?I("",!0):(r(),d("button",{key:1,class:"branding-input-btn",onClick:uo},"Add Logo")),a(e).siteProInfo.curatedProposal.textureSrc2?(r(),d("img",{key:2,src:a(e).siteProInfo.curatedProposal.textureSrc2,style:{width:"100px",height:"100px","border-radius":"1em"}},null,8,rn)):I("",!0)])])),a(e).siteProInfo.hideVertDash?I("",!0):(r(),d("div",dn,[a(e).siteProInfo.curatedProposal.textureSrc3?(r(),d("div",un,[(r(),d("svg",{style:{cursor:"pointer"},onClick:t[62]||(t[62]=l=>po()),xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},vn))])):I("",!0),o("div",mn,[a(e).siteProInfo.curatedProposal.textureSrc3?I("",!0):(r(),d("label",fn,bn)),a(e).siteProInfo.curatedProposal.textureSrc3?I("",!0):(r(),d("button",{key:1,class:"branding-input-btn",onClick:oo},"Add Logo")),a(e).siteProInfo.curatedProposal.textureSrc3?(r(),d("img",{key:2,src:a(e).siteProInfo.curatedProposal.textureSrc3,style:{width:"40px",height:"150px","border-radius":"1em"}},null,8,Cn)):I("",!0)])]))]),o("div",wn,[Pn,o("div",yn,[w(o("input",{"onUpdate:modelValue":t[63]||(t[63]=l=>a(e).siteProInfo.curatedProposal.landingVideo=l),onInput:be},null,544),[[L,a(e).siteProInfo.curatedProposal.landingVideo]]),a(e).siteProInfo.curatedProposal.landingVideo?(r(),d("div",_n,[(r(),d("svg",{style:{cursor:"pointer"},onClick:j(io,["prevent"]),xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},Ln,8,In))])):I("",!0)])])])):I("",!0),a(e).siteProInfo.venueType=="bar"||a(e).siteProInfo.venueType=="hotel"?(r(),d("div",Sn,[Dn,o("div",zn,[(r(),d("svg",Bn,Fn))]),ge.value?(r(),d("div",Mn,[o("div",$n,[Un,o("input",{type:"file",id:"file",onChange:ue,accept:"application/pdf",style:{display:"none"}},null,32),o("button",{onClick:ee},"Save Link"),o("button",{onClick:t[64]||(t[64]=l=>ge.value=!ge.value)},"Cancel")]),o("div",Tn,[An,w(o("input",{style:{width:"20rem"}
1,type:"url","onUpdate:modelValue":t[65]||(t[65]=l=>a(e).siteProInfo.curatedProposal.pdfLink=l)},null,512),[[L,a(e).siteProInfo.curatedProposal.pdfLink]])])])):I("",!0),ge.value?I("",!0):(r(),d("div",jn,[o("div",Zn,[o("label",{class:"upload-btn",onClick:t[66]||(t[66]=l=>ge.value=!ge.value)},"Add Proposal"),o("div",En,[o("div",null,[a(e).siteProInfo.curatedProposal.pdfLink?(r(),d("a",{key:0,style:{cursor:"pointer"},onClick:t[67]||(t[67]=l=>(a(e).docSelect=1,a(e).pdfSelect=a(e).siteProInfo.curatedProposal.pdfLink))}," View Proposal PDF")):I("",!0)]),a(e).siteProInfo.curatedProposal.pdfLink?(r(),d("div",Rn,[(r(),d("svg",{style:{cursor:"pointer"},onClick:t[68]||(t[68]=l=>He()),xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 26 26",fill:"none"},Hn))])):I("",!0)])])])),o("div",qn,[o("div",Xn,[o("div",Qn,[o("input",{type:"file",id:"fileDoc",onChange:_e,accept:"application/pdf",style:{display:"none"}},null,32),Wn]),Gn]),(r(!0),d($,null,N(a(e).siteProInfo.curatedProposal.documents,(l,P)=>(r(),d("div",Yn,[le(J(l.name)+" ",1),o("a",{style:{cursor:"pointer"},onClick:n=>(a(e).docSelect=1,a(e).pdfSelect=l.link)},"View",8,Jn),le(),(r(),d("svg",{style:{cursor:"pointer"},onClick:n=>We(P),xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 26 26",fill:"none"},ti,8,Kn))]))),256))])])):I("",!0)]),Po(Qo),Po(Go,{proposalID:m.value},null,8,["proposalID"])])):I("",!0),Po(Wo),a(e).showSessionSetTool?(r(),So(jt,{key:1,curatedID:m.value,sessionID:Ue.value},null,8,["curatedID","sessionID"])):I("",!0)],64))}},hi=Io(li,[["__scopeId","data-v-fe0dbd5a"]]);export{hi 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.