1import{b as S,d as te,v as Le,w as _e}from"./runtime-dom.esm-bundler.0e07a42a.js";import{u as ne,b as De}from"./index.880a60ec.js";import"./index.esm2017.71423551.js";import{b as Pe}from"./CustWalls.0f9aa833.js";import{_ as ie,r as n,j as N,y as ae,o as Be,c as r,d as m,e as c,f as p,J as ze,u as o,t as T,h as $,F as X,I as V,n as qe,m as b,p as Xe,g as Re,i as Ye,l as L,G as Ze}from"./_plugin-vue_export-helper.f09dc1ee.js";import{C as Fe,T as Oe,a as Ee,A as je,b as Ne,S as $e,c as oe,D as Ve,B as Ue,d as We,e as He}from"./ToolUI.c32d1d97.js";import"./TopLeftMenu.vue_vue_type_style_index_0_scoped_f4dbed34_lang.809c15c5.js";import{T as Ge}from"./TopLeftMenuListProd2.c25b4388.js";import{u as Ke}from"./storeDiagrams.8ef738d5.js";import{T as Qe,d as Je}from"./index.08d0fc4a.js";import{l as et}from"./index.a4e3c097.js";import{D as tt}from"./DiagramSettingsModal.dc4dfb45.js";/* empty css */import"./morecapbutton.44e58599.js";/* empty css */import{M as at}from"./MaxSetUIv2.73df981f.js";import"./vue-router.51ed5a46.js";import"./qrcode.vue.esm.4be65f4b.js";/* empty css */const se=z=>(Xe("data-v-1be9e7c8"),z=z(),Re(),z),ot=["onMousedown"],nt={style:{"font-weight":"bolder"}},it={key:0},st={key:1},lt=["value"],rt={style:{display:"flex"}},dt=se(()=>c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none"},[c("rect",{width:"26",height:"26",rx:"4",fill:"#B46C26"}),c("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)),ct=[dt],ut={key:2,style:{display:"flex","flex-direction":"row",gap:"0.5rem"}},mt={key:1,style:{"font-weight":"bolder"}},pt={style:{display:"flex","flex-wrap":"wrap",gap:"0.5rem"}},gt={style:{"font-weight":"bolder"}},ft={key:0,class:"modal"},vt={class:"modal-content"},xt=se(()=>c("h2",null,"Please select the direction",-1)),yt={class:"modal-body"},wt=["value"],ht={__name:"AddCustomDiagram",props:{curatedID:String,sessionID:String},setup(z){const e=ne(),Y=Ke(),t=De();Qe(Je,"spaces"),et(e.updateField,500),n(null),n(null),n(!1),n(),n(null),n(null),n(null),n(null),n();const q=n([]);n(0),n(),n();const d=n([]);n([]),n([]),n([]),n(0),n(5),n(),n(0);const y=n(0);function M(a){a||(y.value<3?y.value++:y.value=1),y.value===0||y.value===1?W():y.value===2?ce():y.value===3&&ue()}n({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}}),n(),n(),n(),n(),n(1),n(1),n(24),n(24),n(24),n(24),n(1),n(1),n(0),n(0),n(0),n(5),n(-10),n(0),n(0),n("set1"),n(0);const R=N(()=>Object.values(e.spaceInfo).filter(a=>a.space===e.selectedModel)),u=N(()=>{let a=A.value;return a?e.spaceInfo.findIndex(s=>s.id===a.id):null}),A=n(null),w=n([]);n(null),n([]),n([]),n(null);function le(a){return new Promise(s=>setTimeout(s,a))}const Z=n(!1);async function re(a){console.log("showing set area",a),Z.value=!Z.value,Z.value?await t.visualBox5Color(a.startX,a.startZ,a.endX,a.endZ,a.startY,a.endY+1,!1,"0x00ff00",.5,{x:a.quat.x,y:a.quat.y,z:a.quat.z,w:a.quat.w}):await t.visualBox5Color(a.startX,a.startZ,a.endX,a.endZ,a.startY,a.endY+1,!0,"0x00ff00",.5,{x:a.quat.x,y:a.quat.y,z:a.quat.z,w:a.quat.w})}async function de(a,s,l){let i=a.maxSetArea;i.quat||(i.quat={x:0,y:0,Z:0,w:1}),console.log(i),await t.visualBox5Color(i.startX,i.startZ,i.endX,i.endZ,i.startY,i.endY+1,!1,"0x00ff00",.5,{x:i.quat.x,y:i.quat.y,z:i.quat.z,w:i.quat.w});let g=await t.openSetModal();if(console.log("modalResult",g),console.log("maxsetarray prebuild",w.value),g){console.log("modal result",g.value,"setmodalresolve",t.setModalResolve,a.name,a.maxSetArea);let h=!0;if(a.maxSetArea){let f=1;for(let v of g.value)if(v.isSelected&&(console.log("dir being diagrammed",v,f),Array.isArray(v.selectedTemplates)&&v.selectedTemplates.length>0)){for(let x of v.selectedTemplates)console.log("set is using",v.stageObj),w.value=await U({space:a,spaceId:a.id,diagramType:x.diagramType,area:a.maxSetArea,dir:v.cardinal,stage:h,stageOb
1j:v.stageObj,roomSerPer:30,updateSeats:!1,noShowDia:!1,whiteFloor:!1,customTemplate:x.customTemplate}),console.log("maxsetarray presave",x.diagramType+f,w.value,"setorder",f),await we(a,x.diagramType+f),x.diagramType+f,await t.updateMaxSetSeats2(a,a.id,x.diagramType,f,w.value),console.log("maxsetarray postsave",w.value),await le(300);f=f+1}alert("Diagrams created!")}}}async function U(a){t.currentTemplate=a;let s;return console.log("returning sets at dir",a,t.currentTemplate.dir,s),console.log("type setting",t.currentTemplate.diagramType,"with floor?",t.currentTemplate.whiteFloor),a.diagramType.includes("AV")?(s=await t.returnDynoAVSets(t.currentTemplate.space,t.currentTemplate.spaceId,t.currentTemplate.diagramType,t.currentTemplate.customTemplate,t.currentTemplate.area,t.currentTemplate.dir,t.currentTemplate.stage,t.currentTemplate.stageObj,t.currentTemplate.roomSerPer,t.currentTemplate.updateSeats,!1,t.currentTemplate.whiteFloor),console.log("returning sets2",s)):(s=await t.returnMaxSet(t.currentTemplate.space,t.currentTemplate.diagramType,t.currentTemplate.customTemplate,t.currentTemplate.area,t.currentTemplate.dir,t.currentTemplate.stage,t.currentTemplate.roomSerPer,t.currentTemplate.updateSeats,!1),console.log("returning sets3",s)),s}n();function ce(){e.myBoxControl.inputs.mode="rotate",e.myBoxControl.inputs.showX=!1,e.myBoxControl.inputs.showY=!0,e.myBoxControl.inputs.showZ=!1}function W(){e.myBoxControl.inputs.mode="scale",e.myBoxControl.inputs.showX=!0,e.myBoxControl.inputs.showY=!1,e.myBoxControl.inputs.showZ=!0}function ue(){e.myBoxControl.inputs.mode="translate",e.myBoxControl.inputs.showX=!0,e.myBoxControl.inputs.showY=!1,e.myBoxControl.inputs.showZ=!0}function me(a,s,l,i){const g=2*(i*a+s*l),h=1-2*(a*a+s*s),f=Math.atan2(g,h),v=2*(i*s-l*a);let x;Math.abs(v)>=1?x=Math.sign(v)*Math.PI/2:x=Math.asin(v);const D=x*-180/Math.PI,P=f*180/Math.PI,B=f*180/Math.PI;return{yaw:D,pitch:P,roll:B}}function pe(a,s,l){const i=a*Math.PI/180,g=s*Math.PI/180,h=l*Math.PI/180,f=Math.cos(i*.5),v=Math.sin(i*.5),x=Math.cos(g*.5),D=Math.sin(g*.5),P=Math.cos(h*.5),B=Math.sin(h*.5),ke=P*x*f+B*D*v,Ce=B*x*f-P*D*v,Te=P*D*f+B*x*v,Me=P*x*v-B*D*f;return{qx:Ce,qy:Te,qz:Me,qw:ke}}async function ge(){let a=pe(t.editingArea.euler.pitch,-t.editingArea.euler.yaw,t.editingArea.euler.roll);t.editingArea.quat={x:a.qx,y:a.qy,z:a.qz,w:a.qw},t.editingArea.startX=e.diagramtemplatenode.position.x-e.diagramtemplatenode.scale.x/2,t.editingArea.endX=e.diagramtemplatenode.position.x+e.diagramtemplatenode.scale.x/2,t.editingArea.startZ=e.diagramtemplatenode.position.z-e.diagramtemplatenode.scale.z/2,t.editingArea.endZ=e.diagramtemplatenode.position.z+e.diagramtemplatenode.scale.z/2,t.editingArea.startY=e.diagramtemplatenode.position.y,t.editingArea.widthX=Math.abs(t.editingArea.startX-t.editingArea.endX),t.editingArea.depthZ=Math.abs(t.editingArea.startZ-t.editingArea.endZ),await t.visualBox(t.editingArea.startX,t.editingArea.startZ,t.editingArea.endX,t.editingArea.endZ,t.editingArea.startY,t.editingArea.endY,!1,65280,.85,{x:t.editingArea.quat.x,y:t.editingArea.quat.y,z:t.editingArea.quat.z,w:t.editingArea.quat.w}),M(!0)}const _=n(!1),F=n(!1);async function fe(a){if(t.editingArea=await t.defineArea(65280,.7),t.areaSubmitted=!1,await t.visualBox(t.editingArea.startX,t.editingArea.startZ,t.editingArea.endX,t.editingArea.endZ,t.editingArea.startY,t.editingArea.startY+2,!1,"0x00ff00",.85,{x:0,y:0,z:0,w:1}),t.editingArea.quat={x:e.diagramtemplatenode.quaternion.x,y:e.diagramtemplatenode.quaternion.y,z:e.diagramtemplatenode.quaternion.z,w:e.diagramtemplatenode.quaternion.w},t.editingArea.euler=me(t.editingArea.quat.x,t.editingArea.quat.y,t.editingArea.quat.z,t.editingArea.quat.w),console.log("setting area",e.diagramtemplatenode,t.editingArea),await new Promise(l=>{const i=setInterval(()=>{t.areaSubmitted?(console.log("old area",t.editingArea,"diagramNode",e.diagramtemplatenode),console.log("box dimensions are:",e.diagramtemplatenode.scale,e.diagramtemplatenode.position),t.editingArea.startX=e.diagramtemplatenode.position.x-e.diagramtemplatenode.scale.x/2,t.editingArea.endX=e.diagramtemplatenode.position.x+e.diagramtemplatenode.scale.x/2,t.editingArea.startZ=e.diagramtemplatenode.position.z-e.diagramtemplatenode.scale.z/2,t.editingArea.endZ=e.diagramtemplatenode.position.z+e.diagramtemplatenode.scale.z/2,t.editingArea.startY=e.diagramtemplatenode.position.y,t.editingArea.widthX=Math.abs(t.editingArea.startX-t.editingArea.endX),t.editingArea.depthZ=Math.abs(t.editingArea.startZ-t.editingArea.endZ),t.editingArea.quat={x:e.diagramtemplatenode.quaternion.x,y:e.diagramtemplatenode.quaternion.y,z:e.diagramtemplatenode.quaternion.z,w:e.diagramtemplatenode.quaternion.w},console.log("new area",t.editingArea),_.value=!1,clearInterval(i),l(!0)):(console.log("interval update box"),_.value=!0),F.value&&(F.value=!1,_.value=!1,clearInterval(i),l(!1))},500)}),t.areaSubmitted){await t.visualBox(t.editingArea.startX,t.editingArea.startZ,t.editingArea.endX,t.editingArea.endZ,t.editingArea.startY,t.editingArea.endY,!0,"0x00ff00",.5,t.editingArea.quat);let l=t.editingArea,i=!1;if(i=window.confirm("Is the area correct? If not cancel and draw again."),i){e.controlBoxNode.stop(),e.myBoxControl.inputs.selection=null;let g="N",h=!0;const f=["N","S","E","W"];for(;!g;){const v=prompt("Pick a default direction to display, (N, S, E, W)","N");f.includes(v.toUpperCase())?g=v.toUpperCase():alert("Invalid direction. Please enter one of the following: N, S, E, W.")}console.log(`Area is correct and the default direction is: ${g}`),console.log("maxSetArea will be:",l),e.updateField(a.id,"maxSetArea",l),e.updateField(a.id,"maxSetDefaultDir",g),e.updateField(a.id,"maxSetTallCeiling",h),a.maxSetArea=l,l.widthX*l.depthZ*10.76391042,console.log("updated capacities",a.capacities)}else console.log("Area is not correct. Please draw again."),e.controlBoxNode.stop(),e.myBoxControl.inputs.selection=null;t.areaModal=!1,t.areaSubmitted=!1,e.showAdminPanel=!0}else await t.visualBox(t.editingArea.startX,t.editingArea.startZ,t.editingArea.endX,t.editingArea.endZ,t.editingArea.startY,t.editingArea.endY,!0,"0x00ff00",.5,t.editingArea.quat),t.areaModal=!1,console.log("Area is not correct. Please draw again."),e.controlBoxNode.stop(),e.myBoxControl.inputs.selection=null}async function ve(a){if(window.confirm("Are you sure you want to delete the Max Sets?")){let s=null,l={exhibit:a.capacities.exhibit??null,theater:a.capacities.theater??null,classroom2per6:a.capacities.classroom2per6??null,banquet:a.capacities.banquet??null,hollowSquare:a.capacities.hollowSquare??null,rounds6:a.capacities.rounds6??null,conference:a.capacities.conference??null,uShape:a.capacities.uShape??null,reception:a.capacities.reception??null};e.updateField(a.id,"capacities",l),e.updateField(a.id,"maxSetArea",s),a.maxSetArea=null}}n([]);const H=n(!1),O=n("N"),xe=["N","S","E","W"],G=()=>{H.value=!1},ye=()=>{console.log(O.value),G()};async function we(a,s){try{let l=s;q.value=[];for(let i=0;i<d.value.length;i++){let g={position:{x:d.value[i].obj3D.position.x,y:d.value[i].obj3D.position.y,z:d.value[i].obj3D.position.z},rotation:{x:d.value[i].obj3D.rotation.x,y:d.value[i].obj3D.rotation.y,z:d.value[i].obj3D.rotation.z},quaternion:{x:d.value[i].obj3D.quaternion.x,y:d.value[i].obj3D.quaternion.y,z:d.value[i].obj3D.quaternion.z,w:d.value[i].obj3D.quaternion.w},scale:{x:d.value[i].obj3D.scale.x,y:d.value[i].obj3D.scale.y,z:d.value[i].obj3D.scale.z},boundingBox:d.value[i].boundingBox,url:d.value[i].url,seats:d.value[i].seats,size:{x:d.value[i].size.x,y:d.value[i].size.y,z:d.value[i].size.z},model:d.value[i].model,diagramID:d.value[i].diagramID,brandPos:d.value[i].brandPos||[]};q.value.push(g)}console.log("diagramSet.value",q.value),console.log("maxSetArray.value",w.value),
1console.log("Before passing to updateCustomSet:",w.value),console.log("update set5",a.id,s),await Y.updateCustomSet(w.value,a.id,s),console.log(`Successfully saved diagram: ${s}`)}catch(l){console.error(`Failed to save diagram ${s}:`,l)}}function he(a,s){console.log("space",e.spaceInfo[u.value],"Previewing set:",a,s),U({space:e.spaceInfo[u.value].space,spaceId:e.spaceInfo[u.value].id,diagramType:s.diagramType,area:e.spaceInfo[u.value].maxSetArea,dir:a.cardinal,stage:!0,stageObj:a.stageObj,roomSerPer:30,updateSeats:!1,noShowDia:!1,whiteFloor:!1,customTemplate:s.customTemplate})}const I=ae({top:500,left:30}),k=ae({width:400,height:200}),E=n(!1),j=n(!1),be=n(!0),C=n({x:0,y:0}),Se=N(()=>({position:"absolute",top:`${I.top}px`,left:`${I.left}px`,width:`${k.width}px`,height:`${k.height}px`,backgroundColor:"grey",color:"black",display:"flex",flexDirection:"column",padding:"1rem",overflowY:"auto",borderBottomLeftRadius:"0.5rem",borderBottomRightRadius:"0.5rem",borderTopLeftRadius:"0.5rem",borderTopRightRadius:"0.5rem"})),Ae=a=>{E.value=!0,C.value={x:a.clientX,y:a.clientY},document.addEventListener("mousemove",K),document.addEventListener("mouseup",Q)},K=a=>{if(E.value){const s=a.clientX-C.value.x,l=a.clientY-C.value.y,i=window.innerWidth,g=window.innerHeight,h=I.top+l,f=I.left+s;I.top=Math.min(Math.max(h,0),g-k.height),I.left=Math.min(Math.max(f,0),i-k.width),C.value={x:a.clientX,y:a.clientY}}},Q=()=>{E.value=!1,document.removeEventListener("mousemove",K),document.removeEventListener("mouseup",Q)},Ie=a=>{j.value=!0,C.value={x:a.clientX,y:a.clientY},document.addEventListener("mousemove",J),document.addEventListener("mouseup",ee)},J=a=>{if(j.value){const s=a.clientX-C.value.x,l=a.clientY-C.value.y,i=window.innerWidth,g=window.innerHeight;k.width=Math.min(Math.max(k.width+s,50),i-I.left),k.height=Math.min(Math.max(k.height+l,50),g-I.top),C.value={x:a.clientX,y:a.clientY}}},ee=()=>{j.value=!1,document.removeEventListener("mousemove",J),document.removeEventListener("mouseup",ee)};return Be(async()=>{console.log("pre load mounting",w.value),console.log("mounted",w.value)}),(a,s)=>(r(),m(X,null,[c("div",{style:qe(o(Se))},[be.value?(r(),m("div",{key:0,class:"resize-handle",onMousedown:S(Ie,["stop"])},null,40,ot)):p("",!0),c("div",{class:"drag-handle",onMousedown:Ae},null,32),c("label",nt,[ze("Selected:"),A.value&&o(e).spaceInfo?(r(),m("span",it,T(A.value.name)+" ("+T(o(u))+") ",1)):(r(),m("span",st,"Please Select to Edit Max Area"))]),$(c("select",{id:"locationSelect","onUpdate:modelValue":s[0]||(s[0]=l=>A.value=l)},[(r(!0),m(X,null,V(o(R),(l,i)=>(r(),m("option",{key:i,value:l},T(l.name),9,lt))),128))],512),[[te,A.value]]),c("div",rt,[A.value&&o(e).spaceInfo&&!_.value?(r(),m("button",{key:0,class:"actionbtn",onClick:s[1]||(s[1]=S(l=>fe(o(e).spaceInfo[o(u)]),["prevent"]))},"New Area")):p("",!0),A.value&&o(e).spaceInfo[o(u)]&&!_.value&&o(e).spaceInfo[o(u)].maxSetArea?(r(),m("button",{key:1,onClick:s[2]||(s[2]=S(l=>ve(o(e).spaceInfo[o(u)]),["prevent"])),class:"actionbtn"},ct)):p("",!0),o(t).areaModal?(r(),m("div",ut,[c("button",{class:"actionbtn",onClick:s[3]||(s[3]=S(l=>o(t).areaSubmitted=!0,["prevent"]))},"Save Area"),c("button",{class:"actionbtn",onClick:s[4]||(s[4]=S(l=>F.value=!0,["prevent"]))},"Cancel Area"),c("div",null,[c("button",{class:"actionbtn",onClick:s[5]||(s[5]=S(l=>M(!1),["prevent"])),id:"airwallcontrol"},"S/R/T")]),o(t).editingArea.euler?$((r(),m("input",{key:0,type:"number",onChange:ge,"onUpdate:modelValue":s[6]||(s[6]=l=>o(t).editingArea.euler.yaw=l)},null,544)),[[Le,o(t).editingArea.euler.yaw]]):p("",!0)])):p("",!0)]),o(e).spaceInfo[o(u)]&&o(e).spaceInfo[o(u)].maxSetArea?(r(),m("label",mt,"Max Set area: "+T(o(e).spaceInfo[o(u)].name),1)):p("",!0),c("div",pt,[A.value&&o(e).spaceInfo[o(u)]&&!_.value&&o(e).spaceInfo[o(u)].maxSetArea?(r(),m("button",{key:0,class:"actionbtn",onClick:s[7]||(s[7]=S(l=>re(o(e).spaceInfo[o(u)].maxSetArea),["prevent"]))},"Show Area")):p("",!0),o(e).spaceInfo[o(u)]&&o(e).spaceInfo[o(u)].maxSetArea?(r(),m("button",{key:1,class:"actionbtn",onClick:s[8]||(s[8]=S(l=>de(o(e).spaceInfo[o(u)]),["prevent"]))},"Make Sets ")):p("",!0),o(e).spaceInfo[o(u)]&&o(e).spaceInfo[o(u)].maxSetArea?(r(!0),m(X,{key:2},V(Object.entries(o(e).spaceInfo[o(u)].maxSetArea),([l,i])=>(r(),m("div",{style:{display:"flex","flex-direction":"row",gap:"0.5rem"},key:l},[c("label",gt,T(l)+":",1),c("span",null,T(typeof i=="number"&&i%1!==0?i.toFixed(3):i),1)]))),128)):p("",!0)])],4),H.value?(r(),m("div",ft,[c("div",vt,[c("div",{class:"modal-header"},[c("span",{class:"close-button",onClick:G},"Ã"),xt]),c("div",yt,[$(c("select",{"onUpdate:modelValue":s[9]||(s[9]=l=>O.value=l)},[(r(),m(X,null,V(xe,l=>c("option",{key:l,value:l},T(l),9,wt)),64))],512),[[te,O.value]])]),c("div",{class:"modal-footer"},[c("button",{onClick:ye},"Confirm")])])])):p("",!0),b(tt,{stageOptions:o(e).siteProInfo.stageOb
1jSel,onPreviewSet:he},null,8,["stageOptions"])],64))}},bt=ie(ht,[["__scopeId","data-v-1be9e7c8"]]);const St={key:0},At={key:1},It=["onClick"],kt={key:0},Ct={key:1},Tt={__name:"DiagramView",setup(z){const e=ne();n(e.siteProInfo.mapLink);const Y=n();n(0);const t={tR:"Events",tL:"Amenities",bR:"Guest Rooms",bL:"Map",tLX:"-15%",tLeftY:"45%",tRX:"45%",tRightY:"-25%",bLX:"50%",bLY:"40%",bRX:"-20%",bRY:"100%"};Ye(()=>{console.log("navlinks",Y),console.log("selectedspace",e.selectedSpace)});function q(){e.trackEvent("cta_clicked",{space:e.spaceInfo[e.selectedSpace].name,ctalink:e.spaceInfo[e.selectedSpace].ctaLink,ctatext:e.spaceInfo[e.selectedSpace].ctaText}),e.mpInteracting=!1,e.spaceInfo[e.selectedSpace].ctaNewTab?window.open(e.spaceInfo[e.selectedSpace].ctaLink,"_blank"):e.spaceInfo[e.selectedSpace].ctaLink!==""&&e.spaceInfo[e.selectedSpace].ctaLink!==void 0?(console.log("no link",e.spaceInfo[e.selectedSpace].ctaLink),e.centerSRC=e.spaceInfo[e.selectedSpace].ctaLink,e.bRFrameOn=!0):(console.log("ctalink",e.spaceInfo[e.selectedSpace].ctaLink),e.contactO
1n=!0,Ze(()=>{let y=document.getElementById("closeContactUsFrame");y?y.focus():console.error("Element with ID 'closeContactUsFrame' not found")}))}function d(){e.siteProInfo.mobileDiningNewTab?window.open(e.siteProInfo.mobileDiningLink,"_blank"):e.siteProInfo.mobileDiningLink!==""&&e.siteProInfo.mobileDiningLink!==void 0?(console.log("no link",e.siteProInfo.mobileDiningLink),e.centerSRC=e.siteProInfo.mobileDiningLink,e.bRFrameOn=!0):(console.log("mobileDiningLink",e.siteProInfo.mobileDiningLink),e.contactOn=!0)}return n(0),n(),n(),n(),n(0),n(),n(),n(),n(),n(),n(),n(),n(),n(),n(),(y,M)=>{var R;return r(),m(X,null,[o(e).siteProInfo.plan!="Basic"&&o(e).siteProInfo.plan!="BasicPlus"?(r(),m("div",{key:0,onKeyup:M[1]||(M[1]=_e((...u)=>o(e).escapeModals&&o(e).escapeModals(...u),["esc"]))},[b(Oe),b(Ge,{navLinks:o(e).getNavLinks,onMouseleave:M[0]||(M[0]=u=>(o(e).tLNavOn=!1,o(e).mpInteracting=!1))},null,8,["navLinks"]),o(e).siteProInfo.plan!="Basic"?(r(),L(oe,{key:0,role:"region","aria-label":"smartbar",style:{"max-width":"100%","max-height":"100%"},navTitle:"Space Info"})):p("",!0),!o(e).isExpanded&&o(e).siteProInfo.mobileDiningLink&&o(e).spaceInfo[o(e).selectedSpace]&&(o(e).spaceInfo[o(e).selectedSpace].category.toLowerCase()==="guest rooms"||o(e).spaceInfo[o(e).selectedSpace].category.toLowerCase()==="dining")?(r(),m("button",{key:1,onClick:d,class:"roomdiningbutton tooltip"},[o(e).siteProInfo.mobileDiningLink&&o(e).spaceInfo[o(e).selectedSpace].category.toLowerCase()==="guest rooms"?(r(),m("span",St,"Order In-Room Dining")):p("",!0),o(e).siteProInfo.mobileDiningLink&&o(e).spaceInfo[o(e).selectedSpace].category.toLowerCase()==="dining"?(r(),m("span",At,"Order For Pickup")):p("",!0)])):p("",!0),b(Ee,{menu:t.tR,menuX:t.tRX,menuY:t.tRightY},null,8,["menu","menuX","menuY"]),o(e).docBoxOn?(r(),L(Ve,{key:2})):p("",!0),o(e).spaceInfo[o(e).selectedSpace]&&o(e).spaceInfo[o(e).selectedSpace].maxSetArea!=null&&o(e).spaceInfo[o(e).selectedSpace].maxSetArea&&o(e).showSiteProLogo!=0?(r(),L(at,{key:3,role:"toolbar"})):p("",!0),o(e).siteProInfo.mapLink?(r(),L(Ue,{key:4,menu:t.bL,menuX:t.bLX,menuY:t.bLY},null,8,["menu","menuX","menuY"])):p("",!0),o(e).photoFrameOn==!1?(r(),L(We,{key:5,role:"toolbar"})):p("",!0),b(je,{"aria-label":"3d screenreader movement"}),o(e).bRFrameOn&&o(e).mpInteracting==!1?(r(),L(He,{key:6})):p("",!0),c("button",{onClick:S(q,["prevent"]),class:"ctabutton tooltip"},[(R=o(e).spaceInfo[o(e).selectedSpace])!=null&&R.ctaText?(r(),m("span",kt,T(o(e).spaceInfo[o(e).selectedSpace].ctaText),1)):(r(),m("span",Ct,"Contact Sales"))],8,It),b(Pe),b(Fe,{frameSRC:o(e).centerSRC},null,8,["frameSRC"]),b(Ne,{class:"overlayZ"})],32)):p("",!0),o(e).siteProInfo.plan=="BasicPlus"?(r(),L(oe,{key:1,style:{"max-width":"100%","max-height":"100%"},navTitle:"Space Info"})):p("",!0),b($e),b(bt)],64)}}},Ut=ie(Tt,[["__scopeId","data-v-115f0a45"]]);export{Ut 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.