1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[997],{14313:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),s=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z"}}]},name:"caret-right",theme:"outlined"},a=n(42135),o=function(e,t){return s.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var l=s.forwardRef(o)},26346:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),s=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"left-circle",theme:"outlined"},a=n(42135),o=function(e,t){return s.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var l=s.forwardRef(o)},35027:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/unitkeys",function(){return n(27481)}])},59143:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(85893),s=n(26346),i=n(14313),a=n(67294),o=n(41248),l=n(68966);function c(e){var t=e.links,n=t.length-1,c=t[n],d=(0,o.v9)((function(e){var t;return c&&(null===(t=e.itemNavigation[c.href])||void 0===t?void 0:t.query)}));return(0,r.jsx)("div",{className:"d-flex align-self-start gap-2",children:t.map((function(e,t){var o=t===n&&d?e.href+(0,l.WH)(d):e.href;return(0,r.jsxs)(a.Fragment,{children:[0===t?(0,r.jsx)(s.Z,{className:"fs-4"}):(0,r.jsx)(i.Z,{}),(0,r.jsx)("a",{href:o,children:e.text})]},t)}))})}},96345:function(e,t,n){"use strict";var r=n(85893),s=n(66073);t.Z=function(e){var t=e.items,n=e.boundaries,i=e.headings,a=e.selectors,o=e.linkFieldSelector,l=e.linkValueSelector,c=e.basePath,d=e.detailsHeading,u=e.detailsSelector,h=function(e,t){return null==e[t]?null:t===o?(0,r.jsx)("a",{href:"".concat(c,"/").concat(e[l]),children:e[t]}):"email"===t||"emailAddress"===t||"eddress"===t?(0,r.jsx)(r.Fragment,{children:(0,s.go)(e[t])}):"businessPhoneVoice"===t?(0,r.jsx)(r.Fragment,{children:(0,s.CN)(e[t],"tel")}):(0,r.jsx)(r.Fragment,{children:e[t]})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("table",{className:"table table-sm d-none d-sm-table",children:[(0,r.jsx)("thead",{children:(0,r.jsx)("tr",{children:i.map((function(e,t){return(0,r.jsx)("th",{children:e},t)}))})}),t.map((function(e,t,s){return(0,r.jsxs)("tbody",{className:t%2===1?"table-active":null,children:[n&&e.outside>0&&(0===t||e.outside!==s[t-1].outside)&&n[e.outside-1]&&(0,r.jsx)("tr",{children:(0,r.jsx)("th",{colSpan:a.length,className:"bg-secondary text-white",children:n[e.outside-1]})}),(0,r.jsx)("tr",{children:a.map((function(t,n){return(0,r.jsx)("td",{rowSpan:d&&u&&null!=e[u]&&0===n?2:null,children:h(e,t)},n)}))}),d&&u&&null!=e[u]&&(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:a.length-1,children:h(e,u)})})]},t)}))]}),(0,r.jsx)("table",{className:"table table-borderless d-table d-sm-none",children:t.map((function(e,t,s){return(0,r.jsxs)("tbody",{className:t%2===1?"table-active":null,children:[n&&e.outside>0&&(0===t||e.outside!==s[t-1].outside)&&n[e.outside-1]&&(0,r.jsx)("tr",{children:(0,r.jsx)("th",{colSpan:"2",className:"bg-secondary text-white",children:n[e.outside-1]})}),a.map((function(t,n){return(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:i[n]}),(0,r.jsx)("td",{children:h(e,t)})]},n)})),d&&u&&null!=e[u]&&(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:"2",children:h(e,u)})}),(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:"2"})})]},t)}))})]})}},76910:function(e,t,n){"use strict";var r=n(85893),s=n(9008),i=n.n(s),a=n(11163),o=n(67294),l=n(85518),c=n(64261);t.Z=function(e){var t,n,s=e.message,d=e.errorCode,u=(0,a.useRouter)(),h=(0,o.useState)(!0),m=h[0],x=h[1];return(0,o.useEffect)((function(){setTimeout((function(){x(!1)}),3e3)})),m?(0,r.jsx)(c.Z,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i(),{children:(0,r.jsxs)("title",{children:["object"===typeof s?null===s||void 0===s||null===(t=s.title)||void 0===t?void 0:t.toString().substring(0,50):null===s||void 0===s?void 0:s.toString().substring(0,50),"..."]})}),(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"space-around",alignItems:"center",maxWidth:"100%",height:"30vh",marginLeft:"20px",marginRight:"20px"},children:[(0,r.jsx)("h1",{children:s&&"object"===typeof s?null===s||void 0===s?void 0:s.status:d}),(0,r.jsxs)("h3",{style:{fontSize:!l.nI&&"1em"},children:["Sorry"," ",s?"object"===typeof s?null===s||void 0===s||null===(n=s.title)||void 0===n?void 0:n.toString().substring(0,50):null===s||void 0===s?void 0:s.toString().substring(0,50):"something went wrong","..."]}
1),"/"!==u.asPath&&(0,r.jsx)("button",{onClick:function(){return u.push("/")},className:"btn btn-secondary btn-sm",children:"Back Home"})]})]})}},64913:function(e,t,n){"use strict";var r=n(85893),s=n(9008),i=n.n(s);t.Z=function(e){var t=e.headTitle;return(0,r.jsx)(i(),{children:(0,r.jsx)("title",{children:t})})}},34624:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(85893),s=n(4724);function i(e){var t=e.items,n=e.toChild,i=e.sendToParent,a={};return t.forEach((function(e){var t="".concat(e.idCountry,"|").concat(e.idState,"|").concat(e.idDestination,"|").concat(e.idLocation,"|").concat(e.idComplex);null==a[t]&&(a[t]={lookup:[e.countryName,e.stateName,e.destinationName,e.locationName,e.complexName].join("\0").toLowerCase(),label:[e.countryName,e.stateName,e.destinationName,e.locationName,e.complexName].join(" \u25b8 "),options:[]}),a[t].options.push({lookup:[e.unitName,e.idUnit].join("\0").toLowerCase(),label:e.unitName,value:e.idUnit.toString()})})),(0,r.jsx)(s.Z,{style:{width:"100%"},placeholder:"Enter property name, property id, complex, city or state",options:Object.values(a),showSearch:!0,filterOption:function(e,t){return t.lookup.includes(e.toLowerCase())},value:n,onChange:function(e){return i(e)}})}},27481:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return x}});var r=n(85893),s=n(67294),i=n(10682),a=n(97346),o=n(59143),l=n(96345),c=n(76910),d=n(64913),u=n(39941),h=n(34624),m=n(66073),x=!0;t.default=function(e){var t=e.content,n=e.apiError,x=e.itemId,f=e.unitkeysContent,j=(0,s.use
1State)(x),g=j[0],p=j[1];if(n)return(0,r.jsx)(c.Z,{message:n.message,errorCode:n.errorCode});var v=f&&f.unitMetadata,b=f&&f.unitKeys;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.Z,{headTitle:t.pageTitle}),(0,r.jsxs)(i.Z,{children:[(0,r.jsx)(u.Z,{marquees:t.marquees,marqueeDialogs:t.marqueeDialogs}),(0,r.jsx)("div",{className:"mt-3",children:(0,r.jsx)(o.Z,{links:[{text:"Dashboard",href:"/dashboard"}]})}),(0,r.jsx)(u.Z,{paragraphTop:t.paragraphTop,body:t.body}),(0,r.jsx)(a.Z,{className:"filter-form",onSubmit:function(e){e.preventDefault(),window.location="?unitId="+g},children:(0,r.jsxs)("div",{className:"row g-2",children:[(0,r.jsxs)("div",{className:"col-sm-6",children:[(0,r.jsx)(a.Z.Label,{children:"Property"}),(0,r.jsx)(h.Z,{items:t.unitDropdownItems,toChild:g,sendToParent:p})]}),(0,r.jsx)("div",{className:"col-sm-2 align-self-sm-end",children:(0,r.jsx)(a.Z.Control,{size:"sm",type:"submit",value:"Search"})})]})}),v&&b&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{children:v.houseName===v.unitName?v.houseName:v.houseName+" \u2013 "+v.unitName}),(0,r.jsxs)("p",{children:[v.address&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Address:"})," ",(0,m.Tg)(v.address,null,v.locationName,v.stateName,v.countryName,v.postalCode)," "]}),v.managerName&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("b",{children:"Manager:"})," ",v.managerName," "]})]}),(0,r.jsx)(l.Z,{items:b,headings:["Ingress","Description","Code","Location"],selectors:["ingress","description","code","location"]})]}),(0,r.jsx)(u.Z,{paragraphBottom:t.paragraphBottom})]})]})}}},function(e){e.O(0,[7604,8529,2441,4335,9941,9774,2888,179],(function(){return t=35027,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.